soft-fp: Use parentheses around macro arguments.
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4         parentheses around macro arguments.
5         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
16         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
33         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
41         Likewise.
42         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
46         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
47         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
48         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
49         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
50         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
51         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
52         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
53         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
54         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
55         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
56         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
57         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
58         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
59         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
60         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
61         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
62         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
63         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
64         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
65         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
66         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
67         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
68         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
69         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
70         (_FP_FRAC_SRS_1): Likewise.
71         (_FP_FRAC_CLZ_1): Likewise.
72         (_FP_MUL_MEAT_1_imm): Likewise.
73         (_FP_MUL_MEAT_1_wide): Likewise.
74         (_FP_MUL_MEAT_1_hard): Likewise.
75         (_FP_SQRT_MEAT_1): Likewise.
76         (_FP_FRAC_ASSEMBLE_1): Likewise.
77         (_FP_FRAC_DISASSEMBLE_1): Likewise.
78         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
79         (__FP_CLZ_2): Likewise.
80         (_FP_MUL_MEAT_2_wide): Likewise.
81         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
82         (_FP_MUL_MEAT_2_gmp): Likewise.
83         (_FP_MUL_MEAT_2_120_240_double): Likewise.
84         (_FP_SQRT_MEAT_2): Likewise.
85         (_FP_FRAC_ASSEMBLE_2): Likewise.
86         (_FP_FRAC_DISASSEMBLE_2): Likewise.
87         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
88         (_FP_FRAC_CLZ_4): Likewise.
89         (_FP_MUL_MEAT_4_wide): Likewise.
90         (_FP_MUL_MEAT_4_gmp): Likewise.
91         (_FP_SQRT_MEAT_4): Likewise.
92         (_FP_FRAC_ASSEMBLE_4): Likewise.
93         (_FP_FRAC_DISASSEMBLE_4): Likewise.
94         * soft-fp/op-common.h (_FP_CMP): Likewise.
95         (_FP_CMP_EQ): Likewise.
96         (_FP_CMP_UNORD): Likewise.
97         (_FP_TO_INT): Likewise.
98         (_FP_FROM_INT): Likewise.
99         [!__FP_CLZ] (__FP_CLZ): Likewise.
100         (_FP_DIV_HELP_imm): Likewise.
101         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
102         Likewise.
103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
105         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
107         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
108         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
109         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
114         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
115         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
116         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
117         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
118         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
119         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
126         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
127         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
132         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
133         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
134         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
135         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
136         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
137         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
138         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
139         (FP_UNPACK_RAW_SP): Likewise.
140         (FP_PACK_RAW_S): Likewise.
141         (FP_PACK_RAW_SP): Likewise.
142         (FP_UNPACK_S): Likewise.
143         (FP_UNPACK_SP): Likewise.
144         (FP_UNPACK_SEMIRAW_S): Likewise.
145         (FP_UNPACK_SEMIRAW_SP): Likewise.
146         (FP_PACK_S): Likewise.
147         (FP_PACK_SP): Likewise.
148         (FP_PACK_SEMIRAW_S): Likewise.
149         (FP_PACK_SEMIRAW_SP): Likewise.
150         (_FP_SQRT_MEAT_S): Likewise.
151         (FP_CMP_S): Likewise.
152         (FP_CMP_EQ_S): Likewise.
153         (FP_CMP_UNORD_S): Likewise.
154         (FP_TO_INT_S): Likewise.
155         (FP_FROM_INT_S): Likewise.
156
157         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
158
159         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
160         (FP_EX_INVALID_IMZ): Likewise.
161         (FP_EX_INVALID_IMZ_FMA): Likewise.
162         (FP_EX_INVALID_ISI): Likewise.
163         (FP_EX_INVALID_ZDZ): Likewise.
164         (FP_EX_INVALID_IDI): Likewise.
165         (FP_EX_INVALID_SQRT): Likewise.
166         (FP_EX_INVALID_CVI): Likewise.
167         (FP_EX_INVALID_VC): Likewise.
168         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
169         "invalid" exceptions.
170         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
171         (_FP_ADD_INTERNAL): Likewise.
172         (_FP_MUL): Likewise.
173         (_FP_FMA): Likewise.
174         (_FP_DIV): Likewise.
175         (_FP_CMP_CHECK_NAN): Likewise.
176         (_FP_SQRT): Likewise.
177         (_FP_TO_INT): Likewise.
178         (FP_EXTEND): Likewise.
179
180 2014-10-09  Allan McRae  <allan@archlinux.org>
181
182         * po/fr.po: Update French translation from translation project.
183
184 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
185
186         [BZ #14132]
187         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
188         of INTDEF.
189         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
190         (__cxa_atexit): Use libc_hidden_proto.
191         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
192
193         [BZ #14132]
194         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
195         declaration.
196         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
197         [!_ISOMAC] (__iswspace_l_internal): Likewise.
198         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
199         [!_ISOMAC] (__iswctype_internal): Likewise.
200         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
201         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
202         alias.
203         (fcntl): Remove __fcntl_internal alias.
204         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
205         __connect_internal alias.
206         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
207         Likewise.
208
209         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
210         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
211         FP_DENORM_ZERO.
212         (_FP_CHECK_FLUSH_ZERO): New macro.
213         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
214         (_FP_CMP): Likewise.
215         (_FP_CMP_EQ): Likewise.
216         (_FP_TO_INT): Do not set inexact for subnormal arguments if
217         FP_DENORM_ZERO.
218         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
219         (FP_TRUNC): Likewise.
220
221         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
222         treated as invalid conversion, not as normal exponent.
223
224         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
225         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
226         (_FP_CMP_EQ): Likewise.
227         (_FP_CMP_UNORD): Likewise.
228         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
229         (FP_CMP_EQ_D): Likewise.
230         (FP_CMP_UNORD_D): Likewise.
231         * soft-fp/extended.h (FP_CMP_E): Likewise.
232         (FP_CMP_EQ_E): Likewise.
233         (FP_CMP_UNORD_E): Likewise.
234         * soft-fp/quad.h (FP_CMP_Q): Likewise.
235         (FP_CMP_EQ_Q): Likewise.
236         (FP_CMP_UNORD_Q): Likewise.
237         * soft-fp/single.h (FP_CMP_S): Likewise.
238         (FP_CMP_EQ_S): Likewise.
239         (FP_CMP_UNORD_S): Likewise.
240         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
241         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
242         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
243         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
244         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
245         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
246         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
247         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
248         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
249         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
250         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
251         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
252         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
253         to FP_CMP_Q.
254         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
255         FP_CMP_Q.
256         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
257         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
258         FP_CMP_EQ_Q.
259         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
260         FP_CMP_Q.
261         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
262         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
263         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
264         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
265         FP_CMP_EQ_Q.
266         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
267         FP_CMP_Q.
268         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
269         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
270         FP_CMP_EQ_Q.
271         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
272         FP_CMP_Q.
273         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
274         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
275         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
276         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
277         FP_CMP_EQ_Q.
278
279         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
280         a subnormal result, set the underflow exception if trapping on
281         underflow is enabled.
282         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
283         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
284         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
285         redefine to 0.
286         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
287         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
288         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
289         * soft-fp/extendxftf2.c (__extendxftf2): Use
290         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
291
292         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
293         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
294         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
295         FP_HANDLE_EXCEPTIONS.
296         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
297         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
298         FP_HANDLE_EXCEPTIONS.
299         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
300         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
301         FP_HANDLE_EXCEPTIONS.
302         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
303         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
304         FP_HANDLE_EXCEPTIONS.
305
306 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
307
308         [BZ #14132]
309         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
310         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
311         use INTUSE.
312         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
313         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
314         Remove alias.
315         (__adjtimex): Define using libc_hidden_ver.
316         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
317         Remove declaration.
318         (ntp_gettime): Call __adjtimex directly.
319         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
320         Remove declaration.
321         (ntp_gettimex): Call __adjtimex directly.
322         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
323         __adjtimex_internal alias.
324
325 2014-10-08  Roland McGrath  <roland@hack.frob.com>
326
327         [BZ #17460]
328         * nscd/nscd.c (more_help): Rewrite list of tables collection
329         using xstrdup and asprintf.
330
331         * nscd/nscd_conf.c: Remove local xstrdup declaration.
332
333 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
334             Roland McGrath  <roland@hack.frob.com>
335
336         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
337         (do_lookup_unique): ... local function 'enter' here; update callers.
338
339 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
340
341         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
342         compat_symbol calls on [SHARED].
343         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
344         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
345         Remove.
346         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
347         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
348         (oldsetrlimit): Remove.
349         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
351         (lchown): New syscall entry.
352         (oldsetrlimit): Remove.
353         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
355         (oldsetrlimit): Remove.
356         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
357
358         [BZ #14138]
359         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
360         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
361         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
362         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
364         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
365         (fchown): Likewise.
366         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
367         (fchown): Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
369         Likewise.
370
371 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
372
373         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
374         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
375         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
376         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
377         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
378         Likewise.
379         (__old_sem_post): Likewise.
380
381 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
382
383         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
384         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
385         HAVE_CLOCK_GETTIME_VSYSCALL macros.
386         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
387         Use INLINE_VSYSCALL macro.
388         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
389         __vdso_clock_gettime.
390         * sysdeps/unix/sysv/linux/tile/init-first.c
391         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
392         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
393         __vdso_clock_gettime.
394
395         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
396         to set up frame more cleanly.
397
398         * sysdeps/tile/memcmp.c: New file.
399
400         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
401
402         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
403         * sysdeps/tile/tilegx/strcasestr.c: New file.
404         * sysdeps/tile/tilegx/strnlen.c: New file.
405         * sysdeps/tile/tilegx/strstr.c: New file.
406
407         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
408
409 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
410
411         * nptl/tst-setuid3.c: Write errors to stdout.
412
413 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
414
415         * elf/dl-deps.c
416         (preload): New functions broken out of _dl_map_object_deps.
417         (_dl_map_object_deps):  Remove a nested function. Update call sites.
418
419 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
420
421         [BZ #14138]
422         * sysdeps/unix/sysv/linux/execve.c: Remove file.
423         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
424
425 2014-10-01  Steve Ellcey  <sellcey@mips.com>
426
427         * sysdeps/mips/strcmp.S: New.
428
429 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
430
431         [BZ #14138]
432         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
433         (linkat): Likewise.
434         (mkdirat): Likewise.
435         (readlinkat): Likewise.
436         (renameat): Likewise.
437         (symlinkat): Likewise.
438         (unlinkat): Likewise.
439         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
440         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
441         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
442         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
443         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
444         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
445         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
446
447 2014-09-30  Will Newton  <will.newton@linaro.org>
448
449         * math/math.h: Define long double math functions if
450         _LIBC_TEST is defined.
451         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
452
453         * localedata/Makefile: Move assignment to tests-special
454         into an ifdef testing run-built-tests.
455         * timezone/Makefile: Likewise.
456
457 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
458
459         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
460         with $(BASH) not $(SHELL).
461
462 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
463             Matthew LeGendre  <legendre1@llnl.gov>
464
465         [BZ #17411]
466         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
467         l_reloc_result.
468
469 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
470
471         * stdio-common/printf_fp.c
472         (hack_digit): New function, broken out of ...
473         (__printf_fp): ... local function here.  Update call sites.
474         hack_digit now takes an additional parameter that is a pointer
475         to a struct of the referenced locals.  Those locals moved inside
476         the struct and references updated.
477
478 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
479
480         * aclocal.m4: Require autoconf 2.69.
481         * configure: Regenerated.
482         * sysdeps/aarch64/configure: Likewise.
483         * sysdeps/alpha/configure: Likewise.
484         * sysdeps/arm/armv7/configure: Likewise.
485         * sysdeps/arm/configure: Likewise.
486         * sysdeps/ia64/configure: Likewise.
487         * sysdeps/mach/configure: Likewise.
488         * sysdeps/mips/configure: Likewise.
489         * sysdeps/s390/configure: Likewise.
490         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
492
493         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
494         file.
495         * sysdeps/ia64/configure.ac: Likewise.
496
497 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
498
499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
500         specify symbol version for ld.so.  Do not include entry for
501         libpthread.
502         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
503         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
504         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
505
506         [BZ #14171]
507         * Makeconfig [$(build-shared) = yes]
508         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
509         makefiles.
510         [$(build-shared) = yes && $(soversions.mk-done) = t]
511         ($(common-objpfx)gnu/lib-names.h): Remove rule.
512         [$(build-shared) = yes && $(soversions.mk-done) = t]
513         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
514         to Makerules.
515         [$(build-shared) = yes && $(soversions.mk-done) = t]
516         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
517         here.
518         [$(build-shared) = yes && $(soversions.mk-done) = t]
519         (common-generated): Don't append gnu/lib-names.h and
520         gnu/lib-names.stmp here.
521         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
522         (lib-names-h-abi): New variable.
523         [$(build-shared) = yes && $(soversions.mk-done) = t]
524         (lib-names-stmp-abi): Likewise.
525         [$(build-shared) = yes && $(soversions.mk-done) = t &&
526         abi-variants] (before-compile): Append
527         $(common-objpfx)$(lib-names-h-abi).
528         [$(build-shared) = yes && $(soversions.mk-done) = t &&
529         abi-variants] (common-generated): Append gnu/lib-names.h.
530         [$(build-shared) = yes && $(soversions.mk-done) = t &&
531         abi-variants] (install-others-nosubdir): Depend on
532         $(inst_includedir)/$(lib-names-h-abi).
533         [$(build-shared) = yes && $(soversions.mk-done) = t &&
534         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
535         [$(build-shared) = yes && $(soversions.mk-done) = t]
536         ($(common-objpfx)$(lib-names-h-abi)): New rule.
537         [$(build-shared) = yes && $(soversions.mk-done) = t]
538         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
539         [$(build-shared) = yes && $(soversions.mk-done) = t]
540         (common-generated): Append $(lib-names-h-abi) and
541         $(lib-names-stmp-abi).
542         * scripts/lib-names.awk: Do not handle multi being set.
543         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
544         Remove variable.
545         (abi-lp64_be-ld-soname): Likewise.
546         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
547         Likewise.
548         (abi-hard-ld-soname): Likewise.
549         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
550         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
551         Remove variable.
552         (abi-o32_hard-ld-soname): Likewise.
553         (abi-o32_soft_2008-ld-soname): Likewise.
554         (abi-o32_hard_2008-ld-soname): Likewise.
555         (abi-n32_soft-ld-soname): Likewise.
556         (abi-n32_hard-ld-soname): Likewise.
557         (abi-n32_soft_2008-ld-soname): Likewise.
558         (abi-n32_hard_2008-ld-soname): Likewise.
559         (abi-n64_soft-ld-soname): Likewise.
560         (abi-n64_hard-ld-soname): Likewise.
561         (abi-n64_soft_2008-ld-soname): Likewise.
562         (abi-n64_hard_2008-ld-soname): Likewise.
563         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
564         Likewise.
565         (abi-64-v2-ld-soname): Likewise.
566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
567         ld.so entries.
568         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
569         variable.
570         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
571         entry.
572         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
573         variable.
574         (abi-64-ld-soname): Likewise.
575         (abi-x32-ld-soname): Likewise.
576         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
577         entry.
578         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
579
580 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
581
582         [BZ #14138]
583         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
584         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
585         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
586         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
587         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
588         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
589         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
590         syscall entry for GLIBC_2.2 symbol version.
591         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
592         Likewise.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
594         (setrlimit): Likewise.
595         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
596         Likewise.
597
598 2014-09-23  Will Newton  <will.newton@linaro.org>
599
600         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
601         _LINUX_ARM_SYSDEP_H include guard too.
602         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
603         define.
604
605 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
606
607         * sysdeps/unix/sysv/linux/eventfd.c:
608         Make first argument unsigned.
609         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
610         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
611
612 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
613
614         * socket/recvmmsg.c (recvmmsg): Drop const argument.
615         * socket/sys/socket.h: Likewise
616         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
617
618 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
619
620         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
621
622 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
623
624         * time/tst-ftime.c: New test.
625         * time/Makefile (tests): Add tst-ftime.
626
627 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
628
629         * soft-fp/extended.h: Fix comment formatting.
630         * soft-fp/op-1.h: Likewise.
631         * soft-fp/op-2.h: Likewise.
632         * soft-fp/op-4.h: Likewise.
633         * soft-fp/op-8.h: Likewise.
634         * soft-fp/op-common.h: Likewise.
635         * soft-fp/soft-fp.h: Likewise.
636
637         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
638
639 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
640
641         [BZ #6652]
642         * Makeconfig (soversions-default-setname): Remove variable.
643         ($(common-objpfx)soversions.i): Don't pass default_setname to
644         soversions.awk.
645         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
646         oldest_abi to abi-versions.awk.
647         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
648         * config.make.in (oldest-abi): Remove variable.
649         * configure.ac (--enable-oldest-abi): Remove configure option.
650         * configure: Regenerated.
651         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
652         text.
653         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
654         * scripts/soversions.awk: Do not handle default_setname variable.
655         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
656         variable.
657         * sysdeps/mach/hurd/configure: Regenerated.
658         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
659         variable.
660         * sysdeps/unix/sysv/linux/configure: Regenerated.
661
662 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
663
664         * elf/Makefile (CFLAGS-interp.c): Remove.
665         ($(elf-objpfx)runtime-linker.h): Generate header with linker
666         path string.
667         * elf/interp.c: Include generated runtime-linker.h
668
669         * Makerules (lib%.so): Don't include $(+interp) in
670         prerequisites.
671         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
672         * dlfcn/eval.c: Remove file.
673
674         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
675         macros.
676
677         [BZ #17266]
678         * misc/sys/cdefs.h: Define __extern_always_inline for clang
679         4.2 and newer.
680
681         [BZ #17370]
682         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
683
684 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
685             Jakub Jelinek  <jakub@redhat.com>
686
687         [BZ #17266]
688         * libio/stdio.h: Check definition of __fortify_function
689         instead of __extern_always_inline to include bits/stdio2.h.
690         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
691         check if __extern_always_inline is defined.
692         [__USE_MISC || __USE_XOPEN]: Likewise.
693         [__USE_ISOC99] Likewise.
694         * misc/sys/cdefs.h (__fortify_function): Define only if
695         __extern_always_inline is defined.
696         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
697         __extern_always_inline and __extern_inline only for g++-4.3
698         and newer or a compatible gcc.
699
700 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
701
702         [BZ #17371]
703         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
704         last change to handle zero prefix length.
705
706 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
707
708         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
709         _SC_REGEX_VERSION.
710
711         * posix/getconf.c (vars): Add _POSIX_IPV6 and
712         _POSIX_RAW_SOCKETS.
713
714 2014-09-13  Allan McRae  <allan@archlinux.org>
715
716         * po/ru.po: Update Russian translation from translation project.
717
718 2014-09-12  Roland McGrath  <roland@hack.frob.com>
719
720         * locale/programs/locale.c (show_locale_vars): Inline local function
721         into its sole call site.  Clean up some style nits.
722         (print_item): New function, broken out of ...
723         (show_info): ... local function here.  Clean up style nits.
724
725         * locale/programs/ld-ctype.c (set_one_default): New function, broken
726         out of ...
727         (set_class_defaults): ... local function set_default here.
728         Define set_default as a macro locally to pass constant parameters.
729         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
730         rather than a shared local.
731
732         * stdlib/rpmatch.c (try): New function, broken out of ...
733         (rpmatch): ... local function here.  Also, prototypify definition.
734
735 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
736
737         * scripts/soversions.awk: Do not handle configuration names.
738         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
739         vendor and os variables to soversions.awk.
740         * configure.ac: Do not modify gnu-* host_os.
741         * configure: Regenerated
742         * shlib-versions: Remove first column with configuration names.
743         * nptl/shlib-versions: Likewise.
744         * nptl_db/shlib-versions: Likewise.
745         * sysdeps/hppa/shlib-versions: Likewise.
746         * sysdeps/m68k/shlib-versions: Likewise.
747         * sysdeps/mach/hurd/shlib-versions: Likewise.
748         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
749         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
750         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
751         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
752         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
753         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
754         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
755         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
757         Likewise.
758         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
759         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
760         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
761         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
762         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
763         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
764         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
765         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
766
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
768         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
770         Regenerated.
771         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
773         Condition symbol version definitions on [HAVE_ELFV2_ABI].
774
775         * shlib-versions: Remove OS-specific entries.  Moved to files in
776         sysdeps.
777         * sysdeps/mach/hurd/shlib-versions: New file.
778         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
779
780         * nptl/shlib-versions: Remove architecture-specific entries.
781         Moved to files in sysdeps.
782         * shlib-versions: Likewise.
783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
784         file.
785         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
786         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
787         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
788         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
789
790         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
791         (UDP_NO_CHECK6_RX): Likewise.
792
793 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
794
795         * sysdeps/posix/sysconf.c (__sysconf): Spell
796         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
797
798 2014-08-12  Florian Weimer  <fweimer@redhat.com>
799
800         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
801         loading.
802         * iconv/Versions (__gconv_transliterate): Export for use from
803         gconv modules.
804         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
805         (struct __gconv_trans_data, __gconv_trans_fct,
806         __gconv_trans_context_fct, __gconv_trans_query_fct,
807         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
808         definitions.
809         (struct __gconv_step_data): Remove __trans member.
810         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
811         longer hidden.  Remove unused trans_data argument.
812         * iconv/gconv_int.h (struct trans_struct): Remove definition.
813         (__gconv_translit_find): Remove declaration.
814         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
815         prototype.
816         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
817         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
818         trans_data argument.  Add hidden definition.
819         (__gconv_translit_find): Remove.
820         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
821         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
822         * iconv/skeleton.c: Remove transliteration initialization.
823         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
824         __gconv_step_data initialization.
825         * libio/iofwide.c (__libio_translit_): Remove.
826         (_IO_fwide): Adjust struct __gconv_step_data initialization.
827         * wcsmbs/btowc.c (__btowc): Likewise.
828         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
829         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
830         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
831         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
832         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
833         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
834         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
835         * wcsmbs/wctob.c (wctob): Likewise.
836
837 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
838
839         [BZ #16194]
840         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
841         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
842         register usage.
843         * sysdeps/x86/Makefile: Adjust.
844
845 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
846             Roland McGrath  <roland@hack.frob.com>
847
848         * locale/weight.h: Add include guard.
849         (findidx): Make static rather than auto; take new parameters
850         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
851         * locale/weightwc.h: Likewise.
852         * posix/fnmatch_loop.c
853         (FCT): Change type of EXTRA from int32_t to wint_t.
854         Don't include either header inside the function.
855         Call FINDIDX rather than findidx, and pass new arguments.
856         #undef FINDIDX at the end of the file.
857         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
858         FINDIDX before including fnmatch_loop.c for the non-wide version.
859         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
860         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
861         for the wide version.
862         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
863         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
864         Pass new arguments to findidx.
865         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
866         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
867         Don't #include it inside the function.  Pass new arguments to findidx.
868         * posix/regex_internal.h
869         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
870         (re_string_elem_size_at): Don't #include it inside the function.
871         Pass new arguments to findidx.
872         * string/strcoll_l.c: #include WEIGHT_H at top level.
873         (get_next_seq): Don't #include it inside the function.
874         Pass new arguments to findidx.
875         (get_next_seq_nocache): Likewise.
876         * string/strxfrm_l.c: #include WEIGHT_H at top level.
877         (STRXFRM): Don't #include it inside the function.
878         Pass new arguments to findidx.
879
880 2014-09-11  Florian Weimer  <fweimer@redhat.com>
881
882         [BZ #17344]
883         * malloc/malloc.c (unlink): Turn asserts into a call to
884         malloc_printerr.
885
886 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
887
888         [BZ #17370]
889         * libio/wfileops (do_ftell_wide): Free OUT.
890
891 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
892
893         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
894
895 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
896
897         [BZ #17363]
898         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
899         group if the current group is empty.
900
901 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
902
903         * benchtests/bench-memset.c (test_main): Add more test from size
904         from 32 to 512 bytes.
905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
906         Add POWER8 memset object.
907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
908         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
909         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
910         implementation.
911         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
912         Likewise.
913         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
914         multiarch POWER8 memset optimization.
915         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
916         POWER8 memset optimization.
917
918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
919         Remove bzero multiarch objects.
920         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
921         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
922         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
923         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
924         Remove define.
925         [__bzero]: Redefine to specific name.
926         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
927         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
928         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
929         define.
930         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
931         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
932
933 2014-09-10  Florian Weimer  <fweimer@redhat.com>
934
935         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
936         warnings into errors.
937
938         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
939         __cxa_thread_atexit_impl prototype.
940
941 2014-09-09  Steve Ellcey  <sellcey@mips.com>
942
943         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
944         Fix capitalization of error message.
945
946 2014-09-09  Steve Ellcey  <sellcey@mips.com>
947
948         * sysdeps/mips/preconfigure: Modify ABI tests.
949
950 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
951
952         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
953
954 2014-09-07  Roland McGrath  <roland@hack.frob.com>
955             Carlos O'Donell  <carlos@systemhalted.org>
956
957         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
958         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
959         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
960         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
961         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
962         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
963         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
964         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
965         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
966         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
967         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
968         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
969         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
970         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
971         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
972         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
973         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
974         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
975         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
976         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
977         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
978         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
979         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
980         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
981         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
982         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
983         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
984         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
985         Deconditionalize the code that was previously under [RESET_PID].
986         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
987         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
988         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
989         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
990         include sysdep.h.
991
992 2014-09-08  Allan McRae  <allan@archlinux.org>
993
994         * version.h (RELEASE): Set to "development".
995         (VERSION): Set to "2.20.90"
996
997 2014-09-07  Allan McRae  <allan@archlinux.org
998
999         * version.h (RELEASE): Set to "stable".
1000         (VERSION): Set to "2.20"
1001         * include/features.h (__GLIBC_MINOR__): Set to 20.
1002
1003         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1004         Liebler.
1005
1006         * po/ko.po: Update Korean translation from translation project.
1007
1008 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1009
1010         [BZ #17354]
1011         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1012         macro for handling signed relocations.
1013
1014 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1015
1016         [BZ #17325]
1017         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1018         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1019         assert.
1020         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1021         * iconvdata/ibm935.c (BODY): Likewise.
1022         * iconvdata/ibm937.c (BODY): Likewise.
1023         * iconvdata/ibm939.c (BODY): Likewise.
1024         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1025         assert.
1026         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1027         script.
1028         * iconvdata/run-iconv-test.sh: New test loop for checking for
1029         decoder crashers.
1030
1031 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1032
1033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1034         libm_hidden_ver.
1035
1036 2014-09-01  Allan McRae  <allan@archlinux.org>
1037
1038         * po/eo.po: Update Esperanto translation from translation project.
1039
1040         * po/ca.po: Update Catalan translation from translation project.
1041
1042 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1043
1044         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1045         __proc_dostop call.
1046
1047 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1048
1049         [BZ #17319]
1050         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1051         to call set_thread_area instead of hand written asm.
1052         (__NR_set_thread_area): Removed define.
1053         (TLS_FLAG_WRITABLE): Likewise.
1054         (__ASSUME_SET_THREAD_AREA): Remove check.
1055         (TLS_EBX_ARG): Remove define.
1056         (TLS_LOAD_EBX): Likewise.
1057
1058 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1059
1060         Simplify atomicity of socket creation in bind.
1061
1062         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1063         looking up the name after linking the file.
1064
1065 2014-08-27  Allan McRae  <allan@archlinux.org>
1066
1067         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1068
1069 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1070
1071         [BZ #17187]
1072         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1073         trans_compare, open_translit, __gconv_translit_find):
1074         Remove module loading code.
1075
1076 2014-08-26  Allan McRae  <allan@archlinux.org>
1077
1078         * po/vi.po: Update Vietnamese translation from translation project.
1079
1080         * po/uk.po: Update Ukrainian translation from translation project.
1081
1082         * po/fr.po: Update French translation from translation project.
1083
1084         * po/ru.po: Update Russian translation from translation project.
1085
1086         * po/pl.po: Update Polish translation from translation project.
1087
1088         * po/cs.po: Update Czech translation from translation project.
1089
1090         * po/de.po: Update German translation from translation project.
1091
1092         * po/bg.po: Update Bulgarian translation from translation project.
1093
1094         * po/sv.po: Update Sweedish translation from translation project.
1095
1096         * po/nl.po: Update Dutch translation from translation project.
1097
1098         * po/es.po: Update Spanish translation from translation project.
1099
1100 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1101
1102         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1103
1104         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1105         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1106         (CPPFLAGS-iconvconfig): Likewise.
1107         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1108
1109         * include/libc-symbols.h: Remove unnecessary check for
1110         NOT_IN_libc.
1111         * nptl/pthreadP.h: Likewise.
1112         * sysdeps/aarch64/setjmp.S: Likewise.
1113         * sysdeps/alpha/setjmp.S: Likewise.
1114         * sysdeps/arm/sysdep.h: Likewise.
1115         * sysdeps/i386/setjmp.S: Likewise.
1116         * sysdeps/m68k/setjmp.c: Likewise.
1117         * sysdeps/posix/getcwd.c: Likewise.
1118         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1120         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1121         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1122         * sysdeps/sh/sh3/setjmp.S: Likewise.
1123         * sysdeps/sh/sh4/setjmp.S: Likewise.
1124         * sysdeps/unix/alpha/sysdep.h: Likewise.
1125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1127         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1128         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1133         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1135         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1136         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1138         * sysdeps/x86_64/setjmp.S: Likewise.
1139
1140 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1141
1142         [BZ #17263]
1143         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1144         <stdint.h>.
1145         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1146         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1147
1148 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1149
1150         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1151
1152         [BZ #17262]
1153         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1154         and __x86_64__ when disabling x87 inline functions.
1155
1156 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1157
1158         [BZ #17259]
1159         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1160         asm statement with __cpuid_count.
1161
1162 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1163
1164         * configure.ac: Change __ehdr_start code to dereference the struct.
1165         Run readelf on the output to look for relocations.
1166         * configure: Regenerated.
1167
1168 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1169
1170         [BZ #17261]
1171         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1172         value to 0.
1173         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1174
1175 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1176
1177         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1178
1179 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1180
1181         [BZ #16892]
1182         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1183         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1184
1185 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1186
1187         * malloc/malloc.c: Fix typo in comment.
1188
1189 2014-08-09  Allan McRae  <allan@archlinux.org>
1190
1191         * Regenerate libc.po.
1192
1193 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1194
1195         * intl/tst-gettext2.sh: Check every lang file for creation.
1196
1197 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1198
1199         * sysdeps/aarch64/fpu/math_private.h
1200         (libc_feholdsetround_noex_aarch64_ctx): New function.
1201
1202 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1203
1204         * sysdeps/arm/armv6/strcpy.S (strcpy):
1205         Fix performance issue in misaligned cases.
1206
1207 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1208
1209         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1210         Move definition from termios.h.
1211         (struct termio): Likewise.
1212         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1213         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1214         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1215         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1218         Move definition to ioctl-types.h
1219         (struct termio): Likewise.
1220         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1221         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1222         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1223         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1224         Likewise.
1225
1226 2014-08-05  Richard Henderson  <rth@redhat.com>
1227
1228         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1229         exceptions.
1230         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1231         Add fraiseexcpt.
1232         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1233         Use __feraiseexcept.
1234         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1235         Protect libm symbols with IS_IN_libm.
1236
1237         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1238
1239 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1240
1241         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1242
1243 2014-08-04  Will Newton  <will.newton@linaro.org>
1244
1245         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1246         file.
1247
1248 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1249
1250         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1251         variants for each function.
1252
1253 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1254
1255         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1256         appended ...
1257         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1258         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1259         appended ...
1260         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1261         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1262         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1263         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1264         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1265         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1266         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1267         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1268         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1269         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1270         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1271         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1272         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1273         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1274         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1276         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1277         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1278         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1279         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1280         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1281         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1282         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1283         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1284         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1285         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1286         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1287         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1288         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1289         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1290         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1291         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1292         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1293         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1294         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1296         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1297         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1298         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1299         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1300         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1301         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1302         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1303         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1304         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1305         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1306         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1307         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1308         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1309         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1310         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1311         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1312         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1313         Update #include.
1314         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1315         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1316
1317 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1318
1319         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1320         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1321         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1322         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1323         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1324         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1325
1326 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1327
1328         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1329         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1330         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1331         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1332
1333 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1334
1335         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1336         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1337         (__libc_vfork): Define function under this name.
1338         (__vfork): Define as an alias.
1339         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1340         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1341
1342 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1343
1344         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1345         that was previously under [RESET_PID].
1346         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1347
1348 2014-08-04  Andreas Schwab  <schwab@suse.de>
1349
1350         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1351
1352 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1353
1354         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1355         (main): Likewise.
1356
1357 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1358
1359         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1360
1361 2014-08-01  Richard Henderon  <rth@redhat.com>
1362
1363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1364         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1365         typo in exact zero test.
1366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1367         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1369
1370 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1371
1372         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1373         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1374         * sysdeps/arm/sysdep.h: ... here.
1375         [!__ASSEMBLER__]: Include <stdint.h>.
1376
1377 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1378
1379         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1380         (HAVE_WCTYPE_H): Likewise.
1381         (HAVE_ISWCTYPE): Likewise.
1382         (ENABLE_NLS): Likewise.
1383         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1384         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1385
1386         * posix/regex_internal.c: Check if DEBUG is defined and is
1387         set.
1388
1389         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1390         (HAVE_MBSRTOWCS): Likewise.
1391         * posix/fnmatch.c: Include string.h unconditionally.
1392
1393 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394
1395         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1396         reversal.
1397
1398 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1399
1400         * sysdeps/generic/safe-fatal.h: New file.
1401         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1402         * nptl/forward.c: Include it.
1403         (__pthread_unwind): Use __safe_fatal as default action, rather
1404         than a bogus use of INTERNAL_SYSCALL that could never work.
1405
1406         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1407         * configure.ac (libc_cv_builtin_trap): New test.
1408         * configure: Regenerated.
1409         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1410         (ABORT_INSTRUCTION): Define using __builtin_trap.
1411
1412         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1413         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1414         * sysdeps/nptl/nptl-signals.h: New file.
1415         * nptl/pthreadP.h: Include <nptl-signals.h>.
1416
1417 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1418
1419         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1420         (ONE_DIRECTION): Define.
1421         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1422         (ONE_DIRECTION): Define.
1423         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1424         (ONE_DIRECTION): Define.
1425
1426 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1427
1428         * sysdeps/s390/Makefile: Delete file.
1429         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1430         * sysdeps/s390/__longjmp.c: Delete file.
1431         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1432         Remove fields __flags and __reserved.
1433         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1434         and add versioning.
1435         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1436         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1437         * sysdeps/s390/rtld-setjmp.S: Likewise.
1438         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1439         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1440         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1441         * sysdeps/s390/s390-32/setjmp.S: ... here.
1442         Add versioning.
1443         (__sigsetjmp): Remove setting __flags field.
1444         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1445         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1446         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1447         * sysdeps/s390/s390-64/setjmp.S: ... here.
1448         Add versioning.
1449         (__sigsetjmp): Remove setting __flags field.
1450         * sysdeps/s390/setjmp.S: Delete file.
1451         * sysdeps/s390/sigjmp.c: Likewise.
1452         * sysdeps/s390/v1-longjmp.c: Likewise.
1453         * sysdeps/s390/v1-setjmp.h: Likewise.
1454         * sysdeps/s390/v1-sigjmp.c: Likewise.
1455         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1456         Remove v1-longjmp_chk.
1457         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1458         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1459         Include debug/longjmp_chk.c and add versioning.
1460         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1461         Include nptl/pt-longjmp.c and add versioning.
1462         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1463         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1464         Include __longjmp.c.
1465         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1466         Move to ...
1467         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1468         (__getcontext): Remove setting __flags field.
1469         Add versioning.
1470         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1471         Don't restore upper high grps.
1472         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1473         Likewise.
1474         (__swapcontext): Remove setting uc_flags field.
1475         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1476         Delete file.
1477         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1478         Include __longjmp.c.
1479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1480         Move to ...
1481         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1482         (__getcontext): Remove setting __flags field.
1483         Add versioning.
1484         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1485         (__swapcontext): Remove setting uc_flags field.
1486         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1487         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1488         Remove fields uc_high_gprs and __reserved.
1489         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1490         New file with reverted content.
1491         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1492         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1493         Regenerated.
1494         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1495         Regenerated.
1496
1497 2014-07-31  Andreas Schwab  <schwab@suse.de>
1498
1499         * config.h.in (HAVE_IFUNC): Define to 0.
1500         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1501         definedness.
1502
1503 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1504
1505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1506         memmove-avx-unaligned, memcpy-avx-unaligned and
1507         mempcpy-avx-unaligned.
1508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1509         Add tests for AVX memcpy functions.
1510         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1511         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1512         memcpy_chk.
1513         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1514         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1515         memmove_chk.
1516         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1517         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1518         mempcpy_chk.
1519         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1520         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1521         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1522
1523 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1524
1525         [BZ #17213]
1526         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1527         powerpc64le.
1528
1529 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1530
1531         [BZ #16839]
1532         * manual/llio.texi: Add section about open file description locks.
1533         * manual/examples/ofdlocks.c: Example of open file description
1534         lock usage.
1535         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1536         F_OFD_SETLK, and F_OFD_SETLKW.
1537
1538 2014-07-23  Allan McRae  <allan@archlinux.org>
1539
1540         * po/es.po: Update Spanish translation from translation project.
1541
1542 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1543
1544         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1545
1546 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1547
1548         [BZ #17078]
1549         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1550         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1551         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1552
1553 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1554
1555         [BZ #17088]
1556         * math/fesetenv.c (__fesetenv)
1557         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1558         * math/feupdateenv.c (__feupdateenv)
1559         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1560
1561         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1562         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1563         (__ASSUME_SOCKETCALL): Do not define.
1564
1565         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1566         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1567         (__ASSUME_SOCKETCALL): Do not define.
1568         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1569         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1570         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1571         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1572         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1573         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1574         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1575         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1576
1577         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1578         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1579         (__ASSUME_SOCKETCALL): Do not define.
1580         (__ASSUME_IPC64): Define unconditionally.
1581         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1582         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1583         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1584         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1585         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1586         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1587         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1588         Likewise.
1589
1590         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1591         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1592         (__ASSUME_SOCKETCALL): Do not define.
1593         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1594         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1595         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1596         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1597         (__ASSUME_REQUEUE_PI): Define unconditionally.
1598         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1599         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1600         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1601         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1603         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1604
1605         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1606         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1607         (__ASSUME_SOCKETCALL): Do not define.
1608         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1609         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1610         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1611         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1612         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1613         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1614
1615         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1616         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1617         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1618         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1619         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1620         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1621         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1622         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1623         (__ASSUME_GETCPU_SYSCALL): Likewise.
1624
1625         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1626         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1627         cases for individual architectures.
1628         * sysdeps/gnu/configure: Regenerated.
1629         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1630         LIBC_SLIBDIR_RTLDDIR.
1631         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1632         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1633         LIBC_SLIBDIR_RTLDDIR.
1634         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1636         LIBC_SLIBDIR_RTLDDIR.
1637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1638         Regenerated.
1639         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1640         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1641         file.
1642         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1643         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1644         file.
1645         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1646         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1647         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1648         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1649
1650         * sysdeps/aarch64/shlib-versions: Move to ...
1651         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1652         * sysdeps/alpha/shlib-versions: Move to ...
1653         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1654         * sysdeps/arm/shlib-versions: Move to ...
1655         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1656         * sysdeps/hppa/shlib-versions: Move all contents except for
1657         libgcc_s entry to ...
1658         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1659         entry from ...
1660         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1661         * sysdeps/ia64/shlib-versions: Move to ...
1662         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1663         entry from ...
1664         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1665         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1666         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1667         * sysdeps/microblaze/shlib-versions: Move to ...
1668         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1669         * sysdeps/mips/shlib-versions: Move to ...
1670         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1671         entry from ...
1672         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1673         * sysdeps/tile/shlib-versions: Move to ...
1674         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1675         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1676         from ...
1677         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1678         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1679         entry from ...
1680         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1681
1682 2014-07-17  Will Newton  <will.newton@linaro.org>
1683
1684         * sysdeps/arm/bits/atomic.h
1685         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1686         (__arch_compare_and_exchange_bool_16_int): Likewise.
1687         (__arch_compare_and_exchange_bool_64_int): Likewise.
1688
1689         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1690         into an #else block.
1691
1692 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1693
1694         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1695         just Linux configurations.  Test empirically that the compiler sets
1696         __ARM_EABI__, rather than using the tuple to decide.
1697         * sysdeps/arm/preconfigure: Regenerated.
1698         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1699         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1700         contents appended ...
1701         * sysdeps/arm/configure.ac: ... here.
1702         * sysdeps/arm/configure: Regenerated.
1703
1704 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1705
1706         * nptl/pthread_kill.c: New file.
1707         * nptl/pthread_sigmask.c: New file.
1708         * nptl/pthread_sigqueue.c: New file.
1709
1710         * sysdeps/nptl/lowlevellock.h: New file.
1711         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1712         * sysdeps/nptl/lowlevellock-futex.h: New file.
1713
1714         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1715         Remove dead declarations.
1716
1717 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1718
1719         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1720         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1721         config-cflags-avx2.
1722         * sysdeps/x86_64/configure.ac: Likewise.
1723         * sysdeps/i386/configure: Regenerated.
1724         * sysdeps/x86_64/configure: Likewise.
1725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1726         memset-avx2 only if config-cflags-avx2 is yes.
1727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1728         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1729         defined.
1730         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1731         only if HAVE_AVX2_SUPPORT is defined.
1732         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1733
1734 2014-07-14  Alan Modra  <amodra@gmail.com>
1735
1736         [BZ #17153]
1737         * elf/elf.h (DT_PPC64_NUM): Correct value.
1738         * NEWS: Add to fixed bug list.
1739
1740 2014-07-13  Jim Meyering  <meyering@fb.com>
1741
1742         [BZ 17150]
1743         regex: don't deref NULL upon heap allocation failure
1744         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1745         failure in one more place.
1746         To trigger the segfault, configure grep -with-included-regex,
1747         build it, and run these commands:
1748         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1749
1750 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1751
1752         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1753
1754 2014-07-11  Richard Henderson  <rth@redhat.com>
1755
1756         * sysdeps/aarch64/libm-test-ulps: Update.
1757
1758 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1759
1760         [BZ #17135]
1761         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1762         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1763         (__nptl_setxid): Initialize error member.  Call
1764         __nptl_setxid_error.
1765         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1766         * nptl/descr.h (struct xid_command): Add error member.
1767         * nptl/tst-setuid3.c: New file.
1768         * nptl/Makefile (tests): Add it.
1769
1770 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1771
1772         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1773         New define.
1774         (__lll_trylock): Use __lll_base_trylock.
1775         (__lll_cond_trylock): Likewise.
1776
1777 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1778
1779         * nptl/pthread_create.c (start_thread): Use atomic_or and
1780         lll_futex_wake directly rather than lll_robust_dead.
1781         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1782         (lll_robust_dead): Macro removed.
1783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1784         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1785         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1786         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1787         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1788         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1789         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1790         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1791         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1793         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1794         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1795         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1796         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1797         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1798
1799         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1800         Use atomic_compare_and_exchange_val_acq directly rather than
1801         lll_robust_trylock.
1802         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1803         (__lll_robust_trylock, lll_robust_trylock): Removed.
1804         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1805         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1806         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1808         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1809         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1810         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1811         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1812         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1813         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1814         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1815         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1816         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1818
1819 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1820
1821         * manual/locale.texi (Locale Names): New section documenting
1822         locale name syntax.  Adjust menu and node chaining accordingly.
1823         (Choosing Locale): Reference Locale Names, Locale Categories.
1824         Mention setting LC_ALL=C.  Reflect that name syntax is now
1825         documented.
1826         (Locale Categories): New section title.  Reference Locale Names.
1827         LC_ALL is an environment variable, but not a category.
1828         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1829         description, now in Locale Name.  Reference that section.  Locale
1830         name syntax is now documented.
1831
1832 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1833
1834         [BZ #17137]
1835         * locale/findlocale.c (name_present, valid_locale_name): New
1836         functions.
1837         (_nl_find_locale): Use the loc_name variable to store name
1838         candidates.  Call name_present and valid_locale_name to check and
1839         validate locale names.  Return an error if the locale is invalid.
1840
1841 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1842
1843         * locale/setlocale.c (setlocale): Use strdup for allocating
1844         composite name copy.
1845
1846 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1847
1848         Sync up with gnulib.
1849         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1850         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1851         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1852         and _GL_ARG_NONNULL.
1853         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1854         [!_LIBC]: Include code for Windows and Cygwin.
1855         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1856         Include prototype for int strerror_r.
1857         [!_LIBC] (is_open): New function.
1858         (flush_stdout): New function.
1859         (print_errno_message): Use it.
1860         (error): Likewise.
1861         (error_at_line): Likewise.
1862         (error_tail) Add function attribute macros.  Use
1863         __builtin_expect.
1864
1865         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1866
1867         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1868
1869         * io/ftw.c: Include sys/param.h unconditionally.
1870
1871         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1872
1873         [BZ #17125]
1874         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1875         libc_freeres_ptr.
1876         (freecache): New function to free CACHE on exit.
1877
1878         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1879         initialization.
1880
1881 2014-07-09  David S. Miller  <davem@davemloft.net>
1882
1883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1884
1885         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1886         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1887         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1888         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1889         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1890         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1891         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1892         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1893         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1894         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1895         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1896         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1897         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1898
1899 2014-07-09  Andreas Schwab  <schwab@suse.de>
1900
1901         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1902         output.
1903         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1904         (do_test): Likewise.
1905
1906         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1907
1908 2014-07-09  Will Newton  <will.newton@linaro.org>
1909
1910         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1911         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1912         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1913         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1914         * sysdeps/hppa/start.S (_start): Likewise.
1915
1916 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1917
1918         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1919
1920         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1921         defined.
1922
1923 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1924
1925         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1926         after checking that it is non-NULL.
1927
1928         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1929
1930 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1931
1932         * sysdeps/powerpc/memmove.c: Remove file.
1933         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1934         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1935         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1936         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1937         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1938         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1939         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1940         string memmove instead of removed powerpc one.
1941
1942         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1943         [weak_alias]: Fix compiler warning due trailing data.
1944         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1945         [weak_alias]: Likewise.
1946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1947         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1948
1949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1950         (__libc_ifunc_impl_list): Add memmove functions.
1951
1952 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1953
1954         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1955         Remove code.
1956         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1957         Likewise
1958         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1959         Likewise
1960         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1961         Likewise
1962         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1963         Likewise
1964         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1965         Likewise
1966         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1967         Likewise
1968         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1969         Likewise
1970         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1971         Likewise
1972         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1973         Likewise
1974         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1975         Likewise
1976         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1977         Likewise
1978         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1979         Likewise
1980         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1981         Likewise
1982         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1983         Likewise
1984         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1985         Likewise
1986         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1987         Likewise
1988
1989 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1990
1991         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1992         to avoid alignment traps in non-cacheable memory.
1993         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1994
1995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1996         multiarch objects.
1997         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1998         file: multiarch power7 memmove.
1999         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2000         multiarch default memmove.
2001         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2002         multiarch memove for powerpc32/power4.
2003
2004         * string/bcopy.c: Use full path to include memmove.c.
2005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2006         multiarch objects.
2007         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2008         bcopy for powerpc64.
2009         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2010         bcopy for powerpc64.
2011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2012         and memmove implementations.
2013         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2014         optimized multiarch memmove for POWER7/powerpc64.
2015         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2016         default multiarch memmove for powerpc64.
2017         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2018         multiarch for powerpc64.
2019         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2020         for POWER7/powerpc64.
2021         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2022         memmove for POWER7/powerpc64.
2023
2024         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2025         glibc default one.
2026
2027         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2028         __ELF_NATIVE_CLASS equal to 64.
2029
2030 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2031
2032         * sysdeps/nptl/lowlevellock.h: File removed.
2033
2034         * NEWS: NPTL is no longer an add-on!
2035         * nptl/internaltypes.h: Moved ...
2036         * sysdeps/nptl/internaltypes.h: ... here.
2037         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2038         * sysdeps/nptl/fork.c: Likewise.
2039         * sysdeps/nptl/gai_misc.h: Likewise.
2040         * sysdeps/nptl/librt-cancellation.c: Likewise.
2041         * sysdeps/nptl/jmp-unwind.c: Likewise.
2042         * sysdeps/nptl/setxid.h: Likewise.
2043         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2044         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2045         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2046         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2047         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2048         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2049         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2050         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2051         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2052         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2053         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2054         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2055         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2056         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2057         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2058         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2059         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2060         * nptl/Makeconfig: Moved ...
2061         * sysdeps/nptl/Makeconfig: ... here.
2062         * nptl/configure: File removed.
2063         * nptl/ANNOUNCE: File removed.
2064         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2065         * sysdeps/unix/sysv/linux/configure: Regenerated.
2066
2067         * nptl/Makefile (routines): Add libc_pthread_init,
2068         libc_multiple_threads, register-atfork and unregister-atfork.
2069         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2070         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2071         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2072         pthread-pi-defines.sym, structsem.sym.
2073         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2074         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2075         [$(subdir) = nptl] (tests): Add tst-setgetname.
2076         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2077         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2078         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2079         [!LIBC_SIGACTION]: Remove aliases.
2080         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2081         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2082         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2083         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2084         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2085         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2087         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2088         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2089         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2090         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2091         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2092         __libc_allocate_rtsig_private.
2093         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2094         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2095         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2096         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2097         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2098         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2099         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2100         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2101         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2102         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2103         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2104         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2105         * nptl/internaltypes.h: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2107         * sysdeps/nptl/jmp-unwind.c: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2109         * nptl/libc-lowlevellock.c: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2111         * nptl/libc_multiple_threads.c: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2113         * nptl/libc_pthread_init.c: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2115         * nptl/lowlevelbarrier.sym: ... here.
2116         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2117         * nptl/lowlevelcond.sym: ... here.
2118         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2119         * nptl/lowlevellock.c: ... here.
2120         * nptl/lowlevellock.h: Moved ...
2121         * sysdeps/nptl/lowlevellock.h: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2123         * nptl/lowlevelrobustlock.c: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2125         * nptl/lowlevelrobustlock.sym: ... here.
2126         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2127         * nptl/lowlevelrwlock.sym: ... here.
2128         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2129         * nptl/pt-fork.c: ... here.
2130         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2131         * nptl/pthread-pi-defines.sym: ... here.
2132         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2133         * nptl/pthread_attr_getaffinity.c: ... here.
2134         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2135         * nptl/pthread_attr_setaffinity.c: ... here.
2136         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2137         * nptl/pthread_mutex_cond_lock.c: ... here.
2138         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2139         Update #include.
2140         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2141         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2142         * nptl/pthread_once.c: ... here, replacing old file.
2143         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2144         * nptl/pthread_yield.c: ... here.
2145         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2146         * nptl/register-atfork.c: ... here.
2147         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2148         * nptl/sem_post.c: ... here.
2149         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2150         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2151         * nptl/sem_timedwait.c: ... here.
2152         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2153         * nptl/sem_trywait.c: ... here.
2154         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2155         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2156         * nptl/sem_wait.c: ... here.
2157         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2158         * nptl/structsem.sym: ... here.
2159         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2160         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2161         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2162         * nptl/unregister-atfork.c: ... here.
2163         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2164         * nptl/unwindbuf.sym: ... here.
2165         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2166         * sysdeps/nptl/fork.c: ... here.
2167         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2168         * sysdeps/nptl/fork.h: ... here.
2169         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2170         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2171         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2172         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2173         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2174         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2175         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2176         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2177         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2178         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2179         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2181         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2182         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2183         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2184         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2185         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2187         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2188         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2189         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2190         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2191         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2192         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2193         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2194         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2195         * sysdeps/unix/sysv/linux/raise.c: ... here.
2196         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2197         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2199         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2200         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2201         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2202         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2203         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2204         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2205         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2206         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2207         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2208         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2209         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2210         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2211
2212 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2213
2214         * sysdeps/generic/memcopy.h: Add comment for
2215         MEMCPY_OK_FOR_FWD_MEMMOVE.
2216
2217 2014-07-04  Will Newton  <will.newton@linaro.org>
2218
2219         * string/memchr.c: Merge from gnulib.
2220         [_LIBC]: Remove conditionals.
2221         (__ptr_t): Remove define.
2222         (LONG_MAX_32_BITS): Likewise.
2223         (LONG_MAX): Likewise.
2224         (MEMCHR): Use ANSI prototype and optimize algorithm.
2225
2226         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2227
2228 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2229
2230         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2231         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2232
2233         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2234         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2235         in a bare environment with no <stdlib.h> installed.
2236         * sysdeps/nptl/configure: Regenerated.
2237
2238         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2239
2240         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2241         AC_EGREP_CPP for kernel header checks, so they only succeed if
2242         including <linux/version.h> actually works right.
2243         * sysdeps/unix/sysv/linux/configure: Regenerated.
2244
2245         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2246         value so it's not diagnosed as unused.
2247
2248         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2249         thing) with "ifeq ($(subdir),rt)".
2250
2251 2014-07-03  Richard Henderson  <rth@redhat.com>
2252
2253         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2254         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2255         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2256
2257         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2258         (math_force_eval): New.
2259
2260         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2261         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2262
2263         * sysdeps/alpha/fpu/s_round.c: Remove file.
2264         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2265
2266         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2267         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2268         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2269         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2270         (_dl_start, print_statistics): Likewise.
2271         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2272         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2273
2274         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2275         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2276         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2277         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2278         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2279         (HP_SMALL_TIMING_AVAIL): Define.
2280         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2281         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2282         (HP_SMALL_TIMING_AVAIL): Define.
2283         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2284         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2285
2286         * sysdeps/aarch64/hp-timing.h: New file.
2287
2288         * sysdeps/generic/hp-timing.h: Remove dead comment.
2289         * sysdeps/generic/hp-timing-common.h: New file.
2290         * sysdeps/alpha/hp-timing.h: Include it.
2291         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2292         * sysdeps/i386/i686/hp-timing.h: Likewise.
2293         * sysdeps/ia64/hp-timing.h: Likewise.
2294         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2295         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2296         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2297         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2298         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2299         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2300         (hp_timing_t): New.
2301
2302         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2303         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2304         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2305         * elf/rtld.c (_dl_start_final): Likewise.
2306         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2307         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2308         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2309         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2310         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2311         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2312         (HP_TIMING_DIFF_INIT): Remove.
2313         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2314         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2315         (HP_TIMING_DIFF_INIT): Remove.
2316         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2317         * sysdeps/i386/i686/hp-timing.c: Remove file.
2318         * sysdeps/x86_64/hp-timing.c: Remove file.
2319         * sysdeps/ia64/hp-timing.c: Remove file.
2320         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2321         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2322         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2323         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2324
2325         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2326         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2327         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2328         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2329         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2330         (HP_TIMING_ACCUM): Remove.
2331         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2332         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2333         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2334
2335         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2336         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2337         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2338         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2339         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2340         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2341         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2342         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2343
2344         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2345
2346 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2347
2348         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2349
2350 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2351
2352         Sync up with gettext.
2353         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2354         [_MSC_VER]: Include malloc.h
2355         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2356         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2357         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2358         TEMP_FAILURE_RETRY.  Cast return of alloca.
2359         [!_LIBC] Call gl_rwlock_init.
2360         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2361
2362 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2363
2364         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2365         before checking its value.
2366
2367 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2368
2369         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2370
2371         * debug/memcpy_chk.c: Don't include pagecopy.h.
2372         * debug/mempcpy_chk.c: Likewise.
2373         * string/memcpy.c: Likewise.
2374         * string/memmove.c: Likewise.
2375         * sysdeps/powerpc/memmove.c: Likewise.
2376         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2377         definition of PAGE_COPY_FWD_MAYBE here...
2378         * sysdeps/generic/pagecopy.h: ... from here.
2379         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2380
2381 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2382             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2383
2384         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2386         optimizations.
2387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2388         (__libc_ifunc_impl_list): Likewise.
2389         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2390         multiarch strcat for PPC64.
2391         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2392         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2393
2394 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2395
2396         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2397
2398 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2399
2400         * intl/loadmsgcat.c: Remove declaration of
2401         get_sysdep_segment_value.
2402         (get_sysdep_segment_value): Use ISO C style.
2403         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2404         semicolon.  Fix typo and formatting in comment.
2405         (_nl_unload_domain): Use ISO C style.
2406
2407         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2408
2409 2014-07-02  Will Newton  <will.newton@linaro.org>
2410
2411         * malloc/obstack.c: Merge from gnulib master.
2412         [HAVE_CONFIG_H]: Remove conditional code.
2413         [!_LIBC]: Include config.h.
2414         [!ELIDE_CODE]: Don't include inttypes.h, include
2415         stdint.h unconditionally.
2416         (print_and_abort): Mark as _Noreturn.
2417         (_obstack_allocated_p): Mark as __attribute_pure__.
2418         (obstack_free): Rename to __obstack_free.
2419         [!__attribute__]: Remove conditional code.
2420         * malloc/obstack.h: Merge from gnulib master.
2421         [__cplusplus]: Move conditional down.
2422         [!__attribute_pure__]: Define __attribute_pure__ here
2423         if it is not already defined.
2424         (_obstack_memory_used): Mark as __attribute_pure__.
2425         [!__obstack_free]: Define as obstack_free.
2426         [__GNUC__]: Remove check for ancient NeXT gcc.
2427
2428 2014-07-02  Will Newton  <will.newton@linaro.org>
2429             Paul Eggert  <eggert@cs.ucla.edu>
2430
2431         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2432
2433 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2434
2435         * resolv/gethnamaddr.c: Add comment warning that the file is
2436         not maintained.
2437
2438 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2439
2440         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2441         entries.
2442
2443         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2444         entry for aio_cancel and aio_cancel64.
2445         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2446         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2447         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2448         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2449         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2450         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2451         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2452         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2453         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2454         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2455         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2456         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2457         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2458
2459 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2460
2461         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2462         * nptl/pthread_mutex_lock.c: Likewise.
2463         * nptl/pthread_mutex_timedlock.c: Likewise.
2464         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2465
2466 2014-07-01  Richard henderson  <rth@redhat.com>
2467
2468         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2469         (__isnan, __isnanl): Remove.
2470         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2471
2472         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2473
2474 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2475
2476         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2477
2478 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2479
2480         * resolv/nss_dns/dns-host.c (getanswer_r)
2481         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2482
2483 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2484
2485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2486         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2487         undefine.
2488         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2489         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2490
2491 2014-07-01  Roland McGrath <roland@hack.frob.com>
2492
2493         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2494         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2495
2496         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2497         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2498
2499         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2500         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2501         ... here.
2502         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2503         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2504
2505         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2506         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2507         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2508         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2509
2510         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2511         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2512         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2513         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2514         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2515         Moved ...
2516         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2517         ... here.
2518         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2519         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2520         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2521         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2522         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2523         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2524         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2525         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2527         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2528         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2529         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2530         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2531         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2532         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2533         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2534         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2535         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2536         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2537         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2538         ... here.
2539         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2540         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2542         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2543         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2544         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2545         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2546         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2547
2548 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2549
2550         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2551         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2552         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2553         Add sysdep.
2554
2555 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2556
2557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2558
2559 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2560
2561         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2562         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2563
2564         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2565
2566         * sysdeps/arm/libm-test-ulps: Regenerated.
2567
2568 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2569             Roland McGrath <roland@hack.frob.com>
2570
2571         * test-skeleton.c (signal_handler): Kill the whole process group
2572         before killing the child individually.
2573         (main): Report any failure on `setpgid'.
2574
2575 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2576
2577         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2578         from _TLS_H to _ARM_NPTL_TLS_H.
2579         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2580         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2581
2582 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2583
2584         [BZ #16539]
2585         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2586         (__expm1l): Return argument unchanged when small but not
2587         subnormal.
2588
2589         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2590         include macro name.
2591         (_FP_UNPACK_RAW_1_P): Likewise.
2592         (_FP_PACK_RAW_1): Likewise.
2593         (_FP_PACK_RAW_1_P): Likewise.
2594         (_FP_MUL_MEAT_1_wide): Likewise.
2595         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2596         (_FP_MUL_MEAT_1_hard): Likewise.
2597         (_FP_DIV_MEAT_1_imm): Likewise.
2598         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2599         (_FP_DIV_MEAT_1_udiv): Likewise.
2600         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2601         (_FP_UNPACK_RAW_2): Likewise.
2602         (_FP_UNPACK_RAW_2_P): Likewise.
2603         (_FP_PACK_RAW_2): Likewise.
2604         (_FP_PACK_RAW_2_P): Likewise.
2605         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2606         (_FP_MUL_MEAT_2_wide): Likewise.
2607         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2608         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2609         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2610         (_FP_MUL_MEAT_2_gmp): Likewise.
2611         (_FP_DIV_MEAT_2_udiv): Likewise.
2612         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2613         (_FP_FRAC_SRL_4): Likewise.
2614         (_FP_FRAC_SRST_4): Likewise.
2615         (_FP_FRAC_SRS_4): Likewise.
2616         (_FP_UNPACK_RAW_4): Likewise.
2617         (_FP_UNPACK_RAW_4_P): Likewise.
2618         (_FP_PACK_RAW_4): Likewise.
2619         (_FP_PACK_RAW_4_P): Likewise.
2620         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2621         (_FP_MUL_MEAT_4_wide): Likewise.
2622         (_FP_MUL_MEAT_4_gmp): Likewise.
2623         (umul_ppppmnnn): Likewise.
2624         (_FP_DIV_MEAT_4_udiv): Likewise.
2625         (__FP_FRAC_ADD_4): Likewise.
2626         (__FP_FRAC_SUB_3): Likewise.
2627         (__FP_FRAC_SUB_4): Likewise.
2628         (__FP_FRAC_DEC_3): Likewise.
2629         (__FP_FRAC_DEC_4): Likewise.
2630         (__FP_FRAC_ADDI_4): Likewise.
2631         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2632         (_FP_FRAC_SRL_8): Likewise.
2633         (_FP_FRAC_SRS_8): Likewise.
2634
2635         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2636         include macro name.
2637         (FP_UNPACK_RAW_EP): Likewise.
2638         (FP_PACK_RAW_E): Likewise.
2639         (FP_PACK_RAW_EP): Likewise.
2640         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2641         (_FP_ISSIGNAN): Likewise.
2642         (_FP_ADD_INTERNAL): Likewise.
2643         (_FP_FMA): Likewise.
2644         (_FP_CMP): Likewise.
2645         (_FP_SQRT): Likewise.
2646         (_FP_TO_INT): Likewise.
2647         (_FP_FROM_INT): Likewise.
2648         (FP_EXTEND): Likewise.
2649         (_FP_DIV_MEAT_N_loop): Likewise.
2650
2651 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2652
2653         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2654         throughout.
2655
2656 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2657
2658         [BZ #17097]
2659         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2660         result with correct sign in case of exponents that produce
2661         overflow except for X very close to 1.
2662
2663 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2664
2665         mktime: merge #if/#ifdef usage from glibc
2666         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2667         as that works with both Glibc's and Gnulib's style.
2668         See thread starting at Siddhesh Poyarekar's bug report at:
2669         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2670
2671 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2672
2673         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2674         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2675         * sysdeps/tile/tilegx/memmove.c: Remove file.
2676
2677 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2678
2679         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2680         abi-name definition.
2681         * scripts/soversions.awk: Do not handle or generate ABI lines.
2682         * shlib-versions: Remove ABI entries.
2683         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2684         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2685
2686 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2687
2688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2689         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2690         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2691         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2693         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2695         Moved ...
2696         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2697         ... here.
2698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2701         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2707         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2711         Moved ...
2712         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2714         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2718         Moved ...
2719         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2721         Moved ...
2722         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2724         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2726         Moved ...
2727         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2729         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2731         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2733         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2735         Moved ...
2736         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2738         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2740         Moved ...
2741         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2743         Moved ...
2744         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2746         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2748         Moved ...
2749         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2750         ... here.
2751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2752         Identical file removed.
2753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2756         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2757         Identical file removed.
2758         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2759         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2761         Moved ...
2762         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2763         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2764         Identical file removed.
2765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2766         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2768         Identical file removed.
2769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2770         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2771         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2772         Identical file removed.
2773         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2774         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2775         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2776         Identical file removed.
2777         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2778         Moved ...
2779         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2781         Identical file removed.
2782         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2783         Moved ...
2784         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2788         Identical file removed.
2789         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2792         ... here.
2793         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2794         Identical file removed.
2795         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2799         Identical file removed.
2800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2803         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2804         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2805         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2806         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2810         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2811         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2812
2813         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2814         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2815         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2816         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2817         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2818
2819 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2820
2821         [BZ #17092]
2822         * nscd/nscd.c (monitor_child): Return exit status of child
2823         instead of return value from wait syscall.
2824
2825 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2826
2827         * configure.ac (libc_commonpagesize): Remove variable.
2828         (libc_relro_required): Likewise.
2829         (libc_cv_z_relro): Remove configure test.
2830         * configure: Regenerated.
2831         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2832         variable.
2833         (libc_relro_required): Likewise.
2834         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2835         (libc_relro_required): Likewise.
2836         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2837         (libc_relro_required): Likewise.
2838         * sysdeps/arm/preconfigure: Regenerated.
2839         * sysdeps/ia64/preconfigure: Remove file.
2840         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2841         variable.
2842         (libc_relro_required): Likewise.
2843
2844         [BZ #16561]
2845         [BZ #16562]
2846         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2847         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2848         recompute overflowing results in original rounding mode.
2849         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2850         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2851         recompute overflowing results in original rounding mode.
2852         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2853         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2854         recompute overflowing results in original rounding mode.
2855         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2856         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2857         recompute overflowing results in original rounding mode.
2858         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2859         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2860         recompute overflowing results in original rounding mode.
2861         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2862         (libc_feholdsetround_ctx): New macro.
2863         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2864         * sysdeps/i386/fpu/libm-test-ulps: Update.
2865         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2866
2867 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2868
2869         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2870         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2871         corresponding .cpsetup call.
2872
2873 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2874
2875         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2876         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2877         * sysdeps/arm/Makefile [$(subdir) = csu]
2878         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2879         (static-only-routines): Add aeabi_read_tp here.
2880         (shared-only-routines): Add libc-aeabi_read_tp here.
2881         (CFLAGS-libc-start.c): Add -fexceptions here.
2882         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2883         (sysdep_routines, static-only-routines, shared-only-routines):
2884         Don't add to these here.
2885         (CFLAGS-libc-start.c): Likewise.
2886
2887         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2888         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2889         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2890         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2891         * sysdeps/arm/Makefile [$(subdir) = rt]
2892         (librt-sysdep_routines, librt-shared-only-routines):
2893         Append rt-aeabi_unwind_cpp_pr1 here.
2894         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2895         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2896         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2897         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2898         Append nptl-aeabi_unwind_cpp_pr1 here.
2899         (tests): Filter out tst-cleanupx4 here.
2900         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2901         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2902         Don't do those here.
2903
2904 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2905
2906         * scripts/list-sources.sh: Do not handle ports specially.
2907
2908 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2909
2910         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2911         * sysdeps/arm/feupdateenv.c: Likewise.
2912
2913         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2914
2915 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2916
2917         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2918         trailing whitespace removed.
2919         * scripts/config.guess: Update to version 2014-03-23.
2920         * scripts/config.sub: Update to version 2014-05-01
2921         * scripts/install-sh: Update to version 2013-12-25.23.
2922         * scripts/move-if-change: Update from gnulib.
2923
2924 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2925
2926         * debug/memmove_chk.c: Remove pagecopy.h include.
2927
2928 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2929
2930         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2931         identical to gnulib mktime.
2932
2933 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2934
2935         * configure.ac: Do not test for machine being rs6000.  Do not test
2936         for powerpc*-*soft.
2937         * configure: Regenerated.
2938
2939         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2940         test.
2941         * configure: Regenerated.
2942         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2943         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2944         Remove configure test.
2945         * sysdeps/arm/configure: Regenerated.
2946         * sysdeps/nptl/configure.ac: Do not check
2947         libc_cv_asm_cfi_directives.
2948         * sysdeps/nptl/configure: Regenerated.
2949         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2950         * sysdeps/x86_64/nptl/configure: Remove generated file.
2951         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2952         unconditional.
2953         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2954
2955 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2956
2957         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2958         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2959         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2960         it is defined.
2961
2962         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2963         instead of whether it is defined.
2964         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2965         * sysdeps/hppa/dl-machine.h: Likewise.
2966         * sysdeps/ia64/dl-machine.h: Likewise.
2967         * sysdeps/m68k/dl-machine.h: Likewise.
2968         * sysdeps/microblaze/dl-machine.h: Likewise.
2969         * sysdeps/mips/dl-machine.: Likewise.
2970         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2971         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2972         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2973         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2974         * sysdeps/sh/dl-machine.h: Likewise.
2975         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2976         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2977         * sysdeps/tile/dl-machine.h: Likewise.
2978         * sysdeps/x86_64/dl-machine.h: Likewise.
2979
2980         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2981         code.
2982         (verify_persistent_db): Likewise.
2983
2984 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2985
2986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2987         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2991         Moved ...
2992         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2993         ... here.
2994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2995         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2997         Identical file removed.
2998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2999         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3001         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3003         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3005         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3007         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3009         Moved ...
3010         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3012         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3016         Moved ...
3017         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3019         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3021         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3023         Identical file removed.
3024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3025         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3027         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3029         Moved ...
3030         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3031         ... here.
3032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3035         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3037         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3039         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3041         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3043         Moved ...
3044         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3046         Moved ...
3047         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3049         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3051         Moved ...
3052         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3054         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3055
3056         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3057         folded into ...
3058         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3059         * sysdeps/unix/sysv/linux/s390/Versions
3060         (libpthread: GLIBC_2.19): New version set.
3061         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3062         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3063         (librt: GLIBC_2.3.3): New version set.
3064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3065         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3066         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3068         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3069         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3070         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3072         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3074         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3075         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3076         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3077         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3078         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3079         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3080         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3082         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3084         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3085         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3086         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3088         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3090         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3092         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3094         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3097         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3100         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3102         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3104         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3106         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3108         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3109
3110         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3111         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3112         (__libc_vfork): Define the function under this name.
3113         [!NOT_IN_libc] (__vfork): Make this an alias.
3114         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3116         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3117         (__libc_vfork): Define the function under this name.
3118         [!NOT_IN_libc] (__vfork): Make this an alias.
3119         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3120         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3121         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3124         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3125
3126         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3127         code that was previously under [RESET_PID].
3128         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3129         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3131
3132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3133         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3134         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3135         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3136         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3137         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3138         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3139         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3140         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3141         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3142         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3143         Moved ...
3144         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3145         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3146         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3147         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3148         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3150         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3151         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3152         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3153         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3154         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3155         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3156         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3157         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3158         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3159         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3160         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3161         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3162         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3163         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3164         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3166         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3167         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3168         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3169         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3170         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3172         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3173
3174 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3175
3176         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3177         that was previously under [RESET_PID].
3178         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3179
3180 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3181
3182         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3183         not undefine and redefine.
3184         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3185         [O_CLOEXEC]: Make code unconditional.
3186         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3187         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3188         <kernel-features.h>.
3189         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3190         conditional variable definition.
3191         (shm_open) [O_CLOEXEC]: Make code unconditional.
3192         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3193         code.
3194
3195         * configure.ac (USE_REGPARMS): Don't define here.
3196         * configure: Regenerated.
3197         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3198         * sysdeps/i386/configure: Regenerated.
3199
3200         * nptl/createthread.c: Don't include kernel-features.h.
3201         * nptl/pthread_cancel.c: Likewise.
3202         * nptl/pthread_condattr_setclock.c: Likewise.
3203         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3204         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3205         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3206         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3207         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3208         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3209         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3212         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3213         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3214         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3215         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3216         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3217         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3218         * nscd/gai.c: Likewise.
3219         * nss/nss_db/db-open.c: Likewise.
3220         * sysdeps/generic/ldsodefs.h: Likewise.
3221         * sysdeps/sh/nptl/tls.h: Likewise.
3222         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3223         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3224         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3225         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3226         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3227         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3228         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3229         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3230         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3231         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3232         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3233         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3234         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3235         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3236         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3237         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3238         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3239         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3240         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3241         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3244         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3245         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3246         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3247         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3250         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3251         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3252         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3253         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3254         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3255         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3256         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3257         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3258         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3259         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3260         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3261         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3262         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3263         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3264         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3265         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3266         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3267         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3268         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3269         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3270         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3271         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3272         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3273         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3274         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3275         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3276         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3277         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3278         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3279         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3302         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3303         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3304         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3305         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3306         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3307         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3308         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3309         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3310         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3311         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3312         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3313         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3314         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3315         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3316         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3317         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3320         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3321         * sysdeps/unix/sysv/linux/system.c: Likewise.
3322         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3323         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3324         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3325         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3326         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3327         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3328         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3329
3330         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3331         * configure: Regenerated.
3332         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3333
3334         * configure.ac (base_machine): Do not set specially for particular
3335         machines here.
3336         * configure: Regenerated.
3337         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3338         settings from configure.ac.
3339         * sysdeps/i386/preconfigure: New file.
3340         * sysdeps/s390/preconfigure: Likewise.
3341         * sysdeps/sh/preconfigure: Likewise.
3342         * sysdeps/sparc/preconfigure: Likewise.
3343
3344 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3345
3346         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3347         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3348         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3349         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3350         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3351         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3352         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3353         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3354         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3355         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3356         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3357         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3358         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3359         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3360         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3361         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3362         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3363         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3364         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3365
3366         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3367         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3368         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3369         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3370         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3371         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3372         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3373         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3374         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3375         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3376         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3377         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3378         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3379         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3380         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3381         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3382         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3383         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3384         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3385         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3386         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3387         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3389         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3390         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3391         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3392         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3393         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3395         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3396         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3397         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3398         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3399         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3400         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3401         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3402         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3403         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3404
3405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3406         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3408         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3410         Moved ...
3411         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3412         ... here.
3413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3414         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3416         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3418         Moved ...
3419         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3421         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3423         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3425         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3427         Moved ...
3428         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3433         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3435         Moved ...
3436         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3438         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3440         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3442         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3444         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3446         Moved ...
3447         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3448         ... here.
3449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3450         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3452         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3454         Moved ...
3455         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3457         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3459         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3461         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3463         Moved ...
3464         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3466         Moved ...
3467         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3471         Moved ...
3472         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3474         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3476         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3477
3478 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3479
3480         * timezone/checktab.awk: Update from tzcode 2014e.
3481         * timezone/private.h: Likewise.
3482         * timezone/tzfile.h: Likewise.
3483         * timezone/zdump.c: Likewise.
3484         * timezone/zic.c: Likewise.
3485
3486         * sysdeps/unix/sysv/linux/kernel-features.h
3487         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3488         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3489         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3490         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3491         Remove conditional code.
3492
3493 2014-06-25  Will Newton  <will.newton@linaro.org>
3494
3495         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3496         (_dl_arm_cap_flags): Add HWCAP2 values.
3497         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3498         (_DL_HWCAP_COUNT): Increase to 37.
3499         (_DL_HWCAP_LAST): New define.
3500         (_DL_HWCAP2_LAST): New define.
3501         (_dl_procinfo): Add support for printing
3502         AT_HWCAP2 entries.
3503         (_dl_string_hwcap): Use _dl_hwcap_string.
3504
3505 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3506
3507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3508
3509 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3510
3511         * README: Do not mention ports directory.
3512
3513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3514         Remove macro.
3515         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3516         <kernel-features.h>.
3517         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3518         conditional variable definition.
3519         (__futimes): Update comment.
3520         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3521         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3522
3523         [BZ #16560]
3524         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3525         arguments close to 0.
3526         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3527         Likewise.
3528         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3529         Likewise.
3530         * math/auto-libm-test-in: Add more tests of exp10.
3531         * math/auto-libm-test-out: Regenerated.
3532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3533
3534         * sysdeps/unix/sysv/linux/kernel-features.h
3535         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3536         * sysdeps/unix/sysv/linux/readv.c: Do not include
3537         <kernel-features.h>.
3538         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3539         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3540         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3541         unconditional.
3542         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3543         conditional code.
3544         * sysdeps/unix/sysv/linux/writev.c: Do not include
3545         <kernel-features.h>.
3546         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3547         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3548         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3549         unconditional.
3550         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3551         conditional code.
3552
3553 2014-06-25  Will Newton  <will.newton@linaro.org>
3554
3555         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3556         comment changes throughout the file.  Remove checks
3557         for HAVE_*_H definitions that are not required.
3558         (__gen_tempname): Call abort if an unknown kind value is
3559         passed.
3560
3561 2014-06-25  Andreas Schwab  <schwab@suse.de>
3562
3563         [BZ #17086]
3564         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3565         scalbln, scalblnf, scalblnl in libc.
3566
3567 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3568
3569         [BZ #17086]
3570         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3571         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3572         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3573
3574 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3575
3576         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3577         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3578         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3579         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3580         Update #include.
3581         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3582         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3583         Update #include.
3584         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3585         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3586         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3587         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3588         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3589         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3590         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3591         * sysdeps/x86/bits/semaphore.h: ... here.
3592         * sysdeps/x86/nptl/elide.h: Moved ...
3593         * sysdeps/x86/elide.h: ... here.
3594         * sysdeps/x86_64/nptl/Implies: File removed.
3595         * sysdeps/i386/nptl/Implies: File removed.
3596
3597 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3598
3599         [BZ #16539]
3600         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3601         return the argument for normal arguments with exponent below -64.
3602         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3603         Likewise.
3604         * math/auto-libm-test-in: Add another test of expm1.
3605         * math/auto-libm-test-out: Regenerated.
3606
3607         [BZ #16287]
3608         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3609         calling __erfcl for arguments at least 16.
3610         * math/auto-libm-test-in: Add more tests of erf.
3611         * math/auto-libm-test-out: Regenerated.
3612
3613         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3614         individual architectures.
3615         * sysdeps/unix/sysv/linux/configure: Regenerated.
3616         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3617         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3618         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3619         (ldd_rewrite_script): Define variable.
3620         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3622         file.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3624         generated file.
3625         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3626         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3627         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3628         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3629         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3630         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3631         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3632         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3633
3634 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3635
3636         [BZ #17084]
3637         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3638         Rename member __data.d to __data.__elision_data.
3639
3640 2014-06-24  Wilco  <wdijkstr@arm.com>
3641
3642         * NEWS: Add 16918 to fixed bug list.
3643
3644 2014-06-24  Wilco  <wdijkstr@arm.com>
3645
3646         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3647
3648 2014-06-24  Wilco  <wdijkstr@arm.com>
3649
3650         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3651         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3652         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3653         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3654         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3655         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3656         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3657         Use _FPU_MASK_RM.
3658
3659 2014-06-24  Wilco  <wdijkstr@arm.com>
3660
3661         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3662
3663 2014-06-24  Wilco  <wdijkstr@arm.com>
3664
3665         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3666         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3667         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3668         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3669
3670 2014-06-24  Wilco  <wdijkstr@arm.com>
3671
3672         [BZ #16918]
3673         * sysdeps/arm/feupdateenv.c (feupdateenv):
3674         Rewrite to reduce FPSCR accesses and fix return value.
3675
3676 2014-06-24  Wilco  <wdijkstr@arm.com>
3677
3678         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3679         Optimize to avoid unnecessary FPSCR writes.
3680         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3681         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3682         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3683         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3684
3685 2014-06-24  Wilco  <wdijkstr@arm.com>
3686
3687         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3688         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3689         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3690         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3691         Call libc_fetestexcept_vfp.
3692         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3693         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3694         __SOFTFP__ ifdef so that they can be built for softfp.
3695
3696 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3697
3698         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3699         argument type signed char.
3700
3701         * Makerules (check-abi): Dump diff of symlist if the test
3702         fails.
3703
3704 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3705
3706         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3707         using abort.
3708
3709         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3710         Remove unused variable ST.
3711
3712 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3713
3714         [BZ #16354]
3715         [BZ #17061]
3716         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3717         small arguments before calling __expm1.
3718         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3719         small arguments before calling __expm1f.
3720         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3721         small arguments before calling __expm1l.
3722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3723         Likewise.
3724         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3725         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3726         spurious underflow for some cosh tests.
3727         * math/auto-libm-test-out: Regenerated.
3728         * sysdeps/i386/fpu/libm-test-ulps: Update.
3729
3730         [BZ #17050]
3731         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3732         (__ieee754_y1): Set errno if return value overflows.
3733         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3734         (__ieee754_y1f): Set errno if return value overflows.
3735         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3736         (__ieee754_y1l): Set errno if return value overflows.
3737         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3738         (__ieee754_y1l): Set errno if return value overflows.
3739         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3740         * math/auto-libm-test-out: Regenerated.
3741
3742         * math/gen-auto-libm-tests.c: Document use of
3743         ignore-zero-inf-sign.
3744         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3745         (input_flags): Add ignore-zero-inf-sign.
3746         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3747         * math/gen-libm-test.pl (generate_testfile): Handle
3748         ignore-zero-inf-sign.
3749         * math/auto-libm-test-in: Mark some cpow tests with
3750         ignore-zero-inf-sign and some with xfail-rounding.
3751         * math/auto-libm-test-out: Regenerated.
3752         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3753         * sysdeps/i386/fpu/libm-test-ulps: Update.
3754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3755
3756         [BZ #16315]
3757         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3758         overflowing or underflowing operations take place with sign of
3759         result.
3760         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3761         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3762         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3763         (__ieee754_pow): Recompute overflowing and underflowing results in
3764         original rounding mode.
3765         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3766         (__powl_helper): Allow negative argument X and scale negated value
3767         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3768         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3769         overflowing or underflowing operations take place with sign of
3770         result.
3771         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3772         Include <math.h>.
3773         * math/auto-libm-test-in: Add more tests of pow.
3774         * math/auto-libm-test-out: Regenerated.
3775         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3776         (pow_tonearest_test_data): Remove.
3777         (pow_test_tonearest): Likewise.
3778         (pow_towardzero_test_data): Likewise.
3779         (pow_test_towardzero): Likewise.
3780         (pow_downward_test_data): Likewise.
3781         (pow_test_downward): Likewise.
3782         (pow_upward_test_data): Likewise.
3783         (pow_test_upward): Likewise.
3784         (main): Don't call removed functions.
3785         * sysdeps/i386/fpu/libm-test-ulps: Update.
3786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3787
3788 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3789
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3791         Moved ...
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3794         Moved ...
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3797         Moved ...
3798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3800         Moved ...
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3803         File removed.
3804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3805         File removed.
3806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3807         File removed.
3808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3809         File removed.
3810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3811         File removed.
3812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3813         File removed.
3814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3815         File removed.
3816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3817         File removed.
3818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3819         File removed.
3820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3821         File removed.
3822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3823         File removed.
3824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3825         File removed.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3827         Moved ...
3828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3830         Moved ...
3831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3832         ... here.
3833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3834         Moved ...
3835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3837         Moved ...
3838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3840         Moved ...
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3843         Moved ...
3844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3846         Moved ...
3847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3849         Moved ...
3850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3852         Moved ...
3853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3856         ... here.
3857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3858         Moved ...
3859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3861         Moved ...
3862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3863         ... here.
3864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3865         Moved ...
3866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3867         ... here.
3868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3869         Moved ...
3870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3871         ... here.
3872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3873         Moved ...
3874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3876         Moved ...
3877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3881         Moved ...
3882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3883         ... here.
3884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3885         Moved ...
3886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3887         ... here.
3888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3889         Moved ...
3890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3892         Moved ...
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3895         Moved ...
3896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3898         Moved ...
3899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3901         Moved ...
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3903         ... here.
3904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3905         Moved ...
3906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3908         Moved ...
3909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3911         Moved ...
3912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3914         Moved ...
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3919         Moved ...
3920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3922         Moved ...
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3925         Moved ...
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3927         ... here.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3929         Moved ...
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3931         ... here.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3933         Moved ...
3934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3935         ... here.
3936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3937         Moved ...
3938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3940         Moved ...
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3943         Moved ...
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3946         Moved ...
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3948         ... here.
3949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3950         Moved ...
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3952         ... here.
3953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3954         Moved ...
3955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3956         ... here.
3957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3958         Moved ...
3959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3961         Moved ...
3962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3963
3964 2014-06-23  Will Newton  <will.newton@linaro.org>
3965             Wilco  <wdijkstr@arm.com>
3966
3967         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3968         implementation.  Include get-rounding-mode.h.
3969         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3970         [!libc_feholdsetround_noex_ctx]: Define
3971         libc_feholdsetround_noex_ctx.
3972         [!libc_feholdsetround_noexf_ctx]: Define
3973         libc_feholdsetround_noexf_ctx.
3974         [!libc_feholdsetround_noexl_ctx]: Define
3975         libc_feholdsetround_noexl_ctx.
3976         (libc_feholdsetround_ctx): New function.
3977         (libc_feresetround_ctx): New function.
3978         (libc_feholdsetround_noex_ctx): New function.
3979         (libc_feresetround_noex_ctx): New function.
3980
3981 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3982
3983         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3984         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3985         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3986         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3987         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3988         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3989
3990         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3991         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3992         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3993         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3994         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3995         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3997         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3998         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3999         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4001         Moved ...
4002         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4003         ... here.
4004         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4005         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4006         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4007         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4009         Moved ...
4010         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4011         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4012         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4013         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4014         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4016         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4017         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4018         Moved ...
4019         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4021         Moved ...
4022         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4024         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4026         Moved ...
4027         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4028         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4029         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4030         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4031         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4032         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4033         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4034         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4035         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4036         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4037         Moved ...
4038         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4039         ... here.
4040         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4041         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4042         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4043         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4045         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4047         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4048         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4049         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4050         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4051         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4053         Moved ...
4054         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4055         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4056         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4057         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4058         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4060         Moved ...
4061         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4062         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4063         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4064         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4065         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4066
4067         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4068         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4069         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4070         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4071         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4072         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4073         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4074         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4075         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4076         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4077         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4078         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4079         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4080         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4082         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4083         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4084         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4086         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4087         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4088         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4089         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4090         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4091         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4092         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4094         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4095
4096 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4097
4098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4099         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4100         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4101         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4102         (IPV6_PMTUDISC_INTERFACE): Likewise.
4103         (IPV6_PMTUDISC_OMIT): Likewise.
4104
4105 2014-06-23  Andreas Schwab  <schwab@suse.de>
4106
4107         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4108         Remove unused errout label.
4109
4110 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4111
4112         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4113         macro: hardware supports Vector Crypto instructions.
4114
4115 2014-06-23  Will Newton  <will.newton@linaro.org>
4116
4117         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4118         rather than __builtin_expect.
4119
4120         * elf/dl-lookup.c (undefined_msg): Remove variable.
4121         (_dl_lookup_symbol_x): Replace undefined_msg with string
4122         literal.
4123
4124         * elf/dl-lookup.c (do_lookup_unique): New function.
4125         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4126         to a separate function.
4127
4128 2014-06-23  Andreas Schwab  <schwab@suse.de>
4129
4130         [BZ #17079]
4131         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4132         before reading the next line.
4133
4134 2014-06-23  Will Newton  <will.newton@linaro.org>
4135
4136         * test-skeleton.c (signal_handler): Use printf and %m
4137         rather than perror.  Use printf rather than fprintf to
4138         stderr.  Use puts rather than fputs to stderr.
4139         (main): Likewise.
4140
4141 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4142
4143         * nscd/nscd.c (thread_info_t): Remove typedef.
4144         (thread_info): Remove variable.
4145
4146 2014-06-21  Allan McRae  <allan@archlinux.org>
4147
4148         * NEWS: Mention CVE-2014-4043.
4149
4150 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4151
4152         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4153         * nptl/smp.h: ... here.
4154
4155         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4156
4157         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4158         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4159         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4160         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4161
4162         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4163         * nptl/stack-aliasing.h: New file.
4164         * sysdeps/i386/i686/stack-aliasing.h: New file.
4165         * sysdeps/i386/i686/nptl/Makefile: File removed.
4166         * sysdeps/x86_64/stack-aliasing.h: New file.
4167         * sysdeps/x86_64/nptl/Makefile
4168         (CFLAGS-pthread_create.c): Variable removed.
4169
4170         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4171         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4172         old file.
4173         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4174         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4175         old file.
4176
4177 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4178
4179         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4180         (__ASSUME_SIGFRAME_V2): Remove macro.
4181         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4182         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4183         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4184         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4185         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4186         Declare as function.  Remove conditional macro definitions.
4187         (__default_rt_sa_restorer): Likewise.
4188         (__default_sa_restorer_v1): Remove declaration.
4189         (__default_sa_restorer_v2): Likewise.
4190         (__default_rt_sa_restorer_v1): Likewise.
4191         (__default_rt_sa_restorer_v2): Likewise.
4192         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4193         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4194         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4195
4196 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4197
4198         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4199         (libpthread-routines): Add sysdep.
4200         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4201         * sysdeps/unix/sysv/linux/sparc/Versions
4202         (libpthread: GLIBC_2.3.3): New version set.
4203         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4204         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4205         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4207         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4208         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4209         Moved ...
4210         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4212         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4214         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4216         * sysdeps/sparc/nptl/sem_init.c: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4218         * sysdeps/sparc/nptl/sem_post.c: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4220         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4222         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4224         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4225         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4226         (libpthread-routines): Add cpu_relax.
4227         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4228         File removed.
4229         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4230         (librt: GLIBC_2.3.3): New version set.
4231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4232         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4234         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4237         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4239         Moved ...
4240         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4242         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4244         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4246         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4248         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4250         Moved ...
4251         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4252         Update #include.
4253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4254         Moved ...
4255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4256         Update #include.
4257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4258         Moved ...
4259         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4260         Update #include.
4261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4262         Moved ...
4263         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4264         Update #include.
4265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4266         Moved ...
4267         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4268         Update #include.
4269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4270         Moved ...
4271         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4272         Update #include.
4273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4274         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4280         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4282         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4284         Moved ...
4285         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4287         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4289         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4290
4291 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4292
4293         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4294         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4295         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4296         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4297         * nscd/nscd.c: Likewise.
4298         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4299         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4300         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4301         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4302
4303         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4304         <kernel-features.h>.
4305         (init_mq_netlink): Remove conditional have_sock_cloexec
4306         definitions.  Remove code conditional on have_sock_cloexec < 0.
4307         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4308         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4309         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4310         <kernel-features.h>.
4311         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4312         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4313
4314 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4315
4316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4317         Add tests for memset_chk and memset.
4318
4319         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4320         with AVX2_Usable.
4321
4322 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4323
4324         [BZ #16046]
4325         * elf/tst-dl-iter-static.c: New file.
4326         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4327
4328         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4329         error.
4330
4331 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4332
4333         * sysdeps/unix/sysv/linux/kernel-features.h
4334         (__ASSUME_F_GETOWN_EX): Remove macro.
4335         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4336         <kernel-features.h>.
4337         (miss_F_GETOWN_EX): Remove variable or macro.
4338         (do_fcntl): Do not check miss_F_GETOWN_EX.
4339         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4340
4341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4342         Remove macro.
4343         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4344         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4345         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4346
4347         * sysdeps/unix/sysv/linux/kernel-features.h
4348         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4349         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4350         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4351         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4352
4353 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4354
4355         [BZ #17075]
4356         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4357         Fix calculation of the symbol's value.
4358         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4359         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4360         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4361         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4362         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4363         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4364         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4365         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4366         (modules-names): Add `tst-armtlsdescmod',
4367         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4368         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4369         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4370         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4371         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4372         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4373         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4374         ($(objpfx)tst-armtlsdescloc): New dependency.
4375         ($(objpfx)tst-armtlsdescextnow): Likewise.
4376         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4377         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4378         TLS scheme support.
4379         * sysdeps/arm/configure: Regenerate.
4380
4381 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4382
4383         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4384         (__atfct_seterrno_2): Likewise.
4385         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4386         <kernel-features.h>.
4387         (__ASSUME_ATFCTS): Do not undefine and redefine.
4388         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4389         (__have_atfcts): Remove conditional definition.
4390         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4391         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4392         unreachable if [__ASSUME_ATFCTS].
4393         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4394         not undefine and redefine.
4395         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4396         <kernel-features.h>.
4397         (faccessat) [__NR_faccessat]: Make code unconditional.
4398         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4399         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4400         <kernel-features.h>.
4401         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4402         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4403         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4404         <kernel-features.h>.
4405         (fchownat) [__NR_fchownat]: Make code unconditional.
4406         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4407         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4408         <kernel-features.h>.
4409         (futimesat) [__NR_futimesat]: Make code unconditional.
4410         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4411         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4412         <kernel-features.h>.
4413         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4414         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4415         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4416         <kernel-features.h>.
4417         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4418         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4419         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4420         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4421         <kernel-features.h>.
4422         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4423         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4424         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4425         <kernel-features.h>.
4426         (linkat) [__NR_linkat]: Make code unconditional.
4427         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4428         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4429         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4430         <kernel-features.h>.
4431         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4432         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4433         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4434         <kernel-features.h>.
4435         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4436         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4437         * sysdeps/unix/sysv/linux/openat.c: Do not include
4438         <kernel-features.h>.
4439         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4440         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4441         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4442         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4443         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4444         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4445         <kernel-features.h>.
4446         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4447         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4448         result of INLINE_SYSCALL directly, not via int variable.
4449         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4450         <kernel-features.h>.
4451         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4452         (renameat) [__NR_renameat]: Make code unconditional.
4453         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4454         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4455         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4456         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4457         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4458         (__ASSUME_ATFCTS): Do not undefine and redefine.
4459         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4460         <kernel-features.h>.
4461         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4462         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4463         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4464         <kernel-features.h>.
4465         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4466         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4467         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4468         (__ASSUME_ATFCTS): Do not undefine and redefine.
4469         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4470         <kernel-features.h>.
4471         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4472         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4473         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4474         <kernel-features.h>.
4475         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4476         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4477
4478 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4479
4480         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4481
4482 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4483
4484         [BZ #17069]
4485         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4486         constructed tree before returning error.
4487         * posix/bug-regexp36.c: Expand test case.
4488
4489 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4490
4491         [BZ #6803]
4492         * math/libm-test.inc (scalbln_test_date):
4493         Add errno expectations.
4494         * math/w_scalblnf.c: New File.
4495         Add wrapper which checks for setting errno to ERANGE.
4496         Add weak_alias for corresponding scalbln function.
4497         * math/w_scalbln.c: Likewise.
4498         * math/w_scalblnl.c: Likewise.
4499         * math/Makefile (libm-calls): Add w_scalbln.
4500         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4501         Remove weak_alias for corresponding scalbln function.
4502         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4503         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4504         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4506         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4507         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4508         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4509         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4510         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4511         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4512         Remove long_double_symbol for scalblnl function in libm, libc.
4513         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4514         Add wrapper which checks for setting errno to ERANGE.
4515         Add long_double_symbol for scalblnl function in libm, libc.
4516         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4517         Remove long_double_symbol for scalblnl in libm.
4518         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4519         Add wrapper which checks for setting errno to ERANGE.
4520         Add long_double_symbol for scalblnl function in libm.
4521         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4522         Do not use wrapper because of own implementation.
4523
4524 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4525
4526         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4527         3 bytes for __pad1 for x32.
4528         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4529
4530 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4531             H.J. Lu  <hongjiu.lu@intel.com>
4532
4533         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4534         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4537         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4538
4539 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4540
4541         [BZ #17069]
4542         * posix/regcomp.c (parse_expression): Deallocate partially
4543         constructed tree before returning error.
4544         * posix/Makefile.c (tests): Add bug-regex36.
4545         (generated): Add bug-regex36.mtrace.
4546         (tests-special): Add $(objpfx)bug-regex36-mem.out
4547         (bug-regex36-ENV): New variable.
4548         ($(objpfx)bug-regex36-mem.out): New rule.
4549         * posix/bug-regex36.c: New file.
4550
4551 2014-06-19  Will Newton  <will.newton@linaro.org>
4552
4553         * malloc/malloc.c (systrim): If extra is zero then return
4554         early.
4555
4556 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4557
4558         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4559
4560 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4561
4562         * sysdeps/aarch64/strchr.S: New file.
4563
4564 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4565
4566         [BZ #17022]
4567         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4568         from arguments -2 or below.
4569         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4570         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4571
4572 2014-06-18  Andreas Schwab  <schwab@suse.de>
4573
4574         [BZ #17062]
4575         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4576         of a bracket expr not to run off the end of the string.
4577         * posix/Makefile (tests): Add tst-fnmatch3.
4578         * posix/tst-fnmatch3.c: New file.
4579
4580 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4581
4582         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4583         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4584         [$(cross-compiling) = no]: Likewise.
4585         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4586         [$(cross-compiling) = no]: Likewise.
4587
4588 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4589
4590         [BZ #17031]
4591         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4592         double, adjusted for any remainder from the high double.
4593         * math/libm-test.inc (nearbyint): Add tests.
4594         (rint): Likewise.
4595
4596 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4597
4598         * nptl/sysdeps/powerpc/Makefile: Moved ...
4599         * sysdeps/powerpc/nptl/Makefile: ... here.
4600         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4601         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4602         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4603         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4604         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4605         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4606         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4607         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4608         * nptl/sysdeps/powerpc/tls.h: Moved ...
4609         * sysdeps/powerpc/nptl/tls.h: ... here.
4610
4611 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4612
4613         [BZ #16681]
4614         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4615         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4616         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4617         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4618         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4619         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4620         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4621         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4622         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4623
4624 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4625
4626         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4627
4628 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4629
4630         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4631         defined operator.
4632
4633         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4634         $TIMEOUTFACTOR.
4635
4636 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4637
4638         [BZ #17058]
4639         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4640         non-executed part of the test.
4641
4642 2014-06-16  Andreas Schwab  <schwab@suse.de>
4643
4644         * string/bits/string2.h (strdup, strndup): Update feature guard.
4645
4646 2014-06-14  David S. Miller  <davem@davemloft.net>
4647
4648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4649
4650 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4651
4652         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4653         that was previously under [RESET_PID].
4654         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4655
4656         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4657         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4658         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4659         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4660         (__libc_vfork): New strong alias.
4661         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4662
4663 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4664
4665         * sysdeps/generic/elide.h: New file.
4666
4667 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4668
4669         * Makefile (installed-headers): Adjust path of pthread.h header.
4670
4671 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4672
4673         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4674         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4675         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4676         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4677
4678         * nptl/sysdeps/s390/Makefile: Moved ...
4679         * sysdeps/s390/nptl/Makefile: ... here.
4680         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4681         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4682         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4683         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4684         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4685         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4686         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4687         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4688         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4689         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4690         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4691         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4692         * nptl/sysdeps/s390/tls.h: Moved ...
4693         * sysdeps/s390/nptl/tls.h: ... here.
4694
4695         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4696         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4697
4698 2014-06-13  David S. Miller  <davem@davemloft.net>
4699
4700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4703         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4707         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4708         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4709         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4710         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4711         Remove RESET_PID cpp guards.
4712         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4713         Remove RESET_PID cpp guards.
4714         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4715
4716 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4717
4718         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4719         __sp to uintptr_t.
4720
4721 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4722
4723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4724         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4725         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4726         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4729         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4730         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4731         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4732         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4733         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4734         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4735         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4736         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4738         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4739         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4740         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4741         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4742         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4743
4744         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4745         (pthread_rwlock_rdlock): Add elision.
4746         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4747         (pthread_rwlock_wrlock): Add elision.
4748         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4749         (pthread_rwlock_trywrlock): Add elision.
4750         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4751         (pthread_rwlock_tryrdlock): Add elision.
4752         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4753         (pthread_rwlock_tryrdlock): Add elision unlock.
4754         * nptl/sysdeps/pthread/pthread.h:
4755         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4756         (PTHREAD_RWLOCK_INITIALIZER,
4757         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4758         Handle new elision field.
4759         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4760         * sysdeps/arm/nptl/bits/pthreadtypes.h
4761         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4762         * sysdeps/sh/nptl/bits/pthreadtypes.h
4763         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4764         * sysdeps/tile/nptl/bits/pthreadtypes.h
4765         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4766         * sysdeps/a/nptl/bits/pthreadtypes.h
4767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4770         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4772         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4774         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4775         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4776         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4778         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4780         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4782         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4784         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4785         (elision_init): Set try_xbegin to zero when no RTM.
4786         * sysdeps/x86/nptl/bits/pthreadtypes.h
4787         (pthread_rwlock_t): Change __pad1 to __rwelision.
4788         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4789
4790 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4791
4792         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4793         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4794         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4795         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4796
4797 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4798
4799         [BZ #16996]
4800         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4801         that the cached result has been set before returning it.
4802
4803 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4804
4805         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4806         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4807         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4808         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4810         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4811
4812         * nptl/sysdeps/sparc/Makefile: Moved ...
4813         * sysdeps/sparc/nptl/Makefile: ... here.
4814         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4815         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4816         * nptl/sysdeps/sparc/tls.h: Moved ...
4817         * sysdeps/sparc/nptl/tls.h: ... here.
4818         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4819         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4820         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4821         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4822         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4823         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4824         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4825         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4826         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4827         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4828         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4829         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4830         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4831         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4832         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4833         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4834         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4835         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4836         Update #include.
4837         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4838         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4839         Update #include.
4840         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4842         Update #include.
4843         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4844         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4845         Update #include.
4846
4847         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4848
4849         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4850         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4851
4852         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4853         (struct list_links): Type removed.
4854         (struct thread_node, struct timer_node): Replace struct list_links
4855         with struct list_head.
4856         (list_unlink_ip): Likewise.
4857         * sysdeps/pthread/timer_routines.c
4858         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4859         (list_append, list_insbefore): Likewise.
4860         (list_init): Function removed.
4861         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4862         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4863         * sysdeps/pthread/Makefile: ... here, new file.
4864
4865         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4866         * sysdeps/nptl/Implies: ... here.
4867         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4868         * nptl/sysdeps/pthread/list.h: Moved ...
4869         * include/list.h: ... here.
4870         * nptl/sysdeps/pthread/createthread.c: Moved ...
4871         * nptl/createthread.c: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4873         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4874         * nptl/pt-longjmp.c: ... here.
4875         * nptl/sysdeps/pthread/Makefile: Moved ...
4876         * sysdeps/nptl/Makefile: ... here.
4877         * nptl/sysdeps/pthread/Subdirs: Moved ...
4878         * sysdeps/nptl/Subdirs: ... here.
4879         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4880         * sysdeps/nptl/aio_misc.h: ... here.
4881         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4882         * sysdeps/nptl/bits/libc-lock.h: ... here.
4883         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4884         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4885         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4886         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4887         * nptl/sysdeps/pthread/configure: Moved ...
4888         * sysdeps/nptl/configure: ... here.
4889         * nptl/sysdeps/pthread/configure.ac: Moved ...
4890         * sysdeps/nptl/configure.ac: ... here.
4891         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4892         * sysdeps/nptl/gai_misc.h: ... here.
4893         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4894         * sysdeps/nptl/librt-cancellation.c: ... here.
4895         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4896         * sysdeps/nptl/malloc-machine.h: ... here.
4897         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4898         * sysdeps/nptl/pthread-functions.h: ... here.
4899         * nptl/sysdeps/pthread/pthread.h: Moved ...
4900         * sysdeps/nptl/pthread.h: ... here.
4901         * nptl/sysdeps/pthread/setxid.h: Moved ...
4902         * sysdeps/nptl/setxid.h: ... here.
4903         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4904         * sysdeps/nptl/sigfillset.c: ... here.
4905         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4906         * sysdeps/nptl/tcb-offsets.h: ... here.
4907         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4908         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4909         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4910         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4911         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4912         * sysdeps/pthread/allocalim.h: ... here.
4913         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4914         * sysdeps/pthread/bits/sigthread.h: ... here.
4915         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4916         * sysdeps/pthread/flockfile.c: ... here.
4917         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4918         * sysdeps/pthread/ftrylockfile.c: ... here.
4919         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4920         * sysdeps/pthread/funlockfile.c: ... here.
4921         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4922         * sysdeps/pthread/posix-timer.h: ... here.
4923         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4924         * sysdeps/pthread/timer_create.c: ... here.
4925         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4926         * sysdeps/pthread/timer_delete.c: ... here.
4927         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4928         * sysdeps/pthread/timer_getoverr.c: ... here.
4929         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4930         * sysdeps/pthread/timer_gettime.c: ... here.
4931         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4932         * sysdeps/pthread/timer_routines.c: ... here.
4933         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4934         * sysdeps/pthread/timer_settime.c: ... here.
4935         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4936         * sysdeps/pthread/tst-timer.c: ... here.
4937         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4938         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4939
4940         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4941         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4942
4943         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4944         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4945         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4946         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4947         Update #include target.
4948         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4949         * sysdeps/i386/i686/nptl/Makefile: ... here.
4950         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4951         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4952         Update #include target.
4953         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4954         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4955         * nptl/sysdeps/i386/Makefile: Moved ...
4956         * sysdeps/i386/nptl/Makefile: ... here.
4957         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4958         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4959         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4960         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4961         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4962         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4963         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4964         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4965         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4966         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4967         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4968         * nptl/sysdeps/i386/tls.h: Moved ...
4969         * sysdeps/i386/nptl/tls.h: ... here.
4970
4971         * sysdeps/sh/Makefile [$(subdir) = csu]
4972         (gen-as-const-headers): Add tcb-offsets.sym.
4973         * nptl/sysdeps/sh/Makefile: File removed.
4974         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4975         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4976         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4977         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4978         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4979         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4980         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4981         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4982         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4983         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4984         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4985         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4986         * nptl/sysdeps/sh/tls.h: Moved ...
4987         * sysdeps/sh/nptl/tls.h: ... here.
4988         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4989         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4990         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4991         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4992         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4993         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4994         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4995         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4996         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4997         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4998         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4999         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5000         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5001         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5002         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5003         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5004         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5005         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5006         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5007         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5008         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5009         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5010         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5011         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5012         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5013         Moved ...
5014         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5015         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5016         Moved ...
5017         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5019         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5020         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5021         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5023         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5025         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5026         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5027         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5028         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5029         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5030         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5031         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5032         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5033         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5034         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5035         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5036
5037 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5038
5039         * posix/spawn_faction_addopen.c: Include string.h.
5040
5041 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5042
5043         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5044         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5045         * nptl/sysdeps/x86_64/Makefile: Moved ...
5046         * sysdeps/x86_64/nptl/Makefile: ... here.
5047         * nptl/sysdeps/x86_64/configure: Moved ...
5048         * sysdeps/x86_64/nptl/configure: ... here.
5049         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5050         * sysdeps/x86_64/nptl/configure.ac: ... here.
5051         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5052         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5053         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5054         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5055         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5056         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5057         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5058         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5059         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5060         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5061         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5062         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5063         * nptl/sysdeps/x86_64/tls.h: Moved ...
5064         * sysdeps/x86_64/nptl/tls.h: ... here.
5065         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5066         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5067         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5068         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5069
5070         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5071
5072 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5073
5074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5075
5076 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5077
5078         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5079         type.
5080         [POSIX] (off_t): Likewise.
5081         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5082         [POSIX] (S_ISBLK): Require macro.
5083         [POSIX] (S_ISCHR): Likewise.
5084         [POSIX] (S_ISDIR): Likewise.
5085         [POSIX] (S_ISFIFO): Likewise.
5086         [POSIX] (S_ISREG): Likewise.
5087         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5088         optional-macro.
5089         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5090         type.
5091         [POSIX] (time_t): Likewise.
5092         [POSIX] (timer_t): Likewise.
5093
5094 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5095
5096         [BZ #17048]
5097         * posix/spawn_int.h (struct __spawn_action): Make the path string
5098         non-const to support deallocation.
5099         * posix/spawn_faction_addopen.c
5100         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5101         * posix/spawn_faction_destroy.c
5102         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5103         path in all spawn_do_open actions.
5104         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5105         posix_spawn_file_actions_addopen.
5106
5107 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5108
5109         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5110         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5111         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5112         conditional code always true.
5113         (__libc_vfork): New alias.
5114
5115 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5116
5117         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5118         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5119
5120         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5121
5122         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5123         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5124
5125         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5126         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5127
5128         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5129         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5130
5131 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5132
5133         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5134         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5135         multiarch strcmp for PPC64.
5136         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5137         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5139         multiarch optimizations.
5140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5141         (__libc_ifunc_impl_list): Likewise.
5142
5143 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5144
5145         * benchtests/scripts/validate_benchout.py: New script.
5146         * benchtests/Makefile (bench-func): Call it.
5147         * benchtests/scripts/benchout.schema.json: New file.
5148
5149 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5150
5151         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5152         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5153         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5154         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5155         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5156         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5157         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5158         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5159         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5160         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5161         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5162         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5163         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5164         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5165         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5166         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5168         Moved ...
5169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5170         ... here.
5171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5172         Moved ...
5173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5175         Moved ...
5176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5177         ... here.
5178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5179         Moved ...
5180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5181         ... here.
5182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5183         Moved ...
5184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5188         ... here.
5189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5190         Moved ...
5191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5192         ... here.
5193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5194         Moved ...
5195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5197         Moved ...
5198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5199         ... here.
5200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5201         Moved ...
5202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5203         ... here.
5204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5205         Moved ...
5206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5207         ... here.
5208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5209         Moved ...
5210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5212         Moved ...
5213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5214         ... here.
5215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5216         Moved ...
5217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5218         ... here.
5219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5222         ... here.
5223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5224         Moved ...
5225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5229         ... here.
5230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5231         Moved ...
5232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5233         ... here.
5234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5235         Moved ...
5236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5238         Moved ...
5239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5240         ... here.
5241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5242         Moved ...
5243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5245         Moved ...
5246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5248         Moved ...
5249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5250         ... here.
5251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5252         Moved ...
5253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5254         ... here.
5255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5256         Moved ...
5257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5258         ... here.
5259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5260         Moved ...
5261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5263         Moved ...
5264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5265         ... here.
5266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5267         Moved ...
5268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5269         ... here.
5270         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5271         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5272         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5273         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5274         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5275         Moved ...
5276         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5277         ... here.
5278         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5279         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5280         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5281         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5282         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5283         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5284         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5285         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5286         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5287         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5289         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5291         Moved ...
5292         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5294         Moved ...
5295         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5299         Moved ...
5300         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5301         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5302         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5303         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5304         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5305         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5306         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5307
5308 2014-06-10  Wilco  <wdijkstr@arm.com>
5309
5310         * math/test-fenv-return.c: New file.
5311         * math/Makefile: Add new test test-fenv-return.
5312
5313 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5314
5315         [BZ #17042]
5316         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5317         when x - 1 is zero.
5318         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5319         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5320         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5321         0.0L for an argument of 1.0L.
5322         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5323         Likewise.
5324         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5325         value when x - 1 is zero.
5326         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5327         * sysdeps/i386/fpu/libm-test-ulps: Update.
5328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5329
5330 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5331
5332         [BZ #15119]
5333         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5334
5335 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5336
5337         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5338         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5339
5340 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5341
5342         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5343         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5344
5345         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5346         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5347
5348         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5349         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5350
5351         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5352         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5353
5354         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5355         if not already defined.
5356         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5357         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5358         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5359         (TLS_INIT_TP): Use it.
5360         (TLS_DEFINE_INIT_TP): New macro.
5361         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5362
5363 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5364
5365         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5366         constant.
5367         [POSIX] (IXANY): Likewise.
5368         [POSIX] (OLCUC): Likewise.
5369         [POSIX || POSIX2008] (CBAUD): Do not allow.
5370         [POSIX || POSIX2008] (DEFECHO): Likewise.
5371         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5372         [POSIX || POSIX2008] (ECHOKE): Likewise.
5373         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5374         [POSIX || POSIX2008] (EXTA): Likewise.
5375         [POSIX || POSIX2008] (EXTB): Likewise.
5376         [POSIX || POSIX2008] (FLUSHO): Likewise.
5377         [POSIX || POSIX2008] (LOBLK): Likewise.
5378         [POSIX || POSIX2008] (PENDIN): Likewise.
5379         [POSIX || POSIX2008] (SWTCH): Likewise.
5380         [POSIX || POSIX2008] (VDISCARD): Likewise.
5381         [POSIX || POSIX2008] (VDSUSP): Likewise.
5382         [POSIX || POSIX2008] (VLNEXT): Likewise.
5383         [POSIX || POSIX2008] (VREPRINT): Likewise.
5384         [POSIX || POSIX2008] (VSTATUS): Likewise.
5385         [POSIX || POSIX2008] (VWERASE): Likewise.
5386         (B*): Change to B[0123456789]*.
5387         * conform/data/time.h-data [POSIX || UNIX98]
5388         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5389         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5390         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5391         [POSIX] (tm_*): Do not allow.
5392
5393 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5394
5395         * Makefile (install): Don't set LANGUAGE.
5396         * Makefile.in (install): Likewise.
5397         * assert/Makefile (test-assert-ENV): Remove variable.
5398         (test-assert-perr-ENV): Likewise.
5399         * elf/Makefile (neededtest4-ENV): Likewise.
5400         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5401         [$(cross-compiling) = no]: Don't set LANGUAGE.
5402         * io/ftwtest-sh (LANG): Remove variable.
5403         * libio/Makefile (tst-widetext-ENV): Likewise.
5404         * manual/install.texi (Running make install): Don't refer to
5405         environment settings for make install.
5406         * INSTALL: Regenerated.
5407         * nptl/tst-tls6.sh: Don't set LANG.
5408         * posix/globtest.sh (LANG): Remove variable.
5409         * string/Makefile (tester-ENV): Likewise.
5410         (inl-tester-ENV): Likewise.
5411         (noinl-tester-ENV): Likewise.
5412         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5413         [$(cross-compiling) = no]: Don't set LANGUAGE.
5414         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5415         without explicit environment settings.
5416
5417 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5418
5419         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5420         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5421         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5422         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5423
5424 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5425
5426         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5427         other files in the crypt directory.
5428         * crypt/crypt.c: Remove duplicate includes.
5429         * crypt/crypt-entry.c: Likewise.
5430         * crypt/crypt_util.c: Likewise.
5431
5432 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5433
5434         * Makeconfig (run-program-env): New variable.
5435         (run-program-prefix-before-env): Likewise.
5436         (run-program-prefix-after-env): Likewise.
5437         (run-program-prefix): Define in terms of new variables.
5438         (built-program-cmd-before-env): New variable.
5439         (built-program-cmd-after-env): Likewise.
5440         (built-program-cmd): Define in terms of new variables.
5441         (test-program-prefix-before-env): New variable.
5442         (test-program-prefix-after-env): Likewise.
5443         (test-program-prefix): Define in terms of new variables.
5444         (test-program-cmd-before-env): New variable.
5445         (test-program-cmd-after-env): Likewise.
5446         (test-program-cmd): Define in terms of new variables.
5447         * Rules (make-test-out): Use $(run-program-env).
5448         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5449         (help): Do not mention environment variables.  Mention
5450         --timeoutfactor option.
5451         (timeoutfactor): New variable.
5452         (blacklist_exports): Remove function.
5453         (exports): Remove variable.
5454         (command): Do not include ${exports}.
5455         * manual/install.texi (Configuring and compiling): Do not mention
5456         test wrappers preserving environment variables.  Mention that last
5457         assignment to a variable must take precedence.
5458         * INSTALL: Regenerated.
5459         * benchtests/Makefile (run-bench): Use $(run-program-env).
5460         * catgets/Makefile ($(objpfx)test1.cat): Use
5461         $(built-program-cmd-before-env), $(run-program-env) and
5462         $(built-program-cmd-after-env).
5463         ($(objpfx)test2.cat): Do not specify environment variables
5464         explicitly.
5465         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5466         $(run-program-env) and $(built-program-cmd-after-env).
5467         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5468         $(run-program-env) and $(test-program-cmd-after-env).
5469         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5470         explicitly.
5471         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5472         run_program_env and test_program_cmd_after_env arguments.
5473         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5474         * elf/tst-pathopt.sh: Use run_program_env argument.
5475         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5476         $(test-wrapper-env) and $(run-program-env).
5477         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5478         run_program_env arguments.
5479         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5480         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5481         $(test-program-prefix-before-env), $(run-program-env) and
5482         $(test-program-prefix-after-env).
5483         ($(objpfx)tst-gettext2.out): Likewise.
5484         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5485         run_program_env and test_program_prefix_after_env arguments.
5486         * intl/tst-gettext2.sh: Likewise.
5487         * intl/tst-gettext4.sh: Do not set environment variables
5488         explicitly.
5489         * intl/tst-gettext6.sh: Likewise.
5490         * intl/tst-translit.sh: Likewise.
5491         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5492         $(test-program-prefix-before-env), $(run-program-env) and
5493         $(test-program-prefix-after-env).
5494         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5495         run_program_env and test_program_prefix_after_env arguments.
5496         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5497         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5498         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5499         explicitly with each use of ${test_wrapper_env}.
5500         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5501         $(test-program-prefix-before-env), $(run-program-env) and
5502         $(test-program-prefix-after-env).
5503         * posix/tst-getconf.sh: Do not set environment variables
5504         explicitly.
5505         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5506         run_program_env and test_program_prefix_after_env arguments.
5507         * stdio-common/tst-printf.sh: Do not set environment variables
5508         explicitly.
5509         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5510         $(test-program-prefix-before-env), $(run-program-env) and
5511         $(test-program-prefix-after-env).
5512         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5513         run_program_env and test_program_prefix_after_env arguments.
5514         Split $test calls into $test_pre and $test.
5515         * timezone/Makefile (build-testdata): Use
5516         $(built-program-cmd-before-env), $(run-program-env) and
5517         $(built-program-cmd-after-env).
5518
5519 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5520
5521         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5522         strlen for non SHARED builds.
5523
5524 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5525
5526         * nptl/allocatestack.c (check_list): Inlined function...
5527         (__reclaim_stacks): ... here.
5528
5529 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5530
5531         [BZ #15698]
5532         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5533         memory overrun.
5534
5535 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5536
5537         * Rules (make-test-out): Include
5538         LOCPATH=$(common-objpfx)localedata in default environment.
5539         * debug/Makefile (tst-chk1-ENV): Remove variable.
5540         (tst-chk2-ENV): Likewise.
5541         (tst-chk3-ENV): Likewise.
5542         (tst-chk4-ENV): Likewise.
5543         (tst-chk5-ENV): Likewise.
5544         (tst-chk6-ENV): Likewise.
5545         (tst-lfschk1-ENV): Likewise.
5546         (tst-lfschk2-ENV): Likewise.
5547         (tst-lfschk3-ENV): Likewise.
5548         (tst-lfschk4-ENV): Likewise.
5549         (tst-lfschk5-ENV): Likewise.
5550         (tst-lfschk6-ENV): Likewise.
5551         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5552         (tst-iconv7-ENV): Likewise.
5553         * intl/Makefile (LOCPATH-ENV): Likewise.
5554         (tst-codeset-ENV): Likewise.
5555         (tst-gettext3-ENV): Likewise.
5556         (tst-gettext5-ENV): Likewise.
5557         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5558         (tst-fopenloc-ENV): Likewise.
5559         (tst-fgetws-ENV): Remove variable.
5560         (tst-ungetwc1-ENV): Likewise.
5561         (tst-ungetwc2-ENV): Likewise.
5562         (bug-ungetwc2-ENV): Likewise.
5563         (tst-swscanf-ENV): Likewise.
5564         (bug-ftell-ENV): Likewise.
5565         (tst-fgetwc-ENV): Likewise.
5566         (tst-fseek-ENV): Likewise.
5567         (tst-ftell-partial-wide-ENV): Likewise.
5568         (tst-ftell-active-handler-ENV): Likewise.
5569         (tst-ftell-append-ENV): Likewise.
5570         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5571         (tst-regexloc-ENV): Likewise.
5572         (bug-regex1-ENV): Likewise.
5573         (tst-regex-ENV): Likewise.
5574         (tst-regex2-ENV): Likewise.
5575         (bug-regex5-ENV): Likewise.
5576         (bug-regex6-ENV): Likewise.
5577         (bug-regex17-ENV): Likewise.
5578         (bug-regex18-ENV): Likewise.
5579         (bug-regex19-ENV): Likewise.
5580         (bug-regex20-ENV): Likewise.
5581         (bug-regex22-ENV): Likewise.
5582         (bug-regex23-ENV): Likewise.
5583         (bug-regex25-ENV): Likewise.
5584         (bug-regex26-ENV): Likewise.
5585         (bug-regex30-ENV): Likewise.
5586         (bug-regex32-ENV): Likewise.
5587         (bug-regex33-ENV): Likewise.
5588         (bug-regex34-ENV): Likewise.
5589         (bug-regex35-ENV): Likewise.
5590         (tst-rxspencer-ENV): Likewise.
5591         (tst-rxspencer-no-utf8-ENV): Likewise.
5592         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5593         (tst-sscanf-ENV): Likewise.
5594         (tst-swprintf-ENV): Likewise.
5595         (tst-swscanf-ENV): Likewise.
5596         (test-vfprintf-ENV): Likewise.
5597         (scanf13-ENV): Likewise.
5598         (bug14-ENV): Likewise.
5599         (tst-grouping-ENV): Likewise.
5600         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5601         (tst-strtod3-ENV): Likewise.
5602         (tst-strtod4-ENV): Likewise.
5603         (tst-strtod5-ENV): Likewise.
5604         (testmb2-ENV): Likewise./
5605         * string/Makefile (tst-strxfrm-ENV): Likewise.
5606         (tst-strxfrm2-ENV): Likewise.
5607         (bug-strcoll1-ENV): Likewise.
5608         (test-strcasecmp-ENV): Likewise.
5609         (test-strncasecmp-ENV): Likewise.
5610         * time/Makefile (tst-strptime-ENV): Likewise.
5611         (tst-ftime_l-ENV): Likewise.
5612         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5613         (tst-mbrtowc-ENV): Likewise.
5614         (tst-wcrtomb-ENV): Likewise.
5615         (tst-mbrtowc2-ENV): Likewise.
5616         (tst-c16c32-1-ENV): Likewise.
5617         (tst-mbsnrtowcs-ENV): Likewise.
5618
5619 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5620
5621         * manual/resource.texi (How to get information about the memory
5622         subsystem?): Fix typo.
5623         Reported by Peon de la Parra Ivan <peon@keba.com>
5624
5625 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5626
5627         [BZ #16882]
5628         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5629         (pthread_spin_lock): Branch out of spin loop to proper location.
5630         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5631         (pthread_spin_lock): Likewise.
5632
5633         * nptl/tst-spin4.c: New test.
5634         * nptl/Makefile (tests): Add tst-spin4.
5635
5636 2014-06-03  Andreas Schwab  <schwab@suse.de>
5637
5638         [BZ #15946]
5639         * resolv/res_send.c (send_dg): Reload file descriptor after
5640         calling reopen.
5641
5642 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5643
5644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5645
5646 2014-06-03  Richard Henderson  <rth@redhat.com>
5647
5648         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5649         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5650         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5651         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5652         in the SAVE_PID block.
5653         (__libc_vfork): New alias.
5654         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5655
5656         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5657         child in registers, not on the stack.  Remove RESET_PID conditionals.
5658         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5659
5660 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5661
5662         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5663
5664 2014-06-03  Wilco  <wdijkstr@arm.com>
5665
5666         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5667         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5668         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5669         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5670         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5671         Likewise.
5672
5673 2014-06-03  Wilco  <wdijkstr@arm.com>
5674
5675         * sysdeps/aarch64/fpu/math_private.h
5676         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5677         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5678         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5679         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5680         Fix declarations.
5681
5682 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5683
5684         * crypt/crypt-private.h: Include ufc-crypt.h.
5685         (__b64_from_24bit): Declare extern.
5686         * crypt/crypt_util.c(__b64_from_24bit): New function.
5687         (b64t): New static const variable.
5688         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5689         (b64t): Remove variable.
5690         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5691         * crypt/sha256-crypt.c: Include crypt-private.h.
5692         (b64t): Remove variable.
5693         (__sha256_crypt_r): Remove b64_from_24bit and replace
5694         with __b64_from_24bit.
5695         * crypt/sha512-crypt.c: Likewise.
5696
5697 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5698
5699         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5700         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5701         Label the code __libc_vfork rather than __vfork.
5702         [!NOT_IN_libc] (vfork): Define as weak alias.
5703         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5704         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5705         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5706
5707 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5708
5709         * malloc/malloc.c (malloc_info): Fix format specifier for
5710         n_mmaps.
5711
5712 2014-06-02  Wilco  <wdijkstr@arm.com>
5713
5714         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5715         FPCR write.
5716
5717 2014-06-02  Wilco  <wdijkstr@arm.com>
5718
5719         [BZ #17009]
5720         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5721         Rewrite to reduce FPCR/FPSR accesses.
5722
5723 2014-06-01  David S. Miller  <davem@davemloft.net>
5724
5725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5726
5727 2014-05-31  David S. Miller  <davem@davemloft.net>
5728
5729         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5730         to occur in round to nearest mode when |x| >= 2.0
5731
5732 2014-05-30  Richard Henderson  <rth@twiddle.net>
5733
5734         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5735         (PSEUDO_RET_NOERRNO): Remove.
5736         (ret): Don't redefine.
5737         (ret_NOERRNO): Define in terms of ret.
5738         (ret_ERRVAL): Likewise.
5739
5740         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5741         use of PSEUDO_RET; perform the error check directly.
5742
5743 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5744
5745         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5746         with __int128_t.
5747
5748 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5749
5750         * malloc/malloc (malloc_info): Fix formatting.
5751
5752 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5753             Roland McGrath  <roland@hack.frob.com>
5754
5755         * malloc/malloc (malloc_info): Also print mmapped statistics.
5756
5757 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5758
5759         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5760         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5761
5762 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5763
5764         * malloc/malloc.c (malloc_info): Inline mi_arena.
5765
5766 2014-05-29  Richard Henderson  <rth@twiddle.net>
5767
5768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5769         Remove comma before expanding ASM_ARGS_##nr.
5770         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5771         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5772         of ASM_ARGS_##nr.
5773         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5774         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5775         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5776         (ASM_ARGS_1): Add leading comma.
5777
5778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5779         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5780         to __errno_location.
5781         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5782         Remove the expected plt for __errno_location.
5783
5784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5785         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5786         call to __read_tp.
5787
5788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5789         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5790         it and break it down.
5791         (DOCARGS_0, DOCARGS_1): Do nothing.
5792         (DOCARGS_2): Update to store into the new stack frame.
5793         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5794         (UNDOCARGS_1): Update to restore from the new stack frame.
5795         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5796         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5797
5798         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5799         (SINGLE_THREAD_P): New parameter for result regno.
5800         (PSEUDO): Update to match; use cbz instead of beq.
5801
5802         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5803         Use ENTRY to define the _nocancel entry point.  Share the syscall
5804         and syscall error check paths with the cancel path.
5805         (PSEUDO_END): New.
5806
5807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5808         whitespace; tabs before and after asm mnemonics.
5809
5810 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5811
5812         [BZ #15132]
5813         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5814         Call fstat64 or stat64 internally, depending on arguments passed.
5815         Replace stat buffer argument with file descriptor argument.
5816         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5817         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5818         Pass fd to __internal_statvfs instead of calling fstat64.
5819         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5820         Pass fd to __internal_statvfs64 instead of calling fstat64.
5821         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5822         Pass -1 to __internal_statvfs instead of calling stat64.
5823         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5824         Pass -1 to __internal_statvfs64 instead of calling stat64.
5825
5826 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5827
5828         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5829         that was previously under [RESET_PID].
5830         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5831
5832         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5833         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5834
5835 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5836
5837         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5838
5839         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5840         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5841
5842 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5843
5844         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5845
5846 2014-05-27  Andreas Schwab  <schwab@suse.de>
5847
5848         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5849         TLS_INIT_TP macro.
5850         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5851         * elf/rtld.c (init_tls, dl_main): Likewise.
5852         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5853         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5854         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5855         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5856         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5857         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5858         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5859         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5860         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5861         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5862         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5863         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5864         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5865         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5866         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5867         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5868         * sysdeps/generic/tls.h: Update description.
5869
5870 2014-05-27  Will Newton  <will.newton@linaro.org>
5871
5872         [BZ #16990]
5873         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5874         and restore r2 rather than just restoring.
5875
5876 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5877
5878         [BZ #16724]
5879         * libio/tst-ftell-append.c: New test case.
5880         * libio/Makefile (tests): Add test case.
5881         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5882         append mode.
5883         * libio/wfileops.c (do_ftell_wide): Likewise.
5884
5885 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5886
5887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5888
5889         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5890         ...
5891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5893         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5894         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5896         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5898         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5900         Moved ...
5901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5906         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5908         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5910         ...
5911         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5913         Moved ...
5914         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5915         here.
5916         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5917         ...
5918         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5920         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5921
5922         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5923         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5925         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5926
5927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5928         merge into ...
5929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5931         ...
5932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5934         ...
5935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5937         Moved ...
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5939         here.
5940         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5941         Moved ...
5942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5944         Moved ...
5945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5946
5947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5948         conditional [RESET_PID].
5949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5951         removed.
5952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5953         removed.
5954
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5956         <tcb-offsets.h>.
5957         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5958         (__libc_vfork): New strong alias.
5959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5960         removed.
5961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5962         Removed.
5963
5964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5965         <tcb-offsets.h>.
5966         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5967         (__libc_vfork): New strong alias.
5968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5969         removed.
5970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5971         removed.
5972
5973 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5974
5975         * malloc/malloc.c (mi_arena): New function.
5976         (malloc_info): Remove nested function mi_arena. Call non-nosted
5977         function mi_arena.
5978
5979 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5980
5981         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5982         by insrwi.
5983         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5984         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5985         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5986         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5987         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5988         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5989         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5990
5991 2014-05-26  Andreas Schwab  <schwab@suse.de>
5992
5993         [BZ #16984]
5994         * locale/programs/repertoire.c (repertoire_read): Add slash
5995         between I18NPATH element and file name.
5996         * locale/programs/locfile.c (locfile_read): Likewise.
5997
5998 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5999
6000         * nptl/pthread_mutexattr_settype.c
6001         (__pthread_mutexattr_settype):
6002         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6003
6004 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6005
6006         * nptl/tst-mutex5 (do_test):
6007         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6008
6009 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6010
6011         * benchtests/README: Document 'init' directive.
6012         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6013         BENCH_INIT.
6014         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6015         (parse_file): Recognize 'init' directive.
6016
6017 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6018
6019         [BZ #16796]
6020         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6021         alignment of struct pthread.
6022
6023 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6024
6025         [BZ #16878]
6026         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6027         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6028         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6029         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6030
6031 2014-05-25  Richard Henderson  <rth@twiddle.net>
6032
6033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6034         (SINGLE_THREAD_P_PIC): Remove.
6035         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6036         (SINGLE_THREAD_P_PIC): Remove.
6037
6038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6039         branch to syscall error ...
6040         (PSEUDO): ... here.
6041         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6042         from __local_syscall_error to .Lsyscall_error.
6043         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6044         (SYSCALL_ERROR): Update label name.
6045
6046         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6047         Do not use DOARGS/UNDOARGS.
6048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6049         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6050         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6051         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6052         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6053
6054         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6055         block comment.
6056
6057         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6058         define if !NOT_IN_libc.
6059         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6060         define with non-default symbol versions.
6061
6062 2014-05-23  Richard Henderson  <rth@twiddle.net>
6063
6064         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6065         (vfork, __vfork): Define via compat_symbol.
6066
6067         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6068         [!HAVE_IFUNC] (vfork_compat): Remove.
6069         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6070
6071 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6072
6073         [BZ #16978]
6074         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6075         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6076         variable.
6077
6078 2014-05-23  Richard Henderson  <rth@twiddle.net>
6079
6080         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6081         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6082         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6083         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6084
6085         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6086         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6087         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6088         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6089         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6090         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6091         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6092         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6093         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6094         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6095         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6096         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6097         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6098         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6099         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6100         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6101         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6102         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6103         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6104         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6105         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6106         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6107         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6108         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6109         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6112         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6113         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6114         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6115         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6116         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6117         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6118         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6119         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6120         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6121         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6122         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6123         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6124         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6125         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6127         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6128         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6129         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6130         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6131         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6132         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6133         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6134         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6135         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6136         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6137         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6138         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6140         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6141
6142         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6143         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6144         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6145         before exiting on error.
6146         (__libc_vfork): New strong alias.
6147         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6148         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6149
6150         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6151         that was previously under [RESET_PID].
6152         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6153
6154         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6155
6156 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6157
6158         [BZ #16977]
6159         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6160         value when x - 1 is zero.
6161         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6162         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6163         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6164         0.0L for an argument of 1.0L.
6165         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6166         Likewise.
6167         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6168         value when x - 1 is zero.
6169         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6170         * sysdeps/i386/fpu/libm-test-ulps: Update.
6171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6172
6173 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6174
6175         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6176         alphasort and versionsort.
6177
6178 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6179
6180         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6181         macro.
6182         [copysignf]: Likewise.
6183
6184 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6185
6186         * crypt/md5-crypt.c: Fix formatting.
6187
6188 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6189
6190         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6191         (b64_from_24bit): New function.
6192
6193 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6194
6195         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6196         libc_hidden_builtin_def to ifunc.
6197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6198         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6199
6200 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6201
6202         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6203         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6204
6205 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6206
6207         * nscd/Depend (linuxthreads): Remove.
6208         (nptl): Add.
6209         * resolv/Depend (linuxthreads): Remove.
6210         * rt/Depend (linuxthreads): Remove.
6211
6212         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6213         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6214         $(common-objpfx)elf/.
6215         (link-libc-before-gnulib): Likewise.
6216         (elfobjdir): Remove variable.
6217         * Makefile (install): Use $(elf-objpfx) instead of
6218         $(common-objpfx)elf/.
6219         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6220         $(elfobjdir)/.
6221         (link-libc-deps): Likewise.
6222         ($(common-objpfx)libc.so): Likewise.
6223         ($(common-objpfx)linkobj/libc.so): Likewise.
6224         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6225         instead of $(common-objpfx)elf/.
6226         (symbolic-link-list): Likewise.
6227         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6228         [$(cross-compiling) = no]: Likewise.
6229         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6230         $(elfobjdir)/.
6231         (static-gnulib-arch): Likewise.
6232         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6233         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6234         $(common-objpfx)elf/.
6235
6236 2014-05-21  Richard Henderson  <rth@redhat.com>
6237
6238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6239         (SINGLE_THREAD_P): Use the correct width load.  Fold
6240         into the ldr offset.
6241
6242         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6243         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6244
6245 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6246
6247         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6248         (libgcc_s_resume): Use __attribute_used__.
6249         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6250         Likewise.
6251
6252 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6253
6254         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6255         optimization when used with float constants.
6256
6257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6258
6259 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6260
6261         [BZ #16915]
6262         * locale/nl_langinfo_l.c: Make direct reference to every
6263         _nl_current_CATEGORY symbol.
6264         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6265         (tests-static): Add tst-langinfo-static.
6266         (tests-special): Add tst-langinfo-static.out.
6267         ($(objpfx)tst-langinfo.out): Redirect output.
6268         ($(objpfx)tst-langinfo-static.out): New.
6269         * localedata/tst-langinfo.sh: Send output to stdout.
6270         * localedata/tst-langinfo-static.c: New file.
6271
6272         [BZ #16965]
6273         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6274         when the shift amount is modulo the limb size.
6275
6276 2014-05-20  Richard Henderson  <rth@redhat.com>
6277
6278         [BZ #16967]
6279         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6280         Change type of sa_flags from unsigned int to int.
6281
6282         [BZ #16966]
6283         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6284
6285         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6286
6287 2014-05-20  Will Newton  <will.newton@linaro.org>
6288
6289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6290         Test the return value of the system call in the nocancel case.
6291
6292 2014-05-20  Will Newton  <will.newton@linaro.org>
6293             Yvan Roux  <yvan.roux@linaro.org>
6294
6295         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6296         #include of asm/ptrace.h.
6297         (PTRACE_GET_THREAD_AREA): Remove #undef.
6298         (PTRACE_GETHBPREGS): Likewise.
6299         (PTRACE_SETHBPREGS): Likewise.
6300         (struct user_regs_struct): New structure.
6301         (struct user_fpsimd_struct): New structure.
6302         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6303         #include of asm/ptrace.h and second #include of sys/user.h.
6304         (PTRACE_GET_THREAD_AREA): Remove #undef.
6305         (PTRACE_GETHBPREGS): Likewise.
6306         (PTRACE_SETHBPREGS): Likewise.
6307         (ELF_NGREG): Use new struct user_regs_struct.
6308         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6309
6310 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6311
6312         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6313         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6314
6315 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6316
6317         [BZ #16958]
6318         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6319         membar to avoid block loads/stores to overlap previous stores.
6320
6321 2014-05-17  Richard Henderson  <rth@redhat.com>
6322
6323         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6324         Create the __##syscall_name##_nocancel entry point.
6325         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6326         Remove; let the sysdep-cancel.h code create it.
6327
6328 2014-05-17  David S. Miller  <davem@davemloft.net>
6329
6330         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6331         Protect with __USE_GNU.
6332         (TIOCSET_TEMPT): Likewise.
6333         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6334         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6335         these are already provided in bits/ioctl-types.h
6336
6337 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6338
6339         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6340         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6341
6342         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6343         Use wait4 regardless of [__NR_waitpid].
6344
6345 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6346
6347         PR libgcc/60166
6348         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6349         (_FP_NANSIGN_Q): Set the quiet bit.
6350
6351 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6352
6353         * benchtests/Makefile
6354         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6355         not $(common-objpfx)math/libm.so.
6356         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6357         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6358         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6359         $(common-objpfx)dlfcn/libdl.so.
6360         ($(objpfx)tst-audit8): Depend on $(libm), not
6361         $(common-objpfx)math/libm.so.
6362         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6363         not $(common-objpfx)dlfcn/libdl.so.
6364         * math/Makefile
6365         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6366         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6367         [$(build-shared) = yes].
6368         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6369         $(common-objpfx)nptl/libpthread.so.
6370         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6371         $(common-objpfx)math/libm.so$(libm.so-version) or
6372         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6373         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6374         $(common-objpfx)dlfcn/libdl.so.
6375         * setjmp/Makefile (link-libm): Remove variable.
6376         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6377         * stdio-common/Makefile (link-libm): Remove variable.
6378         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6379         * stdlib/Makefile (link-libm): Remove variable.
6380         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6381         ($(objpfx)tst-strtod-round): Likewise.
6382         ($(objpfx)tst-tininess): Likewise.
6383         ($(objpfx)tst-strtod-underflow): Likewise.
6384         ($(objpfx)tst-strtod6): Likewise.
6385         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6386         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6387         $(common-objpfx)dlfcn/libdl.so.
6388
6389 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6390
6391         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6392         BSD terminal modes definitions.
6393
6394 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6395
6396         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6397         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6398
6399         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6400         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6401         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6402         Don't do #include_next.
6403         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6404         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6405         Don't do #include_next.
6406         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6407         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6408         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6409         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6410
6411 2014-05-16  Allan McRae  <allan@archlinux.org>
6412
6413         * po/sv.po: Update Swedish translation from translation project.
6414
6415         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6416         in sed expression.
6417
6418 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6419
6420         [BZ #16917]
6421         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6422         errno if the TIOCGPTN ioctl fails with an error different than
6423         EINVAL.
6424         * login/tst-ptsname.c: New file.
6425         * login/Makefile (tests): Add tst-ptsname.
6426
6427         [BZ #16943]
6428         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6429         and prlimit64.
6430
6431 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6432
6433         [BZ #16849]
6434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6435         herrno to return EAI_AGAIN.
6436
6437 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6438
6439         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6440         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6441         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6442         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6443         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6444         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6448         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6449         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6450         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6453         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6454         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6455         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6456         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6457         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6462         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6463         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6464         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6468         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6470         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6474         Moved ...
6475         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6477         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6479         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6481         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6483         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6485         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6487         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6489         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6491         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6493         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6495         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6497         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6499         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6503         Moved ...
6504         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6506         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6508         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6510         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6512         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6514         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6516         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6518         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6520         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6522         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6524         Moved ...
6525         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6527         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6528
6529         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6530         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6531         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6532         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6533         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6534         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6535         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6536         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6537         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6538         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6539         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6540         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6541         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6542         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6543         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6544         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6545         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6546         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6547         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6548         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6549         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6550         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6551         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6552         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6553         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6554         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6555         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6556         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6557         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6558         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6559         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6560
6561         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6562         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6563
6564         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6565         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6566         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6567         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6568         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6569         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6570         Moved ...
6571         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6572         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6573         Moved ...
6574         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6575         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6576         Moved ...
6577         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6578         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6579         Moved ...
6580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6581         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6582         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6583         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6584         Moved ...
6585         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6586         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6587         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6588         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6589         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6590         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6591         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6592         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6593         Moved ...
6594         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6595         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6596         Moved ...
6597         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6598         ... here.
6599         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6600         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6601         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6602         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6603         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6604         Moved ...
6605         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6606         ... here.
6607         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6608         Moved ...
6609         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6610         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6611         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6612         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6613         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6614         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6615         Moved ...
6616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6617         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6618         Moved ...
6619         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6620         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6621         Moved ...
6622         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6623         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6624         Moved ...
6625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6626         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6627         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6628         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6629         Moved ...
6630         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6631         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6632         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6633         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6635         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6636         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6637         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6638         Moved ...
6639         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6640         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6641         Moved ...
6642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6643         ... here.
6644         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6645         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6646         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6647         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6648         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6649         Moved ...
6650         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6651         ... here.
6652         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6653         Moved ...
6654         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6655         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6656         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6657         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6658         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6659         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6660         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6661         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6662         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6663         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6664         Moved ...
6665         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6667         Moved ...
6668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6669         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6670         Moved ...
6671         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6672         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6673         Moved ...
6674         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6675         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6676         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6677         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6678         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6679         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6680         Moved ...
6681         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6682         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6683         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6685         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6686         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6687         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6688         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6689         Moved ...
6690         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6691         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6692         Moved ...
6693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6694         ... here.
6695         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6696         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6697         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6698         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6699         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6700         Moved ...
6701         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6702         ... here.
6703         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6704         Moved ...
6705         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6706         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6707         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6708         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6709         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6710         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6711         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6712         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6713         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6714         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6715         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6716
6717         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6718         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6719
6720         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6721         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6722
6723         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6724         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6725         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6726         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6727         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6728         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6729         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6730         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6731         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6732         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6733         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6734         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6735         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6736         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6737         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6738         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6739         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6741         Moved ...
6742         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6743         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6744         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6745         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6746         Moved ...
6747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6748         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6749         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6750         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6751         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6753         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6755         Moved ...
6756         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6757         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6758         Moved ...
6759         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6760         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6761         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6762         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6763         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6764         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6765         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6766         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6767         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6768         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6769         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6770         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6771         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6772         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6773         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6774         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6775         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6776
6777         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6778         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6779         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6780         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6781         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6782
6783         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6784         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6785         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6786         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6787         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6788         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6789         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6790         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6791         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6792         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6793
6794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6795         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6796
6797         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6798         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6799         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6800         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6801         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6802         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6803         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6804         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6805         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6806         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6807         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6808         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6809         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6810         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6812         Update #include.
6813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6814         Likewise.
6815         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6816         Likewise.
6817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6818         Likewise.
6819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6820         Likewise.
6821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6822         Likewise.
6823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6824         Likewise.
6825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6826         Likewise.
6827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6828         Likewise.
6829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6830         Likewise.
6831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6833         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6835         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6836         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6837         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6838         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6839         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6840         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6842         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6843         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6844         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6845         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6846
6847         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6848         that was previously under [RESET_PID].
6849         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6850         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6851         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6852
6853         * sysdeps/i386/nptl/Implies: New file.
6854         * sysdeps/x86_64/nptl/Implies: New file.
6855         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6856         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6857         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6858         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6859
6860         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6861         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6862         (__libc_vfork): New strong alias.
6863         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6864         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6865
6866         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6867         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6868         (__libc_vfork): New strong alias.
6869         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6870         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6871
6872         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6873         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6874         (__libc_vfork): New strong alias.
6875         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6876         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6877         * nptl/pt-vfork.c: New file.
6878         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6879         (libpthread: GLIBC_2.20): New version set (empty).
6880
6881 2014-05-14  Will Newton  <will.newton@linaro.org>
6882
6883         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6884         rather than #if.
6885
6886 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6887
6888         [BZ #16564]
6889         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6890         arguments with exponent 65 or above.
6891         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6892         arguments 0x1p113L or above.
6893         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6894         to arguments 0x1p107L or above.
6895         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6896         positive arguments with exponent 65 or above.
6897         * math/auto-libm-test-in: Add more tests of log1p.
6898         * math/auto-libm-test-out: Regenerated.
6899
6900         [BZ #16928]
6901         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6902         non-finite arguments is +0.
6903         * math/s_cacosf.c (__cacosf): Likewise.
6904         * math/s_cacosl.c (__cacosl): Likewise.
6905         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6906         * sysdeps/i386/fpu/libm-test-ulps: Update.
6907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6908
6909         [BZ #16927]
6910         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6911         value.
6912         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6913         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6914         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6915         for explicit high bit of mantissa when testing for argument equal
6916         to 1.
6917         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6918         * sysdeps/i386/fpu/libm-test-ulps: Update.
6919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6920
6921         [BZ #16516]
6922         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6923         (__erf): Scale by 16 instead of 8 in potentially underflowing
6924         case.  Ensure exception if result actually underflows.
6925         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6926         (__erff): Scale by 16 instead of 8 in potentially underflowing
6927         case.  Ensure exception if result actually underflows.
6928         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6929         (efx8): Remove variable.
6930         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6931         case.  Ensure exception if result actually underflows.
6932         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6933         (efx8): Remove variable.
6934         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6935         case.  Ensure exception if result actually underflows.
6936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6937         (efx8): Remove variable.
6938         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6939         case.  Ensure exception if result actually underflows.
6940         * math/auto-libm-test-in: Add more tests of erf.
6941         * math/auto-libm-test-out: Regenerated.
6942
6943 2014-05-14  Andreas Schwab  <schwab@suse.de>
6944
6945         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6946         Remove code conditionalized on USE___THREAD.
6947
6948         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6949         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6950         not definedness.
6951
6952 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6953
6954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6955         Define unconditionally.
6956         (__ASSUME_O_CLOEXEC): Likewise.
6957         (__ASSUME_SOCK_CLOEXEC): Likewise.
6958         (__ASSUME_IN_NONBLOCK): Likewise.
6959         (__ASSUME_PIPE2): Likewise.
6960         (__ASSUME_EVENTFD2): Likewise.
6961         (__ASSUME_SIGNALFD4): Likewise.
6962         (__ASSUME_DUP3): Likewise.
6963         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6964         (__ASSUME_DUP3): Do not define.
6965         (__ASSUME_EVENTFD2): Likewise.
6966         (__ASSUME_IN_NONBLOCK): Likewise.
6967         (__ASSUME_O_CLOEXEC): Likewise.
6968         (__ASSUME_PIPE2): Likewise.
6969         (__ASSUME_SIGNALFD4): Likewise.
6970         (__ASSUME_SOCK_CLOEXEC): Likewise.
6971         (__ASSUME_UTIMES): Undefine.
6972         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6973         (__ASSUME_UTIMES): Do not define.
6974         (__ASSUME_O_CLOEXEC): Likewise.
6975         (__ASSUME_SOCK_CLOEXEC): Likewise.
6976         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6977         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6978         0x020621].
6979         (__ASSUME_PIPE2): Likewise.
6980         (__ASSUME_EVENTFD2): Likewise.
6981         (__ASSUME_SIGNALFD4): Likewise.
6982         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6983         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6984         Do not define.
6985         (__ASSUME_EVENTFD2): Likewise.
6986         (__ASSUME_SIGNALFD4): Likewise.
6987         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6988         (__ASSUME_32BITUIDS): Likewise.
6989         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6990         (__ASSUME_IPC64): Likewise.
6991         (__ASSUME_ST_INO_64_BIT): Likewise.
6992         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6993         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6994         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6995         (__ASSUME_UTIMES): Do not define.
6996         (__ASSUME_PSELECT): Likewise.
6997         (__ASSUME_PPOLL): Likewise.
6998         (__ASSUME_O_CLOEXEC): Likewise.
6999         (__ASSUME_SOCK_CLOEXEC): Likewise.
7000         (__ASSUME_IN_NONBLOCK): Likewise.
7001         (__ASSUME_PIPE2): Likewise.
7002         (__ASSUME_EVENTFD2): Likewise.
7003         (__ASSUME_SIGNALFD4): Likewise.
7004         (__ASSUME_DUP3): Likewise.
7005         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7006         (__ASSUME_UTIMES): Likewise.
7007         (__ASSUME_O_CLOEXEC): Likewise.
7008         (__ASSUME_SOCK_CLOEXEC): Likewise.
7009         (__ASSUME_IN_NONBLOCK): Likewise.
7010         (__ASSUME_PIPE2): Likewise.
7011         (__ASSUME_EVENTFD2): Likewise.
7012         (__ASSUME_SIGNALFD4): Likewise.
7013         (__ASSUME_DUP3): Likewise.
7014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7015         (__ASSUME_UTIMES): Likewise.
7016         (__ASSUME_O_CLOEXEC): Likewise.
7017         (__ASSUME_SOCK_CLOEXEC): Likewise.
7018         (__ASSUME_IN_NONBLOCK): Likewise.
7019         (__ASSUME_PIPE2): Likewise.
7020         (__ASSUME_EVENTFD2): Likewise.
7021         (__ASSUME_SIGNALFD4): Likewise.
7022         (__ASSUME_DUP3): Likewise.
7023         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7024         Likewise.
7025         (__ASSUME_UTIMES): Likewise.
7026         (__ASSUME_EVENTFD2): Likewise.
7027         (__ASSUME_SIGNALFD4): Likewise.
7028         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7029         (__ASSUME_O_CLOEXEC): Likewise.
7030         (__ASSUME_SOCK_CLOEXEC): Likewise.
7031         (__ASSUME_IN_NONBLOCK): Likewise.
7032         (__ASSUME_PIPE2): Likewise.
7033         (__ASSUME_EVENTFD2): Likewise.
7034         (__ASSUME_SIGNALFD4): Likewise.
7035         (__ASSUME_DUP3): Likewise.
7036         (__ASSUME_UTIMES): Undefine.
7037
7038         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7039         feclearexcept.  Remove symbol versioning code.
7040         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7041         symbol versioning code.
7042         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7043         symbol versioning code.
7044         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7045         feupdateenv.  Remove symbol versioning code.
7046         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7047         fegetexceptflag.  Remove symbol versioning code.
7048         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7049         fesetexceptflag.  Remove symbol versioning code.
7050         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7051         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7052         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7053         (__posix_fadvise64_l32): Remove prototype.
7054         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7055         code.
7056
7057 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7058
7059         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7060         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7061         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7062         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7063
7064 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7065
7066         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7067         current working directory
7068
7069 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7070
7071         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7072         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7073         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7074         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7075         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7076         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7077         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7078         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7079         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7080         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7081         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7082         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7083         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7084         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7085         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7086         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7087         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7088         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7089         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7090         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7091         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7092         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7093         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7094         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7095         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7096         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7097         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7098         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7099         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7100         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7101         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7102         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7103         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7104         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7105         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7106         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7107         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7108         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7109         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7110         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7111         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7112         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7113
7114         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7115         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7116
7117         * sysdeps/unix/sysv/linux/arm/Makefile
7118         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7119         Add rt-aeabi_unwind_cpp_pr1.
7120         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7121         Add nptl-aeabi_unwind_cpp_pr1.
7122         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7123         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7124         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7125         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7126         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7127         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7128
7129         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7130         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7131         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7132         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7133
7134         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7135         Deconditionalize the code that was previously under [RESET_PID].
7136         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7137
7138         * sysdeps/generic/exit-thread.h: New file.
7139         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7140         * include/unistd.h (__exit_thread): Remove declaration.
7141         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7142         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7143         * csu/libc-start.c: Include <exit-thread.h>.
7144         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7145         * nptl/pthread_create.c: Include <exit-thread.h>.
7146         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7147         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7148         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7149         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7150         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7151         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7152         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7153         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7154         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7155         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7156         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7157         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7158         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7159         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7160         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7161         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7162         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7163
7164 2014-05-13  Andreas Schwab  <schwab@suse.de>
7165
7166         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7167
7168 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7169
7170         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7171         (__ASSUME_UTIMES): Do not condition on kernel version.
7172         (__ASSUME_PSELECT): Define unconditionally.
7173         (__ASSUME_PPOLL): Likewise.
7174         (__ASSUME_ATFCTS): Likewise.
7175         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7176         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7177         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7178         (__ASSUME_UTIMENSAT): Define unconditionally.
7179         (__ASSUME_PRIVATE_FUTEX): Likewise.
7180         (__ASSUME_FALLOCATE): Likewise.
7181         (__ASSUME_O_CLOEXEC): Likewise.
7182         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7183         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7184         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7185         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7186         (__ASSUME_IN_NONBLOCK): Likewise.
7187         (__ASSUME_PIPE2): Likewise.
7188         (__ASSUME_EVENTFD2): Likewise.
7189         (__ASSUME_SIGNALFD4): Likewise.
7190         (__ASSUME_DUP3): Likewise.
7191         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7192         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7193         (__ASSUME_AT_RANDOM): Likewise.
7194         (__ASSUME_PREADV): Likewise.
7195         (__ASSUME_PWRITEV): Likewise.
7196         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7197         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7198         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7199         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7200         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7202         (__ASSUME_O_CLOEXEC): Define unconditionally.
7203         (__ASSUME_PSELECT): Do not undefine conditionally.
7204         (__ASSUME_PPOLL): Likewise.
7205         (__ASSUME_ATFCTS): Likewise.
7206         (__ASSUME_SET_ROBUST_LIST): Likewise.
7207         (__ASSUME_UTIMENSAT): Likewise.
7208         (__ASSUME_FDATASYNC): Define unconditionally.
7209         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7210         (__ASSUME_SIGFRAME_V2): Likewise.
7211         )__ASSUME_EVENTFD2): Likewise.
7212         (__ASSUME_SIGNALFD4): Likewise.
7213         (__ASSUME_PSELECT): Do not undefine conditionally.
7214         (__ASSUME_PPOLL): Likewise.
7215         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7216         (__ASSUME_PSELECT): Define unconditionally.
7217         (__ASSUME_PPOLL): Likewise.
7218         (__ASSUME_O_CLOEXEC): Likewise.
7219         (__ASSUME_SOCK_CLOEXEC): Likewise.
7220         (__ASSUME_IN_NONBLOCK): Likewise.
7221         (__ASSUME_PIPE2): Likewise.
7222         (__ASSUME_EVENTFD2): Likewise.
7223         (__ASSUME_SIGNALFD4): Likewise.
7224         (__ASSUME_DUP3): Likewise.
7225         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7226         (__ASSUME_O_CLOEXEC): Likewise.
7227         (__ASSUME_SOCK_CLOEXEC): Likewise.
7228         (__ASSUME_IN_NONBLOCK): Likewise.
7229         (__ASSUME_PIPE2): Likewise.
7230         (__ASSUME_EVENTFD2): Likewise.
7231         (__ASSUME_SIGNALFD4): Likewise.
7232         (__ASSUME_DUP3): Likewise.
7233         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7234         (__ASSUME_EVENTFD2): Likewise.
7235         (__ASSUME_SIGNALFD4): Likewise.
7236         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7237
7238 2014-05-12  Andreas Schwab  <schwab@suse.de>
7239
7240         [BZ #16932]
7241         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7242         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7243         than maximum RPC packet size.
7244         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7245         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7246         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7247         (_nss_nis_getservbyport_r): Likewise.
7248
7249 2014-05-12  Will Newton  <will.newton@linaro.org>
7250
7251         * malloc/Makefile (tests): Add tst-mallopt.
7252         * malloc/tst-mallopt.c: New file.
7253
7254 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7255
7256         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7257         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7258
7259 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7260
7261         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7262         (tst-tlsmod6.so): Likewise.
7263
7264 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7265
7266         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7267
7268 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7269
7270         [BZ #16064]
7271         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7272         and <dl-procinfo.h>.
7273         (__fegetenv): Save SSE state in envp->__eip if supported.
7274         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7275         envp->__eip if supported.
7276         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7277         and <dl-procinfo.h>.
7278         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7279         __data_offset and __data_selector in environment to 0.  Set SSE
7280         state if supported.
7281         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7282         test-fenv-sse.
7283         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7284         -mfpmath=sse.
7285         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7286
7287 2014-05-09  Will Newton  <will.newton@linaro.org>
7288
7289         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7290         and libc_relro_required for ARM.
7291         * sysdeps/arm/preconfigure: Regenerate.
7292
7293 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7294             Stefan Liebler  <stli@linux.vnet.ibm.com>
7295
7296         * config.make.in (enable-lock-elision): New Makefile variable.
7297         * configure.ac: Likewise.
7298         * configure: Regenerate.
7299         * sysdeps/s390/configure.ac:
7300         Add check for gcc transactions support.
7301         * sysdeps/s390/configure: Regenerate.
7302         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7303         Build elision files if enabled.
7304         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7305         Add lock elision support for s390.
7306         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7307         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7308         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7309         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7310         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7311         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7312         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7313         Likewise.
7314         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7315         Likewise.
7316         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7317         Likewise.
7318         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7319         Likewise.
7320         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7321         (__lll_timedlock_elision, __lll_lock_elision)
7322         (__lll_unlock_elision, __lll_trylock_elision)
7323         (lll_timedlock_elision, lll_lock_elision)
7324         (lll_unlock_elision, lll_trylock_elision): Add.
7325         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7326         (pthread_mutex_t): Add lock elision support for s390.
7327
7328 2014-05-14  Wilco  <wdijkstr@arm.com>
7329
7330         * sysdeps/arm/fclrexcpt.c: Cleanup.
7331         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7332         * sysdeps/arm/feenablxcpt.c: Cleanup.
7333         * sysdeps/arm/fegetenv.c: Cleanup.
7334         * sysdeps/arm/fegetexcept.c: Cleanup.
7335         * sysdeps/arm/fegetround.c: Cleanup.
7336         * sysdeps/arm/feholdexcpt.c: Cleanup.
7337         * sysdeps/arm/fesetenv.c: Cleanup.
7338         * sysdeps/arm/fesetround.c: Cleanup.
7339         * sysdeps/arm/feupdateenv.c: Cleanup.
7340         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7341         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7342         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7343         * sysdeps/arm/ftestexcept.c: Cleanup.
7344         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7345         * sysdeps/arm/setfpucw.c: Cleanup.
7346
7347 2014-05-09  Will Newton  <will.newton@linaro.org>
7348
7349         * sysdeps/arm/armv7/strcmp.S: New file.
7350         * NEWS: Mention addition of ARMv7 optimized strcmp.
7351
7352 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7353
7354         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7355         look for %.ac rather than %.in.
7356
7357         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7358         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7359         * sysdeps/mach/hurd/configure: Regenerated.
7360         * sysdeps/unix/sysv/linux/configure: Regenerated.
7361
7362         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7363
7364 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7365
7366         [BZ# 16922]
7367         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7368         (LONG_SUB): Ditto.
7369         (PTR_SUB): Ditto.
7370
7371 2014-05-07  Andreas Schwab  <schwab@suse.de>
7372
7373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7374         when skipping over non-matching result from nscd.
7375
7376 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7377
7378         [BZ #16876]
7379         * nptl/sockperf.c (client): Check socket return value.
7380
7381         [BZ #16877]
7382         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7383         nscd security class.
7384
7385 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7386
7387         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7388         * sysdeps/arm/unwind.h: ... here.
7389
7390 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7391
7392         [BZ# 16916]
7393         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7394         Define.
7395
7396 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7397
7398         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7399         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7400         multiarch strncpy for PPC64.
7401         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7402         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7404         multiarch optimizations.
7405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7406         (__libc_ifunc_impl_list): Likewise.
7407         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7408         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7409         multiarch stpncpy for PPC64.
7410         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7411         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7412
7413 2014-05-06  Andreas Schwab  <schwab@suse.de>
7414
7415         [BZ #16912]
7416         * gmon/mcount.c (_MCOUNT_DECL): Use
7417         atomic_compare_and_exchange_bool_acq instead of
7418         catomic_compare_and_exchange_bool_acq.
7419
7420 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7421
7422         * elf/Makefile (others, install-bin): Remove pldd.
7423         (pldd-modules): Variable removed.
7424         ($(objpfx)pldd): Target removed.
7425         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7426         (others, install-bin): Append pldd here.
7427         ($(objpfx)pldd): New target.
7428
7429         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7430         to 0, so the first #if test emitted later doesn't see it undefined.
7431         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7432         * sysdeps/gnu/errlist.c: Regenerated.
7433
7434 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7435
7436         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7437         [libc_hidden_builtin_def]: Define to empty value.
7438         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7439         [libc_hidden_builtin_def]: Likewise.
7440         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7441         [libc_hidden_builtin_def]: Likewise.
7442         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7443         [libc_hidden_builtin_def]: Likewise.
7444         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7445         __redirect_memcpy and define ifunc as default hidden symbol.
7446         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7447         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7448
7449 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7450
7451         * locale/iso-4217.def: Reintroduce XDR currency.
7452
7453 2014-05-04  Allan McRae  <allan@archlinux.org>
7454
7455         * po/eo.po: Update Esperanto translation from translation project.
7456
7457 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7458
7459         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7460         and FEATURE_INDEX_MAX to 1.
7461         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7462
7463 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7464
7465         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7466         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7467         * iconvdata/big5.c (ONE_DIRECTION): Define.
7468         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7469         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7470         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7471         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7472         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7473         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7474         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7475         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7476         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7477         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7478         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7479         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7480         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7481         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7482         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7483         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7484         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7485         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7486         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7487         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7488         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7489         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7490         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7491         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7492         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7493         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7494         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7495         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7496         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7497         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7498         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7499         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7500         * iconvdata/johab.c (ONE_DIRECTION): Define.
7501         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7502         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7503         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7504         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7505         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7506         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7507         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7508         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7509         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7510         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7511
7512 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7513
7514         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7515         (_IO_JUMPS_OFFSET): Define to 0.
7516
7517         * nptl/sysdeps/pthread/bits/libc-lock.h
7518         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7519         (__libc_lock_define_initialized_recursive): Always define using
7520         initializer.  Modern compilers treat uninitialized (implicit zero) and
7521         explicit zero initializers the same (i.e. put the datum in bss).
7522
7523 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7524
7525         * nscd/nscd-client.h: Include <string.h>.
7526
7527 2014-05-01  David S. Miller  <davem@davemloft.net>
7528
7529         [BZ #16885]
7530         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7531         multiple zero bytes exist at the end of a string.
7532         Reported by Aurelien Jarno <aurelien@aurel32.net>
7533
7534         * string/test-strcmp.c (check): Add explicit test for situations where
7535         there are multiple zero bytes after the first.
7536
7537 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7538
7539         [BZ #16890]
7540         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7541         when compiling wprintf.
7542         * stdio-common/tstdiomisc.c (t3): New function.
7543         (main): Call it.
7544
7545 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7546
7547         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7548         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7549         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7550         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7551
7552 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7553
7554         * stdlib/longlong.h: Updated from GCC.
7555
7556 2014-05-01  Will Newton  <will.newton@linaro.org>
7557             Bernard Ogden  <bernie.ogden@linaro.org>
7558
7559         * NEWS: Update fixed bug list.
7560
7561         [BZ #15119]
7562         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7563
7564 2014-04-30  David S. Miller  <davem@davemloft.net>
7565
7566         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7567         (libc_feholdexcept_setround_sparc_ctx): New function.
7568         (libc_fesetenv_sparc_ctx): Likewise.
7569         (libc_feupdateenv_sparc_ctx): Likewise.
7570         (libc_feholdsetround_sparc_ctx): Likewise.
7571         (libc_feholdexcept_setround_ctx): Define.
7572         (libc_feholdexcept_setroundf_ctx): Likewise.
7573         (libc_feholdexcept_setroundl_ctx): Likewise.
7574         (libc_fesetenv_ctx): Likewise.
7575         (libc_fesetenvf_ctx): Likewise.
7576         (libc_fesetenvl_ctx): Likewise.
7577         (libc_feupdateenv_ctx): Likewise.
7578         (libc_feupdateenvf_ctx): Likewise.
7579         (libc_feupdateenvl_ctx): Likewise.
7580         (libc_feresetround_ctx): Likewise.
7581         (libc_feresetroundf_ctx): Likewise.
7582         (libc_feresetroundl_ctx): Likewise.
7583         (libc_feholdsetround_ctx): Likewise.
7584         (libc_feholdsetroundf_ctx): Likewise.
7585         (libc_feholdsetroundl_ctx): Likewise.
7586
7587         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7588         with __USE_GNU instead of XOPEN cpp guards.
7589
7590         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7591         0.
7592
7593         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7594         with XOPEN cpp guards.
7595
7596 2014-04-30  Julian Brown  <julian@codesourcery.com>
7597
7598         [BZ #16888]
7599         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7600         handling.
7601
7602 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7603
7604         [BZ #9894]
7605         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7606         Change to 2.6.32.
7607         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7608         * sysdeps/unix/sysv/linux/configure: Regenerated.
7609         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7610         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7611         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7612         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7613         * README: Update reference to required Linux kernel version.
7614         * manual/install.texi (Linux): Update reference to required Linux
7615         kernel headers version.
7616         * INSTALL: Regenerated.
7617
7618         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7619         header inclusion.
7620         [POSIX] (limits.h): Likewise.
7621         [POSIX] (math.h): Likewise.
7622         [POSIX] (sys/wait.h): Likewise.
7623         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7624         function.
7625         [POSIX] (stddef.h): Do not allow header inclusion.
7626
7627 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7628
7629         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7630
7631 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7632
7633         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7634         Return immediately after lll_futex_wake.
7635
7636 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7637
7638         [BZ #16791]
7639         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7640         structure.
7641         (datahead_init_pos): Call datahead_init_common early.
7642         (datahead_init_neg): Likewise.
7643
7644         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7645         datahead_init_neg): New functions.
7646         * nscd/aicache.c (addhstaiX): Use them.
7647         * nscd/grpcache.c (cache_addgr): Likewise.
7648         * nscd/hstcache.c (cache_addhst): Likewise.
7649         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7650         * nscd/netgroupcache.c (do_notfound): Likewise.
7651         (addgetnetgrentX): Likewise.
7652         (addinnetgrX): Likewise.
7653         * nscd/pwdcache.c (cache_addpw): Likewise.
7654         * nscd/servicescache.c (cache_addserv): Likewise.
7655
7656 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7657             Atsushi Onoe  <atsushi@onoe.org>
7658
7659         [BZ #14308]
7660         [BZ #12994]
7661         [BZ #13651]
7662         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7663         one response is valid.
7664         * resolv/res_send.c (send_dg): Check for validity of other
7665         response if the current response is a referral.
7666
7667 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7668
7669         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7670
7671 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7672
7673         [BZ #16823]
7674         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7675         Always divide by positive zero when computing -Inf result.
7676         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7677         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7678
7679 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7680
7681         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7682         FPSCR if value do not change.
7683         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7684         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7685         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7686         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7687         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7688         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7689         function.
7690
7691 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7692
7693         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7694         * sysdeps/unix/sysv/linux/hppa: Move directory from
7695         ports/systeps/unix/sysv/linux/hppa.
7696         * README: Update listing for hppa-*-linux-gnu.
7697
7698 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7699
7700         [BZ #16754]
7701         * manual/stdio.texi (Hook functions): Fix types of stream hook
7702         functions.
7703         [BZ #16854]
7704         * socket/sys/socket.h: Fix typo in comment.
7705
7706 2014-04-28  Wilco  <wdijkstr@arm.com>
7707
7708         * sysdeps/arm/fenv_private.h: New file.
7709         * sysdeps/arm/math_private.h: New file.
7710         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7711
7712 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7713
7714         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7715         with __int128_t.
7716         (La_x86_64_retval): Likewise.
7717
7718 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7719
7720         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7721         fpsr if value didn't change.
7722         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7723         to fpcr if value didn't change.
7724         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7725         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7726         fpsr or fpcr if value didn't change.
7727         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7728         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7729         fpcr if value didn't change.
7730         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7731         to fpsr if value didn't change.
7732
7733 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7734
7735         * nptl/tst-sem3.c: Use test-skeleton.c
7736         (main): Rename to do_test.  Use return instead of
7737         exit.
7738         * nptl/tst-sem4.c: Use test-skeleton.c
7739         (main): Rename to do_test.
7740
7741 2014-04-22  David S. Miller  <davem@davemloft.net>
7742
7743         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7744         (struct sigaction): New struct member __glibc_reserved0, change
7745         type of sa_flags to int.
7746
7747 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7748
7749         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7750         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7751
7752 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7753
7754         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7755         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7756
7757 2014-04-22  Will Newton  <will.newton@linaro.org>
7758             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7759
7760         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7761         (__longjmp): Add longjmp and longjmp_target SystemTap
7762         probes.
7763         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7764         (__sigsetjmp): Add setjmp SystemTap probe.
7765
7766 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7767
7768         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7769         match manual order.
7770
7771 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7772
7773         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7774
7775         * sysdeps/powerpc/fpu/fenv_private.h
7776         (libc_feholdexcept_setroundl_ctx): Define to
7777         libc_feholdexcept_setround_ppc_ctx.
7778         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7779         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7780         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7781         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7782
7783 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7784
7785         * sysdeps/aarch64/math-tests.h: New file.
7786
7787 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7788
7789         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7790         New.
7791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7792         Check and set bit_AVX2_Usable.
7793         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7794         macro.
7795         (bit_AVX2): Likewise.
7796         (index_AVX2_Usable): Likewise.
7797         (CPUID_AVX2): Likewise.
7798         (HAS_AVX2): Likewise.
7799
7800 2014-04-17  Will Newton  <will.newton@linaro.org>
7801
7802         * manual/setjmp.texi (System V contexts): Add note that
7803         calling setcontext on a context created by a call to a
7804         signal handler is undefined.  Update text to note that
7805         setcontext from a signal handler is possible but not
7806         recommended.
7807
7808         [BZ #16629]
7809         * stdlib/tst-setcontext.c: Include signal.h.
7810         (main): Check that the signal stack before and
7811         after swapcontext is the same.
7812
7813         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7814         Re-implement to restore registers in user code and avoid
7815         rt_sigreturn system call.
7816
7817 2014-04-17  Wilco  <wdijkstr@arm.com>
7818
7819         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7820         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7821         * math/test-fenv.c: Skip exception trap tests on targets which only
7822         support non-stop mode.
7823
7824 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7825             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7826
7827         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7828         (libc_feholdsetround_aarch64_ctx)
7829         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7830         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7831         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7832         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7833         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7834         (libc_feresetround_noexl_ctx): Define.
7835
7836 2014-04-16  Richard Henderson  <rth@redhat.com>
7837
7838         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7839
7840         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7841         unwind tables.
7842
7843         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7844         const from the non-libc, non-ldso copy.
7845
7846         * sysdeps/alpha/libm-test-ulps: Regenerate.
7847
7848 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7849             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7850
7851         * sysdeps/aarch64/fpu/math_private.h: New file.
7852
7853 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7854
7855         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7856
7857 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7858
7859         [BZ #16275]
7860         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7861         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7862         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7863         Intel MPX bound registers before _dl_profile_fixup.
7864         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7865         registers after _dl_profile_fixup.  Save and restore bound
7866         registers bnd0/bnd1 when calling _dl_call_pltexit.
7867         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7868         (LR_BND_OFFSET): Likewise.
7869         (LRV_BND0_OFFSET): Likewise.
7870         (LRV_BND1_OFFSET): Likewise.
7871
7872 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7873
7874         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7875         to...
7876         * sysdeps/mach/hurd/i386/tls.h: ... here.
7877         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7878         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7879         fields.
7880
7881 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7882
7883         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7884
7885 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7886
7887         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7888
7889 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7890
7891         [BZ #14770]
7892         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7893         * sysdeps/s390/configure: Regenerate.
7894
7895         [BZ #16824]
7896         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7897         Set round-to-nearest internally to reduce error accumulation.
7898
7899 2014-04-16  Alan Modra  <amodra@gmail.com>
7900
7901         [BZ #16740]
7902         [BZ #16619]
7903         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7904         * math/libm-test.inc (frexp_test_data): Add tests.
7905         * NEWS: Update fixed bug list.
7906
7907 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7908
7909         * benchtests/Makefile: Depend on libraries in build directory.
7910         (bench-math): Separate out math tests.
7911         (bench-pthread): Separate out pthread tests.
7912         (bench): Include math and pthread tests.
7913
7914 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7915
7916         [BZ #16831]
7917         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7918         _dl_debug_initialize.
7919
7920         * configure.ac: Remove SELinux header check.
7921         * configure: Regenerate.
7922         * nscd/selinux.c (perms): Array of const char* to permission names.
7923         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7924         default policy. Call string_to_security_class and string_to_av_perm to
7925         translate strings. Enforce default policy and call avs_has_perm with
7926         results of translated strings.
7927
7928 2014-04-13  David S. Miller  <davem@davemloft.net>
7929
7930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7931
7932 2014-04-12  Allan McRae  <allan@archlinux.org>
7933
7934         [BZ #16838]
7935         * manual/string.texi (Collation Functions): Fix qsort argument
7936         order in example.
7937         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7938
7939 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7940
7941         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7942         Make the test a no-op if there are no exceptions defined.
7943
7944 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7945
7946         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7947         enable-hardcoded-path-in-tests
7948
7949 2014-04-11  Will Newton  <will.newton@linaro.org>
7950
7951         * benchtests/Makefile (extra-objs): Add json-lib.o.
7952         (bench-func): Tidy up JSON output.
7953         * benchtests/bench-skeleton.c: Include json-lib.h.
7954         (main): Use JSON library functions to do output of
7955         benchmark results.
7956         * benchtests/bench-timing-type.c (main): Output the
7957         timing type simply, leaving formatting to the user.
7958         * benchtests/json-lib.c: New file.
7959         * benchtests/json-lib.h: Likewise.
7960
7961 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7962
7963         [BZ #15215]
7964         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7965         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7966         memory barriers.  Add comments.
7967         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7968         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7969         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7970         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7971         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7972         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7973
7974 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7975
7976         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7977         * sysdeps/s390/s390-64/configure.ac: ... this ...
7978         * sysdeps/s390/configure.ac: ... to here.
7979         * sysdeps/s390/s390-32/configure: Delete file.
7980         * sysdeps/s390/s390-64/configure: Delete file.
7981         * sysdeps/s390/configure: Regenerate.
7982
7983 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7984
7985         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7986
7987 2014-04-11  Will Newton  <will.newton@linaro.org>
7988
7989         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7990         to zero if it is not defined elsewhere.  (mtrim): Test
7991         the value of MALLOC_DEBUG with #if rather than #ifdef.
7992
7993 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7994
7995         * benchtests/pthread_once-inputs: New file.
7996         * benchtests/pthread_once-source.c: New file.
7997         * benchtests/README: Update documentation.
7998
7999 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8000             H.J. Lu  <hongjiu.lu@intel.com>
8001
8002         [BZ #16275]
8003         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8004         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8005         * sysdeps/x86_64/configure: Regenerated.
8006         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8007         macro.
8008         (REGISTER_SAVE_RAX): Likewise.
8009         (REGISTER_SAVE_RCX): Likewise.
8010         (REGISTER_SAVE_RDX): Likewise.
8011         (REGISTER_SAVE_RSI): Likewise.
8012         (REGISTER_SAVE_RDI): Likewise.
8013         (REGISTER_SAVE_R8): Likewise.
8014         (REGISTER_SAVE_R9): Likewise.
8015         (REGISTER_SAVE_BND0): Likewise.
8016         (REGISTER_SAVE_BND1): Likewise.
8017         (REGISTER_SAVE_BND2): Likewise.
8018         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8019         bound registers when calling _dl_fixup.
8020
8021 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8022
8023         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8024         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8025         of its definition.
8026         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8027         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8028         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8029         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8030         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8031         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8032         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8033
8034 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8035
8036         [BZ #15514]
8037         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8038         pathconf(_PC_NAME_MAX).
8039
8040 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8041
8042         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8043         Remove macro usage.
8044         (__PTHREAD_SPINS): Move definition to ...
8045         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8046         (__PTHREAD_SPINS): ... here.
8047         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8048         (__PTHREAD_SPIN): Likewise.
8049         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8050         (__PTHREAD_SPIN): Likewise.
8051         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8052         (__PTHREAD_SPIN): Likewise.
8053         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8054         (__PTHREAD_SPIN): Likewise.
8055         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8056         (__PTHREAD_SPIN): Likewise.
8057         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8058         (__PTHREAD_SPIN): Likewise.
8059         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8060         (__PTHREAD_SPIN): Likewise.
8061         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8062         (__PTHREAD_SPIN): Likewise.
8063         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8064         (__PTHREAD_SPIN): Likewise.
8065         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8066         (__PTHREAD_SPIN): Likewise.
8067         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8068         (__PTHREAD_SPIN): Likewise.
8069         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8070         (__PTHREAD_SPIN): Likewise.
8071
8072         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8073         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8074         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8075         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8076         imply folder.
8077         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8078         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8079         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8080         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8081         correct imply path.
8082         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8083         strlen symbol for non multi-arch builds.
8084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8085         missing hidden_def and weak_alias.
8086
8087 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8088
8089         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8090
8091 2014-04-07  Will Newton  <will.newton@linaro.org>
8092
8093         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8094         and contents.  [!_LIBC] Remove #ifndef and contents.
8095         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8096         * string/memccpy.c (__memccpy): Use ANSI prototype.
8097         * string/memfrob.c (memfrob): Likewise.
8098         * string/strcoll.c (STRCOLL): Likewise.
8099         * string/strlen.c (strlen): Likewise.
8100         * string/strtok.c (STRTOK): Likewise.
8101         * string/strcat.c: Remove unused #include of memcopy.h.
8102         (strcat): Use ANSI prototype.
8103         * string/strchr.c: Remove unused #include of memcopy.h.
8104         (strchr): Use ANSI prototype.
8105         * string/strcmp.c: Remove unused #include of memcopy.h.
8106         (strcmp): Use ANSI prototype.
8107         * string/strcpy.c: Remove unused #include of memcopy.h.
8108         (strcpy): Use ANSI prototype.
8109
8110 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8111
8112         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8113         * config.make.in (config-extra-cppflags): Set it from
8114         libc_extra_cppflags.
8115         * configure.ac (libc_extra_cflags): Make it accumulate over
8116         configure fragments.
8117         (libc_extra_cppflags): New flag.
8118         * configure. Regenerate.
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8120         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8121         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8123
8124         [BZ #16815]
8125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8126         result for FE_DOWNWARD rounding mode.
8127         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8128         Likewise.
8129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8130
8131 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8132
8133         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8134         in function argument name.
8135
8136 2014-04-03  David Svoboda  <svoboda@cert.org>
8137
8138         [BZ #5666]
8139         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8140         explicitly.
8141
8142 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8143
8144         * elf/dl-unmap-segments.h: New file.
8145         * sysdeps/generic/ldsodefs.h
8146         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8147         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8148         * elf/dl-fptr.c: Likewise.
8149         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8150         * sysdeps/aarch64/tlsdesc.c: Likewise.
8151         * sysdeps/arm/tlsdesc.c: Likewise.
8152         * sysdeps/i386/tlsdesc.c: Likewise.
8153         * sysdeps/tile/dl-runtime.c: Likewise.
8154         * sysdeps/x86_64/tlsdesc.c: Likewise.
8155         * elf/dl-load.h: New file.
8156         * elf/dl-load.c: Include it.
8157         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8158         Macros moved to dl-load.h.
8159         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8160         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8161         Use _dl_unmap_segments in place of __munmap.
8162         Break out segment-mapping loop into ...
8163         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8164
8165 2014-04-03  Will Newton  <will.newton@linaro.org>
8166
8167         * elf/dl-lookup.c (do_lookup_x): Remove comment
8168         referring to nested function and move variable
8169         declarations down to before first use.
8170
8171 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8172
8173         [BZ #16799]
8174         [BZ #16800]
8175         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8176         with 0 numerator.
8177         * math/s_catanf.c (__catanf): Likewise.
8178         * math/s_catanh.c (__catanh): Likewise.
8179         * math/s_catanhf.c (__catanhf): Likewise.
8180         * math/s_catanhl.c (__catanhl): Likewise.
8181         * math/s_catanl.c (__catanl): Likewise.
8182         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8183         by positive zero when computing -Inf result.
8184         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8185         (catanh_test): Likewise.
8186         * sysdeps/i386/fpu/libm-test-ulps: Update.
8187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8188
8189         [BZ #16789]
8190         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8191         instead of using underflowing value in computing result.
8192         * math/s_clog10.c (__clog10): Likewise.
8193         * math/s_clog10f.c (__clog10f): Likewise.
8194         * math/s_clog10l.c (__clog10l): Likewise.
8195         * math/s_clogf.c (__clogf): Likewise.
8196         * math/s_clogl.c (__clogl): Likewise.
8197         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8198         (clog10_test): Likewise.
8199         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8201
8202 2014-04-02  Alan Modra  <amodra@gmail.com>
8203
8204         [BZ #16739]
8205         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8206         output when value is near a power of two.  Use int64_t for lx and
8207         remove casts.  Use decimal rather than hex exponent constants.
8208         Don't use long double multiplication when double will suffice.
8209         * math/libm-test.inc (nextafter_test_data): Add tests.
8210         * NEWS: Add 16739 and 16786 to bug list.
8211
8212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8213
8214         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8215
8216 2014-04-01  Will Newton  <will.newton@linaro.org>
8217
8218         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8219         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8220
8221 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8222
8223         [BZ #13347]
8224         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8225         * nptl/tst-setuid2.c: New file.
8226         * nptl/Makefile (xtests): Add tst-setuid2.
8227
8228 2014-04-01  Alan Modra  <amodra@gmail.com>
8229
8230         [BZ #16786]
8231         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8232
8233 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8234
8235         [BZ #6803]
8236         [BZ #6804]
8237         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8238         set errno as appropriate.
8239         * math/w_scalbf.c (__scalbf): Likewise.
8240         * math/w_scalbl.c (__scalbl): Likewise.
8241         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8242         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8243         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8244         Add more NaN tests.
8245
8246         [BZ #16349]
8247         * math/w_atan2.c: Include <errno.h>.
8248         (__atan2): Set errno for result underflowing to zero.
8249         * math/w_atan2f.c: Include <errno.h>.
8250         (__atan2f): Set errno for result underflowing to zero.
8251         * math/w_atan2l.c: Include <errno.h>.
8252         (__atan2l): Set errno for result underflowing to zero.
8253         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8254         tests.
8255         * math/auto-libm-test-out: Regenerated.
8256
8257 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8258
8259         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8260         Encode instruction correctly in little endian.
8261         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8262         Likewise.
8263         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8264         Likewise.
8265         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8266         Likewise.
8267         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8268         Likewise.
8269
8270 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8271
8272         [BZ #9894]
8273         * sysdeps/unix/sysv/linux/kernel-features.h
8274         [__sparc__ && !__arch64__ && !__sparc_v9__]
8275         (__ASSUME_SET_ROBUST_LIST): Do not define.
8276         [__sparc__ && !__arch64__ && !__sparc_v9__]
8277         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8278         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8279         Likewise.
8280         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8281         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8282         (__ASSUME_REQUEUE_PI): Likewise.
8283         (__ASSUME_SET_ROBUST_LIST): Likewise.
8284         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8285         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8286         Undefine.
8287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8288         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8289         Likewise.
8290         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8291         Likewise.
8292         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8293         Likewise.
8294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8295         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8296         Undefine.
8297         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8298         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8299         Likewise.
8300
8301         [BZ #16648]
8302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8304         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8305
8306 2014-03-31  Will Newton  <will.newton@linaro.org>
8307
8308         * benchtests/Makefile (bench): Add ffs and ffsll to list
8309         of tests.
8310         * benchtests/ffs-inputs: New file.
8311         * benchtests/ffsll-inputs: Likewise.
8312
8313 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8314
8315         [BZ #16770]
8316         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8317         too large before casting to int.
8318         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8319         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8320         * math/libm-test.inc (scalb_test_data): Add more tests.
8321
8322 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8323
8324         * benchtests/Makefile (DETAILED_OPT): New make option.
8325         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8326         set.
8327         * benchtests/bench-skeleton.c: Include stdbool.h.
8328         (main): Store and print timings per input.
8329         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8330         member to each argument value.
8331         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8332         (_print_arg_data): Initialize per-input timing to 0.
8333
8334         * benchtests/Makefile (timing-type): New binary.
8335         (bench-clean): Also remove bench-timing-type.
8336         (bench): New target for timing-type.
8337         (bench-func): Print output in JSON format.
8338         * benchtests/bench-skeleton.c (main): Print output in JSON
8339         format.
8340         * benchtests/bench-timing-type.c: New file.
8341         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8342         (TIMING_PRINT_STATS): Remove.
8343         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8344         name separately.
8345
8346         * benchtests/bench-modf.c: Remove.
8347         * benchtests/modf-inputs: New inputs file.
8348
8349 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8350
8351         [BZ #16362]
8352         * math/s_clog10.c (M_PI_LOG10E): New macro.
8353         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8354         imaginary parts are 0.
8355         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8356         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8357         imaginary parts are 0.
8358         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8359         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8360         imaginary parts are 0.
8361         * math/libm-test.inc (clog10_test_data): Update expected results
8362         for when real and imaginary parts are 0.
8363
8364 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8365
8366         * elf/dl-load.c: Finish conversion of __builtin_expect into
8367         __glibc_{un}likely.
8368
8369 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8370
8371         [BZ #16348]
8372         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8373         1+x for argument with exponent below -67.
8374         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8375         Likewise.
8376         * math/auto-libm-test-in: Add more tests of exp.
8377         * math/auto-libm-test-out: Regenerated.
8378
8379 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8380
8381         [BZ #16759]
8382         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8383         (nscd_getnetgrent): Use it.
8384
8385         [BZ #16760]
8386         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8387         of stpcpy.
8388
8389 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8390
8391         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8392         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8393         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8394         (lll_robust_unlock): Remove out of line section. Use cfi
8395         intrinsics.
8396         (LLL_STUB_UNWIND_INFO*): Remove.
8397         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8398         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8399         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8400         (lll_robust_unlock): Remove out of line section. Use cfi
8401         intrinsics.
8402         (LLL_STUB_UNWIND_INFO*): Remove.
8403
8404 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8405
8406         [BZ #16758]
8407         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8408         blank values.
8409
8410 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8411
8412         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8413
8414 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8415
8416         [BZ #16198]
8417         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8418         fnstenv.
8419         * math/test-fenv-preserve.c: New file.
8420         * math/Makefile (tests): Add test-fenv-preserve.
8421
8422 2014-03-26  Will Newton <will.newton@linaro.org>
8423
8424         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8425
8426 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8427
8428         * scripts/versionlist.awk: Partition the version sets and emit all
8429         GLIBC_* (sorted) before all others (sorted).
8430
8431 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8432
8433         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8434         GLIBC_2.2.5 version.
8435
8436 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8437
8438         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8439         calls.
8440
8441         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8442         previous change.
8443
8444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8445
8446 2014-03-25  Andreas Schwab  <schwab@suse.de>
8447
8448         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8449         label to be used after in6ailist is initialized.
8450
8451 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8452
8453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8454         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8455
8456 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8457
8458         [BZ #16357]
8459         [BZ #16599]
8460         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8461         min_plus_half.
8462         (fp_formats): Update initializers.
8463         (init_fp_formats): Initialize new field.
8464         (output_for_one_input_case): Allow underflow for results up to
8465         min_plus_half.
8466         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8467         * math/auto-libm-test-in: Don't mark some underflows from asin and
8468         atanh as spurious.
8469         * math/auto-libm-test-out: Regenerated.
8470         * sysdeps/i386/fpu/libm-test-ulps: Update.
8471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8472
8473 2014-03-25  Andreas Schwab  <schwab@suse.de>
8474
8475         * libio/Makefile (tst-ftell-partial-wide-ENV)
8476         (tst-ftell-active-handler-ENV): Define.
8477
8478 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8479
8480         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8481
8482 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8483
8484         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8485
8486 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8487
8488         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8489         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8490         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8491
8492 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8493
8494         [BZ #16634]
8495         * elf/dl-load.c (open_verify): Add mode parameter.
8496         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8497         (open_path): Change from boolean 'secure' to complete flag 'mode'
8498         (_dl_map_object): Adjust.
8499         * elf/Makefile (tests): Add tst-dlopen-aout.
8500         * elf/tst-dlopen-aout.c: New test.
8501
8502 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8503
8504         [BZ #16714]
8505         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8506         (struct stat): Rename member pad0 to __glibc_reserved0.
8507
8508         [BZ #16712]
8509         * sysdeps/s390/s390-32/bits/wordsize.h
8510         (__WORDSIZE32_SIZE_ULONG): New define.
8511         * sysdeps/s390/s390-64/bits/wordsize.h
8512         (__WORDSIZE32_SIZE_ULONG): Likewise.
8513         * sysdeps/generic/stdint.h (SIZE_MAX):
8514         Define as UL if __WORDSIZE32_SIZE_ULONG.
8515
8516         [BZ #16713]
8517         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8518         (__glibc_reserved0): New variable.
8519         (sa_flags): Change type to int.
8520
8521         * posix/Makefile (before-compile): Use += before-compile instead
8522         of a :=.
8523
8524         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8525         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8526
8527 2014-03-20  Andreas Schwab  <schwab@suse.de>
8528
8529         [BZ #16743]
8530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8531         non-matching result from nscd.
8532
8533 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8534
8535         * scripts/bench.py: Moved to ...
8536         * benchtests/scripts/bench.py: ... here.
8537         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8538
8539 2014-03-24  Andreas Schwab  <schwab@suse.de>
8540
8541         [BZ #16002]
8542         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8543         alloca_account and account alloca use for struct in6ailist.
8544
8545 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8546
8547         [BZ #16284]
8548         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8549         rounding mode to recompute results that overflow to infinity or
8550         underflow to zero.
8551         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8552         bug 16284.
8553         * math/auto-libm-test-out: Regenerated.
8554         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8555         (ccosh_test): Likewise.
8556         (csin_test_data): Use plus_oflow.
8557         (csin_test): Use ALL_RM_TEST.
8558         (csinh_test_data): Use plus_oflow.
8559         (csinh_test): Use ALL_RM_TEST.
8560         * sysdeps/i386/fpu/libm-test-ulps: Update.
8561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562
8563 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8564
8565         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8566         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8567         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8568
8569         [BZ #16731]
8570         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8571         when x - 1 is zero.
8572         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8573         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8574         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8575         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8576         argument is 1.
8577         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8578         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8579         zero.
8580         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8581         * sysdeps/i386/fpu/libm-test-ulps: Update.
8582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8583
8584 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8585
8586         * scripts/bench.pl: Remove file.
8587         * scripts/bench.py: New benchmark script.
8588         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8589         * benchtests/README: Mention python dependency.
8590         * scripts/pylintrc: New file.
8591         * scripts/pylint: New file.
8592
8593         * bits/mathdef.h: Use #ifdef instead of #if.
8594         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8595         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8596         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8597         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8598         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8599         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8600
8601 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8602             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8603
8604         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8606         and strpbrk-ppc64 objects.
8607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8608         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8609         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8610         multiarch strpbrk for POWER7.
8611         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8612         multiarch strpbrk for PPC64.
8613         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8614         ifunc selector.
8615         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8616         strpbrk for POWER7.
8617
8618 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8619
8620         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8621         (atan_test): Likewise.
8622         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8623         (atanh_test): Use ALL_RM_TEST.
8624         (atan2_test_data): Likewise.
8625         (cabs_test): Likewise.
8626         (cacosh_test): Likewise.
8627         (carg_test): Likewise.
8628         (casin_test): Likewise.
8629         (casinh_test): Likewise.
8630         (cbrt_test): Likewise.
8631         (csqrt_test): Likewise.
8632         (erf_test): Likewise.
8633         (erfc_test): Likewise.
8634         (pow10_test): Likewise.
8635         (exp2_test): Likewise.
8636         (hypot_test): Likewise.
8637         (j0_test): Likewise.
8638         (j1_test): Likewise.
8639         (lgamma_test): Likewise.
8640         (gamma_test): Likewise.
8641         (sincos_test): Likewise.
8642         (tanh_test): Likewise.
8643         (y0_test): Likewise.
8644         (y1_test): Likewise.
8645         * sysdeps/i386/fpu/libm-test-ulps: Update.
8646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8647
8648 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8649
8650         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8652         and strcspn-ppc64 objects.
8653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8654         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8655         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8656         multiarch strcspn for POWER7.
8657         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8658         multiarch strcspn for PPC64.
8659         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8660         ifunc selector.
8661         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8662         strcspn for POWER7.
8663
8664 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8665
8666         * math/gen-libm-test.pl (generate_testfile): Expect only function
8667         name as argument to AUTO_TESTS_* and pass results for all rounding
8668         modes to parse_args.
8669         (parse_auto_input): Separate inputs of automatic tests from
8670         outputs before storing in %auto_tests.
8671         * math/libm-test.inc (acos_test_data): Update call to
8672         AUTO_TESTS_f_f.
8673         (acos_test): Use ALL_RM_TEST.
8674         (acos_tonearest_test_data): Remove.
8675         (acos_test_tonearest): Likewise.
8676         (acos_towardzero_test_data): Likewise.
8677         (acos_test_towardzero): Likewise.
8678         (acos_downward_test_data): Likewise.
8679         (acos_test_downward): Likewise.
8680         (acos_upward_test_data): Likewise.
8681         (acos_test_upward): Likewise.
8682         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8683         (asin_test_data): Likewise.
8684         (asin_test): Use ALL_RM_TEST.
8685         (asin_tonearest_test_data): Remove.
8686         (asin_test_tonearest): Likewise.
8687         (asin_towardzero_test_data): Likewise.
8688         (asin_test_towardzero): Likewise.
8689         (asin_downward_test_data): Likewise.
8690         (asin_test_downward): Likewise.
8691         (asin_upward_test_data): Likewise.
8692         (asin_test_upward): Likewise.
8693         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8694         (atan_test_data): Likewise.
8695         (atanh_test_data): Likewise.
8696         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8697         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8698         (carg_test_data): Likewise.
8699         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8700         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8701         (ccosh_test_data): Likewise.
8702         (cexp_test_data): Likewise.
8703         (clog_test_data): Likewise.
8704         (clog10_test_data): Likewise.
8705         (cos_test_data): Update call to AUTO_TESTS_f_f.
8706         (cos_test): Use ALL_RM_TEST.
8707         (cos_tonearest_test_data): Remove.
8708         (cos_test_tonearest): Likewise.
8709         (cos_towardzero_test_data): Likewise.
8710         (cos_test_towardzero): Likewise.
8711         (cos_downward_test_data): Likewise.
8712         (cos_test_downward): Likewise.
8713         (cos_upward_test_data): Likewise.
8714         (cos_test_upward): Likewise.
8715         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8716         (cosh_test): Use ALL_RM_TEST.
8717         (cosh_tonearest_test_data): Remove.
8718         (cosh_test_tonearest): Likewise.
8719         (cosh_towardzero_test_data): Likewise.
8720         (cosh_test_towardzero): Likewise.
8721         (cosh_downward_test_data): Likewise.
8722         (cosh_test_downward): Likewise.
8723         (cosh_upward_test_data): Likewise.
8724         (cosh_test_upward): Likewise.
8725         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8726         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8727         (ctan_test_data): Likewise.
8728         (ctan_test): Use ALL_RM_TEST.
8729         (ctan_tonearest_test_data): Remove.
8730         (ctan_test_tonearest): Likewise.
8731         (ctan_towardzero_test_data): Likewise.
8732         (ctan_test_towardzero): Likewise.
8733         (ctan_downward_test_data): Likewise.
8734         (ctan_test_downward): Likewise.
8735         (ctan_upward_test_data): Likewise.
8736         (ctan_test_upward): Likewise.
8737         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8738         (ctanh_test): Use ALL_RM_TEST.
8739         (ctanh_tonearest_test_data): Remove.
8740         (ctanh_test_tonearest): Likewise.
8741         (ctanh_towardzero_test_data): Likewise.
8742         (ctanh_test_towardzero): Likewise.
8743         (ctanh_downward_test_data): Likewise.
8744         (ctanh_test_downward): Likewise.
8745         (ctanh_upward_test_data): Likewise.
8746         (ctanh_test_upward): Likewise.
8747         (erf_test_data): Update call to AUTO_TESTS_f_f.
8748         (erfc_test_data): Likewise.
8749         (exp_test_data): Likewise.
8750         (exp_test): Use ALL_RM_TEST.
8751         (exp_tonearest_test_data): Remove.
8752         (exp_test_tonearest): Likewise.
8753         (exp_towardzero_test_data): Likewise.
8754         (exp_test_towardzero): Likewise.
8755         (exp_downward_test_data): Likewise.
8756         (exp_test_downward): Likewise.
8757         (exp_upward_test_data): Likewise.
8758         (exp_test_upward): Likewise.
8759         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8760         (exp10_test): Use ALL_RM_TEST.
8761         (exp10_tonearest_test_data): Remove.
8762         (exp10_test_tonearest): Likewise.
8763         (exp10_towardzero_test_data): Likewise.
8764         (exp10_test_towardzero): Likewise.
8765         (exp10_downward_test_data): Likewise.
8766         (exp10_test_downward): Likewise.
8767         (exp10_upward_test_data): Likewise.
8768         (exp10_test_upward): Likewise.
8769         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8770         (expm1_test_data): Likewise.
8771         (expm1_test): Use ALL_RM_TEST.
8772         (expm1_tonearest_test_data): Remove.
8773         (expm1_test_tonearest): Likewise.
8774         (expm1_towardzero_test_data): Likewise.
8775         (expm1_test_towardzero): Likewise.
8776         (expm1_downward_test_data): Likewise.
8777         (expm1_test_downward): Likewise.
8778         (expm1_upward_test_data): Likewise.
8779         (expm1_test_upward): Likewise.
8780         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8781         (fma_test): Use ALL_RM_TEST.
8782         (fma_towardzero_test_data): Remove.
8783         (fma_test_towardzero): Likewise.
8784         (fma_downward_test_data): Likewise.
8785         (fma_test_downward): Likewise.
8786         (fma_upward_test_data): Likewise.
8787         (fma_test_upward): Likewise.
8788         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8789         (j0_test_data): Update call to AUTO_TESTS_f_f.
8790         (j1_test_data): Likewise.
8791         (jn_test_data): Update call to AUTO_TESTS_if_f.
8792         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8793         (log_test_data): Update call to AUTO_TESTS_f_f.
8794         (log10_test_data): Likewise.
8795         (log1p_test_data): Likewise.
8796         (log2_test_data): Likewise.
8797         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8798         (pow_tonearest_test_data): Likewise.
8799         (sin_test_data): Update call to AUTO_TESTS_f_f.
8800         (sin_test): Use ALL_RM_TEST.
8801         (sin_tonearest_test_data): Remove.
8802         (sin_test_tonearest): Likewise.
8803         (sin_towardzero_test_data): Likewise.
8804         (sin_test_towardzero): Likewise.
8805         (sin_downward_test_data): Likewise.
8806         (sin_test_downward): Likewise.
8807         (sin_upward_test_data): Likewise.
8808         (sin_test_upward): Likewise.
8809         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8810         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8811         (sinh_test): Use ALL_RM_TEST.
8812         (sinh_tonearest_test_data): Remove.
8813         (sinh_test_tonearest): Likewise.
8814         (sinh_towardzero_test_data): Likewise.
8815         (sinh_test_towardzero): Likewise.
8816         (sinh_downward_test_data): Likewise.
8817         (sinh_test_downward): Likewise.
8818         (sinh_upward_test_data): Likewise.
8819         (sinh_test_upward): Likewise.
8820         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8821         (sqrt_test): Use ALL_RM_TEST.
8822         (sqrt_tonearest_test_data): Remove.
8823         (sqrt_test_tonearest): Likewise.
8824         (sqrt_towardzero_test_data): Likewise.
8825         (sqrt_test_towardzero): Likewise.
8826         (sqrt_downward_test_data): Likewise.
8827         (sqrt_test_downward): Likewise.
8828         (sqrt_upward_test_data): Likewise.
8829         (sqrt_test_upward): Likewise.
8830         (tan_test_data): Update call to AUTO_TESTS_f_f.
8831         (tan_test): Use ALL_RM_TEST.
8832         (tan_tonearest_test_data): Remove.
8833         (tan_test_tonearest): Likewise.
8834         (tan_towardzero_test_data): Likewise.
8835         (tan_test_towardzero): Likewise.
8836         (tan_downward_test_data): Likewise.
8837         (tan_test_downward): Likewise.
8838         (tan_upward_test_data): Likewise.
8839         (tan_test_upward): Likewise.
8840         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8841         (tgamma_test_data): Likewise.
8842         (y0_test_data): Likewise.
8843         (y1_test_data): Likewise.
8844         (yn_test_data): Update call to AUTO_TESTS_if_f.
8845         (main): Do not call removed functions.
8846
8847 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8848
8849         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8850         (ldexp_test_data): Remove.
8851         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8852         scalbn_test_data.
8853         (scalb_test): Use ALL_RM_TEST.
8854
8855 2014-03-19  Andreas Schwab  <schwab@suse.de>
8856
8857         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8858
8859 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8860
8861         [BZ #16649]
8862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8863         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8864         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8866         (__ASSUME_PREADV): Undefine.
8867         (__ASSUME_PWRITEV): Likewise.
8868
8869 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8870
8871         * bits/mman-linux.h: Add comment about non-Linux use.
8872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8873         bits/mman-linux.h resting place.
8874
8875         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8876         * bits/mman-linux.h: ... here.
8877
8878 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8879
8880         * conform/conformtest.pl: Add standard definition when calling C
8881         preprocessor on data files.
8882         (checknamespace): Remove unused variable.
8883
8884 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8885
8886         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8887         minus_oflow, plus_uflow and minus_uflow in expected results.
8888         * math/libm-test.inc (scalbn_test_data): Add more tests of
8889         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8890         minus_uflow.
8891         (scalbn_test): Use ALL_RM_TEST.
8892         (scalbln_test_data): Add more tests of negative arguments.  Use
8893         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8894         (scalbln_test): Use ALL_RM_TEST.
8895
8896 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8897
8898         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8899
8900 2014-03-18  Will Newton  <will.newton@linaro.org>
8901
8902         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8903         inaccurate comment.
8904
8905 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8906
8907         * Makerules [!subdir] (check-abi): Exit with error status if a
8908         test failed.
8909
8910 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8911
8912         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8913         for rint.  Include results for all rounding modes.
8914         (nearbyint_test): Use ALL_RM_TEST.
8915         (rint_test_data): Include all tests used for nearbyint.
8916
8917 2014-03-17  Will Newton  <will.newton@linaro.org>
8918
8919         * nptl/sysdeps/pthread/pthread.h: Revert previous
8920         change.
8921
8922         * sysdeps/generic/ldsodefs.h: Revert previous
8923         change.
8924
8925         * libio/genops.c: Revert previous change.
8926         * libio/libioP.h: Likewise.
8927         * stdio-common/vfprintf.c: Likewise.
8928
8929         * sysdeps/generic/math_private.h: Revert previous
8930         change.
8931
8932         * sysdeps/generic/math_private.h: Check whether
8933         HAVE_RM_CTX is defined with #ifdef rather
8934         than #if.
8935
8936         * argp/argp-fmtstream.h: Check whether
8937         __STRICT_ANSI__ is defined with #ifdef rather
8938         than #if.
8939         * argp/argp.h: Likewise.
8940
8941         * libio/genops.c: Check whether
8942         _IO_JUMPS_OFFSET is defined with #ifdef rather
8943         than #if.
8944         * libio/libioP.h: Likewise.
8945         * stdio-common/vfprintf.c: Likewise.
8946
8947         * sysdeps/generic/ldsodefs.h: Check whether
8948         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8949         than #if.
8950
8951         * nptl/sysdeps/pthread/pthread.h: Check
8952         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8953         its value.
8954
8955 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8956
8957         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8958         setting O_APPEND.
8959         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8960         test case.
8961
8962         [BZ #16680]
8963         * libio/fileops.c (_IO_file_open): Seek to end of file but
8964         don't cache the offset.
8965         (get_file_offset): Remove function.
8966         (do_ftell): Use cached offset when available.
8967         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8968         don't cache the offset.
8969         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8970         case.
8971         (do_one_test): Call it.
8972         (do_ftell_test): Fix up expected old offset for a+ mode.
8973         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8974         available.
8975
8976         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8977         up test status with function return status.
8978         (do_write_test): Likewise.
8979         (do_append_test): Likewise.
8980
8981         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8982         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8983         Remove.
8984
8985 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8986
8987         * math/gen-libm-test.pl (parse_args): Handle results specified for
8988         each rounding mode separately.
8989         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8990         tests and results from lrint_tonearest_test_data,
8991         lrint_towardzero_test_data, lrint_downward_test_data and
8992         lrint_upward_test_data.
8993         (lrint_test): Use ALL_RM_TEST.
8994         (lrint_tonearest_test_data): Remove.
8995         (lrint_test_tonearest): Likewise.
8996         (lrint_towardzero_test_data): Likewise.
8997         (lrint_test_towardzero): Likewise.
8998         (lrint_downward_test_data): Likewise.
8999         (lrint_test_downward): Likewise.
9000         (lrint_upward_test_data): Likewise.
9001         (lrint_test_upward): Likewise.
9002         (llrint_test_data): Merge in per-rounding-mode tests and results
9003         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9004         llrint_downward_test_data and llrint_upward_test_data.
9005         (llrint_test): Use ALL_RM_TEST.
9006         (llrint_tonearest_test_data): Remove.
9007         (llrint_test_tonearest): Likewise.
9008         (llrint_towardzero_test_data): Likewise.
9009         (llrint_test_towardzero): Likewise.
9010         (llrint_downward_test_data): Likewise.
9011         (llrint_test_downward): Likewise.
9012         (llrint_upward_test_data): Likewise.
9013         (llrint_test_upward): Likewise.
9014         (rint_test_data): Merge in per-rounding-mode tests and results
9015         from rint_tonearest_test_data, rint_towardzero_test_data,
9016         rint_downward_test_data and rint_upward_test_data.  Add
9017         per-rounding-mode results for tests not in those arrays.
9018         (rint_test): Use ALL_RM_TEST.
9019         (rint_tonearest_test_data): Remove.
9020         (rint_test_tonearest): Likewise.
9021         (rint_towardzero_test_data): Likewise.
9022         (rint_test_towardzero): Likewise.
9023         (rint_downward_test_data): Likewise.
9024         (rint_test_downward): Likewise.
9025         (rint_upward_test_data): Likewise.
9026         (rint_test_upward): Likewise.
9027         (main): Don't call removed functions.
9028
9029 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9030
9031         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9032         "Compiled on ..." crapola.  It is anti-useful.
9033
9034 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9035
9036         * scripts/evaluate-test.sh: Handle fourth argument to determine
9037         whether test run should stop on failure.
9038         * Makeconfig (stop-on-test-failure): New variable.
9039         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9040         $(stop-on-test-failure).
9041         * Makefile (tests): Give a summary of results from testing and
9042         exit with failure status if they include an ERROR or FAIL.
9043         (xtests): Likewise.
9044         * manual/install.texi (Configuring and compiling): Mention
9045         stop-on-test-failure=y.
9046         * INSTALL: Regenerated.
9047
9048 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9049
9050         * scripts/versionlist.awk: New file.
9051         * Makerules [$(build-shared) = yes]
9052         (postclean-generated): Add Versions.def, not Versions.def.v and
9053         Versions.def.v.i.
9054         ($(common-objpfx)Versions.def.v.i): Target removed.
9055         ($(common-objpfx)Versions.def): New target.
9056         ($(common-objpfx)Versions.all): Depend on that rather that
9057         $(common-objpfx)Versions.def.v.
9058         * Versions.def: File removed.
9059
9060         * Makeconfig (+gccwarn): Add -Wundef.
9061         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9062         a dl-sysdep.h breaking its contract.
9063         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9064         * include/stackinfo.h: New file.
9065         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9066         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9067         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9068         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9069         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9070         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9071         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9072         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9073         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9074         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9075         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9076         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9077         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9078         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9079         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9080
9081 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9082
9083         [BZ #16707]
9084         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9085         implementation.
9086         * math/libm-test.inc (round_test_data): Add more tests.
9087
9088         [BZ #16706]
9089         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9090         implementation.
9091         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9092
9093         [BZ #16701]
9094         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9095         implementation.
9096         * math/libm-test.inc (ceil_test_data): Add more tests.
9097
9098         * math/libm-test.inc (trunc_test_data): Add more tests related to
9099         BZ#16414.
9100
9101 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9102
9103         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9104         with #if rather than #ifdef.
9105         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9106
9107 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9108
9109         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9110         first.  Disable AVX-512 GCC support if assembler doesn't support
9111         it.
9112         * sysdeps/x86_64/configure: Regenerated.
9113
9114 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9115
9116         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9117         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9118         (__old_pthread_attr_setstack): Likewise.
9119         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9120         [!_STACK_GROWS_DOWN]: Likewise.
9121
9122 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9123
9124         * config.make.in (have-bash2): Delete.
9125         * configure.ac (libc_cv_have_bash2): Delete.
9126         * configure: Regenerate.
9127         * elf/Makefile (common-ldd-rewrite): Rename to ...
9128         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9129         (sh-ldd-rewrite): Delete.
9130         (bash-ldd-rewrite): Delete.
9131         (have-bash2): Delete checks.
9132         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9133         ldd-rewrite.
9134
9135         * config.make.in (have-ksh): Delete.
9136         (KSH): Delete.
9137         * configure.ac (libc_cv_have_ksh): Delete.
9138         * configure: Regenerate.
9139
9140         * elf/Makefile: Delete $(have-ksh) check.
9141         ($(objpfx)sotruss): Change KSH to BASH.
9142         * elf/sotruss.ksh: Rename to ...
9143         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9144         function style to match POSIX.  Drop ksh vim mode setting.
9145
9146         * manual/time.texi (Specifying the Time Zone with TZ): Change
9147         Tuesday to Thursday.
9148
9149         * debug/tst-longjmp_chk2.c: Update header comment.
9150         (stackoverflow_handler): Add comment.  Call assert on pass value.
9151
9152 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9153
9154         [BZ #16194]
9155         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9156         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9157         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9158         (La_x86_64_vector): Add zmm.
9159         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9160         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9161         ($(objpfx)tst-audit10): New target.
9162         ($(objpfx)tst-audit10.out): Likewise.
9163         (tst-audit10-ENV): New.
9164         (AVX512-CFLAGS): Likewise.
9165         (CFLAGS-tst-audit10.c): Likewise.
9166         (CFLAGS-tst-auditmod10a.c): Likewise.
9167         (CFLAGS-tst-auditmod10b.c): Likewise.
9168         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9169         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9170         * sysdeps/x86_64/configure: Regenerated.
9171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9172         AVX-512 zmm register support.
9173         (_dl_x86_64_save_sse): Likewise.
9174         (_dl_x86_64_restore_sse): Likewise.
9175         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9176         size vector registers.
9177         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9178         (ZMM_SIZE): Likewise.
9179         * sysdeps/x86_64/tst-audit10.c: New file.
9180         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9181         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9182
9183 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9184
9185         * configure.ac (HAVE_EHDR_START): New check.
9186         * configure: Regenerated.
9187         * config.h.in (HAVE_EHDR_START): New #undef.
9188         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9189         assuming the lowest-addressed segment maps the start of the file.
9190
9191 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9192
9193         * INSTALL: Regenerated.
9194
9195 2014-03-13  Will Newton  <will.newton@linaro.org>
9196
9197         * manual/setjmp.texi (System V contexts): Improve
9198         clarity and grammar of documentation.
9199
9200 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9201
9202         [BZ #16381]
9203         * elf/Makefile (tests): Add tst-pie2.
9204         (tests-pie): Add tst-pie2.
9205         * elf/tst-pie2.c: New file.
9206         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9207         for ET_EXEC.
9208         * elf/rtld.c (map_doit): Load executable as lt_executable.
9209         (dl_main): Likewise.
9210
9211 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9212
9213         [BZ #16642]
9214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9215         (__ASSUME_PSELECT): Undefine.
9216
9217 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9218
9219         [BZ #16689]
9220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9221         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9222         static build.
9223         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9224         selector for static builds.
9225
9226 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9227
9228         [BZ #16695]
9229         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9230         key in the buffer.
9231
9232 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9233
9234         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9235         IFUNC selector for static builds.
9236
9237 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9238
9239         * sysdeps/mips/math_private.h [__mips_hard_float]
9240         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9241         libc_feresetround_mips_ctx.
9242         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9243         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9244         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9245
9246         [BZ #16677]
9247         * math/s_nextafter.c (__nextafter): Do not return value from
9248         overflowing computation.
9249         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9250         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9251         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9252         Likewise.
9253         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9254         Likewise.
9255         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9256         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9257
9258 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9259
9260         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9261         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9262         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9263         the new mov targetting sp.
9264
9265 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9266
9267         [BZ #16683]
9268         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9269         Define it for static builds as well.
9270         (NO_BZERO_IMPL): Likewise.
9271
9272 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9273
9274         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9275         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9276         multiarch strspn for PPC64.
9277         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9278         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9280         (__libc_ifunc_impl_list): Likewise.
9281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9282         multiarch optimizations
9283         * string/strspn.c (strspn): Using macro to redefine symbol name.
9284
9285 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9286             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9287
9288         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9289         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9290         multiarch strncat for PPC64.
9291         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9292         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9294         (__libc_ifunc_impl_list): Likewise.
9295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9296         multiarch optimizations
9297
9298 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9299
9300         [BZ #16639]
9301         * nscd/nscd.service: Make service type forking.
9302
9303 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9304
9305         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9306         sign in non default rounding modes.
9307         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9308
9309 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9310
9311         * math/libm-test.inc (ALL_RM_TEST): New macro.
9312         (ceil_test): Use ALL_RM_TEST.
9313         (cimag_test): Likewise.
9314         (conj_test): Likewise.
9315         (copysign_test): Likewise.
9316         (cproj_test): Likewise.
9317         (creal_test): Likewise.
9318         (fabs_test): Likewise.
9319         (floor_test): Likewise.
9320         (fmax_test): Likewise.
9321         (fmin_test): Likewise.
9322         (fmod_test): Likewise.
9323         (fpclassify_test): Likewise.
9324         (frexp_test): Likewise.
9325         (ilogb_test): Likewise.
9326         (isfinite_test): Likewise.
9327         (finite_test): Likewise.
9328         (isgreater_test): Likewise.
9329         (isgreaterequal_test): Likewise.
9330         (isinf_test): Likewise.
9331         (isless_test): Likewise.
9332         (islessequal_test): Likewise.
9333         (islessgreater_test): Likewise.
9334         (isnan_test): Likewise.
9335         (isnormal_test): Likewise.
9336         (issignaling_test): Likewise.
9337         (isunordered_test): Likewise.
9338         (logb_test): Likewise.
9339         (logb_downward_test_data): Remove.
9340         (logb_test_downward): Likewise.
9341         (lround_test): Use ALL_RM_TEST.
9342         (llround_test): Likewise.
9343         (modf_test): Likewise.
9344         (nexttoward_test): Likewise.
9345         (remainder_test): Likewise.
9346         (drem_test): Likewise.
9347         (remainder_tonearest_test_data): Likewise.
9348         (remainder_test_tonearest): Likewise.
9349         (drem_test_tonearest): Likewise.
9350         (remainder_towardzero_test_data): Likewise.
9351         (remainder_test_towardzero): Likewise.
9352         (drem_test_towardzero): Likewise.
9353         (remainder_downward_test_data): Likewise.
9354         (remainder_test_downward): Likewise.
9355         (drem_test_downward): Likewise.
9356         (remainder_upward_test_data): Likewise.
9357         (remainder_test_upward): Likewise.
9358         (drem_test_upward): Likewise.
9359         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9360         (round_test): Use ALL_RM_TEST.
9361         (signbit_test): Likewise.
9362         (trunc_test): Likewise.
9363         (significand_test): Likewise.
9364         (main): Don't call removed functions.
9365
9366 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9367
9368         [BZ #16674]
9369         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9370         || __USE_XOPEN2K8].
9371         (ILL_ILLOPN): Likewise.
9372         (ILL_ILLADR): Likewise.
9373         (ILL_ILLTRP): Likewise.
9374         (ILL_PRVOPC): Likewise.
9375         (ILL_PRVREG): Likewise.
9376         (ILL_COPROC): Likewise.
9377         (ILL_BADSTK): Likewise.
9378         (FPE_INTDIV): Likewise.
9379         (FPE_INTOVF): Likewise.
9380         (FPE_FLTDIV): Likewise.
9381         (FPE_FLTOVF): Likewise.
9382         (FPE_FLTUND): Likewise.
9383         (FPE_FLTRES): Likewise.
9384         (FPE_FLTINV): Likewise.
9385         (FPE_FLTSUB): Likewise.
9386         (SEGV_MAPERR): Likewise.
9387         (SEGV_ACCERR): Likewise.
9388         (BUS_ADRALN): Likewise.
9389         (BUS_ADRERR): Likewise.
9390         (BUS_OBJERR): Likewise.
9391         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9392         (TRAP_TRACE): Likewise.
9393         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9394         __USE_XOPEN2K8].
9395         (CLD_KILLED): Likewise.
9396         (CLD_DUMPED): Likewise.
9397         (CLD_TRAPPED): Likewise.
9398         (CLD_STOPPED): Likewise.
9399         (CLD_CONTINUED): Likewise.
9400         (POLL_IN): Likewise.
9401         (POLL_OUT): Likewise.
9402         (POLL_MSG): Likewise.
9403         (POLL_ERR): Likewise.
9404         (POLL_PRI): Likewise.
9405         (POLL_HUP): Likewise.
9406         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9407         Likewise.
9408         (ILL_ILLOPN): Likewise.
9409         (ILL_ILLADR): Likewise.
9410         (ILL_ILLTRP): Likewise.
9411         (ILL_PRVOPC): Likewise.
9412         (ILL_PRVREG): Likewise.
9413         (ILL_COPROC): Likewise.
9414         (ILL_BADSTK): Likewise.
9415         (FPE_INTDIV): Likewise.
9416         (FPE_INTOVF): Likewise.
9417         (FPE_FLTDIV): Likewise.
9418         (FPE_FLTOVF): Likewise.
9419         (FPE_FLTUND): Likewise.
9420         (FPE_FLTRES): Likewise.
9421         (FPE_FLTINV): Likewise.
9422         (FPE_FLTSUB): Likewise.
9423         (SEGV_MAPERR): Likewise.
9424         (SEGV_ACCERR): Likewise.
9425         (BUS_ADRALN): Likewise.
9426         (BUS_ADRERR): Likewise.
9427         (BUS_OBJERR): Likewise.
9428         (BUS_MCEERR_AR): Likewise.
9429         (BUS_MCEERR_AO): Likewise.
9430         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9431         (TRAP_TRACE): Likewise.
9432         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9433         __USE_XOPEN2K8].
9434         (CLD_KILLED): Likewise.
9435         (CLD_DUMPED): Likewise.
9436         (CLD_TRAPPED): Likewise.
9437         (CLD_STOPPED): Likewise.
9438         (CLD_CONTINUED): Likewise.
9439         (POLL_IN): Likewise.
9440         (POLL_OUT): Likewise.
9441         (POLL_MSG): Likewise.
9442         (POLL_ERR): Likewise.
9443         (POLL_PRI): Likewise.
9444         (POLL_HUP): Likewise.
9445         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9446         (ILL_ILLOPN): Likewise.
9447         (ILL_ILLADR): Likewise.
9448         (ILL_ILLTRP): Likewise.
9449         (ILL_PRVOPC): Likewise.
9450         (ILL_PRVREG): Likewise.
9451         (ILL_COPROC): Likewise.
9452         (ILL_BADSTK): Likewise.
9453         (FPE_INTDIV): Likewise.
9454         (FPE_INTOVF): Likewise.
9455         (FPE_FLTDIV): Likewise.
9456         (FPE_FLTOVF): Likewise.
9457         (FPE_FLTUND): Likewise.
9458         (FPE_FLTRES): Likewise.
9459         (FPE_FLTINV): Likewise.
9460         (FPE_FLTSUB): Likewise.
9461         (SEGV_MAPERR): Likewise.
9462         (SEGV_ACCERR): Likewise.
9463         (BUS_ADRALN): Likewise.
9464         (BUS_ADRERR): Likewise.
9465         (BUS_OBJERR): Likewise.
9466         (BUS_MCEERR_AR): Likewise.
9467         (BUS_MCEERR_AO): Likewise.
9468         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9469         (TRAP_TRACE): Likewise.
9470         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9471         __USE_XOPEN2K8].
9472         (CLD_KILLED): Likewise.
9473         (CLD_DUMPED): Likewise.
9474         (CLD_TRAPPED): Likewise.
9475         (CLD_STOPPED): Likewise.
9476         (CLD_CONTINUED): Likewise.
9477         (POLL_IN): Likewise.
9478         (POLL_OUT): Likewise.
9479         (POLL_MSG): Likewise.
9480         (POLL_ERR): Likewise.
9481         (POLL_PRI): Likewise.
9482         (POLL_HUP): Likewise.
9483         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9484         Likewise.
9485         (ILL_ILLOPN): Likewise.
9486         (ILL_ILLADR): Likewise.
9487         (ILL_ILLTRP): Likewise.
9488         (ILL_PRVOPC): Likewise.
9489         (ILL_PRVREG): Likewise.
9490         (ILL_COPROC): Likewise.
9491         (ILL_BADSTK): Likewise.
9492         (ILL_BADIADDR): Likewise.
9493         (ILL_BREAK): Likewise.
9494         (FPE_INTDIV): Likewise.
9495         (FPE_INTOVF): Likewise.
9496         (FPE_FLTDIV): Likewise.
9497         (FPE_FLTOVF): Likewise.
9498         (FPE_FLTUND): Likewise.
9499         (FPE_FLTRES): Likewise.
9500         (FPE_FLTINV): Likewise.
9501         (FPE_FLTSUB): Likewise.
9502         (FPE_DECOVF): Likewise.
9503         (FPE_DECDIV): Likewise.
9504         (FPE_DECERR): Likewise.
9505         (FPE_INVASC): Likewise.
9506         (FPE_INVDEC): Likewise.
9507         (SEGV_MAPERR): Likewise.
9508         (SEGV_ACCERR): Likewise.
9509         (SEGV_PSTKOVF): Likewise.
9510         (BUS_ADRALN): Likewise.
9511         (BUS_ADRERR): Likewise.
9512         (BUS_OBJERR): Likewise.
9513         (BUS_MCEERR_AR): Likewise.
9514         (BUS_MCEERR_AO): Likewise.
9515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9516         (TRAP_TRACE): Likewise.
9517         (TRAP_BRANCH): Likewise.
9518         (TRAP_HWBKPT): Likewise.
9519         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9520         __USE_XOPEN2K8].
9521         (CLD_KILLED): Likewise.
9522         (CLD_DUMPED): Likewise.
9523         (CLD_TRAPPED): Likewise.
9524         (CLD_STOPPED): Likewise.
9525         (CLD_CONTINUED): Likewise.
9526         (POLL_IN): Likewise.
9527         (POLL_OUT): Likewise.
9528         (POLL_MSG): Likewise.
9529         (POLL_ERR): Likewise.
9530         (POLL_PRI): Likewise.
9531         (POLL_HUP): Likewise.
9532         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9533         (ILL_ILLOPN): Likewise.
9534         (ILL_ILLADR): Likewise.
9535         (ILL_ILLTRP): Likewise.
9536         (ILL_PRVOPC): Likewise.
9537         (ILL_PRVREG): Likewise.
9538         (ILL_COPROC): Likewise.
9539         (ILL_BADSTK): Likewise.
9540         (FPE_INTDIV): Likewise.
9541         (FPE_INTOVF): Likewise.
9542         (FPE_FLTDIV): Likewise.
9543         (FPE_FLTOVF): Likewise.
9544         (FPE_FLTUND): Likewise.
9545         (FPE_FLTRES): Likewise.
9546         (FPE_FLTINV): Likewise.
9547         (FPE_FLTSUB): Likewise.
9548         (SEGV_MAPERR): Likewise.
9549         (SEGV_ACCERR): Likewise.
9550         (BUS_ADRALN): Likewise.
9551         (BUS_ADRERR): Likewise.
9552         (BUS_OBJERR): Likewise.
9553         (BUS_MCEERR_AR): Likewise.
9554         (BUS_MCEERR_AO): Likewise.
9555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9556         (TRAP_TRACE): Likewise.
9557         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9558         __USE_XOPEN2K8].
9559         (CLD_KILLED): Likewise.
9560         (CLD_DUMPED): Likewise.
9561         (CLD_TRAPPED): Likewise.
9562         (CLD_STOPPED): Likewise.
9563         (CLD_CONTINUED): Likewise.
9564         (POLL_IN): Likewise.
9565         (POLL_OUT): Likewise.
9566         (POLL_MSG): Likewise.
9567         (POLL_ERR): Likewise.
9568         (POLL_PRI): Likewise.
9569         (POLL_HUP): Likewise.
9570         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9571         (ILL_ILLOPN): Likewise.
9572         (ILL_ILLADR): Likewise.
9573         (ILL_ILLTRP): Likewise.
9574         (ILL_PRVOPC): Likewise.
9575         (ILL_PRVREG): Likewise.
9576         (ILL_COPROC): Likewise.
9577         (ILL_BADSTK): Likewise.
9578         (FPE_INTDIV): Likewise.
9579         (FPE_INTOVF): Likewise.
9580         (FPE_FLTDIV): Likewise.
9581         (FPE_FLTOVF): Likewise.
9582         (FPE_FLTUND): Likewise.
9583         (FPE_FLTRES): Likewise.
9584         (FPE_FLTINV): Likewise.
9585         (FPE_FLTSUB): Likewise.
9586         (SEGV_MAPERR): Likewise.
9587         (SEGV_ACCERR): Likewise.
9588         (BUS_ADRALN): Likewise.
9589         (BUS_ADRERR): Likewise.
9590         (BUS_OBJERR): Likewise.
9591         (BUS_MCEERR_AR): Likewise.
9592         (BUS_MCEERR_AO): Likewise.
9593         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9594         (TRAP_TRACE): Likewise.
9595         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9596         __USE_XOPEN2K8].
9597         (CLD_KILLED): Likewise.
9598         (CLD_DUMPED): Likewise.
9599         (CLD_TRAPPED): Likewise.
9600         (CLD_STOPPED): Likewise.
9601         (CLD_CONTINUED): Likewise.
9602         (POLL_IN): Likewise.
9603         (POLL_OUT): Likewise.
9604         (POLL_MSG): Likewise.
9605         (POLL_ERR): Likewise.
9606         (POLL_PRI): Likewise.
9607         (POLL_HUP): Likewise.
9608         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9609         (ILL_ILLOPN): Likewise.
9610         (ILL_ILLADR): Likewise.
9611         (ILL_ILLTRP): Likewise.
9612         (ILL_PRVOPC): Likewise.
9613         (ILL_PRVREG): Likewise.
9614         (ILL_COPROC): Likewise.
9615         (ILL_BADSTK): Likewise.
9616         (FPE_INTDIV): Likewise.
9617         (FPE_INTOVF): Likewise.
9618         (FPE_FLTDIV): Likewise.
9619         (FPE_FLTOVF): Likewise.
9620         (FPE_FLTUND): Likewise.
9621         (FPE_FLTRES): Likewise.
9622         (FPE_FLTINV): Likewise.
9623         (FPE_FLTSUB): Likewise.
9624         (SEGV_MAPERR): Likewise.
9625         (SEGV_ACCERR): Likewise.
9626         (BUS_ADRALN): Likewise.
9627         (BUS_ADRERR): Likewise.
9628         (BUS_OBJERR): Likewise.
9629         (BUS_MCEERR_AR): Likewise.
9630         (BUS_MCEERR_AO): Likewise.
9631         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9632         (TRAP_TRACE): Likewise.
9633         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9634         __USE_XOPEN2K8].
9635         (CLD_KILLED): Likewise.
9636         (CLD_DUMPED): Likewise.
9637         (CLD_TRAPPED): Likewise.
9638         (CLD_STOPPED): Likewise.
9639         (CLD_CONTINUED): Likewise.
9640         (POLL_IN): Likewise.
9641         (POLL_OUT): Likewise.
9642         (POLL_MSG): Likewise.
9643         (POLL_ERR): Likewise.
9644         (POLL_PRI): Likewise.
9645         (POLL_HUP): Likewise.
9646         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9647         (ILL_ILLOPN): Likewise.
9648         (ILL_ILLADR): Likewise.
9649         (ILL_ILLTRP): Likewise.
9650         (ILL_PRVOPC): Likewise.
9651         (ILL_PRVREG): Likewise.
9652         (ILL_COPROC): Likewise.
9653         (ILL_BADSTK): Likewise.
9654         (ILL_DBLFLT): Likewise.
9655         (ILL_HARDWALL): Likewise.
9656         (FPE_INTDIV): Likewise.
9657         (FPE_INTOVF): Likewise.
9658         (FPE_FLTDIV): Likewise.
9659         (FPE_FLTOVF): Likewise.
9660         (FPE_FLTUND): Likewise.
9661         (FPE_FLTRES): Likewise.
9662         (FPE_FLTINV): Likewise.
9663         (FPE_FLTSUB): Likewise.
9664         (SEGV_MAPERR): Likewise.
9665         (SEGV_ACCERR): Likewise.
9666         (BUS_ADRALN): Likewise.
9667         (BUS_ADRERR): Likewise.
9668         (BUS_OBJERR): Likewise.
9669         (BUS_MCEERR_AR): Likewise.
9670         (BUS_MCEERR_AO): Likewise.
9671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9672         (TRAP_TRACE): Likewise.
9673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9674         __USE_XOPEN2K8].
9675         (CLD_KILLED): Likewise.
9676         (CLD_DUMPED): Likewise.
9677         (CLD_TRAPPED): Likewise.
9678         (CLD_STOPPED): Likewise.
9679         (CLD_CONTINUED): Likewise.
9680         (POLL_IN): Likewise.
9681         (POLL_OUT): Likewise.
9682         (POLL_MSG): Likewise.
9683         (POLL_ERR): Likewise.
9684         (POLL_PRI): Likewise.
9685         (POLL_HUP): Likewise.
9686         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9687         (ILL_ILLOPN): Likewise.
9688         (ILL_ILLADR): Likewise.
9689         (ILL_ILLTRP): Likewise.
9690         (ILL_PRVOPC): Likewise.
9691         (ILL_PRVREG): Likewise.
9692         (ILL_COPROC): Likewise.
9693         (ILL_BADSTK): Likewise.
9694         (FPE_INTDIV): Likewise.
9695         (FPE_INTOVF): Likewise.
9696         (FPE_FLTDIV): Likewise.
9697         (FPE_FLTOVF): Likewise.
9698         (FPE_FLTUND): Likewise.
9699         (FPE_FLTRES): Likewise.
9700         (FPE_FLTINV): Likewise.
9701         (FPE_FLTSUB): Likewise.
9702         (SEGV_MAPERR): Likewise.
9703         (SEGV_ACCERR): Likewise.
9704         (BUS_ADRALN): Likewise.
9705         (BUS_ADRERR): Likewise.
9706         (BUS_OBJERR): Likewise.
9707         (BUS_MCEERR_AR): Likewise.
9708         (BUS_MCEERR_AO): Likewise.
9709         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9710         (TRAP_TRACE): Likewise.
9711         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9712         __USE_XOPEN2K8].
9713         (CLD_KILLED): Likewise.
9714         (CLD_DUMPED): Likewise.
9715         (CLD_TRAPPED): Likewise.
9716         (CLD_STOPPED): Likewise.
9717         (CLD_CONTINUED): Likewise.
9718         (POLL_IN): Likewise.
9719         (POLL_OUT): Likewise.
9720         (POLL_MSG): Likewise.
9721         (POLL_ERR): Likewise.
9722         (POLL_PRI): Likewise.
9723         (POLL_HUP): Likewise.
9724         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9725         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9726
9727         [BZ #16670]
9728         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9729         before #include of <time.h>.
9730         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9731         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9732         (test-xfail-UNIX98/sched.h/conform): Likewise.
9733
9734 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9735
9736         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9737         error absence of trapping exception support.
9738         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9739
9740 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9741
9742         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9743         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9744         * timezone/Makefile (testdata): Move definition above include of
9745         Rules.
9746         (test-zones): New variable.
9747         (tests-special): Add zone files.
9748         (build-testdata): Use $(evaluate-test).
9749
9750         * elf/Makefile (tests-special): Rename tests to end with .out.
9751         ($(objpfx)noload-mem): Likewise.
9752         ($(objpfx)tst-leaks1-mem): Likewise.
9753         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9754         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9755         $(objpfx)test-iconvconfig.out.
9756         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9757         set -e inside subshell and redirect output to file.
9758         * iconvdata/Makefile (generated): Rename tests to end with .out.
9759         Correct type.
9760         (tests-special): Rename tests to end with .out.
9761         ($(objpfx)mtrace-tst-loading): Likewise.
9762         * intl/Makefile (generated): Likewise.
9763         (tests-special): Likewise.
9764         ($(objpfx)mtrace-tst-gettext): Likewise.
9765         * misc/Makefile (generated): Likewise.
9766         (tests-special): Likewise.
9767         ($(objpfx)tst-error1-mem): Likewise.
9768         * nptl/Makefile (tests-special): Likewise.
9769         ($(objpfx)tst-stack3-mem): Likewise.
9770         (generated): Likewise.
9771         * posix/Makefile (generated): Likewise.
9772         (tests-special): Likewise.
9773         (xtests-special): Likewise.
9774         ($(objpfx)tst-fnmatch-mem): Likewise.
9775         ($(objpfx)bug-regex2-mem): Likewise.
9776         ($(objpfx)bug-regex14-mem): Likewise.
9777         ($(objpfx)bug-regex21-mem): Likewise.
9778         ($(objpfx)bug-regex31-mem): Likewise.
9779         ($(objpfx)tst-vfork3-mem): Likewise.
9780         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9781         ($(objpfx)tst-pcre-mem): Likewise.
9782         ($(objpfx)tst-boost-mem): Likewise.
9783         ($(objpfx)bug-ga2-mem): Likewise.
9784         ($(objpfx)bug-glob2-mem): Likewise.
9785         * resolv/Makefile (generate): Likewise.
9786         (tests-special): Likewise.
9787         (xtests-special): Likewise.
9788         (generated): Likewise.
9789         ($(objpfx)mtrace-tst-leaks): Likewise.
9790         ($(objpfx)mtrace-tst-leaks2): Likewise.
9791
9792         * scripts/merge-test-results.sh: New file.
9793         * Makefile (tests-special-notdir): New variable.
9794         (tests): Run merge-test-results.sh.
9795         (xtests): Likewise.
9796         * Rules (tests-special-notdir): New variable.
9797         (xtests-special-notdir): Likewise.
9798         (tests): Run merge-test-results.sh
9799         (xtests): Likewise.
9800
9801         * Makeconfig (test-xfail-name): New variable.
9802         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9803         compute variable name for expected failures.
9804         * conform/Makefile (conformtest-headers-data): New variable.
9805         (conformtest-standards): Likewise.
9806         (conformtest-headers-ISO): Likewise.
9807         (conformtest-headers-ISO99): Likewise.
9808         (conformtest-headers-ISO11): Likewise.
9809         (conformtest-headers-POSIX): Likewise.
9810         (conformtest-headers-XPG3): Likewise.
9811         (conformtest-headers-XPG4): Likewise.
9812         (conformtest-headers-UNIX98): Likewise.
9813         (conformtest-headers-XOPEN2K): Likewise.
9814         (conformtest-headers-POSIX2008): Likewise.
9815         (conformtest-headers-XOPEN2K8): Likewise.
9816         (conformtest-header-list-base): Likewise.
9817         (conformtest-header-list-tests): Likewise.
9818         (conformtest-header-base): Likewise.
9819         (conformtest-header-tests): Likewise.
9820         (tests-special): Add $(conformtest-header-list-tests).  If
9821         [$(fast-check) && !$(cross-compiling)], add
9822         $(conformtest-header-tests) instead of
9823         $(objpfx)run-conformtest.out.
9824         (generated): Add $(conformtest-header-list-base).  If
9825         [$(fast-check) && !$(cross-compiling)], add
9826         $(conformtest-header-base).  Remove previous setting.
9827         ($(conformtest-header-list-tests)): New target.
9828         (test-xfail-run-conformtest): Remove variable.
9829         ($(objpfx)run-conformtest.out): Remove target.
9830         (test-xfail-ISO11/complex.h/conform): New variable.
9831         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9832         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9833         (test-xfail-XPG3/varargs.h/conform): Likewise.
9834         (test-xfail-XPG4/varargs.h/conform): Likewise.
9835         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9836         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9837         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9838         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9839         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9840         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9841         (test-xfail-XPG3/ftw.h/conform): Likewise.
9842         (test-xfail-XPG3/grp.h/conform): Likewise.
9843         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9844         (test-xfail-XPG3/limits.h/conform): Likewise.
9845         (test-xfail-XPG3/pwd.h/conform): Likewise.
9846         (test-xfail-XPG3/search.h/conform): Likewise.
9847         (test-xfail-XPG3/signal.h/conform): Likewise.
9848         (test-xfail-XPG3/stdio.h/conform): Likewise.
9849         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9850         (test-xfail-XPG3/string.h/conform): Likewise.
9851         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9852         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9853         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9854         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9855         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9856         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9857         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9858         (test-xfail-XPG3/termios.h/conform): Likewise.
9859         (test-xfail-XPG3/time.h/conform): Likewise.
9860         (test-xfail-XPG3/unistd.h/conform): Likewise.
9861         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9862         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9863         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9864         (test-xfail-XPG4/netdb.h/conform): Likewise.
9865         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9866         (test-xfail-XPG4/signal.h/conform): Likewise.
9867         (test-xfail-XPG4/stdio.h/conform): Likewise.
9868         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9869         (test-xfail-XPG4/stropts.h/conform): Likewise.
9870         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9871         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9872         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9873         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9874         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9875         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9876         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9877         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9878         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9879         (test-xfail-XPG4/termios.h/conform): Likewise.
9880         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9881         (test-xfail-XPG4/unistd.h/conform): Likewise.
9882         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9883         (test-xfail-POSIX/sched.h/conform): Likewise.
9884         (test-xfail-POSIX/signal.h/conform): Likewise.
9885         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9886         (test-xfail-POSIX/tar.h/conform): Likewise.
9887         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9888         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9889         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9890         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9891         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9892         (test-xfail-UNIX98/sched.h/conform): Likewise.
9893         (test-xfail-UNIX98/signal.h/conform): Likewise.
9894         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9895         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9896         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9897         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9898         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9899         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9900         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9901         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9902         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9903         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9904         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9905         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9906         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9907         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9908         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9909         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9910         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9911         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9912         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9913         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9914         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9915         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9916         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9917         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9918         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9919         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9920         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9921         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9922         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9923         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9924         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9925         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9926         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9927         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9928         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9929         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9930         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9931         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9932         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9933         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9934         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9935         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9936         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9937         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9938         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9939         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9940         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9941         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9942         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9943         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9944         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9945         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9946         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9947         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9948         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9949         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9950         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9951         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9952         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9953         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9954         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9955         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9956         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9957         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9958         (conformtest-cc-flags): Likewise.
9959         ($(conformtest-header-tests): New target.
9960         * conform/check-header-lists.sh: New file.
9961         * conform/run-conformtest.sh: Remove.
9962
9963         * conform/conformtest.pl: Allow ' and \ in values given for
9964         constants.
9965         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9966         inclusion.
9967         [POSIX] (sys/types.h): Likewise.
9968         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9969         inclusion.
9970         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9971         inclusion.
9972         * conform/data/signal.h-data (SIGIO): Remove expectation.
9973         [XPG3] (SIGBUS): Do not expect.
9974         [POSIX || XPG3] (SIGPOLL): Likewise.
9975         [POSIX || XPG3] (SIGPROF): Likewise.
9976         [POSIX || XPG3] (SIGSYS): Likewise.
9977         [XPG3] (SIGTRAP): Likewise.
9978         [POSIX || XPG3] (SIGURG): Likewise.
9979         [POSIX || XPG3] (SIGVTALRM): Likewise.
9980         [POSIX || XPG3] (SIGXCPU): Likewise.
9981         [POSIX || XPG3] (SIGXFSZ): Likewise.
9982         [POSIX] (SA_SIGINFO): Expect.
9983         [XPG3] (siginfo_t): Do not expect type or contents.
9984         [POSIX] (si_pid): Do not expect element.
9985         [POSIX] (si_uid): Likewise.
9986         [POSIX] (si_addr): Likewise.
9987         [POSIX] (si_status): Likewise.
9988         [POSIX] (si_band): Likewise.
9989         [XPG4] (si_value): Likewise.
9990         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9991         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9992         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9993         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9994         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9995         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9996         [POSIX || XPG3] (ILL_COPROC): Likewise.
9997         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9998         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9999         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10000         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10001         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10002         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10003         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10004         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10005         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10006         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10007         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10008         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10009         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10010         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10011         [POSIX || XPG3] (CLD_EXITED): Likewise.
10012         [POSIX || XPG3] (CLD_KILLED): Likewise.
10013         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10014         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10015         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10016         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10017         [POSIX || XPG3] (POLL_IN): Likewise.
10018         [POSIX || XPG3] (POLL_OUT): Likewise.
10019         [POSIX || XPG3] (POLL_MSG): Likewise.
10020         [POSIX || XPG3] (POLL_ERR): Likewise.
10021         [POSIX || XPG3] (POLL_PRI): Likewise.
10022         [POSIX || XPG3] (POLL_HUP): Likewise.
10023         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10024         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10025         (SIG*): Do not allow.
10026         [XPG3] (si_*): Likewise.
10027         [XPG3] (SI_*): Likewise.
10028         [XPG3 || XPG4] (sigev_*): Likewise.
10029         [XPG3 || XPG4] (SIGEV_*): Likewise.
10030         [XPG3 || XPG4] (sival_*): Likewise.
10031         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10032         [POSIX || XPG3] (BUS_*): Likewise.
10033         [POSIX || XPG3] (CLD_*): Likewise.
10034         [POSIX || XPG3] (FPE_*): Likewise.
10035         [POSIX || XPG3] (ILL_*): Likewise.
10036         [POSIX || XPG3] (POLL_*): Likewise.
10037         [POSIX || XPG3] (SEGV_*): Likewise.
10038         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10039         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10040         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10041         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10042         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10043         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10044         Specify type and value.
10045         (TVERSLEN): Likewise.
10046         (REGTYPE): Likewise.
10047         (AREGTYPE): Likewise.
10048         (LNKTYPE): Likewise.
10049         (SYMTYPE): Likewise.
10050         (CHRTYPE): Likewise.
10051         (BLKTYPE): Likewise.
10052         (DIRTYPE): Likewise.
10053         (FIFOTYPE): Likewise.
10054         (CONTTYPE): Likewise.
10055         (TSUID): Likewise.
10056         (TSGID): Likewise.
10057         (TSVTX): Likewise.
10058         (TUREAD): Likewise.
10059         (TUWRITE): Likewise.
10060         (TUEXEC): Likewise.
10061         (TGREAD): Likewise.
10062         (TGWRITE): Likewise.
10063         (TGEXEC): Likewise.
10064         (TOREAD): Likewise.
10065         (TOWRITE): Likewise.
10066         (TOEXEC): Likewise.
10067         [POSIX] (TSVTX): Expect constant.
10068
10069 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10070
10071         * Makefile (tests): Change dependencies to ....
10072         (tests-special): ... additions to this variable.
10073         (tests): Depend on $(tests-special).
10074         * Makerules (check-abi-list): New variable.
10075         (check-abi): Depend on $(check-abi-list).
10076         [$(subdir) = elf] (tests-special): Add
10077         $(objpfx)check-abi-libc.out.
10078         [$(build-shared) = yes && subdir] (tests-special): Add
10079         $(check-abi-list).
10080         [$(build-shared) = yes && subdir] (tests): Do not depend on
10081         check-abi.
10082         * Rules (tests): Depend on $(tests-special).
10083         (xtests): Depend on $(xtests-special).
10084         * catgets/Makefile (tests): Change dependencies to ....
10085         (tests-special): ... additions to this variable.
10086         * conform/Makefile (tests): Change dependencies to ....
10087         (tests-special): ... additions to this variable.
10088         * elf/Makefile (tests): Change dependencies to ....
10089         (tests-special): ... additions to this variable.
10090         * grp/Makefile (tests): Change dependencies to ....
10091         (tests-special): ... additions to this variable.
10092         * iconv/Makefile (xtests): Change dependencies to ....
10093         (xtests-special): ... additions to this variable.
10094         * iconvdata/Makefile (tests): Change dependencies to ....
10095         (tests-special): ... additions to this variable.
10096         * intl/Makefile (tests): Change dependencies to ....
10097         (tests-special): ... additions to this variable.  Also add
10098         $(objpfx)tst-gettext.out.
10099         * io/Makefile (tests): Change dependencies to ....
10100         (tests-special): ... additions to this variable.
10101         * libio/Makefile (tests): Change dependencies to ....
10102         (tests-special): ... additions to this variable.
10103         * malloc/Makefile (tests): Change dependencies to ....
10104         (tests-special): ... additions to this variable.
10105         * misc/Makefile (tests): Change dependencies to ....
10106         (tests-special): ... additions to this variable.
10107         * nptl/Makefile (tests): Change dependencies to ....
10108         (tests-special): ... additions to this variable.
10109         * nptl_db/Makefile (tests): Change dependencies to ....
10110         (tests-special): ... additions to this variable.
10111         * posix/Makefile (tests): Change dependencies to ....
10112         (tests-special): ... additions to this variable.
10113         (xtests): Change dependencies to ....
10114         (xtests-special): ... additions to this variable.
10115         * resolv/Makefile (tests): Change dependencies to ....
10116         (tests-special): ... additions to this variable.
10117         (xtests): Change dependencies to ....
10118         (xtests-special): ... additions to this variable.
10119         * stdio-common/Makefile (tests): Change dependencies to ....
10120         (tests-special): ... additions to this variable.
10121         (do-tst-unbputc): Remove target.
10122         (do-tst-printf): Likewise.
10123         * stdlib/Makefile (tests): Change dependencies to ....
10124         (tests-special): ... additions to this variable.
10125         * string/Makefile (tests): Change dependencies to ....
10126         (tests-special): ... additions to this variable.
10127         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10128         (tests-special): ... additions to this variable.
10129
10130         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10131         whole file.
10132         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10133         whole file.
10134         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10135         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10136
10137         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10138         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10139         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10140         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10141         * conform/data/libgen.h-data [XPG3]: Likewise.
10142         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10143         * conform/data/ndbm.h-data [XPG3]: Likewise.
10144         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10145         * conform/data/netdb.h-data [XPG3]: Likewise.
10146         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10147         * conform/data/poll.h-data [XPG3]: Likewise.
10148         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10149         * conform/data/strings.h-data [XPG3]: Likewise.
10150         * conform/data/stropts.h-data [XPG3]: Likewise.
10151         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10152         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10153         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10154         Likewise.
10155         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10156         * conform/data/sys/time.h-data [XPG3]: Likewise.
10157         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10158         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10159         * conform/data/sys/un.h-data [XPG3]: Likewise.
10160         * conform/data/syslog.h-data [XPG3]: Likewise.
10161         * conform/data/ucontext.h-data [XPG3]: Likewise.
10162         * conform/data/utmpx.h-data [XPG3]: Likewise.
10163         * conform/data/varargs.h-data [UNIX98]: Enable file.
10164
10165         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10166
10167         * math/libm-test.inc (struct test_f_f_data): Move expected results
10168         into structure for each rounding mode.
10169         (struct test_ff_f_data): Likewise.
10170         (struct test_ff_f_data_nexttoward): Likewise.
10171         (struct test_fi_f_data): Likewise.
10172         (struct test_fl_f_data): Likewise.
10173         (struct test_if_f_data): Likewise.
10174         (struct test_fff_f_data): Likewise.
10175         (struct test_c_f_data): Likewise.
10176         (struct test_f_f1_data): Likewise.
10177         (struct test_fF_f1_data): Likewise.
10178         (struct test_ffI_f1_data): Likewise.
10179         (struct test_c_c_data): Likewise.
10180         (struct test_cc_c_data): Likewise.
10181         (struct test_f_i_data): Likewise.
10182         (struct test_ff_i_data): Likewise.
10183         (struct test_f_l_data): Likewise.
10184         (struct test_f_L_data): Likewise.
10185         (struct test_fFF_11_data): Likewise.
10186         (RM_): New macro.
10187         (RM_FE_DOWNWARD): Likewise.
10188         (RM_FE_TONEAREST): Likewise.
10189         (RM_FE_TOWARDZERO): Likewise.
10190         (RM_FE_UPWARD): Likewise.
10191         (RUN_TEST_LOOP_f_f): Update references to expected results.
10192         (RUN_TEST_LOOP_2_f): Likewise.
10193         (RUN_TEST_LOOP_fff_f): Likewise.
10194         (RUN_TEST_LOOP_c_f): Likewise.
10195         (RUN_TEST_LOOP_f_f1): Likewise.
10196         (RUN_TEST_LOOP_fF_f1): Likewise.
10197         (RUN_TEST_LOOP_fI_f1): Likewise.
10198         (RUN_TEST_LOOP_ffI_f1): Likewise.
10199         (RUN_TEST_LOOP_c_c): Likewise.
10200         (RUN_TEST_LOOP_cc_c): Likewise.
10201         (RUN_TEST_LOOP_f_i): Likewise.
10202         (RUN_TEST_LOOP_f_i_tg): Likewise.
10203         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10204         (RUN_TEST_LOOP_f_b): Likewise.
10205         (RUN_TEST_LOOP_f_b_tg): Likewise.
10206         (RUN_TEST_LOOP_f_l): Likewise.
10207         (RUN_TEST_LOOP_f_L): Likewise.
10208         (RUN_TEST_LOOP_fFF_11): Likewise.
10209         * math/gen-libm-test.pl (parse_args): Output four copies of
10210         expected results for each test.
10211
10212         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10213         (__ASSUME_UTIMES): Remove.
10214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10215         (__ASSUME_UTIMES): Likewise.
10216
10217         * math/gen-auto-libm-tests.c: Update comment on output format.
10218         (output_for_one_input_case): Generate before-rounding and
10219         after-rounding information as conditions on output flags not
10220         floating-point format.
10221         * math/auto-libm-test-out: Regenerated.
10222         * math/gen-libm-test.pl (cond_value): New function.
10223         (or_cond_value): Use cond_value.
10224         (generate_testfile): Handle conditional exceptions.
10225
10226 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10227
10228         * math/libm-test.inc (max_valid_error): New variable.
10229         (init_max_error): Take new argument specifying whether function
10230         results are exactly determined.  Set max_valid_error and bound
10231         other variables for errors based on this argument.
10232         (set_max_error): Do not record results above max_valid_error.
10233         (check_float_internal): Only accept errors of up to 0.5ulps if
10234         also at most max_valid_error.
10235         (START): Take new argument EXACT and pass it to init_max_error.
10236         (acos_test): Update call to START.
10237         (acos_test_tonearest): Likewise.
10238         (acos_test_towardzero): Likewise.
10239         (acos_test_downward): Likewise.
10240         (acos_test_upward): Likewise.
10241         (acosh_test): Likewise.
10242         (asin_test): Likewise.
10243         (asin_test_tonearest): Likewise.
10244         (asin_test_towardzero): Likewise.
10245         (asin_test_downward): Likewise.
10246         (asin_test_upward): Likewise.
10247         (asinh_test): Likewise.
10248         (atan_test): Likewise.
10249         (atanh_test): Likewise.
10250         (atan2_test): Likewise.
10251         (cabs_test): Likewise.
10252         (cacos_test): Likewise.
10253         (cacosh_test): Likewise.
10254         (carg_test): Likewise.
10255         (casin_test): Likewise.
10256         (casinh_test): Likewise.
10257         (catan_test): Likewise.
10258         (catanh_test): Likewise.
10259         (cbrt_test): Likewise.
10260         (ccos_test): Likewise.
10261         (ccosh_test): Likewise.
10262         (ceil_test): Likewise.
10263         (cexp_test): Likewise.
10264         (cimag_test): Likewise.
10265         (clog_test): Likewise.
10266         (clog10_test): Likewise.
10267         (conj_test): Likewise.
10268         (copysign_test): Likewise.
10269         (cos_test): Likewise.
10270         (cos_test_tonearest): Likewise.
10271         (cos_test_towardzero): Likewise.
10272         (cos_test_downward): Likewise.
10273         (cos_test_upward): Likewise.
10274         (cosh_test): Likewise.
10275         (cosh_test_tonearest): Likewise.
10276         (cosh_test_towardzero): Likewise.
10277         (cosh_test_downward): Likewise.
10278         (cosh_test_upward): Likewise.
10279         (cpow_test): Likewise.
10280         (cproj_test): Likewise.
10281         (creal_test): Likewise.
10282         (csin_test): Likewise.
10283         (csinh_test): Likewise.
10284         (csqrt_test): Likewise.
10285         (ctan_test): Likewise.
10286         (ctan_test_tonearest): Likewise.
10287         (ctan_test_towardzero): Likewise.
10288         (ctan_test_downward): Likewise.
10289         (ctan_test_upward): Likewise.
10290         (ctanh_test): Likewise.
10291         (ctanh_test_tonearest): Likewise.
10292         (ctanh_test_towardzero): Likewise.
10293         (ctanh_test_downward): Likewise.
10294         (ctanh_test_upward): Likewise.
10295         (erf_test): Likewise.
10296         (erfc_test): Likewise.
10297         (exp_test): Likewise.
10298         (exp_test_tonearest): Likewise.
10299         (exp_test_towardzero): Likewise.
10300         (exp_test_downward): Likewise.
10301         (exp_test_upward): Likewise.
10302         (exp10_test): Likewise.
10303         (exp10_test_tonearest): Likewise.
10304         (exp10_test_towardzero): Likewise.
10305         (exp10_test_downward): Likewise.
10306         (exp10_test_upward): Likewise.
10307         (pow10_test): Likewise.
10308         (exp2_test): Likewise.
10309         (expm1_test): Likewise.
10310         (expm1_test_tonearest): Likewise.
10311         (expm1_test_towardzero): Likewise.
10312         (expm1_test_downward): Likewise.
10313         (expm1_test_upward): Likewise.
10314         (fabs_test): Likewise.
10315         (fdim_test): Likewise.
10316         (floor_test): Likewise.
10317         (fma_test): Likewise.
10318         (fma_test_towardzero): Likewise.
10319         (fma_test_downward): Likewise.
10320         (fma_test_upward): Likewise.
10321         (fmax_test): Likewise.
10322         (fmin_test): Likewise.
10323         (fmod_test): Likewise.
10324         (fpclassify_test): Likewise.
10325         (frexp_test): Likewise.
10326         (hypot_test): Likewise.
10327         (ilogb_test): Likewise.
10328         (isfinite_test): Likewise.
10329         (finite_test): Likewise.
10330         (isgreater_test): Likewise.
10331         (isgreaterequal_test): Likewise.
10332         (isinf_test): Likewise.
10333         (isless_test): Likewise.
10334         (islessequal_test): Likewise.
10335         (islessgreater_test): Likewise.
10336         (isnan_test): Likewise.
10337         (isnormal_test): Likewise.
10338         (issignaling_test): Likewise.
10339         (isunordered_test): Likewise.
10340         (j0_test): Likewise.
10341         (j1_test): Likewise.
10342         (jn_test): Likewise.
10343         (ldexp_test): Likewise.
10344         (lgamma_test): Likewise.
10345         (gamma_test): Likewise.
10346         (lrint_test): Likewise.
10347         (lrint_test_tonearest): Likewise.
10348         (lrint_test_towardzero): Likewise.
10349         (lrint_test_downward): Likewise.
10350         (lrint_test_upward): Likewise.
10351         (llrint_test): Likewise.
10352         (llrint_test_tonearest): Likewise.
10353         (llrint_test_towardzero): Likewise.
10354         (llrint_test_downward): Likewise.
10355         (llrint_test_upward): Likewise.
10356         (log_test): Likewise.
10357         (log10_test): Likewise.
10358         (log1p_test): Likewise.
10359         (log2_test): Likewise.
10360         (logb_test): Likewise.
10361         (logb_test_downward): Likewise.
10362         (lround_test): Likewise.
10363         (llround_test): Likewise.
10364         (modf_test): Likewise.
10365         (nearbyint_test): Likewise.
10366         (nextafter_test): Likewise.
10367         (nexttoward_test): Likewise.
10368         (pow_test): Likewise.
10369         (pow_test_tonearest): Likewise.
10370         (pow_test_towardzero): Likewise.
10371         (pow_test_downward): Likewise.
10372         (pow_test_upward): Likewise.
10373         (remainder_test): Likewise.
10374         (drem_test): Likewise.
10375         (remainder_test_tonearest): Likewise.
10376         (drem_test_tonearest): Likewise.
10377         (remainder_test_towardzero): Likewise.
10378         (drem_test_towardzero): Likewise.
10379         (remainder_test_downward): Likewise.
10380         (drem_test_downward): Likewise.
10381         (remainder_test_upward): Likewise.
10382         (drem_test_upward): Likewise.
10383         (remquo_test): Likewise.
10384         (rint_test): Likewise.
10385         (rint_test_tonearest): Likewise.
10386         (rint_test_towardzero): Likewise.
10387         (rint_test_downward): Likewise.
10388         (rint_test_upward): Likewise.
10389         (round_test): Likewise.
10390         (scalb_test): Likewise.
10391         (scalbn_test): Likewise.
10392         (scalbln_test): Likewise.
10393         (signbit_test): Likewise.
10394         (sin_test): Likewise.
10395         (sin_test_tonearest): Likewise.
10396         (sin_test_towardzero): Likewise.
10397         (sin_test_downward): Likewise.
10398         (sin_test_upward): Likewise.
10399         (sincos_test): Likewise.
10400         (sinh_test): Likewise.
10401         (sinh_test_tonearest): Likewise.
10402         (sinh_test_towardzero): Likewise.
10403         (sinh_test_downward): Likewise.
10404         (sinh_test_upward): Likewise.
10405         (sqrt_test): Likewise.
10406         (sqrt_test_tonearest): Likewise.
10407         (sqrt_test_towardzero): Likewise.
10408         (sqrt_test_downward): Likewise.
10409         (sqrt_test_upward): Likewise.
10410         (tan_test): Likewise.
10411         (tan_test_tonearest): Likewise.
10412         (tan_test_towardzero): Likewise.
10413         (tan_test_downward): Likewise.
10414         (tan_test_upward): Likewise.
10415         (tanh_test): Likewise.
10416         (tgamma_test): Likewise.
10417         (trunc_test): Likewise.
10418         (y0_test): Likewise.
10419         (y1_test): Likewise.
10420         (yn_test): Likewise.
10421         (significand_test): Likewise.
10422
10423         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10424         individual tests in comment.
10425         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10426         (prev_max_error): New variable.
10427         (prev_real_max_error): Likewise.
10428         (prev_imag_max_error): Likewise.
10429         (compare_ulp_data): Don't refer to test names in comment.
10430         (find_test_ulps): Remove function.
10431         (find_function_ulps): Likewise.
10432         (find_complex_function_ulps): Likewise.
10433         (init_max_error): Take function name as argument.  Look up ulps
10434         for that function.
10435         (print_ulps): Remove function.
10436         (print_max_error): Use prev_max_error instead of calling
10437         find_function_ulps.
10438         (print_complex_max_error): Use prev_real_max_error and
10439         prev_imag_max_error instead of calling find_complex_function_ulps.
10440         (check_float_internal): Take max_ulp parameter instead of calling
10441         find_test_ulps.  Don't call print_ulps.
10442         (check_float): Update call to check_float_internal.
10443         (check_complex): Update calls to check_float_internal.
10444         (START): Pass argument to init_max_error.
10445         * math/gen-libm-test.pl (%results): Don't include "kind"
10446         information.
10447         (parse_ulps): Don't handle ulps of individual tests.
10448         (print_ulps_file): Likewise.
10449         (output_ulps): Likewise.
10450         * math/README.libm-test: Update.
10451         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10452         individual tests.
10453         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10454         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10455         * sysdeps/arm/libm-test-ulps: Likewise.
10456         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10457         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10458         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10459         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10460         * sysdeps/microblaze/libm-test-ulps: Likewise.
10461         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10462         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10463         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10464         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10465         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10466         * sysdeps/sh/libm-test-ulps: Likewise.
10467         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10468         * sysdeps/tile/libm-test-ulps: Likewise.
10469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10470
10471 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10472
10473         * math/libm-test.inc (print_complex_max_error): Check separately
10474         whether real and imaginary errors are within allowed range and
10475         pass 0 to print_complex_function_ulps instead of value within
10476         allowed range.
10477
10478 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10479
10480         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10481         formatting.
10482         (get_handles_fopen): Likewise.
10483         (do_write_test): Likewise.
10484
10485         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10486
10487         * libio/fileops.c (do_ftell): Use cached offset when
10488         available.
10489         * libio/iofwide.c (do_ftell_wide): Likewise.
10490         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10491         _IO_file_attach.
10492         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10493
10494         [BZ #16532]
10495         * libio/libioP.h (get_file_offset): New function.
10496         * libio/fileops.c (get_file_offset): Likewise.
10497         (do_ftell): Likewise.
10498         (_IO_new_file_seekoff): Split out ftell logic.
10499         * libio/wfileops.c (do_ftell_wide): Likewise.
10500         (_IO_wfile_seekoff): Split out ftell logic.
10501         * libio/tst-ftell-active-handler.c: New test case.
10502         * libio/Makefile (tests): Add it.
10503
10504 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10505
10506         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10507         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10508
10509 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10510
10511         [BZ #16639]
10512         * nscd/connections.c (nscd_init): Call do_exit.
10513         (start_threads): Call do_exit and notify_parent.
10514         (begin_drop_privileges): Call do_exit.
10515         (finish_drop_privileges): Likewise.
10516         * nscd/selinux.c (preserve_capabilities): Likewise.
10517         (install_real_capabilities): Likewise.
10518         (nscd_selinux_enabled): Likewise.
10519         (avc_create_thread): Likewise.
10520         (avc_alloc_lock): Likewise.
10521         (nscd_avc_init): Likewise.
10522         * nscd/nscd.c (parent_fd): New static variable.
10523         (main): Create a pipe between parent and child processes.
10524         Skip closing parent_fd.
10525         (monitor_child): New function.
10526         (do_exit): Likewise.
10527         (notify_parent): Likewise.
10528         * nscd/nscd.h (notify_parent): Likewise.
10529         (do_exit): Likewise.
10530
10531 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10532
10533         * malloc/malloc.c (__libc_calloc): Revert last change.
10534
10535 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10536
10537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10538
10539 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10540
10541         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10542         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10543         implementation.
10544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10545         (__libc_ifunc_impl_list): Likewise.
10546         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10547         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10548         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10549         * string/strrchr.c: Define STRRCHR.
10550
10551 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10552
10553         * benchtest/bench-strtok.c (simple_strtok): Delete.
10554         (strtok_string): Use as benchmark.
10555         * string/strtok (STRTOK): New macro.
10556
10557 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10558
10559         * manual/threads.texi: Add header and standard comments to all
10560         functions.
10561
10562         * elf/dl-lookup.c (check_match): New function.
10563         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10564         (do_lookup_x): Remove nested function check_match. Use non-nested
10565         function check_match.
10566
10567 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10568
10569         * csu/Makefile (generated, before-compile): Use += rather than =.
10570         * catgets/Makefile (generated, generated-dirs): Likewise.
10571         * debug/Makefile (generated): Likewise.
10572         * dlfcn/Makefile (generated): Likewise.
10573         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10574         * iconvdata/Makefile (before-compile, generated): Likewise.
10575         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10576         * libio/Makefile (generated): Likewise.
10577         * malloc/Makefile (generated): Likewise.
10578         * manual/Makefile (generated, generated-dirs): Likewise.
10579         * misc/Makefile (generated): Likewise.
10580         * posix/Makefile (generated): Likewise.
10581         * resolv/Makefile (generated): Likewise.
10582         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10583         * timezone/Makefile (generated, generated-dirs): Likewise.
10584
10585         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10586
10587 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10588
10589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10590         power8 implementation.
10591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10592         file: POWER8 llround ifunc implementation.
10593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10594         (__lllround): Add POWER8 implementation.
10595         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10596         POWER8 llround implementation.
10597
10598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10599         power8 implementation.
10600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10601         file: POWER8 llrint ifunc implementation.
10602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10603         Add POWER8 implementation.
10604         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10605         POWER8 llrint implementation.
10606
10607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10608         power8 implementation.
10609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10610         file: POWER8 finite ifunc implementation.
10611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10612         Add POWER8 implementation.
10613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10614         Likewise.
10615         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10616         POWER8 finite implementation.
10617         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10618
10619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10620         power8 implementation.
10621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10622         file: POWER8 isinf ifunc implementation.
10623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10624         POWER8 implementation.
10625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10626         Likewise.
10627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10628         isinf implementation.
10629         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10630
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10632         (INIT_ARCH): Add hwcap2 initialization.
10633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10634         power8 implementation.
10635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10636         file: POWER8 isnan ifunc implementation.
10637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10638         POWER8 implementation.
10639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10640         Likewise.
10641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10642         isnan implementation.
10643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10644
10645 2014-02-27  Joey Ye  <joey.ye@arm.com>
10646
10647         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10648         (_FP_NANFRAC_Q): Set to zero.
10649
10650 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10651
10652         [BZ #16623]
10653         * math/auto-libm-test-in: New test inputs.
10654         * math/auto-libm-test-out: Regenerate.
10655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10656         and DA.
10657         (__cos): Likewise.
10658         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10659
10660 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10661
10662         * scripts/evaluate-test.sh: Take new argument indicating whether
10663         failure is expected.
10664         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10665         indicating whether failure is expected.
10666         * conform/Makefile (test-xfail-run-conformtest): New variable.
10667         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10668         level.
10669         * posix/Makefile (test-xfail-annexc): New variable.
10670         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10671
10672 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10673
10674         * argp/Makefile: Include Makeconfig immediately after defining
10675         subdir.
10676         * assert/Makefile: Likewise.
10677         * benchtests/Makefile: Likewise.
10678         * catgets/Makefile: Likewise.
10679         * conform/Makefile: Likewise.
10680         * crypt/Makefile: Likewise.
10681         * csu/Makefile: Likewise.
10682         (all): Remove target.
10683         * ctype/Makefile: Include Makeconfig immediately after defining
10684         subdir.
10685         * debug/Makefile: Likewise.
10686         * dirent/Makefile: Likewise.
10687         * dlfcn/Makefile: Likewise.
10688         * gmon/Makefile: Likewise.
10689         * gnulib/Makefile: Likewise.
10690         * grp/Makefile: Likewise.
10691         * gshadow/Makefile: Likewise.
10692         * hesiod/Makefile: Likewise.
10693         * hurd/Makefile: Likewise.
10694         (all): Remove target.
10695         * iconvdata/Makefile: Include Makeconfig immediately after
10696         defining subdir.
10697         * inet/Makefile: Likewise.
10698         * intl/Makefile: Likewise.
10699         * io/Makefile: Likewise.
10700         * libio/Makefile: Likewise.
10701         (all): Remove target.
10702         * locale/Makefile: Include Makeconfig immediately after defining
10703         subdir.
10704         * login/Makefile: Likewise.
10705         * mach/Makefile: Likewise.
10706         (all): Remove target.
10707         * malloc/Makefile: Include Makeconfig immediately after defining
10708         subdir.
10709         (all): Remove target.
10710         * manual/Makefile: Include Makeconfig immediately after defining
10711         subdir.
10712         * math/Makefile: Likewise.
10713         * misc/Makefile: Likewise.
10714         * nis/Makefile: Likewise.
10715         * nss/Makefile: Likewise.
10716         * po/Makefile: Likewise.
10717         (all): Remove target.
10718         * posix/Makefile: Include Makeconfig immediately after defining
10719         subdir.
10720         * pwd/Makefile: Likewise.
10721         * resolv/Makefile: Likewise.
10722         * resource/Makefile: Likewise.
10723         * rt/Makefile: Likewise.
10724         * setjmp/Makefile: Likewise.
10725         * shadow/Makefile: Likewise.
10726         * signal/Makefile: Likewise.
10727         * socket/Makefile: Likewise.
10728         * soft-fp/Makefile: Likewise.
10729         * stdio-common/Makefile: Likewise.
10730         * stdlib/Makefile: Likewise.
10731         * streams/Makefile: Likewise.
10732         * string/Makefile: Likewise.
10733         * sunrpc/Makefile: Likewise.
10734         (all): Remove target.
10735         * sysvipc/Makefile: Include Makeconfig immediately after defining
10736         subdir.
10737         * termios/Makefile: Likewise.
10738         * time/Makefile: Likewise.
10739         * timezone/Makefile: Likewise.
10740         (all): Remove target.
10741         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10742         subdir.
10743         * wctype/Makefile: Likewise.
10744
10745 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10746
10747         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10748         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10749         (libc_feholdexcept_setround_mips): Ditto.
10750         (libc_feholdsetround): New.
10751         (libc_feholdsetroundf): New.
10752         (libc_feholdsetroundl): New.
10753         (libc_feupdateenv_test_mips): New.
10754         (libc_feupdateenv_test): New.
10755         (libc_feupdateenv_testf): New.
10756         (libc_feupdateenv_testl): New.
10757         (libc_feresetround): New.
10758         (libc_feresetroundf): New.
10759         (libc_feresetroundl): New.
10760         (libc_fetestexcept_mips): New.
10761         (libc_fetestexcept): New.
10762         (libc_fetestexceptf): New.
10763         (libc_fetestexceptl): New.
10764         (HAVE_RM_CTX): New.
10765         (libc_feholdexcept_setround_mips_ctx): New.
10766         (libc_feholdexcept_setround_ctx): New.
10767         (libc_feholdexcept_setroundf_ctx): New.
10768         (libc_feholdexcept_setroundl_ctx): New.
10769         (libc_fesetenv_mips_ctx): New.
10770         (libc_fesetenv_ctx): New.
10771         (libc_fesetenv_ctxf): New.
10772         (libc_fesetenv_ctxl): New.
10773         (libc_feupdateenv_mips_ctx): New.
10774         (libc_feupdateenv_ctx): New.
10775         (libc_feupdateenvf_ctx): New.
10776         (libc_feupdateenvl_ctx): New.
10777         (libc_feholdsetround_mips_ctx): New.
10778         (libc_feholdsetround_ctx): New.
10779         (libc_feholdsetroundf_ctx): New.
10780         (libc_feholdsetroundl_ctx): New.
10781         (libc_feresetround_mips_ctx): New.
10782         (libc_feresetround_ctx): New.
10783         (libc_feresetroundf_ctx): New.
10784         (libc_feresetroundl_ctx): New.
10785
10786 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10787
10788         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10789
10790         * manual/ipc.texi: New file.
10791         * manual/Makefile (chapters): Add ipc.
10792         * manual/job.texi: Add "Inter-Process Communication" to next.
10793         * manual/process.texi: Add "Inter-Process Communication" to prev.
10794
10795 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10796
10797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10798
10799 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10800
10801         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10802
10803         * manual/arith.texi: Fix spaces after sentences.
10804         * manual/charset.texi: Likewise.
10805         * manual/errno.texi: Likewise.
10806         * manual/install.texi: Likewise.
10807         * manual/llio.texi: Likewise.
10808         * manual/locale.texi: Likewise.
10809         * manual/maint.texi: Likewise.
10810         * manual/math.texi: Likewise.
10811         * manual/memory.texi: Likewise.
10812         * manual/message.texi: Likewise.
10813         * manual/probes.texi: Likewise.
10814         * manual/resource.texi: Likewise.
10815         * manual/signal.texi: Likewise.
10816         * manual/socket.texi: Likewise.
10817         * manual/stdio.texi: Likewise.
10818         * manual/string.texi: Likewise.
10819         * manual/time.texi: Likewise.
10820         * manual/users.texi: Likewise.
10821
10822 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10823
10824         [BZ #16632]
10825         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10826         _DEFAULT_SOURCE is defined.
10827
10828 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10829             Carlos O'Donell  <carlos@redhat.com>
10830
10831         [BZ #16613]
10832         * elf/dl-tls.c (_dl_count_modids): New function.
10833         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10834         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10835         audit library and increment generation counter.
10836         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10837         * elf/tst-audit9.c: New file.
10838         * elf/tst-auditmod9a.c: New file.
10839         * elf/tst-auditmod9b.c: New file.
10840         * elf/Makefile: Add rules to build and run tst-audit9.
10841
10842 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10843
10844         [BZ #15347]
10845         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10846
10847 2014-02-25  Will Newton  <will.newton@linaro.org>
10848
10849         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10850         (__longjmp): Restore sp and lr before restoring callee
10851         saved registers.  Add longjmp and longjmp_target
10852         SystemTap probe point.
10853         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10854         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10855         Define to zero to match jmpbuf layout.
10856         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10857         (__sigsetjmp): Save sp and lr before saving callee
10858         saved registers.  Add setjmp SystemTap probe point.
10859
10860 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10861
10862         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10863
10864 2014-02-24  Andreas Schwab  <schwab@suse.de>
10865
10866         [BZ #15804]
10867         * elf/pldd.c (wait_for_ptrace_stop): New function.
10868         (main): Call it after attaching.
10869
10870 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10871
10872         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10873         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10874         Versions files is now verboten.
10875         * hurd/Versions (libc: GLIBC_2.0):
10876         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10877         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10878         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10879         * mach/Versions: Likewise.
10880
10881         * csu/Versions: Remove unused %include.
10882         * resolv/Versions: Likewise.
10883
10884 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10885
10886         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10887         ($(objpfx)check-local-headers.out): Likewise.
10888         ($(objpfx)begin-end-check.out): Likewise.
10889         * Makerules (check-abi-%.out): Likewise.
10890         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10891         ($(objpfx)test2.cat): Likewise.
10892         ($(objpfx)de/libc.cat): Likewise.
10893         ($(objpfx)test-gencat.out): Likewise.
10894         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10895         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10896         ($(objpfx)noload-mem): Likewise.
10897         ($(objpfx)tst-pathopt.out): Likewise.
10898         ($(objpfx)tst-rtld-load-self.out): Likewise.
10899         ($(objpfx)tst-array1-cmp.out): Likewise.
10900         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10901         ($(objpfx)tst-array2-cmp.out): Likewise.
10902         ($(objpfx)tst-array3-cmp.out): Likewise.
10903         ($(objpfx)tst-array4-cmp.out): Likewise.
10904         ($(objpfx)tst-array5-cmp.out): Likewise.
10905         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10906         ($(objpfx)check-textrel.out): Likewise.
10907         ($(objpfx)check-execstack.out): Likewise.
10908         ($(objpfx)check-localplt.out): Likewise.
10909         ($(objpfx)order2-cmp.out): Likewise.
10910         ($(objpfx)tst-leaks1-mem): Likewise.
10911         ($(objpfx)tst-leaks1-static-mem): Likewise.
10912         ($(objpfx)tst-initorder-cmp.out): Likewise.
10913         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10914         ($(objpfx)tst-unused-dep.out): Likewise.
10915         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10916         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10917         * iconv/Makefile (test-iconvconfig): Likewise.
10918         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10919         ($(objpfx)iconv-test.out): Likewise.
10920         ($(objpfx)tst-tables.out): Likewise.
10921         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10922         ($(objpfx)tst-gettext.out): Likewise.
10923         ($(objpfx)tst-translit.out): Likewise.
10924         ($(objpfx)tst-gettext2.out): Likewise.
10925         ($(objpfx)tst-gettext4.out): Likewise.
10926         ($(objpfx)tst-gettext6.out): Likewise.
10927         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10928         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10929         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10930         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10931         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10932         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10933         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10934         ($(objpfx)wordexp-tst.out): Likewise.
10935         ($(objpfx)annexc.out): Likewise.
10936         ($(objpfx)tst-fnmatch-mem): Likewise.
10937         ($(objpfx)bug-regex2-mem): Likewise.
10938         ($(objpfx)bug-regex14-mem): Likewise.
10939         ($(objpfx)bug-regex21-mem): Likewise.
10940         ($(objpfx)bug-regex31-mem): Likewise.
10941         ($(objpfx)tst-vfork3-mem): Likewise.
10942         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10943         ($(objpfx)tst-pcre-mem): Likewise.
10944         ($(objpfx)tst-boost-mem): Likewise.
10945         ($(objpfx)tst-getconf.out): Likewise.
10946         ($(objpfx)bug-ga2-mem): Likewise.
10947         ($(objpfx)bug-glob2-mem): Likewise.
10948         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10949         ($(objpfx)mtrace-tst-leaks2): Likewise.
10950         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10951         ($(objpfx)tst-printf.out): Likewise.
10952         ($(objpfx)tst-setvbuf1.out): Likewise.
10953         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10954         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10955         ($(objpfx)tst-fmtmsg.out): Likewise.
10956         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10957         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10958
10959         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10960         * bits/sigaction.h [__USE_MISC]: Likewise.
10961         * bits/waitstatus.h: Update #endif comments.
10962         * ctype/ctype.h: Likewise.
10963         * dirent/dirent.h: Likewise.
10964         [__USE_MISC]: Remove redundant conditionals.
10965         * grp/grp.h: Update #endif comments.
10966         [__USE_GNU]: Remove redundant conditionals.
10967         [__USE_MISC]: Likewise.
10968         * inet/netinet/in.h [__USE_GNU]: Likewise.
10969         * io/sys/stat.h [__USE_MISC]: Likewise.
10970         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10971         * libio/bits/stdio.h: Update #endif comments.
10972         [__USE_MISC]: Remove redundant conditionals.
10973         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10974         * libio/stdio.h: Update #endif comments.
10975         [__USE_MISC]: Remove redundant conditionals.
10976         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10977         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10978         * math/math.h: Update #else and #endif comments.
10979         [__USE_MISC]: Remove redundant conditionals.
10980         * misc/sys/uio.h: Update #endif comments.
10981         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10982         * posix/glob.h [__USE_MISC]: Likewise.
10983         * posix/sys/types.h: Update #endif comments.
10984         [__USE_MISC]: Remove redundant conditionals.
10985         * posix/sys/wait.h: Update #endif comments.
10986         [__USE_MISC]: Remove redundant conditionals.
10987         * posix/unistd.h: Update #endif comments.
10988         [__USE_MISC]: Remove redundant conditionals.
10989         * pwd/pwd.h [__USE_GNU]: Likewise.
10990         [__USE_MISC]: Likewise.
10991         * resolv/netdb.h [__USE_GNU]: Likewise.
10992         * signal/signal.h: Update #endif comments.
10993         [__USE_MISC]: Remove redundant conditionals.
10994         * stdlib/stdlib.h: Update #else and #endif comments.
10995         [__USE_MISC]: Remove redundant conditionals.
10996         [__USE_GNU]: Likewise.
10997         * string/bits/string2.h [__USE_MISC]: Likewise.
10998         * string/string.h: Update #endif comments.
10999         [__USE_MISC]: Remove redundant conditionals.
11000         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11001         Likewise.
11002         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11003         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11004         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11009         comments.
11010         [__USE_MISC]: Remove redundant conditionals.
11011         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11012         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11013         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11014         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11015         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11016         Likewise.
11017         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11018         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11019         Likewise.
11020         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11021         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11022         Likewise.
11023         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11024         Likewise.
11025         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11026         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11027         Likewise.
11028         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11029         Likewise.
11030         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11031         * sysdeps/x86/bits/string.h: Update #endif comments.
11032         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11033         conditionals.
11034         * time/sys/time.h: Update #endif comments.
11035         * time/time.h: Likewise.
11036         [__USE_MISC]: Remove redundant conditionals.
11037
11038 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11039
11040         [BZ #16600]
11041         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11042
11043 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11044
11045         * Versions.def (librt): Add GLIBC_2.17.
11046
11047 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11048
11049         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11050         synonym for _SYS_AUXV_H to allow direct inclusion.
11051         * sysdeps/sparc/bits/hwcap.h: Likewise.
11052         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11053         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11054         * sysdeps/sparc/sysdep.h: Likewise.
11055
11056 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11057
11058         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11059
11060 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11061
11062         * benchtests/bench-strrchr.c: Print length instead of position.
11063
11064 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11065
11066         [BZ #16611]
11067         * sysdeps/unix/sysv/linux/kernel-features.h
11068         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11069         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11070         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11071         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11072         Likewise.
11073         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11074         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11075         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11076         (__ASSUME_SENDMMSG): Define instead of using previous
11077         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11078         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11079         (__ASSUME_SENDMMSG_SYSCALL): Define.
11080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11081         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11082         Likewise.
11083         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11084         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11087         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11088         Likewise.
11089         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11090         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11091         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11092         [__ASSUME_SENDMMSG]: Change conditionals to
11093         [__ASSUME_SENDMMSG_SOCKETCALL].
11094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11095         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11096         Define.
11097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11098         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11101         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11102         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11103         [!__ASSUME_SENDMMSG]: Change conditional to
11104         [!__ASSUME_SENDMMSG_SOCKETCALL].
11105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11106         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11107         Define.
11108
11109         [BZ #16610]
11110         * sysdeps/unix/sysv/linux/kernel-features.h
11111         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11112         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11113         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11114         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11115         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11116         [__i386__ || __sparc__]
11117         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11118         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11119         (__ASSUME_RECVMMSG): Define instead of using previous
11120         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11121         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11122         (__ASSUME_RECVMMSG_SYSCALL): Define.
11123         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11125         Likewise.
11126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11127         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11128         Likewise.
11129         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11130         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11131         Likewise.
11132         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11133         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11134         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11135         [__ASSUME_RECVMMSG]: Change condition to
11136         [__ASSUME_RECVMMSG_SOCKETCALL].
11137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11138         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11139         Define.
11140         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11141         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11143         Likewise.
11144         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11145         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11146         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11147         [!__ASSUME_RECVMMSG]: Change condition to
11148         [!__ASSUME_RECVMMSG_SOCKETCALL].
11149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11150         (__ASSUME_RECVMMSG_SYSCALL): Define.
11151
11152         [BZ #16609]
11153         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11154         __powerpc__ || __s390__ || __sh__ || __sparc__]
11155         (__ASSUME_SOCKETCALL): Define.
11156         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11157         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11158         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11159         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11160         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11161         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11162         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11163         (__ASSUME_ACCEPT4): Define instead of using previous
11164         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11165         __powerpc__ || __sparc__ || __s390__)] condition.
11166         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11167         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11168         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11169         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11170         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11171         [!__ASSUME_ACCEPT4]: Change condition to
11172         [!__ASSUME_ACCEPT4_SOCKETCALL].
11173         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11174         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11175         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11176         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11177         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11178         __ASSUME_ACCEPT4_SYSCALL.
11179         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11180         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11182         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11183         __ASSUME_ACCEPT4_SYSCALL.
11184         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11185         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11186         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11187         [__ASSUME_ACCEPT4]: Change condition to
11188         [__ASSUME_ACCEPT4_SOCKETCALL].
11189         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11190         (__ASSUME_SOCKETCALL): Define.
11191         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11193         (__ASSUME_SOCKETCALL): Define.
11194         (__ASSUME_ACCEPT4): Remove.
11195         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11196         Define.
11197         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11198         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11199         Likewise.
11200         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11201         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11202
11203         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11204         macro.
11205         (HWCAP_ARM_LPAE): Likewise.
11206         (HWCAP_ARM_EVTSTRM): Likewise.
11207         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11208         Add vpfd32, lpae and evtstrm.
11209         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11210         Increase to 22.
11211
11212 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11213
11214         * math/auto-libm-test-in: Add tests of clog10.
11215         * math/auto-libm-test-out: Regenerated.
11216         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11217         * sysdeps/i386/fpu/libm-test-ulps: Update.
11218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11219
11220 2014-02-18  Andreas Schwab  <schwab@suse.de>
11221
11222         [BZ #16574]
11223         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11224         Store non-zero if the second buffer was newly allocated.
11225         (send_dg): Likewise.
11226         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11227         to send_vc and send_dg.
11228         (res_nsend): Pass NULL for ansp2_malloced.
11229         * resolv/res_query.c (__libc_res_nquery): Add parameter
11230         answerp2_malloced and pass it down to __libc_res_nsend.
11231         (res_nquery): Pass additional NULL to __libc_res_nquery.
11232         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11233         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11234         second answer buffer if answerp2_malloced was set.
11235         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11236         (__libc_res_nquerydomain): Add parameter
11237         answerp2_malloced and pass it down to __libc_res_nquery.
11238         (res_nquerydomain): Pass additional NULL to
11239         __libc_res_nquerydomain.
11240         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11241         additional NULL to __libc_res_nsend and __libc_res_nquery.
11242         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11243         additional NULL to __libc_res_nsearch.
11244         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11245         parameter of __libc_res_nsearch to check for separately allocated
11246         second buffer.
11247         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11248         __libc_res_nquery.
11249         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11250         additional NULL to __libc_res_nquery.
11251         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11252         __libc_res_nsearch.
11253         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11254         * include/resolv.h: Update prototypes of __libc_res_nquery,
11255         __libc_res_nsearch, __libc_res_nsend.
11256
11257 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11258
11259         * math/auto-libm-test-in: Add tests of fma.
11260         * math/auto-libm-test-out: Regenerated.
11261         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11262         (fma_towardzero_test_data): Likewise.
11263         (fma_downward_test_data): Likewise.
11264         (fma_upward_test_data): Likewise.
11265         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11266         mpc_mode.
11267         (rounding_modes): Add values for new field.
11268         (func_calc_method): Add value mpfr_fff_f.
11269         (func_calc_desc): Add mpfr_fff_f union field.
11270         (test_function): Add field exact_args.
11271         (FUNC): Add macro argument EXACT_ARGS.
11272         (FUNC_mpfr_f_f): Update call to FUNC.
11273         (FUNC_mpfr_f_f): Likewise.
11274         (FUNC_mpfr_ff_f): Likewise.
11275         (FUNC_mpfr_if_f): Likewise.
11276         (FUNC_mpc_c_f): Likewise.
11277         (FUNC_mpc_c_c): Likewise.
11278         (test_functions): Add fma.  Update calls to FUNC.
11279         (handle_input_arg): Add argument exact_args.
11280         (add_test): Update call to handle_input_arg.
11281         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11282         (output_for_one_input_case): Update call to calc_generic_results.
11283         Recalculate exact zero results in each rounding mode.
11284
11285         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11286         non-negative before setting low bit.
11287         * math/auto-libm-test-in: Mark one asin test possibly having
11288         spurious underflow.
11289         * math/auto-libm-test-out: Regenerated.
11290         * sysdeps/i386/fpu/libm-test-ulps: Update.
11291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292
11293 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11294
11295         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11296         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11297         ports/sysdeps/unix/sysv/linux/microblaze.
11298         * README: Add missing listing for microblaze*-*-linux-gnu.
11299
11300 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11301
11302         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11303         duplicate code
11304
11305 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11306
11307         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11308         * sysdeps/unix/sysv/linux/ia64: Move directory from
11309         ports/sysdeps/unix/sysv/linux/ia64.
11310         * README: Update listing for ia64-*-linux-gnu.
11311
11312 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11313             Joseph Myers  <joseph@codesourcery.com>
11314
11315         * Makeconfig (test-name): New variable.
11316         (evaluate-test): Likewise.
11317         * Makerules (do-test-clean): Remove .test-result files.
11318         (common-mostlyclean): Likewise.
11319         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11320         * scripts/evaluate-test.sh: New file.
11321
11322 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11323
11324         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11325         separate $(objpfx)tst-fopenloc-cmp.out and
11326         $(objpfx)tst-fopenloc-mem.out targets.
11327         (tests): Update dependencies.
11328         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11329         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11330         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11331         (tst-rxspencer-no-utf8-ARGS): New variable.
11332         (tst-rxspencer-no-utf8-ENV): Likewise.
11333         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11334         instead of $(objpfx)tst-rxspencer-mem.
11335         ($(objpfx)tst-rxspencer-mem): Change target to
11336         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11337         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11338         * posix/tst-rxspencer-no-utf8.c: New file.
11339
11340         * elf/Makefile ($(objpfx)order.out): Remove rule.
11341         [$(run-built-tests) = yes] (tests): Depend on
11342         $(objpfx)order-cmp.out.
11343         ($(objpfx)order-cmp.out): New rule.
11344         [$(run-built-tests) = yes] (tests): Depend on
11345         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11346         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11347         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11348         $(objpfx)tst-array5-static-cmp.out.
11349         ($(objpfx)tst-array1.out): Remove rule.
11350         ($(objpfx)tst-array1-cmp.out): New rule.
11351         ($(objpfx)tst-array1-static.out): Remove rule.
11352         ($(objpfx)tst-array1-static-cmp.out): New rule.
11353         ($(objpfx)tst-array2.out): Remove rule.
11354         ($(objpfx)tst-array2-cmp.out): New rule.
11355         ($(objpfx)tst-array3.out): Remove rule.
11356         ($(objpfx)tst-array3-cmp.out): New rule.
11357         ($(objpfx)tst-array4.out): Remove rule.
11358         ($(objpfx)tst-array4-cmp.out): New rule.
11359         ($(objpfx)tst-array5.out): Remove rule.
11360         ($(objpfx)tst-array5-cmp.out): New rule.
11361         ($(objpfx)tst-array5-static.out): Remove rule.
11362         ($(objpfx)tst-array5-static-cmp.out): New rule.
11363         [$(run-built-tests) = yes] (tests): Depend on
11364         $(objpfx)order2-cmp.out.
11365         ($(objpfx)order2.out): Remove rule.
11366         ($(objpfx)order2-cmp.out): New rule.
11367         ($(objpfx)tst-initorder.out): Remove rule.
11368         [$(run-built-tests) = yes] (tests): Depend on
11369         $(objpfx)tst-initorder-cmp.out.
11370         ($(objpfx)tst-initorder-cmp.out): New rule.
11371         ($(objpfx)tst-initorder2.out): Remove rule.
11372         [$(run-built-tests) = yes] (tests): Depend on
11373         $(objpfx)tst-initorder2-cmp.out.
11374         ($(objpfx)tst-initorder2-cmp.out): New rule.
11375         [$(run-built-tests) = yes] (tests): Depend on
11376         $(objpfx)tst-unused-dep-cmp.out.
11377         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11378         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11379         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11380         on $(objpfx)tst-setvbuf1-cmp.out.
11381         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11382         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11383         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11384         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11385         ($(objpfx)tst-svc.out): Remove rule.
11386         ($(objpfx)tst-svc-cmp.out): New rule.
11387
11388 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11389
11390         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11391         * ctype/ctype.h [__USE_MISC]: Likewise.
11392         * dirent/dirent.h [__USE_MISC]: Likewise.
11393         * grp/grp.h [__USE_MISC]: Likewise.
11394         * io/fcntl.h [__USE_MISC]: Likewise.
11395         * io/sys/stat.h [__USE_MISC]: Likewise.
11396         * libio/stdio.h [__USE_MISC]: Likewise.
11397         * posix/unistd.h [__USE_MISC]: Likewise.
11398         * pwd/pwd.h [__USE_MISC]: Likewise.
11399         * stdlib.h [__USE_MISC]: Likewise.
11400         * string/bits/string2.h [__USE_MISC]: Likewise.
11401         * string/string.h [__USE_MISC]: Likewise.
11402         * time/time.h [__USE_MISC]: Likewise.
11403
11404 2014-02-13  Andreas Schwab  <schwab@suse.de>
11405
11406         [BZ #16574]
11407         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11408         second answer buffer if it was separately allocated.
11409
11410 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11411
11412         * sysdeps/mips/math-tests.h: Include <features.h>.
11413         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11414         (ROUNDING_TESTS_long_double): Do not define.
11415         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11416         (EXCEPTION_TESTS_long_double): Likewise.
11417         * sysdeps/mips/mips64/libm-test-ulps: Update.
11418
11419         * include/features.h (__USE_BSD): Remove macro definitions.
11420         (__USE_SVID): Likewise.
11421         (_BSD_SOURCE): Likewise.
11422         (_SVID_SOURCE): Likewise.
11423         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11424         from definition of _DEFAULT_SOURCE.
11425         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11426         [_DEFAULT_SOURCE].
11427         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11428         * bits/mman.h [__USE_BSD]: Likewise.
11429         * bits/termios.h [__USE_BSD]: Likewise.
11430         * bits/waitstatus.h [__USE_BSD]: Likewise.
11431         * ctype/ctype.h [__USE_SVID]: Likewise.
11432         * dirent/dirent.h [__USE_BSD]: Likewise.
11433         * grp/grp.h [__USE_SVID]: Likewise.
11434         [__USE_BSD]: Likewise.
11435         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11436         * io/fcntl.h [__USE_BSD]: Likewise.
11437         * io/ftw.h [__USE_BSD]: Likewise.
11438         * io/sys/stat.h [__USE_BSD]: Likewise.
11439         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11440         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11441         * libio/stdio.h [__USE_SVID]: Likewise.
11442         [__USE_BSD]: Likewise.
11443         * math/math.h [__USE_SVID]: Likewise.
11444         [__USE_BSD]: Likewise.
11445         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11446         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11447         * misc/search.h [__USE_SVID]: Likewise.
11448         * misc/sys/mman.h [__USE_BSD]: Likewise.
11449         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11450         * misc/sys/uio.h [__USE_BSD]: Likewise.
11451         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11452         * posix/glob.h [__USE_BSD]: Likewise.
11453         * posix/regex.h [__USE_BSD]: Likewise.
11454         * posix/sys/types.h [__USE_BSD]: Likewise.
11455         [__USE_SVID]: Likewise.
11456         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11457         * posix/sys/wait.h [__USE_BSD]: Likewise.
11458         [__USE_SVID]: Likewise.
11459         * posix/unistd.h [__USE_BSD]: Likewise.
11460         [__USE_SVID]: Likewise.
11461         * pwd/pwd.h [__USE_SVID]: Likewise.
11462         * resolv/netdb.h [__USE_BSD]: Likewise.
11463         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11464         * signal/signal.h [__USE_BSD]: Likewise.
11465         [__USE_SVID]: Likewise.
11466         * socket/sys/socket.h [__USE_BSD]: Likewise.
11467         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11468         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11469         [__USE_SVID]: Likewise.
11470         * string/bits/string2.h [__USE_BSD]: Likewise.
11471         [__USE_SVID]: Likewise.
11472         * string/bits/string3.h [__USE_BSD]: Likewise.
11473         * string/endian.h [__USE_BSD]: Likewise.
11474         * string/string.h [__USE_SVID]: Likewise.
11475         [__USE_BSD]: Likewise.
11476         * string/strings.h [__USE_BSD]: Likewise.
11477         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11478         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11479         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11480         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11481         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11482         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11487         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11488         Likewise.
11489         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11490         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11491         Likewise.
11492         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11493         Likewise.
11494         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11495         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11497         Likewise.
11498         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11499         Likewise.
11500         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11501         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11502         * termios/termios.h [__USE_BSD]: Likewise.
11503         * time/sys/time.h [__USE_BSD]: Likewise.
11504         * time/time.h [__USE_BSD]: Likewise.
11505         [__USE_SVID]: Likewise.
11506
11507         * Makefile (subdir_targets): Remove subdir_lint.out.
11508
11509         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11510         (do-tst-printf): Likewise.
11511         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11512         $(objpfx)tst-printf.out.
11513
11514         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11515
11516         * Makerules (check-abi-%): Change target to
11517         $(objpfx)check-abi-%.out.
11518         (check-abi target): Update dependencies.
11519         (check-abi-pattern variable): Redirect output of diff to $@.
11520         (check-abi variable): Likewise.
11521         * elf/Makefile (check-abi): Update dependencies.
11522
11523         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11524         unused.
11525         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11526         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11527         subnormal range.
11528         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11529         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11530         value has largest subnormal exponent.
11531         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11532         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11533         * sysdeps/aarch64/soft-fp/sfp-machine.h
11534         (_FP_TININESS_AFTER_ROUNDING): New macro.
11535         * sysdeps/alpha/soft-fp/sfp-machine.h
11536         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11537         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11538         Likewise.
11539         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11540         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11541         * sysdeps/mips/soft-fp/sfp-machine.h
11542         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11543         * sysdeps/powerpc/soft-fp/sfp-machine.h
11544         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11545         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11546         Likewise.
11547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11548         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11550         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11551         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11552         Likewise.
11553
11554 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11555
11556         [BZ #16545]
11557         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11558         model 1.
11559
11560 2014-02-12  Richard Henderson  <rth@redhat.com>
11561
11562         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11563         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11564         * sysdeps/unix/sysv/linux/alpha: Move directory from
11565         ports/sysdeps/unix/sysv/linux/alpha.
11566         * README: Update listing for alpha-*-linux-gnu.
11567
11568 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11569
11570         * include/features.h: Update comment documenting feature test
11571         macros.
11572         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11573         _DEFAULT_SOURCE.
11574         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11575         (_SVID_SOURCE): Likewise.
11576         (_DEFAULT_SOURCE): Update description of default features.
11577         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11578         with _GNU_SOURCE.
11579         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11580         (S_ISVTX): Likewise.
11581         * manual/math.texi (Mathematical Constants): Likewise.
11582         * manual/signal.texi (Interrupted Primitives): Likewise.
11583         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11584         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11585         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11586         Don't refer to _SVID_SOURCE in warning text.
11587
11588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11589
11590         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11591         already defined.
11592         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11593         * sysdeps/mips/dl-lookup.c: Remove.
11594         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11595
11596 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11597
11598         [BZ #16447]
11599         * math/auto-libm-test-in: Add testcase for expl.
11600         * math/auto-libm-test-out: Regenerate.
11601         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11602         calculation of unsafe.
11603         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11604
11605 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11606
11607         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11608         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11609         ports/sysdeps/unix/sysv/linux/aarch64.
11610         * README: Update listing for aarch64*-*-linux-gnu.
11611
11612 2014-02-11  Will Newton  <will.newton@linaro.org>
11613
11614         * manual/probes.texi (Mathematical Function Probes): Use
11615         "triggered" instead of "hit".
11616
11617         * manual/probes.texi (Internal Probes): Add documentation
11618         of setjmp, longjmp and longjmp_target probes.
11619
11620         * include/stap-probe.h: Add comment about probe argument
11621         format.
11622
11623         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11624         definition.  (tr_where, tr_freehook, tr_mallochook,
11625         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11626
11627 2014-02-11  David S. Miller  <davem@davemloft.net>
11628
11629         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11630         processing int_tests.
11631
11632 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11633
11634         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11635         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11636         * sysdeps/unix/sysv/linux/mips: Move directory from
11637         ports/sysdeps/unix/sysv/linux/mips.
11638         * README: Update listing for mips-*-linux-gnu and
11639         mips64-*-linux-gnu.
11640
11641 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11642
11643         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11644         * sysdeps/unix/sysv/linux/m68k: Move directory from
11645         ports/sysdeps/unix/sysv/linux/m68k.
11646         * README: Update listing for m68k-*-linux-gnu.
11647
11648 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11649
11650         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11651         * sysdeps/unix/sysv/linux/generic: Move directory from
11652         ports/sysdeps/unix/sysv/linux/generic.
11653         * sysdeps/unix/sysv/linux/tile: Move directory from
11654         ports/sysdeps/unix/sysv/linux/tile.
11655         * README: Update listing for tile*-*-linux-gnu.
11656
11657 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11658
11659         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11660         __builtin_expect.
11661         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11662         * catgets/open_catalog.c (__open_catalog): Likewise.
11663         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11664         * debug/confstr_chk.c: Likewise.
11665         * debug/fread_chk.c (__fread_chk): Likewise.
11666         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11667         * debug/getgroups_chk.c: Likewise.
11668         * debug/mbsnrtowcs_chk.c: Likewise.
11669         * debug/mbsrtowcs_chk.c: Likewise.
11670         * debug/mbstowcs_chk.c: Likewise.
11671         * debug/memcpy_chk.c: Likewise.
11672         * debug/memmove_chk.c: Likewise.
11673         * debug/mempcpy_chk.c: Likewise.
11674         * debug/memset_chk.c: Likewise.
11675         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11676         * debug/strcat_chk.c (__strcat_chk): Likewise.
11677         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11678         * debug/strncat_chk.c (__strncat_chk): Likewise.
11679         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11680         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11681         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11682         * debug/wcpncpy_chk.c: Likewise.
11683         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11684         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11685         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11686         * debug/wcsncpy_chk.c: Likewise.
11687         * debug/wcsnrtombs_chk.c: Likewise.
11688         * debug/wcsrtombs_chk.c: Likewise.
11689         * debug/wcstombs_chk.c: Likewise.
11690         * debug/wmemcpy_chk.c: Likewise.
11691         * debug/wmemmove_chk.c: Likewise.
11692         * debug/wmempcpy_chk.c: Likewise.
11693         * debug/wmemset_chk.c: Likewise.
11694         * dirent/scandirat.c (SCANDIRAT): Likewise.
11695         * dlfcn/dladdr1.c (dladdr1): Likewise.
11696         * dlfcn/dladdr.c (dladdr): Likewise.
11697         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11698         * dlfcn/dlerror.c (__dlerror): Likewise.
11699         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11700         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11701         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11702         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11703         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11704         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11705         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11706         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11707         Likewise.
11708         * elf/dl-conflict.c: Likewise.
11709         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11710         * elf/dl-dst.h: Likewise.
11711         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11712         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11713         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11714         * elf/dl-init.c (call_init, _dl_init): Likewise.
11715         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11716         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11717         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11718         Likewise.
11719         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11720         Likewise.
11721         * elf/dl-minimal.c (__libc_memalign): Likewise.
11722         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11723         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11724         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11725         * elf/dl-sym.c (do_sym): Likewise.
11726         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11727         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11728         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11729         * elf/dl-writev.h (_dl_writev): Likewise.
11730         * elf/ldconfig.c (search_dir): Likewise.
11731         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11732         (dl_main): Likewise.
11733         * elf/setup-vdso.h (setup_vdso): Likewise.
11734         * grp/compat-initgroups.c (compat_call): Likewise.
11735         * grp/fgetgrent.c (fgetgrent): Likewise.
11736         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11737         * grp/putgrent.c (putgrent): Likewise.
11738         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11739         Likewise.
11740         * hurd/hurdinit.c: Likewise.
11741         * iconvdata/8bit-gap.c (struct): Likewise.
11742         * iconvdata/ansi_x3.110.c : Likewise.
11743         * iconvdata/big5.c : Likewise.
11744         * iconvdata/big5hkscs.c : Likewise.
11745         * iconvdata/cp1255.c: Likewise.
11746         * iconvdata/cp1258.c : Likewise.
11747         * iconvdata/cp932.c : Likewise.
11748         * iconvdata/euc-cn.c: Likewise.
11749         * iconvdata/euc-jisx0213.c : Likewise.
11750         * iconvdata/euc-jp.c: Likewise.
11751         * iconvdata/euc-jp-ms.c : Likewise.
11752         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11753         * iconvdata/gb18030.c : Likewise.
11754         * iconvdata/gbbig5.c (const): Likewise.
11755         * iconvdata/gbgbk.c: Likewise.
11756         * iconvdata/gbk.c : Likewise.
11757         * iconvdata/ibm1364.c : Likewise.
11758         * iconvdata/ibm930.c : Likewise.
11759         * iconvdata/ibm932.c: Likewise.
11760         * iconvdata/ibm933.c : Likewise.
11761         * iconvdata/ibm935.c : Likewise.
11762         * iconvdata/ibm937.c : Likewise.
11763         * iconvdata/ibm939.c : Likewise.
11764         * iconvdata/ibm943.c: Likewise.
11765         * iconvdata/iso_11548-1.c: Likewise.
11766         * iconvdata/iso-2022-cn.c : Likewise.
11767         * iconvdata/iso-2022-cn-ext.c : Likewise.
11768         * iconvdata/iso-2022-jp-3.c: Likewise.
11769         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11770         * iconvdata/iso-2022-kr.c : Likewise.
11771         * iconvdata/iso646.c (gconv_end): Likewise.
11772         * iconvdata/iso_6937-2.c : Likewise.
11773         * iconvdata/iso_6937.c : Likewise.
11774         * iconvdata/iso8859-1.c: Likewise.
11775         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11776         * iconvdata/shift_jisx0213.c : Likewise.
11777         * iconvdata/sjis.c : Likewise.
11778         * iconvdata/t.61.c : Likewise.
11779         * iconvdata/tcvn5712-1.c : Likewise.
11780         * iconvdata/tscii.c: Likewise.
11781         * iconvdata/uhc.c : Likewise.
11782         * iconvdata/unicode.c (gconv_end): Likewise.
11783         * iconvdata/utf-16.c (gconv_end): Likewise.
11784         * iconvdata/utf-32.c (gconv_end): Likewise.
11785         * iconvdata/utf-7.c (base64): Likewise.
11786         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11787         * iconv/gconv_close.c (__gconv_close): Likewise.
11788         * iconv/gconv_open.c (__gconv_open): Likewise.
11789         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11790         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11791         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11792         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11793         (ucs4le_internal_loop_single): Likewise.
11794         * iconv/iconv.c (iconv): Likewise.
11795         * iconv/iconv_close.c: Likewise.
11796         * iconv/loop.c (SINGLE): Likewise.
11797         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11798         * include/atomic.h: Likewise.
11799         * inet/inet6_option.c (option_alloc): Likewise.
11800         * intl/bindtextdom.c (set_binding_values): Likewise.
11801         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11802         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11803         * intl/localealias.c (read_alias_file): Likewise.
11804         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11805         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11806         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11807         * libio/fmemopen.c (fmemopen): Likewise.
11808         * libio/iofgets.c (_IO_fgets): Likewise.
11809         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11810         * libio/iofgetws.c (fgetws): Likewise.
11811         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11812         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11813         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11814         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11815         * locale/findlocale.c (_nl_find_locale): Likewise.
11816         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11817         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11818         Likewise.
11819         * locale/setlocale.c (setlocale): Likewise.
11820         * login/programs/pt_chown.c (main): Likewise.
11821         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11822         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11823         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11824         (mmap, mmap64, mremap, munmap): Likewise.
11825         * math/e_exp2l.c: Likewise.
11826         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11827         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11828         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11829         * math/s_catan.c (__catan): Likewise.
11830         * math/s_catanf.c (__catanf): Likewise.
11831         * math/s_catanh.c (__catanh): Likewise.
11832         * math/s_catanhf.c (__catanhf): Likewise.
11833         * math/s_catanhl.c (__catanhl): Likewise.
11834         * math/s_catanl.c (__catanl): Likewise.
11835         * math/s_ccosh.c (__ccosh): Likewise.
11836         * math/s_ccoshf.c (__ccoshf): Likewise.
11837         * math/s_ccoshl.c (__ccoshl): Likewise.
11838         * math/s_cexp.c (__cexp): Likewise.
11839         * math/s_cexpf.c (__cexpf): Likewise.
11840         * math/s_cexpl.c (__cexpl): Likewise.
11841         * math/s_clog10.c (__clog10): Likewise.
11842         * math/s_clog10f.c (__clog10f): Likewise.
11843         * math/s_clog10l.c (__clog10l): Likewise.
11844         * math/s_clog.c (__clog): Likewise.
11845         * math/s_clogf.c (__clogf): Likewise.
11846         * math/s_clogl.c (__clogl): Likewise.
11847         * math/s_csin.c (__csin): Likewise.
11848         * math/s_csinf.c (__csinf): Likewise.
11849         * math/s_csinh.c (__csinh): Likewise.
11850         * math/s_csinhf.c (__csinhf): Likewise.
11851         * math/s_csinhl.c (__csinhl): Likewise.
11852         * math/s_csinl.c (__csinl): Likewise.
11853         * math/s_csqrt.c (__csqrt): Likewise.
11854         * math/s_csqrtf.c (__csqrtf): Likewise.
11855         * math/s_csqrtl.c (__csqrtl): Likewise.
11856         * math/s_ctan.c (__ctan): Likewise.
11857         * math/s_ctanf.c (__ctanf): Likewise.
11858         * math/s_ctanh.c (__ctanh): Likewise.
11859         * math/s_ctanhf.c (__ctanhf): Likewise.
11860         * math/s_ctanhl.c (__ctanhl): Likewise.
11861         * math/s_ctanl.c (__ctanl): Likewise.
11862         * math/w_pow.c: Likewise.
11863         * math/w_powf.c: Likewise.
11864         * math/w_powl.c: Likewise.
11865         * math/w_scalb.c (sysv_scalb): Likewise.
11866         * math/w_scalbf.c (sysv_scalbf): Likewise.
11867         * math/w_scalbl.c (sysv_scalbl): Likewise.
11868         * misc/error.c (error_tail): Likewise.
11869         * misc/pselect.c (__pselect): Likewise.
11870         * nis/nis_callback.c (__nis_create_callback): Likewise.
11871         * nis/nis_call.c (__nisfind_server): Likewise.
11872         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11873         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11874         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11875         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11876         * nis/nis_lookup.c (nis_lookup): Likewise.
11877         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11878         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11879         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11880         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11881         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11882         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11883         * nis/nss_compat/compat-initgroups.c (add_group)
11884         (internal_getgrent_r): Likewise.
11885         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11886         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11887         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11888         (internal_getspnam_r): Likewise.
11889         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11890         (_nss_nis_getaliasbyname_r): Likewise.
11891         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11892         (_nss_nis_getntohost_r): Likewise.
11893         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11894         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11895         (_nss_nis_getgrgid_r): Likewise.
11896         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11897         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11898         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11899         (_nss_nis_gethostbyname4_r): Likewise.
11900         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11901         (initgroups_netid): Likewise.
11902         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11903         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11904         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11905         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11906         (_nss_nis_getprotobynumber_r): Likewise.
11907         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11908         (_nss_nis_getsecretkey): Likewise.
11909         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11910         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11911         (_nss_nis_getpwuid_r): Likewise.
11912         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11913         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11914         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11915         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11916         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11917         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11918         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11919         Likewise.
11920         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11921         (_nss_nisplus_getntohost_r): Likewise.
11922         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11923         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11924         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11925         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11926         Likewise.
11927         * nis/nss_nisplus/nisplus-initgroups.c
11928         (_nss_nisplus_initgroups_dyn): Likewise.
11929         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11930         (_nss_nisplus_getnetbyaddr_r): Likewise.
11931         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11932         (_nss_nisplus_getprotobynumber_r): Likewise.
11933         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11934         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11935         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11936         Likewise.
11937         * nis/nss_nisplus/nisplus-service.c
11938         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11939         (_nss_nisplus_getservbyport_r): Likewise.
11940         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11941         (_nss_nisplus_getspnam_r): Likewise.
11942         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11943         Likewise.
11944         * nscd/aicache.c (addhstaiX): Likewise.
11945         * nscd/cache.c (cache_search, prune_cache): Likewise.
11946         * nscd/connections.c (register_traced_file, send_ro_fd)
11947         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11948         (main_loop_epoll): Likewise.
11949         * nscd/grpcache.c (addgrbyX): Likewise.
11950         * nscd/hstcache.c (addhstbyX): Likewise.
11951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11952         * nscd/mem.c (gc, mempool_alloc): Likewise.
11953         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11954         (addinnetgrX): Likewise.
11955         * nscd/nscd-client.h (__nscd_acquire_maplock)
11956         (__nscd_drop_map_ref): Likewise.
11957         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11958         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11959         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11960         Likewise.
11961         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11962         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11963         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11964         (__nscd_get_map_ref): Likewise.
11965         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11966         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11967         Likewise.
11968         * nscd/pwdcache.c (addpwbyX): Likewise.
11969         * nscd/selinux.c (preserve_capabilities): Likewise.
11970         * nscd/servicescache.c (addservbyX): Likewise.
11971         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11972         * posix/fnmatch.c (fnmatch): Likewise.
11973         * posix/getopt.c (_getopt_internal_r): Likewise.
11974         * posix/glob.c (glob, glob_in_dir): Likewise.
11975         * posix/wordexp.c (exec_comm_child): Likewise.
11976         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11977         (getanswer_r, gaih_getanswer_slice): Likewise.
11978         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11979         * resolv/res_init.c: Likewise.
11980         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11981         * resolv/res_query.c (__libc_res_nquery): Likewise.
11982         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11983         Likewise.
11984         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11985         * stdio-common/perror.c (perror): Likewise.
11986         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11987         * stdio-common/tmpnam.c (tmpnam): Likewise.
11988         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11989         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11990         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11991         Likewise.
11992         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11993         * stdlib/putenv.c (putenv): Likewise.
11994         * stdlib/setenv.c (__add_to_environ): Likewise.
11995         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11996         * stdlib/strtol_l.c (INTERNAL): Likewise.
11997         * string/memmem.c (memmem): Likewise.
11998         * string/strerror.c (strerror): Likewise.
11999         * string/strnlen.c (__strnlen): Likewise.
12000         * string/test-memmem.c (simple_memmem): Likewise.
12001         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12002         * sunrpc/pm_getport.c (__get_socket): Likewise.
12003         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12004         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12005         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12006         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12007         Likewise.
12008         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12009         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12010         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12011         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12012         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12013         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12014         Likewise.
12015         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12016         Likewise.
12017         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12018         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12020         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12021         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12023         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12024         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12025         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12026         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12027         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12028         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12029         Likewise.
12030         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12031         Likewise.
12032         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12033         Likewise.
12034         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12035         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12036         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12037         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12038         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12039         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12040         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12041         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12043         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12044         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12046         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12047         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12049         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12050         Likewise.
12051         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12052         Likewise.
12053         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12054         Likewise.
12055         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12056         Likewise.
12057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12059         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12060         Likewise.
12061         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12062         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12063         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12064         * sysdeps/posix/sleep.c: Likewise.
12065         * sysdeps/posix/tempname.c: Likewise.
12066         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12067         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12068         Likewise.
12069         * sysdeps/powerpc/powerpc32/dl-machine.h
12070         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12071         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12073         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12074         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12075         Likewise.
12076         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12078         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12080         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12081         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12082         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12083         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12084         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12085         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12087         (elf_machine_lazy_rel): Likewise.
12088         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12090         (elf_machine_lazy_rel): Likewise.
12091         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12092         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12093         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12094         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12095         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12096         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12097         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12099         Likewise.
12100         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12101         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12102         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12103         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12104         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12105         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12106         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12107         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12108         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12109         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12110         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12111         Likewise.
12112         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12113         (__posix_fallocate64_l64): Likewise.
12114         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12115         (posix_fallocate): Likewise.
12116         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12117         Likewise.
12118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12119         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12120         (getifaddrs_internal): Likewise.
12121         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12122         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12123         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12124         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12125         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12126         (__posix_fallocate64_l64): Likewise.
12127         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12128         Likewise.
12129         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12130         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12131         (__get_clockfreq): Likewise.
12132         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12133         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12134         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12137         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12138         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12139         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12140         Likewise.
12141         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12142         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12143         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12144         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12145         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12146         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12147         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12150         (posix_fallocate): Likewise.
12151         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12152         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12153         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12154         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12155         (elf_machine_rela, elf_machine_rela_relative)
12156         (elf_machine_lazy_rel): Likewise.
12157         * time/asctime.c (asctime_internal): Likewise.
12158         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12159         * time/tzset.c (__tzset_parse_tz): Likewise.
12160         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12161         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12162         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12163         * wcsmbs/wcsmbsload.h: Likewise.
12164
12165         [BZ #15894]
12166         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12167
12168         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12169         (arena_get2): Remove THREAD_STATS conditionals.
12170         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12171         (__malloc_stats, int): Likewise.
12172
12173 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12174
12175         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12176         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12177
12178         * manual/setjmp.texi: Fix typos/grammar errors.
12179
12180         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12181         Only return early when n is <= 0.  Delete unused return statement.
12182
12183         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12184         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12185         * debug/tst-longjmp_chk3.c: New file.
12186
12187         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12188         (test_main): Replace code with set_fortify_handler call.
12189         * debug/test-strcpy_chk.c: Likewise.
12190         * debug/tst-chk1.c: Likewise.
12191         * debug/tst-longjmp_chk.c: Likewise.
12192         * test-skeleton.c: Include fcntl.h & paths.h
12193         (set_fortify_handler): Define.
12194
12195         * debug/tst-longjmp_chk.c: Add header comment and include
12196         ../test-skeleton.c.
12197         (do_test): Mark static.
12198         (TEST_FUNCTION): Define.
12199
12200         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12201         (IP_PMTUDISC_INTERFACE): Likewise.
12202         (IP_MULTICAST_IF): Likewise.
12203         (IP_MULTICAST_TTL): Likewise.
12204         (IP_MULTICAST_LOOP): Likewise.
12205         (IP_ADD_MEMBERSHIP): Likewise.
12206         (IP_DROP_MEMBERSHIP): Likewise.
12207         (IP_UNBLOCK_SOURCE): Likewise.
12208         (IP_BLOCK_SOURCE): Likewise.
12209         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12210         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12211         (IP_MSFILTER): Likewise.
12212         (MCAST_JOIN_GROUP): Likewise.
12213         (MCAST_BLOCK_SOURCE): Likewise.
12214         (MCAST_UNBLOCK_SOURCE): Likewise.
12215         (MCAST_LEAVE_GROUP): Likewise.
12216         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12217         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12218         (MCAST_MSFILTER): Likewise.
12219         (IP_MULTICAST_ALL): Likewise.
12220         (IP_UNICAST_IF): Likewise.
12221
12222         * timezone/Makefile: Delete $(have-ksh) check.
12223         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12224         * timezone/tzselect.ksh: Add +x mode bits.
12225
12226         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12227         (ANON_INODE_FS_MAGIC): Likewise.
12228         (BDEVFS_MAGIC): Likewise.
12229         (BINFMTFS_MAGIC): Likewise.
12230         (BTRFS_TEST_MAGIC): Likewise.
12231         (CRAMFS_MAGIC_WEND): Likewise.
12232         (DEBUGFS_MAGIC): Likewise.
12233         (ECRYPTFS_SUPER_MAGIC): Likewise.
12234         (EXT3_SUPER_MAGIC): Likewise.
12235         (EXT4_SUPER_MAGIC): Likewise.
12236         (FUTEXFS_SUPER_MAGIC): Likewise.
12237         (HOSTFS_SUPER_MAGIC): Likewise.
12238         (HUGETLBFS_MAGIC): Likewise.
12239         (MINIX3_SUPER_MAGIC): Likewise.
12240         (MTD_INODE_FS_MAGIC): Likewise.
12241         (NILFS_SUPER_MAGIC): Likewise.
12242         (OPENPROM_SUPER_MAGIC): Likewise.
12243         (PIPEFS_MAGIC): Likewise.
12244         (PSTOREFS_MAGIC): Likewise.
12245         (QNX6_SUPER_MAGIC): Likewise.
12246         (RAMFS_MAGIC): Likewise.
12247         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12248         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12249         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12250         (SECURITYFS_MAGIC): Likewise.
12251         (SELINUX_MAGIC): Likewise.
12252         (SMACK_MAGIC): Likewise.
12253         (SOCKFS_MAGIC): Likewise.
12254         (SQUASHFS_MAGIC): Likewise.
12255         (STACK_END_MAGIC): Likewise.
12256         (TMPFS_MAGIC): Likewise.
12257         (USBDEVICE_SUPER_MAGIC): Likewise.
12258         (V9FS_MAGIC): Likewise.
12259         (XENFS_SUPER_MAGIC): Likewise.
12260         (CRAMFS_MAGIC): Fix typo in comment.
12261         (EXT2_SUPER_MAGIC): Update comment.
12262         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12263
12264 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12265
12266         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12267         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12268         * sysdeps/unix/sysv/linux/arm: Move directory from
12269         ports/sysdeps/unix/sysv/linux/arm.
12270         * README: Update listing for arm-*-linux-gnueabi.
12271
12272         * README: Remove mention of am33.
12273
12274 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12275
12276         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12277         than the comma operator, to avoid "rhs of comma has no effect"
12278         compiler warnings.
12279         (__sigfillset, __sigandset, __sigorset): Likewise.
12280         * include/signal.h (__sigemptyset): Likewise.
12281         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12282
12283 2014-02-07  Allan McRae  <allan@archlinux.org>
12284
12285         * version.h (RELEASE): Set to "development".
12286         (VERSION): Set to "2.19.90"
12287         * NEWS: Add 2.20 section.
12288
12289 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12290
12291         [BZ #16529]
12292         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12293
12294 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12295
12296         * manual/contrib.texi: Update entry for Carlos O'Donell,
12297         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12298
12299 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12300
12301         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12302
12303         * sysdeps/unix/sysv/linux/kernel-features.h
12304         [__LINUX_KERNEL_VERSION >= 0x020621]
12305         (__ASSUME_PROC_PID_TASK_COMM): Define.
12306
12307 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12308
12309         [BZ #16398]
12310         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12311         conversion when destination buffer does not have enough space.
12312         * libio/tst-ftell-partial-wide.c: New test case.
12313         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12314
12315         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12316         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12317         Leonard and Allan McRae.
12318
12319 2014-02-04  David S. Miller  <davem@davemloft.net>
12320
12321         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12322         32-bit.
12323
12324 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12325
12326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12327         New file
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12329         New file
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12331         New file.
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12333         New file.
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12335         New file.
12336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12337         New file.
12338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12339         New file.
12340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12341         New file.
12342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12343         New file.
12344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12345         New file.
12346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12347         New file.
12348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12349         New file.
12350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12351         New file.
12352
12353 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12354
12355         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12356         * shlib-versions: Likewise.
12357
12358 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12359             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12360
12361         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12362         (abilist-pattern): New variable, set to %-le.abilist.
12363
12364         * Makerules (abilist-pattern): New variable.
12365         (vpath): Use $(abilist-pattern) in place of %.abilist.
12366         (check-abi-% pattern rule): Likewise.
12367         (check-abi, update-abi): Likewise.
12368
12369 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12370
12371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12372
12373 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12374
12375         * manual/startup.texi: Add next, previous, and top entries for
12376         the `Program Arguments' and `Environment Variables' nodes.
12377
12378 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12379
12380         * manual/macros.texi: Add comments before MTASC-safety macros.
12381
12382         * manual/users.texi: Document MTASC-safety properties.
12383
12384         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12385         (pthread_getspecific, pthread_setspecific): Format with
12386         @deftypefun, and add @safety note.
12387         * manual/signal.texi: Move comments that analyze the above
12388         functions to their home place.
12389
12390 2014-02-03  Allan McRae  <allan@archlinux.org>
12391
12392         * po/sl.po: Update Slovenian translation from translation project.
12393
12394 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12395
12396         * manual/time.texi (timegm): Add missing blank after @c.
12397         Reported by Joseph Myers <joseph@codesourcery.com>.
12398
12399 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12400
12401         * manual/check-safety.sh: New.
12402         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12403
12404         * manual/terminal.texi: Document MTASC-safety properties.
12405
12406         * manual/filesys.texi: Document MTASC-safety properties.
12407
12408         * manual/errno.texi: Document MTASC-safety properties.
12409
12410         * manual/intro.texi: Document safety identifiers and
12411         conditionals.
12412
12413         * manual/string.texi (wcstok): Fix prototype.
12414         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12415
12416         * manual/time.texi: Document MTASC-safety properties.
12417
12418         * manual/string.texi: Document MTASC-safety properties.
12419
12420         * manual/threads.texi: Document MTASC-safety properties.
12421
12422         * manual/stdio.texi: Document MTASC-safety properties.
12423
12424         * manual/syslog.texi: Document MTASC-safety properties.
12425
12426         * manual/sysinfo.texi: Document MTASC-safety properties.
12427
12428         * manual/startup.texi: Document MTASC-safety properties.
12429
12430         * manual/socket.texi: Document MTASC-safety properties.
12431
12432         * manual/signal.texi: Document MTASC-safety properties.
12433
12434 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12435
12436         * manual/setjmp.texi: Document MTASC-safety properties.
12437
12438         * manual/search.texi: Document MTASC-safety properties.
12439
12440         * manual/resource.texi: Document MTASC-safety properties.
12441
12442         * manual/process.texi: Document MTASC-safety properties.
12443
12444         * manual/platform.texi: Document MTASC-safety properties.
12445
12446         * manual/pipe.texi: Document MTASC-safety properties.
12447
12448         * manual/pattern.texi: Document MTASC-safety properties.
12449
12450         * manual/message.texi: Document MTASC-safety properties.
12451
12452         [BZ #12751]
12453         * manual/memory.texi: Document MTASC-safety properties.
12454
12455         * manual/math.texi: Document MTASC-safety properties.
12456
12457         * manual/locale.texi: Document MTASC-safety properties.
12458
12459         * manual/llio.texi: Document MTASC-safety properties.
12460
12461         * manual/libdl.texi: New.
12462
12463         * manual/lang.texi: Document MTASC-safety properties.
12464
12465         * manual/job.texi: Document MTASC-safety properties.
12466
12467         * manual/getopt.texi: Document MTASC-safety properties.
12468
12469         * manual/ctype.texi: Document MTASC-safety properties.
12470
12471 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12472
12473         [BZ #16046]
12474         * csu/libc-tls.c (static_map): Remove variable.
12475         (__libc_setup_tls): Use main executable's link map for TLS data.
12476         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12477         casing for LM_ID_BASE and GL(dl_nns).
12478         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12479         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12480         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12481         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12482         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12483         member.
12484         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12485         l_phnum members.
12486
12487 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12488
12489         * manual/debug.texi: Document MTASC-safety properties.
12490
12491 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12492
12493         [BZ #16510]
12494         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12495         of __x86_64__ when disabling x87 inline functions.
12496
12497 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12498
12499         * manual/charset.texi: Document MTASC-safety properties.
12500
12501         * manual/crypt.texi: Document MTASC-safety properties.
12502
12503         * manual/conf.texi: Document MTASC-safety properties.
12504
12505         * manual/arith.texi: Document MTASC-safety properties.
12506
12507         * manual/argp.texi: Document MTASC-safety properties.
12508
12509         * manual/macros.texi: Introduce macros to document multi
12510         thread, asynchronous signal and asynchronous cancellation
12511         safety properties.
12512         * manual/intro.texi: Introduce the properties themselves.
12513
12514 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12515
12516         * sysdeps/sh/sh4/Makefile: New file.
12517
12518 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12519
12520         * math/gen-libm-test.pl ($srcdir): New variable.
12521         ($auto_input): Use it.
12522
12523 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12524
12525         [BZ #16506]
12526         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12527         access beyond array bounds when parsing netgroups file.
12528
12529         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12530         the old buffer before realloc.
12531
12532 2014-01-27  Allan McRae  <allan@archlinux.org>
12533
12534         * po/fr.po: Update French translation from translation project.
12535
12536 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12537
12538         * sysdeps/sh/libm-test-ulps: Regenerate.
12539
12540 2014-01-24  David S. Miller  <davem@davemloft.net>
12541
12542         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12543
12544 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12545
12546         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12547         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12548
12549 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12550
12551         [BZ #16474]
12552         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12553         string pointers after reallocation.
12554
12555 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12556
12557         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12558         __SH4A__ instead of __SH_FPU_ANY__.
12559
12560 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12561
12562         * sysdeps/sh/fpu_control.h: New file.
12563         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12564         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12565         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12566         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12567         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12568         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12569         * sysdeps/sh/sys/ucontext.h: Remove.
12570         * sysdeps/sh/sys: Remove directory.
12571
12572 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12573
12574         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12575         s390/sys/ucontext.h.
12576         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12577         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12578
12579 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12580
12581         [BZ #15605]
12582         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12583
12584 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12585
12586         [BZ#16431]
12587         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12588         Adjust the vDSO correctly for internal calls.
12589         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12590
12591 2014-01-20  Allan McRae  <allan@archlinux.org>
12592
12593         * po/ca.po: Update Catalan translation from translation project.
12594
12595 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12596
12597         * sysdeps/s390/sotruss-lib.c: New file.
12598
12599 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12600
12601         [BZ#16430]
12602         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12603         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12604         local calls issues by not having a PLT stub required for IFUNC calls.
12605         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12606
12607 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12608
12609         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12610         * math/test-fpucw-static.c: Likewise.
12611
12612 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12613
12614         [BZ #16453]
12615         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12616
12617 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12618
12619         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12620         implementation for powerpc.
12621
12622 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12623
12624         [BZ #14782]
12625         * sysdeps/posix/system.c (__libc_system): Do not enable
12626         asynchronous cancellation.
12627
12628 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12629
12630         [BZ #16427]
12631         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12632         handling only for numbers special also in the IEEE case.
12633
12634 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12635
12636         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12637
12638 2014-01-11  Allan McRae  <allan@archlinux.org>
12639
12640         * po/bg.po: Update Bulgarian translation from translation project.
12641
12642         * po/de.po: Update German translation from translation project.
12643
12644 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12645
12646         * sysdeps/generic/gcc-compat.h: New file.
12647
12648 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12649
12650         * benchtests/asin-inputs: Correct slow inputs.
12651         * benchtests/acos-inputs: Likewise.
12652
12653 2014-01-10  Allan McRae  <allan@archlinux.org>
12654
12655         * po:sv.po: Update Swedish translation from translation project.
12656
12657         * po/vi.po: Update Vietnamese translation from translation project.
12658
12659         * po/eo.po: Update Esperanto translation from translation project.
12660
12661         * po/cs.po: Update Czech translation from translation project.
12662
12663         * po/nl.po: Update Dutch translation from translation project.
12664
12665         * po/pl.po: Update Polish translation from translation project.
12666
12667         * po/ru.po: Update Russian translation from translation project.
12668
12669         * po/uk.po: Update Ukrainian translation from translation project.
12670
12671 2014-01-08  Brooks Moses  <bmoses@google.com>
12672
12673         * elf/dl-load.c: Fix comment typo.
12674
12675 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12676
12677         * po/header.pot: Rename to...
12678         * po/pot.header: ... this.
12679         * po/Makefile: Use pot.header.
12680
12681 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12682             Maxim Kuvyrkov  <maxim@kugelworks.com>
12683
12684         [BZ #16394]
12685         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12686         SRC and DEST against LEN.
12687
12688 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12689
12690         [BZ #16414]
12691         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12692         implementation.
12693         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12694
12695 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12696
12697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12698
12699 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12700
12701         [BZ #16408]
12702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12703         for large positive arguments.
12704
12705 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12706
12707         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12708
12709         * math/auto-libm-test-in: Mark various tests with
12710         xfail-rounding:ldbl-128ibm.
12711         * math/auto-libm-test-out: Regenerated.
12712
12713         [BZ #16407]
12714         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12715         Increase overflow threshold.
12716
12717 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12718
12719         [BZ #14286]
12720         * stdio-common/vfprintf.c: Check for integer overflow.
12721
12722 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12723
12724         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12725         the first argument and return value of __tls_get_addr_internal.
12726
12727 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12728
12729         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12730         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12731
12732 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12733
12734         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12735         * sysdeps/s390/rtld-global-offsets.sym: New file.
12736         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12737         GLIBC_2.19 symbol.
12738         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12739         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12740         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12741         ... this.
12742         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12743         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12744         ... this.
12745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12746         Regenerate.
12747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12748         Regenerate.
12749         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12750         halfs of GPRs for high_gprs contexts.
12751         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12752         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12753         field.
12754         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12755         uc_flags field.
12756         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12757         64 bit versions:
12758         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12759         for high GPRs (uc_high_gprs) and for future extensions
12760         (__reserved).
12761         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12762         for future extensions (__reserved).
12763         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12764         64 bit versions:
12765         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12766         SC_HIGHGPRS offset definition.
12767         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12768         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12769
12770         * Versions.def: Add GLIBC_2.19 for libpthread.
12771         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12772         siglongjmp for libpthread with GLIBC_2.19 symver.
12773         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12774         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12775         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12776         * sysdeps/s390/__longjmp.c: New file.
12777         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12778         * sysdeps/s390/longjmp.c: New file.
12779         * sysdeps/s390/setjmp.S: New file.
12780         * sysdeps/s390/sigjmp.S: New file.
12781         * sysdeps/s390/v1-longjmp.c: New file.
12782         * sysdeps/s390/v1-setjmp.h: New file.
12783         * sysdeps/s390/v1-sigjmp.c: New file.
12784         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12785         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12786         GLIBC_2.19 version.
12787         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12788         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12789         versioned symbols for ____longjmp_chk.
12790         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12791         Likewise.
12792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12793         Regenerate.
12794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12795         Regenerate.
12796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12797         Regenerate.
12798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12799         Regenerate.
12800         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12801         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12802         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12803         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12804         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12805         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12806         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12807         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12808         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12809         * sysdeps/s390/rtld-__longjmp.c: New file.
12810         * sysdeps/s390/rtld-setjmp.S: New file.
12811
12812 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12813
12814         [BZ #16400]
12815         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12816         Return -__logl (x) for small positive arguments without evaluating
12817         a polynomial.
12818
12819 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12820
12821         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12822         Rename to ...
12823         (__ptrace_peeksiginfo_args): ... this.
12824         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12827
12828 2014-01-06  Allan McRae  <allan@archlinux.org>
12829
12830         * inet/netinet/in.h: Fix typo in comment.
12831
12832 2014-01-05  Andreas Jaeger  <aj@suse.de>
12833
12834         * sysdeps/i386/fpu/libm-test-ulps: Update.
12835
12836 2014-01-05  Allan McRae  <allan@archlinux.org>
12837
12838         * po/libc.pot: Regenerated.
12839
12840         * malloc/memusagestat.c: Fix gettext call formatting.
12841
12842 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12843
12844         * nscd/nscd.c: Improve usage() output.
12845
12846 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12847
12848         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12849         * sysdeps/unix/sysv/linux/configure: Regenerated.
12850         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12851         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12852
12853 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12854
12855         [BZ #16390]
12856         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12857         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12858
12859 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12860
12861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12862         extra tokens at end of #undef directive.
12863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12864         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12865         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12866
12867 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12868
12869         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12870
12871         * math/auto-libm-test-in: Mark various tests with
12872         xfail-rounding:ldbl-128ibm.
12873         * math/auto-libm-test-out: Regenerated.
12874
12875 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12876
12877         [BZ #16386]
12878         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12879         numbers with subnormal high part when calculating exponent.
12880
12881         [BZ #16385]
12882         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12883         fabs.
12884
12885         [BZ #16384]
12886         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12887         M_LN2l.
12888         (__ieee754_acoshl): Use __log1pl not __log1p.
12889
12890 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12891
12892         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12893         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12894         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12895         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12896         (reused_arena, arena_get2): Convert to GNU style.
12897         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12898         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12899         (memalign_check, __malloc_set_state): Likewise.
12900         * malloc/mallocbug.c (main): Likewise.
12901         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12902         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12903         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12904         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12905         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12906         (__posix_memalign, malloc_info): Likewise.
12907         * malloc/malloc.h: Likewise.
12908         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12909         (mallochook, memalignhook, reallochook, mabort): Likewise.
12910         * malloc/mcheck.h: Likewise.
12911         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12912         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12913         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12914         * malloc/morecore.c (__default_morecore): Likewise.
12915         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12916         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12917         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12918         (print_and_abort): Likewise.
12919         * malloc/obstack.h: Likewise.
12920         * malloc/set-freeres.c (__libc_freeres): Likewise.
12921         * malloc/tst-mallocstate.c (main): Likewise.
12922         * malloc/tst-mtrace.c (main): Likewise.
12923         * malloc/tst-realloc.c (do_test): Likewise.
12924
12925 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12926
12927         [BZ #16366]
12928         * nscd/netgroupcache.c (do_notfound): New function.
12929         (addgetnetgrentX): Use it.
12930
12931         [BZ # 16365]
12932         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12933         NSS_STATUS_NOTFOUND.
12934
12935 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12936
12937         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12939
12940 2014-01-01  Allan McRae  <allan@archlinux.org>
12941
12942         * scripts/update-copyrights: Update configure input file suffix.
12943
12944         * NEWS: Update copyright year.
12945         * catgets/gencat.c: Likewise.
12946         * csu/version.c: Likewise.
12947         * debug/catchsegv.sh: Likewise.
12948         * debug/pcprofiledump.c: Likewise.
12949         * debug/xtrace.sh: Likewise.
12950         * elf/ldconfig.c: Likewise.
12951         * elf/ldd.bash.in: Likewise.
12952         * elf/pldd.c: Likewise.
12953         * elf/sotruss.ksh: Likewise.
12954         * elf/sprof.c: Likewise.
12955         * iconv/iconv_prog.c: Likewise.
12956         * iconv/iconvconfig.c: Likewise.
12957         * locale/programs/locale.c: Likewise.
12958         * locale/programs/localedef.c: Likewise.
12959         * login/programs/pt_chown.c: Likewise.
12960         * malloc/memusage.sh: Likewise.
12961         * malloc/memusagestat.c: Likewise.
12962         * malloc/mtrace.pl: Likewise.
12963         * manual/libc.texinfo: Likewise.
12964         * nscd/nscd.c: Likewise.
12965         * nss/getent.c: Likewise.
12966         * nss/makedb.c: Likewise.
12967         * posix/getconf.c: Likewise.
12968         * scripts/test-installation.pl: Likewise.
12969
12970         * All files with FSF copyright notices: Update copyright dates
12971         using scripts/update-copyrights.
12972         * intl/plural.c: Regenerated.
12973         * locale/programs/charmap-kw.h: Likewise.
12974         * locale/programs/locfile-kw.h: Likewise.
12975
12976 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12977
12978         * sysdeps/unix/sysv/linux/configure: Regenerated.
12979         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12980         the linux/fanotify.h header.
12981         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12982         HAVE_LINUX_FANOTIFY_H is defined.
12983
12984 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12985
12986         * benchtests/cos-inputs: New inputs.
12987         * benchtests/sin-inputs: Likewise.
12988
12989         * benchtests/atan-inputs: New inputs. Fix name of multiple
12990         precision fallback inputs.
12991
12992         * benchtests/atanh-inputs: New inputs.
12993         * benchtests/tanh-inputs: Likewise.
12994
12995         * benchtests/acosh-inputs: New inputs.
12996         * benchtests/asinh-inputs: Likewise.
12997
12998         * benchtests/cosh-inputs: New inputs.
12999         * benchtests/sinh-inputs: Likewise.
13000
13001         * benchtests/acos-inputs: Add more inputs.
13002         * benchtests/asin-inputs: Likewise.
13003
13004 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13005
13006         [BZ #16375]
13007         * manual/arith.texi: Fix spelling.
13008         * manual/charset.texi: Likewise.
13009         * manual/errno.texi: Likewise.
13010         * manual/filesys.texi: Likewise.
13011         * manual/lang.texi: Likewise.
13012         * manual/llio.texi: Likewise.
13013         * manual/locale.texi: Likewise.
13014         * manual/message.texi: Likewise.
13015         * manual/resource.texi: Likewise.
13016         * manual/search.texi: Likewise.
13017         * manual/setjmp.texi: Likewise.
13018         * manual/stdio.texi: Likewise.
13019         * manual/string.texi: Likewise.
13020         * manual/sysinfo.texi: Likewise.
13021         * manual/time.texi: Likewise.
13022
13023 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13024
13025         * po/sl.po: New file.
13026
13027 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13028
13029         * .gitignore: Add core/.gdbinit/.gdb_history.
13030
13031 2013-12-27  Allan McRae  <allan@archlinux.org>
13032
13033         [BZ #16369]
13034         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13035         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13036
13037 2013-12-24  Brooks Moses  <bmoses@google.com>
13038
13039         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13040         all compilers that claim C++98 compliance, not just GCC.
13041         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13042         Likewise.
13043
13044 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13045
13046         * NEWS: Restore accidentally deleted bug-fix entries.
13047
13048 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13049             Ondřej Bílka  <neleai@seznam.cz>
13050
13051         [BZ #15073]
13052         * malloc/malloc.c (_int_free): Perform sanity check only if we
13053         have_lock.
13054
13055 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13056
13057         [BZ #12986]
13058         * manual/stdio.texi (String Input Conversions): Clarify that character
13059         classes are not supported.
13060
13061 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13062
13063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13064
13065 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13066
13067         [BZ #16337]
13068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13069         Calculate results for small negative arguments directly rather
13070         than using reflection formula with special underflow handling.
13071
13072         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13073         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13074         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13075         (fchflags): Likewise.
13076         (revoke): Likewise.
13077         (setlogin): Likewise.
13078         (sigaltstack): Likewise.
13079         (wait4): Likewise.
13080         (sigblock): Remove.
13081         (sigsetmask): Likewise.
13082         (wait3): Likewise.
13083         (waitpid): Likewise.
13084         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13085         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13086         file.
13087         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13088         * sysdeps/unix/bsd/Makefile: ... here.
13089         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13090         * sysdeps/unix/bsd/Versions: ... here.
13091         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13092         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13093         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13094         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13095         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13096         * sysdeps/unix/bsd/sigblock.c: ... here.
13097         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13098         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13099         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13100         * sysdeps/unix/bsd/sigvec.c: ... here.
13101         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13102         * sysdeps/unix/bsd/tcdrain.c: ... here.
13103         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13104         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13105         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13106         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13107         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13108         * sysdeps/unix/bsd/wait.c: ... here.
13109         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13110         * sysdeps/unix/bsd/wait3.c: ... here.
13111         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13112         * sysdeps/unix/bsd/waitpid.c: ... here.
13113
13114 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13115
13116         [BZ #16356]
13117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13118         round-to-nearest for [!USE_AS_EXPM1L].
13119         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13120         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13121         more tests of exp and exp10.  Expect some exp10 tests to miss
13122         exceptions or fail in directed rounding modes.
13123         * math/auto-libm-test-out: Regenerated.
13124         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13125         (exp10_test_tonearest): New function.
13126         (exp10_towardzero_test_data): New array.
13127         (exp10_test_towardzero): New function.
13128         (exp10_downward_test_data): New array.
13129         (exp10_test_downward): New function.
13130         (exp10_upward_test_data): New array.
13131         (exp10_test_upward): New function.
13132         (main): Call the new functions.
13133         * sysdeps/i386/fpu/libm-test-ulps: Update.
13134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13135
13136 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13137
13138         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13139         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13140         * math/auto-libm-test-out: Regenerated.
13141         * math/libm-test.inc (acosh_test_data): Add more tests.
13142         (atanh_test_data): Likewise.
13143         (ceil_test_data): Likewise.
13144         (copysign_test_data): Likewise.
13145         * sysdeps/i386/fpu/libm-test-ulps: Update.
13146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147
13148         * timezone/checktab.awk: Update from tzcode 2013i.
13149         * timezone/private.h: Likewise.
13150         * timezone/scheck.c: Likewise.
13151         * timezone/tzfile.h: Likewise.
13152         * timezone/tzselect.ksh: Likewise.
13153         * timezone/zdump.c: Likewise.
13154         * timezone/zic.c: Likewise.
13155
13156         * math/auto-libm-test-in: Add tests of cpow.
13157         * math/auto-libm-test-out: Regenerated.
13158         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13159         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13160         mpc_cc_c.
13161         (func_calc_desc): Add mpc_cc_c union field.
13162         (test_functions): Add cpow.
13163         (special_fill_2pi): New function.
13164         (special_real_inputs): Add 2pi.
13165         (calc_generic_results): Handle mpc_cc_c.
13166         * sysdeps/i386/fpu/libm-test-ulps: Update.
13167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13168
13169         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13170         csqrt, ctan and ctanh.
13171         * math/auto-libm-test-out: Regenerated.
13172         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13173         (TEST_COND_x86): Likewise.
13174         (ccos_test_data): Use AUTO_TESTS_c_c.
13175         (ccosh_test_data): Likewise.
13176         (cexp_test_data): Likewise.
13177         (clog_test_data): Likewise.
13178         (csqrt_test_data): Likewise.
13179         (ctan_test_data): Likewise.
13180         (ctan_tonearest_test_data): Likewise.
13181         (ctan_towardzero_test_data): Likewise.
13182         (ctan_downward_test_data): Likewise.
13183         (ctan_upward_test_data): Likewise.
13184         (ctanh_test_data): Likewise.
13185         (ctanh_tonearest_test_data): Likewise.
13186         (ctanh_towardzero_test_data): Likewise.
13187         (ctanh_downward_test_data): Likewise.
13188         (ctanh_upward_test_data): Likewise.
13189         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13190         mpc_c_c.
13191         (func_calc_desc): Add mpc_c_c union field.
13192         (FUNC_mpc_c_c): New macro.
13193         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13194         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13195         ctanh.
13196         (special_fill_min_subnorm_p120): New function.
13197         (special_real_inputs): Add min_subnorm_p120.
13198         (calc_generic_results): Handle mpc_c_c.
13199         * sysdeps/i386/fpu/libm-test-ulps: Update.
13200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13201
13202 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13203
13204         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13205         (do_sin_slow): New functions.
13206         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13207         (cslow2, csloww1, csloww2): Use the new functions.
13208
13209         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13210         Use M to change sign of result instead of X.  Assume X is
13211         positive.
13212         (csloww1): Likewise.
13213         (__sin): Adjust.
13214         (__cos): Adjust.
13215
13216         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13217         arguments A and DA.
13218         (__sin): Adjust.
13219         (__cos): Likewise.
13220
13221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13222         (__cos): Likewise.
13223         (sloww1): Don't adjust sign of DX.
13224         (csloww1): Likewise.
13225         (sloww2): Use X directly and don't adjust sign of DX.
13226         (csloww2): Likewise.
13227
13228 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13229
13230         * math/auto-libm-test-in: Add tests of cabs and carg.
13231         * math/auto-libm-test-out: Regenerated.
13232         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13233         (carg_test_data): Likewise.
13234         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13235         mpc_c_f.
13236         (func_calc_desc): Add mpc_c_f union field.
13237         (test_functions): Add cabs and carg.
13238         (calc_generic_results): Handle mpc_c_f.
13239
13240         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13241         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13242         as a macro and a compat symbol.
13243         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13244         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13245         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13246         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13247         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13248         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13249         not use .hidden.
13250         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13251         Likewise.
13252         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13253         Likewise.
13254         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13255         Likewise.
13256         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13257         Likewise.
13258         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13259         Likewise.
13260         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13261         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13262         from GLIBC_2.3.2.
13263
13264 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13265
13266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13267
13268 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13269
13270         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13271         trailing whitespace removed.
13272         * scripts/config.guess: Update to version 2013-11-29.
13273         * scripts/config.sub: Update to version 2013-10-01.
13274
13275         * math/auto-libm-test-in: Add tests of sincos.
13276         * math/auto-libm-test-out: Regenerated.
13277         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13279         mpfr_f_11.
13280         (func_calc_desc): Add mpfr_f_11 union field.
13281         (test_functions): Add sincos.
13282         (calc_generic_results): Handle mpfr_f_11.
13283         * sysdeps/i386/fpu/libm-test-ulps: Update.
13284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13285
13286 2013-12-19  Andreas Schwab  <schwab@suse.de>
13287
13288         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13289         CALL_MCOUNT.
13290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13291         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13292         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13293
13294 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13295
13296         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13297         * sysdeps/i386/fpu/libm-test-ulps: Update.
13298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13299
13300         [BZ #16293]
13301         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13302         round-to-nearest mode when using frndint.
13303         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13304         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13306         Likewise.
13307         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13308         sinh test to fail.
13309         * math/auto-libm-test-out: Regenerated.
13310         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13311         (TEST_COND_x86): Likewise.
13312         (expm1_tonearest_test_data): New array.
13313         (expm1_test_tonearest): New function.
13314         (expm1_towardzero_test_data): New array.
13315         (expm1_test_towardzero): New function.
13316         (expm1_downward_test_data): New array.
13317         (expm1_test_downward): New function.
13318         (expm1_upward_test_data): New array.
13319         (expm1_test_upward): New function.
13320         (main): Run the new test functions.
13321         * sysdeps/i386/fpu/libm-test-ulps: Update.
13322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13323
13324         * include/features.h: Update comment documenting feature test
13325         macros.  Mention _DEFAULT_SOURCE in comment.
13326         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13327         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13328         _BSD_SOURCE and _SVID_SOURCE.
13329         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13330         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13331         !_SVID_SOURCE]: Likewise.
13332         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13333         (__USE_POSIX_IMPLICITLY): Define.
13334         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13335         (_POSIX_SOURCE): Undefine and redefine.
13336         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13337         (_POSIX_C_SOURCE): Likewise.
13338         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13339         (Feature Test Macros): Update documentation of default features.
13340
13341 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13342
13343         * benchtests/Makefile: Add bench-strtok.
13344         * benchtests/bench-strtok.c: New file: strtok benchtest.
13345
13346 2013-12-19  Allan McRae  <allan@archlinux.org>
13347
13348         * manual/install.texi: Suppress menu for plain text output.
13349         * INSTALL: Regenerated.
13350
13351 2013-12-18  Brooks Moses  <bmoses@google.com>
13352
13353         [BZ #15846]
13354         * misc/getauxval.c: Include errno.h.
13355         (__getauxval): Set errno to ENOENT if the requested type is not
13356         found.
13357         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13358         don't declare with __attribute_const__.
13359         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13360         * manual/startup.texi: Document that getauxval sets errno.
13361
13362 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13363
13364         * math/auto-libm-test-in: Add tests of jn and yn.
13365         * math/auto-libm-test-out: Regenerated.
13366         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13367         (yn_test_data): Likewise.
13368         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13369         mpfr_if_f.
13370         (func_calc_desc): Add mpfr_if_f union field.
13371         (FUNC_mpfr_if_f): New macro.
13372         (test_functions): Add jn and yn.
13373         (calc_generic_results): Assert type of second input for
13374         mpfr_ff_f.  Handle mpfr_if_f.
13375         (output_for_one_input_case): Disable all checking for arguments
13376         fitting floating-point types in case of an integer argument.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update.
13378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13381         Don't expect fegetround reference in libm.so.
13382
13383 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13384
13385         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13386         $(config-cflags-nofma).
13387
13388 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13389
13390         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13391         * math/auto-libm-test-out: Regenerated.
13392
13393         [BZ #16338]
13394         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13395         to determine exponent and adjust argument to have exponent of -1.
13396         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13397         log2.
13398         * math/auto-libm-test-out: Regenerated.
13399         * sysdeps/i386/fpu/libm-test-ulps: Update.
13400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13401
13402 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13403
13404         * manual/probes.texi: Remove cases when per-thread arenas are
13405         disabled.
13406
13407 2013-12-18  Andreas Schwab  <schwab@suse.de>
13408
13409         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13410         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13411         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13412         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13413         * sysdeps/i386/i686/multiarch/Makefile: Update.
13414         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13415
13416 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13417
13418         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13419         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13420
13421 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13422
13423         [BZ #15968]
13424         Support TZ transition times < 00:00:00.
13425         This is needed for version-3 tz-format files; it supports time
13426         stamps past 2037 for America/Godthab (the only entry in the tz
13427         database for which this change is relevant).
13428         * manual/time.texi (TZ Variable): Document transition times
13429         from -167:59:59 through -00:00:01.
13430         * time/tzset.c (tz_rule): Time of day is now signed.
13431         (__tzset_parse_tz): Parse negative time of day.
13432
13433         Document TZ transition times >= 25:00:00.
13434         * manual/time.texi (TZ Variable): Document transition times from
13435         25:00:00 through 167:59:59.  These are already supported, and this
13436         support will help with version-3 tz-format files.
13437
13438         * manual/time.texi (TZ Variable): Modernize North America example
13439         to reflect current (i.e., 2007-and-later) daylight saving rules.
13440
13441         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13442
13443 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13444
13445         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13446         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13447         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13449         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13450         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13451         * sysdeps/unix/bsd/clock.c: Likewise.
13452         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13453         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13454         * sysdeps/unix/bsd/init-posix.c: Likewise.
13455         * sysdeps/unix/bsd/poll.c: Likewise.
13456         * sysdeps/unix/bsd/ptsname.c: Likewise.
13457         * sysdeps/unix/bsd/seekdir.c: Likewise.
13458         * sysdeps/unix/bsd/setegid.c: Likewise.
13459         * sysdeps/unix/bsd/seteuid.c: Likewise.
13460         * sysdeps/unix/bsd/setgid.c: Likewise.
13461         * sysdeps/unix/bsd/setrgid.c: Likewise.
13462         * sysdeps/unix/bsd/setruid.c: Likewise.
13463         * sysdeps/unix/bsd/setsid.c: Likewise.
13464         * sysdeps/unix/bsd/setuid.c: Likewise.
13465         * sysdeps/unix/bsd/sigaction.c: Likewise.
13466         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13467         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13468         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13469         * sysdeps/unix/bsd/telldir.c: Likewise.
13470         * sysdeps/unix/bsd/times.c: Likewise.
13471         * sysdeps/unix/bsd/usleep.c: Likewise.
13472
13473         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13474         ($(objpfx)libbsd-compat.a): Remove rule.
13475
13476         * include/features.h (__FAVOR_BSD): Do not define.
13477         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13478         features conflicting with POSIX.
13479         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13480         (_BSD_SOURCE): Remove description of not being a subset of other
13481         feature test macros.
13482         * manual/job.texi (getpgrp): Do not document BSD version.
13483         (getpgid): Do not document by reference to BSD getpgrp.
13484         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13485         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13486         * signal/signal.h [__FAVOR_BSD]: Likewise.
13487         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13488         instead of making contents conditional on [__FAVOR_BSD].
13489         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13490
13491 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13492
13493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13494
13495 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13496
13497         [BZ #16314]
13498         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13499         values below 2**-450, not 2**-500.
13500         * math/auto-libm-test-in: Don't allow spurious underflow from
13501         hypot.
13502         * math/auto-libm-test-out: Regenerated.
13503
13504         [BZ #16316]
13505         [BZ #16330]
13506         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13507         values of ha and hb and sort them after adjusting subnormal
13508         arguments.
13509         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13510         Likewise.
13511         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13512         values of ea and eb and sort them after adjusting subnormal
13513         arguments.
13514         * math/auto-libm-test-in: Do not expect some hypot tests of
13515         subnormals to fail.  Add more hypot tests.
13516         * math/auto-libm-test-out: Regenerated.
13517
13518 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13519
13520         [BZ #13304]
13521         * sysdeps/sh/s_fma.c: New file.
13522         * sysdeps/sh/s_fmaf.c: New file.
13523         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13524         version.
13525         * sysdeps/sh/Implies: Add sh/soft-fp.
13526
13527 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13528
13529         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13530         level of indirection to members `objname', `errstring', `malloced'.
13531         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13532         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13533         it as the __longjmp argument (just pass 1 instead).
13534         (_dl_catch_error): Initialize C with argument pointers and address of
13535         volatile local ERRCODE rather than copying values out of C at return.
13536
13537 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13538
13539         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13540         * math/auto-libm-test-out: Regenerated.
13541         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13542         (hypot_test_data): Likewise.
13543         (pow_test_data): Likewise.
13544         (pow_tonearest_test_data): Likewise.
13545         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13546         mpfr_ff_f.
13547         (func_calc_desc): Add mpfr_ff_f union field.
13548         (FUNC_mpfr_ff_f): New macro.
13549         (test_functions): Add atan2, hypot and pow.
13550         (special_fill_min): New function.
13551         (special_fill_minus_min): Likewise.
13552         (special_fill_min_subnorm): Likewise.
13553         (special_fill_minus_min_subnorm): Likewise.
13554         (special_real_inputs): Add min, -min, min_subnorm and
13555         -min_subnorm.
13556         (calc_generic_results): Handle mpfr_ff_f.
13557         * sysdeps/i386/fpu/libm-test-ulps: Update.
13558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13559
13560 2013-12-16  Will Newton  <will.newton@linaro.org>
13561
13562         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13563         (Aligned Memory Blocks): Add documentation for aligned_alloc
13564         and suggest it as an alternative to posix_memalign.
13565         (Hooks for Malloc): Document __memalign_hook is also called
13566         for aligned_alloc.  (Summary of Malloc): Add summary for
13567         aligned alloc.  Document __memalign_hook is also called
13568         for aligned_alloc.
13569
13570 2013-12-16  Will Newton  <will.newton@linaro.org>
13571
13572         * manual/memory.texi (Malloc Examples): Clarify default
13573         alignment documentation.  Suggest posix_memalign rather
13574         than memalign or valloc.
13575         (Aligned Memory Blocks): Remove suggestion to use memalign
13576         or valloc.  Remove obsolete comment about BSD.
13577         Document memalign errno values and mark the function obsolete.
13578         Document posix_memalign returned error codes.  Mark valloc
13579         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13580         called for posix_memalign and valloc.
13581         (Summary of Malloc): Add posix_memalign to function summary.
13582         __memalign_hook is also called for posix_memalign and valloc.
13583
13584 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13585
13586         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13587         TAYLOR_SIN.
13588         (__sin): Adjust.
13589         (__cos): Likewise.
13590         (sloww): Use mynumber union.  Expand ternary operator into
13591         if-else statements.
13592         (cslow): use mynumber union.
13593
13594 2013-12-16  Allan McRae  <allan@archlinux.org>
13595
13596         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13597         * configure: Regenerated.
13598
13599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13600
13601         [BZ #14120]
13602         * configure.ac: Added --enable-maintainer-mode. Check for
13603         autoconf when enabled.
13604         * configure: Regenerated.
13605
13606         * nscd/nscd.service: New file.
13607         * nscd/nscd.tmpfiles: New file.
13608
13609 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13610
13611         [BZ #12100]
13612         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13613         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13614         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13615         (strstr): Add __strstr_sse2_unaligned ifunc.
13616         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13617         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13618         (strcasestr): Remove __strcasestr_sse42 ifunc.
13619         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13622
13623 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13624
13625         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13626         * sysdeps/sh/bits/fenv.h: ... here.
13627         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13628
13629 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13630
13631         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13632
13633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13634         hypotf multiarch implementations.
13635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13638         multiarch hypot for PPC64.
13639         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13640         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13642         multiarch hypotf for PPC64.
13643
13644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13645         modff multiarch implementations.
13646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13649         multiarch modf for PPC64.
13650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13653         multiarch modff for PPC64.
13654
13655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13656         and logl multiarch implementations.
13657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13660         multiarch logb for PPC64.
13661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13664         multiarch logb for PPC64.
13665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13668         multiarch logb for PPC64.
13669
13670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13671         isinff multiarch implementation.
13672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13673         file.
13674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13676         multiarch isinf for PPC64.
13677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13678         file.
13679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13680         multiarch isinff for PPC64.
13681
13682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13683         finitef multiarch implementation.
13684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13685         file.
13686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13688         multiarch finite for PPC64.
13689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13690         file.
13691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13692         multiarch finitef for PPC64.
13693
13694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13695         lrint multiarch implementation.
13696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13697         file.
13698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13700         multiarch llrint for PPC64.
13701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13702         multiarch lrint for PPC64.
13703
13704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13705         copysignf multiarch implementation.
13706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13707         file.
13708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13709         file.
13710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13711         multiarch copysign for PPC64.
13712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13713         multiarch copysignf for PPC64.
13714
13715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13716         multiarch implementation.
13717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13718         file.
13719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13720         file.
13721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13722         file.
13723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13724         file.
13725         multiarch llround for PPC64.
13726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13727         multiarch trunc for PPC64.
13728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13729         multiarch truncf for PPC64.
13730
13731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13732         multiarch implementation.
13733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13734         file.
13735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13736         file.
13737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13738         file.
13739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13740         file.
13741         multiarch llround for PPC64.
13742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13743         multiarch round for PPC64.
13744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13745         multiarch roundf for PPC64.
13746
13747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13748         multiarch implementation.
13749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13750         file.
13751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13752         file.
13753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13754         file.
13755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13756         file.
13757         multiarch llround for PPC64.
13758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13759         multiarch floor for PPC64.
13760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13761         multiarch floorf for PPC64.
13762
13763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13764         multiarch implementation.
13765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13766         file.
13767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13768         file.
13769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13770         file.
13771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13772         file.
13773         multiarch llround for PPC64.
13774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13775         multiarch ceil for PPC64.
13776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13777         multiarch ceilf for PPC64.
13778
13779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13780         multiarch implementation.
13781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13782         file.
13783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13784         file.
13785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13786         file.
13787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13788         multiarch llround for PPC64.
13789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13790         multiarch lround for PPC64.
13791
13792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13793         multiarch implementation.
13794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13797         file.
13798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13801         multiarch isnan for PPC64.
13802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13803         multiarch isnanf for PPC64.
13804
13805         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13806         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13807         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13808         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13809         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13811
13812         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13813         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13814         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13815         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13816
13817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13818         multiarch implementations.
13819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13820         (__libc_ifunc_impl_list): Likewise.
13821         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13824         multiarch stpcpy for PPC64.
13825
13826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13827         multiarch implementations.
13828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13829         (__libc_ifunc_impl_list): Likewise.
13830         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13831         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13832         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13833         multiarch strcpy for PPC64.
13834
13835         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13836         redefine function name.
13837         (_wordcopy_fwd_dest_aligned): Likewise.
13838         (_wordcopy_bwd_aligned): Likewise.
13839         (_wordcopy_bwd_dest_aligned): Likewise.
13840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13841         multiarch implementations.
13842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13843         (__libc_ifunc_impl_list): Likewise.
13844         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13845         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13846         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13847         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13848         multiarch wcscpy for PPC64.
13849
13850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13851         multiarch implementations.
13852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13853         (__libc_ifunc_impl_list): Likewise.
13854         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13855         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13856         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13857         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13858         multiarch wcscpy for PPC64.
13859
13860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13861         multiarch implementations.
13862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13863         (__libc_ifunc_impl_list): Likewise.
13864         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13865         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13866         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13867         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13868         multiarch wcsrchr for PPC64.
13869
13870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13871         multiarch implementations.
13872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13873         (__libc_ifunc_impl_list): Likewise.
13874         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13875         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13876         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13877         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13878         multiarch wcschr for PPC64.
13879
13880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13881         multiarch implementations.
13882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13883         (__libc_ifunc_impl_list): Likewise.
13884         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13885         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13886         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13887         multiarch strchrnul for PPC64.
13888
13889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13890         implementations.
13891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13892         (__libc_ifunc_impl_list): Likewise.
13893         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13894         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13895         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13896         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13897         strchr for PPC64.
13898
13899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13900         implementations.
13901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13902         (__libc_ifunc_impl_list): Likewise.
13903         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13904         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13905         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13906         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13907         strncmp for PPC64.
13908
13909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13910         multiarch implementations.
13911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13912         (__libc_ifunc_impl_list): Likewise.
13913         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13914         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13915         strncasecmp for PPC64.
13916         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13917         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13918         multiarch strncasecmp_l for PPC64.
13919
13920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13921         multiarch implementations.
13922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13923         (__libc_ifunc_impl_list): Likewise.
13924         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13925         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13926         multiarch strcasecmp for PPC64.
13927         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13928         file.
13929         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13930         multiarch strcasecmp_l for PPC64.
13931
13932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13933         implementations.
13934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13935         (__libc_ifunc_impl_list): Likewise.
13936         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13937         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13938         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13939         strnlen for PPC64.
13940
13941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13942         implementations.
13943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13944         (__libc_ifunc_impl_list): Likewise.
13945         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13946         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13947         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13948         strlen for PPC64.
13949
13950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13951         implementations.
13952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13953         (__libc_ifunc_impl_list): Likewise.
13954         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13955         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13956         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13957         rawmemrchr for PPC64.
13958
13959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13960         implementation.
13961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13962         (__libc_ifunc_impl_list): Likewise.
13963         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13964         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13965         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13966         memrchr for PPC64.
13967
13968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13969         implementation.
13970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13971         (__libc_ifunc_impl_list): Likewise.
13972         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13973         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13974         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13975         memchr for PPC64.
13976
13977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13978         implementation.
13979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13980         (__libc_ifunc_impl_list): Likewise.
13981         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13982         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13983         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13984         mempcpy for PPC64.
13985
13986         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13987         avoid cretion of __bzero symbol.
13988         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13989         Likewise.
13990         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13991         Likewise.
13992         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13993         Likewise.
13994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13995         multiarch implementations.
13996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13997         (__libc_ifunc_impl_list): Likewise.
13998         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13999         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14000         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14001         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14002         bzero for PPC32.
14003         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14004         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14005         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14006         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14007         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14008         memset for PPC64.
14009         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14010
14011         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14013         implementations.
14014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14015         (__libc_ifunc_impl_list): Likewise.
14016         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14017         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14018         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14019         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14020         memcmp for PPC64.
14021
14022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14023         multiarch for POWER/PPC64.
14024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14025         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14026         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14027         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14028         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14029         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14030         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14031         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14032         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14033         memcpy for PPC64.
14034
14035         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14036         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14037         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14038         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14039         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14040         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14041         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14042         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14043         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14044         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14045         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14046         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14047         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14048         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14049         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14057
14058 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14059
14060         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14061
14062 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063
14064         * benchtests/Makefile (bench): Add exp2 and log2.
14065         (LDLIBS-bench-exp2): Add -lm.
14066         (LDLIBS-bench-log2): Likewise.
14067         * benchtests/exp2-inputs: New inputs file.
14068         * benchtests/log2-inputs: New inputs file.
14069         * benchtests/log-inputs: Add new inputs.
14070         * benchtests/tan-inputs: Likewise.
14071
14072 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14073
14074         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14075         definition...
14076         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14077         (csloww2): ... from here.
14078
14079         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14080         instead of structures.
14081         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14082         (POLYNOMIAL): Likewise.
14083         (TAYLOR_SLOW): Likewise.
14084         (__sin): Likewise.
14085         (__cos): Likewise.
14086         (slow1): Likewise.
14087         (slow2): Likewise.
14088         (sloww): Likewise.
14089         (sloww1); Likewise.
14090         (sloww2): Likewise.
14091         (bsloww1): Likewise.
14092         (bsloww2): Likewise.
14093         (cslow2): Likewise.
14094         (csloww): Likewise.
14095         (csloww1): Likewise.
14096         (csloww2): Likewise.
14097
14098 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14099
14100         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14101         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14102         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14103         * malloc/hooks.c (realloc_check): Likewise.
14104
14105         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14106         * malloc/arena.c: Remove PER_THREAD conditional.
14107         [!PER_THREAD]: Remove code.
14108         (ptmalloc_unlock_all2): Likewise.
14109         (ptmalloc_init): Likewise.
14110         (_int_new_arena): Likewise.
14111         (arena_get2): Likewise.
14112         * malloc/hooks.c (__malloc_get_state): Likewise.
14113         (__malloc_set_state): Likewise.
14114         * malloc/malloc.c: Likewise.
14115         (struct malloc_state): Likewise.
14116         (struct malloc_par): Likewise.
14117         (__libc_realloc): Likewise.
14118         (__libc_mallopt): Likewise.
14119
14120 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14121
14122         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14123
14124 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14125
14126         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14127         macro to a function.  Check for zero perturb_byte.
14128         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14129
14130         * malloc/malloc.c: (force_reg): Remove.
14131         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14132         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14133         force_reg by atomic_forced_read.
14134         * malloc/arena.c (ptmalloc_init): Likewise.
14135         * malloc/hooks.c (top_check): Likewise.
14136
14137 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14138
14139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14140
14141 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14142
14143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14144
14145 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14146
14147         * math/auto-libm-test-in: Add tests of lgamma.
14148         * math/auto-libm-test-out: Regenerated.
14149         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14150         (M_LOG_2_SQRT_PIl): Likewise.
14151         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14152         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14153         mpfr_f_f1.
14154         (func_calc_desc): Add mpfr_f_f1 union field.
14155         (ARGS1): New macro.
14156         (ARGS2): Likewise.
14157         (ARGS3): Likewise.
14158         (ARGS4): Likewise.
14159         (RET1): Likewise.
14160         (RET2): Likewise.
14161         (CALC): Likewise.
14162         (FUNC): Likewise.
14163         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14164         (test_functions): Add lgamma.
14165         (calc_generic_results): Handle mpfr_f_f1.
14166         * sysdeps/i386/fpu/libm-test-ulps: Update.
14167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14168
14169 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14170
14171         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14172         __mpn_add_n for PowerPC64/POWER7.
14173         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14174         __mpn_sub_n for PowerPC64/POWER7.
14175
14176         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14177         __mpn_addmul_1 for PowerPC64.
14178         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14179         __mpn_submul_1 for PowerPC64.
14180         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14181         for PowerPC64.
14182         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14183         for PowerPC64.
14184
14185 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14186
14187         [BZ #15089]
14188         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14189
14190 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14191
14192         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14193
14194         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14195         add multiarch folders.
14196         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14197         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14198         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14199         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14200         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14201         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14202         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14203         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14204         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14205         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14206         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14213
14214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14215         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14217         New file.
14218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14219         New file.
14220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14221         multiarch __ieee754_hypot for PowerPC32.
14222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14223         New file.
14224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14225         New file.
14226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14227         multiarch __ieee754_hypotf for PowerPC32.
14228
14229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14230         long_double_symbol only if __logbl is defined.
14231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14232         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14234         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14235         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14236         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14237         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14238         path for implementation.
14239         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14240         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14242         logb, and logbl multiarch implementations for PowerPC32.
14243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14244         file.
14245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14246         file.
14247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14248         multiarch logb for PowerPC32.
14249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14250         file.
14251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14252         file.
14253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14254         multiarch logbf for PowerPC32.
14255         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14257         file.
14258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14259         multiarch logbl implementation for PowerPC32.
14260
14261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14262         and modff multiarch implementations.
14263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14264         New file.
14265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14266         New file.
14267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14268         multiarch modf for PowerPC32.
14269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14270         New file.
14271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14272         New file.
14273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14274         multiarch modff for PowerPC32.
14275
14276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14277         and lrintf multiarch implementations.
14278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14279         New file.
14280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14281         New file.
14282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14283         multiarch lrint for PowerPC32.
14284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14285         file: multiarch lrintf for PowerPC32.
14286
14287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14288         and lroundf multiarch implementations.
14289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14290         New file.
14291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14292         New file.
14293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14294         New file.
14295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14296         multiarch lround for PowerPC32.
14297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14298         file: multiarch lroundf for PowerPC32.
14299
14300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14301         copysign and copysignf multiarch implementations.
14302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14303         New file.
14304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14305         New file.
14306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14307         file: multiarch copysign for PowerPC32.
14308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14309         file: multiarch copysignf for PowerPC32.
14310
14311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14312         and truncf multiarch implementations.
14313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14314         New file.
14315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14316         file.
14317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14318         multiarch trunc for PowerPC32.
14319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14320         New file.
14321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14322         New file.
14323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14324         multiarch truncf for PowerPC32.
14325
14326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14327         and roundf multiarch implementations.
14328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14329         New file.
14330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14331         file.
14332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14333         multiarch round for PowerPC32.
14334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14335         New file.
14336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14337         New file.
14338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14339         multiarch roundf for PowerPC32.
14340
14341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14342         and floorf multiarch implementations.
14343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14344         New file.
14345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14346         file.
14347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14348         multiarch floor for PowerPC32.
14349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14350         New file.
14351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14352         New file.
14353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14354         multiarch floorf for PowerPC32.
14355
14356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14357         and ceilf multiarch implementations.
14358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14359         New file.
14360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14361         file.
14362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14363         multiarch ceil for PowerPC32.
14364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14365         New file.
14366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14367         file.
14368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14369         multiarch ceilf for PowerPC32.
14370
14371         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14372         is defined.
14373         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14374         FINITEF is defined.
14375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14376         and finitef multiarch implementations.
14377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14378         New file.
14379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14380         file.
14381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14382         multiarch finite for PowerPC32.
14383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14384         New file.
14385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14386         file: multiarch finitef for PowerPC32.
14387
14388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14389         and isinff multiarch implementations.
14390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14391         file.
14392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14393         file.
14394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14395         multiarch isinf for PowerPC32.
14396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14397         New file.
14398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14399         multiarch isinff for PowerPC32.
14400
14401         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14402         alias when __isnan is defined.
14403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14404         and isnanf multiarch implementations.
14405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14406         file.
14407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14408         file.
14409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14410         file.
14411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14412         file.
14413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14414         multiarch isnan for PowerPC32.
14415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14416         New file.
14417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14418         New file.
14419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14420         multiarch isnanf for PowerPC32.
14421
14422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14423         and sqrtf multiarch implementations.
14424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14425         file.
14426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14427         file.
14428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14429         multiarch sqrt for PowerPC32.
14430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14431         file.
14432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14433         file.
14434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14435         multiarch sqrtf for PowerPC32.
14436
14437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14438         and llroundf multiarch implementations.
14439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14440         New file.
14441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14442         New file.
14443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14444         New file.
14445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14446         file: multiarch llround for PowerPC32.
14447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14448         file: multiarch llroundf for PowerPC32.
14449
14450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14451         multiarch PowerPC32 fpu implementations.
14452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14453         New file.
14454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14455         New file.
14456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14457         multiarch llrint for PowerPC32.
14458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14459         New file.
14460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14461         New file.
14462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14463         file.
14464
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14466
14467         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14468         file.
14469         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14470         file.
14471         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14472         file.
14473         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14474         multiarch wordcopy for PPC32.
14475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14476         wordcopy objects.
14477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14478         (__libc_ifunc_impl_list): Likewise.
14479         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14480         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14481         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14482         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14483         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14484         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14485
14486         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14488         file.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14490         file.
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14492         file.
14493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14494         multiarch wcscpy for PPC32.
14495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14496         multiarch objects.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14498         (__libc_ifunc_impl_list): Likewise.
14499         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14500         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14501         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14502         sysdeps/powerpc/power6/wcscpy.c.
14503
14504         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14506         file.
14507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14508         file.
14509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14510         file.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14512         multiarch wcsrchr for PPC32.
14513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14514         multiarch objects.
14515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14516         (__libc_ifunc_impl_list): Likewise.
14517         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14518         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14519         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14520         sysdeps/powerpc/power6/wcsrchr.c.
14521
14522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14523         file.
14524         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14525         file.
14526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14528         multiarch wcschr for PPc32.
14529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14530         multiarch objects.
14531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14532         (__libc_ifunc_impl_list): Likewise.
14533         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14534         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14535         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14536         sysdeps/powerpc/power6/wcschr.c.
14537
14538         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14539         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14540         file.
14541         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14542         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14543         file: multiarch strchr for PPC32.
14544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14545         multiarch objects.
14546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14547         (__libc_ifunc_impl_list): Likewise.
14548
14549         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14550         name.
14551         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14552         file.
14553         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14554         file.
14555         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14556         multiarch strchrnul for PPC32.
14557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14558         multiarch objects.
14559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14560         (__libc_ifunc_impl_list): Likewise.
14561
14562         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14563         file.
14564         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14565         multiarch strncasecmp for PPC32.
14566         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14567         file.
14568         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14569         multiarch strncasecmp_l for PPC32.
14570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14571         strncasecmp multiarch objects.
14572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14573         (__libc_ifunc_impl_list): Likewise.
14574
14575         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14576         file.
14577         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14578         multiarch strncasecmp for PPC32.
14579         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14580         New file.
14581         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14582         multiarch strcasecmp_l for PPC32.
14583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14584         multiarch objects.
14585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14586         (__libc_ifunc_impl_list): Likewise.
14587
14588         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14589         file.
14590         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14591         file.
14592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14593         multiarch strncmp for PPC32.
14594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14595         multiarch objects.
14596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14597         (__libc_ifunc_impl_list): Likewise.
14598
14599         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14600         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14601         file.
14602         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14603         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14605         multiarch objects.
14606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14607         (__libc_ifunc_impl_list): Likewise.
14608
14609         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14610         file.
14611         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14612         file.
14613         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14615         multiarch objects.
14616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14617         (__libc_ifunc_impl_list): Likewise.
14618
14619         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14620         file.
14621         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14622         file.
14623         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14624         multiarch rawmemchr for PPC32.
14625         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14626         multiarch objects.
14627         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14628         (__libc_ifunc_impl_list): Likewise.
14629
14630         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14631         file.
14632         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14633         file.
14634         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14635         file: memrchr multiarch for PPC32.
14636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14637         multiarch objects.
14638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14639         (__libc_ifunc_impl_list): Likewise.
14640
14641         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14642         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14643         file.
14644         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14645         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14646         multiarch memchr for PPC32.
14647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14648         multiarch objects.
14649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14650         (__libc_ifunc_impl_list): Likewise.
14651
14652         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14653         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14654         file.
14655         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14656         file.
14657         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14658         file: multiarch mempcpy for PPC32.
14659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14660         multiarch objects.
14661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14662         (__libc_ifunc_impl_list): Likewise.
14663
14664         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14665         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14666         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14667         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14668         multiarch bzero for PPC32.
14669         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14670         file.
14671         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14672         file.
14673         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14674         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14675         file: multiarch memset for PPC32.
14676         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14678         memset multiarch objects.
14679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14680         (__libc_ifunc_impl_list): Likewise.
14681
14682         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14683         file.
14684         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14685         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14686         memcmp for PPC32.
14687         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14689         multiarch objects.
14690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14691         (__libc_ifunc_impl_list): Likewise.
14692
14693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14695         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14696         file.
14697         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14698         file.
14699         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14700         file.
14701         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14702         multiarch memcpy for PPC32.
14703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14704         multiarch objects.
14705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14706         (__libc_ifunc_impl_list): Likewise.
14707
14708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14709         support multiarch for POWER/PPC32.
14710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14711         Likewise.
14712         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14714         Implies file to make multiarch folder appers before the fpu and
14715         default folder for power4 configuration.
14716
14717 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14718
14719         * scripts/bench.pl: Append volatile keyword to type.
14720
14721 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14722
14723         * sysdeps/sh/sotruss-lib.c: New file.
14724         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14725
14726 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14727
14728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14729
14730 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14731
14732         [BZ #6810]
14733         * math/w_tgamma.c: Include <errno.h>.
14734         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14735         * math/w_tgammaf.c: Include <errno.h>.
14736         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14737         * math/w_tgammal.c: Include <errno.h>.
14738         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14739         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14740         underflow.  Add more tgamma tests.
14741         * math/auto-libm-test-out: Regenerated.
14742         * sysdeps/i386/fpu/libm-test-ulps: Update.
14743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14744
14745         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14746         sin, sinh, tan, tanh, tgamma, y0 and y1.
14747         * math/auto-libm-test-out: Regenerated.
14748         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14749         (TEST_COND_x86): Likewise.
14750         (M_E2l): Remove macro.
14751         (M_E3l): Likewise.
14752         (M_2_SQRT_PIl): Likewise.
14753         (M_SQRT_PIl): Likewise.
14754         (M_1_DIV_El): Likewise.
14755         (log_test_data): Use AUTO_TESTS_f_f.
14756         (log10_test_data): Likewise.
14757         (log1p_test_data): Likewise.
14758         (log2_test_data): Likewise.
14759         (sin_test_data): Likewise.
14760         (sin_tonearest_test_data): Likewise.
14761         (sin_towardzero_test_data): Likewise.
14762         (sin_downward_test_data): Likewise.
14763         (sin_upward_test_data): Likewise.
14764         (sinh_test_data): Likewise.
14765         (sinh_tonearest_test_data): Likewise.
14766         (sinh_towardzero_test_data): Likewise.
14767         (sinh_downward_test_data): Likewise.
14768         (sinh_upward_test_data): Likewise.
14769         (tan_test_data): Likewise.
14770         (tan_tonearest_test_data): Likewise.
14771         (tan_towardzero_test_data): Likewise.
14772         (tan_downward_test_data): Likewise.
14773         (tan_upward_test_data): Likewise.
14774         (tanh_test_data): Likewise.
14775         (tgamma_test_data): Likewise.
14776         (y0_test_data): Likewise.
14777         (y1_test_data): Likewise.
14778         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14779         (special_real_inputs): Add pi/4.
14780         * sysdeps/i386/fpu/libm-test-ulps: Update.
14781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782
14783 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14784
14785         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14786         "longjmp_target" static probes.
14787         (__longjmp): Rename to __longjmp_symbol.
14788         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14789         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14790         on which longjmp to generate.
14791         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14792         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14793         probe.
14794         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14795         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14796         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14797         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14798         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14799         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14801         __longjmp_symbol based on which __longjmp to generate.
14802         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14803         probe.
14804         (setjmp): Rename to setjmp_symbol.
14805         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14806         (_setjmp): Rename to _setjmp_symbol.
14807         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14808         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14809         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14810         which setjmp to generate.
14811         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14812         "longjmp_target" static probes.
14813
14814 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14815
14816         * benchtests/README: Add note about output arguments.
14817         * benchtests/bench-sincos.c: Remove file.
14818         * benchtests/sincos-inputs: New file.
14819         * scripts/bench.pl: Identify output arguments and define
14820         static variables for them.
14821
14822         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14823
14824         [BZ #15941]
14825         * Makefile (INSTALL): Add install-plain.texi as the primary
14826         dependency.
14827         * manual/install-plain.texi: New file.
14828         * manual/install.texi: Include node directive only for
14829         non-plaintext output.
14830
14831 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14832
14833         * stdlib/longlong.h: Update from GCC.
14834
14835         [BZ #6807]
14836         [BZ #15901]
14837         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14838         * math/w_j0f.c (y0f): Likewise.
14839         * math/w_j0l.c (__y0l): Likewise.
14840         * math/w_j1.c (y1): Likewise.
14841         * math/w_j1f.c (y1f): Likewise.
14842         * math/w_j1l.c (__y1l): Likewise
14843         * math/w_jn.c (yn): Likewise.
14844         * math/w_jnf.c (ynf): Likewise.
14845         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14846         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14847         value for Bessel function domain errors outside _SVID_ mode.
14848         Adjust sign of return value for yn (negative integer, 0).
14849         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14850         by zero in return for negative x and set sign appropriately for
14851         negative n.
14852         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14853         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14854         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14855         expectations in error cases.
14856         (y1_test_data): Likewise.
14857         (yn_test_data): Likewise.
14858         * sysdeps/i386/fpu/libm-test-ulps: Update.
14859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14860
14861 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14862
14863         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14864         "64" to "64-v1".  Add "64-v2".
14865         (abi-64-options): Rename to ...
14866         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14867         (abi-64-condition): Rename to ...
14868         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14869         (abi-64-ld-soname): Rename to ...
14870         (abi-64-v1-ld-soname): ... this.
14871         (abi-64-v2-options): Define.
14872         (abi-64-v2-condition): Likewise.
14873         (abi-64-v2-ld-soname): Likewise.
14874         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14875         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14879
14880 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14881             Alan Modra  <amodra@gmail.com>
14882
14883         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14884         New versions for use with the ELFv2 ABI.
14885         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14886         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14887         declaration.
14888         (struct La_ppc64v2_retval): Likewise.
14889         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14890         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14891         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14892         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14893         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14894         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14895         Do not save or restore CR.
14896         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14897         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14898         return values for ELFv2 ABI.  Fix location of FPR return registers.
14899         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14900         updated values for _CALL_ELF == 2.
14901         (La_regs, La_retval, int_retval): Likewise.
14902
14903 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14904
14905         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14906         (FRAME_MIN_SIZE_PARM): Likewise.
14907         (FRAME_BACKCHAIN): Likewise.
14908         (FRAME_CR_SAVE): Likewise.
14909         (FRAME_LR_SAVE): Likewise.
14910         (FRAME_TOC_SAVE): Likewise.
14911         (FRAME_PARM_SAVE): Likewise.
14912         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14913         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14914         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14915         (call_mcount_parm_offset): New macro.
14916         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14917         (PROF): Use symbolic stack frame offsets.
14918         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14919         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14920         Redefine in terms of FRAME_MIN_SIZE.
14921         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14922         (_dl_profile_resolve): Likewise.  Update comment.
14923         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14924         symbols stack frame offsets.
14925         (__sigsetjmp): Likewise.
14926         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14927         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14928         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14929         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14930
14931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14932         (FRAME_BACKCHAIN): Remove.
14933         (FRAME_CR_SAVE): Likewise.
14934         (FRAME_LR_SAVE): Likewise.
14935         (FRAME_COMPILER_DW): Likewise.
14936         (FRAME_LINKER_DW): Likewise.
14937         (FRAME_TOC_SAVE): Likewise.
14938         (FRAME_PARM_SAVE): Likewise.
14939         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14940         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14941         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14943         (CHECK_SP): Use symbolic stack frame offsets.
14944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14945         zone" instead of caller's parameter save area for temp storage.
14946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14947         Likewise.  Also, use symbolic stack frame offsets.
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14949         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14950         our own stack frame instead of the caller's.
14951         (__socket): Use symbolic stack frame offsets.
14952
14953 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14954             Alan Modra  <amodra@gmail.com>
14955
14956         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14957         Define.
14958         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14959         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14960         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14961         New function.
14962         (elf_machine_fixup_plt): Call it.
14963         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14964         reloc arguments.
14965         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14966         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14967         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14968         r2 before calling target.
14969
14970 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14971             Alan Modra  <amodra@gmail.com>
14972
14973         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14974         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14975         versions of macros to support ELFv2 ABI.
14976         (LOCALENTRY): New macro.
14977         (ENTRY, EALIGN): Use it.
14978         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14979         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14980         fall through into ENTRY entry point.
14981         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14982         Only define if _CALL_ELF != 2.
14983
14984         (elf_machine_matches_host): Verify ABI version matches.
14985         (RTLD_START): Use LOCALENTRY.
14986         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14987         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14988         (PLT_ENTRY_WORDS): New macro.
14989         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14990         (elf_machine_runtime_setup): Support ELFv2 ABI.
14991         (elf_machine_fixup_plt): Likewise.
14992         (elf_machine_plt_conflict): Likewise.
14993         (resolve_ifunc): Likewise.
14994         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14995         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14996         Likewise.
14997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14998         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15000         (makecontext): Support ELFv2 ABI.
15001         * elf/elf.h (EF_PPC64_ABI): Define.
15002
15003 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15004
15005         * sysdeps/powerpc/powerpc64/sysdep.h
15006         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15007         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15008         (ENTRY) [ASSEMBLER]: ... but instead here ...
15009         (EALIGN) [ASSEMBLER]: ... and here.
15010         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15011         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15012         (ENTRY_2) [!ASSEMBLER]: Use it.
15013         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15014         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15015         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15016         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15017         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15019         Use PPC64_LOAD_FUNCPTR.
15020
15021         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15022
15023 2013-12-04  Alan Modra  <amodra@gmail.com>
15024
15025         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15026         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15027         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15028         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15029
15030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15031         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15032         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15033         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15034         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15035         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15036
15037 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15038
15039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15040         (__makecontext): Fix incorrect CFI when backtracing out of
15041         context created via makecontext.
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15043         (__setcontext): Fix incorrect CFI during switch to new context.
15044         (__novec_setcontext): Likewise.
15045
15046 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15047
15048         [BZ #4772]
15049         * time/strptime_l.c (__strptime_internal): Allow modifiers
15050         in strptime.
15051         * time/tst-strptime.c (day_tests): Add testcase.
15052
15053 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15054
15055         * scripts/bench.pl: Skip over blank lines.
15056
15057 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15058
15059         [BZ #926]
15060         * manual/time.texi (Calendar Time): Clarify what timezone functions
15061         use.
15062
15063 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15064
15065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15066
15067 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15068
15069         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15070         implementation.
15071         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15072         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15073         * debug/memset_chk.c (__memset_chk): Likewise.
15074         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15075         * debug/strncpy_chk.c: Likewise.
15076
15077 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15078
15079         [BZ #15268]
15080         [BZ #15425]
15081         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15082         (__ieee754_exp): For possibly underflowing results, check size of
15083         result and force underflow exception if required.
15084         * math/auto-libm-test-in: Add more tests of exp.
15085         * math/auto-libm-test-out: Regenerated.
15086         * sysdeps/i386/fpu/libm-test-ulps: Update.
15087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15088
15089         [BZ #16283]
15090         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15091         * math/w_exp2f.c (__exp2f): Likewise.
15092         * math/w_exp2l.c (__exp2l): Likewise.
15093         * math/auto-libm-test-in: Do not allow missing errno on exp2
15094         underflow.
15095         * math/auto-libm-test-out: Regenerated.
15096
15097 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15098
15099         [BZ #16274]
15100         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15101         handle filename validation.
15102         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15103         (do_open): Delete.
15104
15105 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15106
15107         [BZ #6786]
15108         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15109         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15110         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15111         <float.h>.
15112         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15113         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15114         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15116         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15117         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15118         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15119         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15120         Add more erfc tests.
15121         * math/auto-libm-test-out: Regenerated.
15122         * sysdeps/i386/fpu/libm-test-ulps: Update.
15123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15124
15125         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15126         exp2, expm1, j0 and j1.
15127         * math/auto-libm-test-out: Regenerated.
15128         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15129         (erfc_test_data): Likewise.
15130         (exp_test_data): Likewise.
15131         (exp_tonearest_test_data): Likewise.
15132         (exp_towardzero_test_data): Likewise.
15133         (exp_downward_test_data): Likewise.
15134         (exp_upward_test_data): Likewise.
15135         (exp10_test_data): Likewise.
15136         (exp2_test_data): Likewise.
15137         (expm1_test_data): Likewise.
15138         (j0_test_data): Likewise.
15139         (j1_test_data): Likewise.
15140         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15141         (input_flag_type): Add flag_xfail_rounding.
15142         (input_flags): Add xfail-rounding.
15143         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15144         (output_for_one_input_case): Handle flag_xfail_rounding.
15145         * sysdeps/i386/fpu/libm-test-ulps: Update.
15146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15147
15148 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15149
15150         [BZ #16289]
15151         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15152         division by 0.
15153
15154 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15155
15156         [BZ #16195]
15157         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15158         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15159         (STAP_PROBE0): New macro.
15160         (STAP_PROBE1): Likewise.
15161         (STAP_PROBE2): Likewise.
15162         (STAP_PROBE3): Likewise.
15163         (STAP_PROBE4): Likewise.
15164
15165 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15166
15167         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15168
15169 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15170
15171         * benchtests/Makefile (bench): Add sqrt.
15172         (LDLIBS-bench-sqrt): New.
15173         * benchtests/sqrt-input: New.
15174
15175 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15176
15177         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15178         (GAIH_EAI): Likewise.
15179         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15180         (gaih_inet): Likewise.
15181         (getaddrinfo): Don't use GAIH_EAI.
15182
15183         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15184         (struct gaih): Remove definition.
15185
15186 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15187
15188         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15189         Use HERRNOP directly.
15190
15191 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15192
15193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15194
15195 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15196
15197         * math/gen-auto-libm-tests.c (test_functions): Add more
15198         single-argument functions.
15199         (special_fill_pi_2): New function.
15200         (special_fill_minus_pi_2): Likewise.
15201         (special_fill_pi_6): Likewise.
15202         (special_fill_minus_pi_6): Likewise.
15203         (special_fill_pi_3): Likewise.
15204         (special_fill_2pi_3): Likewise.
15205         (special_fill_e): Likewise.
15206         (special_fill_1_e): Likewise.
15207         (special_fill_e_minus_1): Likewise.
15208         (special_real_inputs): Add more special inputs.
15209         (output_for_one_input_case): Do not require ERANGE on underflow to
15210         zero if round-to-nearest result does not underflow to zero, unless
15211         exact results required.
15212         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15213         atan, atanh, cbrt, cos and cosh.
15214         * math/auto-libm-test-out: Regenerated.
15215         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15216         (acos_tonearest_test_data): Likewise.
15217         (acos_towardzero_test_data): Likewise.
15218         (acos_downward_test_data): Likewise.
15219         (acos_upward_test_data): Likewise.
15220         (acosh_test_data): Likewise.
15221         (asin_test_data): Likewise.
15222         (asin_tonearest_test_data): Likewise.
15223         (asin_towardzero_test_data): Likewise.
15224         (asin_upward_test_data): Likewise.
15225         (asinh_test_data): Likewise.
15226         (atan_test_data): Likewise.
15227         (atanh_test_data): Likewise.
15228         (cbrt_test_data): Likewise.
15229         (cos_test_data): Likewise.
15230         (cos_tonearest_test_data): Likewise.
15231         (cos_towardzero_test_data): Likewise.
15232         (cos_downward_test_data): Likewise.
15233         (cos_upward_test_data): Likewise.
15234         (cosh_test_data): Likewise.
15235         (cosh_tonearest_test_data): Likewise.
15236         (cosh_towardzero_test_data): Likewise.
15237         (cosh_downward_test_data): Likewise.
15238         (cosh_upward_test_data): Likewise.
15239         * sysdeps/i386/fpu/libm-test-ulps: Update.
15240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15241
15242 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15243
15244         [BZ #6787]
15245         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15246         * math/w_exp10f.c (__exp10f): Likewise.
15247         * math/w_exp10l.c (__exp10l): Likewise.
15248         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15249         errno settings in existing tests.
15250
15251         [BZ #14032]
15252         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15253         precision control set to double precision.
15254         * sysdeps/i386/fpu/w_sqrt.c: New file.
15255         * math/auto-libm-test-in: Add more tests.
15256         * math/auto-libm-test-out: Update.
15257
15258         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15259         (sqrt_test_tonearest): New function.
15260         (sqrt_towardzero_test_data): New variable.
15261         (sqrt_test_towardzero): New function.
15262         (sqrt_downward_test_data): New variable.
15263         (sqrt_test_downward): New function.
15264         (sqrt_upward_test_data): New variable.
15265         (sqrt_test_upward): New function.
15266         (main): Call the new functions.
15267
15268         * math/gen-auto-libm-tests.c: New file.
15269         * math/auto-libm-test-in: Likewise.
15270         * math/auto-libm-test-out: New generated file.
15271         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15272         variables.
15273         (%beautify): Add generated representations of zero.
15274         (top level): Set $auto_input and call parse_auto_input.
15275         (beautify): Remove trailing "f" from hex float constants.
15276         (parse_args): Handle XFAIL_TEST.
15277         (convert_condition): New function.
15278         (or_value): Likewise.
15279         (or_cond_value): Likewise.
15280         (generate_testfile): Handle AUTO_TESTS_* lines.
15281         (parse_auto_input): New function.
15282         * math/libm-test.inc (XFAIL_TEST): New macro.
15283         (ERRNO_UNCHANGED): Update value.
15284         (ERRNO_EDOM): Likewise.
15285         (ERRNO_ERANGE): Likewise.
15286         (IGNORE_RESULT): Likewise.
15287         (TEST_COND_flt_32): New macro.
15288         (TEST_COND_dbl_64): Likewise.
15289         (TEST_COND_ldbl_96_intel): Likewise.
15290         (TEST_COND_ldbl_96_m68k): Likewise.
15291         (TEST_COND_ldbl_128): Likewise.
15292         (TEST_COND_ldbl_128ibm): Likewise.
15293         (TEST_COND_long32): Likewise.
15294         (TEST_COND_long64): Likewise.
15295         (TEST_COND_before_rounding): Likewise.
15296         (TEST_COND_after_rounding): Likewise.
15297         (enable_test): Handle XFAIL_TEST flag.
15298         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15299         with finite results.
15300         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15301         auto-libm-test-out.
15302
15303 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15304             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15305
15306         [BZ #16214]
15307         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15308         __tls_get_addr_internal instead of __tls_get_offset in order to
15309         avoid GOT pointer dependency.  Make rtld export
15310         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15311         __tls_get_addr since we are a __tls_get_offset platform.
15312         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15313         GOT pointer being set up before.
15314         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15315
15316 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15317
15318         * manual/math.texi (Errors in Math Functions): Document accuracy
15319         goals.
15320
15321         [BZ #15004]
15322         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15323         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15324         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15325         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15326         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15327         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15328         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15329         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15330         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15331         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15332         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15333         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15334         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15335         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15336         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15337         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15338
15339         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15340         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15341         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15342         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15343         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15344         Likewise.
15345         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15346         Likewise.
15347         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15348         Likewise.
15349         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15350         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15351         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15352         atomic-feupdateenv and flt-rounds.
15353         * sysdeps/powerpc/nofpu/Versions (libc): Add
15354         __atomic_feholdexcept, __atomic_feclearexcept,
15355         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15356         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15357         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15358         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15359         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15360         here.
15361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15362         Update.
15363
15364         * manual/arith.texi (FP Exceptions): Document that exceptions may
15365         not be raised when matherr is used.
15366         (Math Error Reporting): Document overflow in directed rounding
15367         modes.  Document that errno may not be set when finite values are
15368         returned on overflow.  Document intent to set errno on underflow
15369         only for underflow to zero.
15370
15371         [BZ #16271]
15372         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15373         round-to-nearest then adjust result for other rounding modes.
15374         * include/fenv.h (fegetround): Use libm_hidden_proto.
15375         * math/fegetround.c (fegetround): Use libm_hidden_def.
15376         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15377         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15378         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15379         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15380         Likewise.
15381         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15382         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15383         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15384         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15385
15386 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15387
15388         [BZ #16077]
15389         * nss/Versions (libnss_files): Add
15390         _nss_files_gethostbyname3_r.
15391         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15392         New function.
15393         (HOST_DB_LOOKUP): Remove macro.
15394         (_nss_files_gethostbyname_r): Implement function without the
15395         HOST_DB_LOOKUP macro.
15396         (_nss_files_gethostbyname2_r): Likewise.
15397
15398 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15399
15400         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15401
15402 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15403
15404         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15405         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15406         warning.
15407
15408 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15409
15410         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15411         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15412         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15413         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15414         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15415         __fe_nomask_env_priv and attribute_hidden.
15416         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15417         (libc_feupdateenv_test_ppc): Likewise.
15418         (libc_feresetround_ppc): Likewise.
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15420         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15421         compat_symbol macro.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15423         (__fe_nomask_env): Likewise.
15424         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15425
15426 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15427
15428         * string/Makefile: Remove ifunc tests.
15429         * string/test-string.h: Define TEST_IFUNC.
15430         * string/test-bcopy-ifunc.c: Remove.
15431         * string/test-bzero-ifunc.c: Likewise.
15432         * string/test-memccpy-ifunc.c: Likewise.
15433         * string/test-memchr-ifunc.c: Likewise.
15434         * string/test-memcmp-ifunc.c: Likewise.
15435         * string/test-memcpy-ifunc.c: Likewise.
15436         * string/test-memmem-ifunc.c: Likewise.
15437         * string/test-memmove-ifunc.c: Likewise.
15438         * string/test-mempcpy-ifunc.c: Likewise.
15439         * string/test-memrchr-ifunc.c: Likewise.
15440         * string/test-memset-ifunc.c: Likewise.
15441         * string/test-rawmemchr-ifunc.c: Likewise.
15442         * string/test-stpcpy-ifunc.c: Likewise.
15443         * string/test-stpncpy-ifunc.c: Likewise.
15444         * string/test-strcasecmp-ifunc.c: Likewise.
15445         * string/test-strcasestr-ifunc.c: Likewise.
15446         * string/test-strcat-ifunc.c: Likewise.
15447         * string/test-strchr-ifunc.c: Likewise.
15448         * string/test-strchrnul-ifunc.c: Likewise.
15449         * string/test-strcmp-ifunc.c: Likewise.
15450         * string/test-strcpy-ifunc.c: Likewise.
15451         * string/test-strcspn-ifunc.c: Likewise.
15452         * string/test-strlen-ifunc.c: Likewise.
15453         * string/test-strncasecmp-ifunc.c: Likewise.
15454         * string/test-strncat-ifunc.c: Likewise.
15455         * string/test-strncmp-ifunc.c: Likewise.
15456         * string/test-strncpy-ifunc.c: Likewise.
15457         * string/test-strnlen-ifunc.c: Likewise.
15458         * string/test-strpbrk-ifunc.c: Likewise.
15459         * string/test-strrchr-ifunc.c: Likewise.
15460         * string/test-strspn-ifunc.c: Likewise.
15461         * string/test-strstr-ifunc.c: Likewise.
15462
15463 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15464
15465         * benchtests/Makefile: Remove ifunc tests.
15466         * benchtests/bench-string.h: Define TEST_IFUNC.
15467         * benchtests/bench-bcopy-ifunc.c: Remove.
15468         * benchtests/bench-bzero-ifunc.c: Likewise.
15469         * benchtests/bench-memccpy-ifunc.c: Likewise.
15470         * benchtests/bench-memchr-ifunc.c: Likewise.
15471         * benchtests/bench-memcmp-ifunc.c: Likewise.
15472         * benchtests/bench-memcpy-ifunc.c: Likewise.
15473         * benchtests/bench-memmem-ifunc.c: Likewise.
15474         * benchtests/bench-memmove-ifunc.c: Likewise.
15475         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15476         * benchtests/bench-memrchr-ifunc.c: Likewise.
15477         * benchtests/bench-memset-ifunc.c: Likewise.
15478         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15479         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15480         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15481         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15482         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15483         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15484         * benchtests/bench-strcat-ifunc.c: Likewise.
15485         * benchtests/bench-strchr-ifunc.c: Likewise.
15486         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15487         * benchtests/bench-strcmp-ifunc.c: Likewise.
15488         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15489         * benchtests/bench-strcpy-ifunc.c: Likewise.
15490         * benchtests/bench-strcspn-ifunc.c: Likewise.
15491         * benchtests/bench-strlen-ifunc.c: Likewise.
15492         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15493         * benchtests/bench-strncat-ifunc.c: Likewise.
15494         * benchtests/bench-strncmp-ifunc.c: Likewise.
15495         * benchtests/bench-strncpy-ifunc.c: Likewise.
15496         * benchtests/bench-strnlen-ifunc.c: Likewise.
15497         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15498         * benchtests/bench-strrchr-ifunc.c: Likewise.
15499         * benchtests/bench-strsep-ifunc.c: Likewise.
15500         * benchtests/bench-strspn-ifunc.c: Likewise.
15501         * benchtests/bench-strstr-ifunc.c: Likewise.
15502
15503 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15504
15505         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15506
15507 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15508
15509         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15510         * rt/aio.h: Likewise.
15511         * sysdeps/gnu/bits/utmp.h: Likewise.
15512         * sysdeps/gnu/bits/utmpx.h: Likewise.
15513         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15514         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15515         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15516         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15517         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15518         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15519         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15520         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15521         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15522         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15523         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15524         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15525         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15527         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15528         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15529         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15530         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15531         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15532         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15533         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15534         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15535         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15536         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15537         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15539         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15540         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15541         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15542         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15543         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15544         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15545         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15546         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15547         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15548         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15549         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15550         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15551         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15552         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15553         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15554         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15555
15556 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15557
15558         [BZ #16245]
15559         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15560         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15561
15562 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15563
15564         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15565         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15566         Likewise.
15567
15568 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15569
15570         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15571         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15572         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15573         (__fesetround): Remove define.
15574         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15575         rounding and exceptions handling.
15576         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15577         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15578         (__fe_nomask_env): Likewise.
15579         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15580         __fegetround instead of fegetround.
15581         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15582         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15583
15584 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15585
15586         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15587         it's there.
15588
15589         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15590
15591 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15592
15593         [BZ #11157]
15594         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15595         (encrypt_r): Likewise.
15596         * malloc/obstack.h (obstack_free): Likewise.
15597         * posix/unistd.h (encrypt): Likewise.
15598
15599 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15600
15601         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15602         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15603         DL_CALL_DT_FINI() that call the functions directly.
15604         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15605         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15606         * elf/dl-fini.c: Likewise.
15607
15608 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15609
15610         * malloc/hooks.c (memalign_check): Add alignment rounding.
15611         * malloc/malloc.c (_mid_memalign): New function.
15612         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15613         Implement by calling _mid_memalign.
15614         * manual/probes.texi (Memory Allocation Probes): Remove
15615         memory_valloc_retry and memory_pvalloc_retry.
15616
15617 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15618
15619         * locale/programs/locarchive.c (open_archive): Add const
15620         qualifier to ARCHIVEFNAME and copy default fname to
15621         DEFAULT_FNAME.
15622
15623         [BZ #15601]
15624         * libio/tst-widetext.input: Rename Oriya to Odia.
15625         * locale/iso-639.def: Likewise.
15626
15627         * manual/probes.texi (Mathematical Function Probes): Add
15628         documentation for sin, cos, asin and acos probes.
15629         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15630         (__sin32): Add slowasin probe.
15631         (__cos32): Add slowacos probe.
15632         (__mpsin): Add slowsin probe.
15633         (__mpcos): Add slowcos probe.
15634
15635 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15636
15637         [BZ #15483]
15638         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15639         thread-local __sim_exceptions_thread and global
15640         __sim_exceptions_global.
15641         (__sim_disabled_exceptions): Change to thread-local
15642         __sim_disabled_exceptions_thread and global
15643         __sim_disabled_exceptions_global.
15644         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15645         and global __sim_round_mode_global.
15646         (__simulate_exceptions): Use thread-local floating-point state and
15647         set global state from it as needed.
15648         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15649         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15650         __sim_round_mode_thread.
15651         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15652         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15653         and global __sim_exceptions_global.
15654         (__sim_disabled_exceptions): Change to thread-local
15655         __sim_disabled_exceptions_thread and global
15656         __sim_disabled_exceptions_global.
15657         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15658         and global __sim_round_mode_global.
15659         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15660         (SIM_SET_GLOBAL): Likewise.
15661         * sysdeps/powerpc/soft-fp/sfp-machine.h
15662         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15663         __sim_round_mode_thread.
15664         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15665         __sim_disabled_exceptions_thread.
15666         (__sim_exceptions): Change to __sim_exceptions_thread.
15667         (__sim_disabled_exceptions): Change to
15668         __sim_disabled_exceptions_thread.
15669         (__sim_round_mode): Change to __sim_round_mode_thread.
15670         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15671         thread-local floating-point state and set global state from it as
15672         needed.
15673         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15674         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15675         (__sim_disabled_exceptions): Remove extern declaration.
15676         (feenableexcept): Use thread-local floating-point state and set
15677         global state from it as needed.
15678         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15679         extern declaration.
15680         (__sim_disabled_exceptions): Likewise.
15681         (__sim_round_mode): Likewise.
15682         (__fegetenv): Use thread-local floating-point state.
15683         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15684         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15685         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15686         floating-point state and set global state from it as needed.
15687         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15688         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15689         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15690         Likewise.
15691         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15692         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15693         Likewise.
15694         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15695         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15696         Use __sim_round_mode_thread.
15697         * math/test-fenv-tls.c: New file.
15698         * math/Makefile (tests): Add test-fenv-tls.
15699         ($(objpfx)test-fenv-tls): Depend on
15700         $(common-objpfx)nptl/libpthread.so.
15701
15702 2013-11-19  Andreas Schwab  <schwab@suse.de>
15703
15704         * locale/programs/locale.c (show_info): Decode wordarray elements.
15705         * locale/categories.def (LC_MONETARY): Add element for
15706         _NL_MONETARY_CRNCYSTR.
15707         * locale/C-monetary.c (conversion_rate): New variable.
15708         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15709         element.
15710
15711 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15712
15713         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15714         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15715
15716 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15717
15718         * elf/Makefile (tst-auxv): New test.
15719         * elf/tst-auxv.c: New
15720         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15721
15722 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15723
15724         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15725         (hidden_proto): Caller changed.
15726         (hidden_tls_proto): New macro.
15727         (libc_hidden_tls_proto): Likewise.
15728         (rtld_hidden_tls_proto): Likewise.
15729         (libm_hidden_tls_proto): Likewise.
15730         (libresolv_hidden_tls_proto): Likewise.
15731         (librt_hidden_tls_proto): Likewise.
15732         (libdl_hidden_tls_proto): Likewise.
15733         (libnss_files_hidden_tls_proto): Likewise.
15734         (libnsl_hidden_tls_proto): Likewise.
15735         (libnss_nisplus_hidden_tls_proto): Likewise.
15736         (libutil_hidden_tls_proto): Likewise.
15737
15738 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15739
15740         [BZ #10253]
15741         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15742         (decompose_rpath): Defer expansion to fillin_rpath.
15743         (_dl_init_paths): Pass linkmap to fillin_rpath.
15744
15745 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15746
15747         * benchtests/Makefile: Add strsep.
15748         * benchtests/bench-strsep.c: New file: strsep benchtest.
15749         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15750
15751 2013-11-18  Andreas Schwab  <schwab@suse.de>
15752
15753         * locale/programs/locale.c (show_info) [case byte]: Check for
15754         '\377' instead of '\177'.
15755         * locale/C-monetary.c (not_available): Always use "\377".
15756         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15757         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15758         detect unavailable sign_posn locale elements.
15759         * locale/localeconv.c (__localeconv): For grouping and
15760         mon_grouping handle "\177" and "\377" like no grouping.
15761         (INT_ELEM): New macro.  Use it to set all numeric members.
15762         * locale/programs/ld-monetary.c (monetary_read)
15763         <tok_mon_grouping>: Normalize single -1 to the empty string.
15764         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15765         Likewise.
15766
15767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15768
15769         [BZ #16055]
15770         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15771         when we match (nil).
15772         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15773
15774 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15775
15776         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15777         (NO_TEST_INLINE): Update value.
15778         (ERRNO_UNCHANGED): Likewise.
15779         (ERRNO_EDOM): Likewise.
15780         (ERRNO_ERANGE): Likewise.
15781         (IGNORE_RESULT): Likewise.
15782         (check_float_internal): Check signs of NaN results if
15783         TEST_NAN_SIGN used.
15784         (check_complex): Pass TEST_NAN_SIGN flag through to second
15785         check_float_internal call.
15786         (copysign_test_data): Add tests with quiet NaNs as second
15787         argument.  Use TEST_NAN_SIGN.
15788         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15789         TEST_NAN_SIGN.
15790         (signbit_test_data): Add tests of quiet NaN argument.
15791         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15792
15793         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15794         $ignore_result.
15795         (parse_args): Handle function results specified as IGNORE.
15796         * math/libm-test.inc (IGNORE_RESULT): New macro.
15797         (check_float_internal): Do not check numerical result if flag
15798         IGNORE_RESULT set.
15799         (check_complex): Pass through IGNORE_RESULT to second
15800         check_float_internal call.
15801         (check_int): Do not check numerical result if flag IGNORE_RESULT
15802         set.
15803         (check_long): Likewise.
15804         (check_bool): Likewise.
15805         (check_longlong): Likewise.
15806         (lrint_test_data): Add tests of infinite and NaN arguments.
15807         (lrint_tonearest_test_data): Likewise.
15808         (lrint_towardzero_test_data): Likewise.
15809         (lrint_downward_test_data): Likewise.
15810         (lrint_upward_test_data): Likewise.
15811         (llrint_test_data): Likewise.
15812         (llrint_tonearest_test_data): Likewise.
15813         (llrint_towardzero_test_data): Likewise.
15814         (llrint_downward_test_data): Likewise.
15815         (llrint_upward_test_data): Likewise.
15816         (lround_test_data): Likewise.
15817         (llround_test_data): Likewise.
15818
15819         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15820         (ERRNO_UNCHANGED): Update value.
15821         (ERRNO_EDOM): Likewise.
15822         (ERRNO_ERANGE): Likewise.
15823         (NO_TEST_INLINE_FLOAT): New macro.
15824         (NO_TEST_INLINE_DOUBLE): Likewise.
15825         (enable_test): New function.
15826         (RUN_TEST_f_f): Check enable_test before running test.
15827         (RUN_TEST_2_f): Likewise.
15828         (RUN_TEST_fff_f): Likewise.
15829         (RUN_TEST_c_f): Likewise.
15830         (RUN_TEST_f_f1): Likewise.
15831         (RUN_TEST_fF_f1): Likewise.
15832         (RUN_TEST_fI_f1): Likewise.
15833         (RUN_TEST_ffI_f1): Likewise.
15834         (RUN_TEST_c_c): Likewise.
15835         (RUN_TEST_cc_c): Likewise.
15836         (RUN_TEST_f_i): Likewise.
15837         (RUN_TEST_f_i_tg): Likewise.
15838         (RUN_TEST_ff_i_tg): Likewise.
15839         (RUN_TEST_f_b): Likewise.
15840         (RUN_TEST_f_b_tg): Likewise.
15841         (RUN_TEST_f_l): Likewise.
15842         (RUN_TEST_f_L): Likewise.
15843         (RUN_TEST_fFF_11): Likewise.
15844         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15845         conditionals.
15846         (cosh_test_data): Likewise.
15847         (exp_test_data): Likewise.
15848         (expm1_test_data): Likewise.
15849         (hypot_test_data): Likewise.
15850         (pow_test_data): Likewise.
15851         (sinh_test_data): Likewise.
15852         (tanh_test_data): Likewise.
15853         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15854         flags argument.
15855
15856         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15857         tests with quiet NaN input and output.
15858         (acosh_test_data): Likewise.
15859         (asin_test_data): Likewise.
15860         (asinh_test_data): Likewise.
15861         (atan_test_data): Likewise.
15862         (atanh_test_data): Likewise.
15863         (atan2_test_data): Likewise.
15864         (cbrt_test_data): Likewise.
15865         (cos_test_data): Likewise.
15866         (cosh_test_data): Likewise.
15867         (erf_test_data): Likewise.
15868         (erfc_test_data): Likewise.
15869         (exp_test_data): Likewise.
15870         (exp10_test_data): Likewise.
15871         (exp2_test_data): Likewise.
15872         (expm1_test_data): Likewise.
15873         (hypot_test_data): Likewise.
15874         (j0_test_data): Likewise.
15875         (j1_test_data): Likewise.
15876         (jn_test_data): Likewise.
15877         (lgamma_test_data): Likewise.
15878         (log_test_data): Likewise.
15879         (log10_test_data): Likewise.
15880         (log1p_test_data): Likewise.
15881         (log2_test_data): Likewise.
15882         (pow_test_data): Likewise.
15883         (scalb_test_data): Likewise.
15884         (sin_test_data): Likewise.
15885         (sincos_test_data): Likewise.
15886         (sinh_test_data): Likewise.
15887         (tan_test_data): Likewise.
15888         (tanh_test_data): Likewise.
15889         (tgamma_test_data): Likewise.
15890         (y0_test_data): Likewise.
15891         (y1_test_data): Likewise.
15892         (yn_test_data): Likewise.
15893
15894         [BZ #16167]
15895         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15896         argument being NaN and avoid computations with second argument in
15897         that case.
15898         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15899         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15900         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15901
15902 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15903
15904         * locale/iso-639.def: Add Chitwani Tharu (the).
15905
15906 2013-11-14  Andreas Schwab  <schwab@suse.de>
15907
15908         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15909         word instead of empty string.
15910
15911 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15912
15913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15914         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15916         (__fe_nomask_env): Likewise.
15917
15918 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15919
15920         * benchtests/bench-timing.h: Include time.h.
15921
15922 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15923
15924         [BZ #15997]
15925         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15926         to 3.4.0 for x32.
15927         * sysdeps/unix/sysv/linux/configure: Regenerated.
15928
15929 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15930
15931         [BZ #16151]
15932         * stdlib/strtod_l.c (round_and_return): Do not consider
15933         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15934         exponent one less than half the least subnormal exponent.
15935         * stdlib/test-strtod-round-data: Add more tests.
15936         * stdlib/tst-strtod-round.c (tests): Regenerated.
15937
15938 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15939
15940         [BZ #14143]
15941         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15942         (__fe_mask_env): Likewise.
15943         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15944         libm_hidden_proto and add function prototype.
15945         (__fe_mask_env): Add function prototype.
15946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15947         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15949         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15951         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15952
15953 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15954
15955         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15956         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15957
15958 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15959
15960         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15961         of htab_find_slot().
15962
15963 2013-11-11  David S. Miller  <davem@davemloft.net>
15964
15965         [BZ #16150]
15966         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15967         symbol in the non-vis3 case in static builds.
15968         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15969         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15970         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15971         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15972
15973 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15974
15975         [BZ #387]
15976         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15977         it is empty.
15978
15979 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15980
15981         * benchtests/Makefile: Add bench-strtod.
15982         * benchtests/bench-strtod.c: New file: strtod benchtest
15983
15984 2013-11-11  Andreas Schwab  <schwab@suse.de>
15985
15986         [BZ #16153]
15987         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15988         terminating NUL in key length.
15989
15990 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15991
15992         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15993         Add artificial ODP entry for vDSO symbol for PPC64.
15994         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15995         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15996
15997 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15998
15999         [BZ #15374]
16000         * nss/getent.c (services_keys): Recognize services starting with digit.
16001
16002 2013-11-06  David S. Miller  <davem@davemloft.net>
16003
16004         [BZ #15985]
16005         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16006         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16007
16008 2013-11-06  Will Newton  <will.newton@linaro.org>
16009
16010         * manual/memory.texi (Malloc Examples): Remove register
16011         keyword from examples.
16012
16013 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16014
16015         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16016
16017 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16018
16019         [BZ #6981]
16020         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16021         depending on [__GCC_IEC_559 > 0].
16022         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16023         depending on [__GCC_IEC_559_COMPLEX > 0].
16024
16025 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16026
16027         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16028         to iso-639.def.
16029
16030 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16031
16032         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16033
16034 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16035
16036         [BZ #16112]
16037         * malloc/malloc (malloc_info): Do not handle first bin as
16038         special case.
16039
16040 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16041
16042         * locale/iso-639.def: Add Central Nahuatl (nhn).
16043
16044 2013-11-01  Bruno Haible  <bruno@clisp.org>
16045
16046         [BZ #7003]
16047         * manual/math.texi (BSD Random): Specify range upper bound as
16048         in POSIX.
16049
16050 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16051
16052         * locale/iso-639.def: Add Meadow Mari (mhr).
16053
16054 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16055
16056         [BZ #14752], [BZ #15763]
16057         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16058         Validate name.
16059         * rt/tst_shm.c: Add test for escaping directory.
16060
16061 2013-10-31  Andreas Schwab  <schwab@suse.de>
16062
16063         [BZ #15917]
16064         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16065         followed by 'x' as part of digit sequence.
16066         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16067
16068 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16069
16070         [BZ #16037]
16071         * configure.ac: allow GNU Make 4.0 and greater.
16072         * configure: Regenerated.
16073
16074 2013-10-30  Will Newton  <will.newton@linaro.org>
16075
16076         [BZ #16038]
16077         * malloc/hooks.c (memalign_check): Limit alignment to the
16078         maximum representable power of two.
16079         * malloc/malloc.c (__libc_memalign): Likewise.
16080         * malloc/tst-memalign.c (do_test): Add test for very
16081         large alignment values.
16082         * malloc/tst-posix_memalign.c (do_test): Likewise.
16083
16084 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16085
16086         [BZ #11087]
16087         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16088         (munmap_chunk): Likewise.
16089         (mremap_chunk): Likewise.
16090
16091 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16092
16093         [BZ #15799]
16094         * stdlib/div.c (div): Remove obsolete code.
16095         * stdlib/ldiv.c (ldiv): Likewise.
16096         * stdlib/lldiv.c (lldiv): Likewise.
16097
16098 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16099
16100         [BZ #16071]
16101         * nss/nss_files/files-XXX.c (get_contents_ret): New
16102         enumerator.
16103         (get_contents): New function.
16104         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16105
16106 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16107
16108         * configure.in: Moved to ...
16109         * configure.ac: ... here. Change reference to configure.in
16110         to configure.ac.
16111         * sysdeps/arm/preconfigure.ac: ... here.
16112         configure.in to configure.ac.
16113         * sysdeps/gnu/configure.in: Moved to ...
16114         * sysdeps/gnu/configure.ac: ... here.
16115         * sysdeps/i386/configure.in: Moved to ...
16116         * sysdeps/i386/configure.ac: ... here.
16117         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16118         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16119         * sysdeps/mach/configure.in: Moved to ...
16120         * sysdeps/mach/configure.ac: ... here.
16121         * sysdeps/mach/hurd/configure.in: Moved to ...
16122         * sysdeps/mach/hurd/configure.ac: ... here.
16123         * sysdeps/powerpc/configure.in: Moved to ...
16124         * sysdeps/powerpc/configure.ac: ... here.
16125         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16126         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16127         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16128         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16129         * sysdeps/s390/s390-32/configure.in: Moved to ...
16130         * sysdeps/s390/s390-32/configure.ac: ... here.
16131         * sysdeps/s390/s390-64/configure.in: Moved to ...
16132         * sysdeps/s390/s390-64/configure.ac: ... here.
16133         * sysdeps/sh/configure.in: Moved to ...
16134         * sysdeps/sh/configure.ac: ... here.
16135         * sysdeps/sparc/configure.in: Moved to ...
16136         * sysdeps/sparc/configure.ac: ... here.
16137         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16138         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16139         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16140         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16141         * sysdeps/x86_64/configure.in: Moved to ...
16142         * sysdeps/x86_64/configure.ac: ... here.
16143         * sysdeps/x86_64/preconfigure.in: Moved to ...
16144         * sysdeps/x86_64/preconfigure.ac: ... here.
16145         * aclocal.m4: Change reference to configure.in to configure.ac.
16146         * config.h.in: Likewise.
16147         * manual/install.texi: Likewise.
16148         * manual/maint.texi: Likewise.
16149         * Makefile: Likewise.
16150         * malloc/Makefile: Likewise.
16151         * nscd/Makefile: Likewise.
16152         * Makeconfig: Change reference to configure.in and
16153         preconfigure.in to configure.ac and preconfigure.ac
16154         respectively.
16155         * INSTALL: Regenerated.
16156         * configure: Likewise.
16157         * sysdeps/gnu/configure: Likewise.
16158         * sysdeps/i386/configure: Likewise.
16159         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16160         * sysdeps/mach/configure: Likewise.
16161         * sysdeps/mach/hurd/configure: Likewise.
16162         * sysdeps/powerpc/configure: Likewise.
16163         * sysdeps/powerpc/powerpc32/configure: Likewise.
16164         * sysdeps/powerpc/powerpc64/configure: Likewise.
16165         * sysdeps/s390/s390-32/configure: Likewise.
16166         * sysdeps/s390/s390-64/configure: Likewise.
16167         * sysdeps/sh/configure: Likewise.
16168         * sysdeps/sparc/configure: Likewise.
16169         * sysdeps/unix/sysv/linux/configure: Likewise.
16170         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16171         * sysdeps/x86_64/configure: Likewise.
16172         * sysdeps/x86_64/preconfigure: Likewise.
16173
16174 2013-10-29  Andreas Schwab  <schwab@suse.de>
16175
16176         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16177
16178 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16179
16180         * benchtests/pow-inputs: Add new inputs.
16181
16182         * benchtests/exp-inputs: Add new inputs.
16183
16184         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16185         conditional check for return value.
16186         (__cos32): Likewise.
16187
16188 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16189
16190         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16191         to provide a boost for large inputs with word alignment.
16192         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16193         implementation based on optimized PPC64 strcpy.
16194         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16195         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16196         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16197         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16198
16199 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16200
16201         [BZ #2801]
16202         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16203
16204 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16205
16206         [BZ #14876]
16207         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16208         * time/tst-strptime.c (day_tests): Add testcase.
16209
16210 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16211
16212         [BZ #14029]
16213         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16214
16215 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16216
16217         [BZ #16074]
16218         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16219         MAP_FAILED on error.
16220
16221 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16222
16223         [BZ #16072]
16224         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16225         heap for large requests.
16226
16227 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16228
16229         [BZ #9954]
16230         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16231         result if the result has no associated interface.
16232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16233         interface for all 127.X.Y.Z addresses.
16234
16235 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16236
16237         * locale/iso-639.def: Add Ligurian (lij)
16238
16239 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16240
16241         [BZ #15825]
16242         * sunrpc/rpc_main.c: Document rpcgen -5.
16243
16244 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16245
16246         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16247
16248 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16249
16250         [BZ #10278]
16251         * posix/glob.c: Match only directories when trailing slash is present.
16252         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16253         (main): Add testcase.
16254
16255 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16256
16257         [BZ #15670]
16258         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16259
16260 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16261
16262         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16263         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16264         AUTH_DES and cindex for FIPS 140-2.
16265         (DES Encryption): Add cindex FIPS 46-3.
16266
16267         * locale/locarchive.h (struct locarhandle): Add fname.
16268         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16269         if an optional argument was specified to --list-archive,
16270         otherwise NULL.
16271         * locale/programs/locarchive.c (show_archive_content): Take new
16272         argument fname and pass it via ah.fname to open_archive.
16273         * locale/programs/localedef.h: Update decl.
16274         (open_archive): If AH->fname is non-null, open that file
16275         rather than the default file name, and don't ignore ENOENT.
16276         (create_archive): Set AH.fname to NULL.
16277         (delete_locales_from_archive): Likewise.
16278         (add_locales_to_archive): Likewise.
16279         * locale/programs/locfile.c (write_all_categories): Likewise.
16280
16281 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16282             Aldy Hernandez  <aldyh@redhat.com>
16283
16284         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16285         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16286         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16287         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16288         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16289         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16290         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16291         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16292         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16293         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16294         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16295         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16296         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16297         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16298         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16299         Likewise.
16300         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16301         Likewise.
16302         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16303         Likewise.
16304         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16305         Likewise.
16306         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16307         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16308         Likewise.
16309         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16310         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16311         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16312         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16313         Likewise.
16314         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16315         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16316         * sysdeps/powerpc/preconfigure: Likewise.
16317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16318         Likewise.
16319         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16320         Replace contents of file by #include of <fenv_libc.h>.
16321         * sysdeps/powerpc/soft-fp/sfp-machine.h
16322         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16323         and <sys/prctl.h>.
16324         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16325         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16326         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16327         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16328         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16329         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16331         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16332         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16333         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16334         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16335         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16337         Allow copysignl PLT reference to be missing.
16338
16339 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16340             Joseph Myers  <joseph@codesourcery.com
16341
16342         [BZ #15948]
16343         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16344         single character.
16345         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16346
16347 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16348
16349         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16350         * elf/tst-tls1.c: Likewise.
16351         * elf/tst-tls10.h: Likewise.
16352         * elf/tst-tls14.c: Likewise.
16353         * elf/tst-tls2.c: Likewise.
16354         * elf/tst-tls3.c: Likewise.
16355         * elf/tst-tls4.c: Likewise.
16356         * elf/tst-tls5.c: Likewise.
16357         * elf/tst-tls6.c: Likewise.
16358         * elf/tst-tls7.c: Likewise.
16359         * elf/tst-tls8.c: Likewise.
16360         * elf/tst-tls9.c: Likewise.
16361         * elf/tst-tlsmod1.c: Likewise.
16362         * elf/tst-tlsmod13.c: Likewise.
16363         * elf/tst-tlsmod13a.c: Likewise.
16364         * elf/tst-tlsmod14a.c: Likewise.
16365         * elf/tst-tlsmod16a.c: Likewise.
16366         * elf/tst-tlsmod16b.c: Likewise.
16367         * elf/tst-tlsmod2.c: Likewise.
16368         * elf/tst-tlsmod3.c: Likewise.
16369         * elf/tst-tlsmod4.c: Likewise.
16370         * elf/tst-tlsmod5.c: Likewise.
16371         * elf/tst-tlsmod6.c: Likewise.
16372
16373 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16374
16375         [BZ #12486]
16376         * malloc/malloc.c: remove checks for statistics.
16377
16378 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16379
16380         [BZ #15277]
16381         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16382         * inet/tst-network.c: Add testcase.
16383
16384 2013-10-17  Andreas Schwab  <schwab@suse.de>
16385
16386         [BZ #15218]
16387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16388         to determine canonical name.
16389
16390 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16391
16392         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16393         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16394         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16395         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16396         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16397         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16398         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16399         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16400         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16401         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16402         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16403         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16405         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16406         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16407         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16408         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16409         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16410         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16411         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16412         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16413         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16414         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16415         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16416         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16417         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16418         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16419         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16420         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16421         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16422         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16423         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16424         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16425         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16426         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16429         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16430         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16431         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16432         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16433         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16434         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16435         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16436         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16437         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16438         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16439         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16440         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16441         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16442         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16443         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16444         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16445         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16446         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16447         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16448         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16449         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16450
16451 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16452
16453         [BZ #16041]
16454         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16455         make result into a quiet NaN.
16456
16457 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16458
16459         * soft-fp/adddf3.c: Fix horizontal whitespace.
16460         * soft-fp/addsf3.c: Likewise.
16461         * soft-fp/addtf3.c: Likewise.
16462         * soft-fp/divdf3.c: Likewise.
16463         * soft-fp/divsf3.c: Likewise.
16464         * soft-fp/divtf3.c: Likewise.
16465         * soft-fp/double.h: Likewise.
16466         * soft-fp/eqdf2.c: Likewise.
16467         * soft-fp/eqsf2.c: Likewise.
16468         * soft-fp/eqtf2.c: Likewise.
16469         * soft-fp/extenddftf2.c: Likewise.
16470         * soft-fp/extended.h: Likewise.
16471         * soft-fp/extendsfdf2.c: Likewise.
16472         * soft-fp/extendsftf2.c: Likewise.
16473         * soft-fp/extendxftf2.c: Likewise.
16474         * soft-fp/fixdfdi.c: Likewise.
16475         * soft-fp/fixdfsi.c: Likewise.
16476         * soft-fp/fixdfti.c: Likewise.
16477         * soft-fp/fixsfdi.c: Likewise.
16478         * soft-fp/fixsfsi.c: Likewise.
16479         * soft-fp/fixsfti.c: Likewise.
16480         * soft-fp/fixtfdi.c: Likewise.
16481         * soft-fp/fixtfsi.c: Likewise.
16482         * soft-fp/fixtfti.c: Likewise.
16483         * soft-fp/fixunsdfdi.c: Likewise.
16484         * soft-fp/fixunsdfsi.c: Likewise.
16485         * soft-fp/fixunsdfti.c: Likewise.
16486         * soft-fp/fixunssfdi.c: Likewise.
16487         * soft-fp/fixunssfsi.c: Likewise.
16488         * soft-fp/fixunssfti.c: Likewise.
16489         * soft-fp/fixunstfdi.c: Likewise.
16490         * soft-fp/fixunstfsi.c: Likewise.
16491         * soft-fp/fixunstfti.c: Likewise.
16492         * soft-fp/floatdidf.c: Likewise.
16493         * soft-fp/floatdisf.c: Likewise.
16494         * soft-fp/floatditf.c: Likewise.
16495         * soft-fp/floatsidf.c: Likewise.
16496         * soft-fp/floatsisf.c: Likewise.
16497         * soft-fp/floatsitf.c: Likewise.
16498         * soft-fp/floattidf.c: Likewise.
16499         * soft-fp/floattisf.c: Likewise.
16500         * soft-fp/floattitf.c: Likewise.
16501         * soft-fp/floatundidf.c: Likewise.
16502         * soft-fp/floatundisf.c: Likewise.
16503         * soft-fp/floatunditf.c: Likewise.
16504         * soft-fp/floatunsidf.c: Likewise.
16505         * soft-fp/floatunsisf.c: Likewise.
16506         * soft-fp/floatunsitf.c: Likewise.
16507         * soft-fp/floatuntidf.c: Likewise.
16508         * soft-fp/floatuntisf.c: Likewise.
16509         * soft-fp/floatuntitf.c: Likewise.
16510         * soft-fp/fmadf4.c: Likewise.
16511         * soft-fp/fmasf4.c: Likewise.
16512         * soft-fp/fmatf4.c: Likewise.
16513         * soft-fp/gedf2.c: Likewise.
16514         * soft-fp/gesf2.c: Likewise.
16515         * soft-fp/getf2.c: Likewise.
16516         * soft-fp/ledf2.c: Likewise.
16517         * soft-fp/lesf2.c: Likewise.
16518         * soft-fp/letf2.c: Likewise.
16519         * soft-fp/muldf3.c: Likewise.
16520         * soft-fp/mulsf3.c: Likewise.
16521         * soft-fp/multf3.c: Likewise.
16522         * soft-fp/negdf2.c: Likewise.
16523         * soft-fp/negsf2.c: Likewise.
16524         * soft-fp/negtf2.c: Likewise.
16525         * soft-fp/op-1.h: Likewise.
16526         * soft-fp/op-2.h: Likewise.
16527         * soft-fp/op-4.h: Likewise.
16528         * soft-fp/op-8.h: Likewise.
16529         * soft-fp/op-common.h: Likewise.
16530         * soft-fp/quad.h: Likewise.
16531         * soft-fp/single.h: Likewise.
16532         * soft-fp/soft-fp.h: Likewise.
16533         * soft-fp/sqrtdf2.c: Likewise.
16534         * soft-fp/sqrtsf2.c: Likewise.
16535         * soft-fp/sqrttf2.c: Likewise.
16536         * soft-fp/subdf3.c: Likewise.
16537         * soft-fp/subsf3.c: Likewise.
16538         * soft-fp/subtf3.c: Likewise.
16539         * soft-fp/truncdfsf2.c: Likewise.
16540         * soft-fp/trunctfdf2.c: Likewise.
16541         * soft-fp/trunctfsf2.c: Likewise.
16542         * soft-fp/trunctfxf2.c: Likewise.
16543         * soft-fp/unorddf2.c: Likewise.
16544         * soft-fp/unordsf2.c: Likewise.
16545         * soft-fp/unordtf2.c: Likewise.
16546
16547 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16548
16549         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16550         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16551
16552 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16553
16554         * elf/dl-libc.c: Clear initfini list after freeing.
16555
16556 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16557
16558         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16559         * soft-fp/addsf3.c: Likewise.
16560         * soft-fp/addtf3.c: Likewise.
16561         * soft-fp/divdf3.c: Likewise.
16562         * soft-fp/divsf3.c: Likewise.
16563         * soft-fp/divtf3.c: Likewise.
16564         * soft-fp/double.h: Likewise.
16565         * soft-fp/eqdf2.c: Likewise.
16566         * soft-fp/eqsf2.c: Likewise.
16567         * soft-fp/eqtf2.c: Likewise.
16568         * soft-fp/extenddftf2.c: Likewise.
16569         * soft-fp/extended.h: Likewise.
16570         * soft-fp/extendsfdf2.c: Likewise.
16571         * soft-fp/extendsftf2.c: Likewise.
16572         * soft-fp/extendxftf2.c: Likewise.
16573         * soft-fp/fixdfdi.c: Likewise.
16574         * soft-fp/fixdfsi.c: Likewise.
16575         * soft-fp/fixdfti.c: Likewise.
16576         * soft-fp/fixsfdi.c: Likewise.
16577         * soft-fp/fixsfsi.c: Likewise.
16578         * soft-fp/fixsfti.c: Likewise.
16579         * soft-fp/fixtfdi.c: Likewise.
16580         * soft-fp/fixtfsi.c: Likewise.
16581         * soft-fp/fixtfti.c: Likewise.
16582         * soft-fp/fixunsdfdi.c: Likewise.
16583         * soft-fp/fixunsdfsi.c: Likewise.
16584         * soft-fp/fixunsdfti.c: Likewise.
16585         * soft-fp/fixunssfdi.c: Likewise.
16586         * soft-fp/fixunssfsi.c: Likewise.
16587         * soft-fp/fixunssfti.c: Likewise.
16588         * soft-fp/fixunstfdi.c: Likewise.
16589         * soft-fp/fixunstfsi.c: Likewise.
16590         * soft-fp/fixunstfti.c: Likewise.
16591         * soft-fp/floatdidf.c: Likewise.
16592         * soft-fp/floatdisf.c: Likewise.
16593         * soft-fp/floatditf.c: Likewise.
16594         * soft-fp/floatsidf.c: Likewise.
16595         * soft-fp/floatsisf.c: Likewise.
16596         * soft-fp/floatsitf.c: Likewise.
16597         * soft-fp/floattidf.c: Likewise.
16598         * soft-fp/floattisf.c: Likewise.
16599         * soft-fp/floattitf.c: Likewise.
16600         * soft-fp/floatundidf.c: Likewise.
16601         * soft-fp/floatundisf.c: Likewise.
16602         * soft-fp/floatunsidf.c: Likewise.
16603         * soft-fp/floatunsisf.c: Likewise.
16604         * soft-fp/floatuntidf.c: Likewise.
16605         * soft-fp/floatuntisf.c: Likewise.
16606         * soft-fp/floatuntitf.c: Likewise.
16607         * soft-fp/fmadf4.c: Likewise.
16608         * soft-fp/fmasf4.c: Likewise.
16609         * soft-fp/fmatf4.c: Likewise.
16610         * soft-fp/gedf2.c: Likewise.
16611         * soft-fp/gesf2.c: Likewise.
16612         * soft-fp/getf2.c: Likewise.
16613         * soft-fp/ledf2.c: Likewise.
16614         * soft-fp/lesf2.c: Likewise.
16615         * soft-fp/letf2.c: Likewise.
16616         * soft-fp/muldf3.c: Likewise.
16617         * soft-fp/mulsf3.c: Likewise.
16618         * soft-fp/multf3.c: Likewise.
16619         * soft-fp/negdf2.c: Likewise.
16620         * soft-fp/negsf2.c: Likewise.
16621         * soft-fp/negtf2.c: Likewise.
16622         * soft-fp/op-1.h: Likewise.
16623         * soft-fp/op-2.h: Likewise.
16624         * soft-fp/op-4.h: Likewise.
16625         * soft-fp/op-8.h: Likewise.
16626         * soft-fp/op-common.h: Likewise.
16627         * soft-fp/quad.h: Likewise.
16628         * soft-fp/single.h: Likewise.
16629         * soft-fp/soft-fp.h: Likewise.
16630         * soft-fp/sqrtdf2.c: Likewise.
16631         * soft-fp/sqrtsf2.c: Likewise.
16632         * soft-fp/sqrttf2.c: Likewise.
16633         * soft-fp/subdf3.c: Likewise.
16634         * soft-fp/subsf3.c: Likewise.
16635         * soft-fp/subtf3.c: Likewise.
16636         * soft-fp/truncdfsf2.c: Likewise.
16637         * soft-fp/trunctfdf2.c: Likewise.
16638         * soft-fp/trunctfsf2.c: Likewise.
16639         * soft-fp/trunctfxf2.c: Likewise.
16640         * soft-fp/unorddf2.c: Likewise.
16641         * soft-fp/unordsf2.c: Likewise.
16642         * soft-fp/unordtf2.c: Likewise.
16643
16644 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16645
16646         [BZ #15672]
16647         * misc/error.c (error_tail): Fix possible buffer overflow.
16648
16649 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16650
16651         [BZ #13028]
16652         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16653         address.
16654
16655 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16656
16657         [BZ #832]
16658         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16659         testing pipefail option.
16660
16661 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16662
16663         * soft-fp/double.h: Indent preprocessor directives inside #if.
16664         * soft-fp/extended.h: Likewise.
16665         * soft-fp/op-2.h: Likewise.
16666         * soft-fp/op-4.h: Likewise.
16667         * soft-fp/op-common.h: Likewise.
16668         * soft-fp/quad.h: Likewise.
16669         * soft-fp/single.h: Likewise.
16670         * soft-fp/soft-fp.h: Likewise.
16671
16672 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16673
16674         * iconv/iconv_prog.c: Fix typos.
16675         * stdio-common/psiginfo-data.h: Likewise.
16676
16677 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16678
16679         [BZ #15764]
16680         * locale/setlocale.c: Fix typo.
16681
16682 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16683
16684         [BZ #16036]
16685         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16686         signaling NaN arguments.
16687         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16688         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16689
16690         [BZ #14910]
16691         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16692         unordered operands.
16693         * soft-fp/gesf2.c (__gesf2): Likewise.
16694         * soft-fp/getf2.c (__getf2): Likewise.
16695         * soft-fp/ledf2.c (__ledf2): Likewise.
16696         * soft-fp/lesf2.c (__lesf2): Likewise.
16697         * soft-fp/letf2.c (__letf2): Likewise.
16698
16699         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16700         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16701         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16702         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16703         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16704         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16705         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16706         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16707         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16708         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16709         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16710         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16711         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16712         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16713         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16714         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16715         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16716         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16717         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16718         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16719         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16720         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16721         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16722         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16723         * soft-fp/floattidf.c (__floattidf): Likewise.
16724         * soft-fp/floattisf.c (__floattisf): Likewise.
16725         * soft-fp/floattitf.c (__floattitf): Likewise.
16726         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16727         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16728         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16729         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16730         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16731         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16732         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16733         * soft-fp/gesf2.c (__gesf2): Likewise.
16734         * soft-fp/getf2.c (__getf2): Likewise.
16735         * soft-fp/ledf2.c (__ledf2): Likewise.
16736         * soft-fp/lesf2.c (__lesf2): Likewise.
16737         * soft-fp/letf2.c (__letf2): Likewise.
16738
16739         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16740         Undefine and redefine.
16741         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16742         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16743         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16744         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16745         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16746         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16747         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16748         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16749         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16750         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16751         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16752         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16753         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16754         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16755         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16756
16757         [BZ #16032]
16758         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16759         without decrementing exponent if mantissa >= that for the
16760         denominator, not >.
16761         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16762         denominator, not >.  Decrement exponent in < case instead of
16763         incrementing in >= case.
16764         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16765         without decrementing exponent if mantissa >= that for the
16766         denominator, not >.
16767
16768         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16769         computing saturated result for unsigned overflow.
16770
16771 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16772             Jeff Law  <law@redhat.com>
16773
16774         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16775         (atan2Mp): Add systemtap probe marker.
16776         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16777         (__ieee754_log): Add systemtap probe marker.
16778         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16779         (atanMp): Add systemtap probe marker.
16780         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16781         (tanMp): Add systemtap probe marker.
16782         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16783         (__slowexp): Add systemtap probe marker.
16784         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16785         (__slowpow): Add systemtap probe marker.
16786         * manual/probes.texi: Document probes.
16787
16788 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16789
16790         [BZ #15362]
16791         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16792         written.
16793         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16794         written.
16795         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16796         written to buffer but not flushed.
16797         * libio/iofwrite_u.c:  Likewise.
16798         * libio/iopadn.c:  Return bytes returned even if EOF was
16799         encountered.
16800         * libio/iowpadn.c:  Likewise.
16801         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16802         if _IO_padn does not write the whole buffer.
16803         [!COMPILE_WPRINTF] (PAD): Likewise.
16804
16805 2013-10-10  David S. Miller  <davem@davemloft.net>
16806
16807         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16808         directory block.
16809
16810 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16811
16812         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16813         instead of FSF address.
16814         * soft-fp/fixdfti.c: Likewise.
16815         * soft-fp/fixsfti.c: Likewise.
16816         * soft-fp/fixtfti.c: Likewise.
16817         * soft-fp/fixunsdfti.c: Likewise.
16818         * soft-fp/fixunssfti.c: Likewise.
16819         * soft-fp/fixunstfti.c: Likewise.
16820         * soft-fp/floattidf.c: Likewise.
16821         * soft-fp/floattisf.c: Likewise.
16822         * soft-fp/floattitf.c: Likewise.
16823         * soft-fp/floatuntidf.c: Likewise.
16824         * soft-fp/floatuntisf.c: Likewise.
16825         * soft-fp/floatuntitf.c: Likewise.
16826         * soft-fp/trunctfxf2.c: Likewise.
16827
16828         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16829         * soft-fp/fixdfti.c: Likewise.
16830         * soft-fp/fixsfti.c: Likewise.
16831         * soft-fp/fixtfti.c: Likewise.
16832         * soft-fp/fixunsdfti.c: Likewise.
16833         * soft-fp/fixunssfti.c: Likewise.
16834         * soft-fp/fixunstfti.c: Likewise.
16835         * soft-fp/floattidf.c: Likewise.
16836         * soft-fp/floattisf.c: Likewise.
16837         * soft-fp/floattitf.c: Likewise.
16838         * soft-fp/floatuntidf.c: Likewise.
16839         * soft-fp/floatuntisf.c: Likewise.
16840         * soft-fp/floatuntitf.c: Likewise.
16841         * soft-fp/trunctfxf2.c: Likewise.
16842
16843 2013-10-10  David S. Miller  <davem@davemloft.net>
16844
16845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16846
16847 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16848
16849         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16850         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16851         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16852         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16853         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16854         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16855         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16856
16857         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16858         for NaNs before doing comparisons on argument.
16859         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16860         Likewise.
16861
16862 2013-10-10  Will Newton  <will.newton@linaro.org>
16863
16864         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16865         passed to _int_memalign does not overflow.
16866
16867 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16868
16869         * scripts/bench.pl: Add include-sources directive.
16870         * benchtests/README: Update documentation.
16871
16872 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16873
16874         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16875         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16876         instead of FP_INIT_ROUNDMODE.
16877         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16878         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16879
16880         [BZ #16034]
16881         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16882         copy class of input value.
16883         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16884         not handle exceptions.
16885         * soft-fp/negsf2.c (__negsf2): Likewise.
16886         * soft-fp/negtf2.c (__negtf2): Likewise.
16887         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16888
16889 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16890
16891         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16892         semicolon.  From Linux kernel.
16893
16894 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16895
16896         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16897
16898 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16899
16900         [BZ #156]
16901         * manual/socket.texi: Added statement about buffer
16902         for gethostbyname2_r.
16903
16904 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16905
16906         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16907         Use .p2align directive instead, throughout.
16908         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16909         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16910         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16913         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16914         * sysdeps/x86_64/strchr.S: Likewise.
16915         * sysdeps/x86_64/strrchr.S: Likewise.
16916
16917 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16918
16919         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16920
16921         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16922
16923         * sysdeps/generic/math_private.h (__mpsin1): Remove
16924         declaration.
16925         (__mpcos1): Likewise.
16926         (__mpsin): New argument __range_reduce.
16927         (__mpcos): Likewise.
16928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16929         (slow): Use __mpsin and __mpcos.
16930         (slow1): Likewise.
16931         (slow2): Likewise.
16932         (sloww): Likewise.
16933         (sloww1): Likewise.
16934         (sloww2): Likewise.
16935         (bsloww): Likewise.
16936         (bsloww1): Likewise.
16937         (bsloww2): Likewise.
16938         (cslow2): Likewise.
16939         (csloww): Likewise.
16940         (csloww1): Likewise.
16941         (csloww2): Likewise.
16942         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16943         range_reduce.  Merge in __mpsin1.
16944         (__mpcos): Likewise.
16945         (__mpsin1): Remove.
16946         (__mpcos1): Likewise.
16947
16948 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16949
16950         * locale/loadlocale.c (_nl_intern_locale_data): Use
16951         LOCFILE_ALIGNED_P.
16952         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16953         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16954         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16955         obstack data is appropriately aligned.
16956         (obstack_int32_grow_fast): Likewise.
16957         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16958         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16959         (add_locale_uint32_array): Likewise.
16960
16961 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16962
16963         * benchtests/Makefile: Remove ARGLIST and RET variables.
16964         ($(objpfx)bench-%.c): Pass only function name to the script.
16965         * benchtests/README: Update documentation.
16966         * benchtests/acos-inputs: Add new directives.
16967         * benchtests/acosh-inputs: Likewise.
16968         * benchtests/asin-inputs: Likewise.
16969         * benchtests/asinh-inputs: Likewise.
16970         * benchtests/atan-inputs: Likewise.
16971         * benchtests/atanh-inputs: Likewise.
16972         * benchtests/cos-inputs: Likewise.
16973         * benchtests/cosh-inputs: Likewise.
16974         * benchtests/exp-inputs: Likewise.
16975         * benchtests/log-inputs: Likewise.
16976         * benchtests/pow-inputs: Likewise.
16977         * benchtests/rint-inputs: Likewise.
16978         * benchtests/sin-inputs: Likewise.
16979         * benchtests/sinh-inputs: Likewise.
16980         * benchtests/tan-inputs: Likewise.
16981         * benchtests/tanh-inputs: Likewise.
16982         * scripts/bench.pl: Add support for new directives.
16983
16984 2013-10-07  Alan Modra  <amodra@gmail.com>
16985
16986         * README: Fix careless merge.
16987
16988 2013-10-05  Alan Modra  <amodra@gmail.com>
16989
16990         * NEWS: Mention powerpc64le support and bugs fixed.
16991         * README: Both big-endian and little-endian powerpc64 supported.
16992
16993 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16994
16995         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16996         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16997         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16998         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16999
17000 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17001
17002         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17003         match prototype.
17004
17005 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17006
17007         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17008         Move -mhard-float appending from
17009         ports/sysdeps/powerpc/powerpc32/Makefile.
17010         [$(with-fp) = yes] (ASFLAGS): Likewise.
17011         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17012         * sysdeps/powerpc/nofpu: Move directory from
17013         ports/sysdeps/powerpc/nofpu.
17014         * sysdeps/powerpc/soft-fp: Move directory from
17015         ports/sysdeps/powerpc/soft-fp.
17016         * sysdeps/powerpc/powerpc32/405: Move directory from
17017         ports/sysdeps/powerpc/powerpc32/405.
17018         * sysdeps/powerpc/powerpc32/440: Move directory from
17019         ports/sysdeps/powerpc/powerpc32/440.
17020         * sysdeps/powerpc/powerpc32/464: Move directory from
17021         ports/sysdeps/powerpc/powerpc32/464.
17022         * sysdeps/powerpc/powerpc32/476: Move directory from
17023         ports/sysdeps/powerpc/powerpc32/476.
17024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17025         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17027         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17029         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17031         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17033         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17034         * README: Update for powerpc-*-linux-gnu software floating point
17035         support in libc.
17036
17037         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17038         case to powerpc/powerpc32*.
17039         * sysdeps/unix/sysv/linux/configure: Regenerated.
17040
17041         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17042         (_FPU_MASK_OM): Define as 0x04.
17043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17045         0x00c10080.
17046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17047         0x0000003c.
17048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17049
17050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17051         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17052         getcontext_e500.
17053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17054         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17055         setcontext_e500.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17057         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17058         and setcontext_e500.
17059
17060 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17061
17062         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17063
17064 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17065
17066         * manual/threads.texi (Default Thread Attributes): Fix typo.
17067
17068 2013-10-04  Will Newton  <will.newton@linaro.org>
17069
17070         * malloc/Makefile: Add tst-memalign.
17071         * malloc/tst-memalign.c: New file.
17072
17073         * malloc/tst-posix_memalign.c: Add comments.
17074         (do_test): Add comments and call free on all potentially
17075         allocated pointers. Add space after cast.
17076
17077         * malloc/tst-pvalloc.c: Add comments.
17078         (do_test): Add comments and call free on all potentially
17079         allocated pointers. Remove duplicate check for NULL pointer.
17080         Add space after cast.
17081
17082         * malloc/tst-valloc.c: Add comments.
17083         (do_test): Add comments and call free on all potentially
17084         allocated pointers. Remove duplicate check for NULL pointer.
17085         Add space after cast.
17086
17087 2013-10-04  Alan Modra  <amodra@gmail.com>
17088
17089         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17090         Use stdint types in rather than __attribute__((mode())).
17091         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17092
17093 2013-10-04  Alan Modra  <amodra@gmail.com>
17094
17095         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17096         Correct handling of unaligned relocs for little-endian.
17097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17098
17099 2013-10-04  Alan Modra  <amodra@gmail.com>
17100
17101         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17102         * configure: Regenerate.
17103         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17104         * shlib-versions: Likewise.
17105
17106 2013-10-04  Alan Modra  <amodra@gmail.com>
17107
17108         * string/tester.c (test_memrchr): Increment reported test cycle.
17109
17110 2013-10-04  Alan Modra  <amodra@gmail.com>
17111
17112         * string/test-memcpy.c (do_one_test): When reporting errors, print
17113         string address and don't overrun end of string.
17114
17115 2013-10-04  Alan Modra  <amodra@gmail.com>
17116
17117         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17118         insrdi.  Make better use of reg selection to speed exit slightly.
17119         Schedule entry path a little better.  Remove useless "are we done"
17120         checks on entry to main loop.  Handle wrapping around zero address.
17121         Correct main loop count.  Handle single left-over word from main
17122         loop inline rather than by using loop_small.  Remove extra word
17123         case in loop_small caused by wrong loop count.  Add little-endian
17124         support.
17125         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17126         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17127         cache hint.
17128         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17129         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17130         support.  Avoid rlwimi.
17131         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17132
17133 2013-10-04  Alan Modra  <amodra@gmail.com>
17134
17135         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17136         insrdi.  Formatting.
17137         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17138         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17139         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17140         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17141         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17142         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17143
17144 2013-10-04  Alan Modra  <amodra@gmail.com>
17145
17146         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17147         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17148         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17149         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17150         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17151         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17152         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17153         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17154         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17155         use of regs.  Use power7 mtocrf.  Tidy function tails.
17156
17157 2013-10-04  Alan Modra  <amodra@gmail.com>
17158
17159         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17160         Formatting.  Consistently use rXXX register defines or rN defines.
17161         Use early exit labels that avoid restoring unused non-volatile regs.
17162         Make cr field use more consistent with rWORDn compares.  Rename
17163         regs used as shift registers for unaligned loop, using rN defines
17164         for short lifetime/multiple use regs.
17165         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17166         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17167         addi 1,1,64 to pop stack frame.  Simplify return value code.
17168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17169
17170 2013-10-04  Alan Modra  <amodra@gmail.com>
17171
17172         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17173         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17174         rather than rlwimi.
17175         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17176         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17177         little-endian support.  Correct typos.
17178         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17179         rather than rlwimi.
17180         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17181         in loop and entry code to keep "and." results.
17182         (strchr): Add little-endian support.  Comment.  Move cntlzd
17183         earlier in tail.
17184         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17185
17186 2013-10-04  Alan Modra  <amodra@gmail.com>
17187
17188         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17189         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17190         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17191         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17192
17193 2013-10-04  Alan Modra  <amodra@gmail.com>
17194
17195         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17196         (rTMP): Define as r11.
17197         (strcmp): Add little-endian support.  Optimise tail.
17198         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17199         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17200         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17201         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17202         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17203         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17204         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17205
17206 2013-10-04  Alan Modra  <amodra@gmail.com>
17207
17208         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17209         little-endian support.  Remove unnecessary "are we done" tests.
17210         Handle "s" wrapping around zero and extremely large "size".
17211         Correct main loop count.  Handle single left-over word from main
17212         loop inline rather than by using small_loop.  Correct comments.
17213         Delete "zero" tail, use "end_max" instead.
17214         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17215
17216 2013-10-04  Alan Modra  <amodra@gmail.com>
17217
17218         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17219         support.  Don't branch over align.
17220         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17221         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17222         support.  Rearrange tmp reg use to suit.  Comment.
17223         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17224
17225 2013-10-04  Alan Modra  <amodra@gmail.com>
17226
17227         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17228
17229 2013-10-04  Alan Modra  <amodra@gmail.com>
17230
17231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17232         conditional form of branch and link when obtaining pc.
17233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17234
17235 2013-10-04  Alan Modra  <amodra@gmail.com>
17236
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17238         HIWORD/LOWORD.
17239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17241
17242 2013-10-04  Alan Modra  <amodra@gmail.com>
17243
17244         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17245         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17246         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17247         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17248         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17249         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17250         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17251         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17253         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17254
17255 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17256             Alistair Popple <alistair@ozlabs.au.ibm.com>
17257             Alan Modra <amodra@gmail.com>
17258
17259         [BZ #15723]
17260         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17261         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17262         _dl_hwcap access for little-endian.
17263         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17264         destroy vmx regs when saving unaligned.
17265         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17266         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17267         destroy vmx regs when saving unaligned.
17268
17269 2013-10-04  Alan Modra  <amodra@gmail.com>
17270
17271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17272         Don't use a union to pack hi/low value.
17273
17274 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17275
17276         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17277         for little-endian.
17278         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17279         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17280         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17281         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17282         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17283
17284 2013-10-04  Alan Modra  <amodra@gmail.com>
17285
17286         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17287         constants to usual value for .cst8 section, and remove redundant
17288         high address load.
17289         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17290         constant for 0x1p52.  Load little-endian words of double from
17291         correct stack offsets.
17292
17293 2013-10-04  Alan Modra  <amodra@gmail.com>
17294
17295         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17296         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17297         words of double from correct stack offsets.
17298         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17299         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17300         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17301         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17302         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17303         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17304         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17305         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17306         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17307         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17308         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17309         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17310         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17311         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17312         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17313         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17314         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17315
17316 2013-10-04  Alan Modra  <amodra@gmail.com>
17317
17318         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17319         64-bit int/double union.
17320         (_FPU_SETCW): Likewise.
17321         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17322         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17323
17324 2013-10-04  Alan Modra  <amodra@gmail.com>
17325
17326         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17327         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17328
17329 2013-10-04  Alan Modra  <amodra@gmail.com>
17330
17331         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17332         use vector int constants.
17333         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17334
17335 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17336
17337         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17338         array with long long.
17339         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17340         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17341         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17342         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17343         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17344         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17345         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17346         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17347         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17348         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17349         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17350         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17351         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17352
17353 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17354
17355         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17356         (__signbit): Likewise.  Correct for little-endian.
17357         (__signbitl): Call __signbit.
17358         (lrint): Correct for little-endian.
17359         (lrintf): Call lrint.
17360
17361 2013-10-04  Alan Modra  <amodra@gmail.com>
17362
17363         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17364         union 32-bit int array member with 64-bit int array.
17365         (t515, tm256): Double rather than long double.
17366         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17367
17368 2013-10-04  Alan Modra  <amodra@gmail.com>
17369
17370         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17371         Delete.
17372         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17374         version of math_ldbl.h.
17375
17376 2013-10-04  Alan Modra  <amodra@gmail.com>
17377
17378         [BZ #15734], [BZ #15735]
17379         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17380         all uses of ieee875 long double macros and unions.  Simplify test
17381         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17382         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17383         normalize after ldbl_extract_mantissa, and don't add hidden bit
17384         already handled.  Don't treat low word of ieee854 mantissa like
17385         low word of IBM long double and mask off bit when testing for
17386         zero.
17387         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17388         all uses of ieee875 long double macros and unions.  Simplify tests
17389         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17390         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17391         two1022, instead use their values.  Recognise that tests for large
17392         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17393         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17394         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17395         test for 0.0L and nan.  Correct negation.
17396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17397         ieee875 long double macros and unions.  Correct output for large
17398         magnitude x.  Correct absolute value calculation.
17399         (__erfcl): Likewise.
17400         * math/libm-test.inc: Add tests for errors discovered in IBM long
17401         double versions of fmodl, remainderl, erfl and erfcl.
17402
17403 2013-10-04  Alan Modra  <amodra@gmail.com>
17404
17405         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17406         all uses of ieee854 long double macros and unions.  Simplify tests
17407         for long doubles that are fully specified by the high double.
17408         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17409         Likewise.
17410         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17411         Remove dead code too.
17412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17413         (__ieee754_ynl): Likewise.
17414         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17415         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17416         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17417         Remove dead code too.
17418         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17419         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17421         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17422         Simplify.
17423         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17424         Simplify.
17425         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17426         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17428         Comment on variable precision.
17429         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17430         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17431         Likewise.
17432         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17433         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17436         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17437
17438 2013-10-04  Alan Modra  <amodra@gmail.com>
17439
17440         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17441         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17442         all uses of ieee854 long double macros and unions.
17443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17444         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17445         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17446         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17447         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17448         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17449         Likewise.
17450         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17451         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17453         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17455         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17456         Simplify sign and nan test too.
17457         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17458         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17459         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17460         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17461         Likewise.
17462         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17463         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17464         Likewise.
17465         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17466         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17467         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17468         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17469         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17471
17472 2013-10-04  Alan Modra  <amodra@gmail.com>
17473
17474         * stdio-common/printf_size.c (__printf_size): Don't use
17475         union ieee854_long_double in fpnum union.
17476         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17477         signbit macro to retrieve sign from long double.
17478         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17479         retrieve sign from long double.
17480         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17481         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17482         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17483         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17484         * math/test-misc.c (main): Don't use union ieee854_long_double.
17485
17486 2013-10-04  Alan Modra  <amodra@gmail.com>
17487
17488         [BZ #15680]
17489         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17490         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17491         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17492         calculation.  Remove unnecessary test for denormal exponent.
17493         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17494         Correct handling of denormals.  Avoid undefined shift behaviour.
17495         Correct normalisation of low mantissa when low double is denormal.
17496         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17497         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17498         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17499         Correct normalisation of low mantissa.  Test for overflow of high
17500         mantissa and normalise.
17501         (ldbl_nearbyint): Use more readable constant for two52.
17502         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17503         (__mpn_construct_long_double): Fix test for overflow of high
17504         mantissa and correct normalisation.  Avoid undefined shift.
17505
17506 2013-10-04  Alan Modra  <amodra@gmail.com>
17507
17508         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17509         (union ibm_extended_long_double): Define as an array of ieee754_double.
17510         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17511         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17512         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17513         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17514         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17517         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17521
17522 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17523
17524         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17525         page size instead of calling getpagesize.
17526
17527         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17528         (LOCFILE_ALIGN_MASK): Likewise.
17529         (LOCFILE_ALIGN_UP): Likewise.
17530         (LOCFILE_ALIGNED_P): Likewise.
17531         * locale/programs/ld-collate.c (collate_output): Use the new
17532         macros instead of __alignof__ (int32_t).
17533         * locale/weight.h (findidx): Likewise.
17534
17535 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17536
17537         [BZ #431]
17538         * manual/string.texi: Fix strncat and wcsncat.
17539
17540 2013-10-03  Brooks Moses  <bmoses@google.com>
17541
17542         [BZ #15915]
17543         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17544         * Makerules: ...here, and adjust associated comments.
17545
17546 2013-10-02  Will Newton  <will.newton@linaro.org>
17547
17548         * malloc/Makefile: Add tst-pvalloc.
17549         * malloc/tst-pvalloc.c: New file.
17550
17551 2013-10-02  Will Newton  <will.newton@linaro.org>
17552
17553         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17554         improve test coverage.
17555
17556 2013-10-02  Will Newton  <will.newton@linaro.org>
17557
17558         * malloc/Makefile: Add tst-posix_memalign.
17559         * malloc/tst-posix_memalign.c: New file.
17560
17561 2013-10-01  Eric Blake  <eblake@redhat.com>
17562
17563         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17564         Use __THROWNL rather than __THROW on static functions.
17565
17566 2013-09-30  Petr Machata  <pmachata@redhat.com>
17567
17568         * elf/elf.h (R_AARCH64_ABS16): New macro.
17569         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17570         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17571         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17572         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17573         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17574         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17575         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17576         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17577         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17578         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17579         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17580         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17581         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17582         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17583         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17584         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17585         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17586         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17587         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17588         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17589         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17590         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17591         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17592         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17593         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17594         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17595         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17596         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17597         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17598         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17599         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17600         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17601         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17602         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17603         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17604         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17605         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17606         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17607         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17608         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17609         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17610         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17611         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17612         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17613         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17614         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17615         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17616         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17617         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17618         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17619         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17620         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17621         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17622         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17623         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17624         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17625         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17626         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17627         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17628         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17629         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17630         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17631         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17632         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17633         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17634         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17635         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17636         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17637         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17638         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17639         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17640         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17641         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17642         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17643         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17644         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17645         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17646         (R_AARCH64_TLSDESC_LDR): Likewise.
17647         (R_AARCH64_TLSDESC_ADD): Likewise.
17648         (R_AARCH64_TLSDESC_CALL): Likewise.
17649
17650 2013-09-30  Andreas Schwab  <schwab@suse.de>
17651
17652         [BZ #15048]
17653         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17654         the nss database lookup.
17655         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17657
17658 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17659
17660         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17661
17662 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17663
17664         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17665         ${Bash-specific parameter/pattern/string} parameter expansion.
17666         * sysdeps/unix/make-syscalls.sh: Likewise.
17667
17668 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17669
17670         * sysdeps/sh/stackguard-macros.h: New file.
17671
17672 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17673
17674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17676         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17677         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17678         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17679         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17680
17681 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17682
17683         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17684         Fix thread ID register.
17685
17686 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17687
17688         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17689         [POSIX || UNIX98]: Require rather than permitting all symbols from
17690         <time.h>.
17691         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17692         element of struct sched_param.
17693         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17694         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17695         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17696         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17697         constant.
17698
17699 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17700
17701         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17702         argument calculation.
17703
17704 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17705
17706         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17707         Expect macro.
17708         [POSIX] (pthread_attr_t): Do not require type.
17709         [POSIX] (pthread_cond_t): Likewise.
17710         [POSIX] (pthread_condattr_t): Likewise.
17711         [POSIX] (pthread_key_t): Likewise.
17712         [POSIX] (pthread_mutex_t): Likewise.
17713         [POSIX] (pthread_mutexattr_t): Likewise.
17714         [POSIX] (pthread_once_t): Likewise.
17715         [POSIX] (pthread_t): Likewise.
17716         [POSIX-based standards] (pthread_atfork): Expect function.
17717
17718 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17719             Richard Sandiford  <richard@codesourcery.com>
17720
17721         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17722         (swap_endianness_p): New extern variable.
17723         (set_big_endian): New inline function.
17724         (maybe_swap_uint32): Likewise.
17725         (maybe_swap_uint32_array): Likewise.
17726         (maybe_swap_uint32_obstack): Likewise.
17727         * locale/programs/locfile.c: Include <stdbool.h>.
17728         (swap_endianness_p): New variable.
17729         (add_locale_uint32): Call maybe_swap_uint32.
17730         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17731         (write_locale_data): Call maybe_swap_uint32_array.
17732         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17733         maybe_swap_uint32.
17734         (obstack_int32_grow_fast): Likewise.
17735         (output_weightwc): Call maybe_swap_uint32_obstack.
17736         (collate_output): Likewise.
17737         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17738         (OPT_LITTLE_ENDIAN): Likewise.
17739         (options): Add --little-endian and --big-endian options.
17740         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17741         * locale/programs/locarchive.c: Include "locfile.h".
17742         (GET): New macro.
17743         (SET): Likewise.
17744         (INC): Likewise.
17745         (create_archive): Use the new macros to access fields of
17746         structures directly mapped from or written to locale archives.
17747         (oldlocrecentcmp): Likewise.
17748         (enlarge_archive): Likewise.
17749         (insert_name): Likewise.
17750         (add_alias): Likewise.
17751         (add_locale): Likewise.
17752         (delete_locales_from_archive): Likewise.
17753         (show_archive_content): Likewise.
17754         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17755         locale data.
17756
17757 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17758
17759         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17760         http://www.gnu.org/doc/freemanuals.texi.
17761         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17762
17763 2013-09-24  Will Newton  <will.newton@linaro.org>
17764
17765         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17766         macro.
17767
17768 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17769
17770         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17771         unsigned char.
17772
17773 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17774
17775         * manual/threads.texi (POSIX Threads): Fix a typo.
17776
17777 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17778
17779         [BZ #14547]
17780         * string/tst-strcoll-overflow.c: New test case.
17781         * string/Makefile (xtests): Add tst-strcoll-overflow.
17782         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17783         cache if string sizes may cause integer overflow.
17784
17785         [BZ #14547]
17786         * string/strcoll_l.c (coll_seq): New members rule, idx,
17787         save_idx and back_us.
17788         (get_next_seq_nocache): New function.
17789         (do_compare_nocache): New function.
17790         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17791         when malloc fails.
17792
17793 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17794
17795         [BZ #15754]
17796         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17797         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17798         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17799
17800         [BZ #15754]
17801         * elf/Makefile (tests): Add tst-ptrguard1.
17802         (tests-static): Add tst-ptrguard1-static.
17803         (tst-ptrguard1-ARGS): Define.
17804         (tst-ptrguard1-static-ARGS): Define.
17805         * elf/tst-ptrguard1.c: New file.
17806         * elf/tst-ptrguard1-static.c: New file.
17807         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17808         * sysdeps/i386/stackguard-macros.h: Likewise.
17809         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17810         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17811         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17812         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17813         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17814         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17815
17816 2013-09-23  Hector Marco  <hecmargi@upv.es>
17817             Ismael Ripoll  <iripoll@disca.upv.es>
17818             Carlos O'Donell  <carlos@redhat.com>
17819
17820         [BZ #15754]
17821         * sysdeps/generic/stackguard-macros.h: Define
17822         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17823         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17824         Define __pointer_chk_guard_local.
17825         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17826         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17827
17828 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17829
17830         [BZ #15859]
17831         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17832
17833 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17834
17835         * include/string.h (__ffs): Declare as hidden.
17836         * string/ffs.c (__ffs): Define as hidden.
17837         * sysdeps/i386/ffs.c (__ffs): Likewise.
17838         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17839         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17840         * sysdeps/s390/ffs.c (__ffs): Likewise.
17841         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17842
17843 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17844
17845         * NEWS: Mention malloc probes.
17846
17847         * malloc/arena.c (new_heap): New memory_heap_new probe.
17848         (grow_heap): New memory_heap_more probe.
17849         (shrink_heap): New memory_heap_less probe.
17850         (heap_trim): New memory_heap_free probe.
17851         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17852         (systrim): New memory_sbrk_less probe.
17853         * manual/probes.texi: Document them.
17854
17855         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17856         * manual/probes.texi: Document it.
17857
17858         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17859         (__libc_realloc): Add memory_realloc_retry probe.
17860         (__libc_memalign): Add memory_memalign_retry probe.
17861         (__libc_valloc): Add memory_valloc_retry probe.
17862         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17863         (__libc_calloc): Add memory_calloc_retry probe.
17864         * manual/probes.texi: Document them.
17865
17866         * malloc/arena.c (get_free_list): Add probe
17867         memory_arena_reuse_free_list.
17868         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17869         and memory_arena_reuse.
17870         (arena_get2) [!PER_THREAD]: Likewise.
17871         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17872         memory_arena_reuse_realloc.
17873         * manual/probes.texi: Document them.
17874
17875         * malloc/malloc.c (__libc_free): Add
17876         memory_mallopt_free_dyn_thresholds probe.
17877         (__libc_mallopt): Add multiple memory_mallopt probes.
17878         * manual/probes.texi: Document them.
17879
17880         * malloc/malloc.c: Include stap-probe.h.
17881         (__libc_mallopt): Add memory_mallopt probe.
17882         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17883         * manual/probes.texi: New.
17884         * manual/Makefile (chapters): Add probes.
17885         * manual/threads.texi: Set next node.
17886
17887 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17888
17889         [BZ #15963, #13985]
17890         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17891         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17892         Add `Chinese' to `nan' entry name.
17893
17894 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17895
17896         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17897         (POLYNOMIAL): Likewise.
17898         (TAYLOR_SINCOS): Likewise.
17899         (TAYLOR_SLOW): Likewise.
17900         (__sin): Use TAYLOR_SINCOS.
17901         (__cos): Likewise.
17902         (slow): Use TAYLOR_SLOW.
17903         (sloww): Likewise.
17904         (bsloww): Likewise.
17905         (csloww): Likewise.
17906
17907 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17908
17909         * stdlib/strtod_l.c: Fix buffer overrun.
17910
17911 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912
17913         * benchtests/Makefile (bench): Add sincos.
17914         * benchtests/bench-sincos.c: New file.
17915
17916         * math/libm-test.inc (cos_test_data): New test inputs.
17917         (sin_test_data): Likewise.
17918
17919         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17920         macro.
17921         (__sin): Use it.
17922         (__cos): Likewise.
17923         (slow1): Likewise.
17924         (slow2): Likewise.
17925         (sloww1): Likewise.
17926         (sloww2): Likewise.
17927         (bsloww1): Likewise.
17928         (bsloww2): Likewise.
17929         (cslow2): Likewise.
17930         (csloww1): Likewise.
17931         (csloww2): Likewise.
17932
17933         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17934         function.
17935         (__sin): Use it.
17936         (__cos): Likewise.
17937
17938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17939         gotos.
17940         (__cos): Likewise.
17941
17942 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17943
17944         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17945         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17946         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17947         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17948         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17949         * elf/cache.c (print_entry): Handle the new cache flags.
17950
17951 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17952             Aldy Hernandez  <aldyh@redhat.com>
17953
17954         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17955         Change condition to [_SOFT_FLOAT].
17956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17957         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17960         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17964         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17968         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17971         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17972         declaration.
17973
17974 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17975
17976         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17977         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17978         (__longjmp): Use LOAD_GP to load saved GPRs.
17979         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17980         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17981         (__sigsetjmp): Use SAVE_GP to save GPRs.
17982
17983         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17984         Do not append -msoft-float.
17985         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17986
17987 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988
17989         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17990
17991 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17992
17993         [BZ #15966]
17994         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17995         (_FPU_GETCW): Use initial "__" on variable and field names but not
17996         on macro parameter name.
17997         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17998         parentheses around reference to macro parameter.
17999
18000 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18001
18002         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18003         prototype.
18004         (ctype_startup): Use uint32_t in cast and sizeof for
18005         ctype->charnames.
18006
18007 2013-09-11  Jia Liu  <proljc@gmail.com>
18008
18009         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18010         __daddr_t_defined.
18011         [__FreeBSD__]: Likewise.
18012
18013 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18014
18015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18016         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18017         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18018         (strchr): Remove __strchr_sse42 ifunc selection.
18019         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18020         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18021
18022 2013-09-11  Will Newton  <will.newton@linaro.org>
18023
18024         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18025         parameter to RES. Remove hardcoded 1000 value.
18026         * benchtests/bench-skeleton.c (main): Pass RES parameter
18027         to TIMING_INIT and multiply result by 1000.
18028
18029 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18030
18031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18032
18033 2013-09-11  Andreas Schwab  <schwab@suse.de>
18034
18035         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18036         if not defined.
18037         (O_TMPFILE) [__USE_GNU]: Define.
18038         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18039         Define.
18040
18041 2013-09-11  Will Newton  <will.newton@linaro.org>
18042
18043         [BZ #15857]
18044         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18045         does not overflow.
18046
18047 2013-09-11  Will Newton  <will.newton@linaro.org>
18048
18049         [BZ #15856]
18050         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18051         does not overflow.
18052
18053 2013-09-11  Will Newton  <will.newton@linaro.org>
18054
18055         [BZ #15855]
18056         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18057         does not overflow.
18058
18059 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18060
18061         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18062         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18063         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18065         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18066
18067 2013-09-10  Allan McRae  <allan@archlinux.org>
18068
18069         [BZ #15748]
18070         * manual/arith.texi (Parsing of Floats): Clarify
18071         cross-reference.
18072
18073         [BZ #15849]
18074         * manual/install.texi (Running make install): Mention
18075         --enable-pt-chown.
18076         * INSTALL: Regenerated.
18077
18078 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18079
18080         * csu/init-first.c (_init): Remove the !SHARED condition around
18081         FPU control word initialization.
18082         * elf/dl-support.c (_dl_fpu_control): New variable.
18083         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18084         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18085         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18086         * math/test-fpucw-static.c: New file.
18087         * math/test-fpucw-ieee.c: New file.
18088         * math/test-fpucw-ieee-static.c: New file.
18089         * math/Makefile (tests): Add `test-fpucw-ieee' and
18090         `$(tests-static)'.
18091         (tests-static): New variable.
18092         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18093         dependency to...
18094         [($(build-shared),yes)]
18095         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18096         ... this.
18097         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18098         New dependency.
18099
18100 2013-09-09  Allan McRae  <allan@archlinux.org>
18101
18102         [BZ #15939]
18103         * manual/string.texi (Collation Functions): Fix typo in
18104         strcoll example.
18105         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18106
18107         [BZ #15893]
18108         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18109
18110         [BZ #15892]
18111         * libio/memstream.c (open_memstream): Fix memory leak.
18112         * libio/wmemstream.c (open_wmemstream): Likewise.
18113
18114         [BZ #15895]
18115         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18116
18117 2013-09-09  Will Newton  <will.newton@linaro.org>
18118
18119         * malloc/Makefile: Add tst-realloc to tests.
18120         * malloc/tst-realloc.c: New file.
18121
18122 2013-09-09  Allan McRae  <allan@archlinux.org>
18123
18124         [BZ #15844]
18125         * COPYING: Update from GNU website to fix FSF address.
18126         * COPYING.LIB: Likewise.
18127
18128 2013-09-06  David S. Miller  <davem@davemloft.net>
18129
18130         * po/zh_TW.po: Update Chinese (traditional) translation from
18131         translation project.
18132
18133 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18134             Joseph Myers  <joseph@codesourcery.com>
18135
18136         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18137         "localeinfo.h".
18138         (obstack_chunk_alloc): New macro.
18139         (obstack_chunk_free): Likewise.
18140         (record_offset): New function.
18141         (init_locale_data): Likewise.
18142         (align_locale_data): Likewise.
18143         (add_locale_empty): Likewise.
18144         (add_locale_raw_data): Likewise.
18145         (add_locale_raw_obstack): Likewise.
18146         (add_locale_string): Likewise.
18147         (add_locale_wstring): Likewise.
18148         (add_locale_uint32): Likewise.
18149         (add_locale_uint32_array): Likewise.
18150         (add_locale_char): Likewise.
18151         (start_locale_structure): Likewise.
18152         (end_locale_structure): Likewise.
18153         (start_locale_prelude): Likewise.
18154         (end_locale_prelude): Likewise.
18155         (write_locale_data): Take locale_file structure rather than an
18156         iovec.
18157         * locale/programs/locfile.h: Include "obstack.h".
18158         (struct locale_file): Change to store locale file contents instead
18159         of header.
18160         (init_locale_data): New prototype.
18161         (align_locale_data): Likewise.
18162         (add_locale_empty): Likewise.
18163         (add_locale_raw_data): Likewise.
18164         (add_locale_raw_obstack): Likewise.
18165         (add_locale_string): Likewise.
18166         (add_locale_wstring): Likewise.
18167         (add_locale_uint32): Likewise.
18168         (add_locale_uint32_array): Likewise.
18169         (add_locale_char): Likewise.
18170         (start_locale_structure): Likewise.
18171         (end_locale_structure): Likewise.
18172         (start_locale_prelude): Likewise.
18173         (end_locale_prelude): Likewise.
18174         (write_locale_data): Update prototype.
18175         * locale/programs/3level.h (struct TABLE): Remove result field.
18176         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18177         Use new locale_file interface.
18178         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18179         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18180         * locale/programs/ld-address.c (address_output): Use new
18181         locale_file interface.
18182         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18183         NO_ADD_LOCALE.
18184         (collate_finish): Don't call collseq_table_finalize.
18185         (collate_output): Use new locale_file interface.
18186         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18187         in file.
18188         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18189         (TABLE): Move defines earlier in file.
18190         (ELEMENT): Likewise.
18191         (DEFAULT): Likewise.
18192         (wctrans_table_add): Move macro and inline function earlier in
18193         file.
18194         (struct wctype_table): Move type earlier in file.
18195         (add_locale_wctype_table): New static prototype.
18196         (struct locale_ctype_t): Use logical types instead of struct iovec
18197         pointers for members.
18198         (ctype_output): Use new locale_file interface.
18199         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18200         new locale_file interface.
18201         (allocate_arrays): Update for use of new locale_file interface.
18202         * locale/programs/ld-identification.c (identification_output): Use
18203         new locale_file interface.
18204         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18205         * locale/programs/ld-messages.c (messages_output): Likewise.
18206         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18207         * locale/programs/ld-name.c (name_output): Likewise.
18208         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18209         * locale/programs/ld-paper.c (paper_output): Likewise.
18210         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18211         * locale/programs/ld-time.c (time_output): Likewise.
18212
18213 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18214
18215         * benchtests/Makefile: Add memrchr benchmark.
18216         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18217         benchmark as memrchr.
18218         * benchtests/bench-memrchr-ifunc.c: New file.
18219         * benchtests/bench-memrchr.c: New file.
18220
18221 2013-09-06   Will Newton  <will.newton@linaro.org>
18222
18223         * benchtests/Makefile (string-bench): Add memcpy.
18224
18225 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18226             Cong Wang  <amwang@redhat.com>
18227
18228         [BZ #15850]
18229         * sysdeps/unix/sysv/linux/bits/in.h
18230         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18231         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18232         before __USE_KERNEL_IPV6_DEFS uses.
18233         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18234         IPPROTO_BEETPH.
18235         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18236         sockaddr_in6, or ipv6_mreq.
18237
18238 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18239
18240         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18241         memory access for final bytes in some large inputs.
18242         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18243
18244 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245
18246         * string/test-memrchr.c: New file.
18247         * string/test-memrchr-ifunc.c: New file.
18248         * string/Makefile: Add new memrchr testcase.
18249
18250 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18251
18252         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18253         fanotify_init returns EPERM.
18254
18255 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18256
18257         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18258         errors.
18259         (top level): Treat second token from macro or constant entries for
18260         allowed headers as allowed.
18261         * include/complex.h: Condition internal declarations on
18262         [!_ISOMAC].
18263         * include/fenv.h: Condition include of <stdbool.h> and internal
18264         declarations on [!_ISOMAC].
18265
18266 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18267
18268         [BZ #15923]
18269         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18270
18271 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18272
18273         * configure.in (--enable-versioning): Remove configure option.
18274         (libc_cv_asm_symver_directive): Remove configure test.
18275         (libc_cv_ld_version_script_option): Likewise.
18276         (VERSIONING): Remove variable and AC_SUBST.
18277         (DO_VERSIONING): Remove AC_DEFINE.
18278         * configure: Regenerated.
18279         * config.h.in (DO_VERSIONING): Remove macro.
18280         * Makerules [$(versioning) = yes]: Change conditionals to
18281         [$(build-shared) = yes].
18282         * config.make.in (versioning): Remove variable.
18283         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18284         [$(build-shared) = yes].
18285         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18286         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18287         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18288         [$(build-shared) = yes].
18289         * extra-lib.mk [$(versioning) = yes]: Likewise.
18290         * hurd/Makefile [$(versioning) = yes]: Likewise.
18291         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18292         [SHARED].
18293         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18294         [SHARED].
18295         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18296         [SHARED && !NO_HIDDEN].
18297         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18298         [SHARED].
18299         [SHARED && DO_VERSIONING]: Likewise..
18300         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18301         [$(build-shared) = yes].
18302         * manual/install.texi (--disable-versioning): Remove
18303         documentation.
18304         * INSTALL: Regenerated.
18305         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18306         to [SHARED].
18307         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18308         [$(build-shared) = yes].
18309         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18310         * sysdeps/i386/i686/multiarch/strstr-c.c
18311         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18312         [SHARED && !NO_HIDDEN].
18313         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18314         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18315         * sysdeps/powerpc/powerpc32/dl-machine.c
18316         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18317         * sysdeps/powerpc/powerpc32/sysdep.h
18318         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18319         to [SHARED && PIC && !NO_HIDDEN].
18320         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18321         conditional to [SHARED].
18322
18323 2013-09-04   Will Newton  <will.newton@linaro.org>
18324
18325         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18326         * benchtests/bench-string.h: Include bench-timing.h instead
18327         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18328         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18329         call to HP_TIMING_DIFF_INIT.
18330         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18331         instead of hp-timing.h macros.
18332         * benchtests/bench-memchr.c: Likewise.
18333         * benchtests/bench-memcmp.c: Likewise.
18334         * benchtests/bench-memcpy.c: Likewise.
18335         * benchtests/bench-memmem.c: Likewise.
18336         * benchtests/bench-memmove.c: Likewise.
18337         * benchtests/bench-memset.c: Likewise.
18338         * benchtests/bench-rawmemchr.c: Likewise.
18339         * benchtests/bench-strcasecmp.c: Likewise.
18340         * benchtests/bench-strcasestr.c: Likewise.
18341         * benchtests/bench-strcat.c: Likewise.
18342         * benchtests/bench-strchr.c: Likewise.
18343         * benchtests/bench-strcmp.c: Likewise.
18344         * benchtests/bench-strcpy.c: Likewise.
18345         * benchtests/bench-strcpy_chk.c: Likewise.
18346         * benchtests/bench-strlen.c: Likewise.
18347         * benchtests/bench-strncasecmp.c: Likewise.
18348         * benchtests/bench-strncat.c: Likewise.
18349         * benchtests/bench-strncmp.c: Likewise.
18350         * benchtests/bench-strncpy.c: Likewise.
18351         * benchtests/bench-strnlen.c: Likewise.
18352         * benchtests/bench-strpbrk.c: Likewise.
18353         * benchtests/bench-strrchr.c: Likewise.
18354         * benchtests/bench-strspn.c: Likewise.
18355         * benchtests/bench-strstr.c: Likewise.
18356
18357 2013-09-04  Will Newton  <will.newton@linaro.org>
18358
18359         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18360
18361 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18362
18363         [BZ #15427]
18364         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18365         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18366         * math/libm-test.inc (lgamma_test_data): Add more tests.
18367         * sysdeps/i386/fpu/libm-test-ulps: Update.
18368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18369
18370 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18371
18372         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18374         Add ifunc.
18375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18376         Add strcmp-sse2-unaligned
18377         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18378
18379 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18380
18381         * Versions.def (libc): Add GLIBC_2.19.
18382
18383 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18384
18385         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18386         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18387
18388 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18389
18390         [BZ #14155]
18391         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18392         intermediate calculations in recurrence.
18393         (__ieee754_ynf): Likewise.
18394         * math/libm-test.inc (jn_test_data): Do not allow spurious
18395         underflow exception.  Add more tests.
18396         (yn_test_data): Add more tests.
18397         * sysdeps/i386/fpu/libm-test-ulps: Update.
18398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18399
18400 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18401
18402         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18403
18404 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18405
18406         * csu/init-first.c: Fix then/than typos.
18407         * locale/programs/ld-collate.c: Likewise.
18408         * locale/programs/linereader.h: Likewise.
18409         * manual/charset.texi: Likewise.
18410         * manual/filesys.texi: Likewise.
18411         * manual/stdio.texi: Likewise.
18412         * manual/string.texi: Likewise.
18413         * stdlib/fmtmsg.c: Likewise.
18414         * sysdeps/i386/stpncpy.S: Likewise.
18415         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18416         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18417         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18418         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18419
18420 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18421
18422         * elf/dl-open.c: Fix typos.
18423         * iconvdata/gbbig5.c: Likewise.
18424         * iconvdata/iso-2022-jp.c: Likewise.
18425         * iconv/gconv_int.h: Likewise.
18426         * iconv/loop.c: Likewise.
18427         * nis/rpcsvc/nis.h: Likewise.
18428         * resolv/ns_name.c: Likewise.
18429         * stdio-common/vfscanf.c: Likewise.
18430         * streams/stropts.h: Likewise.
18431         * sunrpc/rpc_thread.c: Likewise.
18432         * sysdeps/i386/strpbrk.S: Likewise.
18433         * sysdeps/ieee754/k_standard.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18436         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18437         * sysdeps/mach/hurd/profil.c: Likewise.
18438         * sysdeps/s390/dl-procinfo.h: Likewise.
18439         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18440         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18441         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18442         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18443         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18444
18445 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18446
18447         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18449
18450 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18451
18452         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18453         aix specific files.
18454         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18456         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18457         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18458         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18459         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18460         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18461         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18462
18463 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18464             Roland McGrath  <roland@hack.frob.com>
18465
18466         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18467         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18468
18469 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18470
18471         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18472         __executable_start symbol instead of _start.
18473
18474 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18475
18476         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18477         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18478         Move macros to...
18479         * sysdeps/gnu/ldsodefs.h: ... this new file.
18480
18481         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18482         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18483         instead of ELFOSABI_LINUX.
18484
18485         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18486         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18487         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18488         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18489         Likewise.
18490         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18491         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18492         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18493         Likewise.
18494         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18495         (ibm_extended_long_double): Add ieee_nan member.
18496         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18497         (do_test): New function.
18498
18499         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18500         TEST_TRUNC.
18501         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18502         functions, renamed from truncdfsf_test, trunctfsf_test,
18503         trunctfdf_test.
18504         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18505         functions.
18506         (do_test): Run all these.
18507
18508 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18509
18510         * argp/argp-help.c: Fix typos.
18511         * argp/argp-parse.c: Likewise.
18512         * debug/backtracesyms.c: Likewise.
18513         * elf/elf.h: Likewise.
18514         * malloc/malloc.c: Likewise.
18515         * nis/nis_print.c: Likewise.
18516         * resolv/res_comp.c: Likewise.
18517         * stdlib/stdlib.h: Likewise.
18518         * sunrpc/clnt_tcp.c: Likewise.
18519         * sunrpc/clnt_udp.c: Likewise.
18520         * sunrpc/clnt_unix.c: Likewise.
18521         * sysdeps/unix/bsd/ptsname.c: Likewise.
18522         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18523         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18525         Likewise.
18526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18527         Likewise.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18529         Likewise.
18530         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18531
18532 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18533
18534         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18536
18537 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18538
18539         [BZ #15897]
18540         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18541         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18542         ($(objpfx)bug-dl-leaf): New rule.
18543         ($(objpfx)bug-dl-leaf.so): Likewise.
18544         ($(objpfx)bug-dl-leaf.out): Likewise.
18545         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18546         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18547         * dlfcn/bug-dl-leaf.c: New test.
18548         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18549         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18550         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18551         (dlclose): Likewise.
18552         (dlmopen): Likewise.
18553
18554 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18555
18556         * include/netdb.h [!_ISOMAC]:
18557         Don't include <tls.h>.
18558         (h_errno, __libc_h_errno): Move declaration and macros out of
18559         [_LIBC_REENTRANT].
18560
18561         * include/resolv.h [_RESOLV_H_]:
18562         Don't include <tls.h>.
18563         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18564         * resolv/res_libc.c: Don't include <tls.h>.
18565         (_res): Use __attribute__ ((nocommon)) in place of
18566         __attribute__ ((section (".bss"))).
18567
18568         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18569         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18570
18571         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18572
18573         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18574         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18575
18576         * resolv/res_mkquery.c: Include <sys/time.h>.
18577
18578         * inet/ifreq.c: Moved to ...
18579         * sysdeps/unix/ifreq.c: ... here.
18580         * inet/ifreq.c: New file, true stub version.
18581
18582         * socket/sa_len.c: New file.
18583         * socket/Makefile (aux): Add it.
18584         * sysdeps/unix/sysv/linux/Makefile
18585         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18586         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18587         and #include <socket/sa_len.c>.
18588         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18589         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18590
18591         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18592         * bits/socket.h: ... here.
18593
18594         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18595         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18596         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18597
18598 2013-08-27  Andreas Schwab  <schwab@suse.de>
18599
18600         [BZ #15736]
18601         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18602         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18603         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18604         * string/test-strcasecmp.c (test_main): Run tests in several
18605         locales.
18606         * string/test-strncasecmp.c (test_main): Likewise.
18607
18608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18609         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18610         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18612         (__strncasecmp_ssse3) [PIC]: Likewise.
18613
18614 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18615
18616         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18617
18618         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18619         instead of explicitly declaring xdecrypt.
18620         * nis/nss_nis/nis-publickey.c: Likewise.
18621
18622 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18623
18624         [BZ #15890]
18625         * nscd/aicache.c: Include res_hconf.h.
18626         (addhstaiX): Initialize res_hconf.
18627
18628 2013-08-26  Andreas Schwab  <schwab@suse.de>
18629
18630         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18631         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18632
18633 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634
18635         * nscd/aicache.c (addhstaiX): Fix indentation.
18636
18637 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18638
18639         * configure.ac: Quote $build_pt_chown test.
18640         * configure: Regenerated.
18641
18642 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18643
18644         [BZ #15532]
18645         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18646         * math/s_cexpf.c (__cexpf): Likewise.
18647         * math/s_cexpl.c (__cexpl): Likewise.
18648         * math/libm-test.inc (cexp_test_data): Correct expected return
18649         value for NaN + i0.  Add another test.
18650
18651 2013-08-22  David S. Miller  <davem@davemloft.net>
18652
18653         * po/ca.po: Update Catalan translation from translation project.
18654         * po/uk.po: Add Ukrainian translations from translation project.
18655
18656 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18657
18658         [BZ #15797]
18659         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18660         is infinite, not alongside NaN test.
18661         * math/s_fdimf.c (__fdimf): Likewise.
18662         * math/s_fdiml.c (__fdiml): Likewise.
18663         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18664         errno is unchanged.
18665
18666 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18667
18668         * argp/argp-help.c: Fix typos.
18669         * crypt/speeds.c: Likewise.
18670         * csu/check_fds.c: Likewise.
18671         * elf/dl-load.c: Likewise.
18672         * elf/dl-open.c: Likewise.
18673         * elf/reldep3.c: Likewise.
18674         * elf/reldep.c: Likewise.
18675         * elf/sprof.c: Likewise.
18676         * iconv/iconv_charmap.c: Likewise.
18677         * iconv/skeleton.c: Likewise.
18678         * iconv/strtab.c: Likewise.
18679         * io/lockf64.c: Likewise.
18680         * libio/libioP.h: Likewise.
18681         * resolv/gai_notify.c: Likewise.
18682         * resolv/ns_name.c: Likewise.
18683         * resolv/ns_samedomain.c: Likewise.
18684         * resolv/res_send.c: Likewise.
18685         * stdlib/random.c: Likewise.
18686         * sunrpc/rpc/xdr.h: Likewise.
18687         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18688         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18689         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18690         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18691         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18692         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18694         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18695         * sysdeps/mach/hurd/check_fds.c: Likewise.
18696         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18697         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18698         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18699         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18700         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18701         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18702         * sysdeps/pthread/aio_notify.c: Likewise.
18703         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18704         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18705         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18706         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18707         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18708
18709 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18710
18711         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18712         version if bit_Slow_SSE4_2 is set.
18713         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18714         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18715
18716 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18717
18718         [BZ #15867]
18719         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18720         trampoline stack frame information.
18721         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18722         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18723         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18724         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18725         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18726         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18727         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18728         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18729         sa_flags value.
18730         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18731         interrupting a syscall and set with option SA_SIGINFO.
18732
18733 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18734
18735         [BZ #15531]
18736         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18737         argument is infinite.
18738         * math/s_cprojf.c (__cprojf): Likewise.
18739         * math/s_cprojl.c (__cprojl): Likewise.
18740         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18741         * math/libm-test.inc (cproj_test_data): Add more tests.
18742
18743         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18744
18745         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18746         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18747         size.  Use __ffs to determine corresponding shift.
18748
18749 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18750             Roland McGrath  <roland@hack.frob.com>
18751
18752         * Makefile (INSTALL): Remove trailing blank lines from output of
18753         makeinfo.
18754
18755 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18756
18757         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18758         Align 32 bit compat elf_greg to 8 bytes.
18759
18760 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18761
18762         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18763
18764 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18765
18766         * string/strcoll_l.c (coll_seq): New structure.
18767         (get_next_seq_cached): New function.
18768         (get_next_seq): New function.
18769         (do_compare): New function.
18770         (STRCOLL): Use GNU style definition.  Simplify implementation
18771         by using get_next_seq, get_next_seq_cached and do_compare.
18772
18773 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18774
18775         [BZ #14699]
18776         CVE-2013-4237
18777         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18778         member.
18779         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18780         member.
18781         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18782         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18783         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18784         conditional.
18785         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18786         GETDENTS_64BIT_ALIGNED.
18787         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18788         * manual/filesys.texi (Reading/Closing Directory): Document
18789         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18790         strongly.
18791         * manual/conf.texi (Limits for Files): Add portability note to
18792         NAME_MAX, PATH_MAX.
18793         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18794
18795 2013-08-13  Andreas Schwab  <schwab@suse.de>
18796
18797         [BZ #15749]
18798         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18799         of fabs.
18800         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18801         LDBL_MAX_EXP >= 16384]: Add tests for it.
18802
18803 2013-08-12  David S. Miller  <davem@davemloft.net>
18804
18805         * version.h (RELEASE): Set to "development".
18806         (VERSION): Set to "2.18.90".
18807         * NEWS: Add 2.19 section.
18808
18809 2013-08-03  David S. Miller  <davem@davemloft.net>
18810
18811         * po/ko.po: Update Korean translation from translation project.
18812
18813 2013-08-01  David S. Miller  <davem@davemloft.net>
18814
18815         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18816         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18817         Bilka.
18818
18819 2013-07-30  David S. Miller  <davem@davemloft.net>
18820
18821         * po/fr.po: Update French translation from translation project.
18822
18823 2013-07-28  David S. Miller  <davem@davemloft.net>
18824
18825         * po/cs.po: Update Czech translation from translation project.
18826
18827         * po/sv.po: Update Swedish translation from translation project.
18828
18829 2013-07-27  David S. Miller  <davem@davemloft.net>
18830
18831         * po/eo.po: Update Esperanto translation from translation project.
18832
18833         * po/vi.po: Update Vietnamese translation from translation project.
18834
18835         * po/de.po: Update German translation from translation project.
18836
18837 2013-07-26  David S. Miller  <davem@davemloft.net>
18838
18839         * po/bg.po: Update Bulgarian translation from translation project.
18840
18841         * po/nl.po: Update Dutch translation from translation project.
18842         * po/pl.po: Update Polish translation from translation project.
18843         * po/ru.po: Update Russian translation from translation project.
18844
18845 2013-07-24  David S. Miller  <davem@davemloft.net>
18846
18847         * po/libc.pot: Update.
18848
18849 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18850
18851         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18852         variable page size.
18853         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18854         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18855         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18856
18857 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18858
18859         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18860
18861 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18862             Andreas Schwab  <schwab@suse.de>
18863             Roland McGrath  <roland@hack.frob.com>
18864             Joseph Myers  <joseph@codesourcery.com>
18865             Carlos O'Donell  <carlos@redhat.com>
18866
18867         [BZ #15755]
18868         * config.h.in: Define HAVE_PT_CHOWN.
18869         * config.make.in (build-pt-chown): New variable.
18870         * configure.in (--enable-pt_chown): New configure option.
18871         * configure: Regenerate.
18872         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18873         build-pt-chown is enabled.
18874         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18875         pt_chown to fix pty ownership.
18876         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18877         CLOSE_ALL_FDS.
18878         * manual/install.texi (Configuring and compiling): Mention
18879         --enable-pt_chown. Add @findex for grantpt.
18880         * INSTALL: Regenerate.
18881
18882 2013-07-20  David S. Miller  <davem@davemloft.net>
18883
18884         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18885         difference between 32-bit and 64-bit.
18886
18887 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18888
18889         [BZ #15711]
18890         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18891         Avoid system header dependency with -ffreestanding.
18892         ($(objpfx)bits/syscall%d): Likewise.
18893
18894 2013-07-13  David S. Miller  <davem@davemloft.net>
18895
18896         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18897         underflows from atanl/atan2l due to bug 15319.
18898         (casinh_test_data): Likewise.
18899
18900 2013-07-07  David S. Miller  <davem@davemloft.net>
18901
18902         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18903
18904 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18905
18906         * sysdeps/i386/fpu/libm-test-ulps: Update.
18907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18908
18909 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18910
18911         * configure.in (--enable-lock-elision): Fix message text.
18912         * INSTALL: Regenerate.
18913         * configure: Regenerate.
18914
18915 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18916
18917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18918
18919 2013-07-03  Andreas Jaeger  <aj@suse.de>
18920
18921         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18922         define.
18923         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18924         (ptrace_peeksiginfo_args): Add.
18925         (__ptrace_peeksiginfo_flags): Add.
18926         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18927         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18928         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18929
18930 2013-07-03  Allan McRae  <allan@archlinux.org>
18931
18932         * sysdeps/i386/fpu/libm-test-ulps: Update.
18933
18934 2013-07-02  David S. Miller  <davem@davemloft.net>
18935
18936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18937
18938 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18939
18940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18941
18942 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18943
18944         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18946
18947 2013-07-02  Andi Kleen <ak@linux.intel.com>
18948
18949         * config.h.in (ENABLE_LOCK_ELISION): Add.
18950         * configure.in (--enable-lock-elision): Add option.
18951         * manual/install.texi: Document --enable lock elision.
18952         * configure: Regenerate
18953         * INSTALL: Regenerate.
18954
18955 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18956
18957         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18958         SSE4.2 strcasecmp for libc.a.
18959         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18960
18961 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18962
18963         [BZ #13304]
18964         * soft-fp/op-common.h (_FP_FMA): New macro.
18965         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18966         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18967         (_FP_MUL_MEAT_1_imm): ... here.
18968         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18969         (_FP_MUL_MEAT_1_wide): ... here.
18970         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18971         (_FP_MUL_MEAT_1_hard): ... here.
18972         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18973         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18974         (_FP_MUL_MEAT_2_wide): ... here.
18975         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18976         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18977         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18978         (_FP_MUL_MEAT_2_gmp): ... here.
18979         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18980         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18981         (_FP_MUL_MEAT_4_wide): ... here.
18982         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18983         (_FP_MUL_MEAT_4_gmp): ... here.
18984         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18985         (_FP_WFRACBITS_DW_S): Likewise.
18986         (_FP_WFRACXBITS_DW_S): Likewise.
18987         (_FP_HIGHBIT_DW_S): Likewise.
18988         (FP_FMA_S): Likewise.
18989         (_FP_FRAC_HIGH_DW_S): Likewise.
18990         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18991         (_FP_WFRACBITS_DW_D): Likewise.
18992         (_FP_WFRACXBITS_DW_D): Likewise.
18993         (_FP_HIGHBIT_DW_D): Likewise.
18994         (FP_FMA_D): Likewise.
18995         (_FP_FRAC_HIGH_DW_D): Likewise.
18996         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18997         (_FP_WFRACBITS_DW_E): Likewise.
18998         (_FP_WFRACXBITS_DW_E): Likewise.
18999         (_FP_HIGHBIT_DW_E): Likewise.
19000         (FP_FMA_E): Likewise.
19001         (_FP_FRAC_HIGH_DW_E): Likewise.
19002         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19003         (_FP_WFRACBITS_DW_Q): Likewise.
19004         (_FP_WFRACXBITS_DW_Q): Likewise.
19005         (_FP_HIGHBIT_DW_Q): Likewise.
19006         (FP_FMA_Q): Likewise.
19007         (_FP_FRAC_HIGH_DW_Q): Likewise.
19008         * soft-fp/fmasf4.c: New file.
19009         * soft-fp/fmadf4.c: Likewise.
19010         * soft-fp/fmatf4.c: Likewise.
19011
19012 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19013
19014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19015         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19016         Silvermont.
19017         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19018         macro.
19019         (index_Slow_SSE4_2): Likewise.
19020         (index_Prefer_PMINUB_for_stringop): Likewise.
19021         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19022         bit_Slow_SSE4_2 is set.
19023         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19024         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19025
19026 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19027
19028         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19029         rtld_global._dl_hwcap2.
19030         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19031         POWER8.
19032         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19033         POWER8 feature descriptions defined in _dl_hwcap2.
19034         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19035         string handling for POWER8 feature bits.
19036         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19037         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19038         _dl_powerpc_cap_flags.
19039         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19040         * sysdeps/powerpc/rtld-global-offsets.sym
19041         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19042         _dl_hwcap2 in the rtld_global_ro structure.
19043
19044 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19045
19046         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19047         hardware capabilities in support of AT_HWCAP2.
19048         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19049         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19050         GLRO(dl_hwcap2).
19051         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19052         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19053         explicitly the unknown a_type display mechanism is used.
19054         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19055         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19056         struct member.
19057         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19058         to macro prototype for AT_HWCAP2 support.
19059         * sysdeps/i386/dl-procinfo.h: Likewise.
19060         * sysdeps/s390/dl-procinfo.h: Likewise.
19061         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19062         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19063         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19064         return -1 for unknown a_type display fallback.
19065         * sysdeps/sparc/dl-procinfo.h: Likewise.
19066         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19067         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19068
19069 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19070
19071         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19072         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19073
19074 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19075
19076         [BZ #12492]
19077         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19078         mprotect making __stack_prot writable.
19079
19080 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19081             Joseph Myers  <joseph@codesourcery.com>
19082
19083         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19084         as being properly aligned.
19085
19086 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19087
19088         * dlfcn/modstatic5.c: New file.
19089         * dlfcn/tststatic5.c: New file.
19090         * dlfcn/Makefile (tests): Add tststatic5.
19091         (tests-static): Likewise.
19092         (modules-names): Add modstatic5.
19093         (tststatic5-ENV): New variable.
19094         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19095
19096         [BZ #15022]
19097         * elf/dl-support.c (_dl_main_map): New variable.
19098         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19099         (_dl_nns, _dl_load_adds): Set to 1.
19100         (_dl_initial_searchlist): Refer to _dl_main_map.
19101         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19102         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19103         call to _dl_get_origin.
19104         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19105         around call_map.
19106         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19107         * dlfcn/modstatic3.c: New file.
19108         * dlfcn/tststatic3.c: New file.
19109         * dlfcn/tststatic4.c: New file.
19110         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19111         (tests-static): Likewise.
19112         (modules-names): Add modstatic3.
19113         (tststatic3-ENV, tststatic4-ENV): New variables.
19114         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19115         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19116
19117 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19118
19119         * configure.in (CC): Require GCC version 4.4 or later.
19120         * configure: Regenerated.
19121         * manual/install.texi (Tools for Compilation): Update GCC version
19122         requirement.
19123         * INSTALL: Regenerated.
19124
19125 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19126
19127         [BZ #15674]
19128         * string/test-memcmp.c (check2): New.
19129         (main): Call check2.
19130
19131         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19132
19133 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19134
19135         [BZ #15022]
19136         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19137         over to...
19138         (dl_open_worker) [!SHARED]: ... here.
19139
19140 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19141
19142         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19143
19144 2013-06-25  Richard Henderson  <rth@redhat.com>
19145
19146         * locale/programs/locarchive.c: Include <libc-internal.h>
19147
19148 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19149
19150         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19151         trailing whitespace removed.
19152
19153 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19154
19155         [BZ #10283]
19156         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19157         * locale/programs/locarchive.c: Include libc-mmap.h.
19158         (prepare_address_space): Take two new outputs (the mmap base and len).
19159         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19160         values.
19161         (create_archive): Declare new mmap base and len values for
19162         prepare_address_space, and store the result in ah.
19163         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19164         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19165         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19166         Declare new mmap base and len values for
19167         prepare_address_space, and store the result in new_ah.
19168         (open_archive): Declare new mmap base and len values for
19169         prepare_address_space, and store the result in ah.
19170         (close_archive): If ah->mmap_base is not NULL, use that and
19171         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19172         * sysdeps/generic/libc-mmap.h: New file.
19173
19174 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19175
19176         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19177         (ALIGN_UP): Likewise.
19178         (PTR_ALIGN_DOWN): Likewise.
19179         (PTR_ALIGN_UP): Likewise.
19180
19181 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19182
19183         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19184         entry mapped to PPC_PLATFORM_POWER8.
19185         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19186         POWER8.
19187         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19188         (_dl_string_platform): Add case for exporting platform position for
19189         POWER8.
19190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19191         search path to sysdeps/powerpc/powerpc32/power8 directory.
19192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19193         search path to sysdeps/powerpc/powerpc64/power8 directory.
19194         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19195         power7 directories.
19196         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19197         power7 directories.
19198
19199 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19200
19201         * INSTALL: Regenerate.
19202
19203         * nscd/connections.c (nscd_init): Fix comment.
19204
19205 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19206
19207         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19208
19209         [BZ #15667]
19210         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19211         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19212
19213 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19214
19215         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19216         DL_DST_REQ_STATIC.
19217         (DL_DST_REQ_STATIC): Remove macro.
19218
19219 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19220
19221         [BZ #7006]
19222         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19223         with a shift of 0 bits.
19224
19225 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19226
19227         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19228         $(tststatic-ENV).
19229
19230 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19231
19232         [BZ #15655]
19233         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19234
19235 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19236
19237         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19238         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19239         accepts -fno-tree-loop-distribute-patterns.
19240         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19241         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19242         recursive call.
19243         * string/memset.c (memset): Likewise.
19244         * string/test-memmove.c (simple_memmove): Disable loop transformation
19245         to library calls.
19246         * string/test-memset.c (simple_memset): Likewise.
19247         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19248         * benchtests/bench-memset.c (simple_memset): Likewise.
19249         * configure: Regenerated.
19250
19251 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19252
19253         * math/test-misc.c (main): Ignore fesetround failure when failures
19254         of subsequent rounding tests would be ignored.
19255
19256         [BZ #15654]
19257         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19258         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19259         * math/fegetenv.c (__fegetenv): Return 0.
19260         * math/fegetexcept.c (fegetexcept): Return 0.
19261         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19262         FE_TONEAREST.
19263         * math/feholdexcpt.c (feholdexcept): Return 0.
19264         * math/fesetenv.c (__fesetenv): Return 0.
19265         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19266         argument FE_TONEAREST.
19267         * math/feupdateenv.c (__feupdateenv): Return 0.
19268         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19269
19270 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19271
19272         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19273         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19274         ($(objpfx)rtld-%.os rules): Use them.
19275
19276 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19277
19278         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19279         fields.
19280
19281 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19282
19283         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19284         length of target pattern, then descending length of dependency pattern.
19285         * configure.in (AWK): Require gawk 3.1.2 or newer.
19286         * manual/install.texi (Tools for Compilation): Say that we do.
19287         * configure: Regenerated.
19288
19289         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19290         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19291         * scripts/sysd-rules.awk: ... this new script.
19292         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19293         than a glob-style pattern.
19294
19295 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19296
19297         * math/test-misc.c (main): Do not treat incorrectly rounded
19298         conversions as failure unless ROUNDING_TESTS passes.
19299
19300 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19301
19302         [BZ #15631]
19303         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19304         restore exception state around main square root computation, then
19305         check for inexactness explicitly.
19306
19307         * math/libm-test.inc (fma_test_data): Add another test.
19308
19309 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310
19311         * manual/threads.texi (Non-POSIX Extensions): New document
19312         node.  Document pthread_getattr_default_np and
19313         pthread_setattr_default_np.
19314
19315         * Versions.def (libpthread): Add GLIBC_2.18.
19316         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19318         Likewise.
19319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19320         Likewise.
19321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19322         Likewise.
19323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19324         Likewise.
19325         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19326         Likewise.
19327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19328         Likewise.
19329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19330         Likewise.
19331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19332         Likewise.
19333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19334         Likewise.
19335
19336 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19337
19338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19339         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19340
19341 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342             H.J. Lu  <hjl.tools@gmail.com>
19343
19344         [BZ #15627]
19345         * sysdeps/x86_64/rtld-memset.c: Remove file.
19346         * sysdeps/x86_64/rtld-memset.S: New file.
19347
19348 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19349
19350         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19351         (test_in_one_mode): Take arguments for whether the rounding mode
19352         is supported for each floating-point type.
19353         (do_test): Pass new arguments to test_in_one_mode using
19354         ROUNDING_TESTS.
19355
19356 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19357
19358         * posix/tst-waitid.c (do_test): Distinguish different instances of
19359         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19360         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19361         before entering the kernel for waitpid.
19362
19363 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19364
19365         * NEWS: Fix note on clock function precision.  Text by Roland
19366         McGrath.
19367
19368 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19369
19370         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19371         it into place only when and if the sanity check passes.
19372
19373 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19374
19375         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19376         output for whether conversion result is exact.  Take argument
19377         indicating whether type is IBM long double.
19378         (round_for_all): Change need_exact field to ibm_ld.
19379         * stdlib/tst-strtod-round.c (struct exactness): New type.
19380         (struct test): Change bool ld_ok field to struct exactness exact.
19381         (TEST): Update all definitions for change to field.
19382         (tests): Regenerate array contents.
19383         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19384         field value.  Check for IBM long double here.
19385         (do_test): Update calls to test_in_one_mode.
19386
19387 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19388
19389         [BZ #12515]
19390         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19391         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19392
19393 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19394
19395         [BZ #15605]
19396         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19397         generated by the compiler on loop optimizations.
19398         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19399         general definitions.
19400
19401 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19402
19403         * math/bug-nextafter.c: Include <math-tests.h>.
19404         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19405         the relevant type.
19406         * math/bug-nexttoward.c: Include <math-tests.h>.
19407         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19408         the relevant type.
19409         * math/test-misc.c: Include <math-tests.h>.
19410         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19411         the relevant type.
19412
19413 2013-06-12  Andreas Jaeger  <aj@suse.de>
19414
19415         * po/ia.po: Update Interlingua translation from translation
19416         project.
19417
19418 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19419
19420         * include/fenv.h: Include stdbool.h.
19421         (struct rm_ctx): New structure.
19422         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19423         Define macro.
19424         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19425         (SET_RESTORE_ROUNDF): Likewise.
19426         (SET_RESTORE_ROUNDL): Likewise.
19427         (SET_RESTORE_ROUND_NOEX): Likewise.
19428         (SET_RESTORE_ROUND_NOEXF): Likewise.
19429         (SET_RESTORE_ROUND_NOEXL): Likewise.
19430         (SET_RESTORE_ROUND_53BIT): Likewise.
19431         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19432         (libc_feresetround_noexf_ctx): Likewise.
19433         (libc_feresetround_noexl_ctx): Likewise.
19434         (libc_feholdsetround_53bit_ctx): Likewise.
19435         (libc_feresetround_53bit_ctx): Likewise.
19436         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19437         (libc_feholdexcept_setround_sse_ctx): New function.
19438         (libc_fesetenv_sse_ctx): Likewise.
19439         (libc_feupdateenv_sse_ctx): Likewise.
19440         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19441         (libc_feholdexcept_setround_387_ctx): Likewise.
19442         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19443         (libc_feholdsetround_387_prec_ctx): Likewise.
19444         (libc_feholdsetround_387_ctx): Likewise.
19445         (libc_feholdsetround_387_53bit_ctx): Likewise.
19446         (libc_feholdsetround_sse_ctx): Likewise.
19447         (libc_feresetround_sse_ctx): Likewise.
19448         (libc_feresetround_387_ctx): Likewise.
19449         (libc_feupdateenv_387_ctx): Likewise.
19450         (libc_feholdexcept_setroundf_ctx): Define macro.
19451         (libc_fesetenvf_ctx): Likewise.
19452         (libc_feupdateenvf_ctx): Likewise.
19453         (libc_feholdsetroundf_ctx): Likewise.
19454         (libc_feresetroundf_ctx): Likewise.
19455         (libc_feholdexcept_setround_ctx): Likewise.
19456         (libc_fesetenv_ctx): Likewise.
19457         (libc_feupdateenv_ctx): Likewise.
19458         (libc_feholdsetround_ctx): Likewise.
19459         (libc_feresetround_ctx): Likewise.
19460         (libc_feholdexcept_setroundl_ctx): Likewise.
19461         (libc_feupdateenvl_ctx): Likewise.
19462         (libc_feholdsetroundl_ctx): Likewise.
19463         (libc_feresetroundl_ctx): Likewise.
19464         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19465         (libc_feresetround_53bit_ctx): Likewise.
19466
19467 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19468
19469         * locale/iso-639.def: Convert to UTF-8.
19470
19471 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19472
19473         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19474         (EXCEPTION_TESTS_double): Likewise.
19475         (EXCEPTION_TESTS_long_double): Likewise.
19476         (EXCEPTION_TESTS): Likewise.
19477         * math/libm-test.inc (test_exceptions): Only test exceptions if
19478         EXCEPTION_TESTS (FLOAT).
19479
19480 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19481
19482         * benchtests/Makefile (string-bench): Add strcpy_chk and
19483         stpcpy_chk.
19484         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19485         * benchtests/bench-stpcpy_chk.c: New file.
19486         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19487         * benchtests/bench-strcpy_chk.c: New file.
19488         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19489         code.
19490         (do_test): Likewise.
19491
19492 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19493
19494         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19495         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19496         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19497         with tabs where appropriate.
19498         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19499         dl-procinfo.h.
19500         [PPC_PLATFORM_PPC440]: Likewise.
19501         [PPC_PLATFORM_PPC464]: Likewise.
19502         [PPC_PLATFORM_PPC476]: Likewise.
19503         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19504         ppc464, and ppc476 platform strings merging from ports/
19505         dl-procinfo.h.
19506
19507 2013-06-11  Andreas Schwab  <schwab@suse.de>
19508
19509         [BZ #14991]
19510         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19511         (from_ucs4_idx): Regenerate.
19512         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19513         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19514         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19515         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19516         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19517         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19518         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19519         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19520         from FROM_LOOP and TO_LOOP specific macros.
19521         (BODY): Handle combining characters.
19522         * iconvdata/BIG5HKSCS.irreversible: Update.
19523         * iconvdata/BIG5HKSCS.precomposed: New file.
19524         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19525         characters.
19526         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19527
19528 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19529
19530         * include/sys/time.h: Fix indentation and add copyright header.
19531
19532         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19533         (do_test): Likewise.
19534         * string/test-memchr.c (do_one_test): Likewise.
19535         (do_test): Likewise.
19536         * string/test-memcmp.c (do_one_test): Likewise.
19537         (do_test): Likewise.
19538         * string/test-memcpy.c (do_one_test): Likewise.
19539         (do_test): Likewise.
19540         * string/test-memmem.c (do_one_test): Likewise.
19541         (do_test): Likewise.
19542         (do_random_tests): Likewise.
19543         * string/test-memmove.c (do_one_test): Likewise.
19544         (do_test): Likewise.
19545         * string/test-memset.c (do_one_test): Likewise.
19546         (do_test): Likewise.
19547         * string/test-rawmemchr.c (do_one_test): Likewise.
19548         (do_test): Likewise.
19549         * string/test-strcasecmp.c (do_one_test): Likewise.
19550         (do_test): Likewise.
19551         * string/test-strcasestr.c (do_one_test): Likewise.
19552         (do_test): Likewise.
19553         * string/test-strcat.c (do_one_test): Likewise.
19554         (do_test): Likewise.
19555         * string/test-strchr.c (do_one_test): Likewise.
19556         (do_test): Likewise.
19557         * string/test-strcmp.c (do_one_test): Likewise.
19558         (do_test): Likewise.
19559         * string/test-strcpy.c (do_one_test): Likewise.
19560         (do_test): Likewise.
19561         * string/test-string.h: Likewise.
19562         (test_init): Likewise.
19563         * string/test-strlen.c (do_one_test): Likewise.
19564         (do_test): Likewise.
19565         * string/test-strncasecmp.c (do_one_test): Likewise.
19566         (do_test): Likewise.
19567         * string/test-strncat.c (do_one_test): Likewise.
19568         (do_test): Likewise.
19569         * string/test-strncmp.c (do_one_test): Likewise.
19570         (do_test_limit): Likewise.
19571         (do_test): Likewise.
19572         * string/test-strncpy.c (do_one_test): Likewise.
19573         (do_test): Likewise.
19574         * string/test-strnlen.c (do_one_test): Likewise.
19575         (do_test): Likewise.
19576         * string/test-strpbrk.c (do_one_test): Likewise.
19577         (do_test): Likewise.
19578         * string/test-strrchr.c (do_one_test): Likewise.
19579         (do_test): Likewise.
19580         * string/test-strspn.c (do_one_test): Likewise.
19581         (do_test): Likewise.
19582         * string/test-strstr.c (do_one_test): Likewise.
19583         (do_test): Likewise.
19584
19585         * benchtests/Makefile (string-bench): Add string benchmarks.
19586         * benchtests/bench-bcopy-ifunc.c: New file.
19587         * benchtests/bench-bcopy.c: New file.
19588         * benchtests/bench-bzero-ifunc.c: New file.
19589         * benchtests/bench-bzero.c: New file.
19590         * benchtests/bench-memccpy-ifunc.c: New file.
19591         * benchtests/bench-memccpy.c: New file.
19592         * benchtests/bench-memchr-ifunc.c: New file.
19593         * benchtests/bench-memchr.c: New file.
19594         * benchtests/bench-memcmp-ifunc.c: New file.
19595         * benchtests/bench-memcmp.c: New file.
19596         * benchtests/bench-memmem-ifunc.c: New file.
19597         * benchtests/bench-memmem.c: New file.
19598         * benchtests/bench-memmove-ifunc.c: New file.
19599         * benchtests/bench-memmove.c: New file.
19600         * benchtests/bench-mempcpy-ifunc.c: New file.
19601         * benchtests/bench-mempcpy.c: New file.
19602         * benchtests/bench-memset-ifunc.c: New file.
19603         * benchtests/bench-memset.c: New file.
19604         * benchtests/bench-rawmemchr-ifunc.c: New file.
19605         * benchtests/bench-rawmemchr.c: New file.
19606         * benchtests/bench-stpcpy-ifunc.c: New file.
19607         * benchtests/bench-stpcpy.c: New file.
19608         * benchtests/bench-stpncpy-ifunc.c: New file.
19609         * benchtests/bench-stpncpy.c: New file.
19610         * benchtests/bench-strcasecmp-ifunc.c: New file.
19611         * benchtests/bench-strcasecmp.c: New file.
19612         * benchtests/bench-strcasestr-ifunc.c: New file.
19613         * benchtests/bench-strcasestr.c: New file.
19614         * benchtests/bench-strcat-ifunc.c: New file.
19615         * benchtests/bench-strcat.c: New file.
19616         * benchtests/bench-strchr-ifunc.c: New file.
19617         * benchtests/bench-strchr.c: New file.
19618         * benchtests/bench-strchrnul-ifunc.c: New file.
19619         * benchtests/bench-strchrnul.c: New file.
19620         * benchtests/bench-strcmp-ifunc.c: New file.
19621         * benchtests/bench-strcmp.c: New file.
19622         * benchtests/bench-strcpy-ifunc.c: New file.
19623         * benchtests/bench-strcpy.c: New file.
19624         * benchtests/bench-strcspn-ifunc.c: New file.
19625         * benchtests/bench-strcspn.c: New file.
19626         * benchtests/bench-strlen-ifunc.c: New file.
19627         * benchtests/bench-strlen.c: New file.
19628         * benchtests/bench-strncasecmp-ifunc.c: New file.
19629         * benchtests/bench-strncasecmp.c: New file.
19630         * benchtests/bench-strncat-ifunc.c: New file.
19631         * benchtests/bench-strncat.c: New file.
19632         * benchtests/bench-strncmp-ifunc.c: New file.
19633         * benchtests/bench-strncmp.c: New file.
19634         * benchtests/bench-strncpy-ifunc.c: New file.
19635         * benchtests/bench-strncpy.c: New file.
19636         * benchtests/bench-strnlen-ifunc.c: New file.
19637         * benchtests/bench-strnlen.c: New file.
19638         * benchtests/bench-strpbrk-ifunc.c: New file.
19639         * benchtests/bench-strpbrk.c: New file.
19640         * benchtests/bench-strrchr-ifunc.c: New file.
19641         * benchtests/bench-strrchr.c: New file.
19642         * benchtests/bench-strspn-ifunc.c: New file.
19643         * benchtests/bench-strspn.c: New file.
19644         * benchtests/bench-strstr-ifunc.c: New file.
19645         * benchtests/bench-strstr.c: New file.
19646
19647         * benchtests/Makefile: Disable parallel execution of targets.
19648         (string-bench): Add memcpy.
19649         (benchset): New variable to store a list of benchmark sets.
19650         (bench-func): Renamed from bench.
19651         (bench-set): New target.
19652         (bench): Depend on bench-func and bench-set.
19653         * benchtests/README: Add section on benchmark sets.
19654         * benchtests/bench-memcpy-ifunc.c: New file.
19655         * benchtests/bench-memcpy.c: New file.
19656         * benchtests/bench-string.h: New file.
19657
19658 2013-06-11  Andreas Schwab  <schwab@suse.de>
19659
19660         [BZ #15577]
19661         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19662         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19663         values in the triple.
19664         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19665         terminator in the group key.
19666
19667 2013-06-11  Andreas Jaeger  <aj@suse.de>
19668
19669         * po/zh_TW.po: Update Chinese (traditional) translation from
19670         translation project.
19671
19672 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673
19674         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19675         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19676         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19677         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19678         (clock_getcpuclockid): Likewise.
19679         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19680         Add weak_alias and libc_hidden_def.
19681         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19682         * rt/clock_gettime.c (clock_gettime): Rename to
19683         __clock_gettime.  Add weak_alias and libc_hidden_def.
19684         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19685         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19686         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19687         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19688         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19689         Likewise.
19690         * rt/clock_settime.c (clock_settime): Rename to
19691         __clock_settime.  Add weak_alias and libc_hidden_def.
19692         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19693
19694 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19695
19696         * mach/err_boot.sub: Remove trailing whitespace.
19697         * mach/err_ipc.sub: Likewise.
19698         * mach/err_mach.sub: Likewise.
19699
19700         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19701         (ROUNDING_TESTS_double): Likewise.
19702         (ROUNDING_TESTS_long_double): Likewise.
19703         (ROUNDING_TESTS): Likewise.
19704         * math/libm-test.inc: Include <math-tests.h>.
19705         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19706         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19707         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19708         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19709
19710 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19711
19712         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19713         of assigning.
19714
19715 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19716
19717         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19718         otherwise empty TRANS lines.
19719         * sysdeps/gnu/errlist.c: Regenerated.
19720
19721         * catgets/gencat.c (error_print): Use (void) in function
19722         definition.
19723         * crypt/crypt_util.c (__init_des): Likewise.
19724         * crypt/speeds.c (Stop): Likewise.
19725         (main): Likewise.
19726         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19727         * inet/ruserpass.c (token): Likewise.
19728         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19729         * intl/localealias.c (extend_alias_table): Likewise.
19730         * intl/plural-exp.c (init_germanic_plural): Likewise.
19731         * libio/fcloseall.c (__fcloseall): Likewise.
19732         * libio/genops.c (_IO_flush_all): Likewise.
19733         (_IO_flush_all_linebuffered): Likewise.
19734         (_IO_cleanup): Likewise.
19735         (_IO_iter_begin): Likewise.
19736         (_IO_iter_end): Likewise.
19737         (_IO_list_lock): Likewise.
19738         (_IO_list_unlock): Likewise.
19739         (_IO_list_resetlock): Likewise.
19740         * libio/getchar.c (getchar): Likewise.
19741         * libio/getchar_u.c (getchar_unlocked): Likewise.
19742         * libio/getwchar.c (getwchar): Likewise.
19743         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19744         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19745         * login/getpt.c (__getpt): Likewise.
19746         * login/tst-utmp.c (main): Likewise.
19747         * malloc/hooks.c (__malloc_check_init): Likewise.
19748         * malloc/malloc.c (__malloc_stats): Likewise.
19749         * malloc/mtrace.c (tr_break): Likewise.
19750         (mtrace): Likewise.
19751         (muntrace): Likewise.
19752         * misc/fstab.c (endfsent): Likewise.
19753         * misc/getclktck.c (__getclktck): Likewise.
19754         * misc/getdtsz.c (__getdtablesize): Likewise.
19755         * misc/gethostid.c (gethostid): Likewise.
19756         * misc/getpagesize.c (__getpagesize): Likewise.
19757         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19758         (__get_nprocs): Likewise.
19759         (__get_phys_pages): Likewise.
19760         (__get_avphys_pages): Likewise.
19761         * misc/getttyent.c (getttyent): Likewise.
19762         (setttyent): Likewise.
19763         (endttyent): Likewise.
19764         * misc/getusershell.c (getusershell): Likewise.
19765         (endusershell): Likewise.
19766         (setusershell): Likewise.
19767         (initshells): Likewise.
19768         * misc/hsearch.c (__hdestroy): Likewise.
19769         * misc/sync.c (sync): Likewise.
19770         * misc/syslog.c (closelog_internal): Likewise.
19771         (closelog): Likewise.
19772         * misc/ttyslot.c (ttyslot): Likewise.
19773         * misc/vhangup.c (vhangup): Likewise.
19774         * posix/fork.c (__fork): Likewise.
19775         * posix/getegid.c (__getegid): Likewise.
19776         * posix/geteuid.c (__geteuid): Likewise.
19777         * posix/getgid.c (__getgid): Likewise.
19778         * posix/getpid.c (__getpid): Likewise.
19779         * posix/getppid.c (__getppid): Likewise.
19780         * posix/getuid.c (__getuid): Likewise.
19781         * posix/pause.c (pause): Likewise.
19782         * posix/setpgrp.c (setpgrp): Likewise.
19783         * posix/setsid.c (__setsid): Likewise.
19784         * posix/test-vfork.c (noop): Likewise.
19785         * resolv/gethnamaddr.c (_endhtent): Likewise.
19786         (_gethtent): Likewise.
19787         (ht_endhostent): Likewise.
19788         (gethostent): Likewise.
19789         (dns_service): Likewise.
19790         * stdlib/drand48.c (drand48): Likewise.
19791         * stdlib/lrand48.c (lrand48): Likewise.
19792         * stdlib/mrand48.c (mrand48): Likewise.
19793         * stdlib/rand.c (rand): Likewise.
19794         * stdlib/random.c (__random): Likewise.
19795         * stdlib/setenv.c (clearenv): Likewise.
19796         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19797         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19798         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19799         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19800         (__get_nprocs): Likewise.
19801         (__get_phys_pages): Likewise.
19802         (__get_avphys_pages): Likewise.
19803         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19804         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19805         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19806         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19807         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19808         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19809         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19810         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19811         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19812         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19813         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19814         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19815         * sysdeps/posix/clock.c (clock): Likewise.
19816         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19817         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19818         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19819         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19820         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19821         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19822         (__get_nprocs_conf): Likewise.
19823         (__get_phys_pages): Likewise.
19824         (__get_avphys_pages): Likewise.
19825         * time/clock.c (clock): Likewise.
19826         * time/tzset.c (__tzname_max): Likewise.
19827
19828 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19829
19830         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19831         (__bswap_32): Do not use "register".
19832         * crypt/crypt.c (_ufc_doit_r): Likewise.
19833         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19834         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19835         * gmon/gmon.c (__monstartup): Likewise.
19836         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19837         * hurd/hurdmalloc.c (more_memory): Likewise.
19838         (malloc): Likewise.
19839         (free): Likewise.
19840         (realloc): Likewise.
19841         (malloc_fork_prepare): Likewise.
19842         (malloc_fork_parent): Likewise.
19843         (malloc_fork_child): Likewise.
19844         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19845         (_svcauth_des): Likewise.
19846         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19847         * inet/inet_net.c (inet_network): Likewise.
19848         * inet/inet_netof.c (inet_netof): Likewise.
19849         * inet/rcmd.c (__validuser2_sa): Likewise.
19850         * io/fts.c (fts_open): Likewise.
19851         (fts_load): Likewise.
19852         (fts_close): Likewise.
19853         (fts_read): Likewise.
19854         (fts_children): Likewise.
19855         (fts_build): Likewise.
19856         (fts_stat): Likewise.
19857         (fts_sort): Likewise.
19858         (fts_alloc): Likewise.
19859         (fts_lfree): Likewise.
19860         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19861         (_IO_file_xsgetn): Likewise.
19862         (_IO_file_xsgetn_mmap): Likewise.
19863         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19864         (_IO_cookie_write): Likewise.
19865         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19866         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19867         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19868         * malloc/obstack.c (_obstack_begin): Likewise.
19869         (_obstack_begin_1): Likewise.
19870         (_obstack_newchunk): Likewise.
19871         (_obstack_allocated_p): Likewise.
19872         (obstack_free): Likewise.
19873         (_obstack_memory_used): Likewise.
19874         * misc/getttyent.c (getttynam): Likewise.
19875         (getttyent): Likewise.
19876         (skip): Likewise.
19877         (value): Likewise.
19878         * misc/getusershell.c (initshells): Likewise.
19879         * misc/syslog.c (__vsyslog_chk): Likewise.
19880         * misc/ttyslot.c (ttyslot): Likewise.
19881         * nis/nis_hash.c (__nis_hash): Likewise.
19882         * posix/fnmatch_loop.c (FCT): Likewise.
19883         * posix/getconf.c (print_all): Likewise.
19884         (main): Likewise.
19885         * posix/getopt.c (exchange): Likewise.
19886         * posix/glob.c (globfree): Likewise.
19887         (prefix_array): Likewise.
19888         (__glob_pattern_type): Likewise.
19889         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19890         (NS_GET32): Likewise.
19891         (NS_PUT16): Likewise.
19892         (NS_PUT32): Likewise.
19893         * resolv/gethnamaddr.c (getanswer): Likewise.
19894         (gethostbyname2): Likewise.
19895         (gethostbyaddr): Likewise.
19896         (_gethtent): Likewise.
19897         (_gethtbyname2): Likewise.
19898         (_gethtbyaddr): Likewise.
19899         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19900         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19901         * resolv/res_init.c (__res_vinit): Likewise.
19902         (net_mask): Likewise.
19903         * resolv/res_mkquery.c (outchar): Likewise.
19904         (PRINT): Likewise.
19905         * stdio-common/printf_fp.c (outchar): Likewise.
19906         (PRINT): Likewise.
19907         * stdio-common/printf_fphex.c (outchar): Likewise.
19908         (PRINT): Likewise.
19909         * stdio-common/printf_size.c (outchar): Likewise.
19910         (PRINT): Likewise.
19911         * stdio-common/test_rdwr.c (main): Likewise.
19912         * stdio-common/tfformat.c (matches): Likewise.
19913         * stdio-common/vfprintf.c (outchar): Likewise.
19914         (printf_unknown): Likewise.
19915         (buffered_vfprintf): Likewise.
19916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19917         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19918         (ReadFile): Likewise.
19919         * stdlib/qsort.c (SWAP): Likewise.
19920         (_quicksort): Likewise.
19921         * stdlib/setenv.c (__add_to_environ): Likewise.
19922         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19923         * stdlib/strtol_l.c (__strtol_l): Likewise.
19924         * stdlib/tst-strtod.c (main): Likewise.
19925         * stdlib/tst-strtol.c (main): Likewise.
19926         * stdlib/tst-strtoll.c (main): Likewise.
19927         * string/bits/string2.h (__strcmp_cc): Likewise.
19928         (__strcmp_cg): Likewise.
19929         (__strcspn_c1): Likewise.
19930         (__strcspn_c2): Likewise.
19931         (__strcspn_c3): Likewise.
19932         (__strspn_c1): Likewise.
19933         (__strspn_c2): Likewise.
19934         (__strspn_c3): Likewise.
19935         (__strsep_1c): Likewise.
19936         (__strsep_2c): Likewise.
19937         (__strsep_3c): Likewise.
19938         * string/memccpy.c (__memccpy): Likewise.
19939         * string/stpcpy.c (__stpcpy): Likewise.
19940         * string/strcmp.c (strcmp): Likewise.
19941         * string/strrchr.c (strrchr): Likewise.
19942         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19943         Likewise.
19944         * sysdeps/mach/hurd/getcwd.c
19945         (_hurd_canonicalize_directory_name_internal): Likewise.
19946         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19947         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19948         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19949         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19950         Likewise, in both definitions.
19951         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19952         definitions.
19953         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19954         64] (__bswap_64): Likewise.
19955         * time/test_time.c (main): Likewise.
19956         * time/tzfile.c (__tzfile_read): Likewise.
19957         (__tzfile_compute): Likewise.
19958         * time/tzset.c (__tzset_parse_tz): Likewise.
19959         (tzset_internal): Likewise.
19960         (compute_change): Likewise.
19961         * wcsmbs/wcscat.c (__wcscat): Likewise.
19962         * wcsmbs/wcschr.c (wcschr): Likewise.
19963         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19964         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19965         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19966         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19967         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19968         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19969         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19970         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19971         * wcsmbs/wmemset.c (wmemset): Likewise.
19972
19973 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19974
19975         * scripts/config.guess: Update to version 2013-05-16.
19976         * scripts/config.sub: Update to version 2013-04-24.
19977         * scripts/install-sh: Update to version 2011-11-20.07.
19978         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19979         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19980
19981 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19982
19983         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19984         * elf/sln.c: Likewise.
19985         * hurd/hurd/ioctl.h: Likewise.
19986         * hurd/hurdmalloc.c: Likewise.
19987         * hurd/xattr.c: Likewise.
19988         * include/shlib-compat.h: Likewise.
19989         * inet/ruserpass.c: Likewise.
19990         * libio/iofgets_u.c: Likewise.
19991         * libio/iofgetws_u.c: Likewise.
19992         * locale/programs/ld-identification.c: Likewise.
19993         * locale/programs/ld-time.c: Likewise.
19994         * mach/msg-destroy.c: Likewise.
19995         * nss/nss_files/files-netgrp.c: Likewise.
19996         * resolv/res_data.c: Likewise.
19997         * soft-fp/op-1.h: Likewise.
19998         * soft-fp/op-2.h: Likewise.
19999         * soft-fp/op-4.h: Likewise.
20000         * soft-fp/op-common.h: Likewise.
20001         * stdio-common/printf_fphex.c: Likewise.
20002         * stdlib/strtod_l.c: Likewise.
20003         * sunrpc/rpc/clnt.h: Likewise.
20004         * sysdeps/generic/framestate.c: Likewise.
20005         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20006         * sysdeps/i386/bsd-setjmp.S: Likewise.
20007         * sysdeps/i386/__longjmp.S: Likewise.
20008         * sysdeps/i386/setjmp.S: Likewise.
20009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20010         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20011         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20012         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20013         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20014         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20018         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20019         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20020         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20021         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20022         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20023         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20024         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20025         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20026         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20027         * sysdeps/ieee754/support.c: Likewise.
20028         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20029         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20030         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20031         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20032         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20033         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20034         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20035         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20036         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20037         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20038         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20039         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20040         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20041         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20042         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20043         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20044         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20046
20047 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20048
20049         * posix/transbug.c: Remove executable mode.
20050
20051 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20052
20053         * crypt/speeds.c: Remove trailing whitespace.
20054         * dlfcn/default.c: Likewise.
20055         * elf/ifuncdep2.c: Likewise.
20056         * elf/ifuncmain1.c: Likewise.
20057         * elf/ifuncmain1vis.c: Likewise.
20058         * elf/testobj.h: Likewise.
20059         * elf/tst-stackguard1.c: Likewise.
20060         * gmon/sys/gmon.h: Likewise.
20061         * hurd/hurdmsg.c: Likewise.
20062         * hurd/new-fd.c: Likewise.
20063         * hurd/ports-get.c: Likewise.
20064         * iconvdata/ibm1008_420.c: Likewise.
20065         * inet/tst-getni1.c: Likewise.
20066         * inet/tst-getni2.c: Likewise.
20067         * libio/ioungetc.c: Likewise.
20068         * libio/wfiledoalloc.c: Likewise.
20069         * manual/libm-err-tab.pl: Likewise.
20070         * math/w_dremf.c: Likewise.
20071         * misc/ftruncate.c: Likewise.
20072         * posix/bug-glob2.c: Likewise.
20073         * posix/tst-pcre.c: Likewise.
20074         * posix/wait4.c: Likewise.
20075         * resolv/README: Likewise.
20076         * resolv/res_debug.h: Likewise.
20077         * resolv/tst-inet_ntop.c: Likewise.
20078         * setjmp/bug269-setjmp.c: Likewise.
20079         * soft-fp/extended.h: Likewise.
20080         * soft-fp/op-1.h: Likewise.
20081         * soft-fp/op-2.h: Likewise.
20082         * soft-fp/op-4.h: Likewise.
20083         * soft-fp/op-8.h: Likewise.
20084         * soft-fp/testit.c: Likewise.
20085         * stdio-common/bug16.c: Likewise.
20086         * stdlib/random.c: Likewise.
20087         * sunrpc/rpcsvc/rquota.x: Likewise.
20088         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20089         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20091         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20092         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20093         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20094         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20095         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20096         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20097         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20098         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20099         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20100         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20101         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20102         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20103         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20104         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20106         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20107         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20108         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20109         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20110         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20111         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20112         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20113         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20114         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20116         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20117         * sysdeps/ieee754/s_lib_version.c: Likewise.
20118         * sysdeps/mach/hurd/check_fds.c: Likewise.
20119         * sysdeps/mach/hurd/getsockname.c: Likewise.
20120         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20121         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20122         * sysdeps/powerpc/bits/link.h: Likewise.
20123         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20124         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20125         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20126         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20127         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20128         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20129         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20130         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20131         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20132         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20133         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20134         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20135         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20137         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20138         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20141         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20142         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20143         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20144         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20145         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20146         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20147         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20148         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20149         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20150         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20151         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20152         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20153         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20154         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20156         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20157         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20158         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20159         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20160         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20161         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20162         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20163         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20164         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20165         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20166         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20167         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20168         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20169         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20170         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20171         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20172         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20173         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20174         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20175         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20176         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20177         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20178         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20179         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20180         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20181         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20182         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20183         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20184         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20185         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20186         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20187         * sysdeps/powerpc/sysdep.h: Likewise.
20188         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20189         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20190         * sysdeps/sh/dl-trampoline.S: Likewise.
20191         * sysdeps/sh/memset.S: Likewise.
20192         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20193         * sysdeps/sh/strlen.S: Likewise.
20194         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20195         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20196         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20197         * sysdeps/sparc/sparc32/rem.S: Likewise.
20198         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20199         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20200         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20201         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20202         * sysdeps/sparc/sparc32/urem.S: Likewise.
20203         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20204         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20205         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20206         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20207         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20208         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20209         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20210         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20211         * sysdeps/unix/bsd/times.c: Likewise.
20212         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20213         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20217         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20218         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20219         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20220         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20221         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20222         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20223         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20224         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20225         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20226         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20227         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20228         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20229         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20230         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20231         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20232         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20233         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20234         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20235         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20236         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20237         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20238         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20239         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20240         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20241         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20242         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20243         * sysdeps/x86_64/strcspn.S: Likewise.
20244
20245 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20246
20247         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20248         generated file.  Regenerate properly from gen-translit.pl.
20249         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20250         locale/C-translit.h.
20251
20252 2013-06-05  Andreas Schwab  <schwab@suse.de>
20253
20254         [BZ #15100]
20255         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20256         week as 6 instead of -1.
20257         * time/tst-strptime.c (day_tests): Add test case.
20258
20259 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20260
20261         * sysdeps/generic/math_private.h
20262         (libc_feholdexcept_setround_53bit): Replace with
20263         libc_feholdsetround_53bit.
20264         (libc_feupdateenv_53bit): Replace with
20265         libc_feresetround_53bit.
20266         (SET_RESTORE_ROUND_53BIT): Adjust.
20267
20268 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20269
20270         * string/test-strchrnul.c: Add copyright header.
20271
20272         * posix/tst-getaddrinfo4.c: Increase test timeout.
20273
20274 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20275
20276         [BZ #15536]
20277         * math/libm-test.inc (MAX_EXP): Remove
20278         (MIN_EXP): Define.
20279         (ulp): Use MIN_EXP - MANT_DIG.
20280         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20281
20282 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20283
20284         * po/be.po: Revert last change.
20285         * po/zh_CN.po: Likewise.
20286         * po/header.pot: Likewise.
20287
20288 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20289
20290         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20291         link-libc-deps to empty as target-specific variable.
20292         * Makerules (link-libc-args): New variable.
20293         (libc-for-link): Likewise.
20294         (link-libc-deps): Likewise.
20295         (lib%.so): Depend on $(link-libc-deps).  Link with
20296         $(link-libc-args).
20297         (build-module): Link with $(link-libc-args).
20298         (build-module-asneeded): Likewise.
20299         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20300         list of objects.
20301         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20302         target-specific variable.
20303         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20304         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20305         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20306         libc.
20307         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20308         libc and ld.so.
20309         ($(objpfx)libpcprofile.so): Likewise.
20310         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20311         libc_nonshared.a.
20312         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20313         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20314         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20315         $(link-libc-deps).
20316         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20317         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20318         * login/Makefile ($(objpfx)libutil.so): Likewise.
20319         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20320         * math/Makefile ($(objpfx)libm.so): Likewise.
20321         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20322         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20323         variable instead of depending directly on libc.
20324         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20325         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20326         $(link-libc-deps).
20327         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20328         libc.
20329         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20330         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20331         ($(objpfx)libanl.so): Likewise.
20332         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20333         ld.so.
20334         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20335         $(link-libc-deps).
20336         * sysdeps/i386/fpu/Makefile: Remove file.
20337         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20338         ($(objpfx)libm.so): Remove dependency on ld.so.
20339
20340 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20341
20342         [BZ # 15553]
20343         * nis/yp_xdr.c (XDRMAXNAME): Define.
20344         (XDRMAXRECORD): Define.
20345         (xdr_domainname): Use XDRMAXNAME.
20346         (xdr_mapname): Likewise.
20347         (xdr_peername): Likewise.
20348         (xdr_keydat): Use XDRMAXRECORD.
20349         (xdr_valdat): Likewise.
20350
20351 2013-05-30  Jeff Law  <law@redhat.com>
20352
20353         [BZ #14256]
20354         * manual/errno.texi (ESTALE): Update to account for more than
20355         just NFS file systems.
20356         * sysdeps/gnu/errlist.c: Regenerated.
20357
20358 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20359
20360         [BZ #15465]
20361         * elf/Makefile (tests): Add tst-null-argv.
20362         (modules-names):  Add tst-null-argv-lib.
20363         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20364         (tst-null-argv-ENV): Set environment for tst-null-argv.
20365         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20366         (RTLD_PROGNAME): New macro.
20367         * elf/tst-null-argv.c: New test case.
20368         * elf/tst-null-argv-lib.c: Library for test case.
20369         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20370         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20371         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20372         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20373         * elf/dl-init.c (call_init): Likewise.
20374         (_dl_init): Likewise.
20375         * elf/dl-load.c (print_search_path): Likewise.
20376         (_dl_map_object): Likewise.
20377         * elf/dl-lookup.c (do_lookup_x): Likewise.
20378         (add_dependency): Likewise.
20379         (_dl_lookup_symbol_x): Likewise.
20380         (_dl_debug_bindings): Likewise.
20381         * elf/dl-open.c (_dl_show_scope): Likewise.
20382         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20383         * elf/dl-version.c (match_symbol): Likewise.
20384         (_dl_check_map_versions): Likewise.
20385         * elf/rtld.c (dl_main): Likewise.
20386         (print_unresolved): Use RTLD_PROGNAME.
20387         (print_missing_version): Likewise.
20388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20389         (elf_machine_rela): Likewise.
20390         * sysdeps/powerpc/powerpc32/dl-machine.c
20391         (__process_machine_rela): Likewise.
20392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20393         Likewise.
20394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20395         Likewise.
20396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20397         Likewise.
20398         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20399         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20400         Likewise.
20401         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20402         Likewise.
20403         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20404
20405 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20406
20407         * po/be.po: Add descriptive title.
20408         * po/zh_CN.po: Likewise.
20409         * po/header.pot: Likewise.
20410
20411 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20412
20413         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20414         error message.
20415         (enlarge_archive): Likewise.
20416
20417 2013-05-28  Ben North  <ben@redfrontdoor.org>
20418
20419         * manual/arith.texi (frexp): It is the magnitude of the return
20420         value which lies in [0.5, 1), not the return value itself.
20421
20422 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20423
20424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20425
20426 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20427
20428         * stdio-common/bug26.c (main): Correct fscanf template.
20429
20430         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20431         declare _dl_skip_args.
20432
20433         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20434         Don't declare.
20435
20436         * manual/platform.texi: Add missing @end deftypefun.
20437
20438 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20439
20440         [BZ #15529]
20441         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20442         bit of mantissa of 2^16382.
20443         * math/libm-test.inc (hypot_test_data): Add more tests.
20444
20445         * math/libm-test.inc: Add drem and pow10 to list of tested
20446         functions.
20447         (pow10_test): New function.
20448         (drem_test): Likewise.
20449         (drem_test_tonearest): Likewise.
20450         (drem_test_towardzero): Likewise.
20451         (drem_test_downward): Likewise.
20452         (drem_test_upward): Likewise.
20453         (main): Call the new functions.
20454
20455         * math/libm-test.inc (finite_test_data): Remove.
20456         (finite_test): Run tests from isfinite_test_data.
20457         (gamma_test_data): Remove.
20458         (gamma_test): Run tests from lgamma_test_data.
20459         * sysdeps/i386/fpu/libm-test-ulps: Update.
20460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20461
20462 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20463
20464         * manual/platform.texi: Add PowerPC PPR function set documentation.
20465         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20466         implementation.
20467
20468 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20469
20470         * math/libm-test.inc (MAX_EXP): Define.
20471         (ULPDIFF): Define.
20472         (ulp): New function.
20473         (check_float_internal): Use ULPDIFF.
20474         (cpow_test): Disable failing test.
20475         (check_ulp): Test ulp() implemetnation.
20476         (main): Call check_ulp before starting tests.
20477
20478 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20479
20480         * math/gen-libm-test.pl (generate_testfile): Do not handle
20481         START_DATA and END_DATA.
20482         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20483         END_DATA.
20484         (acos_tonearest_test_data): Likewise.
20485         (acos_towardzero_test_data): Likewise.
20486         (acos_downward_test_data): Likewise.
20487         (acos_upward_test_data): Likewise.
20488         (acosh_test_data): Likewise.
20489         (asin_test_data): Likewise.
20490         (asin_tonearest_test_data): Likewise.
20491         (asin_towardzero_test_data): Likewise.
20492         (asin_downward_test_data): Likewise.
20493         (asin_upward_test_data): Likewise.
20494         (asinh_test_data): Likewise.
20495         (atan_test_data): Likewise.
20496         (atanh_test_data): Likewise.
20497         (atan2_test_data): Likewise.
20498         (cabs_test_data): Likewise.
20499         (cacos_test_data): Likewise.
20500         (cacosh_test_data): Likewise.
20501         (carg_test_data): Likewise.
20502         (casin_test_data): Likewise.
20503         (casinh_test_data): Likewise.
20504         (catan_test_data): Likewise.
20505         (catanh_test_data): Likewise.
20506         (cbrt_test_data): Likewise.
20507         (ccos_test_data): Likewise.
20508         (ccosh_test_data): Likewise.
20509         (ceil_test_data): Likewise.
20510         (cexp_test_data): Likewise.
20511         (cimag_test_data): Likewise.
20512         (clog_test_data): Likewise.
20513         (clog10_test_data): Likewise.
20514         (conj_test_data): Likewise.
20515         (copysign_test_data): Likewise.
20516         (cos_test_data): Likewise.
20517         (cos_tonearest_test_data): Likewise.
20518         (cos_towardzero_test_data): Likewise.
20519         (cos_downward_test_data): Likewise.
20520         (cos_upward_test_data): Likewise.
20521         (cosh_test_data): Likewise.
20522         (cosh_tonearest_test_data): Likewise.
20523         (cosh_towardzero_test_data): Likewise.
20524         (cosh_downward_test_data): Likewise.
20525         (cosh_upward_test_data): Likewise.
20526         (cpow_test_data): Likewise.
20527         (cproj_test_data): Likewise.
20528         (creal_test_data): Likewise.
20529         (csin_test_data): Likewise.
20530         (csinh_test_data): Likewise.
20531         (csqrt_test_data): Likewise.
20532         (ctan_test_data): Likewise.
20533         (ctan_tonearest_test_data): Likewise.
20534         (ctan_towardzero_test_data): Likewise.
20535         (ctan_downward_test_data): Likewise.
20536         (ctan_upward_test_data): Likewise.
20537         (ctanh_test_data): Likewise.
20538         (ctanh_tonearest_test_data): Likewise.
20539         (ctanh_towardzero_test_data): Likewise.
20540         (ctanh_downward_test_data): Likewise.
20541         (ctanh_upward_test_data): Likewise.
20542         (erf_test_data): Likewise.
20543         (erfc_test_data): Likewise.
20544         (exp_test_data): Likewise.
20545         (exp_tonearest_test_data): Likewise.
20546         (exp_towardzero_test_data): Likewise.
20547         (exp_downward_test_data): Likewise.
20548         (exp_upward_test_data): Likewise.
20549         (exp10_test_data): Likewise.
20550         (exp2_test_data): Likewise.
20551         (expm1_test_data): Likewise.
20552         (fabs_test_data): Likewise.
20553         (fdim_test_data): Likewise.
20554         (finite_test_data): Likewise.
20555         (floor_test_data): Likewise.
20556         (fma_test_data): Likewise.
20557         (fma_towardzero_test_data): Likewise.
20558         (fma_downward_test_data): Likewise.
20559         (fma_upward_test_data): Likewise.
20560         (fmax_test_data): Likewise.
20561         (fmin_test_data): Likewise.
20562         (fmod_test_data): Likewise.
20563         (fpclassify_test_data): Likewise.
20564         (frexp_test_data): Likewise.
20565         (gamma_test_data): Likewise.
20566         (hypot_test_data): Likewise.
20567         (ilogb_test_data): Likewise.
20568         (isfinite_test_data): Likewise.
20569         (isgreater_test_data): Likewise.
20570         (isgreaterequal_test_data): Likewise.
20571         (isinf_test_data): Likewise.
20572         (isless_test_data): Likewise.
20573         (islessequal_test_data): Likewise.
20574         (islessgreater_test_data): Likewise.
20575         (isnan_test_data): Likewise.
20576         (isnormal_test_data): Likewise.
20577         (issignaling_test_data): Likewise.
20578         (isunordered_test_data): Likewise.
20579         (j0_test_data): Likewise.
20580         (j1_test_data): Likewise.
20581         (jn_test_data): Likewise.
20582         (ldexp_test_data): Likewise.
20583         (lgamma_test_data): Likewise.
20584         (lrint_test_data): Likewise.
20585         (lrint_tonearest_test_data): Likewise.
20586         (lrint_towardzero_test_data): Likewise.
20587         (lrint_downward_test_data): Likewise.
20588         (lrint_upward_test_data): Likewise.
20589         (llrint_test_data): Likewise.
20590         (llrint_tonearest_test_data): Likewise.
20591         (llrint_towardzero_test_data): Likewise.
20592         (llrint_downward_test_data): Likewise.
20593         (llrint_upward_test_data): Likewise.
20594         (log_test_data): Likewise.
20595         (log10_test_data): Likewise.
20596         (log1p_test_data): Likewise.
20597         (log2_test_data): Likewise.
20598         (logb_test_data): Likewise.
20599         (logb_downward_test_data): Likewise.
20600         (lround_test_data): Likewise.
20601         (llround_test_data): Likewise.
20602         (modf_test_data): Likewise.
20603         (nearbyint_test_data): Likewise.
20604         (nextafter_test_data): Likewise.
20605         (nexttoward_test_data): Likewise.
20606         (pow_test_data): Likewise.
20607         (pow_tonearest_test_data): Likewise.
20608         (pow_towardzero_test_data): Likewise.
20609         (pow_downward_test_data): Likewise.
20610         (pow_upward_test_data): Likewise.
20611         (remainder_test_data): Likewise.
20612         (remainder_tonearest_test_data): Likewise.
20613         (remainder_towardzero_test_data): Likewise.
20614         (remainder_downward_test_data): Likewise.
20615         (remainder_upward_test_data): Likewise.
20616         (remquo_test_data): Likewise.
20617         (rint_test_data): Likewise.
20618         (rint_tonearest_test_data): Likewise.
20619         (rint_towardzero_test_data): Likewise.
20620         (rint_downward_test_data): Likewise.
20621         (rint_upward_test_data): Likewise.
20622         (round_test_data): Likewise.
20623         (scalb_test_data): Likewise.
20624         (scalbn_test_data): Likewise.
20625         (scalbln_test_data): Likewise.
20626         (signbit_test_data): Likewise.
20627         (sin_test_data): Likewise.
20628         (sin_tonearest_test_data): Likewise.
20629         (sin_towardzero_test_data): Likewise.
20630         (sin_downward_test_data): Likewise.
20631         (sin_upward_test_data): Likewise.
20632         (sincos_test_data): Likewise.
20633         (sinh_test_data): Likewise.
20634         (sinh_tonearest_test_data): Likewise.
20635         (sinh_towardzero_test_data): Likewise.
20636         (sinh_downward_test_data): Likewise.
20637         (sinh_upward_test_data): Likewise.
20638         (sqrt_test_data): Likewise.
20639         (tan_test_data): Likewise.
20640         (tan_tonearest_test_data): Likewise.
20641         (tan_towardzero_test_data): Likewise.
20642         (tan_downward_test_data): Likewise.
20643         (tan_upward_test_data): Likewise.
20644         (tanh_test_data): Likewise.
20645         (tgamma_test_data): Likewise.
20646         (trunc_test_data): Likewise.
20647         (y0_test_data): Likewise.
20648         (y1_test_data): Likewise.
20649         (yn_test_data): Likewise.
20650         (significand_test_data): Likewise.
20651
20652         * math/gen-libm-test.pl (@functions): Remove variable.
20653         (generate_testfile): Don't handle START and END lines.
20654         * math/libm-test.inc (START): New macro.
20655         (END): Likewise.
20656         (END_COMPLEX): Likewise.
20657         (acos_test): Use END macro without arguments.
20658         (acos_test_tonearest): Likewise.
20659         (acos_test_towardzero): Likewise.
20660         (acos_test_downward): Likewise.
20661         (acos_test_upward): Likewise.
20662         (acosh_test): Likewise.
20663         (asin_test): Likewise.
20664         (asin_test_tonearest): Likewise.
20665         (asin_test_towardzero): Likewise.
20666         (asin_test_downward): Likewise.
20667         (asin_test_upward): Likewise.
20668         (asinh_test): Likewise.
20669         (atan_test): Likewise.
20670         (atanh_test): Likewise.
20671         (atan2_test): Likewise.
20672         (cabs_test): Likewise.
20673         (cacos_test): Use END_COMPLEX macro without arguments.
20674         (cacosh_test): Likewise.
20675         (carg_test): Use END macro without arguments.
20676         (casin_test): Use END_COMPLEX macro without arguments.
20677         (casinh_test): Likewise.
20678         (catan_test): Likewise.
20679         (catanh_test): Likewise.
20680         (cbrt_test): Use END macro without arguments.
20681         (ccos_test): Use END_COMPLEX macro without arguments.
20682         (ccosh_test): Likewise.
20683         (ceil_test): Use END macro without arguments.
20684         (cexp_test): Use END_COMPLEX macro without arguments.
20685         (cimag_test): Use END macro without arguments.
20686         (clog_test): Use END_COMPLEX macro without arguments.
20687         (clog10_test): Likewise.
20688         (conj_test): Likewise.
20689         (copysign_test): Use END macro without arguments.
20690         (cos_test): Likewise.
20691         (cos_test_tonearest): Likewise.
20692         (cos_test_towardzero): Likewise.
20693         (cos_test_downward): Likewise.
20694         (cos_test_upward): Likewise.
20695         (cosh_test): Likewise.
20696         (cosh_test_tonearest): Likewise.
20697         (cosh_test_towardzero): Likewise.
20698         (cosh_test_downward): Likewise.
20699         (cosh_test_upward): Likewise.
20700         (cpow_test): Use END_COMPLEX macro without arguments.
20701         (cproj_test): Likewise.
20702         (creal_test): Use END macro without arguments.
20703         (csin_test): Use END_COMPLEX macro without arguments.
20704         (csinh_test): Likewise.
20705         (csqrt_test): Likewise.
20706         (ctan_test): Likewise.
20707         (ctan_test_tonearest): Likewise.
20708         (ctan_test_towardzero): Likewise.
20709         (ctan_test_downward): Likewise.
20710         (ctan_test_upward): Likewise.
20711         (ctanh_test): Likewise.
20712         (ctanh_test_tonearest): Likewise.
20713         (ctanh_test_towardzero): Likewise.
20714         (ctanh_test_downward): Likewise.
20715         (ctanh_test_upward): Likewise.
20716         (erf_test): Use END macro without arguments.
20717         (erfc_test): Likewise.
20718         (exp_test): Likewise.
20719         (exp_test_tonearest): Likewise.
20720         (exp_test_towardzero): Likewise.
20721         (exp_test_downward): Likewise.
20722         (exp_test_upward): Likewise.
20723         (exp10_test): Likewise.
20724         (exp2_test): Likewise.
20725         (expm1_test): Likewise.
20726         (fabs_test): Likewise.
20727         (fdim_test): Likewise.
20728         (finite_test): Likewise.
20729         (floor_test): Likewise.
20730         (fma_test): Likewise.
20731         (fma_test_towardzero): Likewise.
20732         (fma_test_downward): Likewise.
20733         (fma_test_upward): Likewise.
20734         (fmax_test): Likewise.
20735         (fmin_test): Likewise.
20736         (fmod_test): Likewise.
20737         (fpclassify_test): Likewise.
20738         (frexp_test): Likewise.
20739         (gamma_test): Likewise.
20740         (hypot_test): Likewise.
20741         (ilogb_test): Likewise.
20742         (isfinite_test): Likewise.
20743         (isgreater_test): Likewise.
20744         (isgreaterequal_test): Likewise.
20745         (isinf_test): Likewise.
20746         (isless_test): Likewise.
20747         (islessequal_test): Likewise.
20748         (islessgreater_test): Likewise.
20749         (isnan_test): Likewise.
20750         (isnormal_test): Likewise.
20751         (issignaling_test): Likewise.
20752         (isunordered_test): Likewise.
20753         (j0_test): Likewise.
20754         (j1_test): Likewise.
20755         (jn_test): Likewise.
20756         (ldexp_test): Likewise.
20757         (lgamma_test): Likewise.
20758         (lrint_test): Likewise.
20759         (lrint_test_tonearest): Likewise.
20760         (lrint_test_towardzero): Likewise.
20761         (lrint_test_downward): Likewise.
20762         (lrint_test_upward): Likewise.
20763         (llrint_test): Likewise.
20764         (llrint_test_tonearest): Likewise.
20765         (llrint_test_towardzero): Likewise.
20766         (llrint_test_downward): Likewise.
20767         (llrint_test_upward): Likewise.
20768         (log_test): Likewise.
20769         (log10_test): Likewise.
20770         (log1p_test): Likewise.
20771         (log2_test): Likewise.
20772         (logb_test): Likewise.
20773         (logb_test_downward): Likewise.
20774         (lround_test): Likewise.
20775         (llround_test): Likewise.
20776         (modf_test): Likewise.
20777         (nearbyint_test): Likewise.
20778         (nextafter_test): Likewise.
20779         (nexttoward_test): Likewise.
20780         (pow_test): Likewise.
20781         (pow_test_tonearest): Likewise.
20782         (pow_test_towardzero): Likewise.
20783         (pow_test_downward): Likewise.
20784         (pow_test_upward): Likewise.
20785         (remainder_test): Likewise.
20786         (remainder_test_tonearest): Likewise.
20787         (remainder_test_towardzero): Likewise.
20788         (remainder_test_downward): Likewise.
20789         (remainder_test_upward): Likewise.
20790         (remquo_test): Likewise.
20791         (rint_test): Likewise.
20792         (rint_test_tonearest): Likewise.
20793         (rint_test_towardzero): Likewise.
20794         (rint_test_downward): Likewise.
20795         (rint_test_upward): Likewise.
20796         (round_test): Likewise.
20797         (scalb_test): Likewise.
20798         (scalbn_test): Likewise.
20799         (scalbln_test): Likewise.
20800         (signbit_test): Likewise.
20801         (sin_test): Likewise.
20802         (sin_test_tonearest): Likewise.
20803         (sin_test_towardzero): Likewise.
20804         (sin_test_downward): Likewise.
20805         (sin_test_upward): Likewise.
20806         (sincos_test): Likewise.
20807         (sinh_test): Likewise.
20808         (sinh_test_tonearest): Likewise.
20809         (sinh_test_towardzero): Likewise.
20810         (sinh_test_downward): Likewise.
20811         (sinh_test_upward): Likewise.
20812         (sqrt_test): Likewise.
20813         (tan_test): Likewise.
20814         (tan_test_tonearest): Likewise.
20815         (tan_test_towardzero): Likewise.
20816         (tan_test_downward): Likewise.
20817         (tan_test_upward): Likewise.
20818         (tanh_test): Likewise.
20819         (tgamma_test): Likewise.
20820         (trunc_test): Likewise.
20821         (y0_test): Likewise.
20822         (y1_test): Likewise.
20823         (yn_test): Likewise.
20824         (significand_test): Likewise.
20825
20826 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20827
20828         [BZ #15381]
20829         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20830
20831 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20832
20833         [BZ #14894]
20834         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20835         __ppc_mdoio and __ppc_mdoom.
20836         * manual/platform.texi: Document new functions __ppc_yield,
20837         __ppc_mdoio and __ppc_mdoom.
20838
20839 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20840
20841         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20842         (main): Mention "tls" pseudo-hwcap is legacy.
20843         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20844
20845 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20846
20847         * math/gen-libm-test.pl (parse_args): Output only string of
20848         arguments as text for test name, not full call or descriptions of
20849         tests for extra outputs.
20850         (generate_testfile): Do not pass function name to parse_args.
20851         Generate this_func variable from START.
20852         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20853         field to arg_str.
20854         (struct test_ff_f_data): Likewise.
20855         (test_ff_f_data_nexttoward): Likewise.
20856         (struct test_fi_f_data): Likewise.
20857         (struct test_fl_f_data): Likewise.
20858         (struct test_if_f_data): Likewise.
20859         (struct test_fff_f_data): Likewise.
20860         (struct test_c_f_data): Likewise.
20861         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20862         (struct test_fF_f1_data): Likewise.
20863         (struct test_ffI_f1_data): Likewise.
20864         (struct test_c_c_data): Rename test_name field to arg_str.
20865         (struct test_cc_c_data): Likewise.
20866         (struct test_f_i_data): Likewise.
20867         (struct test_ff_i_data): Likewise.
20868         (struct test_f_l_data): Likewise.
20869         (struct test_f_L_data): Likewise.
20870         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20871         and extra2_name.
20872         (COMMON_TEST_SETUP): New macro.
20873         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20874         (COMMON_TEST_CLEANUP): Likewise.
20875         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20876         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20877         macros.
20878         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20879         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20880         macros.
20881         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20882         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20883         cleanup macros.
20884         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20885         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20886         macros.
20887         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20888         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20889         macros.
20890         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20891         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20892         cleanup macros.
20893         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20894         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20895         cleanup macros.
20896         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20897         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20898         cleanup macros.
20899         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20900         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20901         macros.
20902         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20903         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20904         macros.
20905         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20906         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20907         macros.
20908         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20909         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20910         cleanup macros.
20911         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20912         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20913         cleanup macros.
20914         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20915         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20916         macros.
20917         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20918         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20919         cleanup macros.
20920         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20921         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20922         macros.
20923         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20924         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20925         macros.
20926         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20927         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20928         cleanup macros.
20929         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20930
20931 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20932
20933         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20934         to _sifields.sigfault.
20935         (si_addr_lsb): Define new macro.
20936         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20938         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20939
20940 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20941
20942         [BZ #15441]
20943         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20944         returns -1.
20945         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20946         null return -1.
20947         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20948         loading the domain.
20949
20950 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20951
20952         * math/gen-libm-test.pl (parse_args): Do not include expected
20953         result in test name.
20954         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20955         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20956         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20957         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20958         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960
20961 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962
20963         * benchtests/Makefile: Sort function entries.
20964
20965         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20966         tanh, asinh, acosh, atanh.
20967         * benchtests/acos-inputs: New file.
20968         * benchtests/acosh-inputs: New file.
20969         * benchtests/asin-inputs: New file.
20970         * benchtests/asinh-inputs: New file.
20971         * benchtests/atanh-inputs: New file.
20972         * benchtests/cosh-inputs: New file.
20973         * benchtests/log-inputs: New file.
20974         * benchtests/sinh-inputs: New file.
20975         * benchtests/tanh-inputs: New file.
20976
20977 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20978
20979         [BZ #15339]
20980         * posix/tst-getaddrinfo4.c: New test.
20981         * posix/Makefile (tests): Add it.
20982
20983 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20984
20985         [BZ #15339]
20986         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20987         when no services were used.
20988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20989         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20990
20991 2013-05-21  Andreas Schwab  <schwab@suse.de>
20992
20993         [BZ #15014]
20994         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20995         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20996         successful.
20997         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20998         redundant variable declarations and reallocation of buffer when
20999         parsing as IPv6 address.  Always set NSS status when called from
21000         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21001         buffer too small.  Correct computation of needed size.
21002         * nss/Makefile (tests): Add test-digits-dots.
21003         * nss/test-digits-dots.c: New test.
21004
21005 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21006
21007         * benchtests/Makefile: Remove instructions for adding
21008         benchmark tests.
21009         * benchtests/README: New file to explain how to execute and
21010         enhance the benchmark tests.
21011
21012 2013-05-21  Andreas Schwab  <schwab@suse.de>
21013
21014         [BZ #15493]
21015         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21016         * setjmp/tst-sigsetjmp.c: New test.
21017
21018 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21019
21020         * sysdeps/x86_64/memset.S (memset): New implementation.
21021         (__bzero): Likewise.
21022         (__memset_tail): New function.
21023
21024 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21025
21026         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21027         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21028         __memcpy_sse2_unaligned ifunc selection.
21029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21030         Add memcpy-sse2-unaligned.S.
21031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21032         Add: __memcpy_sse2_unaligned.
21033
21034 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21035
21036         [BZ #15490]
21037         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21038         math_force_eval before restoring floating-point envrionment.
21039         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21040         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21041         Likewise.
21042         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21043         <math_private.h>.
21044         (__nearbyintl): Use math_force_eval before restoring
21045         floating-point environment.
21046         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21047
21048         * math/gen-libm-test.pl (special_functions): Remove.
21049         (parse_args): Don't handle TEST_extra.  Handle functions with no
21050         return value.
21051         * math/libm-test.inc (struct test_sincos_data): Replace with
21052         struct test_fFF_11_data.
21053         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21054         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21055         (sincos_test_data): Change element type to struct
21056         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21057         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21058         RUN_TEST_LOOP_sincos.
21059         * math/README.libm-test: Don't mention special handling of
21060         individual functions.
21061         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21062         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21063         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21064         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21065         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21067
21068         * math/gen-libm-test.pl (get_variable): Remove function.
21069         (parse_args): Don't show pointer parameters to call in test
21070         names.  Use "extra output N" in test names for extra outputs
21071         rather than naming variables.
21072
21073 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21074
21075         [BZ #15488]
21076         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21077         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21078         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21079         double tests.
21080         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21081         disable.
21082         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21083         check_long_double.
21084
21085         * math/gen-libm-test.pl (@tests): Remove variable.
21086         ($count): Likewise.
21087         (new_test): Remove function.
21088         (show_exceptions): New function.
21089         (special_functions): Use show_exceptions instead of new_test.
21090         (parse_args): Likewise.
21091         (generate_testfile): Pass only function name in generated call to
21092         print_max_error or print_complex_max_error.
21093         (get_ulps): Do not handle complex tests specially.
21094         (output_test): Rename to ...
21095         (get_all_ulps_for_test): ... this.  Return a string rather than
21096         printing to a file.  Require ulps to be present.
21097         (output_ulps): Generate arrays rather than #defines.
21098         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21099         (struct ulp_data): New type.
21100         (BUILD_COMPLEX_ULP): Remove macro.
21101         (compare_ulp_data): New function.
21102         (find_ulps): Likewise.
21103         (find_test_ulps): Likewise.
21104         (find_function_ulps): Likewise.
21105         (find_complex_function_ulps): Likewise.
21106         (print_max_error): Determine allowed ulps using
21107         find_function_ulps.
21108         (print_complex_max_error): Determine allowed ulps using
21109         find_complex_function_ulps.
21110         (check_float_internal): Determine max ulps using find_test_ulps.
21111         (check_float): Do not take max_ulp parameter.  Update call to
21112         check_float_internal.
21113         (check_complex): Likewise.
21114         (check_int): Do not take max_ulp parameter.
21115         (check_long): Likewise.
21116         (check_bool): Likewise.
21117         (check_longlong): Likewise.
21118         (struct test_f_f_data): Remove max_ulp field.
21119         (struct test_ff_f_data): Likewise.
21120         (struct test_ff_f_data_nexttoward): Likewise.
21121         (struct test_fi_f_data): Likewise.
21122         (struct test_fl_f_data): Likewise.
21123         (struct test_if_f_data): Likewise.
21124         (struct test_fff_f_data): Likewise.
21125         (struct test_c_f_data): Likewise.
21126         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21127         (struct test_fF_f1_data): Likewise.
21128         (struct test_ffI_f1_data): Likewise.
21129         (struct test_c_c_data): Remove max_ulp field.
21130         (struct test_cc_c_data): Likewise.
21131         (struct test_f_i_data): Likewise.
21132         (struct test_ff_i_data): Likewise.
21133         (struct test_f_l_data): Likewise.
21134         (struct test_f_L_data): Likewise.
21135         (struct test_sincos_data): Likewise.
21136         (RUN_TEST_f_f): Do not handle ulps.
21137         (RUN_TEST_LOOP_f_f): Likewise.
21138         (RUN_TEST_2_f): Likewise.
21139         (RUN_TEST_LOOP_2_f): Likewise.
21140         (RUN_TEST_fff_f): Likewise.
21141         (RUN_TEST_LOOP_fff_f): Likewise.
21142         (RUN_TEST_c_f): Likewise.
21143         (RUN_TEST_LOOP_c_f): Likewise.
21144         (RUN_TEST_f_f1): Likewise.
21145         (RUN_TEST_LOOP_f_f1): Likewise.
21146         (RUN_TEST_fF_f1): Likewise.
21147         (RUN_TEST_LOOP_fF_f1): Likewise.
21148         (RUN_TEST_fI_f1): Likewise.
21149         (RUN_TEST_LOOP_fI_f1): Likewise.
21150         (RUN_TEST_ffI_f1): Likewise.
21151         (RUN_TEST_LOOP_ffI_f1): Likewise.
21152         (RUN_TEST_c_c): Likewise.
21153         (RUN_TEST_LOOP_c_c): Likewise.
21154         (RUN_TEST_cc_c): Likewise.
21155         (RUN_TEST_LOOP_cc_c): Likewise.
21156         (RUN_TEST_f_i): Likewise.
21157         (RUN_TEST_LOOP_f_i): Likewise.
21158         (RUN_TEST_f_i_tg): Likewise.
21159         (RUN_TEST_LOOP_f_i_tg): Likewise.
21160         (RUN_TEST_ff_i_tg): Likewise.
21161         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21162         (RUN_TEST_f_b): Likewise.
21163         (RUN_TEST_LOOP_f_b): Likewise.
21164         (RUN_TEST_f_b_tg): Likewise.
21165         (RUN_TEST_LOOP_f_b_tg): Likewise.
21166         (RUN_TEST_f_l): Likewise.
21167         (RUN_TEST_LOOP_f_l): Likewise.
21168         (RUN_TEST_f_L): Likewise.
21169         (RUN_TEST_LOOP_f_L): Likewise.
21170         (RUN_TEST_sincos): Likewise.
21171         (RUN_TEST_LOOP_sincos): Likewise.
21172
21173 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21174
21175         [BZ #15480]
21176         [BZ #15485]
21177         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21178         main case of finite arguments, set rounding mode to FE_TONEAREST
21179         and discard exceptions.
21180         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21181         exceptions.
21182         (remainder_tonearest_test_data): New variable.
21183         (remainder_test_tonearest): New function.
21184         (remainder_towardzero_test_data): New variable.
21185         (remainder_test_towardzero): New function.
21186         (remainder_downward_test_data): New variable.
21187         (remainder_test_downward): New function.
21188         (remainder_upward_test_data): New variable.
21189         (remainder_test_upward): New function.
21190         (main): Call the new test functions.
21191
21192         * math/libm-test.inc (struct test_f_f1_data): Remove field
21193         extra_init.
21194         (struct test_fF_f1_data): Likewise.
21195         (struct test_ffI_f1_data): Likewise.
21196         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21197         based on value of EXTRA_EXPECTED.
21198         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21199         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21200         EXTRA_VAR based on value of EXTRA_EXPECTED.
21201         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21202         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21203         EXTRA_VAR based on value of EXTRA_EXPECTED.
21204         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21205         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21206         EXTRA_VAR based on value of EXTRA_EXPECTED.
21207         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21208         * math/gen-libm-test.pl (parse_args): Don't output initializers
21209         for extra output values.
21210
21211         * math/libm-test.inc (check_int): Expect result to be exactly
21212         equal to expected value and do not handle ulps.
21213         (check_long): Likewise.
21214         (check_longlong): Likewise.
21215
21216         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21217         exceptions.
21218         (cimag_test_data): Likewise.
21219         (conj_test_data): Likewise.
21220         (copysign_test_data): Likewise.
21221         (cproj_test_data): Likewise.
21222         (creal_test_data): Likewise.
21223         (fabs_test_data): Likewise.
21224         (fdim_test_data): Likewise.
21225         (finite_test_data): Likewise.
21226         (floor_test_data): Likewise.
21227         (fmax_test_data): Likewise.
21228         (fmin_test_data): Likewise.
21229         (fmod_test_data): Likewise.
21230         (fpclassify_test_data): Likewise.
21231         (frexp_test_data): Likewise.
21232         (ilogb_test_data): Likewise.
21233         (isfinite_test_data): Likewise.
21234         (isgreater_test_data): Likewise.
21235         (isgreaterequal_test_data): Likewise.
21236         (isinf_test_data): Likewise.
21237         (isless_test_data): Likewise.
21238         (islessequal_test_data): Likewise.
21239         (islessgreater_test_data): Likewise.
21240         (isnan_test_data): Likewise.
21241         (isnormal_test_data): Likewise.
21242         (issignaling_test_data): Likewise.
21243         (isunordered_test_data): Likewise.
21244         (ldexp_test_data): Likewise.
21245         (lrint_test_data): Likewise.
21246         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21247         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21248         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21249         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21250         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21251         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21252         test input.
21253         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21254         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21255         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21256         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21257         that test input.
21258         (lrint_downward_test_data): Test for "inexact" exceptions.
21259         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21260         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21261         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21262         test input.
21263         (lrint_upward_test_data): Test for "inexact" exceptions.
21264         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21265         test input.
21266         (llrint_test_data): Test for "inexact" exceptions.
21267         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21268         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21269         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21270         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21271         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21272         (llrint_downward_test_data): Test for "inexact" exceptions.
21273         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21274         (llrint_upward_test_data): Test for "inexact" exceptions.
21275         (logb_test_data): Likewise.
21276         (logb_downward_test_data): Likewise.
21277         (nextafter_test_data): Likewise.
21278         (nexttoward_test_data): Likewise.
21279         (remainder_test_data): Likewise.
21280         (remquo_test_data): Likewise.
21281         (scalbn_test_data): Likewise.
21282         (scalbln_test_data): Likewise.
21283         (signbit_test_data): Likewise.
21284         (sqrt_test_data): Likewise.
21285         (significand_test_data): Likewise.
21286
21287 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21288
21289         [BZ #15424]
21290         * benchtests/bench-modf.c (struct args): Mark arg0 as
21291         volatile.
21292         * scripts/bench.pl: Mark members of struct args as volatile.
21293
21294 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21295
21296         [BZ # 15497]
21297         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21298         negative infinity on POWER6 or lower.
21299         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21300
21301 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21302
21303         [BZ #15442]
21304         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21305         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21306         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21307         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21308         (_FP_SETQNAN): New macro.
21309         (_FP_SETQNAN_SEMIRAW): Likewise.
21310         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21311         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21312         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21313         (FP_EXTEND): Use _FP_FRAC_SNANP.
21314         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21315         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21316         into account.
21317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21318         New macro.
21319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21320         Likewise.
21321
21322 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21323
21324         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21325         with DIVIDE_BY_ZERO_EXCEPTION.
21326         (gamma_test_data): Likewise.
21327         (lgamma_test_data): Likewise.
21328         (log_test_data): Likewise.
21329         (log10_test_data): Likewise.
21330         (log2_test_data): Likewise.
21331         (tgamma_test_data): Likewise.
21332
21333         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21334         (acos_test_tonearest): Likewise.
21335         (acos_test_towardzero): Likewise.
21336         (acos_test_downward): Likewise.
21337         (acos_test_upward): Likewise.
21338         (acosh_test): Likewise.
21339         (asin_test): Likewise.
21340         (asin_test_tonearest): Likewise.
21341         (asin_test_towardzero): Likewise.
21342         (asin_test_downward): Likewise.
21343         (asin_test_upward): Likewise.
21344         (asinh_test): Likewise.
21345         (atan_test): Likewise.
21346         (atanh_test): Likewise.
21347         (atan2_test): Likewise.
21348         (cabs_test): Likewise.
21349         (cacos_test): Likewise.
21350         (cacosh_test): Likewise.
21351         (casin_test): Likewise.
21352         (casinh_test): Likewise.
21353         (catan_test): Likewise.
21354         (catanh_test): Likewise.
21355         (cbrt_test): Likewise.
21356         (ccos_test): Likewise.
21357         (ccosh_test): Likewise.
21358         (cexp_test): Likewise.
21359         (clog_test): Likewise.
21360         (clog10_test): Likewise.
21361         (cos_test): Likewise.
21362         (cos_test_tonearest): Likewise.
21363         (cos_test_towardzero): Likewise.
21364         (cos_test_downward): Likewise.
21365         (cos_test_upward): Likewise.
21366         (cosh_test): Likewise.
21367         (cosh_test_tonearest): Likewise.
21368         (cosh_test_towardzero): Likewise.
21369         (cosh_test_downward): Likewise.
21370         (cosh_test_upward): Likewise.
21371         (cpow_test): Likewise.
21372         (csin_test): Likewise.
21373         (csinh_test): Likewise.
21374         (csqrt_test): Likewise.
21375         (ctan_test): Likewise.
21376         (ctan_test_tonearest): Likewise.
21377         (ctan_test_towardzero): Likewise.
21378         (ctan_test_downward): Likewise.
21379         (ctan_test_upward): Likewise.
21380         (ctanh_test): Likewise.
21381         (ctanh_test_tonearest): Likewise.
21382         (ctanh_test_towardzero): Likewise.
21383         (ctanh_test_downward): Likewise.
21384         (ctanh_test_upward): Likewise.
21385         (erf_test): Likewise.
21386         (erfc_test): Likewise.
21387         (exp_test): Likewise.
21388         (exp_test_tonearest): Likewise.
21389         (exp_test_towardzero): Likewise.
21390         (exp_test_downward): Likewise.
21391         (exp_test_upward): Likewise.
21392         (exp10_test): Likewise.
21393         (exp2_test): Likewise.
21394         (expm1_test): Likewise.
21395         (fmod_test): Likewise.
21396         (gamma_test): Likewise.
21397         (hypot_test): Likewise.
21398         (j0_test): Likewise.
21399         (j1_test): Likewise.
21400         (jn_test): Likewise.
21401         (lgamma_test): Likewise.
21402         (log_test): Likewise.
21403         (log10_test): Likewise.
21404         (log1p_test): Likewise.
21405         (log2_test): Likewise.
21406         (logb_test_downward): Likewise.
21407         (pow_test): Likewise.
21408         (pow_test_tonearest): Likewise.
21409         (pow_test_towardzero): Likewise.
21410         (pow_test_downward): Likewise.
21411         (pow_test_upward): Likewise.
21412         (remainder_test): Likewise.
21413         (remquo_test): Likewise.
21414         (sin_test): Likewise.
21415         (sin_test_tonearest): Likewise.
21416         (sin_test_towardzero): Likewise.
21417         (sin_test_downward): Likewise.
21418         (sin_test_upward): Likewise.
21419         (sincos_test): Likewise.
21420         (sinh_test): Likewise.
21421         (sinh_test_tonearest): Likewise.
21422         (sinh_test_towardzero): Likewise.
21423         (sinh_test_downward): Likewise.
21424         (sinh_test_upward): Likewise.
21425         (sqrt_test): Likewise.
21426         (tan_test): Likewise.
21427         (tan_test_tonearest): Likewise.
21428         (tan_test_towardzero): Likewise.
21429         (tan_test_downward): Likewise.
21430         (tan_test_upward): Likewise.
21431         (tanh_test): Likewise.
21432         (tgamma_test): Likewise.
21433         (y0_test): Likewise.
21434         (y1_test): Likewise.
21435         (yn_test): Likewise.
21436
21437         * math/gen-libm-test.pl (adjust_arg): Remove function.
21438         (special_function): Remove argument $in_func.  Only handle
21439         generating output for tables of tests, not inside functions.
21440         (parse_args): Likewise.
21441         (generate_testfile): Remove variable $in_func.  Update call to
21442         parse_args.
21443         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21444         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21445         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21446         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21447         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21448         (MAX_VALUE_INIT): Rename macro to max_value.
21449         (MIN_VALUE_INIT): Rename macro to min_value.
21450         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21451         (plus_zero): Remove variable.
21452         (minus_zero): Likewise.
21453         (plus_infty): Likewise.
21454         (minus_infty): Likewise.
21455         (qnan_value): Likewise.
21456         (max_value): Likewise.
21457         (min_value): Likewise.
21458         (min_subnorm_value): Likewise.
21459
21460 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21461
21462         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21463         uint64_t or uint32_t usage.
21464         * crypt/sha256-block.c: Likewise.
21465         * crypt/sha256-crypt.c: Likewise.
21466         * crypt/sha256.c: Likewise.
21467         * crypt/sha512-block.c: Likewise.
21468         * crypt/sha512-crypt.c: Likewise.
21469         * crypt/sha512.c: Likewise.
21470         * debug/backtrace-tst.c: Likewise.
21471         * debug/pcprofiledump.c: Likewise.
21472         * elf/cache.c: Likewise.
21473         * elf/dl-cache.c: Likewise.
21474         * elf/dl-misc.c: Likewise.
21475         * elf/dl-profile.c: Likewise.
21476         * elf/dl-support.c: Likewise.
21477         * elf/ldconfig.c: Likewise.
21478         * elf/sprof.c: Likewise.
21479         * iconv/dummy-repertoire.c: Likewise.
21480         * iconv/iconv_charmap.c: Likewise.
21481         * iconv/skeleton.c: Likewise.
21482         * iconvdata/8bit-generic.c: Likewise.
21483         * iconvdata/cp737.h: Likewise.
21484         * iconvdata/cp775.h: Likewise.
21485         * iconvdata/ibm1008.h: Likewise.
21486         * iconvdata/ibm1025.h: Likewise.
21487         * iconvdata/ibm1046.h: Likewise.
21488         * iconvdata/ibm1097.h: Likewise.
21489         * iconvdata/ibm1112.h: Likewise.
21490         * iconvdata/ibm1122.h: Likewise.
21491         * iconvdata/ibm1123.h: Likewise.
21492         * iconvdata/ibm1124.h: Likewise.
21493         * iconvdata/ibm1129.h: Likewise.
21494         * iconvdata/ibm1130.h: Likewise.
21495         * iconvdata/ibm1132.h: Likewise.
21496         * iconvdata/ibm1133.h: Likewise.
21497         * iconvdata/ibm1137.h: Likewise.
21498         * iconvdata/ibm1140.h: Likewise.
21499         * iconvdata/ibm1141.h: Likewise.
21500         * iconvdata/ibm1142.h: Likewise.
21501         * iconvdata/ibm1143.h: Likewise.
21502         * iconvdata/ibm1144.h: Likewise.
21503         * iconvdata/ibm1145.h: Likewise.
21504         * iconvdata/ibm1146.h: Likewise.
21505         * iconvdata/ibm1147.h: Likewise.
21506         * iconvdata/ibm1148.h: Likewise.
21507         * iconvdata/ibm1149.h: Likewise.
21508         * iconvdata/ibm1153.h: Likewise.
21509         * iconvdata/ibm1154.h: Likewise.
21510         * iconvdata/ibm1155.h: Likewise.
21511         * iconvdata/ibm1156.h: Likewise.
21512         * iconvdata/ibm1157.h: Likewise.
21513         * iconvdata/ibm1158.h: Likewise.
21514         * iconvdata/ibm1160.h: Likewise.
21515         * iconvdata/ibm1161.h: Likewise.
21516         * iconvdata/ibm1162.h: Likewise.
21517         * iconvdata/ibm1163.h: Likewise.
21518         * iconvdata/ibm1164.h: Likewise.
21519         * iconvdata/ibm1166.h: Likewise.
21520         * iconvdata/ibm1167.h: Likewise.
21521         * iconvdata/ibm12712.h: Likewise.
21522         * iconvdata/ibm1390.h: Likewise.
21523         * iconvdata/ibm1399.h: Likewise.
21524         * iconvdata/ibm16804.h: Likewise.
21525         * iconvdata/ibm4517.h: Likewise.
21526         * iconvdata/ibm4899.h: Likewise.
21527         * iconvdata/ibm4909.h: Likewise.
21528         * iconvdata/ibm4971.h: Likewise.
21529         * iconvdata/ibm5347.h: Likewise.
21530         * iconvdata/ibm803.h: Likewise.
21531         * iconvdata/ibm856.h: Likewise.
21532         * iconvdata/ibm901.h: Likewise.
21533         * iconvdata/ibm902.h: Likewise.
21534         * iconvdata/ibm9030.h: Likewise.
21535         * iconvdata/ibm9066.h: Likewise.
21536         * iconvdata/ibm921.h: Likewise.
21537         * iconvdata/ibm922.h: Likewise.
21538         * iconvdata/ibm9448.h: Likewise.
21539         * iconvdata/isiri-3342.h: Likewise.
21540         * iconvdata/jis0201.h: Likewise.
21541         * include/link.h: Likewise.
21542         * include/netdb.h: Likewise.
21543         * inet/check_native.c: Likewise.
21544         * inet/check_pf.c: Likewise.
21545         * inet/getipv4sourcefilter.c: Likewise.
21546         * inet/getnameinfo.c: Likewise.
21547         * inet/getsourcefilter.c: Likewise.
21548         * inet/htonl.c: Likewise.
21549         * inet/setipv4sourcefilter.c: Likewise.
21550         * inet/setsourcefilter.c: Likewise.
21551         * inet/test-inet6_opt.c: Likewise.
21552         * inet/tst-network.c: Likewise.
21553         * locale/C-collate.c: Likewise.
21554         * locale/C-ctype.c: Likewise.
21555         * locale/C-time.c: Likewise.
21556         * locale/C-translit.h: Likewise.
21557         * locale/loadarchive.c: Likewise.
21558         * locale/programs/3level.h: Likewise.
21559         * locale/programs/charmap.c: Likewise.
21560         * locale/programs/charmap.h: Likewise.
21561         * locale/programs/ld-address.c: Likewise.
21562         * locale/programs/ld-collate.c: Likewise.
21563         * locale/programs/ld-ctype.c: Likewise.
21564         * locale/programs/ld-identification.c: Likewise.
21565         * locale/programs/ld-measurement.c: Likewise.
21566         * locale/programs/ld-messages.c: Likewise.
21567         * locale/programs/ld-monetary.c: Likewise.
21568         * locale/programs/ld-name.c: Likewise.
21569         * locale/programs/ld-numeric.c: Likewise.
21570         * locale/programs/ld-paper.c: Likewise.
21571         * locale/programs/ld-telephone.c: Likewise.
21572         * locale/programs/ld-time.c: Likewise.
21573         * locale/programs/linereader.c: Likewise.
21574         * locale/programs/locale.c: Likewise.
21575         * locale/programs/locarchive.c: Likewise.
21576         * locale/programs/locfile.h: Likewise.
21577         * locale/programs/repertoire.c: Likewise.
21578         * locale/programs/simple-hash.c: Likewise.
21579         * locale/programs/simple-hash.h: Likewise.
21580         * malloc/memusage.c: Likewise.
21581         * malloc/memusagestat.c: Likewise.
21582         * nis/nis_defaults.c: Likewise.
21583         * nis/nis_hash.c: Likewise.
21584         * nis/nis_print.c: Likewise.
21585         * nis/nis_xdr.c: Likewise.
21586         * nscd/connections.c: Likewise.
21587         * nscd/hstcache.c: Likewise.
21588         * nscd/nscd_gethst_r.c: Likewise.
21589         * nscd/nscd_getserv_r.c: Likewise.
21590         * nscd/nscd_helper.c: Likewise.
21591         * nscd/servicescache.c: Likewise.
21592         * nss/makedb.c: Likewise.
21593         * nss/nss_db/db-XXX.c: Likewise.
21594         * nss/nss_db/db-initgroups.c: Likewise.
21595         * nss/nss_db/db-netgrp.c: Likewise.
21596         * nss/nss_files/files-network.c: Likewise.
21597         * nss/nss_files/files-parse.c: Likewise.
21598         * posix/bug-regex5.c: Likewise.
21599         * posix/fnmatch_loop.c: Likewise.
21600         * posix/regcomp.c: Likewise.
21601         * posix/regexec.c: Likewise.
21602         * posix/tst-rfc3484-2.c: Likewise.
21603         * posix/tst-rfc3484-3.c: Likewise.
21604         * posix/tst-rfc3484.c: Likewise.
21605         * resolv/nss_dns/dns-canon.c: Likewise.
21606         * resolv/nss_dns/dns-network.c: Likewise.
21607         * resolv/res_init.c: Likewise.
21608         * resolv/res_mkquery.c: Likewise.
21609         * resolv/tst-aton.c: Likewise.
21610         * stdlib/cxa_atexit.c: Likewise.
21611         * stdlib/cxa_finalize.c: Likewise.
21612         * stdlib/gen-fpioconst.c: Likewise.
21613         * stdlib/strtol_l.c: Likewise.
21614         * string/tst-endian.c: Likewise.
21615         * sunrpc/auth_des.c: Likewise.
21616         * sunrpc/clnt_udp.c: Likewise.
21617         * sunrpc/rtime.c: Likewise.
21618         * sunrpc/svcauth_des.c: Likewise.
21619         * sunrpc/xdr.c: Likewise.
21620         * sunrpc/xdr_intXX_t.c: Likewise.
21621         * sunrpc/xdr_rec.c: Likewise.
21622         * sysdeps/generic/ldconfig.h: Likewise.
21623         * sysdeps/generic/ldsodefs.h: Likewise.
21624         * sysdeps/generic/memusage.h: Likewise.
21625         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21626         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21627         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21631         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21632         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21633         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21635         * sysdeps/posix/getaddrinfo.c: Likewise.
21636         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21637         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21638         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21639         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21640         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21641         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21642         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21643         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21644         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21645         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21646         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21647         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21648         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21649         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21650         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21651         * sysdeps/x86_64/dl-tls.h: Likewise.
21652         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21653         * time/alt_digit.c: Likewise.
21654         * time/era.c: Likewise.
21655         * wcsmbs/tst-c16c32-1.c: Likewise.
21656
21657 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21658
21659         * math/libm-test.inc (struct test_sincos_data): New type.
21660         (RUN_TEST_LOOP_sincos): New macro.
21661         (sincos_test_data): New variable.
21662         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21663
21664 2013-05-16  Richard Henderson  <rth@redhat.com>
21665
21666         * math/atest-exp2.c (LIMB64): New macro.
21667         (CONSTSZ): New macro.
21668         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21669         (hexdig): Move ...
21670         (print_mpn_fp): ... to function scope.
21671         (read_mpn_hex): Remove.
21672         (get_log2): Remove.
21673         (exp2_mpn): Use mp_log2.
21674         (main): Use mp_exp1.
21675
21676 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21677
21678         * math/libm-test.inc: Remove comment about not testing "inexact"
21679         exceptions.
21680         (INEXACT_EXCEPTION): New macro.
21681         (NO_INEXACT_EXCEPTION): Likewise.
21682         (INVALID_EXCEPTION_OK): Update value.
21683         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21684         (OVERFLOW_EXCEPTION_OK): Likewise.
21685         (UNDERFLOW_EXCEPTION_OK): Likewise.
21686         (IGNORE_ZERO_INF_SIGN): Likewise.
21687         (ERRNO_UNCHANGED): Likewise.
21688         (ERRNO_EDOM): Likewise.
21689         (ERRNO_ERANGE): Likewise.
21690         (test_exceptions): Handle testing "inexact" exceptions.
21691         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21692         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21693         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21694         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21695         INEXACT_EXCEPTION.
21696         (rint_towardzero_test_data): Likewise.
21697         (rint_downward_test_data): Likewise.
21698         (rint_upward_test_data): Likewise.
21699
21700         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21701         with OVERFLOW_EXCEPTION.
21702         (exp10_test_data): Likewise.
21703         (exp2_test_data): Likewise.
21704         (expm1_test_data): Likewise.
21705         (lgamma_test_data): Likewise.
21706         (pow_test_data): Likewise.
21707         (tgamma_test_data): Likewise.
21708         (yn_test_data): Remove duplicate test of overflow.
21709
21710         * math/libm-test.inc (struct test_cc_c_data): New type.
21711         (RUN_TEST_LOOP_cc_c): New macro.
21712         (cpow_test_data): New variable.
21713         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21714
21715         * math/libm-test.inc (struct test_f_L_data): New type.
21716         (RUN_TEST_LOOP_f_L): New macro.
21717         (llrint_test_data): New variable.
21718         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21719         (llrint_tonearest_test_data): New variable.
21720         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21721         (llrint_towardzero_test_data): New variable.
21722         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21723         (llrint_downward_test_data): New variable.
21724         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21725         (llrint_upward_test_data): New variable.
21726         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21727         (llround_test_data): New variable.
21728         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21729
21730 2013-05-13  Peter Collingbourne  <pcc@google.com>
21731
21732         * math/atest-exp2.c (get_log2): Remove const attribute.
21733
21734 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21735
21736         * math/libm-test.inc (struct test_f_l_data): New type.
21737         (RUN_TEST_LOOP_f_l): New macro.
21738         (lrint_test_data): New variable.
21739         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21740         (lrint_tonearest_test_data): New variable.
21741         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21742         (lrint_towardzero_test_data): New variable.
21743         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21744         (lrint_downward_test_data): New variable.
21745         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21746         (lrint_upward_test_data): New variable.
21747         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21748         (lround_test_data): New variable.
21749         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21750
21751 2013-05-15  Peter Collingbourne  <pcc@google.com>
21752
21753         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21754         (EXTRACT_WORDS64) Use where appropriate.
21755         (INSERT_WORDS64) Likewise.
21756
21757         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21758         constraints with x constraints.
21759         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21760
21761         * malloc/obstack.c (_obstack_compat): Add initializer.
21762
21763 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21764
21765         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21766         si_trapno and add si_addr_lsb to _sifields.sigfault.
21767         (si_trapno): Remove macro.
21768         (si_addr_lsb): Define new macro.
21769         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21770
21771 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21772
21773         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21774         instead of TEST_f_l.
21775         (llrint_test_tonearest): Likewise.
21776         (llrint_test_towardzero): Likewise.
21777         (llrint_test_downward): Likewise.
21778         (llrint_test_upward): Likewise.
21779         (llround_test): Likewise.
21780
21781         * math/libm-test.inc (struct test_f_i_data): Add comment.
21782         (RUN_TEST_LOOP_f_b): New macro.
21783         (RUN_TEST_LOOP_f_b_tg): Likewise.
21784         (finite_test_data): New variable.
21785         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21786         (isfinite_test_data): New variable.
21787         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21788         (isinf_test_data): New variable.
21789         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21790         (isnan_test_data): New variable.
21791         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21792         (isnormal_test_data): New variable.
21793         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21794         (issignaling_test_data): New variable.
21795         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21796         (signbit_test_data): New variable.
21797         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21798
21799         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21800         with INVALID_EXCEPTION.
21801         (acosh_test_data): Likewise.
21802         (asin_test_data): Likewise.
21803         (atanh_test_data): Likewise.
21804         (fmod_test_data): Likewise.
21805         (log_test_data): Likewise.
21806         (log10_test_data): Likewise.
21807         (log2_test_data): Likewise.
21808         (pow_test_data): Likewise.
21809         (sqrt_test_data): Likewise.
21810         (y0_test_data): Likewise.
21811         (y1_test_data): Likewise.
21812         (yn_test_data): Likewise.
21813
21814         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21815         function contents.
21816
21817         * math/libm-test.inc (struct test_ff_i_data): New type.
21818         (RUN_TEST_LOOP_ff_i_tg): New macro.
21819         (isgreater_test_data): New variable.
21820         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21821         (isgreaterequal_test_data): New variable.
21822         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21823         (isless_test_data): New variable.
21824         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21825         (islessequal_test_data): New variable.
21826         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21827         (islessgreater_test_data): New variable.
21828         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21829         (isunordered_test_data): New variable.
21830         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21831
21832 2013-05-14  David S. Miller  <davem@davemloft.net>
21833
21834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21835
21836 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21837
21838         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21839
21840         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21841         extra_test to int.
21842         (struct test_f_i_data): Change type of max_ulp to int.
21843
21844         * math/libm-test.inc (test_ffI_f1_data): New type.
21845         (RUN_TEST_LOOP_ffI_f1): New macro.
21846         (remquo_test_data): New variable.
21847         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21848
21849         * setjmp/tst-setjmp-fp.c: New file.
21850         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21851         (link-libm): New variable.
21852         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21853
21854         * math/libm-test.inc (struct test_f_i_data): New type.
21855         (RUN_TEST_LOOP_f_i): New macro.
21856         (RUN_TEST_LOOP_f_i_tg): Likewise.
21857         (fpclassify_test_data): New variable.
21858         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21859         (ilogb_test_data): New variable.
21860         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21861
21862         * math/libm-test.inc (scalbln_test): Correct function name in END
21863         call.
21864
21865         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21866         (RUN_TEST_LOOP_fI_f1): New macro.
21867         (frexp_test_data): New variable.
21868         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21869
21870         * math/libm-test.inc (struct test_fF_f1_data): New type.
21871         (RUN_TEST_LOOP_fF_f1): New macro.
21872         (modf_test_data): New variable.
21873         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21874
21875         * math/libm-test.inc (struct test_f_f1_data): New type.
21876         (RUN_TEST_LOOP_f_f1): New macro.
21877         (gamma_test_data): New variable.
21878         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21879         (lgamma_test_data): New variable.
21880         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21881
21882 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21883
21884         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21885         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21886         (main): Comment "tls" pseudo-hwcap.
21887
21888 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21889
21890         * math/libm-test.inc (struct test_fl_f_data): New type.
21891         (RUN_TEST_LOOP_fl_f): New variable.
21892         (scalbln_test_data): New variable.
21893         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21894
21895         * math/libm-test.inc (struct test_fi_f_data): New type.
21896         (RUN_TEST_LOOP_fi_f): New macro.
21897         (ldexp_test_data): New variable.
21898         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21899         (scalbn_test_data): New variable.
21900         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21901
21902         * math/libm-test.inc (struct test_c_f_data): New type.
21903         (RUN_TEST_LOOP_c_f): New macro.
21904         (cabs_test_data): New variable.
21905         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21906         (carg_test_data): New variable.
21907         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21908         (cimag_test_data): New variable.
21909         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21910         (creal_test_data): New variable.
21911         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21912
21913         * math/libm-test.inc (struct test_if_f_data): New type.
21914         (RUN_TEST_LOOP_if_f): New macro.
21915         (jn_test_data): New variable.
21916         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21917         (yn_test_data): New variable.
21918         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21919
21920         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21921
21922 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21923
21924         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21925         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21926
21927 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21928
21929         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21930         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21931         (bench-deps): Add bench-timing.h.
21932         * benchtests-bench-skeleton.c: Include bench-timing.h.
21933         (main): Use TIMING_* macros instead of clock_gettime.
21934         * benchtests/bench-timing.h: New file.
21935
21936         [BZ #14582]
21937         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21938         Renamed from _LIB_VERSION.
21939         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21940
21941 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21942
21943         * math/libm-test.inc (struct test_fff_f_data): New type.
21944         (RUN_TEST_LOOP_fff_f): New macro.
21945         (fma_test_data): New variable.
21946         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21947         (fma_towardzero_test_data): New variable.
21948         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21949         (fma_downward_test_data): New variable.
21950         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21951         (fma_upward_test_data): New variable.
21952         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21953
21954         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21955         (struct test_c_c_data): New type.
21956         (RUN_TEST_LOOP_c_c): New macro.
21957         (cacos_test_data): New variable.
21958         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21959         (cacosh_test_data): New variable.
21960         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21961         (casin_test_data): New variable.
21962         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21963         (casinh_test_data): New variable.
21964         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21965         (catan_test_data): New variable.
21966         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21967         (catanh_test_data): New variable.
21968         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21969         (ccos_test_data): New variable.
21970         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21971         (ccosh_test_data): New variable.
21972         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21973         (cexp_test_data): New variable.
21974         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21975         (clog_test_data): New variable.
21976         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21977         (clog10_test_data): New variable.
21978         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21979         (conj_test_data): New variable.
21980         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21981         (cproj_test_data): New variable.
21982         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21983         (csin_test_data): New variable.
21984         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21985         (csinh_test_data): New variable.
21986         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21987         (csqrt_test_data): New variable.
21988         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21989         (ctan_test_data): New variable.
21990         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21991         (ctan_tonearest_test_data): New variable.
21992         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21993         (ctan_towardzero_test_data): New variable.
21994         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21995         (ctan_downward_test_data): New variable.
21996         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21997         (ctan_upward_test_data): New variable.
21998         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21999         (ctanh_test_data): New variable.
22000         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22001         (ctanh_tonearest_test_data): New variable.
22002         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22003         (ctanh_towardzero_test_data): New variable.
22004         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22005         (ctanh_downward_test_data): New variable.
22006         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22007         (ctanh_upward_test_data): New variable.
22008         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22009         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22010         of BUILD_COMPLEX.
22011
22012         * math/libm-test.inc (struct test_ff_f_data): New type.
22013         (struct test_ff_f_data_nexttoward): Likewise.
22014         (RUN_TEST_LOOP_2_f): New macro.
22015         (RUN_TEST_LOOP_ff_f): Likewise.
22016         (atan2_test_data): New variable.
22017         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22018         (copysign_test_data): New variable.
22019         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22020         (fdim_test_data): New variable.
22021         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22022         (fmax_test_data): New variable.
22023         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22024         (fmin_test_data): New variable.
22025         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22026         (fmod_test_data): New variable.
22027         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22028         (hypot_test_data): New variable.
22029         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22030         (nextafter_test_data): New variable.
22031         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22032         (nexttoward_test_data): New variable.
22033         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22034         (pow_test_data): New variable.
22035         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22036         (pow_tonearest_test_data): New variable.
22037         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22038         (pow_towardzero_test_data): New variable.
22039         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22040         (pow_downward_test_data): New variable.
22041         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22042         (pow_upward_test_data): New variable.
22043         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22044         (remainder_test_data): New variable.
22045         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22046         (scalb_test_data): New variable.
22047         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22048         * sysdeps/i386/fpu/libm-test-ulps: Update.
22049
22050 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22051
22052         * math/libm-test.inc (fma_test): Use max_value instead of local
22053         variable fltmax.
22054         (nextafter_test): Likewise.
22055
22056         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22057         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22058         (acos_downward_test_data): New variable.
22059         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22060         (acos_upward_test_data): New variable.
22061         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22062         (acosh_test_data): New variable.
22063         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22064         (asin_test_data): New variable.
22065         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22066         (asin_tonearest_test_data): New variable.
22067         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22068         (asin_towardzero_test_data): New variable.
22069         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22070         (asin_downward_test_data): New variable.
22071         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22072         (asin_upward_test_data): New variable.
22073         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22074         (asinh_test_data): New variable.
22075         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22076         (atan_test_data): New variable.
22077         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22078         (atanh_test_data): New variable.
22079         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22080         (cbrt_test_data): New variable.
22081         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22082         (ceil_test_data): New variable.
22083         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22084         (cos_test_data): New variable.
22085         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22086         (cos_tonearest_test_data): New variable.
22087         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22088         (cos_towardzero_test_data): New variable.
22089         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22090         (cos_downward_test_data): New variable.
22091         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22092         (cos_upward_test_data): New variable.
22093         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22094         (cosh_test_data): New variable.
22095         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22096         (cosh_tonearest_test_data): New variable.
22097         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22098         (cosh_towardzero_test_data): New variable.
22099         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22100         (cosh_downward_test_data): New variable.
22101         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22102         (cosh_upward_test_data): New variable.
22103         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22104         (erf_test_data): New variable.
22105         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22106         (erfc_test_data): New variable.
22107         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22108         (exp_test_data): New variable.
22109         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22110         (exp_tonearest_test_data): New variable.
22111         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22112         (exp_towardzero_test_data): New variable.
22113         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22114         (exp_downward_test_data): New variable.
22115         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22116         (exp_upward_test_data): New variable.
22117         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22118         (exp10_test_data): New variable.
22119         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22120         (exp2_test_data): New variable.
22121         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22122         (expm1_test_data): New variable.
22123         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22124         (fabs_test_data): New variable.
22125         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22126         (floor_test_data): New variable.
22127         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22128         (j0_test_data): New variable.
22129         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22130         (j1_test_data): New variable.
22131         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22132         (log_test_data): New variable.
22133         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22134         (log10_test_data): New variable.
22135         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22136         (log1p_test_data): New variable.
22137         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22138         (log2_test_data): New variable.
22139         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22140         (logb_test_data): New variable.
22141         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22142         (logb_downward_test_data): New variable.
22143         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22144         (nearbyint_test_data): New variable.
22145         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22146         (rint_test_data): New variable.
22147         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22148         (rint_tonearest_test_data): New variable.
22149         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22150         (rint_towardzero_test_data): New variable.
22151         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22152         (rint_downward_test_data): New variable.
22153         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22154         (rint_upward_test_data): New variable.
22155         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22156         (round_test_data): New variable.
22157         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22158         (sin_test_data): New variable.
22159         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22160         (sin_tonearest_test_data): New variable.
22161         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22162         (sin_towardzero_test_data): New variable.
22163         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22164         (sin_downward_test_data): New variable.
22165         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22166         (sin_upward_test_data): New variable.
22167         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22168         (sinh_test_data): New variable.
22169         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22170         (sinh_tonearest_test_data): New variable.
22171         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22172         (sinh_towardzero_test_data): New variable.
22173         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22174         (sinh_downward_test_data): New variable.
22175         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22176         (sinh_upward_test_data): New variable.
22177         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22178         (sqrt_test_data): New variable.
22179         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22180         (tan_test_data): New variable.
22181         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22182         (tan_tonearest_test_data): New variable.
22183         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22184         (tan_towardzero_test_data): New variable.
22185         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22186         (tan_downward_test_data): New variable.
22187         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22188         (tan_upward_test_data): New variable.
22189         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22190         (tanh_test_data): New variable.
22191         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22192         (tgamma_test_data): New variable.
22193         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22194         (trunc_test_data): New variable.
22195         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22196         (y0_test_data): New variable.
22197         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22198         (y1_test_data): New variable.
22199         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22200         (significand_test_data): New variable.
22201         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22202
22203 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22204
22205         [BZ #12387]
22206         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22207
22208 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22209
22210         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22211
22212 2013-05-10  Andreas Jaeger  <aj@suse.de>
22213
22214         [BZ #15448]
22215         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22216         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22217
22218 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22219
22220         * math/gen-libm-test.pl (adjust_arg): New function.
22221         (special_functions): Handle generating output in both functions
22222         and arrays.
22223         (parse_args): Likewise.
22224         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22225         $in_func argument to parse_args.
22226         * math/libm-test.inc (struct test_f_f_data): New type.
22227         (IF_ROUND_INIT_): New macro.
22228         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22229         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22230         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22231         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22232         (ROUND_RESTORE_): Likewise.
22233         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22234         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22235         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22236         (ROUND_RESTORE_FE_UPWARD): Likewise.
22237         (RUN_TEST_LOOP_f_f): New macro.
22238         (acos_test_data): New variable.
22239         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22240         (acos_tonearest_test_data): New variable.
22241         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22242
22243 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244
22245         * benchtests/bench-skeleton.c (startup): Fix coding style.
22246
22247 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22248
22249         [BZ #6809]
22250         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22251         negative infinity argument.
22252         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22253         negative infinity argument.
22254         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22255         negative infinity argument.
22256         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22257         domain errors.
22258
22259 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22260
22261         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22262         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22263         * iconv/iconv_prog.c (main): Likewise.
22264         * locale/programs/charmap-dir.c (charmap_readdir)
22265         (fopen_uncompressed): Likewise.
22266         * locale/programs/locfile.c (siblings_uncached)
22267         (write_locale_data): Use lstat64 instead of lstat.
22268         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22269         stat.
22270
22271 2013-05-10  Andreas Jaeger  <aj@suse.de>
22272
22273         [BZ #15395]
22274         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22275         localization.
22276         Include <locale.h>.
22277
22278 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22279
22280         * elf/dl-close.c (_dl_close_worker): Add comments.
22281
22282 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22283
22284         [BZ #15359]
22285         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22286         high part of pi/2.
22287         (__ieee754_rem_pio2l): Update comments.
22288
22289         [BZ #15429]
22290         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22291         high part of pi/2.
22292         (__ieee754_rem_pio2l): Update comments.
22293
22294         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22295         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22296
22297         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22298         M_PI_4l.
22299
22300         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22301         (M_PI_34_LOG10El): Likewise.
22302         (M_PI2_LOG10El): Likewise.
22303         (M_PI4_LOG10El): Likewise.
22304         (M_PI_LOG10El): Likewise.
22305
22306 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22307
22308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22309
22310 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22311
22312         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22313         (MINUS_ZERO_INIT): Likewise.
22314         (PLUS_INFTY_INIT): Likewise.
22315         (MINUS_INFTY_INIT): Likewise.
22316         (QNAN_VALUE_INIT): Likewise.
22317         (MAX_VALUE_INIT): Likewise.
22318         (MIN_VALUE_INIT): Likewise.
22319         (MIN_SUBNORM_VALUE_INIT): Likewise.
22320         (plus_zero): Initialize with PLUS_ZERO_INIT.
22321         (minus_zero): Initialize with MINUS_ZERO_INIT.
22322         (plus_infty): Initialize with PLUS_INFTY_INIT.
22323         (minus_infty): Initialize with MINUS_INFTY_INIT.
22324         (qnan_value): Initialize with QNAN_VALUE_INIT.
22325         (max_value): Initialize with MAX_VALUE_INIT.
22326         (min_value): Initialize with MIN_VALUE_INIT.
22327         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22328
22329         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22330         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22331         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22332         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22333
22334         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22335         (RUN_TEST_2_f): Likewise.
22336         (RUN_TEST_ff_f): Likewise.
22337         (RUN_TEST_fi_f): Likewise.
22338         (RUN_TEST_fl_f): Likewise.
22339         (RUN_TEST_fff_f): Likewise.
22340         (RUN_TEST_c_f): Likewise.
22341         (RUN_TEST_f_f1): Likewise.
22342         (RUN_TEST_fF_f1): Likewise.
22343         (RUN_TEST_fI_f1): Likewise.
22344         (RUN_TEST_ffI_f1): Likewise.
22345         (RUN_TEST_c_c): Likewise.
22346         (RUN_TEST_cc_c): Likewise.
22347         (RUN_TEST_f_i): Likewise.
22348         (RUN_TEST_f_i_tg): Likewise.
22349         (RUN_TEST_ff_i_tg): Likewise.
22350         (RUN_TEST_f_b): Likewise.
22351         (RUN_TEST_f_b_tg): Likewise.
22352         (RUN_TEST_f_l): Likewise.
22353         (RUN_TEST_f_L): Likewise.
22354         (RUN_TEST_sincos): Likewise.
22355         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22356         whether to show exceptions.  Do not include ");\n" in return
22357         value.
22358         (special_functions): Output call to RUN_TEST_sincos instead of
22359         check_float calls.  Update calls to new_test.
22360         (parse_args): Output call to single RUN_TEST_* macro instead of
22361         check_* calls and other assignments.  Update calls to new_test.
22362
22363         [BZ #2546]
22364         [BZ #2560]
22365         [BZ #5159]
22366         [BZ #15426]
22367         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22368         input to result for tgamma overflow.
22369         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22370         (gamma_coeff): New variable.
22371         (NCOEFF): New macro.
22372         (gamma_positive): New function.
22373         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22374         underflow here.  Use gamma_positive instead of exp (lgamma) for
22375         other arguments.
22376         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22377         (gamma_coeff): New variable.
22378         (NCOEFF): New macro.
22379         (gammaf_positive): New function.
22380         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22381         underflow here.  Use gamma_positive instead of exp (lgamma) for
22382         other arguments.
22383         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22384         (gamma_coeff): New variable.
22385         (NCOEFF): New macro.
22386         (gammal_positive): New function.
22387         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22388         underflow here.  Use gamma_positive instead of exp (lgamma) for
22389         other arguments.
22390         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22391         (gamma_coeff): New variable.
22392         (NCOEFF): New macro.
22393         (gammal_positive): New function.
22394         (__ieee754_gammal_r): Handle positive infinity, overflow and
22395         underflow here.  Handle NaN the same as positive infinity.  Remove
22396         check x < 0xffffffff for negative integers.  Use gamma_positive
22397         instead of exp (lgamma) for other arguments.
22398         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22399         (gamma_coeff): New variable.
22400         (NCOEFF): New macro.
22401         (gammal_positive): New function.
22402         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22403         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22404         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22405         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22406         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22407         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22408         * sysdeps/generic/math_private.h (__gamma_productf): New
22409         prototype.
22410         (__gamma_product): Likewise.
22411         (__gamma_productl): Likewise.
22412         * math/Makefile (libm-calls): Add gamma_product.
22413         * math/libm-test.inc (tgamma_test): Add more tests.
22414         * sysdeps/i386/fpu/libm-test-ulps: Update.
22415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22416
22417 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22418
22419         * benchtests/bench-skeleton.c (main): Preheat CPU.
22420
22421 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22422
22423         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22424
22425 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22426
22427         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22428         and _dl_skip_args_internal.
22429
22430 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22431
22432         * manual/message.texi (Message Translation): Talk about users.
22433         Message to key mapping impacts design.
22434
22435 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22436
22437         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22438
22439         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22440
22441         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22442         * sysdeps/wordsize-64/glob64.c: ... here.
22443
22444         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22445         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22446         New macros.
22447
22448         * debug/getlogin_r_chk.c: Moved to ...
22449         * login/getlogin_r_chk.c: ... here.
22450         * debug/Makefile (routines): Move getlogin_r_chk to ...
22451         * login/Makefile (routines): ... here.
22452         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22453         * login/Versions (libc: GLIBC_2.4): ... here.
22454
22455         * io/poll.c (__poll): Renamed from poll.
22456         Add libc_hidden_def.
22457         (poll): Define as weak alias.
22458
22459         * debug/ptsname_r_chk.c: Moved to ...
22460         * login/ptsname_r_chk.c: ... here.
22461         * debug/Makefile (routines): Move ptsname_r_chk to ...
22462         * login/Makefile (routines): ... here.
22463         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22464         * login/Versions (libc: GLIBC_2.4): ... here.
22465
22466         * posix/getlogin.c: Moved to ...
22467         * login/getlogin.c: ... here.
22468         * posix/getlogin_r.c: Moved to ...
22469         * login/getlogin_r.c: ... here.
22470         * posix/getlogin_r.c: Moved to ...
22471         * login/getlogin_r.c: ... here.
22472         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22473         * login/Makefile (routines): ... here.
22474         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22475         * login/Versions (libc: GLIBC_2.0): ... here.
22476
22477         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22478         (setrlimit): Define as weak alias.
22479
22480         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22481         Call __ names for open, ftruncate, and close.
22482         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22483         (truncate): Define as weak alias.
22484
22485 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22486
22487         * math/gen-libm-test.pl (parse_args): Initialize x before each
22488         test of frexp, modf and remquo.
22489
22490         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22491         test signgam value.
22492
22493 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22494
22495         [BZ #15418]
22496         [BZ #15419]
22497         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22498         internal tests.
22499         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22500
22501 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22502
22503         * elf/dl-writev.h: New file.
22504         * elf/dl-misc.c: Include it.
22505         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22506         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22507
22508 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22509
22510         * math/libm-test.inc (noXFails): Remove variable.
22511         (noXPasses): Likewise.
22512         (BUILD_COMPLEX_INT): Remove macro.
22513         (print_screen): Remove xfail argument.
22514         (print_screen_max_error): Likewise.
22515         (update_stats): Likewise.
22516         (print_max_error): Likewise.  Update calls to other affected
22517         functions.
22518         (print_complex_max_error): Likewise.
22519         (test_single_exception): Update calls to print_screen.
22520         (test_single_errno): Likewise.
22521         (check_float_internal): Remove xfail argument.  Update calls to
22522         other affected functions.
22523         (check_float): Likewise.
22524         (check_complex): Likewise.
22525         (check_int): Likewise.
22526         (check_long): Likewise.
22527         (check_bool): Likewise.
22528         (check_longlong): Likewise.
22529         (main): Don't print noXFails and noXPasses.
22530         * math/gen-libm-test.pl (top level): Don't mention expected
22531         failure handling in comment.
22532         (new_test): Don't handle expected failures.
22533         (parse_args): Don't mention expected failure handling in comment.
22534         (generate_testfile): Don't handle expected failures.
22535         (parse_ulps): Likewise.
22536         (print_ulps_file): Likewise.
22537         (get_failure): Remove function.
22538         (output_test): Don't handle expected failures.
22539         * make/README.libm-test: Don't mention expected failure handling.
22540
22541         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22542         (minus_zero): Likewise.
22543         (plus_infty): Likewise.
22544         (minus_infty): Likewise.
22545         (qnan_value): Likewise.
22546         (max_value): Likewise.
22547         (min_value): Likewise.
22548         (min_subnorm_value): Likewise.
22549         (initialize): Do not initialize those variables dynamically.
22550
22551 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22552
22553         * io/open.c (__open_2): Moved to ...
22554         * io/open_2.c: ... this new file.
22555         * io/open64.c (__open64_2): Moved to ...
22556         * io/open64_2.c: ... this new file.
22557         * io/openat.c (__openat_2): Moved to ...
22558         * io/openat_2.c: ... this new file.
22559         * io/openat64.c (__openat64_2): Moved to ...
22560         * io/openat64_2.c: ... this new file.
22561         * io/Makefile (routines): Add them.
22562         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22563         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22564         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22565         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22566         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22567         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22568         (__openat64): Add hidden_ver.
22569         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22570         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22571
22572         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22573         Separately conditionalize setting of GLRO(dl_sysinfo) so
22574         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22575         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22576
22577 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22578
22579         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22580         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22581         definition.
22582         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22583         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22584         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22585         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22586         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22587
22588 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22589
22590         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22591         test signgam value.
22592
22593         * math/libm-test.inc (hypot_test): Do not use
22594         IGNORE_ZERO_INF_SIGN.
22595
22596 2013-05-03  Andreas Jaeger  <aj@suse.de>
22597
22598         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22599         Linux 3.9.
22600         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22601         (PF_MAX): Adjust for VSOCK change.
22602
22603 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22604
22605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22606
22607 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22608
22609         [BZ #15264]
22610         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22611         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22612         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22613
22614 2013-05-02  David S. Miller  <davem@davemloft.net>
22615
22616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22617
22618 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22619
22620         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22621
22622 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22623
22624         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22625
22626 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22627
22628         [BZ #14952]
22629         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22630         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22631         Use __attribute__ ((__gnu_inline__)).
22632         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22633         Don't use __attribute__ ((__gnu_inline__)).
22634
22635 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22636
22637         [BZ #15423]
22638         * math/s_catan.c (__catan): Handle small real or imaginary part of
22639         input specially to avoid spurious underflow.
22640         * math/s_catanf.c (__catanf): Likewise.
22641         * math/s_catanh.c (__catanh): Likewise.
22642         * math/s_catanhf.c (__catanhf): Likewise.
22643         * math/s_catanhl.c (__catanhl): Likewise.
22644         * math/s_catanl.c (__catanl): Likewise.
22645         * math/libm-test.inc (catan_test): Add more tests.
22646         (catanh_test): Likewise.
22647         * sysdeps/i386/fpu/libm-test-ulps: Update.
22648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
22650 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22651
22652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22653
22654 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22655
22656         [BZ #15416]
22657         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22658         accurately for denominator in atan2.
22659         * math/s_catanf.c (__catanf): Likewise.
22660         * math/s_catanh.c (__catanh): Likewise.
22661         * math/s_catanhf.c (__catanhf): Likewise.
22662         * math/s_catanhl.c (__catanhl): Likewise.
22663         * math/s_catanl.c (__catanl): Likewise.
22664         * math/libm-test.inc (catan_test): Add more tests.
22665         (catanh_test): Likewise.
22666         * sysdeps/i386/fpu/libm-test-ulps: Update.
22667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668
22669 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22670
22671         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22672
22673         * benchtests/Makefile (bench): Remove slow benchmarks.
22674         * benchtests/atan-inputs: Add slow benchmark inputs.
22675         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22676         (BENCH_FUNC): Accept variant offset.
22677         (VARIANT): Define.
22678         * benchtests/bench-skeleton.c (main): Run benchmark for each
22679         variant.
22680         * benchtests/cos-inputs: Add slow benchmark inputs.
22681         * benchtests/exp-inputs: Likewise.
22682         * benchtests/pow-inputs: Likewise.
22683         * benchtests/sin-inputs: Likewise.
22684         * benchtests/slowatan-inputs: Remove.
22685         * benchtests/slowatan.c: Remove.
22686         * benchtests/slowcos-inputs: Remove.
22687         * benchtests/slowcos.c: Remove.
22688         * benchtests/slowexp-inputs: Remove.
22689         * benchtests/slowexp.c: Remove.
22690         * benchtests/slowpow-inputs: Remove.
22691         * benchtests/slowpow.c: Remove.
22692         * benchtests/slowsin-inputs: Remove.
22693         * benchtests/slowsin.c: Remove.
22694         * benchtests/slowtan-inputs: Remove.
22695         * benchtests/slowtan.c: Remove.
22696         * benchtests/tan-inputs: Add slow benchmark inputs.
22697         * scripts/bench.pl: Parse comments and directives.
22698
22699         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22700         in CPPFLAGS.
22701         ($(objpfx)bench-%.c): Remove *-ITER.
22702         * benchtests/bench-modf.c: Remove definition of ITER.
22703         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22704         (main): Loop for DURATION seconds instead of fixed number of
22705         iterations.
22706         * scripts/bench.pl: Don't expect iterations in parameters.
22707
22708 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22709
22710         * io/fchdir.c (__fchdir): Renamed from fchdir.
22711         (fchdir): Define as weak alias.
22712
22713 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22714
22715         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22716         (ERRNO_EDOM): Likewise.
22717         (ERRNO_ERANGE): Likewise.
22718         (noErrnoTests): New variable.
22719         (init_max_error): Set errno to 0.
22720         (test_single_errno): New function.
22721         (test_errno): Likewise.
22722         (check_float_internal): Call test_errno.  Set errno to 0.
22723         (check_complex): Refer to errno tests in comment.
22724         (check_int): Call test_errno.  Set errno to 0.
22725         (check_long): Likewise.
22726         (check_bool): Likewise.
22727         (check_longlong): Likewise.
22728         (cos_test): Use ERRNO_* flags for errno tests instead of
22729         check_int.
22730         (expm1_test): Likewise.
22731         (fmod_test): Likewise.
22732         (ilogb_test): Likewise.
22733         (lgamma_test): Likewise.
22734         (pow_test): Likewise.
22735         (remainder_test): Likewise.
22736         (sin_test): Likewise.
22737         (tan_test): Likewise.
22738         (yn_test): Likewise.
22739         (initialize): Set errno to 0.
22740         (main): Print number of errno tests.
22741         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22742
22743 2013-04-29  Andreas Jaeger  <aj@suse.de>
22744
22745         [BZ #15084]
22746         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22747         and RES_USEVC.
22748
22749         [BZ #15085]
22750         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22751         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22752         unimplemented.
22753
22754         [BZ #15380]
22755         * stdlib/random.c (__initstate): Return NULL if
22756         __initstate fails.
22757
22758         [BZ #15086]
22759         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22760         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22761         RES_SNGLKUPREOP.
22762
22763 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22764
22765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22766
22767 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22768
22769         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22770         of individual tests.
22771         (casin_test): Likewise.
22772         (casinh_test): Likewise.
22773
22774 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22775
22776         [BZ #15409]
22777         * math/s_catan.c (__catan): Handle arguments with large real or
22778         imaginary part separately without squaring.
22779         * math/s_catanf.c (__catanf): Likewise.
22780         * math/s_catanh.c (__catanh): Likewise.
22781         * math/s_catanhf.c (__catanhf): Likewise.
22782         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22783         and redefine.
22784         (__catanhl): Handle arguments with large real or imaginary part
22785         separately without squaring.
22786         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22787         and redefine.
22788         (__catanl): Handle arguments with large real or imaginary part
22789         separately without squaring.
22790         * math/libm-test.inc (catan_test): Add more tests.
22791         (catanh_test): Likewise.
22792         * sysdeps/i386/fpu/libm-test-ulps: Update.
22793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22794
22795 2013-04-27  Andreas Jaeger  <aj@suse.de>
22796
22797         [BZ #15007]
22798         * stdlib/stdlib.h: Update guards for qecvt.
22799         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22800         <stdlib.h>.
22801
22802 2013-04-27  Allan McRae  <allan@archlinux.org>
22803
22804         * sysdeps/i386/fpu/libm-test-ulps: Update.
22805
22806 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22807
22808         [BZ #15406]
22809         * math/s_catan.c: Include <float.h>.
22810         (__catan): Ensure underflow exception occurs for underflowed
22811         result.
22812         * math/s_catanf.c: Include <float.h>.
22813         (__catanf): Ensure underflow exception occurs for underflowed
22814         result.
22815         * math/s_catanh.c: Include <float.h>.
22816         (__catanh): Ensure underflow exception occurs for underflowed
22817         result.
22818         * math/s_catanhf.c: Include <float.h>.
22819         (__catanhf): Ensure underflow exception occurs for underflowed
22820         result.
22821         * math/s_catanhl.c: Include <float.h>.
22822         (__catanhl): Ensure underflow exception occurs for underflowed
22823         result.
22824         * math/s_catanl.c: Include <float.h>.
22825         (__catanl): Ensure underflow exception occurs for underflowed
22826         result.
22827         * math/libm-test.inc (catan_test): Add more tests.
22828         (catanh_test): Likewise.
22829
22830         [BZ #15405]
22831         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22832         underflowed result.
22833         * math/s_ccoshf.c (__ccoshf): Likewise.
22834         * math/s_ccoshl.c (__ccoshl): Likewise.
22835         * math/s_csin.c (__csin): Likewise.
22836         * math/s_csinf.c (__csinf): Likewise.
22837         * math/s_csinh.c (__csinh): Likewise.
22838         * math/s_csinhf.c (__csinhf): Likewise.
22839         * math/s_csinhl.c (__csinhl): Likewise.
22840         * math/s_csinl.c (__csinl): Likewise.
22841         * math/libm-test.inc (ccos_test): Add more tests.
22842         (ccosh_test): Likewise.
22843         (csin_test): Likewise.
22844         (csinh_test): Likewise.
22845
22846 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22847
22848         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22849         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22850         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22851         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22852         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22853         powerpc/power5+/fpu folders.
22854         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22855
22856
22857 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22858
22859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22860
22861 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22862
22863         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22864         additions to variable.
22865         [$(config-machine) = x86_64] (modules-names): Likewise.
22866         ($(objpfx)tst-audit3): Remove dependency.
22867         ($(objpfx)tst-audit3.out): Likewise.
22868         ($(objpfx)tst-audit4): Likewise.
22869         ($(objpfx)tst-audit4.out): Likewise.
22870         ($(objpfx)tst-audit5): Likewise.
22871         ($(objpfx)tst-audit5.out): Likewise.
22872         ($(objpfx)tst-audit6): Likewise.
22873         ($(objpfx)tst-audit6.out): Likewise.
22874         ($(objpfx)tst-audit7): Likewise.
22875         ($(objpfx)tst-audit7.out): Likewise.
22876         (tst-audit3-ENV): Remove variable.
22877         (tst-audit4-ENV): Likewise.
22878         (tst-audit5-ENV): Likewise.
22879         (tst-audit6-ENV): Likewise.
22880         (tst-audit7-ENV): Likewise.
22881         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22882         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22883         addition to variable.
22884         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22885         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22886         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22887         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22888         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22889         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22890         tst-audit3, tst-audit4 and tst-audit5.
22891         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22892         tst-audit6 and tst-audit7.
22893         [$(subdir) = elf] (modules-names): Add audit modules for those
22894         tests.
22895         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22896         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22897         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22898         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22899         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22900         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22901         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22902         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22903         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22904         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22905         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22906         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22907         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22908         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22909         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22910         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22911         Likewise.
22912         [$(subdir) = elf && $(config-cflags-avx) = yes]
22913         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22914         [$(subdir) = elf && $(config-cflags-avx) = yes]
22915         (CFLAGS-tst-auditmod4a.c): Likewise.
22916         [$(subdir) = elf && $(config-cflags-avx) = yes]
22917         (CFLAGS-tst-auditmod4b.c): Likewise.
22918         [$(subdir) = elf && $(config-cflags-avx) = yes]
22919         (CFLAGS-tst-auditmod6b.c): Likewise.
22920         [$(subdir) = elf && $(config-cflags-avx) = yes]
22921         (CFLAGS-tst-auditmod6c.c): Likewise.
22922         [$(subdir) = elf && $(config-cflags-avx) = yes]
22923         (CFLAGS-tst-auditmod7b.c): Likewise.
22924         * elf/tst-audit3.c: Move to ...
22925         * sysdeps/x86_64/tst-audit3.c: ... here.
22926         * elf/tst-audit4.c: Move to ...
22927         * sysdeps/x86_64/tst-audit4.c: ... here.
22928         * elf/tst-audit5.c: Move to ...
22929         * sysdeps/x86_64/tst-audit5.c: ... here.
22930         * elf/tst-audit6.c: Move to ...
22931         * sysdeps/x86_64/tst-audit6.c: ... here.
22932         * elf/tst-audit7.c: Move to ...
22933         * sysdeps/x86_64/tst-audit7.c: ... here.
22934         * elf/tst-auditmod3a.c: Move to ...
22935         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22936         * elf/tst-auditmod3b.c: Move to ...
22937         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22938         * elf/tst-auditmod4a.c: Move to ...
22939         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22940         * elf/tst-auditmod4b.c: Move to ...
22941         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22942         * elf/tst-auditmod5a.c: Move to ...
22943         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22944         * elf/tst-auditmod5b.c: Move to ...
22945         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22946         * elf/tst-auditmod6a.c: Move to ...
22947         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22948         * elf/tst-auditmod6b.c: Move to ...
22949         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22950         * elf/tst-auditmod6c.c: Move to ...
22951         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22952         * elf/tst-auditmod7a.c: Move to ...
22953         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22954         * elf/tst-auditmod7b.c: Move to ...
22955         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22956
22957 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22958
22959         [BZ #15366]
22960         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22961         define unconditionally.
22962         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22963         define unconditionally.
22964         (INT8_C, INT16_C, etc.): Likewise.
22965
22966 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22967
22968         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22969         __ehdr_start with hidden visibility.
22970
22971         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22972
22973 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22974
22975         * math/libm-test.inc (cos_test): Use accurate hex constants.
22976         (sincost_test): Likewise.
22977
22978 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22979
22980         * math/libm-test.inc (catan_test): Add more tests.
22981         (catanh_test): Likewise.
22982
22983         * math/s_catanf.c (__catanf): Use suffixed floating-point
22984         constants.
22985         * math/s_catanhf.c (__catanhf): Likewise.
22986         * math/s_catanhl.c (__catanhl): Likewise.
22987         * math/s_catanl.c (__catanl): Likewise.
22988
22989         [BZ #15394]
22990         * math/s_catan.c (__catan): Calculate imaginary part of result
22991         with log1p not log unless computing log of number close to 0.
22992         * math/s_catanf.c (__catanf): Likewise.
22993         * math/s_catanl.c (__catanl): Likewise.
22994         * math/s_catanh.c (__catanh): Calculate real part of result with
22995         log1p not log unless computing log of number close to 0.
22996         * math/s_catanhf.c (__catanhf): Likewise.
22997         * math/s_catanhl.c (__catanhl): Likewise.
22998         * math/libm-test.inc (catan_test): Add more tests.
22999         (catanh_test): Likewise.
23000         * sysdeps/i386/fpu/libm-test-ulps: Update.
23001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23002
23003 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23004
23005         * benchtests/Makefile: Mention files in which fast and slow
23006         paths of math functions are implemented.
23007
23008 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23009
23010         * sysdeps/posix/timespec_get.c: New file.
23011
23012 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23013
23014         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23015         POWER.
23016         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23017         for POWER.
23018         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23019         powerpc/power5/fpu folders.
23020         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23021         * benchtests/Makefile: Add modf testcase.
23022         * benchtests/bench-modf.c: New file: Benchmark test for mo
23023
23024 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23025
23026         [BZ #14888]
23027         * time/Makefile (tests): Add tst-strptime-whitespace.
23028         * time/strptime_l.c (get_number): Use ISSPACE.
23029         (__strptime_internal): Likewise.
23030         * time/tst-strptime-whitespace.c: New test case.
23031
23032 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23033
23034         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23035         member.
23036         (_nss_files_init): Set it here.
23037
23038 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23039
23040         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23041         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23042         unsigned.
23043
23044 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23045
23046         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23047
23048 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049
23050         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23051         size just once.
23052
23053 2013-04-21  David S. Miller  <davem@davemloft.net>
23054
23055         * po/ru.po: Update Russion translation from translation project.
23056
23057 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23058
23059         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23060         and setfsgid.
23061
23062 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23063
23064         * configure.in: Remove i386 configure warning. Remove i386 case.
23065         * configure: Regenerate.
23066         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23067         Add example to error message.
23068         * sysdeps/i386/configure: Regenerate.
23069
23070 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23071
23072         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23073         slowtan.
23074         * benchtests/cos-inputs: New file.
23075         * benchtests/slowcos-inputs: New file.
23076         * benchtests/slowcos.c: New file.
23077         * benchtests/slowtan-inputs: New file.
23078         * benchtests/slowtan.c: New file.
23079         * benchtests/tan-inputs: New file.
23080
23081 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23082
23083         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23084         considered kosher.
23085
23086 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23087
23088         * benchtests/Makefile: Include cppflags-iterator.mk to add
23089         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23090
23091         * Makefile.in (bench-clean): New target.
23092         * benchtests/Makefile (bench-clean): Likewise.
23093
23094 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23095
23096         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23097
23098 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23099
23100         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23101
23102 2013-04-15  Andreas Schwab  <schwab@suse.de>
23103
23104         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23106         * nscd/pwdcache.c (cache_addpw): Likewise.
23107         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23108         more than recsize.
23109
23110 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23111
23112         * benchtests/Makefile (bench): Write all output to
23113         bench-out.tmp together.
23114
23115 2013-04-15  Andreas Schwab  <schwab@suse.de>
23116
23117         * nscd/nscd.c (main): Don't fork again after closing files.
23118
23119 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23120
23121         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23122
23123         * benchtests/Rules (bench-deps): Collect dependencies into a
23124         single variable.  Add Makefile to dependencies.
23125         ($(objpfx)bench-%.c): Depend on bench-deps.
23126
23127 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23128             Xavier Roche  <roche+kml2@exalead.com>
23129
23130         [BZ #15361]
23131         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23132         just that it's a file descriptor.
23133         * manual/llio.texi (Synchronizing AIO Operations): Update description
23134         for EBADF error from aio_fsync.
23135
23136 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23137
23138         * Rules (bench): Move target definition...
23139         * benchtests/Makefile: ... here.
23140
23141 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23142
23143         * math/libm-test.inc (cos_test): Fix PI/2 test.
23144         (sincos_test): Likewise.
23145         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23146         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23147
23148 2013-04-11  Andreas Schwab  <schwab@suse.de>
23149
23150         [BZ #13988]
23151         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23152         accept exponent character only when digits were seen.
23153         * stdio-common/Makefile (tests): Add bug26.
23154         * stdio-common/bug26.c: New file.
23155
23156         [BZ #14293]
23157         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23158         non-freeable.
23159
23160 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23161
23162         * Makeconfig (rtld-prefix): Define built linker prefix.
23163         * Rules (run-bench): Use it.
23164         * math/Makefile (run-regen-ulps): Likewise.
23165
23166         * Rules (bench): Remove eval.
23167
23168 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23169             Roland McGrath  <roland@hack.frob.com>
23170             Ondrej Bilka  <neleai@seznam.cz>
23171
23172         [BZ #15346]
23173         * time/getdate.c: Include ctype.h and alloca.h.
23174         (__getdate_r): Trim leading and trailing spaces of input.
23175         * time/tst-getdate.c (tests): Add tests with leading and
23176         trailing spaces.
23177
23178 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23179
23180         [BZ #14280]
23181         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23182         when computing value.
23183
23184 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23185
23186         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23187         Use testrun.sh to run libm tests.
23188
23189         [BZ #15309]
23190         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23191
23192 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23193
23194         [BZ #15264]
23195         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23196
23197 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23198
23199         * Makefile.in (regen-ulps): New target.
23200         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23201         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23202         [ifneq (no,$(PERL)] (regen-ulps): New target.
23203         [ifeq (no,$(PERL)] (regen-ulps): New target.
23204         * math/libm-test.inc (ulps_file_name): Define.
23205         (output_dir): New variable.
23206         (options): Add "output-dir" option.
23207         (parse_opt): Handle 'o' case.
23208         (main): If output_dir is non-NULL use it as a prefix
23209         otherwise use "".
23210         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23211
23212 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23213
23214         [BZ #10060, #10062]
23215         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23216         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23217         fail configure if __sync_val_compare_and_swap is not inlined.
23218         * sysdeps/i386/configure: Regenerate.
23219         * configure.in: Build for i686 when configured for i386.
23220         * configure: Regenerate.
23221         * README: Remove i386 reference.
23222
23223 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23224
23225         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23226         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23227
23228 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23229
23230         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23231         (lmsnanval): New variables.
23232         (F): Add conversion tests.
23233         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23234         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23235
23236         * stdio-common/tstdiomisc.c (F): Properly collect individual
23237         tests' results.
23238
23239         [BZ #14686, #15336]
23240         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23241         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23242         Instead, use input NaN values or generate a qNaN by arithmetic
23243         operation.  Also fix bugs to comply with the standard.
23244         * math/libm-test.inc (remainder_test): Add more tests.
23245
23246         [BZ #15335, #15342]
23247         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23248         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23249         input NaN values or generate a qNaN by arithmetic operation.
23250
23251         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23252         unreachable code.
23253
23254         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23255         definitions.
23256
23257 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23258
23259         [BZ #14478]
23260         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23261         underflowed result.
23262         * math/s_cexpf.c (__cexpf): Likewise.
23263         * math/s_cexpl.c (__cexpl): Likewise.
23264         * math/libm-test.inc (cexp_test): Add more tests.
23265
23266 2013-04-03  Andreas Schwab  <schwab@suse.de>
23267
23268         [BZ #15330]
23269         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23270         order arrays from heap if bigger than alloca cutoff.
23271
23272 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23273
23274         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23275         (SNAN_TESTS_double): Refer to GCC PR56831.
23276         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23277         GCC PR56828.
23278
23279 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23280
23281         * Rules (bench): Move bench.out after the run is complete.
23282
23283         * Rules (bench): Echo currently running benchmark.
23284
23285         * benchtests/Makefile (bench): Add atan and slowatan.
23286         * benchtests/atan-inputs: New file.
23287         * benchtests/slowatan-inputs: New file.
23288         * benchtests/slowatan.c: New file.
23289
23290         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23291         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23292         its value.
23293
23294         [BZ #15305]
23295         * sysdeps/unix/sysv/linux/kernel-features.h
23296         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23297         __ASSUME_XFS_RESTRICTED_CHOWN.
23298         * sysdeps/unix/sysv/linux/pathconf.c
23299         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23300         Save and restore errno.
23301
23302 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23303
23304         [BZ #15327]
23305         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23306         arguments using __kernel_casinh.
23307         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23308         arguments using __kernel_casinhf.
23309         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23310         arguments using __kernel_casinhl.
23311         * math/libm-test.inc (cacosh_test): Add more tests.
23312         * sysdeps/i386/fpu/libm-test-ulps: Update.
23313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314
23315 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23316
23317         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23318         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23319
23320         * bench/Makefile (bench): Add sin and slowsin.
23321         * benchtests/sin-inputs: New file.
23322         * benchtests/slowsin-inputs: New file.
23323         * benchtests/slowsin.c: New file.
23324
23325         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23326         (bench): Add slowexp and slowpow.
23327         (exp-ITER): Increase iterations.
23328         (pow-ITER): Likewise.
23329         * benchtests/exp-inputs: Change input.
23330         * benchtests/pow-inputs: Likewise.
23331         * benchtests/slowexp-inputs: New file.
23332         * benchtests/slowexp.c: New file.
23333         * benchtests/slowpow-inputs: New file.
23334         * benchtests/slowpow.c: New file.
23335
23336 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23337
23338         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23339         instructions.
23340         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23341         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23342         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23343         * benchtests/Makefile: Add rint benchtest.
23344         * benchtests/rint-inputs: Input for rint benchtest.
23345
23346 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23347
23348         * Versions.def (libm): Add GLIBC_2.18.
23349         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23350         hidden libm prototypes.
23351         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23352         * math/Makefile (libm-calls): Add s_issignaling.
23353         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23354         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23355         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23356         declaration.
23357         * math/math.h [__USE_GNU] (issignaling): New macro.
23358         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23359         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23360         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23361         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23362         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23363         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23364         * manual/arith.texi (issignaling): New section.
23365         * manual/libm-err-tab.pl (@all_functions): Update comment.
23366         * math/gen-libm-test.pl (parse_args): Apply special handling for
23367         issignaling.
23368         * math/libm-test.inc (print_float, issignaling_test): New
23369         functions.
23370         (check_float_internal): Add issignaling checks.
23371         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23372         default definition.
23373         * sysdeps/powerpc/math-tests.h: New file.
23374         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23375         tests.
23376         * math/test-snan.c (TEST_FUNC): Likewise.
23377
23378 2013-03-30  David S. Miller  <davem@davemloft.net>
23379
23380         * po/de.po: Update from translation team.
23381
23382 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23383
23384         [BZ #10357]
23385         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23386         imaginary part less than 1.0 and real part less than 0.5
23387         specially.
23388         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23389         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23390         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23391         (cacos_test): Add more tests.
23392         (casin_test): Likewise.
23393         (casinh_test): Likewise.
23394         * sysdeps/i386/fpu/libm-test-ulps: Update.
23395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23396
23397 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23398
23399         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23400         ONE with its value.
23401
23402         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23403         (__pow_mp): Replace ONE and MONE with their values.
23404         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23405         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23406         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23407         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23408         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23409         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23410
23411         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23412
23413         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23414         (__pow_mp): Replace ZERO and MZERO with their values.
23415         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23416         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23417         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23419         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23420         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23421         (__sqr): Likewise.
23422
23423         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23424
23425         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23426
23427 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23428
23429         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23430         Declare with __attribute__ ((weak)).
23431         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23432         Call __call_tls_dtors only if it's not NULL.
23433
23434 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23435
23436         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23437         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23438         magic __ehdr_start linker symbol if it's defined.
23439         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23440         them up here if it was already done.
23441
23442         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23443         (_dl_aux_init): Use const in cast when setting it.
23444         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23445         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23446         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23447
23448         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23449         Declare them here.
23450         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23451         * csu/libc-tls.c: Nor here.
23452         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23453
23454         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23455         (__libc_message): Never call vsyslog.
23456
23457 2013-03-28  Alan Modra  <amodra@gmail.com>
23458
23459         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23460         Define as empty.
23461         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23462         Likewise.
23463
23464 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23465
23466         [BZ #15214]
23467         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23468         underflow.
23469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23470
23471 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23472
23473         [BZ #15304]
23474         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23475         Don't add gid passed as argument.
23476
23477         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23478
23479 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23480
23481         [BZ #15307]
23482         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23483         imaginary part between 1.0 and 1.5 and real part less than 0.5
23484         specially.
23485         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23486         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23487         * math/libm-test.inc (cacos_test): Add more tests.
23488         (casin_test): Likewise.
23489         (casinh_test): Likewise.
23490         * sysdeps/i386/fpu/libm-test-ulps: Update.
23491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23492
23493 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23494
23495         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23496         constants.
23497         (norm): Likewise.
23498         (denorm): Likewise.
23499         (__dbl_mp): Likewise.
23500         (add_magnitudes): Likewise.
23501         (sub_magnitudes): Likewise.
23502         (__add): Likewise.
23503         (__sub): Likewise.
23504         (__mul): Likewise.
23505         (__sqr): Likewise.
23506         (__inv): Likewise.
23507         (__dvd): Likewise.
23508
23509         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23510         commented code.
23511         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23512         (__dubcos): Likewise.
23513         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23514         (__ieee754_acos): Likewise.
23515         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23516         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23517         (__exp1): Likewise.
23518         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23519         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23520         (log1): Likewise.
23521         (my_log2): Likewise.
23522         (checkint): Likewise.
23523         * sysdeps/ieee754/dbl-64/e_remainder.c
23524         (__ieee754_remainder): Likewise.
23525         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23527         (bsloww): Likewise.
23528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23529
23530         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23531         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23532         MANTISSA_STORE_T to store computations on mantissa.  Use
23533         macros for rounding and division.
23534         (denorm): Likewise.
23535         (__dbl_mp): Likewise.
23536         (add_magnitudes): Likewise.
23537         (sub_magnitudes): Likewise.
23538         (__mul): Likewise.
23539         (__sqr): Likewise.
23540         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23541         powers of two in terms of TWOPOW macro.
23542         (mp_no): Make type of mantissa as MANTISSA_T.
23543         [!RADIXI]: Define RADIXI.
23544         [!TWO52]: Define TWO52.
23545         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23546
23547 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23548
23549         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23550         llroundl symbol when building for PPC32.
23551
23552 2013-03-24  Mark H Weaver  <mhw@netris.org>
23553
23554         * manual/arith.texi (Normalization Functions): Fix prototypes for
23555         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23556
23557 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23558
23559         [BZ #13889]
23560         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23561         high value to check if expl overflow.
23562         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23563         to check for underflow and overflow.
23564         * math/libm-test.inc: Add exp test.
23565
23566 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23567
23568         [BZ #11120]
23569         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23570         with NOT_IN_libc.
23571
23572 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23573
23574         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23575         symbol.
23576
23577 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23578
23579         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23580         wrap blocks consisting of several statements.
23581
23582         * sysdeps/generic/math-tests.h: New file.
23583         * sysdeps/i386/fpu/math-tests.h: Likewise.
23584         * math/test-snan.c: Include it.
23585         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23586
23587 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23588
23589         [BZ #15285]
23590         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23591         (__ieee754_j0l): Do not improve calculations using cos of twice
23592         input for inputs above LDBL_MAX / 2.0L.
23593         (__ieee754_y0l): Likewise.
23594         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23595         (__ieee754_j1l): Do not improve calculations using cos of twice
23596         input for inputs above LDBL_MAX / 2.0L.
23597         (__ieee754_y1l): Likewise.
23598         * math/libm-test.inc (j0_test): Add another test.
23599         (j1_test): Likewise.
23600         (y0_test): Likewise.
23601         (y1_test): Likewise.
23602         * sysdeps/i386/fpu/libm-test-ulps: Update.
23603
23604 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23605
23606         * Rules ($(objpfx)bench-%.c): Include code from a C source
23607         file.
23608
23609 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23610
23611         [BZ #15287]
23612         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23613         imaginary part 1.0 and real part less than 0.5 specially.
23614         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23615         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23616         * math/libm-test.inc (cacos_test): Add more tests.
23617         (casin_test): Likewise.
23618         (casinh_test): Likewise.
23619         * sysdeps/i386/fpu/libm-test-ulps: Update.
23620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23621
23622 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23623
23624         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23625         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23626
23627 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23628
23629         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23630         * config.make.in (config-cflags-sse4): Remove variable.
23631         (config-cflags-avx): Likewise.
23632         (config-cflags-sse2avx): Likewise.
23633         (config-cflags-novzeroupper): Likewise.
23634         (config-asflags-i686): Likewise.
23635         (have-mfma4): Likewise.
23636         (have-as-vis3): Likewise.
23637         (MIG): Likewise.
23638         * configure.in (MIG): Do not AC_SUBST.
23639         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23640         (libc_cv_cc_sse4): Do not AC_SUBST.
23641         (libc_cv_cc_avx): Likewise.
23642         (libc_cv_cc_sse2avx): Likewise.
23643         (libc_cv_cc_novzeroupper): Likewise.
23644         (libc_cv_cc_fma4): Likewise.
23645         (libc_cv_as_i686): Likewise.
23646         (libc_cv_sparc_as_vis3): Likewise.
23647         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23648         LIBC_CONFIG_VAR.
23649         (config-asflags-i686): Likewise.
23650         (config-cflags-avx): Likewise.
23651         (config-cflags-sse2avx): Likewise.
23652         (have-mfma4): Likewise.
23653         (config-cflags-novzeroupper): Likewise.
23654         * sysdeps/mach/configure.in (MIG): Likewise.
23655         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23656         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23657         LIBC_CONFIG_VAR.
23658         (config-cflags-avx): Likewise.
23659         (config-cflags-sse2avx): Likewise.
23660         (have-mfma4): Likewise.
23661         (config-cflags-novzeroupper): Likewise.
23662         * configure: Regenerated.
23663         * sysdeps/i386/configure: Likewise.
23664         * sysdeps/mach/configure: Likewise.
23665         * sysdeps/sparc/configure: Likewise.
23666         * sysdeps/x86_64/configure: Likewise.
23667
23668 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23669
23670         [BZ #14812]
23671         * locale/programs/localedef.c (options): Put N_ translation marker
23672         on argument names, not just descriptions.
23673
23674 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23675
23676         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23677
23678 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23679
23680         [BZ #14176]
23681         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23682
23683 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23684
23685         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23686         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23687         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23688         [!BEFORE_ABORT] (before_abort): New function.
23689         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23690         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23691         (writev_for_fatal): New function.
23692         (WRITEV_FOR_FATAL): New macro; call that.
23693         (backtrace_and_maps): New function.
23694         (BEFORE_ABORT): New macro; call that.
23695         (struct str_list): Type removed.
23696         (__libc_message, __libc_fatal): Functions removed.
23697         Include <sysdeps/posix/libc_fatal.c> instead.
23698
23699 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23700
23701         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23702         constants.
23703         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23704         double constants.
23705
23706 2013-03-19  Andreas Schwab  <schwab@suse.de>
23707
23708         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23709         * sysdeps/gnu/configure: Regenerate.
23710
23711         * configure.in: Substitute libc_cv_rtlddir.
23712         * configure: Regenerate.
23713         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23714         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23715         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23716         * elf/Makefile (install-others, CFLAGS-interp.c)
23717         (ldso_install, common-ldd-rewrite): Likewise.
23718         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23719         $(inst_slibdir)/$(rtld-installed-name).
23720         * scripts/rellns-sh: Add -p option.
23721         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23722         for source.
23723
23724 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23725
23726         * manual/nptl.texi: Renamed to ...
23727         * manual/threads.texi: ... this.
23728         * manual/Makefile (chapters): Update.
23729
23730 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23731
23732         [BZ #14812]
23733         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23734         on argument names, not just descriptions.
23735         * malloc/memusagestat.c (options): Likewise.
23736         * nss/getent.c (options): Likewise.
23737
23738 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23739
23740         [BZ #14812]
23741         * iconv/iconv_prog.c (options): Put N_ translation marker
23742         on argument names, not just descriptions.
23743         * iconv/iconvconfig.c (options): Likewise.
23744
23745 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23746
23747         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23748         implementation which is faster on all x86_64 architectures.
23749         Tested on AMD, Intel Nehalem, SNB, IVB.
23750         * sysdeps/x86_64/strnlen.S: Likewise.
23751
23752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23753         Remove all multiarch strlen and strnlen versions.
23754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23755         Remove strlen and strnlen related parts.
23756
23757         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23758         Inline strlen part.
23759         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23760
23761         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23762         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23763         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23764         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23765         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23766         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23767
23768 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23769
23770         * manual/memory.texi (Malloc Tunable Parameters):
23771         Sort parameters alphabetically. Add comments for missing entries.
23772
23773 2013-03-17  David S. Miller  <davem@davemloft.net>
23774
23775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23776
23777 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23778
23779         [BZ #15283]
23780         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23781         for arguments at most half maximum finite value.
23782         * math/libm-test.inc (j0_test): Add more tests.
23783         (j1_test): Likewise.
23784         (y0_test): Likewise.
23785         (y1_test): Likewise.
23786         * sysdeps/i386/fpu/libm-test-ulps: Update.
23787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23788
23789         [BZ #14155]
23790         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23791         1 / x and functions P and Q for arguments above 0x1p256L.
23792         (__ieee754_y0l): Likewise.
23793         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23794         (__ieee754_y1l): Likewise.
23795         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23796         (j1_test): Likewise.
23797         (y0_test): Likewise.
23798         (y1_test): Likewise.
23799
23800 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23801
23802         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23803         variable.
23804
23805 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23806
23807         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23808         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23809         zero since it's initialized to EXEC_PAGESIZE.
23810
23811         * sysdeps/unix/sysv/linux/ldsodefs.h
23812         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23813         * sysdeps/generic/ldsodefs.h: ... here.
23814
23815 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23816
23817         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23818
23819         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23820         math/test-snan.c.
23821         * math/test-snan.c: Renamed from
23822         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23823         * math/Makefile (tests): Add test-snan.
23824         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23825         test-powerpc-snan.
23826
23827         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23828         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23829         functions.
23830         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23831         __builtin_nan family of functions.
23832         * math/libm-test.inc (initialize): Initialize qnan_value with
23833         __builtin_nan family of functions.
23834         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23835         Remove variables.
23836         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23837         Remove functions.
23838         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23839         storage class.  Initialize qNaN_var and sNaN_var with
23840         __builtin_nan and __builtin_nans families of functions,
23841         respectively.
23842
23843         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23844         (sqrt_test): Remove duplicate test with qNaN input.
23845         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23846         (round_test, signbit_test, significand_test): Note missing +/-Inf
23847         as well as qNaN tests.
23848
23849         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23850         qNaN_var.  Fix a few strings, too.
23851         * math/libm-test.inc (nan_value): Rename to qnan_value.
23852         * math/gen-libm-test.pl (%beautify): Adjust to that.
23853         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23854         * math/test-misc.c (main): Likewise.
23855         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23856         to __qnan_bytes, and __qnan_union, respectively.
23857         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23858         Likewise.
23859         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23860         and lqnanval, respectively.
23861         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23862         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23863         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23864         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23865
23866         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23867         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23868         doubles.
23869
23870         * math/test-misc.c (main): Fix copy'n'pastos.
23871         * misc/tst-efgcvt.c (special): Likewise.
23872
23873         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23874         Remove declarations.
23875
23876 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23877
23878         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23879         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23880         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23881         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23882
23883 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23884
23885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23886         macro to return vdso values correctly in IFUNC implementations.
23887         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23888         Optimization by using IFUNC.
23889
23890 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23891             Richard Henderson  <rth@redhat.com>
23892             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23893
23894         * Makefile.in (bench): New target.
23895         * NEWS: Mention the benchmark framework.
23896         * Rules (bench): Likewise.
23897         (binaries-bench): Generate binaries for functions to
23898         benchmark.
23899         * benchtests/Makefile: New makefile for benchmark tests.
23900         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23901         programs.
23902         * benchtests/exp-inputs: New input file for EXP function.
23903         * benchtests/pow-inputs: New input file for POW function.
23904         * scripts/bench.pl: New script to generate source files for
23905         benchmark programs.
23906
23907 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23908
23909         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23910         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23911         computations on mantissa.  Use macros for rounding and
23912         division.
23913         (denorm): Likewise.
23914         (__dbl_mp): Likewise.
23915         (add_magnitudes): Likewise.
23916         (sub_magnitudes): Likewise.
23917         (__mul): Likewise.
23918         (__sqr): Likewise.
23919         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23920         powers of two in terms of TWOPOW macro.
23921         (mp_no): Make type of mantissa as MANTISSA_T.
23922         [!RADIXI]: Define RADIXI.
23923         [!TWO52]: Define TWO52.
23924         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23925
23926         * manual/nptl.texi (cindex): Modify threads to pthreads.
23927
23928 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23929
23930         * sysdeps/x86_64/preconfigure: Regenerated.
23931
23932 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23933
23934         [BZ #14155]
23935         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23936         0x1p28 and above.
23937         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23938         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23939         0x1p28 and above.
23940         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23941         * math/libm-test.inc (j0_test): Do not allow one spurious
23942         underflow exception.
23943         (y1_test): Likewise.
23944
23945 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23946
23947         * manual/Makefile (chapters): Add nptl.
23948         * manual/debug.texi (Debugging Support): Add link to Threads
23949         chapter.
23950         * manual/nptl.texi: New file.
23951
23952         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23953
23954 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23955
23956         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23957         for non-NULL pointer before the memory validity test. Pointed
23958         out by Holger Brunck <holger.brunck@keymile.com>.
23959
23960 2013-03-13  Andreas Schwab  <schwab@suse.de>
23961
23962         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23963         instead of .os.
23964
23965 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23966
23967         * timezone/zic.c: Update from tzcode 2013b.
23968
23969 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23970
23971         * manual/install.texi (Configuring and compiling):
23972         Mention i686 and i586.
23973         * INSTALL: Regenerate.
23974
23975 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23976
23977         * sysdeps/init_array/elf-init.c: New file.
23978         * csu/elf-init.c
23979         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23980         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23981
23982         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23983         __gmon_start__ as global, but as static with a .preinit_array pointer.
23984         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23985         * sysdeps/init_array/crti.S: New file, empty except for comments.
23986         * sysdeps/init_array/crtn.S: Likewise.
23987
23988 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23989
23990         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23991         definining bcopy.
23992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23993         Remove Prefer_SSE_for_memop.
23994         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23995         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23996         HAS_PREFER_SSE_FOR_MEMOP.
23997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23998         memset-x86-64.
23999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24000         Remove bzero, memset ifunc support.
24001         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24002         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24003         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24004         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24005
24006 2013-03-11  Andreas Schwab  <schwab@suse.de>
24007
24008         [BZ #15234]
24009         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24010         by SHLIB_COMPAT.
24011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24012         (GLIBC_2.16): Remove pthread_atfork.
24013
24014 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24015
24016         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24017         (ptestcases.h): Likewise.
24018
24019 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24020
24021         * Makeconfig ($(common-objpfx)config.status): Depend on
24022         sysdeps/*/preconfigure{,.in} too.
24023
24024 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24025
24026         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24027         (__free_hook): Use void * instead of __malloc_ptr_t.
24028         (__malloc_hook): Likewise.
24029         (__realloc_hook): Likewise.
24030         (__memalign_hook): Likewise.
24031         (__after_morecore_hook): Likewise.
24032         * malloc/arena.c (save_malloc_hook): Likewise.
24033         (save_free_hook): Likewise.
24034         * malloc/hooks.c (malloc_hook_ini): Likewise.
24035         (realloc_hook_ini): Likewise.
24036         (memalign_hook_ini): Likewise.
24037         * malloc/malloc.c (malloc_hook_ini): Likewise.
24038         (realloc_hook_ini): Likewise.
24039         (memalign_hook_ini): Likewise.
24040         (__free_hook): Likewise.
24041         (__malloc_hook): Likewise.
24042         (__realloc_hook): Likewise.
24043         (__memalign_hook): Likewise.
24044         (__libc_malloc): Likewise.
24045         (__libc_free): Likewise.
24046         (__libc_realloc): Likewise.
24047         (__libc_memalign): Likewise.
24048         (__libc_valloc): Likewise.
24049         (__libc_pvalloc): Likewise.
24050         (__libc_calloc): Likewise.
24051         (__posix_memalign): Likewise.
24052         * malloc/morecore.c (__sbrk): Likewise.
24053         (__default_morecore): Likewise.
24054
24055         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24056
24057         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24058         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24059         __malloc_ptrdiff_t.
24060
24061         * malloc/malloc.h (__malloc_size_t): Remove macro.
24062         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24063         __malloc_size_t.
24064         (old_memalign_hook): Likewise.
24065         (old_realloc_hook): Likewise.
24066         (struct hdr): Likewise.
24067         (flood): Likewise.
24068         (mallochook): Likewise.
24069         (memalignhook): Likewise.
24070         (reallochook): Likewise.
24071         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24072         (tr_old_realloc_hook): Likewise.
24073         (tr_old_memalign_hook): Likewise.
24074         (tr_mallochook): Likewise.
24075         (tr_reallochook): Likewise.
24076         (tr_memalignhook): Likewise.
24077
24078 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24079
24080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24081         default_ldbl_pack and using as default implementation.
24082         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24083         implementation.
24084         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24085         redundant definition.
24086         (ldbl_insert_mantissa): Likewise.
24087         (ldbl_canonicalize): Likewise.
24088         (ldbl_nearbyint): Likewise.
24089         (ldbl_pack): Rename to ldbl_pack_ppc.
24090         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24091         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24092         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24093
24094 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24095
24096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24097         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24098         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24099         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24101         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24102         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24103         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24104
24105 2013-03-07  Andreas Jaeger  <aj@suse.de>
24106
24107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24108         bits/mman-linux.h.
24109
24110 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24111
24112         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24113         Include mpa.h and declare __MPEXP.
24114         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24115         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24116         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24117         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24118         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24119         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24120         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24121
24122         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24123         (__slowpow): Use long double EXPL and LOGL functions to
24124         compute POW.
24125         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24126         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24127         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24128         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24129         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24130         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24131
24132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24133         intermediate variable to calculate exponent.
24134         (__sqr): Likewise.
24135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24136         Likewise.
24137         (__sqr): Likewise.
24138
24139         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24140         [!NO__SQR]: Define __sqr.
24141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24142         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24143         sysdeps/ieee754/dbl-64/mpa.c.
24144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24145
24146         [BZ #12723]
24147         * posix/Makefile (tests): Add tst-pathconf.
24148         * posix/tst-pathconf.c: New test case.
24149         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24150         _PC_PIPE_BUF.
24151         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24152
24153 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24154
24155         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24156
24157 2013-03-06  Andreas Jaeger  <aj@suse.de>
24158
24159         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24160         definition via __MAP_ANONYMOUS.
24161
24162         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24163         it's not part of Linux headers.
24164
24165         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24166         (MAP_HUGE_MASK): Define.
24167
24168         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24169         Define.
24170         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24171         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24172         Define.
24173         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24174         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24175         Define.
24176         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24177         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24178         Define.
24179         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24180
24181         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24182         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24183         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24184         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24185         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24186         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24187
24188         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24189         Handle f2fs.
24190
24191         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24192         Handle f2fs and efivarfs.
24193
24194         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24195         f2fs.
24196
24197         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24198         (EFIVARFS_MAGIC): Add.
24199         (F2FS_LINK_MAX): Add.
24200
24201 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24202
24203         * stdio-common/vfprintf.c: Replace __builtin_expect with
24204         __glibc_unlikely.
24205
24206 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24207
24208         [BZ #13550]
24209         * sysdeps/generic/bp-sym.h: Remove file.
24210         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24211         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24212         <bp-sym.h> and <bp-asm.h>.
24213         (__longjmp): Don't use BP_SYM.
24214         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24215         and <bp-asm.h>.
24216         (memcpy): Don't use BP_SYM.
24217         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24218         <bp-sym.h> and <bp-asm.h>.
24219         (memcpy): Don't use BP_SYM.
24220         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24221         <bp-asm.h>.
24222         (memcpy): Don't use BP_SYM.
24223         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24224         <bp-asm.h>.
24225         (memset): Don't use BP_SYM.
24226         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24227         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24228         (__bzero): Don't use BP_SYM.
24229         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24230         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24231         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24232         <bp-sym.h> and <bp-asm.h>.
24233         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24234         pointers.
24235         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24236         <bp-sym.h> and <bp-asm.h>.
24237         (memcpy): Don't use BP_SYM.
24238         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24239         <bp-sym.h> and <bp-asm.h>.
24240         (memset): Don't use BP_SYM.
24241         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24242         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24243         (__bzero): Don't use BP_SYM.
24244         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24245         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24246         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24247         <bp-sym.h> and <bp-asm.h>.
24248         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24249         pointers.
24250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24251         <bp-sym.h> and <bp-asm.h>.
24252         (memcpy): Don't use BP_SYM.
24253         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24254         <bp-sym.h> and <bp-asm.h>.
24255         (memset): Don't use BP_SYM.
24256         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24257         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24258         (__bzero): Don't use BP_SYM.
24259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24261         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24262         <bp-sym.h> and <bp-asm.h>.
24263         (__memchr): Don't use BP_SYM.
24264         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24265         <bp-sym.h> and <bp-asm.h>.
24266         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24267         pointers.
24268         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24269         <bp-sym.h> and <bp-asm.h>.
24270         (memcpy): Don't use BP_SYM.
24271         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24272         <bp-sym.h> and <bp-asm.h>.
24273         (__mempcpy): Don't use BP_SYM.
24274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24275         <bp-sym.h> and <bp-asm.h>.
24276         (__memrchr): Don't use BP_SYM.
24277         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24278         <bp-sym.h> and <bp-asm.h>.
24279         (memset): Don't use BP_SYM.
24280         (__bzero): Likewise.
24281         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24282         <bp-sym.h> and <bp-asm.h>.
24283         (__rawmemchr): Don't use BP_SYM.
24284         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24285         <bp-sym.h> and <bp-asm.h>.
24286         (__STRCMP): Don't use BP_SYM.
24287         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24288         <bp-sym.h> and <bp-asm.h>.
24289         (strchr): Don't use BP_SYM.
24290         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24291         <bp-sym.h> and <bp-asm.h>.
24292         (__strchrnul): Don't use BP_SYM.
24293         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24294         <bp-sym.h> and <bp-asm.h>.
24295         (strlen): Don't use BP_SYM.
24296         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24297         <bp-sym.h> and <bp-asm.h>.
24298         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24299         pointers.
24300         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24301         <bp-sym.h> and <bp-asm.h>.
24302         (__strnlen): Don't use BP_SYM.
24303         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24304         <bp-sym.h> and <bp-asm.h>.
24305         (__GI__setjmp): Don't use BP_SYM.
24306         (_setjmp): Likewise.
24307         (__sigsetjmp): Likewise.
24308         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24309         (L(start_addresses)): Don't use BP_SYM.
24310         (_start): Likewise.
24311         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24312         <bp-asm.h>.
24313         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24314         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24315         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24316         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24317         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24318         <bp-asm.h>.
24319         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24320         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24321         about bounded pointers.
24322         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24323         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24324         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24325         <bp-asm.h>.
24326         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24327         about bounded pointers.  Remove GKM FIXME comments.
24328         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24329         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24330         <bp-asm.h>.
24331         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24332         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24333         Remove GKM FIXME comments.
24334         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24335         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24336         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24337         <bp-asm.h>.
24338         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24339         about bounded pointers.  Remove GKM FIXME comment.
24340         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24341         and <bp-asm.h>.
24342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24343         pointers.
24344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24345         <bp-sym.h> and <bp-asm.h>.
24346         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24348         <bp-sym.h> and <bp-asm.h>.
24349         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24350         comment.
24351
24352 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24353
24354         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24355         call free(NULL).
24356
24357 2013-03-05  David S. Miller  <davem@davemloft.net>
24358
24359         * po/es.po: Update from translation team.
24360
24361 2013-03-05  Andreas Jaeger  <aj@suse.de>
24362
24363         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24364         <bits/mman-linux.h>.
24365         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24366         is fine.
24367         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24368         <bits/mman-linux.h> to end of file.
24369         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24370         is fine.
24371         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24372         <bits/mman-linux.h> to end of file.
24373         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24374         is fine.
24375         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24376         <bits/mman-linux.h> to end of file.
24377
24378         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24379         (MCL_CURRENT, MCL_FUTURE): Define here.
24380
24381 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24382
24383         [BZ #15232]
24384         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24385         attribute_hidden.
24386         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24387
24388 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24389
24390         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24391         fourth parameter needed for rt_sigprocmask syscall.
24392         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24393         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24394         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24395         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24396         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24397         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24398
24399 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24400
24401         [BZ #13550]
24402         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24403         comment about bounded pointers.
24404         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24405         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24406
24407 2013-03-04  Andreas Jaeger  <aj@suse.de>
24408
24409         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24410         common definitions.
24411
24412         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24413         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24414         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24415         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24416         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24417         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24418
24419 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420
24421         [BZ #15055]
24422         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24423         __ieee754_sqrl instead of __sqrl.
24424
24425 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24426
24427         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24428         * sysdeps/powerpc/fpu_control.h: ... here.
24429         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24430         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24431         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24432         * sysdeps/powerpc/bits/mathinline.h: ... here.
24433
24434 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24435
24436         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24437         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24438         to just [NEED_DL_SYSINFO_DSO].
24439         * elf/dl-support.c: Likewise.
24440         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24441         * elf/rtld.c (dl_main): Likewise.
24442         * elf/setup-vdso.h (setup_vdso): Likewise.
24443         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24444         * sysdeps/unix/sysv/linux/dl-sysdep.c
24445         (_dl_discover_osversion): Likewise.
24446
24447 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24448
24449         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24450         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24451
24452 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24453
24454         * NEWS: Mention libm performance improvements and non-x86 PI
24455         futex support.
24456
24457         * csu/libc-start.c (__pthread_initialize_minimal): Change
24458         function arguments.
24459         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24460
24461 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24462
24463         [BZ #13550]
24464         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24465         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24466         <bp-sym.h> and <bp-asm.h>.
24467         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24468         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24469         and <bp-asm.h>.
24470         (memcpy): Don't use BP_SYM.
24471         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24472         <bp-asm.h>.
24473         (__mpn_add_n): Don't use BP_SYM.
24474         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24475         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24476         and <bp-asm.h>.
24477         (__mpn_addmul_1): Don't use BP_SYM.
24478         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24479         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24480         <bp-sym.h>.
24481         (_setjmp): Don't use BP_SYM.
24482         (__novmx_setjmp): Likewise.
24483         (__GI__setjmp): Likewise.
24484         (__vmx_setjmp): Likewise.
24485         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24486         <bp-sym.h>.
24487         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24488         (__bzero): Don't use BP_SYM.
24489         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24490         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24491         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24492         <bp-sym.h> and <bp-asm.h>.
24493         (memcpy): Don't use BP_SYM.
24494         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24495         <bp-sym.h> and <bp-asm.h>.
24496         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24497         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24498         <bp-sym.h> and <bp-asm.h>.
24499         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24500         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24501         <bp-asm.h>.
24502         (__mpn_lshift): Don't use BP_SYM.
24503         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24504         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24505         <bp-asm.h>.
24506         (memset): Don't use BP_SYM.
24507         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24508         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24509         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24510         <bp-asm.h>.
24511         (__mpn_mul_1): Don't use BP_SYM.
24512         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24513         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24514         <bp-sym.h> and <bp-asm.h>.
24515         (memcmp): Don't use BP_SYM.
24516         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24517         <bp-sym.h> and <bp-asm.h>.
24518         (memcpy): Don't use BP_SYM.
24519         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24520         <bp-sym.h> and <bp-asm.h>.
24521         (memset): Don't use BP_SYM.
24522         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24523         <bp-sym.h> and <bp-asm.h>.
24524         (strncmp): Don't use BP_SYM.
24525         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24526         <bp-sym.h> and <bp-asm.h>.
24527         (memcpy): Don't use BP_SYM.
24528         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24529         <bp-sym.h> and <bp-asm.h>.
24530         (memset): Don't use BP_SYM.
24531         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24532         <bp-sym.h> and <bp-asm.h>.
24533         (__memchr): Don't use BP_SYM.
24534         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24535         <bp-sym.h> and <bp-asm.h>.
24536         (memcmp): Don't use BP_SYM.
24537         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24538         <bp-sym.h> and <bp-asm.h>.
24539         (memcpy): Don't use BP_SYM.
24540         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24541         <bp-sym.h> and <bp-asm.h>.
24542         (__mempcpy): Don't use BP_SYM.
24543         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24544         <bp-sym.h> and <bp-asm.h>.
24545         (__memrchr): Don't use BP_SYM.
24546         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24547         <bp-sym.h> and <bp-asm.h>.
24548         (memset): Don't use BP_SYM.
24549         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24550         <bp-sym.h> and <bp-asm.h>.
24551         (__rawmemchr): Don't use BP_SYM.
24552         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24553         <bp-sym.h> and <bp-asm.h>.
24554         (__STRCMP): Don't use BP_SYM.
24555         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24556         <bp-sym.h> and <bp-asm.h>.
24557         (strchr): Don't use BP_SYM.
24558         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24559         <bp-sym.h> and <bp-asm.h>.
24560         (__strchrnul): Don't use BP_SYM.
24561         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24562         <bp-sym.h> and <bp-asm.h>.
24563         (strlen): Don't use BP_SYM.
24564         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24565         <bp-sym.h> and <bp-asm.h>.
24566         (strncmp): Don't use BP_SYM.
24567         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24568         <bp-sym.h> and <bp-asm.h>.
24569         (__strnlen): Don't use BP_SYM.
24570         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24571         <bp-asm.h>.
24572         (__mpn_rshift): Don't use BP_SYM.
24573         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24574         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24575         <bp-sym.h> and <bp-asm.h>.
24576         (__sigsetjmp): Don't use BP_SYM.
24577         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24578         (L(start_addresses)): Don't use BP_SYM.
24579         (_start): Likewise.
24580         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24581         <bp-asm.h>.
24582         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24583         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24584         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24585         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24586         <bp-asm.h>.
24587         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24588         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24589         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24590         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24591         <bp-asm.h>.
24592         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24593         comments.
24594         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24595         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24596         <bp-asm.h>.
24597         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24598         FIXME comments.
24599         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24600         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24601         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24602         <bp-asm.h>.
24603         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24604         comment.
24605         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24606         and <bp-asm.h>.
24607         (strncmp): Don't use BP_SYM,
24608         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24609         <bp-asm.h>.
24610         (__mpn_sub_n): Don't use BP_SYM.
24611         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24612         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24613         and <bp-asm.h>.
24614         (__mpn_submul_1): Don't use BP_SYM.
24615         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24617         <bp-sym.h> and <bp-asm.h>.
24618         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24620         <bp-sym.h> and <bp-asm.h>.
24621         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24622         comment.
24623
24624 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24625
24626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24627         Use ZK to minimize writes to Z.
24628         (sub_magnitudes): Simplify code a bit.
24629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24630         Use ZK to minimize writes to Z.
24631         (sub_magnitudes): Simplify code a bit.
24632
24633 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24634
24635         * csu/gmon-start.c: Add special exception to license text.
24636
24637 2013-02-27  Richard Henderson  <rth@redhat.com>
24638
24639         * scripts/config.guess: Update from config.git.
24640         * scripts/config.sub: Likewise.
24641
24642 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24643
24644         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24645
24646         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24647
24648         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24649
24650         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24651
24652         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24653
24654 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24655
24656         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24657         [$(build-shared = yes].
24658
24659 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24660
24661         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24662         (__mul): Reduce iterations for calculating mantissa.
24663
24664         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24665         MPTWO.
24666         (__mpranred): Likewise.
24667
24668         [BZ #15160]
24669         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24670         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24671
24672 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24673
24674         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24675         Define __attribute__.
24676
24677 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24678
24679         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24680         unused.
24681         * posix/regex_internal.h (__attribute): Remove.
24682         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24683         (re_string_context_at): Likewise.
24684         (bitset_not): Use __attribute__ and mark function as possibly
24685         unused.
24686         (bitset_merge): Likewise.
24687         (bitset_mask): Likewise.
24688         (re_string_char_size_at): Likewise.
24689         (re_string_wchar_at): Likewise.
24690         (re_string_elem_size_at): Likewise.
24691
24692 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693
24694         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24695         code.
24696         (cc32): Likewise.
24697
24698         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24699         (__acr): Likewise.
24700         (__cpy): Likewise.
24701         (norm): Likewise.
24702         (denorm): Likewise.
24703         (__dbl_mp): Likewise.
24704         (add_magnitudes): Likewise.
24705         (sub_magnitudes): Likewise.
24706         (__mul): Likewise.
24707         (__inv): Likewise.
24708
24709         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24710         style.
24711
24712         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24713         style.
24714
24715         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24716         code.
24717
24718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24719         up changes with default code.
24720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24721         Likewise.
24722
24723 2013-02-24  Allan McRae  <allan@archlinux.org>
24724
24725         * manual/socket.texi (The Internet Namespace): Order menu items
24726         to match that in the file.
24727
24728         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24729         node listing of the info page menu.
24730
24731 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24732
24733         [BZ #13550]
24734         * sysdeps/i386/bp-asm.h: Remove file.
24735         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24736         (PARMS): Do not use macros from bp-asm.h.
24737         (S1): Likewise.
24738         (S2): Likewise.
24739         (SIZE): Likewise.
24740         (__mpn_add_n): Do not use BP_SYM
24741         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24742         "bp-asm.h".
24743         (PARMS): Do not use macros from bp-asm.h.
24744         (S1): Likewise.
24745         (SIZE): Likewise.
24746         (__mpn_addmul_1): Do not use BP_SYM
24747         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24748         "bp-asm.h".
24749         (PARMS): Do not use macros from bp-asm.h.
24750         (SIGMSK): Likewise.
24751         (_setjmp): Likewise.  Do not use BP_SYM.
24752         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24753         "bp-asm.h".
24754         (PARMS): Do not use macros from bp-asm.h.
24755         (SIGMSK): Likewise.
24756         (setjmp): Likewise.  Do not use BP_SYM.
24757         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24758         "bp-asm.h".
24759         (PARMS): Do not use macros from bp-asm.h.
24760         (__frexp): Do not use BP_SYM.
24761         (frexp): Likewise.
24762         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24763         "bp-asm.h".
24764         (PARMS): Do not use macros from bp-asm.h.
24765         (__frexpf): Do not use BP_SYM.
24766         (frexpf): Likewise.
24767         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24768         "bp-asm.h".
24769         (PARMS): Do not use macros from bp-asm.h.
24770         (__frexpl): Do not use BP_SYM.
24771         (frexpl): Likewise.
24772         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24773         "bp-asm.h".
24774         (PARMS): Do not use macros from bp-asm.h.
24775         (__remquo): Do not use BP_SYM.
24776         (remquo): Likewise.
24777         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24778         "bp-asm.h".
24779         (PARMS): Do not use macros from bp-asm.h.
24780         (__remquof): Do not use BP_SYM.
24781         (remquof): Likewise.
24782         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24783         "bp-asm.h".
24784         (PARMS): Do not use macros from bp-asm.h.
24785         (__remquol): Do not use BP_SYM.
24786         (remquol): Likewise.
24787         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24788         "bp-asm.h".
24789         (PARMS): Do not use macros from bp-asm.h.
24790         (DEST): Likewise.
24791         (SRC): Likewise.
24792         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24793         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24794         "bp-asm.h".
24795         (PARMS): Do not use macros from bp-asm.h.
24796         (strlen): Do not use BP_SYM.
24797         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24798         "bp-asm.h".
24799         (PARMS): Do not use macros from bp-asm.h.
24800         (S1): Likewise.
24801         (S2): Likewise.
24802         (SIZE): Likewise.
24803         (__mpn_add_n): Do not use BP_SYM.
24804         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24805         "bp-asm.h".
24806         (PARMS): Do not use macros from bp-asm.h.
24807         (S1): Likewise.
24808         (SIZE): Likewise.
24809         (__mpn_addmul_1): Do not use BP_SYM.
24810         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24811         weak_alias.
24812         (bzero): Likewise.
24813         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24814         "bp-asm.h".
24815         (PARMS): Do not use macros from bp-asm.h.
24816         (S): Likewise.
24817         (SIZE): Likewise.
24818         (__mpn_lshift): Do not use BP_SYM.
24819         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24820         "bp-asm.h".
24821         (PARMS): Do not use macros from bp-asm.h.
24822         (DEST): Likewise.
24823         (SRC): Likewise.
24824         (LEN): Likewise.
24825         (memcpy): Likewise.  Do not use BP_SYM.
24826         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24827         libc_hidden_def and weak_alias.
24828         (mempcpy): Do not use BP_SYM in weak_alias.
24829         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24830         "bp-asm.h".
24831         (PARMS): Do not use macros from bp-asm.h.
24832         (DEST): Likewise.
24833         (LEN): Likewise.
24834         [!BZERO_P] (CHR): Likewise.
24835         (memset): Likewise.  Do not use BP_SYM.
24836         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24837         "bp-asm.h".
24838         (PARMS): Do not use macros from bp-asm.h.
24839         (S1): Likewise.
24840         (SIZE): Likewise.
24841         (__mpn_mul_1): Do not use BP_SYM.
24842         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24843         "bp-asm.h".
24844         (PARMS): Do not use macros from bp-asm.h.
24845         (S): Likewise.
24846         (SIZE): Likewise.
24847         (__mpn_rshift): Do not use BP_SYM.
24848         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24849         "bp-asm.h".
24850         (PARMS): Do not use macros from bp-asm.h.
24851         (STR): Likewise.
24852         (CHR): Likewise.
24853         (strchr): Likewise.  Do not use BP_SYM.
24854         (index): Do not use BP_SYM in weak_alias.
24855         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24856         "bp-asm.h".
24857         (PARMS): Do not use macros from bp-asm.h.
24858         (DEST): Likewise.
24859         (SRC): Likewise.
24860         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24861         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24862         "bp-asm.h".
24863         (PARMS): Do not use macros from bp-asm.h.
24864         (strlen): Do not use BP_SYM.
24865         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24866         "bp-asm.h".
24867         (PARMS): Do not use macros from bp-asm.h.
24868         (S1): Likewise.
24869         (S2): Likewise.
24870         (SIZE): Likewise.
24871         (__mpn_sub_n): Do not use BP_SYM.
24872         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24873         "bp-asm.h".
24874         (PARMS): Do not use macros from bp-asm.h.
24875         (S1): Likewise.
24876         (SIZE): Likewise.
24877         (__mpn_submul_1): Do not use BP_SYM.
24878         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24879         "bp-asm.h".
24880         (PARMS): Do not use macros from bp-asm.h.
24881         (S1): Likewise.
24882         (S2): Likewise.
24883         (SIZE): Likewise.
24884         (__mpn_add_n): Do not use BP_SYM.
24885         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24886         weak_alias.
24887         (bzero): Likewise.
24888         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24889         "bp-asm.h".
24890         (PARMS): Do not use macros from bp-asm.h.
24891         (BLK2): Likewise.
24892         (LEN): Likewise.
24893         (memcmp): Do not use BP_SYM.
24894         (bcmp): Do not use BP_SYM in weak_alias.
24895         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24896         "bp-asm.h".
24897         (PARMS): Do not use macros from bp-asm.h.
24898         (DEST): Likewise.
24899         (SRC): Likewise.
24900         (LEN): Likewise.
24901         (memcpy): Likewise.  Do not use BP_SYM.
24902         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24903         "bp-asm.h".
24904         (PARMS): Do not use macros from bp-asm.h.
24905         (DEST): Likewise.
24906         (SRC): Likewise.
24907         (LEN): Likewise.
24908         (memmove): Likewise.  Do not use BP_SYM.
24909         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24910         "bp-asm.h".
24911         (PARMS): Do not use macros from bp-asm.h.
24912         (DEST): Likewise.
24913         (SRC): Likewise.
24914         (LEN): Likewise.
24915         (__mempcpy): Likewise.  Do not use BP_SYM.
24916         (mempcpy): Do not use BP_SYM in weak_alias.
24917         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24918         "bp-asm.h".
24919         (PARMS): Do not use macros from bp-asm.h.
24920         (DEST): Likewise.
24921         (LEN): Likewise.
24922         [!BZERO_P] (CHR): Likewise.
24923         (memset): Likewise.  Do not use BP_SYM.
24924         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24925         "bp-asm.h".
24926         (PARMS): Do not use macros from bp-asm.h.
24927         (STR2): Likewise.
24928         (strcmp): Do not use BP_SYM.
24929         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24930         "bp-asm.h".
24931         (PARMS): Do not use macros from bp-asm.h.
24932         (STR): Likewise.
24933         (DELIM): Likewise.
24934         [USE_AS_STRTOK_R] (SAVE): Likewise.
24935         (FUNCTION): Likewise.  Do not use BP_SYM.
24936         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24937         aliases.
24938         (strtok_r): Likewise.
24939         (__GI___strtok_r): Likewise.
24940         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24941         (PARMS): Do not use macros from bp-asm.h.
24942         (S): Likewise.
24943         (SIZE): Likewise.
24944         (__mpn_lshift): Do not use BP_SYM.
24945         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24946         (PARMS): Do not use macros from bp-asm.h.
24947         (STR): Likewise.
24948         (CHR): Likewise.
24949         (__memchr): Do not use BP_SYM.
24950         (memchr): Do not use BP_SYM in weak_alias.
24951         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24952         (PARMS): Do not use macros from bp-asm.h.
24953         (BLK2): Likewise.
24954         (LEN): Likewise.
24955         (memcmp): Do not use BP_SYM.
24956         (bcmp): Do not use BP_SYM in weak_alias.
24957         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24958         (PARMS): Do not use macros from bp-asm.h.
24959         (S1): Likewise.
24960         (SIZE): Likewise.
24961         (__mpn_mul_1): Do not use BP_SYM.
24962         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24963         "bp-asm.h".
24964         (PARMS): Do not use macros from bp-asm.h.
24965         (STR): Likewise.
24966         (CHR): Likewise.
24967         (__rawmemchr): Do not use BP_SYM.
24968         (rawmemchr): Do not use BP_SYM in weak_alias.
24969         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24970         (PARMS): Do not use macros from bp-asm.h.
24971         (S): Likewise.
24972         (SIZE): Likewise.
24973         (__mpn_rshift): Do not use BP_SYM.
24974         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24975         (PARMS): Do not use macros from bp-asm.h.
24976         (SIGMSK): Likewise.
24977         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24978         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24979         (_start): Do not use BP_SYM.
24980         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24981         (PARMS): Do not use macros from bp-asm.h.
24982         (DEST): Likewise.
24983         (SRC): Likewise.
24984         (__stpcpy): Likewise.  Do not use BP_SYM.
24985         (stpcpy): Do not use BP_SYM in weak_alias.
24986         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24987         "bp-asm.h".
24988         (PARMS): Do not use macros from bp-asm.h.
24989         (DEST): Likewise.
24990         (SRC): Likewise.
24991         (LEN): Likewise.
24992         (__stpncpy): Likewise.  Do not use BP_SYM.
24993         (stpncpy): Do not use BP_SYM in weak_alias.
24994         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24995         (PARMS): Do not use macros from bp-asm.h.
24996         (STR): Likewise.
24997         (CHR): Likewise.
24998         (strchr): Likewise.  Do not use BP_SYM.
24999         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25000         "bp-asm.h".
25001         (PARMS): Do not use macros from bp-asm.h.
25002         (STR): Likewise.
25003         (CHR): Likewise.
25004         (__strchrnul): Likewise.  Do not use BP_SYM.
25005         (strchrnul): Do not use BP_SYM in weak_alias.
25006         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25007         "bp-asm.h".
25008         (PARMS): Do not use macros from bp-asm.h.
25009         (STOP): Likewise.
25010         (strcspn): Do not use BP_SYM.
25011         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25012         "bp-asm.h".
25013         (PARMS): Do not use macros from bp-asm.h.
25014         (STR): Likewise.
25015         (STOP): Likewise.
25016         (strpbrk): Likewise.  Do not use BP_SYM.
25017         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25018         "bp-asm.h".
25019         (PARMS): Do not use macros from bp-asm.h.
25020         (STR): Likewise.
25021         (CHR): Likewise.
25022         (strrchr): Likewise.  Do not use BP_SYM.
25023         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25024         (PARMS): Do not use macros from bp-asm.h.
25025         (SKIP): Likewise.
25026         (strspn): Do not use BP_SYM.
25027         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25028         (PARMS): Do not use macros from bp-asm.h.
25029         (STR): Likewise.
25030         (DELIM): Likewise.
25031         (SAVE): Likewise.
25032         (FUNCTION): Likewise.  Do not use BP_SYM.
25033         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25034         aliases.
25035         (strtok_r): Likewise.
25036         (__GI___strtok_r): Likewise.
25037         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25038         (PARMS): Do not use macros from bp-asm.h.
25039         (S1): Likewise.
25040         (S2): Likewise.
25041         (SIZE): Likewise.
25042         (__mpn_sub_n): Do not use BP_SYM.
25043         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25044         "bp-asm.h".
25045         (PARMS): Do not use macros from bp-asm.h.
25046         (S1): Likewise.
25047         (SIZE): Likewise.
25048         (__mpn_submul_1): Do not use BP_SYM.
25049         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25050         <bp-sym.h>.
25051         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25052         and <bp-asm.h>.
25053         (PARMS): Do not use macros from bp-asm.h.
25054         (FLAGS): Likewise.
25055         (PTID): Likewise.
25056         (TLS): Likewise.
25057         (CTID): Likewise.
25058         (__clone): Do not use BP_SYM.
25059         (clone): Do not use BP_SYM in weak_alias.
25060         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25061         and <bp-asm.h>.
25062         (PARMS): Do not use macros from bp-asm.h.
25063         (LEN): Likewise.
25064         (__mmap64): Do not use BP_SYM.
25065         (mmap64): Do not use BP_SYM in weak_alias.
25066         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25067         <bp-sym.h> and <bp-asm.h>.
25068         (PARMS): Do not use macros from bp-asm.h.
25069         (__posix_fadvise64_l64): Do not use BP_SYM.
25070         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25071         (PARMS): Do not use macros from bp-asm.h.
25072         (NSOPS): Likewise.
25073         (semtimedop): Do not use BP_SYM.
25074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25075         and <bp-asm.h>.
25076
25077 2013-02-21  Allan McRae  <allan@archlinux.org>
25078
25079         * manual/message.texi (Charset conversion in gettext):
25080         Move @end statement to beginning of line.
25081
25082 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25083
25084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25085         static.
25086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25087         Likewise.
25088
25089         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25090         (denorm): Likewise.
25091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25093
25094 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25095
25096         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25097         tail-call to the resolved function if pltexit isn't needed.
25098
25099 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25100
25101         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25102         or Y being zero as being unlikely.
25103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25104         Likewise.
25105
25106 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25107
25108         * manual/nss.texi (System Databases and Name Service Switch):
25109         Remove frobnicate @pxref.
25110
25111 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25112
25113         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25114         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25115
25116 2013-02-20  Petr Machata  <pmachata@redhat.com>
25117
25118         * elf/elf.h (R_ARM_TARGET1): New macro.
25119         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25120         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25121         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25122         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25123         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25124         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25125         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25126         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25127         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25128         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25129         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25130         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25131         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25132         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25133         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25134         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25135         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25136         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25137         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25138         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25139         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25140         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25141         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25142         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25143         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25144         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25145         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25146         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25147         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25148         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25149         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25150         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25151         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25152         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25153         (R_ARM_THM_GOT_BREL12): Likewise.
25154         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25155         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25156         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25157         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25158         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25159         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25160         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25161         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25162         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25163
25164 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25165
25166         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25167         __attribute_used__ to __attribute__ ((unused)).
25168
25169 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25170
25171         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25172         powerpc mpa.c.
25173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25174         comment formatting.
25175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25176
25177 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25178
25179         [BZ #13550]
25180         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25181         Remove macro.
25182         (ENTER): Remove both macro definitions.
25183         (LEAVE): Likewise.
25184         (CHECK_BOUNDS_LOW): Likewise.
25185         (CHECK_BOUNDS_HIGH): Likewise.
25186         (CHECK_BOUNDS_BOTH): Likewise.
25187         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25188         (RETURN_BOUNDED_POINTER): Likewise.
25189         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25190         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25191         (POP_ERRNO_LOCATION_RETURN): Likewise.
25192         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25193         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25194         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25195         macros.
25196         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25197         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25198         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25199         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25200         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25201         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25202         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25203         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25204         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25205         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25206         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25207         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25208         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25209         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25210         removed macros.
25211         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25212         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25213         macros.
25214         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25215         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25216         * sysdeps/i386/i586/memset.S (memset): Likewise.
25217         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25218         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25219         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25220         macros.
25221         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25222         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25223         Change uses of L(2) to L(out).
25224         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25225         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25226         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25227         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25228         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25229         removed macros.
25230         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25231         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25232         macros.
25233         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25234         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25235         (RETURN): Do not use macro LEAVE.
25236         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25237         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25238         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25239         * sysdeps/i386/i686/memset.S (memset): Likewise.
25240         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25241         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25242         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25243         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25244         Likewise.
25245         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25246         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25247         L(1_2) and L(1_3) into L(1).
25248         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25249         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25250         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25251         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25252         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25253         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25254         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25255         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25256         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25257         macros.
25258         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25259         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25260         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25261         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25262         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25263         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25264         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25265         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25266         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25267         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25268         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25269         * sysdeps/i386/strspn.S (strspn): Likewise.
25270         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25271         conditional code.
25272         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25273         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25274         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25275         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25276         L(1_3) into L(1_1).
25277         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25278         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25279         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25280         macros.
25281         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25282
25283 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25284
25285         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25286         macro.
25287
25288 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25289
25290         * math/atest-exp.c (exp_mpn): Remove ROUND.
25291         * math/atest-exp2.c (exp_mpn): Likewise.
25292         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25293
25294         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25295         * stdlib/tst-tls-atexit-lib.c: Likewise.
25296         * stdlib/tst-tls-atexit.c: Likewise.
25297
25298 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25299
25300         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25301         and __attribute_alloc_size__.
25302
25303 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25304
25305         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25306         __attribute_alloc_size__.
25307         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25308         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25309
25310 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25311
25312         * include/programs/xmalloc.h: New file.
25313         * catgets/gencat.c: Include it.
25314         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25315         * elf/pldd.c: Likewise.
25316         * iconv/iconv_charmap.c: Likewise.
25317         * iconv/iconvconfig.c: Likewise.
25318         * iconv/strtab.c: Likewise.
25319         * locale/programs/locale.c: Likewise.
25320         * locale/programs/localedef.h: Likewise.
25321         * locale/programs/simple-hash.c: Likewise.
25322         * nscd/nscd.h: Likewise.
25323         * nss/makedb.c: Likewise.
25324         * sysdeps/generic/ldconfig.h: Likewise.
25325
25326 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25327
25328         * Versions.def: Add GLIBC_2.18.
25329         * include/link.h (struct link_map): New member l_tls_dtor_count.
25330         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25331         (__call_tls_dtors): Likewise.
25332         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25333         __cxa_thread_atexit_impl.
25334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25335         Likewise.
25336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25337         Likewise.
25338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25339         Likewise.
25340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25341         Likewise.
25342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25344         Likewise.
25345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25346         Likewise.
25347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25349         Likewise.
25350         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25351         (tests): Add test case tst-tls-atexit.
25352         (modules-names): Add shared library for tst-tls-atexit.
25353         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25354         (GLIBC_PRIVATE): Add __call_tls_dtors.
25355         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25356         for libstdc++.
25357         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25358         * stdlib/tst-tls-atexit.c: New test case.
25359         * stdlib/tst-tls-atexit-lib.c: New test case.
25360
25361         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25362
25363         * elf/Versions (ld): Add _dl_find_dso_for_object.
25364         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25365         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25366         (dl_open_worker): Use _dl_find_dso_for_object.
25367         * elf/dl-sym.c (do_sym): Likewise.
25368         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25369
25370 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25371
25372         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25373         Syntactic changes only.
25374         (_dl_runtime_profile): Do a tail-call to the resolved function.
25375
25376 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25377
25378         [BZ #13550]
25379         * sysdeps/x86_64/bp-asm.h: Remove file.
25380         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25381         <bp-sym.h> and <bp-asm.h>.
25382         (__clone): Do not use BP_SYM.
25383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25384         <bp-sym.h> and <bp-asm.h>.
25385         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25386         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25387         "bp-asm.h".
25388         (_setjmp): Do not use BP_SYM.
25389         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25390         "bp-asm.h".
25391         (setjmp): Do not use BP_SYM.
25392         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25393         libc_hidden_def.
25394         (mempcpy): Do not use BP_SYM in weak_alias.
25395         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25396         "bp-asm.h".
25397         (strchr): Do not use BP_SYM.
25398         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25399         "bp-asm.h".
25400         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25401         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25402         (_start): Do not use BP_SYM.
25403         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25404         "bp-asm.h".
25405         (strcat): Do not use BP_SYM.
25406         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25407         "bp-asm.h".
25408         (STRCMP): Do not use BP_SYM.
25409         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25410         "bp-asm.h".
25411         (STRCPY): Do not use BP_SYM.
25412         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25413         "bp-asm.h".
25414         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25415         "bp-asm.h".
25416         (FUNCTION): Do not use BP_SYM.
25417         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25418         weak_alias.
25419         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25420
25421 2013-02-17  Andreas Jaeger  <aj@suse.de>
25422
25423         * time/Versions: Sort entries.
25424         * string/Versions: Likewise.
25425         * resolv/Versions: Likewise.
25426         * posix/Versions: Likewise.
25427         * iconv/Versions: Likewise.
25428         * elf/Versions: Likewise.
25429         * wcsmbs/Versions: Likewise.
25430
25431 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25432
25433         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25434         loop termination condition.
25435
25436         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25437         variable to calculate EZ.
25438         (__sqr): Likewise.
25439
25440         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25441         the lower precision input.
25442
25443 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25444
25445         [BZ #13550]
25446         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25447         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25448         (run-via-rtld-prefix): Do not handle %-bp tests.
25449         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25450         (all-object-suffixes): Remove .ob.
25451         (bppfx): Remove variable.
25452         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25453         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25454         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25455         [$(build-bounded) = yes] (libtype.ob): Likewise.
25456         * Makerules (elide-routines.ob): Remove variable.
25457         (do-tests-clean): Do not handle *-bp.out.
25458         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25459         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25460         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25461         (tests): Do not include $(tests-bp.out).
25462         (xtests): Do not include $(xtests-bp.out).
25463         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25464         [$(build-bounded) = yes] ($(addprefix
25465         $(objpfx),$(binaries-bounded))): Remove rule.
25466         ($(objpfx)%-bp.out): Remove rule.
25467         * config.make.in (build-bounded): Remove variable.
25468         * crypt/Makefile [$(build-bounded) = yes]
25469         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25470         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25471         append to variable.
25472         [$(build-bounded) = yes] (install-lib): Likewise.
25473         [$(build-bounded) = yes] (generated): Likewise.
25474         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25475         Remove rule.
25476         * intl/Makefile [$(build-bounded) = yes]
25477         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25478         * math/Makefile [$(build-bounded) = yes]
25479         ($(tests:%=$(objpfx)%-bp): Likewise.
25480         * misc/Makefile [$(build-bounded) = yes]
25481         ($(objpfx)tst-tsearch-bp): Likewise.
25482         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25483         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25484         Remove dependency.
25485         * string/Makefile (o-objects.ob): Remove variable.
25486         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25487         (CFLAGS-.ob): Remove variable.
25488         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25489         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25490         both definitions of variable.
25491         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25492         (ASFLAGS-.ob): Remove variable.
25493
25494 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25495
25496         [BZ #13550]
25497         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25498         Remove __BOUNDED_POINTERS__ from condition.
25499         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25500         * string/bits/string2.h [!__NO_STRING_INLINES &&
25501         !__BOUNDED_POINTERS__]: Likewise.
25502         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25503         Likewise.
25504         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25505         Remove conditional code.
25506         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25507         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25508         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25509         condition.
25510
25511         [BZ #13550]
25512         * csu/libc-start.c: Do not include <bp-sym.h>.
25513         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25514         * elf/dl-open.c: Do not include <bp-sym.h>.
25515         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25516         * math/fegetenv.c: Do not include <bp-sym.h>.
25517         (fegetenv): Do not use BP_SYM in versioned symbols.
25518         * nptl/sysdeps/pthread/bits/libc-lockP.h
25519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25520         <bp-sym.h>.
25521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25522         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25524         (__pthread_mutex_destroy): Likewise.
25525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25526         (__pthread_mutex_lock): Likewise.
25527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25528         (__pthread_mutex_trylock): Likewise.
25529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25530         (__pthread_mutex_unlock): Likewise.
25531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25532         (__pthread_mutexattr_init): Likewise.
25533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25534         (__pthread_mutexattr_destroy): Likewise.
25535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25536         (__pthread_mutexattr_settype): Likewise.
25537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25538         (__pthread_rwlock_init): Likewise.
25539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25540         (__pthread_rwlock_destroy): Likewise.
25541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25542         (__pthread_rwlock_rdlock): Likewise.
25543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25544         (__pthread_rwlock_tryrdlock): Likewise.
25545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25546         (__pthread_rwlock_wrlock): Likewise.
25547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25548         (__pthread_rwlock_trywrlock): Likewise.
25549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25550         (__pthread_rwlock_unlock): Likewise.
25551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25552         (__pthread_key_create): Likewise.
25553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25554         (__pthread_setspecific): Likewise.
25555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25556         (__pthread_getspecific): Likewise.
25557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25558         Likewise.
25559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25560         (_pthread_cleanup_push_defer): Likewise.
25561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25562         (_pthread_cleanup_pop_restore): Likewise.
25563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25564         (pthread_setcancelstate): Likewise.
25565         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25566         <bp-sym.h>.
25567         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25568         (memchr): Do not use BP_SYM in weak_alias.
25569         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25570         (fegetenv): Do not use BP_SYM in versioned symbols.
25571         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25572         (fesetenv): Do not use BP_SYM in versioned symbols.
25573         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25574         (feupdateenv): Do not use BP_SYM in versioned symbols.
25575         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25576         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25577         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25578         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25579         (open64): Do not use BP_SYM in weak_alias.
25580         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25581         (fegetenv): Do not use BP_SYM in versioned symbols.
25582         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25583         (fesetenv): Do not use BP_SYM in versioned symbols.
25584         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25585         (feupdateenv): Do not use BP_SYM in versioned symbols.
25586         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25587         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25588         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25589         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25590         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25591         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25593         <bp-sym.h>.
25594         (__libc_start_main): Do not use BP_SYM.
25595
25596 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25597
25598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25599         redundant return line.
25600         (norm): Likewise.
25601         (denorm): Likewise.
25602         (dbl_mp): Likewise.
25603         (sub_magnitudes): Likewise.
25604         (__add): Likewise.
25605         (__sub): Likewise.
25606         (__mul): Likewise.
25607         (__inv): Likewise.
25608         (__dvd): Likewise.
25609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25610         (norm): Likewise.
25611         (denorm): Likewise.
25612         (dbl_mp): Likewise.
25613         (sub_magnitudes): Likewise.
25614         (__add): Likewise.
25615         (__sub): Likewise.
25616         (__mul): Likewise.
25617         (__inv): Likewise.
25618         (__dvd): Likewise.
25619
25620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25621         instead of __mul.
25622         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25623         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25624         (cc32): Likewise.
25625
25626         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25627         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25629         of __mul for squares.
25630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25631         function
25632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25633         Likewise.
25634         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25635         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25636
25637 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25638
25639         [BZ #13550]
25640         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25641         code.
25642         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25643         prototype or function definition.  Rename ubp_* variables and
25644         parameters.  Remove argv definitions conditional on
25645         [__BOUNDED_POINTERS__].
25646         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25647         * elf/dl-runtime.c (_dl_fixup): Likewise.
25648         * include/set-hooks.h (RUN_HOOK): Likewise.
25649         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25650         definition.
25651         * string/strcpy.c (strcpy): Do not use __unbounded.
25652         * sysdeps/generic/frame.h (struct layout): Likewise.
25653         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25654         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25655         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25656         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25657         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25658         (__backtrace): Likewise.
25659         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25660         use __ptrvalue.
25661         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25662         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25663         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25664         Likewise.
25665         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25666         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25667         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25668         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25669         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25670         Do not use __unbounded.
25671         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25672         Rename __unboundedrlimits parameter to rlimits in prototype.
25673         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25674         Do not use __unbounded.
25675         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25676         not use __ptrvalue.
25677         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25678         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25679         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25680         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25681         __ptrvalue or __unbounded.
25682         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25683         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25684         use __unbounded.
25685         (__new_msgctl): Do not use __ptrvalue.
25686         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25687         __unbounded.
25688         (__libc_msgrcv): Do not use __ptrvalue.
25689         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25690         startup_info): Do not use __unbounded.
25691         (__libc_start_main): Likewise.  Rename ubp_* variables and
25692         parameters.  Remove argv definitions conditional on
25693         [__BOUNDED_POINTERS__].
25694         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25695         __ptrvalue.
25696         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25697         use __unbounded.
25698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25699         or __ptrvalue.
25700         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25701         use __unbounded.
25702         (__new_shmctl): Do not use __ptrvalue.
25703         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25704         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25705         Likewise.
25706         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25707         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25708         (__libc_sigaction): Likewise.
25709         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25710         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25711         Likewise.
25712         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25713
25714 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25715
25716         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25717
25718         * string/mempcpy.c: Implement by calling memcpy.
25719
25720 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25721
25722         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25723
25724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25725         evaluation.
25726
25727         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25728         values in the mantissa.
25729
25730         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25731         minimize writes to Z.
25732         (sub_magnitudes): Simplify code a bit.
25733
25734 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25735
25736         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25737         from the message.  The linker prefixes all warnings with that already.
25738
25739 2013-02-12  Andreas Schwab  <schwab@suse.de>
25740
25741         [BZ #15078]
25742         * posix/regexec.c (extend_buffers): Add parameter min_len.
25743         (check_matching): Pass minimum needed length.
25744         (clean_state_log_if_needed): Likewise.
25745         (get_subexp): Likewise.
25746         * posix/Makefile (tests): Add bug-regex34.
25747         (bug-regex34-ENV): Define.
25748         * posix/bug-regex34.c: New file.
25749
25750         [BZ #11561]
25751         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25752         elements compare against the byte sequence of it, not its name.
25753         * posix/Makefile (tests): Add bug-regex35.
25754         (bug-regex35-ENV): Define.
25755         * posix/bug-regex35.c: New file.
25756
25757 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25758
25759         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25760         comment.
25761         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25762         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25763         (CHECK_EOL): Add undef.
25764
25765 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25766
25767         * bits/stdlib-bsearch.h: New file.
25768         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25769         * stdlib/stdlib.h: Likewise.
25770
25771 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25772
25773         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25774         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25775         declaration.
25776         * manual/search.texi (Array Search Function): Add missing const in
25777         lfind prototype.
25778         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25779         declaration to use rlim_t.
25780         (Basic Scheduling Functions): Remove erroneous const from
25781         sched_getparam prototype.  Remove erroneous * from
25782         sched_get_priority_max and sched_get_priority_min prototypes.
25783         (Resource Usage): Fix summary @comment on vtimes to refer to
25784         sys/vtimes.h rather than vtimes.h.
25785         Add missing *s in vtimes prototype.
25786         (Limits on Resources): Fix ulimit prototype to return long int.
25787         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25788         prototypes to use long int rather than double.
25789         (BSD Random): Fix initstate and setstate to use char *, not void *.
25790         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25791         prototype to make second argument 'struct aiocb64 *const[]'.
25792         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25793         (Status of AIO Operations): Remove erroneous const in aio_return and
25794         aio_return64 prototypes.
25795         (Synchronizing I/O): Fix sync prototype to return void.
25796         * manual/startup.texi (Suboptions): Remove an erroneous const in
25797         getsubopt prototype.
25798         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25799         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25800         use size_t rather than int.
25801         (Scanning All Users): Likewise for getpwent_r.
25802         (Setting Groups): Add missing const to setgroups prototype.
25803         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25804         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25805         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25806         'const void *' rather than 'const char *'.
25807         (Host Address Functions): Likewise for inet_ntop.
25808         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25809         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25810         ssize_t for return value.
25811         (Sending Data): Likewise for send, sendto, sendmsg.
25812         (Socket Option Functions): Add a missing const in setsockopt prototype.
25813         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25814         use wchar_t for the argument.
25815         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25816         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25817         take no arguments.
25818         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25819         double/float/long double for second argument.
25820         Fix return types of significand, significandf, significandl.
25821         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25822         argument in fchmod prototype.
25823         (File Owner): Use uid_t and gid_t in fchown prototype.
25824         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25825         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25826         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25827         use 'const struct dirent **' as argument types to CMP function pointer
25828         argument.
25829         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25830         (File Times): Fix summary magic @comment for struct utimbuf and utime
25831         to refer to utime.h, not time.h.
25832         * manual/string.texi (Argz Functions): Add missing const in
25833         argz_extract and argz_next prototypes.
25834         (Finding Tokens in a String): Likewise for basename.
25835         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25836         (Copying and Concatenation): Fix typo in wmemmove prototype.
25837         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25838         (Signal Stack): Remove erroneous const in sigstack prototype.
25839         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25840         prototype.
25841         (Simple Calendar Time): Likewise for stime.
25842         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25843         prototype.
25844         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25845         say sys/sysctl.h instead.
25846         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25847         and vsyslog prototypes.
25848
25849 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25850
25851         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25852         Remove.
25853
25854 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25855
25856         * misc/sys/mman.h: Fix typo in mremap comment.
25857
25858 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25859
25860         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25861         the '\0' terminator.
25862
25863 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25864
25865         [BZ #13550]
25866         * debug/segfault.c: Don't include <bp-checks.h>.
25867         * sysdeps/generic/bp-checks.h: Remove file.
25868         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25869         (__GETDENTS): Don't use CHECK_N.
25870         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25871         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25872         (__getgroups): Don't use CHECK_N.
25873         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25874         (setgroups): Don't use CHECK_N.
25875         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25876         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25877         (__libc_msgrcv): Don't use CHECK_N.
25878         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25879         (__libc_msgsnd): Don't use CHECK_N.
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25881         <bp-checks.h>.
25882         (__libc_pread): Don't use CHECK_N.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25884         include <bp-checks.h>.
25885         (__libc_pread64): Don't use CHECK_N.
25886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25887         include <bp-checks.h>.
25888         (__libc_pwrite): Don't use CHECK_N.
25889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25890         include <bp-checks.h>.
25891         (__libc_pwrite64): Don't use CHECK_N.
25892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25893         <bp-checks.h>.
25894         (__libc_pread): Don't use CHECK_N.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25896         include <bp-checks.h>.
25897         (__libc_pread64): Don't use CHECK_N.
25898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25899         include <bp-checks.h>.
25900         (__libc_pwrite): Don't use CHECK_N.
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25902         include <bp-checks.h>.
25903         (__libc_pwrite64): Don't use CHECK_N.
25904         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25905         (do_pread): Don't use CHECK_N.
25906         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25907         (do_pread64): Don't use CHECK_N.
25908         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25909         (do_pwrite): Don't use CHECK_N.
25910         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25911         (do_pwrite64): Don't use CHECK_N.
25912         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25913         (__libc_readv): Don't use CHECK_N.
25914         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25915         (semop): Don't use CHECK_N.
25916         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25917         <bp-checks.h>.
25918         (semtimedop): Don't use CHECK_N.
25919         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25920         (__libc_pread): Don't use CHECK_N.
25921         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25922         <bp-checks.h>.
25923         (__libc_pread64): Don't use CHECK_N.
25924         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25925         <bp-checks.h>.
25926         (__libc_pwrite): Don't use CHECK_N.
25927         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25928         <bp-checks.h>.
25929         (__libc_pwrite64): Don't use CHECK_N.
25930         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25931         <bp-checks.h>.
25932         (__libc_msgrcv): Don't use CHECK_N.
25933         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25934         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25935         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25936         (__libc_writev): Don't use CHECK_N.
25937
25938 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25939
25940         * string/strcpy.c: Removed unused variable.
25941
25942         * Makeconfig (+sysdep-includes): Define with := rather than =.
25943         Use an existing include/ subdir of each sysdeps dir before it.
25944
25945 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25946
25947         * nscd/connection.c (register_traced_file): Comment function.
25948         [HAVE_INOTIFY] (union __inev): Define.
25949         [HAVE_INOTIFY] (inotify_check_files): New function.
25950         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25951         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25952         clear_db_cache.
25953         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25954
25955 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25956
25957         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25958         loaded if not already and that a failure is permanent.
25959
25960 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25961
25962         [BZ #15006]
25963         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25964         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25965
25966 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25967
25968         [BZ #13550]
25969         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25970         (CHECK_1_NULL_OK): Likewise.
25971         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25972         (__fxstat): Do not use CHECK_1.
25973         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25974         <bp-checks.h>.
25975         (___fxstat64): Do not use CHECK_1.
25976         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25977         <bp-checks.h>.
25978         (__fxstatat): Do not use CHECK_1.
25979         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25980         <bp-checks.h>.
25981         (__fxstatat64): Do not use CHECK_1.
25982         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25983         <bp-checks.h>.
25984         (__fxstat): Do not use CHECK_1.
25985         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25986         <bp-checks.h>.
25987         (__fxstatat): Do not use CHECK_1.
25988         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25989         <bp-checks.h>.
25990         (__getresgid): Do not use CHECK_1.
25991         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25992         <bp-checks.h>.
25993         (__getresuid): Do not use CHECK_1.
25994         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25995         <bp-checks.h>.
25996         (__lxstat): Do not use CHECK_1.
25997         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25998         <bp-checks.h>.
25999         (__old_msgctl): Do not use CHECK_1.
26000         (__new_msgctl): Likewise.
26001         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26002         <bp-checks.h>.
26003         (__new_setrlimit): Do not use CHECK_1.
26004         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26005         <bp-checks.h>.
26006         (__old_shmctl): Do not use CHECK_1.
26007         (__new_shmctl): Likewise.
26008         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26009         <bp-checks.h>.
26010         (__xstat): Do not use CHECK_1.
26011         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26012         (__lxstat): Do not use CHECK_1.
26013         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26014         <bp-checks.h>.
26015         (___lxstat64): Do not use CHECK_1.
26016         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26017         (__old_msgctl): Do not use CHECK_1.
26018         (__new_msgctl): Likewise.
26019         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26020         <bp-checks.h>.
26021         (__gettimeofday): Do not use CHECK_1.
26022         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26023         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26024         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26025         <bp-checks.h>.
26026         (__gettimeofday): Do not use CHECK_1.
26027         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26028         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26029         (__new_shmctl): Do not use CHECK_1.
26030         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26031         <bp-checks.h>.
26032         (do_sigtimedwait): Do not use CHECK_1.
26033         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26034         <bp-checks.h>.
26035         (do_sigwaitinfo): Do not use CHECK_1.
26036         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26037         <bp-checks.h>.
26038         (msgctl): Do not use CHECK_1.
26039         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26040         <bp-checks.h>.
26041         (shmctl): Do not use CHECK_1.
26042         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26043         (ustat): Do not use CHECK_1.
26044         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26045         <bp-checks.h>.
26046         (__fxstat): Do not use CHECK_1.
26047         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26048         <bp-checks.h>.
26049         (__fxstatat): Do not use CHECK_1.
26050         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26051         <bp-checks.h>.
26052         (__lxstat): Do not use CHECK_1.
26053         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26054         <bp-checks.h>.
26055         (__xstat): Do not use CHECK_1.
26056         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26057         (__xstat): Do not use CHECK_1.
26058         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26059         (___xstat64): Do not use CHECK_1.
26060
26061         [BZ #13550]
26062         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26063         definitions.
26064         (CHECK_BOUNDS_HIGH): Likewise.
26065         * string/strcpy.c: Do not include <bp-checks.h>.
26066         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26067
26068 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26069
26070         * nscd/nscd-client.h (__nscd_drop_map_ref):
26071         Add __attribute__ ((unused)).
26072         * nis/nss-nisplus.h (niserr2nss): Likewise.
26073
26074         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26075         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26076
26077         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26078         Remove inline keyword.
26079         * include/rounding-mode.h (round_away): Likewise.
26080         * libio/wfileops.c (adjust_wide_data): Likewise.
26081         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26082         (__m128i_strloadu_tolower): Likewise.
26083         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26084         (__m128i_strloadu_tolower): Likewise.
26085         * time/mktime.c (ydhms_diff): Likewise.
26086         * locale/elem-hash.h (elem_hash): Likewise.
26087         * locale/setlocale.c (setdata): Likewise.
26088         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26089         (re_string_wchar_at): Likewise.
26090         (bitset_not, bitset_merge, bitset_mask): Likewise.
26091         [!(__GNUC__ > 3)] (inline): Remove macro.
26092         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26093         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26094         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26095         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26096         * string/memcmp.c (memcmp_bytes): Likewise.
26097         * locale/programs/locarchive.c (compute_hashval): Likewise.
26098         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26099         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26100         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26101         * nss/getent.c (print_rpc, print_protocols): Likewise.
26102         (print_passwd, print_group, print_aliases): Likewise.
26103         * nis/nss-nisplus.h (niserr2nss): Likewise.
26104         * nscd/connections.c (restart_p): Likewise.
26105         Change return type to bool.
26106
26107 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26108
26109         * Makeconfig (all-Depend-files): Add existing
26110         $(sorted-subdirs:=/Depend) files.
26111         (all-subdirs): Remove nss.
26112         * sysdeps/unix/inet/Subdirs: Add it here instead.
26113         * hesiod/Depend: New file.
26114
26115         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26116         instead of calling alloca.
26117
26118         * io/lseek.c (__lseek): Rename to __libc_lseek.
26119         Define __lseek as an alias.
26120
26121         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26122
26123 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26124
26125         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26126         else clause and remove check for non-standard endianness.
26127
26128 2013-02-04  David S. Miller  <davem@davemloft.net>
26129
26130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26131
26132 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26133
26134         [BZ #13550]
26135         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26136         (__ubp_memchr): Remove prototype.
26137         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26138         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26139         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26140         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26141         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26142         Remove alias.
26143         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26144         (__ubp_memchr): Likewise.
26145         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26146         (__ubp_memchr): Likewise.
26147         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26148         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26149         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26150         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26151         CHECK_STRING.
26152         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26153         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26154         (__getcwd): Do not use CHECK_STRING.
26155         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26156         <bp-checks.h>.
26157         (__real_chown): Do not use CHECK_STRING.
26158         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26159         <bp-checks.h>.
26160         (fchownat): Do not use CHECK_STRING.
26161         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26162         CHECK_STRING.
26163         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26164         <bp-checks.h>.
26165         (__lchown): Do not use CHECK_STRING.
26166         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26167         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26168         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26169         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26171         include <bp-checks.h>.
26172         (truncate64): Do not use CHECK_STRING.
26173         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26174         <bp-checks.h>.
26175         (__real_chown): Do not use CHECK_STRING.
26176         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26177         <bp-checks.h>.
26178         (__lchown): Do not use CHECK_STRING.
26179         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26180         <bp-checks.h>.
26181         (__chown): Do not use CHECK_STRING.
26182         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26183         <bp-checks.h>.
26184         (truncate64): Do not use CHECK_STRING.
26185         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26186         Likewise.
26187         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26188         (__xmknod): Do not use CHECK_STRING.
26189         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26190         <bp-checks.h>.
26191         (__xmknodat): Do not use CHECK_STRING.
26192         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26193         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26194
26195 2013-02-04  Andreas Schwab  <schwab@suse.de>
26196
26197         [BZ #14142]
26198         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26199         * include/netdb.h: Likewise for h_errno.
26200         * elf/tst-stackguard1.c: Include <tls.h>.
26201
26202 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26203
26204         * elf/link.h (struct link_map): Extend the l_addr comment.
26205         * include/link.h (struct link_map): Likewise.
26206
26207 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26208
26209         [BZ #13550]
26210         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26211         (BOUNDED_1): Remove macro.
26212         * debug/backtrace.c: Don't include <bp-checks.h>.
26213         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26214         (__backtrace): Likewise.
26215         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26216         <bp-checks.h>.
26217         (__backtrace): Don't use BOUNDED_1.
26218         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26219         <bp-checks.h>.
26220         (__backtrace): Don't use BOUNDED_1.
26221         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26222         (__backtrace): Don't use BOUNDED_1.
26223         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26224         (shmat): Don't use BOUNDED_N.
26225
26226 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26227
26228         [BZ #13550]
26229         * sysdeps/generic/bp-start.h: Remove file.
26230         * csu/libc-start.c: Don't include <bp-start.h>.
26231         (LIBC_START_MAIN): Set up __environ directly instead of using
26232         INIT_ARGV_and_ENVIRON.
26233         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26234         <bp-start.h>.
26235
26236         [BZ #13550]
26237         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26238         definitions.
26239         (CHECK_FCNTL): Likewise.
26240         (CHECK_N_PAGES): Likewise.
26241
26242         [BZ #13550]
26243         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26244         definitions.
26245         (CHECK_SIGSET_NULL_OK): Likewise.
26246         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26247         <bp-checks.h>.
26248         (sigpending): Don't use CHECK_SIGSET.
26249         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26250         <bp-checks.h>.
26251         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26252         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26253         <bp-checks.h>.
26254         (do_sigsuspend): Don't use CHECK_SIGSET.
26255         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26256         use CHECK_SIGSET.
26257         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26258         (do_sigwait): Don't use CHECK_SIGSET.
26259         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26260         use CHECK_SIGSET.
26261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26262         include <bp-checks.h>.
26263         (sigpending): Don't use CHECK_SIGSET.
26264         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26265         include <bp-checks.h>.
26266         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26267         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26268         <bp-checks.h>.
26269         (sigpending): Don't use CHECK_SIGSET.
26270         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26271         <bp-checks.h>.
26272         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26273
26274         [BZ #13550]
26275         * sysdeps/generic/bp-semctl.h: Remove file.
26276         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26277         <bp-checks.h> and <bp-semctl.h>.
26278         (__old_semctl): Don't use CHECK_SEMCTL.
26279         (__new_semctl): Likewise.
26280         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26281         and <bp-semctl.h>.
26282         (__old_semctl): Don't use CHECK_SEMCTL.
26283         (__new_semctl): Likewise.
26284         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26285         <bp-checks.h> and <bp-semctl.h>.
26286         (__old_semctl): Don't use CHECK_SEMCTL.
26287         (__new_semctl): Likewise.
26288         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26289         <bp-checks.h> and <bp-semctl.h>.
26290         (semctl): Don't use CHECK_SEMCTL.
26291
26292         [BZ #13550]
26293         * Makerules (elide-bp-thunks): Remove variable.
26294         (elide-routines.oS): Don't use $(elide-bp-thunks).
26295         (elide-routines.os): Likewise.
26296         (elide-routines.o): Likewise.
26297         (elide-routines.op): Likewise.
26298         (elide-routines.og): Likewise.
26299         (objects): Don't use $(bp-thunks).
26300         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26301         include.
26302         (common-generated): Do not add s-proto-bp.d.
26303         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26304         (int): Likewise.
26305         (typ): Likewise.
26306         Do not generate makefile rules for bounded-pointer thunks.
26307         * sysdeps/generic/bp-thunks.h: Remove file.
26308         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26309         * sysdeps/unix/s-proto-bp.S: Likewise.
26310
26311         [BZ #15062]
26312         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26313         parts of result separately when argument is not close to line from
26314         -i to i and one part of argument is small.
26315         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26316         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26317         * math/libm-test.inc (cacos_test): Add more tests.
26318         (casin_test): Likewise.
26319         (casinh_test): Likewise.
26320         * sysdeps/i386/fpu/libm-test-ulps: Update.
26321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26322
26323 2013-01-31  David S. Miller  <davem@davemloft.net>
26324
26325         * po/de.po: Update from translation team.
26326
26327 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26328
26329         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26330
26331 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26332
26333         * configure.in (_AC_PROG_CC_C89): New definition.
26334         * configure: Regenerate.
26335
26336         * configure.in (AC_PROG_CPP): New definition.
26337         * configure: Regenerate.
26338
26339 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26340
26341         * debug/tst-backtrace.h: New file.
26342         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26343         (ret): Remove variable.
26344         (x): Likewise.
26345         (FAIL): Remove macro.
26346         (NO_INLINE): Likewise.
26347         (fn1): Use match function instead of strstr.
26348         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26349         (ret): Remove variable.
26350         (x): Likewise.
26351         (FAIL): Remove macro.
26352         (NO_INLINE): Likewise.
26353         (fn): Use match function instead of strstr.
26354         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26355         (ret): Remove variable.
26356         (x): Likewise.
26357         (FAIL): Remove macro.
26358         (NO_INLINE): Likewise.
26359         (handle_signal): Use match function instead of strstr.
26360         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26361         (ret): Remove variable.
26362         (x): Likewise.
26363         (FAIL): Remove macro.
26364         (NO_INLINE): Likewise.
26365         (handle_signal): Use match function instead of strstr.
26366
26367 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26368
26369         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26370
26371 2013-01-23  David S. Miller  <davem@davemloft.net>
26372
26373         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26374         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26375         argument of CAS if possible.
26376         * sysdeps/sparc/sparc64/bits/atomic.h
26377         (__arch_compare_and_exchange_val_32_acq): Likewise.
26378         (__arch_compare_and_exchange_val_64_acq): Likewise.
26379
26380 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26381
26382         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26383         * sysdeps/posix/ulimit.c: ... this.
26384         Include <limits.h>.
26385         * sysdeps/unix/bsd/ulimit.c: Remove file.
26386
26387 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26388
26389         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26390         (LDFLAGS-tst-array5): Likewise.
26391
26392 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26393
26394         [BZ #15036]
26395         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26396         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26397         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26398         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26399
26400 2013-01-21  David S. Miller  <davem@davemloft.net>
26401
26402         * sysdeps/sparc/backtrace.c: New file.
26403         * sysdeps/sparc/sparc32/backtrace.h: New file.
26404         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26405         * sysdeps/sparc/sparc64/backtrace.h: New file.
26406         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26407         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26408         -funwind-tables.
26409
26410 2013-01-21  Andreas Schwab  <schwab@suse.de>
26411
26412         [BZ #15020]
26413         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26414         closed its stdout.
26415
26416 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26417
26418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26419         "mpa2.h".
26420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26421
26422 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26423             Mark Mitchell  <mark@codesourcery.com>
26424             Tom de Vries  <tom@codesourcery.com>
26425             Paul Pluzhnikov  <ppluzhnikov@google.com>
26426
26427         * debug/tst-backtrace2.c: New file.
26428         * debug/tst-backtrace3.c: Likewise.
26429         * debug/tst-backtrace4.c: Likewise.
26430         * debug/tst-backtrace5.c: Likewise.
26431         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26432         (CFLAGS-tst-backtrace3.c): Likewise.
26433         (CFLAGS-tst-backtrace4.c): Likewise.
26434         (CFLAGS-tst-backtrace5.c): Likewise.
26435         (LDFLAGS-tst-backtrace2): Likewise.
26436         (LDFLAGS-tst-backtrace3): Likewise.
26437         (LDFLAGS-tst-backtrace4): Likewise.
26438         (LDFLAGS-tst-backtrace5): Likewise.
26439         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26440         tst-backtrace4 and tst-backtrace5.
26441
26442 2013-01-18  Anton Blanchard  <anton@samba.org>
26443             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26444
26445         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26446         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26448         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26450         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26451         "+r" and remove output regs list as redundant.  Add explicit inline
26452         asm to specify register of return val to work around compiler codegen
26453         bug.  Remove (int) cast on return value.  Add return type parameter to
26454         use in macro so that this macro does not truncate return value for
26455         64-bit values.
26456         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26457         pass to INTERNAL_VSYSCALL_NCS.
26458         (INLINE_VSYSCALL): Add 'long int' as return type to
26459         INTERNAL_VSYSCALL_NCS macro invocation.
26460         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26461         INTERNAL_VSYSCALL_NCS macro invocation.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26463
26464 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26465
26466         [BZ #14496]
26467         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26468         Fix application of SIMD FP exception mask.
26469
26470         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26471         mp_no from a power of two.
26472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26473         __mpexp_twomm1.  Use __pow_mp.
26474
26475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26476         multiplication.
26477
26478 2013-01-17  David S. Miller  <davem@davemloft.net>
26479
26480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26481
26482 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26483
26484         [BZ #15023]
26485         * include/complex.h: Condition contents on [!_COMPLEX_H].
26486         (__kernel_casinhf): New prototype.
26487         (__kernel_casinh): Likewise.
26488         (__kernel_casinhl): Likewise.
26489         * math/Makefile (libm_calls): Add k_casinh.
26490         * math/k_casinh.c: New file.
26491         * math/k_casinhf.c: Likewise.
26492         * math/k_casinhl.c: Likewise.
26493         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26494         finite nonzero arguments.
26495         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26496         finite nonzero arguments.
26497         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26498         finite nonzero arguments.
26499         * math/s_casinh.c: Do not include <float.h>.
26500         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26501         * math/s_casinhf.c: Do not include <float.h>.
26502         (__casinhf): Move code for finite nonzero arguments to
26503         k_casinhf.c.
26504         * math/s_casinhl.c: Do not include <float.h>.
26505         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26506         redefine.
26507         (__casinhl): Move code for finite nonzero arguments to
26508         k_casinhl.c.
26509         * math/libm-test.inc (cacos_test): Add more tests.
26510         * sysdeps/i386/fpu/libm-test-ulps: Update.
26511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26512
26513 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26514
26515         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26516         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26517         [!HAVE_MREMAP]: Remove [defined linux] case.
26518         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26519
26520 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26521
26522         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26523
26524 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26525
26526         * elf/elf.h (R_386_SIZE32): New relocation.
26527         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26528         R_386_SIZE32.
26529         (elf_machine_rela): Likewise.
26530         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26531         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26532
26533 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26534
26535         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26536         (FP_FAST_FMA): Do not define.
26537         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26538         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26539         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26540         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26541         !_SOFT_FLOAT]: Likewise.
26542         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26543         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26544         value.
26545         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26546         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26547         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26548         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26549         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26550         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26551         file.
26552
26553 2013-01-16  Andreas Schwab  <schwab@suse.de>
26554
26555         [BZ #14327]
26556         * include/stdlib.h (__mktemp): Add declaration.
26557         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26558         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26559
26560 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26561
26562         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26563         definitions.
26564         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26565         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26566         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26567         definitions here.
26568         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26569         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26570         definitions.
26571         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26572         and ONE.
26573         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26574         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26575         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26576         definitions.
26577         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26578         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26579         definitions.
26580         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26581
26582         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26583
26584 2013-01-15  David S. Miller  <davem@davemloft.net>
26585
26586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26587         trunc{,f} to libm-sysdep_routes.
26588         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26590         file.
26591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26593         file.
26594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26595         file.
26596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26598         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26599         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26600         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26601         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26602         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26603         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26604
26605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26606         nearbyint{,f} to libm-sysdep_routes.
26607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26609         New file.
26610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26611         file.
26612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26613         New file.
26614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26615         file.
26616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26618         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26619         file.
26620         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26621         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26622         file.
26623         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26624         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26625         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26626
26627         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26628         libc_feholdexcept and libc_fesetenv.
26629
26630 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26631
26632         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26633
26634 2013-01-14  David S. Miller  <davem@davemloft.net>
26635
26636         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26637         (SPARC_ASM_VIS2_IFUNC): Likewise.
26638         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26640         use of 'siam' instruction.
26641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26642         Likewise.
26643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26644         Likewise.
26645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26646         Likewise.
26647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26650         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26652         file.
26653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26654         file.
26655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26656         file.
26657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26658         file.
26659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26664         new VIS2 routines.
26665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26668         Likewise.
26669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26674         routines to libm-sysdep_routines.
26675         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26676
26677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26678         fdim/fdimf to libm-sysdep_routines.
26679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26680         file.
26681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26683         file.
26684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26687         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26688         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26689         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26690         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26691
26692 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26693
26694         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26695         to optimize copies.
26696
26697         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26700
26701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26702         local variable MPTWO.
26703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26704         Likewise.
26705
26706 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26707
26708         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26709         GLOB_NOESCAPE.
26710
26711 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26712
26713         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26714
26715 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26716
26717         * manual/pattern.texi (glob_t): Document gl_flags.
26718         (glob64_t): Likewise.
26719
26720 2013-01-11  David S. Miller  <davem@davemloft.net>
26721
26722         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26723         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26724         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26725         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26726         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26727         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26728         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26729         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26730         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26731         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26732         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26733         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26734         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26735
26736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26737         sparc V9 rather than using V8 code.
26738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26740
26741         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26742         Move to...
26743         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26744         Here.
26745
26746 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26747
26748         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26749         not in the main loop.
26750         * configure: Regenerated.
26751
26752 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26753
26754         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26755         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26756         to just #else.
26757         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26758         [!__GLIBC_HAVE_LONG_LONG] case.
26759         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26760         condition to just #else.
26761         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26762         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26763         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26764         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26765         unconditional.
26766         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26767         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26768         #elif condition to just #else.
26769         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26770         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26771         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26772         #elif condition to just #else.
26773
26774 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26775
26776         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26777         (EF_MIPS_ARCH_64): Fix value.
26778         (EF_MIPS_ARCH_32R2): New.
26779         (EF_MIPS_ARCH_64R2): New.
26780
26781 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26782
26783         * Makeconfig (+link-pie-before-libc): New.
26784         (+link-pie-after-libc): Likewise.
26785         (+link-pie-tests): Likewise.
26786         (+link-pie): Rewritten.
26787         (link-before-libc): Remove $(config-LDFLAGS).
26788         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26789         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26790         (config-LDFLAGS): Renamed to ...
26791         (rtld-LDFLAGS): This.
26792         (rtld-tests-LDFLAGS): New macro.
26793         (link-libc-rpath-link): Likewise.
26794         (link-libc-tests-rpath-link): Likewise.
26795         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26796         (link-libc): Prepand $(link-libc-rpath-link).
26797         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26798         (test-program-prefix): New macro.
26799         (test-via-rtld-prefix): Likewise.
26800         (test-program-cmd): Likewise.
26801         (host-test-program-cmd): Likewise.
26802         * Makefile ($(common-objpfx)testrun.sh): Replace
26803         $(run-program-prefix) with $(test-program-prefix).
26804         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26805         $(rtld-LDFLAGS).
26806         ($(common-objpfx)shlib.lds): Likewise.
26807         (build-module-helper): Likewise.
26808         ($(common-objpfx)format.lds): Likewise.
26809         * Rules (binaries-pie-tests): New.
26810         (binaries-pie-notests): Likewise.
26811         (binaries-pie): Rewritten.
26812         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26813         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26814         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26815         (make-test-out): Replace $(host-built-program-cmd) with
26816         $(host-test-program-cmd).
26817         * config.make.in (build-hardcoded-path-in-tests): New variable.
26818         * configure.in (--enable-hardcoded-path-in-tests): New configure
26819         option.
26820         (hardcoded_path_in_tests): New AC_SUBST.
26821         * configure: Regenerated.
26822         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26823         $(built-program-cmd) with $(test-program-cmd).
26824         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26825         (test_program_cmd): This.
26826         * elf/Makefile ($(objpfx)order.out): Run test with
26827         $(test-program-prefix).
26828         ($(objpfx)order2.out): Likewise.
26829         ($(objpfx)tst-initorder.out): Likewise.
26830         ($(objpfx)tst-initorder2.out): Likewise.
26831         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26832         $(test-program-cmd).
26833         ($(objpfx)tst-array1-static.out): Likewise.
26834         ($(objpfx)tst-array2.out): Likewise.
26835         ($(objpfx)tst-array3.out): Likewise.
26836         ($(objpfx)tst-array4.out): Likewise.
26837         ($(objpfx)tst-array5.out): Likewise.
26838         ($(objpfx)tst-array5-static.out): Likewise.
26839         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26840         $(test-program-cmd).
26841         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26842         $(run-program-prefix) with $(test-program-prefix).
26843         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26844         (test_program_prefix): This.
26845         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26846         $(run-program-prefix) with $(test-program-prefix).
26847         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26848         (test_program_prefix): This.
26849         * iconvdata/tst-tables.sh: Likewise.
26850         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26851         $(run-program-prefix) with $(test-program-prefix).
26852         ($(objpfx)tst-translit.out): Likewise.
26853         ($(objpfx)tst-gettext2.out): Likewise.
26854         ($(objpfx)tst-gettext4.out): Likewise.
26855         ($(objpfx)tst-gettext6.out): Likewise.
26856         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26857         (test_program_prefix): This.
26858         * intl/tst-gettext2.sh: Likewise.
26859         * intl/tst-gettext4.sh  Likewise.
26860         * intl/tst-gettext6.sh: Likewise.
26861         * intl/tst-translit.sh: Likewise.
26862         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26863         with $(test-program-cmd).
26864         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26865         $(run-program-prefix) with $(test-program-prefix).
26866         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26867         (test_program_prefix): This.
26868         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26869         $(run-program-prefix) with $(test-program-prefix).
26870         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26871         (test_program_prefix): This.
26872         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26873         * posix/Makefile ($(objpfx)globtest.out): Replace
26874         $(run-via-rtld-prefix) and $(test-wrapper) with
26875         $(test-program-prefix) and $(test-via-rtld-prefix).
26876         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26877         $(test-program-prefix).
26878         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26879         $(host-test-program-cmd).
26880         (tst-spawn-ARGS): Likewise.
26881         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26882         $(test-program-prefix).
26883         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26884         (test_via_rtld_prefix): This.
26885         (test_wrapper): Renamed to ...
26886         (test_program_prefix): This.
26887         (run_program_prefix): Replaced by test_program_prefix.
26888         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26889         (test_program_prefix): This.
26890         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26891         with $(host-test-program-cmd).
26892         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26893         $(run-program-prefix) with $(test-program-prefix).
26894         ($(objpfx)tst-printf.out): Likewise.
26895         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26896         $(test-program-cmd).
26897         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26898         (test_program_prefix): This.
26899         * stdio-common/tst-unbputc.sh: Likewise.
26900         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26901         $(run-program-prefix) with $(test-program-prefix).
26902         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26903         (test_program_prefix): This.
26904         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26905         $(built-program-cmd) with $(test-program-cmd).
26906
26907 2013-01-11  Andreas Jaeger  <aj@suse.de>
26908
26909         [BZ #15003]
26910         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26911         value. Sync with Linux 3.7.
26912
26913 2013-01-10  David S. Miller  <davem@davemloft.net>
26914
26915         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26916         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26917         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26918
26919 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26920
26921         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26922         never set.
26923         * configure: Regenerated.
26924
26925 2013-01-10  David S. Miller  <davem@davemloft.net>
26926
26927         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26928         sparc V9 rather than using V8 code.
26929         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26930         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26931
26932 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26933
26934         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26935         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26936         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26937         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26938         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26939         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26940         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26941         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26942         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26943         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26944         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26945         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26946         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26947         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26948         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26949         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26950         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26951         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26952         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26953         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26954         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26955         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26956         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26957         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26958         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26959         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26960         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26961
26962 2013-01-10  David S. Miller  <davem@davemloft.net>
26963
26964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26965
26966 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26967
26968         * posix/Makefile (tests-static): New variable.
26969         (tests): Add $(tests-static).
26970         (tst-exec-static-ARGS): New variable.
26971         (tst-spawn-static-ARGS): Likewise.
26972         * posix/tst-exec-static.c: New file.
26973         * posix/tst-spawn-static.c: Likewise.
26974         * posix/tst-exec.c: Support run directly.
26975         * posix/tst-spawn.c: Likewise.
26976
26977 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26978
26979         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26980         long.
26981         * math/bits/mathcalls.h (llrint): Likewise.
26982         (llround): Likewise.
26983         * stdlib/stdlib.h (struct drand48_data): Likewise.
26984         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26985         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26986         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26987         Likewise.
26988         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26989         Likewise.
26990         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26991         (elf_greg_t): Likewise.
26992         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26993         (__jmp_buf): Likewise.
26994         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26995         definitions.
26996         (llrint): Likewise, for all definitions.
26997         (llrintl): Likewise.
26998
26999         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27000         Remove [__GNUC__] condition.
27001         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27002         condition to just [__USE_ISOC99].
27003         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27004
27005 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27006
27007         [BZ #14200]
27008         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27009         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27010         defined.
27011         (_POSIX_V6_ILP32_OFF32): Likewise.
27012         (_XBS5_ILP32_OFF32): Likewise.
27013         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27014         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27015
27016 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27017
27018         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27019
27020         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27021         doubles __mpexp_twomm1.  Adjust usage.
27022         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27023         Remove.
27024
27025 2013-01-10  Andreas Schwab  <schwab@suse.de>
27026
27027         [BZ #14964]
27028         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27029         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27030
27031 2013-01-09  David S. Miller  <davem@davemloft.net>
27032
27033         [BZ #15003]
27034         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27035         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27036         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27037         (TCP_FASTOPEN): Define.
27038         (tcp_repair_opt): New structure.
27039         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27040         enum values.
27041         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27042         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27043         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27044         (tcp_cookie_transactions): New structure.
27045
27046 2013-01-09  Anton Blanchard  <anton@samba.org>
27047
27048         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27049         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27050         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27051         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27052
27053 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27054
27055         * include/features.h (__USE_ANSI): Remove.
27056
27057 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27058
27059         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27060
27061         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27062
27063 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27064
27065         * sysdeps/s390/fpu/libm-test-ulps: Update.
27066
27067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27068
27069         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27070         (__acr): Likewise.
27071         (__cpy): Likewise.
27072         (norm): Likewise.
27073         (denorm): Likewise.
27074         (__mp_dbl): Likewise.
27075         (__dbl_mp): Likewise.
27076         (add_magnitudes): Likewise.
27077         (sub_magnitudes): Likewise.
27078         (__add): Likewise.
27079         (__sub): Likewise.
27080         (__mul): Likewise.
27081         (__inv): Likewise.
27082         (__dvd): Likewise.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27084         (__acr): Likewise.
27085         (__cpy): Likewise.
27086         (norm): Likewise.
27087         (denorm): Likewise.
27088         (__mp_dbl): Likewise.
27089         (__dbl_mp): Likewise.
27090         (add_magnitudes): Likewise.
27091         (sub_magnitudes): Likewise.
27092         (__add): Likewise.
27093         (__sub): Likewise.
27094         (__mul): Likewise.
27095         (__inv): Likewise.
27096         (__dvd): Likewise.
27097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27098         (__acr): Likewise.
27099         (__cpy): Likewise.
27100         (norm): Likewise.
27101         (denorm): Likewise.
27102         (__mp_dbl): Likewise.
27103         (__dbl_mp): Likewise.
27104         (add_magnitudes): Likewise.
27105         (sub_magnitudes): Likewise.
27106         (__add): Likewise.
27107         (__sub): Likewise.
27108         (__mul): Likewise.
27109         (__inv): Likewise.
27110         (__dvd): Likewise.
27111
27112 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27113
27114         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27115         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27116         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27117         2 && __USE_EXTERN_INLINES]: Likewise.
27118
27119 2013-01-08  Andreas Jaeger  <aj@suse.de>
27120
27121         [BZ# 14985]
27122         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27123         Remove.
27124         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27125         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27126
27127 2013-01-07  Anton Blanchard  <anton@samba.org>
27128
27129         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27130         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27131         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27132         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27133         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27134         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27135         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27136         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27138         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27139         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27140         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27141         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27142         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27143         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27144         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27145         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27146         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27148         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27149         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27150         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27152         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27153         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27154         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27155         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27156         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27158         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27159         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27161         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27162         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27163         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27164         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27165         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27166         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27167         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27168         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27169         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27171         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27172
27173 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27174
27175         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27176         (__MALLOC_PMT): Likewise.
27177         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27178         [__GNUC__], only on [_LIBC].
27179         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27180         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27181         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27182         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27183         forward declaration.
27184         (realloc_hook_ini): Likewise.
27185         (memalign_hook_ini): Likewise.
27186         (__libc_memalign): Do not use __MALLOC_PMT in variable
27187         declaration.
27188         (__libc_valloc): Likewise.
27189         (__libc_pvalloc): Likewise.
27190         (__libc_calloc): Likewise.
27191         (__posix_memalign): Likewise.
27192
27193         [BZ #14996]
27194         * math/s_casinh.c: Include <float.h>.
27195         (__casinh): Do not do computation with squaring and square root
27196         for large arguments.
27197         * math/s_casinhf.c: Include <float.h>.
27198         (__casinhf): Do not do computation with squaring and square root
27199         for large arguments.
27200         * math/s_casinhl.c: Include <float.h>.
27201         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27202         (__casinhl): Do not do computation with squaring and square root
27203         for large arguments.
27204         * math/libm-test.inc (casin_test): Add more tests.
27205         (casinh_test): Likewise.
27206         * sysdeps/i386/fpu/libm-test-ulps: Update.
27207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27208
27209 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27210
27211         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27212         (__x86_64_raw_data_cache_size): Likewise.
27213         (__x86_64_data_cache_size_half): Likewise.
27214         (__x86_64_raw_data_cache_size_half): Likewise.
27215         (__x86_64_shared_cache_size): Likewise.
27216         (__x86_64_raw_shared_cache_size): Likewise.
27217         (__x86_64_shared_cache_size_half): Likewise.
27218         (__x86_64_raw_shared_cache_size_half): Likewise.
27219         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27220         to ...
27221         (__x86_data_cache_size): This.
27222         (__x86_64_raw_data_cache_size): Renamed to ...
27223         (__x86_raw_data_cache_size): This.
27224         (__x86_64_data_cache_size_half): Renamed to ...
27225         (__x86_data_cache_size_half): This.
27226         (__x86_64_raw_data_cache_size_half): Renamed to ...
27227         (__x86_raw_data_cache_size_half): This.
27228         (__x86_64_shared_cache_size): Renamed to ...
27229         (__x86_shared_cache_size): This.
27230         (__x86_64_raw_shared_cache_size): Renamed to ...
27231         (__x86_raw_shared_cache_size): This.
27232         (__x86_64_shared_cache_size_half): Renamed to ...
27233         (__x86_shared_cache_size_half): This.
27234         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27235         (__x86_raw_shared_cache_size_half): This.
27236         * sysdeps/x86_64/memcpy.S: Updated.
27237         * sysdeps/x86_64/memset.S: Likewise.
27238         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27239         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27240         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27241
27242 2013-01-04  David S. Miller  <davem@davemloft.net>
27243
27244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27245
27246 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27247
27248         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27249         1 to avoid redefinition warning.
27250         (__USE_GNU): Don't define.
27251         (init_signaling_nan): Protoize.
27252
27253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27254
27255 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27256
27257         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27259         (__cpymn): Likewise.
27260         (norm): Remove commented code.
27261         (denorm): Likewise.
27262         (__mp_dbl): Likewise.
27263         (__inv): Likewise.
27264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27265         (__cpymn): Likewise.
27266         (norm): Remove commented code.
27267         (denorm): Likewise.
27268         (__mp_dbl): Likewise.
27269         (__inv): Likewise.
27270
27271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27272         mp_no value for 1.0 and 2.0.
27273         (norm): Use RADIXI instead of radixi.d.
27274         (denorm): Likewise.
27275         (__mul): Use 0.0 instead of zero.d.
27276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27277         mp_no value for 1.0 and 2.0.
27278         (norm): Use RADIXI instead of radixi.d.
27279         (denorm): Likewise.
27280         (__mul): Use 0.0 instead of zero.d.
27281
27282 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27283
27284         [BZ #14994]
27285         * math/s_casinh.c (__casinh): Reduce finite argument to first
27286         quadrant then set signs of results at the end.
27287         * math/s_casinhf.c (__casinhf): Likewise.
27288         * math/s_casinhl.c (__casinhl): Likewise.
27289         * math/libm-test.inc (casin_test): Add more tests.
27290         (casinh_test): Likewise.
27291         * sysdeps/i386/fpu/libm-test-ulps: Update.
27292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27293
27294 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27295
27296         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27297
27298         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27299
27300         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27301         declarations.
27302         (denorm): Likewise.
27303         (__mp_dbl): Likewise.
27304         (__inv): Likewise.
27305
27306         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27307         and adjust the header comment.
27308
27309         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27310         variable name from declaration.
27311
27312 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27313
27314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27315         Initialize COMMON_CPUID_INDEX_7 element.
27316         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27317         (CPUID_RTM): Likewise.
27318         (HAS_RTM): Likewise.
27319         (COMMON_CPUID_INDEX_7): New enum.
27320
27321 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27322
27323         [BZ #14981]
27324         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27325         size is zero, record memory as freed.
27326
27327 2013-01-03  Andreas Jaeger  <aj@suse.de>
27328
27329         * po/ia.po: Add new Interlingua translation.
27330
27331 2012-01-03  Allan McRae  <allan@archlinux.org>
27332
27333         * locale/programs/localedef.c: Fix description of '--posix' flag.
27334
27335 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27336
27337         * NEWS: Update dates in second copyright notice.
27338         * README: Update copyright dates in example.
27339         * manual/libc.texinfo: Update copyright dates.
27340         * scripts/test-installation.pl: Update copyright date in --version
27341         output.
27342
27343         * hurd/ctty-input.c: Fix copyright notice formatting.
27344         * hurd/ctty-output.c: Likewise.
27345         * hurd/dtable.c: Likewise.
27346         * hurd/hurd-raise.c: Likewise.
27347         * hurd/hurdprio.c: Likewise.
27348         * hurd/msgportdemux.c: Likewise.
27349         * misc/sys/file.h: Likewise.
27350         * misc/sys/ioctl.h: Likewise.
27351         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27352         * sysdeps/mach/hurd/chdir.c: Likewise.
27353         * sysdeps/mach/hurd/fchdir.c: Likewise.
27354         * sysdeps/mach/hurd/rename.c: Likewise.
27355         * sysdeps/mach/hurd/rmdir.c: Likewise.
27356         * sysdeps/mach/hurd/seekdir.c: Likewise.
27357         * sysdeps/mach/hurd/setsid.c: Likewise.
27358         * sysdeps/posix/wait3.c: Likewise.
27359
27360         * All files with FSF copyright notices: Update copyright dates
27361         using scripts/update-copyrights.
27362         * intl/plural.c: Regenerated.
27363         * locale/programs/charmap-kw.h: Likewise.
27364         * locale/programs/locfile-kw.h: Likewise.
27365
27366 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27367
27368         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27369         four values.
27370
27371         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27372         calculation loop and add branch prediction.
27373
27374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27375         check access beyond bounds of m1np.
27376
27377         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27378         MPTWO.
27379         (__inv): Remove local variable MPTWO to use the global
27380         constant.
27381         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27382         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27383         variable MPTWO.
27384         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27385         MP3HALFS static const.
27386
27387 2013-01-01  David S. Miller  <davem@davemloft.net>
27388
27389         * po/ca.po: Update from translation team.
27390
27391 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27392
27393         * scripts/update-copyrights: New file.
27394         * Makeconfig: Reformat copyright notice.
27395         * ctype/ctype.h: Likewise.
27396         * debug/swprintf_chk.c: Likewise.
27397         * elf/dl-cache.c: Likewise.
27398         * elf/dl-debug.c: Likewise.
27399         * elf/dl-object.c: Likewise.
27400         * grp/initgroups.c: Likewise.
27401         * hurd/Makefile: Likewise.
27402         * hurd/hurd/signal.h: Likewise.
27403         * hurd/hurdfault.c: Likewise.
27404         * hurd/hurdioctl.c: Likewise.
27405         * hurd/hurdlookup.c: Likewise.
27406         * hurd/intr-msg.c: Likewise.
27407         * iconv/gconv_open.c: Likewise.
27408         * libio/swprintf.c: Likewise.
27409         * locale/lc-ctype.c: Likewise.
27410         * locale/nl_langinfo.c: Likewise.
27411         * mach/Machrules: Likewise.
27412         * mach/Makefile: Likewise.
27413         * malloc/obstack.h: Likewise.
27414         * manual/Makefile: Likewise.
27415         * manual/tsort.awk: Likewise.
27416         * misc/bits/stab.def: Likewise.
27417         * nis/nis_print_group_entry.c: Likewise.
27418         * nis/nis_table.c: Likewise.
27419         * nis/nss_compat/compat-pwd.c: Likewise.
27420         * nis/nss_compat/compat-spwd.c: Likewise.
27421         * po/Makefile: Likewise.
27422         * posix/fnmatch.c: Likewise.
27423         * posix/regex.h: Likewise.
27424         * resolv/Makefile: Likewise.
27425         * resolv/nss_dns/dns-network.c: Likewise.
27426         * resolv/res_hconf.c: Likewise.
27427         * scripts/gen-sorted.awk: Likewise.
27428         * soft-fp/soft-fp.h: Likewise.
27429         * stdio-common/printf.h: Likewise.
27430         * stdlib/monetary.h: Likewise.
27431         * stdlib/random.c: Likewise.
27432         * stdlib/random_r.c: Likewise.
27433         * sysdeps/generic/Makefile: Likewise.
27434         * sysdeps/gnu/Makefile: Likewise.
27435         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27436         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27437         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27438         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27439         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27442         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27443         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27444         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27445         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27446         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27447         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27448         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27449         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27450         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27451         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27452         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27453         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27455         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27456         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27457         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27458         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27459         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27460         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27461         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27463         * sysdeps/mach/hurd/errnos.awk: Likewise.
27464         * sysdeps/mach/hurd/fork.c: Likewise.
27465         * sysdeps/mach/hurd/getcwd.c: Likewise.
27466         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27467         * sysdeps/mach/hurd/mmap.c: Likewise.
27468         * sysdeps/mach/hurd/utimes.c: Likewise.
27469         * sysdeps/mach/hurd/xmknod.c: Likewise.
27470         * sysdeps/posix/profil.c: Likewise.
27471         * sysdeps/posix/readdir_r.c: Likewise.
27472         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27473         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27474         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27475         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27477         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27478         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27479         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27481         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27482         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27483         * sysdeps/pthread/lio_listio.c: Likewise.
27484         * sysdeps/sparc/dl-procinfo.h: Likewise.
27485         * sysdeps/unix/i386/sysdep.S: Likewise.
27486         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27487         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27488         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27489         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27491         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27492         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27493         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27494         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27495         * sysdeps/wordsize-32/divdi3.c: Likewise.
27496         * time/sys/time.h: Likewise.
27497         * wcsmbs/Makefile: Likewise.
27498
27499 2013-01-01  David S. Miller  <davem@davemloft.net>
27500
27501         * po/fr.po: Update from translation team.
27502
27503         * catgets/gencat.c: Update copyright year.
27504         * csu/version.c: Likewise.
27505         * debug/catchsegv.sh: Likewise.
27506         * debug/pcprofiledump.c: Likewise.
27507         * debug/xtrace.sh: Likewise.
27508         * elf/ldconfig.c: Likewise.
27509         * elf/ldd.bash.in: Likewise.
27510         * elf/pldd.c: Likewise.
27511         * elf/sotruss.ksh: Likewise.
27512         * elf/sprof.c: Likewise.
27513         * iconv/iconv_prog.c: Likewise.
27514         * iconv/iconvconfig.c: Likewise.
27515         * locale/programs/locale.c: Likewise.
27516         * locale/programs/localedef.c: Likewise.
27517         * login/programs/pt_chown.c: Likewise.
27518         * malloc/memusage.sh: Likewise.
27519         * malloc/memusagestat.c: Likewise.
27520         * malloc/mtrace.pl: Likewise.
27521         * nscd/nscd.c: Likewise.
27522         * nss/getent.c: Likewise.
27523         * nss/makedb.c: Likewise.
27524         * posix/getconf.c: Likewise.
27525
27526 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27527
27528         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27529         numbers.
27530
27531 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27532
27533         * math/bits/mathcalls.h (modf): Use __nonnull.
27534
27535 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27536
27537         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27538         (split): Use macro CN instead of the bare value.
27539         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27540         could be used.
27541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27542         instead of the bare value.
27543         (power1): Likewise.
27544
27545 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27546
27547         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27548         __ATAN_TWOM.
27549         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27550
27551         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27552         their values.
27553         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27554         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27555         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27556         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27557
27558 2012-12-28  Andreas Jaeger  <aj@suse.de>
27559
27560         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27561         values are from Linux 3.7.
27562
27563         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27564         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27565
27566 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27567
27568         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27569         TRUE case.
27570
27571         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27572         (norm): Likewise.
27573         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27574         variables with preprocessor constants.
27575         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27576         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27577         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27578
27579 2012-12-27  Bruno Haible  <bruno@clisp.org>
27580
27581         [BZ #14317]
27582         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27583         only if needed.
27584
27585 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27586
27587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27588         and use variable directly.
27589         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27590
27591         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27592         MPONE.
27593         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27594         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27595         variable MPONE.
27596         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27598         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27599         include directive.  Remove local variable MPONE.
27600         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27601         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27602         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27603
27604 2012-12-25  David S. Miller  <davem@davemloft.net>
27605
27606         * version.h (RELEASE): Set to "development".
27607         (VERSION): Set to "2.17.90".
27608         * NEWS: Add 2.18 section.
27609
27610 2012-12-21  David S. Miller  <davem@davemloft.net>
27611
27612         * po/hr.po: Update from translation team.
27613
27614 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27615
27616         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27617
27618 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27619
27620         * NEWS:  Mention new memcpy for MIPS.
27621
27622 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27623
27624         * manual/contrib.texi (Contributors): Spelling correction.
27625
27626 2012-12-15  David S. Miller  <davem@davemloft.net>
27627
27628         * po/ru.po: Update from translation team.
27629
27630 2012-12-13  David S. Miller  <davem@davemloft.net>
27631
27632         * NEWS: Mention IFUNC testsuite enhancements.
27633
27634         * po/pl.po: Update from translation team.
27635         * po/bg.po: Likewise.
27636
27637         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27638         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27639
27640 2012-12-11  David S. Miller  <davem@davemloft.net>
27641
27642         * po/sv.po: Update from translation team.
27643
27644         * po/vi.po: Update from translation team.
27645
27646         * po/cs.po: Update from translation team.
27647
27648         * po/de.po: Update from translation team.
27649         * po/eo.po: Likewise.
27650         * po/nl.po: Likewise.
27651
27652 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653
27654         [BZ #14246]
27655         * manual/argp.texi (Argp Helper Functions): Move node to follow
27656         Argp Parsing State.
27657
27658         [BZ #14872]
27659         * manual/conf.texi (Limits on File System Capacity): Mention if
27660         terminating null is included in the max size.
27661
27662 2012-12-10  Andreas Jaeger  <aj@suse.de>
27663
27664         * po/cs.po: Update from translation team.
27665
27666 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667
27668         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27669         void pointer and cast to uintptr_t.
27670         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27671         path.
27672         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27673         * sysdeps/s390/s390-64/memset.S: Likewise.
27674
27675 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27676
27677         [BZ #14833]
27678         * menual/message.texi (Message Translation): Fix typos.
27679         (Helper programs for gettext): Likewise.
27680
27681 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27682
27683         [BZ #14898]
27684         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27685         Change to -1.
27686
27687 2012-12-07  David S. Miller  <davem@davemloft.net>
27688
27689         * po/libc.pot: Update.
27690
27691 2012-12-07  Richard Henderson  <rth@redhat.com>
27692
27693         [BZ #10114]
27694         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27695         normal/normal case to before the switch.
27696         (_FP_DIV): Likewise.
27697
27698 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27699             Mike Frysinger  <vapier@gentoo.org>
27700
27701         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27702         check for __NR_fadvise64_64.
27703
27704 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27705
27706         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27707         0, not just to plain "0" as a statement.
27708         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27709         with cw.
27710
27711 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27712
27713         * NEWS: Use sourceware.org in Bugzilla URL.
27714
27715 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716
27717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27718         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27719
27720         * stdio-common/tst-put-error.c (do_test): Add newline to the
27721         padded test to ensure flush.
27722
27723 2012-12-05  Jeff Law  <law@redhat.com>
27724
27725         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27726
27727 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27728
27729         * README: Don't refer to ports add-on as distributed separately.
27730         Mention AArch64 in list of systems supported in the ports add-on.
27731
27732         * LICENSES: Add more non-FSF copyright and license notices.
27733
27734         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27735         ((unused)).
27736
27737         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27738
27739         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27740         10000 as width of padded output.
27741
27742 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27743
27744         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27745
27746         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27747         variable LX with __attribute__ ((unused)).
27748         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27749         Likewise.
27750         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27751         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27753         with __attribute__ ((unused)).
27754
27755 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27756
27757         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27758
27759 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27760
27761         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27762         (CFLAGS-nldbl-acos.c): New variable.
27763         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27764         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27765         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27766         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27767         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27768         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27769         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27770         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27771         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27772         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27773         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27774         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27775         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27776         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27777         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27778         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27779         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27780         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27781         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27782         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27783         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27784         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27785         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27786         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27787         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27788         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27789         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27790         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27791         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27792         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27793         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27794         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27795         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27796         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27797         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27798         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27799         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27800         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27801         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27802         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27803         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27804         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27805         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27806         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27807         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27808         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27809         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27810         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27811         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27812         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27813         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27814         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27815         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27816         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27817         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27818         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27819         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27820         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27821         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27822         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27823         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27824         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27825         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27826         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27827         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27828         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27829         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27830         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27831         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27832         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27833         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27834         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27835         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27836         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27837         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27838         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27839         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27840         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27841         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27842         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27843         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27844         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27845         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27846         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27847         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27848         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27849         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27850         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27851         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27852         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27853         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27854         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27855         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27856         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27857         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27858         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27859         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27860
27861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27862         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27863
27864         [BZ #14914]
27865         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27866         whole low double instead of just low 47 bits when splitting values
27867         into two parts.
27868
27869 2012-12-03  Allan McRae  <allan@archlinux.org>
27870
27871         * manual/stdio.texi (Predefined Printf Handlers): Remove
27872         @hsep and @vsep usage.
27873
27874 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27875
27876         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27877         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27878
27879 2012-12-03  Jeff Law  <law@redhat.com>
27880
27881         * time/sys/time.h (settimeofday): Do not mark TV argument
27882         as __nonnull.
27883
27884 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27885
27886         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27887         when currently writing and seek to current position when not.
27888         * libio/Makefile (tests): Remove bug-fclose1.
27889         * libio/bug-fclose1.c: Delete.
27890
27891 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27892
27893         * manual/arith.texi (feenableexcept): Fix typo.
27894         (fedisableexcept): Likewise.
27895
27896 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27897
27898         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27899         second, differently-typed declaration, rather than a cast.
27900
27901 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27902
27903         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27904         * include/rpc/svc.h: ... here.
27905
27906 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27907
27908         [BZ #13013]
27909         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27910         depending n and resplen2 to catch cases where answer
27911         equals answerp2.
27912
27913 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27914
27915         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27916         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27917
27918 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27919
27920         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27921
27922 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27923
27924         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27925
27926 2012-11-28  Jeff Law  <law@redhat.com>
27927
27928         [BZ #13761]
27929         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27930         dataset_temporary.  Track alloca usage into alloca_used.
27931         If dataset is large allocate and release it via malloc/free.
27932
27933 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27934
27935         [BZ #14197]
27936         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27937
27938 2012-11-28  David S. Miller  <davem@davemloft.net>
27939
27940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27941
27942 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27943
27944         [BZ #14803]
27945         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27946         of pi/2 rounded to nearest to 64 bits.
27947         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27948         nearest to 64 bits.
27949         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27950         bits.
27951
27952 2012-11-28  Jeff Law <law@redhat.com>
27953             Martin Osvald <mosvald@redhat.com>
27954
27955         [BZ #14889]
27956         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27957         * sunrpc/svc.c: Include time.h.
27958         (__svc_accept_failed): New function.
27959         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27960         any reason other than EINTR, call __svc_accept_failed.
27961         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27962         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27963
27964 2012-11-28  Andreas Schwab  <schwab@suse.de>
27965
27966         * scripts/abilist.awk: Also handle indirect functions in .opd
27967         section.
27968
27969 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27970
27971         [BZ #13881]
27972         * sysdeps/x86/fpu/powl_helper.c: New file.
27973         * sysdeps/x86/fpu/Makefile: Likewise.
27974         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27975         (p3): New object.
27976         (__ieee754_powl): Use __powl_helper for finite arguments except
27977         integer exponents below 8.
27978         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27979         (p3): New object.
27980         (__ieee754_powl): Use __powl_helper for finite arguments except
27981         integer exponents below 8.
27982         * math/libm-test.inc (pow_test): Add more tests and enable some
27983         previously disabled tests.
27984         * sysdeps/i386/fpu/libm-test-ulps: Update.
27985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986
27987 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27988             Carlos O'Donell  <carlos_odonell@mentor.com>
27989
27990         * nss/makedb.c (is_prime): Assert that input is odd and greater
27991         than 4.  Note that fact in a comment too.
27992         (next_prime): Add 4 to input.
27993
27994 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27995
27996         [BZ #11741]
27997         * libio/Makefile (tests): Add test case tst-fwrite-error.
27998         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27999         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28000         * libio/tst-fwrite-error.c: New test case.
28001
28002 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28003
28004         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28005         before casting to void *.
28006         * include/libc-internal.h (__pointer_type): New macro.
28007         (__integer_if_pointer_type_sub): Likewise.
28008         (__integer_if_pointer_type): Likewise.
28009         (cast_to_integer): Likewise.
28010         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28011         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28012         before casting to atomic64_t.
28013         (atomic_exchange_acq): Likewise.
28014         (__arch_exchange_and_add_body): Likewise.
28015         (__arch_add_body): Likewise.
28016         (atomic_add_negative): Likewise.
28017         (atomic_add_zero): Likewise.
28018
28019 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28020
28021         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28022         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28023         (add_fdes): Likewise.
28024         (linear_search_fdes): Likewise.
28025         (binary_search_unencoded_fdes): Likewise.
28026
28027 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28028
28029         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28030
28031 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28032
28033         * configure.in: Autodetect C++ header directories.
28034         * configure: Regenerated.
28035
28036 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28037
28038         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28039
28040 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28041
28042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28043
28044 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28045
28046         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28047         LDBL_MANT_DIG == 106]: Disable some tests.
28048         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28049         Likewise.
28050         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28051         Likewise.
28052
28053         [BZ #14871]
28054         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28055         input for small inputs.  Return +/- pi/2 for large inputs.
28056         * math/libm-test.inc (atan_test): Add more tests.
28057
28058         * sysdeps/generic/unwind-dw2-fde-glibc.c
28059         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28060         __attribute__ ((unused)).
28061
28062         [BZ #14645]
28063         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28064         x * y if x and y are nonzero and z is zero.
28065
28066         [BZ #14811]
28067         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28068         nonzero exponents with absolute value below 0x1p-117 to +/-
28069         0x1p-117.
28070
28071         [BZ #14869]
28072         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28073         up arguments below 2**-450, not just those below 2**-500.
28074         * math/libm-test.inc (hypot_test): Add another test.
28075
28076         [BZ #14868]
28077         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28078         Return a+b for ratio over 2**120, not 2**60.
28079         * math/libm-test.inc (hypot_test): Add another test.
28080
28081         * math/libm-test.inc (clog_test): Use
28082         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28083         (clog10_test): Likewise.
28084
28085         [BZ #6778]
28086         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28087
28088 2012-11-22  Andreas Schwab  <schwab@suse.de>
28089
28090         * sysdeps/i386/fpu/libm-test-ulps: Update.
28091
28092 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28093
28094         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28095         printf output with newline.
28096
28097 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28098
28099         [BZ #14865]
28100         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28101         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28102         -z nodlopen, -z initfirst and -z execstack support.
28103         * configure: Regenerated.
28104
28105         * elf/elf.h (DF_1_NODIRECT): New macro.
28106         (DF_1_IGNMULDEF): Likewise.
28107         (DF_1_NOKSYMS): Likewise.
28108         (DF_1_NOHDR): Likewise.
28109         (DF_1_EDITED): Likewise.
28110         (DF_1_NORELOC): Likewise.
28111         (DF_1_SYMINTPOSE): Likewise.
28112         (DF_1_GLOBAUDIT): Likewise.
28113         (DF_1_SINGLETON): Likewise.
28114         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28115         DT_1_SUPPORTED_MASK bits.
28116         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28117
28118 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28119
28120         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28121
28122 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28123
28124         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28125         macro.
28126
28127         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28128         (sendmmsg): Move declarations...
28129         * socket/sys/socket.h: ... here.
28130         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28131         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28132         include it from...
28133         * socket/recvmmsg.c: ... this new file.
28134         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28135         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28136         definition of __sendmmsg hidden.
28137         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28138         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28139         Move ENOSYS stub into and include it from...
28140         * socket/sendmmsg.c: ... this new file.
28141         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28142         (sysdep_routines): Move recvmmsg and sendmmsg...
28143         * socket/Makefile (routines): ... here.
28144         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28145         (GLIBC_PRIVATE): Add __sendmmsg.
28146         * include/sys/socket.h (__sendmmsg): Add declarations.
28147         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28148         sendmmsg.
28149
28150 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28151
28152         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28153         variable I1 with __attribute__ ((unused)).
28154         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28155
28156 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28157
28158         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28159         DUMMY variables with __attribute__ ((unused)).
28160
28161         * bits/byteswap.h: Include <bits/types.h>.
28162         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28163
28164 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28165
28166         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28167         string_t.  Do not manually set errno.
28168         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28169         length with __strnlen.  Make sure to both set errno and return it on
28170         failure.
28171
28172 2012-11-19  David S. Miller  <davem@davemloft.net>
28173
28174         With help from Joseph Myers.
28175         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28176         very large arguments properly.
28177         * math/libm-test.inc (atan_test): New tests.
28178         (atan2_test): New tests.
28179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28181
28182 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28183
28184         [BZ #14856]
28185         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28186         Define to 3.
28187
28188         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28189         [POSIX] (EADDRNOTAVAIL): Likewise.
28190         [POSIX] (EAFNOSUPPORT): Likewise.
28191         [POSIX] (EALREADY): Likewise.
28192         [POSIX] (ECONNABORTED): Likewise.
28193         [POSIX] (ECONNREFUSED): Likewise.
28194         [POSIX] (ECONNRESET): Likewise.
28195         [POSIX] (EDESTADDRREQ): Likewise.
28196         [POSIX] (EDQUOT): Likewise.
28197         [POSIX] (EHOSTUNREACH): Likewise.
28198         [POSIX] (EIDRM): Likewise.
28199         [POSIX] (EISCONN): Likewise.
28200         [POSIX] (ELOOP): Likewise.
28201         [POSIX] (EMULTIHOP): Likewise.
28202         [POSIX] (ENETDOWN): Likewise.
28203         [POSIX] (ENETUNREACH): Likewise.
28204         [POSIX] (ENOBUFS): Likewise.
28205         [POSIX] (ENODATA): Likewise.
28206         [POSIX] (ENOLINK): Likewise.
28207         [POSIX] (ENOMSG): Likewise.
28208         [POSIX] (ENOPROTOOPT): Likewise.
28209         [POSIX] (ENOSR): Likewise.
28210         [POSIX] (ENOSTR): Likewise.
28211         [POSIX] (ENOTCONN): Likewise.
28212         [POSIX] (ENOTSOCK): Likewise.
28213         [POSIX] (EOPNOTSUPP): Likewise.
28214         [POSIX] (EOVERFLOW): Likewise.
28215         [POSIX] (EPROTO): Likewise.
28216         [POSIX] (EPROTONOSUPPORT): Likewise.
28217         [POSIX] (EPROTOTYPE): Likewise.
28218         [POSIX] (ESTALE): Likewise.
28219         [POSIX] (ETIME): Likewise.
28220         [POSIX] (ETXTBSY): Likewise.
28221         [POSIX] (EWOULDBLOCK): Likewise.
28222         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28223         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28224         [POSIX] (SEEK_CUR): Likewise.
28225         [POSIX] (SEEK_END): Likewise.
28226         [POSIX || UNIX98] (mode_t): Do not require.
28227         [POSIX] (off_t): Likewise.
28228         [POSIX] (pid_t): Likewise.
28229         [POSIX] (sys/stat.h): Do not allow header.
28230         [POSIX] (unistd.h): Likewise.
28231         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28232         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28233         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28234         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28235         require.
28236         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28237         sigevent): Specify elements.
28238         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28239         entry.
28240         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28241         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28242
28243         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28244         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28245         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28246         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28247         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28248         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28249         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28250         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28251         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28252         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28253         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28254         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28255         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28256         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28257         Likewise.
28258         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28259         Likewise.
28260         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28261         Likewise.
28262         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28263         Likewise.
28264         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28265         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28266         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28267         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28268         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28269         Specify lower bound on value.
28270         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28271         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28272         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28273         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28274         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28275         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28276         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28277         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28278         value.
28279         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28280         as optional.
28281         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28282         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28283         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28284         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28285         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28286         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28287         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28288         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28289         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28290         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28291         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28292         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28293         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28294         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28295         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28296         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28297         entry.
28298         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28299         optional.
28300         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28301         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28302         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28303         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28304         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28305         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28306         Likewise.
28307         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28308         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28309         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28310         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28311         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28312         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28313         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28314         as optional.
28315         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28316         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28317         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28318         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28319         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28320         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28321         specify as optional.
28322         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28323         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28324         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28325         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28326         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28327         [XPG3] (NL_LANGMAX): Likewise.
28328         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28329         [POSIX || XPG3] (NL_NMAX): Likewise.
28330         [POSIX || XPG3] (NL_SETMAX): Likewise.
28331         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28332         [XPG3] (NZERO): Likewise.
28333         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28334         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28335         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28336         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28337         (REG_ERANGE): Expect.
28338         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28339         optional-constant.
28340         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28341         Use (void) in prototype.
28342         [POSIX] (*_t): Allow.
28343         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28344         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28345         (WRDE_BADVAL): Expect.
28346
28347         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28348         expect.
28349         [XPG3 || XPG4] (O_RSYNC): Likewise.
28350         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28351         Likewise.
28352         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28353         [XPG3 || XPG4] (sigqueue): Likewise.
28354         [XPG3 || XPG4] (sigtimedwait): Likewise.
28355         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28356         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28357         [XPG3 || XPG4] (vsnprintf): Likewise.
28358         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28359         Likewise.
28360         [XPG3 || XPG4] (blksize_t): Likewise.
28361         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28362         Likewise.
28363         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28364         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28365         [XPG3 || XPG4] (struct itimerspec): Likewise.
28366         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28367         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28368         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28369         [XPG3 || XPG4] (clockid_t): Likewise.
28370         [XPG3 || XPG4] (timer_t): Likewise.
28371         [XPG3 || XPG4] (clock_getres): Likewise.
28372         [XPG3 || XPG4] (clock_gettime): Likewise.
28373         [XPG3 || XPG4] (clock_settime): Likewise.
28374         [XPG3 || XPG4] (nanosleep): Likewise.
28375         [XPG3 || XPG4] (timer_create): Likewise.
28376         [XPG3 || XPG4] (timer_delete): Likewise.
28377         [XPG3 || XPG4] (timer_gettime): Likewise.
28378         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28379         [XPG3 || XPG4] (timer_settime): Likewise.
28380         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28381         [XPG3 || XPG4] (getlogin_r): Likewise.
28382         [XPG3 || XPG4] (pread): Likewise.
28383         [XPG3 || XPG4] (pthread_atfork): Likewise.
28384         [XPG3 || XPG4] (pwrite): Likewise.
28385
28386         [BZ #14835]
28387         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28388         <bits/siginfo.h>.
28389
28390 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28391
28392         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28393         finalizing MALLSTREAM.
28394
28395         * sysdeps/mach/hurd/syncfs.c: New file.
28396
28397 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28398
28399         [BZ #14719]
28400         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28401         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28402         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28403         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28404         (_nss_dns_gethostbyname4_r): Likewise.
28405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28406         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28407
28408 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28409
28410         [BZ #13763]
28411         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28412
28413 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28414
28415         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28416         * elf/cache.c (print_entry): Print ",AArch64" for
28417         FLAG_AARCH64_LIB64
28418
28419         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28420         * elf/cache.c (print_entry): Print ",hard-float" for
28421         FLAG_ARM_LIBHF.
28422
28423 2012-11-18  David S. Miller  <davem@davemloft.net>
28424
28425         With help from Joseph Myers.
28426         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28427         cutoff to 2**-13.
28428         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28429         cutoff to 2**-25.
28430         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28431         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28432         small.
28433         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28434         * math/libm-test.inc (y0_test): New tests.
28435         (y1_test): New tests.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28439
28440 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28441
28442         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28443         64-bit targets.
28444         * configure: Regenerated.
28445
28446 2012-11-17  David S. Miller  <davem@davemloft.net>
28447
28448         [BZ #14811]
28449         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28450         nonzero exponents with absolute value below 0x1p-128 to +/-
28451         0x1p-128.
28452
28453 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28454
28455         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28456
28457         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28458
28459         * posix/getconf-speclist.c: New file.
28460         * posix/posix-envs.def: Likewise.
28461         * posix/confstr.c (START_ENV_GROUP): New macro.
28462         (END_ENV_GROUP): Likewise.
28463         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28464         (KNOWN_PRESENT_ENV_STRING): Likewise.
28465         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28466         (UNKNOWN_ENVIRONMENT): Likewise.
28467         (confstr): Include posix-envs.def instead of handling
28468         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28469         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28470         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28471         (END_ENV_GROUP): Likewise.
28472         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28473         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28474         (UNKNOWN_ENVIRONMENT): Likewise.
28475         (__sysconf): Include posix-envs.def instead of handling associated
28476         cases directly here.
28477         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28478         preprocessing getconf-speclist.c rather than running getconf or
28479         generating empty file.
28480
28481 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28482
28483         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28484
28485 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28486
28487         [BZ #14672]
28488         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28489
28490 2012-11-16  David S. Miller  <davem@davemloft.net>
28491
28492         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28493         smaller than LDBL_EPSILON/2.0L, just return xm1.
28494
28495 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28496
28497         * elf/tst-array1.c (init): Set constructor priority to 1000.
28498         (fini): Set destructor priority to 1000.
28499         * elf/tst-array2dep.c: Likewise.
28500
28501 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28502
28503         [BZ #11741]
28504         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28505         (_IO_new_file_xsputn): Also return EOF if none of the input
28506         data was written when overflow failed.
28507         * libio/iopadn.c (_IO_padn): Likewise.
28508         * libio/iowpadn.c (_IO_wpadn): Likewise.
28509         * stdio-common/tst-put-error.c: Add copyright notice.
28510         (do_test): Add case for printing padded string.
28511         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28512         _IO_padn returned error.
28513         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28514         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28515         return EOF.
28516
28517 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28518
28519         * libio/libioP.h: Add comment note that the references to C++
28520         bits are now obsolete.
28521
28522 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28523
28524         * math/libm-test.inc (check_complex): Use asprintf.
28525
28526 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28527
28528         * debug/pcprofiledump.c (print_version): Update copyright year.
28529         * malloc/memusagestat.c (print_version): Likewise.
28530
28531 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28532
28533         [BZ #14831]
28534         * elf/Makefile (tests): Add tst-audit8.
28535         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28536         ($(objpfx)tst-audit8.out): New target.
28537         (tst-audit8-ENV): New variable.
28538         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28539         audit if l_reloc_result is NULL.
28540         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28541         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28542         * elf/tst-audit8.c: New file.
28543
28544 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28545
28546         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28547         * misc/Makefile (CFLAGS-select.c): Define.
28548         * posix/Makefile (CFLAGS-pause.c): Define.
28549
28550 2012-11-13  David S. Miller  <davem@davemloft.net>
28551
28552         * crypt/Makefile: Move test targets after toplevel Rules
28553         inclusion.  Grab any necessary sysdep routines when linking.
28554         * crypt/md5.c (md5_process_block): Remove define, we will always
28555         name it __md5_process_block.
28556         (md5_finish_ctx): Update md5_process_block call.
28557         (md5_stream): Likewise.
28558         (md5_process_bytes): Likewise.
28559         (md5_process_block): Rename to __md5_process_block and move to ...
28560         * crypt/md5-block.c: ... here.
28561         * crypt/sha256.c (sha256_process_block): Move to ...
28562         * crypt/sha256-block.c: ... here.
28563         * crypt/sha512.c (sha512_process_block): Move to ...
28564         * crypt/sha512-block.c: ... here.
28565         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28566         path.
28567         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28568         * sysdeps/sparc/sparc64/multiarch/Makefile
28569         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28570         crypt subdir.
28571         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28572         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28573         multiarch changes.
28574         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28575         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28576         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28577         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28578         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28579         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28580         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28581         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28582         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28583         file.
28584         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28585         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28586         file.
28587         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28588
28589 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28590
28591         * timezone/tzselect.ksh: Update from tzcode git revision
28592         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28593         * timezone/zdump.c: Likewise.
28594         * timezone/zic.c: Likewise.
28595         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28596         in TZVERSION setting, not $(PKGVERSION).
28597         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28598         REPORT_BUGS_TO settings.
28599
28600         [BZ #14838]
28601         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28602         macro.
28603
28604 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28605
28606         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28607         detection to immediately after _FP_ROUND().
28608         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28609         bits are 0.
28610
28611 2012-11-11  David S. Miller  <davem@davemloft.net>
28612
28613         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28614         inttypes.h
28615         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28616         __close rather than their public counterparts.
28617
28618 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28619
28620         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28621         file.
28622         [UNIX98] (sem_timedwait): Do not expect.
28623         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28624         [XPG4 || UNIX98] (sockatmark): Do not expect.
28625         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28626         (clock_getcpuclockid): Do not expect.
28627         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28628         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28629         Do not expect.
28630         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28631         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28632         [UNIX98] (vwscanf): Likewise.
28633         [UNIX98] (vswscanf): Likewise.
28634
28635 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28636
28637         * timezone/version.h: Remove file.
28638         * timezone/README: Do not refer to version.h.
28639         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28640         $(objpfx)version.h.
28641         ($(objpfx)zdump.o): Likewise.
28642         ($(objpfx)version.h): New target.
28643
28644         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28645         2012i.
28646         * timezone/README: Don't mention modification to tzselect.ksh.
28647         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28648         work on unmodified tzselect.ksh.  Substitute version numbers in
28649         tzselect.ksh.
28650
28651         * Makefile (format-me): Remove.
28652         (INSTALL): Adjust indentation.  Use commands directly instead of
28653         using $(format-me).
28654
28655         * aclocal.m4 (ACX_PKGVERSION): New macro.
28656         (ACX_BUGURL): Likewise.
28657         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28658         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28659         (REPORT_BUGS_TO): Likewise.
28660         * configure: Regenerated.
28661         * config.h.in (PKGVERSION): New macro.
28662         (REPORT_BUGS_TO): Likewise.
28663         * config.make.in (PKGVERSION): New variable.
28664         (PKGVERSION_TEXI): Likewise.
28665         (REPORT_BUGS_TO): Likewise.
28666         (REPORT_BUGS_TEXI): Likewise.
28667         * Makefile (format-me): Use -I$(common-objpfx)manual.
28668         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28669         ($(common-objpfx)manual/%): New target.
28670         (manual/%): Remove target.
28671         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28672         (print_version): Use PKGVERSION.
28673         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28674         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28675         and REPORT_BUGS_TO.
28676         ($(objpfx)xtrace): Likewise.
28677         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28678         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28679         (print_version): Use PKGVERSION.
28680         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28681         (do_version): Use PKGVERSION.
28682         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28683         REPORT_BUGS_TO.
28684         (common-ldd-rewrite): Likewise.
28685         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28686         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28687         (print_version): Use PKGVERSION.
28688         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28689         * elf/pldd.c (argp_program_bug_address): Remove variable.
28690         (more_help): New function.
28691         (argp): Use more_help.
28692         (print_version): Use PKGVERSION.
28693         * elf/sln.c (main): Use PKGVERSION.
28694         (usage): Use REPORT_BUGS_TO.
28695         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28696         (top level): Use PKGVERSION.
28697         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28698         (print_version): Use PKGVERSION.
28699         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28700         (print_version): Use PKGVERSION.
28701         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28702         (print_version): Use PKGVERSION.
28703         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28704         (print_version): Use PKGVERSION.
28705         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28706         (print_version): Use PKGVERSION.
28707         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28708         (print_version): Use PKGVERSION.
28709         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28710         and BUGURL.
28711         ($(objpfx)memusage): Likewise.
28712         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28713         (do_version): Use PKGVERSION.
28714         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28715         (print_version): Use PKGVERSION.
28716         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28717         ($PKGVERSION): New variable.
28718         ($REPORT_BUGS_TO): Likewise.
28719         (usage): Use $REPORT_BUGS_TO.
28720         (top level): Use $PKGVERSION.
28721         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28722         ($(objpfx)pkgvers.texi): New rule.
28723         ($(objpfx)stamp-pkgvers): Likewise.
28724         * manual/install.texi: Include pkgvers.texi.
28725         (--with-pkgversion): Document new configure option.
28726         (--with-bugurl): Likewise.
28727         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28728         than necessarily for this particular distribution.  Use
28729         REPORT_BUGS_TO for where to report bugs.
28730         * INSTALL: Regenerated.
28731         * manual/libc.texinfo: Include pkgvers.texi.
28732         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28733         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28734         (print_version): Use PKGVERSION.
28735         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28736         (print_version): Use PKGVERSION.
28737         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28738         (print_version): Use PKGVERSION.
28739         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28740         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28741         macro.
28742         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28743         (print_version): Use PKGVERSION.
28744         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28745         (print_version): Use PKGVERSION.
28746         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28747         and PKGVERSION.
28748
28749         * timezone/checktab.awk: Update from tzcode 2012i.
28750         * timezone/ialloc.c: Likewise.
28751         * timezone/private.h: Likewise.
28752         * timezone/scheck.c: Likewise.
28753         * timezone/tzfile.h: Likewise.
28754         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28755         (TZVERSION): Hardcode tzcode version number.
28756         * timezone/zdump.c: Update from tzcode 2012i.
28757         * timezone/zic.c: Likewise.
28758         * timezone/version.h: New file.
28759         * timezone/README: Describe version.h.  Update upstream location.
28760
28761         [BZ #14824]
28762         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28763         (mktemp): Enable declaration.
28764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28765         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28766         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28767         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28768         Likewise.
28769         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28770         Likewise.
28771         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28772         Likewise.
28773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28774         Likewise.
28775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28776         Likewise.
28777         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28778         Likewise.
28779
28780         [BZ #14821]
28781         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28782         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28783         for copies of such integer values.
28784         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28785         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28786
28787 2012-11-09  Andreas Jaeger  <aj@suse.de>
28788
28789         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28790         definitions and declarations that are provided by
28791         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28792
28793 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28794
28795         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28796         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28797         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28798         definition.
28799
28800 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28801
28802         * elf/elf.h: Update comment before AArch64 relocations.
28803
28804 2012-11-07  David S. Miller  <davem@davemloft.net>
28805
28806         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28807         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28808         (__start_context): Declare.
28809         (__makecontext_ret): Delete.
28810         (__makecontext): Hook up __start_context instead of
28811         __makecontext_ret.
28812         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28813         (sysdep_routines): Add __start_context when in stdlib.
28814
28815 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28816
28817         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28818         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28819         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28820         hardcoded "nm".
28821         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28822         (READELF): New variable.  Use it instead of hardcoded "readelf".
28823
28824 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28825
28826         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28827         * sysdeps/x86/Makefile: Here.
28828         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28829         * sysdeps/x86/tst-xmmymm.sh: This.
28830
28831 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28832
28833         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28834         expectations.
28835         [UNIX98] (pthread_barrier_t): Do not expect.
28836         [UNIX98] (pthread_barrierattr_t): Likewise.
28837         [UNIX98] (pthread_spinlock_t): Likewise.
28838         [UNIX98] (pthread_barrier_destroy): Likewise.
28839         [UNIX98] (pthread_barrier_init): Likewise.
28840         [UNIX98] (pthread_barrier_wait): Likewise.
28841         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28842         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28843         [UNIX98] (pthread_barrierattr_init): Likewise.
28844         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28845         [UNIX98] (pthread_getcpuclockid): Likewise.
28846         [UNIX98] (pthread_mutex_timedlock): Likewise.
28847         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28848         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28849         [UNIX98] (pthread_sigmask): Likewise.
28850         [UNIX98] (pthread_spin_destroy): Likewise.
28851         [UNIX98] (pthread_spin_init): Likewise.
28852         [UNIX98] (pthread_spin_lock): Likewise.
28853         [UNIX98] (pthread_spin_trylock): Likewise.
28854         [UNIX98] (pthread_spin_unlock): Likewise.
28855         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28856         Do not expect.
28857         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28858         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28859         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28860         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28861         [XPG3 || XPG4] (pthread_key_t): Likewise.
28862         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28863         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28864         [XPG3 || XPG4] (pthread_once_t): Likewise.
28865         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28866         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28867         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28868         [XPG3 || XPG4] (pthread_t): Likewise.
28869
28870         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28871         not expect.
28872         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28873
28874         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28875         Change function return type to int.
28876
28877         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28878         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28879         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28880         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28881         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28882         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28883         [!POSIX] (posix_madvise): Likewise.
28884         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28885         && !UNIX98].
28886         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28887         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28888         (mode_t): Likewise.
28889         (posix_mem_offset): Likewise.
28890         (posix_typed_mem_get_info): Likewise.
28891         (posix_typed_mem_open): Likewise.
28892
28893         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28894         Change condition to [XOPEN2K8].
28895
28896         * conform/conformtest.pl: Preprocess allow-header data with -x c
28897         instead of from stdin.
28898         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28899         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28900         [C99-based standards] (cerfc): Likewise.
28901         [C99-based standards] (cexp2): Likewise.
28902         [C99-based standards] (cexpm1): Likewise.
28903         [C99-based standards] (clog10): Likewise.
28904         [C99-based standards] (clog1p): Likewise.
28905         [C99-based standards] (clog2): Likewise.
28906         [C99-based standards] (clgamma): Likewise.
28907         [C99-based standards] (ctgamma): Likewise.
28908         [C99-based standards] (cerff): Likewise.
28909         [C99-based standards] (cerfcf): Likewise.
28910         [C99-based standards] (cexp2f): Likewise.
28911         [C99-based standards] (cexpm1f): Likewise.
28912         [C99-based standards] (clog10f): Likewise.
28913         [C99-based standards] (clog1pf): Likewise.
28914         [C99-based standards] (clog2f): Likewise.
28915         [C99-based standards] (clgammaf): Likewise.
28916         [C99-based standards] (ctgammaf): Likewise.
28917         [C99-based standards] (cerfl): Likewise.
28918         [C99-based standards] (cerfcl): Likewise.
28919         [C99-based standards] (cexp2l): Likewise.
28920         [C99-based standards] (cexpm1l): Likewise.
28921         [C99-based standards] (clog10l): Likewise.
28922         [C99-based standards] (clog1pl): Likewise.
28923         [C99-based standards] (clog2l): Likewise.
28924         [C99-based standards] (clgammal): Likewise.
28925         [C99-based standards] (ctgammal): Likewise.
28926         * conform/data/inttypes.h-data [C99-based standards]: Include
28927         stdint.h-data.  Remove all expectations for stdint.h contents.
28928         [C99-based standards] (PRI*): Do not allow.
28929         [C99-based standards] (SCN*): Likewise.
28930         [C99-based standards] (*_t): Likewise.
28931         [C99-based-standards] (PRId8): Expect macro.
28932         [C99-based-standards] (PRIi8): Likewise.
28933         [C99-based-standards] (PRIo8): Likewise.
28934         [C99-based-standards] (PRIu8): Likewise.
28935         [C99-based-standards] (PRIx8): Likewise.
28936         [C99-based-standards] (PRIX8): Likewise.
28937         [C99-based-standards] (SCNd8): Likewise.
28938         [C99-based-standards] (SCNi8): Likewise.
28939         [C99-based-standards] (SCNo8): Likewise.
28940         [C99-based-standards] (SCNu8): Likewise.
28941         [C99-based-standards] (SCNx8): Likewise.
28942         [C99-based-standards] (PRIdLEAST8): Likewise.
28943         [C99-based-standards] (PRIiLEAST8): Likewise.
28944         [C99-based-standards] (PRIoLEAST8): Likewise.
28945         [C99-based-standards] (PRIuLEAST8): Likewise.
28946         [C99-based-standards] (PRIxLEAST8): Likewise.
28947         [C99-based-standards] (PRIXLEAST8): Likewise.
28948         [C99-based-standards] (SCNdLEAST8): Likewise.
28949         [C99-based-standards] (SCNiLEAST8): Likewise.
28950         [C99-based-standards] (SCNoLEAST8): Likewise.
28951         [C99-based-standards] (SCNuLEAST8): Likewise.
28952         [C99-based-standards] (SCNxLEAST8): Likewise.
28953         [C99-based-standards] (PRIdFAST8): Likewise.
28954         [C99-based-standards] (PRIiFAST8): Likewise.
28955         [C99-based-standards] (PRIoFAST8): Likewise.
28956         [C99-based-standards] (PRIuFAST8): Likewise.
28957         [C99-based-standards] (PRIxFAST8): Likewise.
28958         [C99-based-standards] (PRIXFAST8): Likewise.
28959         [C99-based-standards] (SCNdFAST8): Likewise.
28960         [C99-based-standards] (SCNiFAST8): Likewise.
28961         [C99-based-standards] (SCNoFAST8): Likewise.
28962         [C99-based-standards] (SCNuFAST8): Likewise.
28963         [C99-based-standards] (SCNxFAST8): Likewise.
28964         [C99-based-standards] (PRId16): Likewise.
28965         [C99-based-standards] (PRIi16): Likewise.
28966         [C99-based-standards] (PRIo16): Likewise.
28967         [C99-based-standards] (PRIu16): Likewise.
28968         [C99-based-standards] (PRIx16): Likewise.
28969         [C99-based-standards] (PRIX16): Likewise.
28970         [C99-based-standards] (SCNd16): Likewise.
28971         [C99-based-standards] (SCNi16): Likewise.
28972         [C99-based-standards] (SCNo16): Likewise.
28973         [C99-based-standards] (SCNu16): Likewise.
28974         [C99-based-standards] (SCNx16): Likewise.
28975         [C99-based-standards] (PRIdLEAST16): Likewise.
28976         [C99-based-standards] (PRIiLEAST16): Likewise.
28977         [C99-based-standards] (PRIoLEAST16): Likewise.
28978         [C99-based-standards] (PRIuLEAST16): Likewise.
28979         [C99-based-standards] (PRIxLEAST16): Likewise.
28980         [C99-based-standards] (PRIXLEAST16): Likewise.
28981         [C99-based-standards] (SCNdLEAST16): Likewise.
28982         [C99-based-standards] (SCNiLEAST16): Likewise.
28983         [C99-based-standards] (SCNoLEAST16): Likewise.
28984         [C99-based-standards] (SCNuLEAST16): Likewise.
28985         [C99-based-standards] (SCNxLEAST16): Likewise.
28986         [C99-based-standards] (PRIdFAST16): Likewise.
28987         [C99-based-standards] (PRIiFAST16): Likewise.
28988         [C99-based-standards] (PRIoFAST16): Likewise.
28989         [C99-based-standards] (PRIuFAST16): Likewise.
28990         [C99-based-standards] (PRIxFAST16): Likewise.
28991         [C99-based-standards] (PRIXFAST16): Likewise.
28992         [C99-based-standards] (SCNdFAST16): Likewise.
28993         [C99-based-standards] (SCNiFAST16): Likewise.
28994         [C99-based-standards] (SCNoFAST16): Likewise.
28995         [C99-based-standards] (SCNuFAST16): Likewise.
28996         [C99-based-standards] (SCNxFAST16): Likewise.
28997         [C99-based-standards] (PRId32): Likewise.
28998         [C99-based-standards] (PRIi32): Likewise.
28999         [C99-based-standards] (PRIo32): Likewise.
29000         [C99-based-standards] (PRIu32): Likewise.
29001         [C99-based-standards] (PRIx32): Likewise.
29002         [C99-based-standards] (PRIX32): Likewise.
29003         [C99-based-standards] (SCNd32): Likewise.
29004         [C99-based-standards] (SCNi32): Likewise.
29005         [C99-based-standards] (SCNo32): Likewise.
29006         [C99-based-standards] (SCNu32): Likewise.
29007         [C99-based-standards] (SCNx32): Likewise.
29008         [C99-based-standards] (PRIdLEAST32): Likewise.
29009         [C99-based-standards] (PRIiLEAST32): Likewise.
29010         [C99-based-standards] (PRIoLEAST32): Likewise.
29011         [C99-based-standards] (PRIuLEAST32): Likewise.
29012         [C99-based-standards] (PRIxLEAST32): Likewise.
29013         [C99-based-standards] (PRIXLEAST32): Likewise.
29014         [C99-based-standards] (SCNdLEAST32): Likewise.
29015         [C99-based-standards] (SCNiLEAST32): Likewise.
29016         [C99-based-standards] (SCNoLEAST32): Likewise.
29017         [C99-based-standards] (SCNuLEAST32): Likewise.
29018         [C99-based-standards] (SCNxLEAST32): Likewise.
29019         [C99-based-standards] (PRIdFAST32): Likewise.
29020         [C99-based-standards] (PRIiFAST32): Likewise.
29021         [C99-based-standards] (PRIoFAST32): Likewise.
29022         [C99-based-standards] (PRIuFAST32): Likewise.
29023         [C99-based-standards] (PRIxFAST32): Likewise.
29024         [C99-based-standards] (PRIXFAST32): Likewise.
29025         [C99-based-standards] (SCNdFAST32): Likewise.
29026         [C99-based-standards] (SCNiFAST32): Likewise.
29027         [C99-based-standards] (SCNoFAST32): Likewise.
29028         [C99-based-standards] (SCNuFAST32): Likewise.
29029         [C99-based-standards] (SCNxFAST32): Likewise.
29030         [C99-based-standards] (PRId64): Likewise.
29031         [C99-based-standards] (PRIi64): Likewise.
29032         [C99-based-standards] (PRIo64): Likewise.
29033         [C99-based-standards] (PRIu64): Likewise.
29034         [C99-based-standards] (PRIx64): Likewise.
29035         [C99-based-standards] (PRIX64): Likewise.
29036         [C99-based-standards] (SCNd64): Likewise.
29037         [C99-based-standards] (SCNi64): Likewise.
29038         [C99-based-standards] (SCNo64): Likewise.
29039         [C99-based-standards] (SCNu64): Likewise.
29040         [C99-based-standards] (SCNx64): Likewise.
29041         [C99-based-standards] (PRIdLEAST64): Likewise.
29042         [C99-based-standards] (PRIiLEAST64): Likewise.
29043         [C99-based-standards] (PRIoLEAST64): Likewise.
29044         [C99-based-standards] (PRIuLEAST64): Likewise.
29045         [C99-based-standards] (PRIxLEAST64): Likewise.
29046         [C99-based-standards] (PRIXLEAST64): Likewise.
29047         [C99-based-standards] (SCNdLEAST64): Likewise.
29048         [C99-based-standards] (SCNiLEAST64): Likewise.
29049         [C99-based-standards] (SCNoLEAST64): Likewise.
29050         [C99-based-standards] (SCNuLEAST64): Likewise.
29051         [C99-based-standards] (SCNxLEAST64): Likewise.
29052         [C99-based-standards] (PRIdFAST64): Likewise.
29053         [C99-based-standards] (PRIiFAST64): Likewise.
29054         [C99-based-standards] (PRIoFAST64): Likewise.
29055         [C99-based-standards] (PRIuFAST64): Likewise.
29056         [C99-based-standards] (PRIxFAST64): Likewise.
29057         [C99-based-standards] (PRIXFAST64): Likewise.
29058         [C99-based-standards] (SCNdFAST64): Likewise.
29059         [C99-based-standards] (SCNiFAST64): Likewise.
29060         [C99-based-standards] (SCNoFAST64): Likewise.
29061         [C99-based-standards] (SCNuFAST64): Likewise.
29062         [C99-based-standards] (SCNxFAST64): Likewise.
29063         [C99-based-standards] (PRIdMAX): Likewise.
29064         [C99-based-standards] (PRIiMAX): Likewise.
29065         [C99-based-standards] (PRIoMAX): Likewise.
29066         [C99-based-standards] (PRIuMAX): Likewise.
29067         [C99-based-standards] (PRIxMAX): Likewise.
29068         [C99-based-standards] (PRIXMAX): Likewise.
29069         [C99-based-standards] (SCNdMAX): Likewise.
29070         [C99-based-standards] (SCNiMAX): Likewise.
29071         [C99-based-standards] (SCNoMAX): Likewise.
29072         [C99-based-standards] (SCNuMAX): Likewise.
29073         [C99-based-standards] (SCNxMAX): Likewise.
29074         [C99-based-standards] (PRIdPTR): Likewise.
29075         [C99-based-standards] (PRIiPTR): Likewise.
29076         [C99-based-standards] (PRIoPTR): Likewise.
29077         [C99-based-standards] (PRIuPTR): Likewise.
29078         [C99-based-standards] (PRIxPTR): Likewise.
29079         [C99-based-standards] (PRIXPTR): Likewise.
29080         [C99-based-standards] (SCNdPTR): Likewise.
29081         [C99-based-standards] (SCNiPTR): Likewise.
29082         [C99-based-standards] (SCNoPTR): Likewise.
29083         [C99-based-standards] (SCNuPTR): Likewise.
29084         [C99-based-standards] (SCNxPTR): Likewise.
29085         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29086         allow.
29087         * conform/data/stdint.h-data: Update comments to clarify
29088         requirements.
29089         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29090         type.
29091         [C99-based standards] (INT8_MAX): Likewise.
29092         [C99-based standards] (INT16_MIN): Likewise.
29093         [C99-based standards] (INT16_MAX): Likewise.
29094         [C99-based standards] (INT32_MIN): Likewise.
29095         [C99-based standards] (INT32_MAX): Likewise.
29096         [C99-based standards] (INT64_MIN): Likewise.
29097         [C99-based standards] (INT64_MAX): Likewise.
29098         [C99-based standards] (UINT8_MAX): Likewise.
29099         [C99-based standards] (UINT16_MAX): Likewise.
29100         [C99-based standards] (UINT32_MAX): Likewise.
29101         [C99-based standards] (UINT64_MAX): Likewise.
29102         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29103         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29104         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29105         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29106         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29107         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29108         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29109         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29110         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29111         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29112         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29113         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29114         [C99-based standards] (INT_FAST8_MIN): Likewise.
29115         [C99-based standards] (INT_FAST8_MAX): Likewise.
29116         [C99-based standards] (INT_FAST16_MIN): Likewise.
29117         [C99-based standards] (INT_FAST16_MAX): Likewise.
29118         [C99-based standards] (INT_FAST32_MIN): Likewise.
29119         [C99-based standards] (INT_FAST32_MAX): Likewise.
29120         [C99-based standards] (INT_FAST64_MIN): Likewise.
29121         [C99-based standards] (INT_FAST64_MAX): Likewise.
29122         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29123         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29124         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29125         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29126         [C99-based standards] (INTPTR_MIN): Likewise.
29127         [C99-based standards] (INTPTR_MAX): Likewise.
29128         [C99-based standards] (UINTPTR_MAX): Likewise.
29129         [C99-based standards] (INTMAX_MIN): Likewise.
29130         [C99-based standards] (INTMAX_MAX): Likewise.
29131         [C99-based standards] (UINTMAX_MAX): Likewise.
29132         [C99-based standards] (PTRDIFF_MIN): Likewise.
29133         [C99-based standards] (PTRDIFF_MAX): Likewise.
29134         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29135         [C99-based standards] (SIZE_MAX): Likewise.
29136         [C99-based standards] (WCHAR_MAX): Likewise.
29137         [C99-based standards] (WINT_MAX): Likewise.
29138         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29139         constraint on value.
29140         [C99-based standards] (WCHAR_MIN): Likewise.
29141         [C99-based standards] (WINT_MIN): Likewise.
29142         [C99-based standards] (*_t): Allow.
29143         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29144         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29145         Include math.h-data and complex.h-data.  Remove all expectations
29146         of math.h and complex.h contents.
29147         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29148         at end of line.
29149         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29150         (struct tm): Expect tag.
29151         [C99-based-standards] (wcstof): Expect function.
29152         [C99-based-standards] (wcstold): Likewise.
29153         [C99-based-standards] (wcstoll): Likewise.
29154         [C99-based-standards] (wcstoull): Likewise.
29155         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29156         macro-int-constant.  Specify type.
29157         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29158         constraint on value.
29159         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29160         Specify type.
29161         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29162         Specify value.
29163         [ISO C standards]: Do not allow headers.
29164         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29165         wcs[abcdefghijklmnopqrstuvwxyz]*.
29166         [ISO C standards] (*_t): Do not allow.
29167         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29168         Expect function.
29169         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29170         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29171         Specify type.
29172         [ISO C standards]: Do not allow headers.
29173         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29174         is[abcdefghijklmnopqrstuvwxyz]*.
29175         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29176         to[abcdefghijklmnopqrstuvwxyz]*.
29177         [ISO C standards] (*_t): Do not allow.
29178         * conform/data/stdalign.h-data: New file.
29179         * conform/data/stdbool.h-data: Likewise.
29180         * conform/data/stdnoreturn.h-data: Likewise.
29181
29182 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29183
29184         [BZ #14815]
29185         * manual/filesys.texi (Directory Entries): Typo fix.
29186         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29187
29188 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29189
29190         * elf/elf.h (EM_AARCH64): New macro.
29191         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29192         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29193         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29194         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29195         (R_AARCH64_TLSDESC): Likewise.
29196         (NT_ARM_TLS): Likewise.
29197         (NT_ARM_HW_BREAK): Likewise.
29198         (NT_ARM_HW_WATCH): Likewise.
29199
29200 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29201
29202         [BZ #14811]
29203         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29204         (__ieee754_powl): Saturate nonzero exponents with absolute value
29205         below 0x1p-79 to +/- 0x1p-79.
29206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29207         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29208         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29209         nonzero exponents with absolute value below 0x1p-32 to +/-
29210         0x1p-32.
29211         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29212         (__ieee754_powl): Saturate nonzero exponents with absolute value
29213         below 0x1p-79 to +/- 0x1p-79.
29214         * math/libm-test.inc (pow_test): Add more tests.
29215
29216 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29217
29218         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29219         _dl_s390_cap_flags with kernel. Increase string length.
29220         (_dl_s390_platforms): Add z196 and zEC12.
29221
29222 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29223
29224         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29225         Change XOPEN21K to XOPEN2K.
29226
29227 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29228
29229         * string/memmove.c: Use memcpy when possible.
29230
29231 2012-11-06  Andreas Jaeger  <aj@suse.de>
29232
29233         * po/eo.po: Update from translation team.
29234
29235 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29236
29237         [BZ #14793]
29238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29239         exponent and small x and y exponents, scale x or y up.  Increase
29240         by 2 the exponent used in scaling up.
29241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29243         * math/libm-test.inc (fma_test): Add more tests.
29244         (fma_test_towardzero): Likewise.
29245         (fma_test_downward): Likewise.
29246         (fma_test_upward): Likewise.
29247
29248 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29249
29250         [BZ #14805]
29251         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29252         fenv_t *.
29253
29254         [BZ #14801]
29255         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29256         namespace for names of struct fields.
29257         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29258         fenv_t fields.
29259         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29260         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29261
29262 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29263
29264         [BZ #3665]
29265         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29266
29267 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29268
29269         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29270         PTR_DEMANGLE.
29271
29272         [BZ #5246]
29273         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29274         PTR_DEMANGLE.
29275
29276 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29277
29278         [BZ #14797]
29279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29280         definitely overflow as x * y not x * y + z.
29281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29283         * math/libm-test.inc (fma_test): Add more tests.
29284         (fma_test_towardzero): Likewise.
29285         (fma_test_downward): Likewise.
29286         (fma_test_upward): Likewise.
29287
29288 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29289
29290         [BZ #157]
29291
29292         * include/stub-tag.h: Remove file.
29293         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29294         '#include' of it.
29295         * manual/maint.texi (Porting): Don't reference it.
29296         * Makerules ($(objpfx)stubs): Likewise.
29297         * dirent/closedir.c: Don't include <stub-tag.h>.
29298         * dirent/dirfd.c: Likewise.
29299         * dirent/fdopendir.c: Likewise.
29300         * dirent/getdents.c: Likewise.
29301         * dirent/getdents64.c: Likewise.
29302         * dirent/opendir.c: Likewise.
29303         * dirent/readdir.c: Likewise.
29304         * dirent/readdir64.c: Likewise.
29305         * dirent/readdir64_r.c: Likewise.
29306         * dirent/readdir_r.c: Likewise.
29307         * dirent/rewinddir.c: Likewise.
29308         * dirent/seekdir.c: Likewise.
29309         * dirent/telldir.c: Likewise.
29310         * gmon/profil.c: Likewise.
29311         * grp/setgroups.c: Likewise.
29312         * inet/if_index.c: Likewise.
29313         * io/access.c: Likewise.
29314         * io/chdir.c: Likewise.
29315         * io/chmod.c: Likewise.
29316         * io/chown.c: Likewise.
29317         * io/close.c: Likewise.
29318         * io/dup.c: Likewise.
29319         * io/dup2.c: Likewise.
29320         * io/dup3.c: Likewise.
29321         * io/euidaccess.c: Likewise.
29322         * io/faccessat.c: Likewise.
29323         * io/fchdir.c: Likewise.
29324         * io/fchmod.c: Likewise.
29325         * io/fchmodat.c: Likewise.
29326         * io/fchown.c: Likewise.
29327         * io/fchownat.c: Likewise.
29328         * io/fcntl.c: Likewise.
29329         * io/flock.c: Likewise.
29330         * io/fstatfs.c: Likewise.
29331         * io/fstatfs64.c: Likewise.
29332         * io/fstatvfs.c: Likewise.
29333         * io/fstatvfs64.c: Likewise.
29334         * io/futimens.c: Likewise.
29335         * io/fxstat.c: Likewise.
29336         * io/fxstat64.c: Likewise.
29337         * io/fxstatat.c: Likewise.
29338         * io/fxstatat64.c: Likewise.
29339         * io/getcwd.c: Likewise.
29340         * io/isatty.c: Likewise.
29341         * io/lchmod.c: Likewise.
29342         * io/lchown.c: Likewise.
29343         * io/link.c: Likewise.
29344         * io/linkat.c: Likewise.
29345         * io/lseek.c: Likewise.
29346         * io/lseek64.c: Likewise.
29347         * io/lxstat64.c: Likewise.
29348         * io/mkdir.c: Likewise.
29349         * io/mkdirat.c: Likewise.
29350         * io/mkfifo.c: Likewise.
29351         * io/mkfifoat.c: Likewise.
29352         * io/open.c: Likewise.
29353         * io/open64.c: Likewise.
29354         * io/openat.c: Likewise.
29355         * io/openat64.c: Likewise.
29356         * io/pipe.c: Likewise.
29357         * io/pipe2.c: Likewise.
29358         * io/poll.c: Likewise.
29359         * io/posix_fadvise.c: Likewise.
29360         * io/posix_fadvise64.c: Likewise.
29361         * io/posix_fallocate.c: Likewise.
29362         * io/posix_fallocate64.c: Likewise.
29363         * io/read.c: Likewise.
29364         * io/readlink.c: Likewise.
29365         * io/readlinkat.c: Likewise.
29366         * io/rmdir.c: Likewise.
29367         * io/sendfile.c: Likewise.
29368         * io/sendfile64.c: Likewise.
29369         * io/statfs.c: Likewise.
29370         * io/statfs64.c: Likewise.
29371         * io/statvfs.c: Likewise.
29372         * io/statvfs64.c: Likewise.
29373         * io/symlink.c: Likewise.
29374         * io/symlinkat.c: Likewise.
29375         * io/ttyname.c: Likewise.
29376         * io/ttyname_r.c: Likewise.
29377         * io/umask.c: Likewise.
29378         * io/unlink.c: Likewise.
29379         * io/unlinkat.c: Likewise.
29380         * io/utime.c: Likewise.
29381         * io/utimensat.c: Likewise.
29382         * io/write.c: Likewise.
29383         * io/xmknod.c: Likewise.
29384         * io/xmknodat.c: Likewise.
29385         * io/xstat.c: Likewise.
29386         * io/xstat64.c: Likewise.
29387         * login/getpt.c: Likewise.
29388         * login/grantpt.c: Likewise.
29389         * login/unlockpt.c: Likewise.
29390         * math/e_acoshl.c: Likewise.
29391         * math/e_acosl.c: Likewise.
29392         * math/e_asinl.c: Likewise.
29393         * math/e_atan2l.c: Likewise.
29394         * math/e_atanhl.c: Likewise.
29395         * math/e_coshl.c: Likewise.
29396         * math/e_expl.c: Likewise.
29397         * math/e_fmodl.c: Likewise.
29398         * math/e_gammal_r.c: Likewise.
29399         * math/e_hypotl.c: Likewise.
29400         * math/e_j0l.c: Likewise.
29401         * math/e_j1l.c: Likewise.
29402         * math/e_jnl.c: Likewise.
29403         * math/e_lgammal_r.c: Likewise.
29404         * math/e_log10l.c: Likewise.
29405         * math/e_log2l.c: Likewise.
29406         * math/e_logl.c: Likewise.
29407         * math/e_powl.c: Likewise.
29408         * math/e_rem_pio2l.c: Likewise.
29409         * math/e_sinhl.c: Likewise.
29410         * math/e_sqrtl.c: Likewise.
29411         * math/fclrexcpt.c: Likewise.
29412         * math/fedisblxcpt.c: Likewise.
29413         * math/feenablxcpt.c: Likewise.
29414         * math/fegetenv.c: Likewise.
29415         * math/fegetexcept.c: Likewise.
29416         * math/fegetround.c: Likewise.
29417         * math/feholdexcpt.c: Likewise.
29418         * math/fesetenv.c: Likewise.
29419         * math/fesetround.c: Likewise.
29420         * math/feupdateenv.c: Likewise.
29421         * math/fgetexcptflg.c: Likewise.
29422         * math/fraiseexcpt.c: Likewise.
29423         * math/fsetexcptflg.c: Likewise.
29424         * math/ftestexcept.c: Likewise.
29425         * math/k_cosl.c: Likewise.
29426         * math/k_rem_pio2l.c: Likewise.
29427         * math/k_sinl.c: Likewise.
29428         * math/k_tanl.c: Likewise.
29429         * math/s_asinhl.c: Likewise.
29430         * math/s_atanl.c: Likewise.
29431         * math/s_cbrtl.c: Likewise.
29432         * math/s_erfl.c: Likewise.
29433         * math/s_expm1l.c: Likewise.
29434         * math/s_log1pl.c: Likewise.
29435         * math/s_tanhl.c: Likewise.
29436         * misc/acct.c: Likewise.
29437         * misc/brk.c: Likewise.
29438         * misc/chflags.c: Likewise.
29439         * misc/chroot.c: Likewise.
29440         * misc/fchflags.c: Likewise.
29441         * misc/fgetxattr.c: Likewise.
29442         * misc/flistxattr.c: Likewise.
29443         * misc/fremovexattr.c: Likewise.
29444         * misc/fsetxattr.c: Likewise.
29445         * misc/fsync.c: Likewise.
29446         * misc/ftruncate.c: Likewise.
29447         * misc/futimes.c: Likewise.
29448         * misc/futimesat.c: Likewise.
29449         * misc/getdomain.c: Likewise.
29450         * misc/getdtsz.c: Likewise.
29451         * misc/gethostid.c: Likewise.
29452         * misc/gethostname.c: Likewise.
29453         * misc/getloadavg.c: Likewise.
29454         * misc/getpagesize.c: Likewise.
29455         * misc/getsysstats.c: Likewise.
29456         * misc/getxattr.c: Likewise.
29457         * misc/gtty.c: Likewise.
29458         * misc/ioctl.c: Likewise.
29459         * misc/lgetxattr.c: Likewise.
29460         * misc/listxattr.c: Likewise.
29461         * misc/llistxattr.c: Likewise.
29462         * misc/lremovexattr.c: Likewise.
29463         * misc/lsetxattr.c: Likewise.
29464         * misc/lutimes.c: Likewise.
29465         * misc/madvise.c: Likewise.
29466         * misc/mincore.c: Likewise.
29467         * misc/mlock.c: Likewise.
29468         * misc/mlockall.c: Likewise.
29469         * misc/mmap.c: Likewise.
29470         * misc/mprotect.c: Likewise.
29471         * misc/msync.c: Likewise.
29472         * misc/munlock.c: Likewise.
29473         * misc/munlockall.c: Likewise.
29474         * misc/munmap.c: Likewise.
29475         * misc/preadv.c: Likewise.
29476         * misc/preadv64.c: Likewise.
29477         * misc/ptrace.c: Likewise.
29478         * misc/pwritev.c: Likewise.
29479         * misc/pwritev64.c: Likewise.
29480         * misc/readv.c: Likewise.
29481         * misc/reboot.c: Likewise.
29482         * misc/remap_file_pages.c: Likewise.
29483         * misc/removexattr.c: Likewise.
29484         * misc/revoke.c: Likewise.
29485         * misc/select.c: Likewise.
29486         * misc/setdomain.c: Likewise.
29487         * misc/setegid.c: Likewise.
29488         * misc/seteuid.c: Likewise.
29489         * misc/sethostid.c: Likewise.
29490         * misc/sethostname.c: Likewise.
29491         * misc/setregid.c: Likewise.
29492         * misc/setreuid.c: Likewise.
29493         * misc/setxattr.c: Likewise.
29494         * misc/sstk.c: Likewise.
29495         * misc/stty.c: Likewise.
29496         * misc/swapoff.c: Likewise.
29497         * misc/swapon.c: Likewise.
29498         * misc/sync.c: Likewise.
29499         * misc/syncfs.c: Likewise.
29500         * misc/syscall.c: Likewise.
29501         * misc/truncate.c: Likewise.
29502         * misc/ualarm.c: Likewise.
29503         * misc/usleep.c: Likewise.
29504         * misc/ustat.c: Likewise.
29505         * misc/utimes.c: Likewise.
29506         * misc/vhangup.c: Likewise.
29507         * misc/writev.c: Likewise.
29508         * posix/_exit.c: Likewise.
29509         * posix/alarm.c: Likewise.
29510         * posix/execve.c: Likewise.
29511         * posix/fexecve.c: Likewise.
29512         * posix/fork.c: Likewise.
29513         * posix/fpathconf.c: Likewise.
29514         * posix/getaddrinfo.c: Likewise.
29515         * posix/getegid.c: Likewise.
29516         * posix/geteuid.c: Likewise.
29517         * posix/getgid.c: Likewise.
29518         * posix/getgroups.c: Likewise.
29519         * posix/getlogin.c: Likewise.
29520         * posix/getlogin_r.c: Likewise.
29521         * posix/getpgid.c: Likewise.
29522         * posix/getpid.c: Likewise.
29523         * posix/getppid.c: Likewise.
29524         * posix/getresgid.c: Likewise.
29525         * posix/getresuid.c: Likewise.
29526         * posix/getsid.c: Likewise.
29527         * posix/getuid.c: Likewise.
29528         * posix/glob64.c: Likewise.
29529         * posix/nanosleep.c: Likewise.
29530         * posix/pathconf.c: Likewise.
29531         * posix/pause.c: Likewise.
29532         * posix/posix_madvise.c: Likewise.
29533         * posix/pread.c: Likewise.
29534         * posix/pread64.c: Likewise.
29535         * posix/pwrite.c: Likewise.
29536         * posix/pwrite64.c: Likewise.
29537         * posix/sched_getaffinity.c: Likewise.
29538         * posix/sched_getp.c: Likewise.
29539         * posix/sched_gets.c: Likewise.
29540         * posix/sched_primax.c: Likewise.
29541         * posix/sched_primin.c: Likewise.
29542         * posix/sched_rr_gi.c: Likewise.
29543         * posix/sched_setaffinity.c: Likewise.
29544         * posix/sched_setp.c: Likewise.
29545         * posix/sched_sets.c: Likewise.
29546         * posix/sched_yield.c: Likewise.
29547         * posix/setgid.c: Likewise.
29548         * posix/setlogin.c: Likewise.
29549         * posix/setpgid.c: Likewise.
29550         * posix/setresgid.c: Likewise.
29551         * posix/setresuid.c: Likewise.
29552         * posix/setsid.c: Likewise.
29553         * posix/setuid.c: Likewise.
29554         * posix/sleep.c: Likewise.
29555         * posix/spawni.c: Likewise.
29556         * posix/sysconf.c: Likewise.
29557         * posix/times.c: Likewise.
29558         * posix/wait.c: Likewise.
29559         * posix/wait3.c: Likewise.
29560         * posix/wait4.c: Likewise.
29561         * posix/waitpid.c: Likewise.
29562         * resolv/gai_sigqueue.c: Likewise.
29563         * resource/getpriority.c: Likewise.
29564         * resource/getrlimit.c: Likewise.
29565         * resource/getrusage.c: Likewise.
29566         * resource/nice.c: Likewise.
29567         * resource/setpriority.c: Likewise.
29568         * resource/setrlimit.c: Likewise.
29569         * resource/ulimit.c: Likewise.
29570         * rt/aio_cancel.c: Likewise.
29571         * rt/aio_fsync.c: Likewise.
29572         * rt/aio_read.c: Likewise.
29573         * rt/aio_sigqueue.c: Likewise.
29574         * rt/aio_suspend.c: Likewise.
29575         * rt/aio_write.c: Likewise.
29576         * rt/clock_getres.c: Likewise.
29577         * rt/clock_gettime.c: Likewise.
29578         * rt/clock_nanosleep.c: Likewise.
29579         * rt/clock_settime.c: Likewise.
29580         * rt/lio_listio.c: Likewise.
29581         * rt/mq_close.c: Likewise.
29582         * rt/mq_getattr.c: Likewise.
29583         * rt/mq_notify.c: Likewise.
29584         * rt/mq_open.c: Likewise.
29585         * rt/mq_receive.c: Likewise.
29586         * rt/mq_send.c: Likewise.
29587         * rt/mq_setattr.c: Likewise.
29588         * rt/mq_timedreceive.c: Likewise.
29589         * rt/mq_timedsend.c: Likewise.
29590         * rt/mq_unlink.c: Likewise.
29591         * rt/shm_open.c: Likewise.
29592         * rt/shm_unlink.c: Likewise.
29593         * rt/timer_create.c: Likewise.
29594         * rt/timer_delete.c: Likewise.
29595         * rt/timer_getoverr.c: Likewise.
29596         * rt/timer_gettime.c: Likewise.
29597         * rt/timer_settime.c: Likewise.
29598         * setjmp/__longjmp.c: Likewise.
29599         * setjmp/setjmp.c: Likewise.
29600         * signal/kill.c: Likewise.
29601         * signal/killpg.c: Likewise.
29602         * signal/raise.c: Likewise.
29603         * signal/sigaction.c: Likewise.
29604         * signal/sigaltstack.c: Likewise.
29605         * signal/sigblock.c: Likewise.
29606         * signal/sigignore.c: Likewise.
29607         * signal/sigintr.c: Likewise.
29608         * signal/signal.c: Likewise.
29609         * signal/sigpause.c: Likewise.
29610         * signal/sigpending.c: Likewise.
29611         * signal/sigqueue.c: Likewise.
29612         * signal/sigreturn.c: Likewise.
29613         * signal/sigset.c: Likewise.
29614         * signal/sigsetmask.c: Likewise.
29615         * signal/sigstack.c: Likewise.
29616         * signal/sigsuspend.c: Likewise.
29617         * signal/sigtimedwait.c: Likewise.
29618         * signal/sigvec.c: Likewise.
29619         * signal/sigwait.c: Likewise.
29620         * signal/sigwaitinfo.c: Likewise.
29621         * signal/sysv_signal.c: Likewise.
29622         * socket/accept.c: Likewise.
29623         * socket/accept4.c: Likewise.
29624         * socket/bind.c: Likewise.
29625         * socket/connect.c: Likewise.
29626         * socket/getpeername.c: Likewise.
29627         * socket/getsockname.c: Likewise.
29628         * socket/getsockopt.c: Likewise.
29629         * socket/isfdtype.c: Likewise.
29630         * socket/listen.c: Likewise.
29631         * socket/recv.c: Likewise.
29632         * socket/recvfrom.c: Likewise.
29633         * socket/recvmsg.c: Likewise.
29634         * socket/send.c: Likewise.
29635         * socket/sendmsg.c: Likewise.
29636         * socket/sendto.c: Likewise.
29637         * socket/setsockopt.c: Likewise.
29638         * socket/shutdown.c: Likewise.
29639         * socket/sockatmark.c: Likewise.
29640         * socket/socket.c: Likewise.
29641         * socket/socketpair.c: Likewise.
29642         * stdio-common/ctermid.c: Likewise.
29643         * stdio-common/cuserid.c: Likewise.
29644         * stdio-common/remove.c: Likewise.
29645         * stdio-common/rename.c: Likewise.
29646         * stdio-common/renameat.c: Likewise.
29647         * stdio-common/tempname.c: Likewise.
29648         * stdlib/getcontext.c: Likewise.
29649         * stdlib/makecontext.c: Likewise.
29650         * stdlib/setcontext.c: Likewise.
29651         * stdlib/swapcontext.c: Likewise.
29652         * stdlib/system.c: Likewise.
29653         * streams/fattach.c: Likewise.
29654         * streams/fdetach.c: Likewise.
29655         * streams/getmsg.c: Likewise.
29656         * streams/getpmsg.c: Likewise.
29657         * streams/putmsg.c: Likewise.
29658         * streams/putpmsg.c: Likewise.
29659         * sysdeps/unix/bsd/getpt.c: Likewise.
29660         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29661         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29662         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29664         Likewise.
29665         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29666         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29667         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29668         * sysvipc/msgctl.c: Likewise.
29669         * sysvipc/msgget.c: Likewise.
29670         * sysvipc/msgrcv.c: Likewise.
29671         * sysvipc/msgsnd.c: Likewise.
29672         * sysvipc/semctl.c: Likewise.
29673         * sysvipc/semget.c: Likewise.
29674         * sysvipc/semop.c: Likewise.
29675         * sysvipc/semtimedop.c: Likewise.
29676         * sysvipc/shmat.c: Likewise.
29677         * sysvipc/shmctl.c: Likewise.
29678         * sysvipc/shmdt.c: Likewise.
29679         * sysvipc/shmget.c: Likewise.
29680         * termios/tcdrain.c: Likewise.
29681         * termios/tcflow.c: Likewise.
29682         * termios/tcflush.c: Likewise.
29683         * termios/tcgetattr.c: Likewise.
29684         * termios/tcgetpgrp.c: Likewise.
29685         * termios/tcsendbrk.c: Likewise.
29686         * termios/tcsetattr.c: Likewise.
29687         * termios/tcsetpgrp.c: Likewise.
29688         * time/adjtime.c: Likewise.
29689         * time/clock.c: Likewise.
29690         * time/getitimer.c: Likewise.
29691         * time/gettimeofday.c: Likewise.
29692         * time/setitimer.c: Likewise.
29693         * time/settimeofday.c: Likewise.
29694         * time/stime.c: Likewise.
29695         * time/time.c: Likewise.
29696
29697 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29698
29699         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29700         /usr/old/bin.
29701
29702         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29703         instead of spaces.
29704         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29705
29706 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29707
29708         [BZ #14796]
29709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29710         FE_TONEAREST before applying Dekker multiplication and Knuth
29711         addition.  Clear inexact exceptions and check for exact zero
29712         results afterwards.
29713         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29714         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29715         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29716         * math/libm-test.inc (fma_test): Add more tests.
29717         (fma_test_towardzero): Likewise.
29718         (fma_test_downward): Likewise.
29719         (fma_test_upward): Likewise.
29720         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29721         function.
29722         (libc_fesetround): New macro.
29723         (libc_fesetroundf): Likewise.
29724         (libc_fesetroundl): Likewise.
29725         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29726         function.
29727         (libc_fesetround_387): Likewise.
29728         (libc_fesetroundf): New macro.
29729         (libc_fesetround): Likewise.
29730         (libc_fesetroundl): Likewise.
29731         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29732         function.
29733         (libc_fesetroundf): New macro.
29734         (libc_fesetround): Likewise.
29735         (libc_fesetroundl): Likewise.
29736         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29737         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29738         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29739         libm_hidden_ver.
29740         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29741         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29742         libm_hidden_def.
29743         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29744         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29745         libm_hidden_ver.
29746         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29747         libm_hidden_def.
29748
29749         [BZ #3439]
29750         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29751         integer constant usable in #if and use that to give value to enum
29752         constant.
29753         (FE_DIVBYZERO): Likewise.
29754         (FE_UNDERFLOW): Likewise.
29755         (FE_OVERFLOW): Likewise.
29756         (FE_INVALID): Likewise.
29757         (FE_INVALID_SNAN): Likewise.
29758         (FE_INVALID_ISI): Likewise.
29759         (FE_INVALID_IDI): Likewise.
29760         (FE_INVALID_ZDZ): Likewise.
29761         (FE_INVALID_IMZ): Likewise.
29762         (FE_INVALID_COMPARE): Likewise.
29763         (FE_INVALID_SOFTWARE): Likewise.
29764         (FE_INVALID_SQRT): Likewise.
29765         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29766         (FE_TONEAREST): Likewise.
29767         (FE_TOWARDZERO): Likewise.
29768         (FE_UPWARD): Likewise.
29769         (FE_DOWNWARD): Likewise.
29770         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29771         (FE_DIVBYZERO): Likewise.
29772         (FE_OVERFLOW): Likewise.
29773         (FE_UNDERFLOW): Likewise.
29774         (FE_INEXACT): Likewise.
29775         (FE_TONEAREST): Likewise.
29776         (FE_DOWNWARD): Likewise.
29777         (FE_UPWARD): Likewise.
29778         (FE_TOWARDZERO): Likewise.
29779         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29780         (FE_UNDERFLOW): Likewise.
29781         (FE_OVERFLOW): Likewise.
29782         (FE_DIVBYZERO): Likewise.
29783         (FE_INVALID): Likewise.
29784         (FE_TONEAREST): Likewise.
29785         (FE_TOWARDZERO): Likewise.
29786         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29787         (FE_OVERFLOW): Likewise.
29788         (FE_UNDERFLOW): Likewise.
29789         (FE_DIVBYZERO): Likewise.
29790         (FE_INEXACT): Likewise.
29791         (FE_TONEAREST): Likewise.
29792         (FE_TOWARDZERO): Likewise.
29793         (FE_UPWARD): Likewise.
29794         (FE_DOWNWARD): Likewise.
29795         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29796         (FE_DIVBYZERO): Likewise.
29797         (FE_OVERFLOW): Likewise.
29798         (FE_UNDERFLOW): Likewise.
29799         (FE_INEXACT): Likewise.
29800         (FE_TONEAREST): Likewise.
29801         (FE_DOWNWARD): Likewise.
29802         (FE_UPWARD): Likewise.
29803         (FE_TOWARDZERO): Likewise.
29804
29805 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29806
29807         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29808
29809 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29810
29811         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29812         commands.  Quote $PWD.
29813         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29814         -x" by "export".
29815         (remove_newlines): Remove.
29816
29817 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29818
29819         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29820         * stdlib/stdlib.h (atof): Moved to ...
29821         * include/bits/stdlib-float.h: Here.  New file.
29822         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29823         * stdlib/bits/stdlib-float.h: New file.
29824         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29825         -mno-sse -mno-mmx.
29826         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29827         <xmmintrin.h>.
29828
29829 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29830
29831         * conform/conformtest.pl (@headers): Add fenv.h.
29832         * conform/data/fenv.h-data: New file.
29833         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29834         include of <math/fenv.h>.
29835
29836         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29837         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29838         && !UNIX98].  Enables tests for XOPEN2K8.
29839         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29840         POSIX2008]: Likewise.
29841
29842         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29843         (struct rusage): Do not expect type or its members.
29844
29845         [BZ #3439]
29846         * math/math.h (FP_NAN): Define macro to integer constant usable in
29847         #if and use that to give value to enum constant.
29848         (FP_INFINITE): Likewise.
29849         (FP_ZERO): Likewise.
29850         (FP_SUBNORMAL): Likewise.
29851         (FP_NORMAL): Likewise.
29852
29853 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29854
29855         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29856         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29857         arguments.
29858
29859 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29860
29861         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29862         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29863         autoconf-time if not.
29864         * configure.in: Remove AC_PREREQ.
29865
29866 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29867
29868         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29869         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29870         of the internal implementation.
29871
29872 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29873
29874         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29875         except include of <misc/sys/syslog.h>.
29876
29877 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29878
29879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29880         function returns with a NULL context exit with zero.
29881
29882 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29883
29884         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29885
29886 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29887
29888         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29889         (run_program_cmd): This.
29890         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29891         (tst_langinfo): New variable.  Use it.
29892
29893 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29894
29895         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29896         floating point opcodes.
29897
29898 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29899
29900         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29901         variable.
29902
29903         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29904
29905         * sysdeps/mach/hurd/powerpc: Remove directory.
29906         * sysdeps/mach/powerpc: Likewise.
29907
29908 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29909
29910         * scripts/check-local-headers.sh: Ignore c++ headers.
29911
29912 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29913
29914         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29915         __libc_cleanup_region_start argument.
29916
29917 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29918
29919         [BZ #14784]
29920         [BZ #14785]
29921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29922         x * y using scaling, not as x * y + z.
29923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29924         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29925         * math/libm-test.inc (fma_test): Add more tests.
29926         (fma_test_towardzero): Likewise.
29927         (fma_test_downward): Likewise.
29928         (fma_test_upward): Likewise.
29929
29930 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29931
29932         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29933
29934 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29935
29936         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29937         New variable.
29938
29939 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29940
29941         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29942
29943 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29944
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29946         Fix sort order.
29947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29948         Likewise.
29949
29950 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29951
29952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29953         Fix the order of the list for glibc 2.17.
29954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29955         Likewise.
29956
29957 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29958
29959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29960
29961 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29962
29963         [BZ #14610]
29964         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29965         for low part of x being zero before using __atanl (y).
29966         * math/libm-test.inc (atan2_test): Add another test.
29967
29968         * manual/install.texi (Configuring and compiling): Document
29969         general use of test-wrapper and test-wrapper-env.
29970         * INSTALL: Regenerated.
29971
29972         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29973         (__fma): Do not extract and scale down low bits on after-rounding
29974         systems when result rounded to normal precision would have normal
29975         exponent.
29976         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29977         (__fmal): Do not extract and scale down low bits on after-rounding
29978         systems when result rounded to normal precision would have normal
29979         exponent.
29980         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29981         (__fmal): Do not extract and scale down low bits on after-rounding
29982         systems when result rounded to normal precision would have normal
29983         exponent.
29984         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29985         macro.
29986         (fma_test): Add more tests.
29987         (fma_test_towardzero): Likewise.
29988         (fma_test_downward): Likewise.
29989         (fma_test_upward): Likewise.
29990
29991 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29992
29993         * sysdeps/i386/tininess.h: Renamed to ...
29994         * sysdeps/x86/tininess.h: This.
29995         * sysdeps/x86_64/tininess.h: Removed.
29996
29997 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29998
29999         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30000         input.  Use $(build-program-cmd).
30001         ($(objpfx)tst-array1-static.out): Likewise.
30002         ($(objpfx)tst-array2.out): Likewise.
30003         ($(objpfx)tst-array3.out): Likewise.
30004         ($(objpfx)tst-array4.out): Likewise.
30005         ($(objpfx)tst-array5.out): Likewise.
30006         ($(objpfx)tst-array5-static.out): Likewise.
30007
30008 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30009
30010         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30011         if defined.
30012
30013         * nss/nsswitch.h (nss_interface_function): Provide new
30014         macro for use with NSS functions.
30015         * grp/initgroups.c: Use new macro.
30016         * nss/getXXbyYY.c: Likewise.
30017         * nss/getXXbyYY_r.c: Likewise.
30018         * nss/getXXent.c: Likewise.
30019         * nss/getXXent_r.c: Likewise.
30020         * sysdeps/posix/getaddrinfo.c: Likewise.
30021
30022 2012-10-30  Andreas Jaeger  <aj@suse.de>
30023
30024         * po/ru.po: Update Russion translation from translation project.
30025
30026 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30027
30028         [BZ #14152]
30029         [BZ #14783]
30030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30031         result and shift together with sticky bit instead of replicating
30032         round-to-nearest rounding.
30033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30035         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30036         missing underflow exceptions.
30037         (fma_test_towardzero): Add more tests.
30038         (fma_test_downward): Likewise.
30039         (fma_test_upward): Likewise.
30040
30041         [BZ #14047]
30042         * sysdeps/generic/tininess.h: New file.
30043         * sysdeps/i386/tininess.h: Likewise.
30044         * sysdeps/sh/tininess.h: Likewise.
30045         * sysdeps/x86_64/tininess.h: Likewise.
30046         * stdlib/tst-strtod-underflow.c: Likewise.
30047         * stdlib/tst-tininess.c: Likewise.
30048         * stdlib/strtod_l.c: Include <tininess.h>.
30049         (round_and_return): Do not set errno for exact underflow cases.
30050         Force an underflow exception when setting errno for underflow.
30051         Determine underflow based on rounding to normal precision if
30052         TININESS_AFTER_ROUNDING.
30053         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30054         ERANGE for exact underflow cases.
30055         * stdlib/Makefile (tests): Add tst-tininess and
30056         tst-strtod-underflow.
30057         ($(objpfx)tst-tininess): Use $(link-libm).
30058         ($(objpfx)tst-strtod-underflow): Likewise.
30059
30060 2012-10-30  Andreas Jaeger  <aj@suse.de>
30061
30062         [BZ#14767]
30063         * elf/Makefile (tests): Remove conditional for have-initfini-array
30064         since this is now always required and the variable does not exist
30065         anymore.
30066         (tests-static): Likewise.
30067         (modules-names): Likewise.
30068
30069         * po/eo.po: Add Esperanto translation from translation project.
30070
30071         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30072         merged with constructor/destructor.
30073         (init_array): Likewise.
30074         * elf/tst-array2dep.c (fini_array): Likewise.
30075         (init_array): Likewise.
30076
30077 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30078
30079         * manual/message.texi: Delete @cartouche tags.
30080
30081 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30082
30083         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30084         EOPNOTSUPP.
30085         * sysdeps/mach/hurd/fsync.c: Likewise.
30086
30087         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30088         [_POSIX_REALTIME_SIGNALS]: Change condition to
30089         [_POSIX_REALTIME_SIGNALS > 0].
30090
30091 2012-10-27  Andreas Jaeger  <aj@suse.de>
30092
30093         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30094         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30096         [__WORDSIZE != 64]: Likewise.
30097
30098 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30099
30100         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30101         *  iconvdata/tst-tables.sh: Likewise.
30102
30103 2012-10-25  David S. Miller  <davem@davemloft.net>
30104
30105         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30106         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30107         of strtoull.
30108
30109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30110         ifunc-impl-list.c
30111         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30112         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30113         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30114         file.
30115
30116 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30117
30118         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30119         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30120         __getdirentries.
30121
30122 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30123             Jim Blandy  <jimb@codesourcery.com>
30124
30125         * scripts/cross-test-ssh.sh: New file.
30126         * manual/install.texi (Configuring and compiling): Document use of
30127         cross-test-ssh.sh.
30128         * INSTALL: Regenerated.
30129
30130 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30131
30132         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30133         EOPNOTSUPP.
30134
30135 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30136
30137         * Makeconfig (run-program-prefix): Fix comment.
30138
30139 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30140             Jim Blandy  <jimb@codesourcery.com>
30141
30142         * Makeconfig (test-wrapper): New variable,
30143         (test-wrapper-env): Likewise.
30144         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30145         (run-built-tests): Define to yes.
30146         (run-program-prefix): Use $(test-wrapper).
30147         (built-program-cmd): Likewise.
30148         * Rules (make-test-out): Use $(test-wrapper-env) and
30149         $(host-built-program-cmd).
30150         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30151         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30152         tst-pathopt.sh.
30153         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30154         $(test-wrapper-env) to tst-rtld-load-self.sh.
30155         ($(objpfx)order2.out): Use $(test-wrapper).
30156         ($(objpfx)tst-initorder.out): Likewise.
30157         ($(objpfx)tst-initorder2.out): Likewise.
30158         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30159         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30160         (test_wrapper_env): New variable.  Use it to run ld.so.
30161         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30162         Use it to run ld.so.
30163         (test_wrapper_env): Likewise.
30164         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30165         $(test-wrapper) to run-iconv-test.sh.
30166         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30167         (ICONV): Use $test_wrapper.
30168         * posix/Makefile ($(objpfx)globtest.out): Pass
30169         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30170         globtest.sh, not $(run-program-prefix).
30171         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30172         (test_wrapper): Likewise.
30173         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30174         set together with run_via_rtld_prefix.
30175         (run_program_prefix): Define in terms of test_wrapper and
30176         run_via_rtld_prefix.
30177
30178 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30179
30180         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30181         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30182         Targets removed.
30183
30184         [BZ #14743]
30185         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30186         Declare __clock_getres, __clock_gettime, __clock_settime,
30187         __clock_nanosleep, and __clock_getcpuclockid.
30188         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30189         Remove librt_hidden_def (clock_gettime).
30190         * sysdeps/unix/clock_gettime.c: Likewise.
30191         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30192         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30193         * rt/clock_getres.c: Define __clock_getres as an alias.
30194         * sysdeps/posix/clock_getres.c: Likewise.
30195         * rt/clock_settime.c: Define __clock_settime as an alias.
30196         * sysdeps/unix/clock_settime.c: Likewise.
30197         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30198         * sysdeps/unix/clock_nanosleep.c: Likewise.
30199         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30200         * rt/clock-compat.c: New file.
30201         * rt/Makefile (librt-routines): Add clock-compat and move
30202         $(clock-routines) to ...
30203         (routines): ... here, new variable.
30204         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30205         Don't add get_clockfreq here.
30206         * rt/Versions (libc: GLIBC_2.17): New version set.
30207         Add clock_* symbols here.
30208         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30209         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30210         (GLIBC_2.17): Add clock_* symbols.
30211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30215         Likewise.
30216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30217         Likewise.
30218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30222         * NEWS: Mention the move.
30223
30224         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30225         Use __open, __read, __close rather than their public counterparts.
30226         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30227         (__get_clockfreq_via_cpuinfo): Likewise.
30228         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30229         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30230
30231         * config.h.in (HAVE_IFUNC): New #undef.
30232         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30233         was successful.
30234         * configure: Regenerated.
30235
30236 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30237
30238         * configure.in: Move READELF check to start of file.
30239         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30240         libc_cv_asm_gnu_indirect_function in the process.
30241         * configure: Regenerated.
30242
30243 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30244
30245         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30246         send the output to /dev/null.
30247         (libc_cv_cc_with_libunwind): Likewise.
30248         (libc_cv_as_noexecstack): Likewise.
30249         * configure: Regenerate.
30250
30251 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30252
30253         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30254
30255         * posix/globtest.sh (TMPDIR): Do not set.
30256         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30257         (testout): Likewise.
30258
30259 2012-10-24  Andreas Jaeger  <aj@suse.de>
30260
30261         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30262         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30263         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30264         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30265         posix_fadvise64, posix_fallocate64.
30266
30267         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30268         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30269         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30270         Likewise.
30271         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30272         Likewise.
30273         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30274
30275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30276         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30277         <bits/fcntl-linux.h>.
30278         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30279
30280         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30281         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30282         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30283         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30284         [__WORDSIZE != 64]: Likewise.
30285
30286 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30287
30288         * Makeconfig (run-built-tests): New variable.
30289         * Rules [$(cross-compiling) = yes]: Change condition to
30290         [$(run-built-tests) = no].
30291         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30292         to [$(run-built-tests) = yes].
30293         * elf/Makefile [$(cross-compiling) = no]: Likewise
30294         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30295         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30296         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30297         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30298         * io/Makefile [$(cross-compiling) = no]: Likewise.
30299         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30300         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30301         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30302         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30303         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30304         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30305         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30306         * string/Makefile [$(cross-compiling) = no]: Likewise.
30307
30308         * posix/Makefile ($(objpfx)globtest.out): Pass
30309         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30310         $(rtld-installed-name).
30311         * posix/globtest.sh (elf_objpfx): Remove variable.
30312         (rtld_installed_name): Likewise.
30313         (library_path): Likewise.
30314         (run_program_prefix): New variable.  Use for running globtest
30315         binary.
30316
30317 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30318             Joseph Myers  <joseph@codesourcery.com>
30319
30320         * Makeconfig (host-built-program-cmd): New variable.
30321         * elf/Makefile (tst-stackguard1-ARGS): Use
30322         $(host-built-program-cmd).
30323         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30324         (tst-spawn-ARGS): Likewise.
30325         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30326
30327 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30328             Jim Blandy  <jimb@codesourcery.com>
30329
30330         * Makeconfig (run-via-rtld-prefix): New variable.
30331         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30332         (built-program-cmd): Likewise.
30333
30334 2012-10-22  Andreas Jaeger  <aj@suse.de>
30335
30336         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30337         __O_RSYNC if it exists, otherwise to O_SYNC.
30338
30339 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30340             Joseph Myers  <joseph@codesourcery.com>
30341
30342         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30343         /dev/null.
30344         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30345         from /dev/null
30346         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30347         /dev/null.
30348
30349 2012-10-22  Andreas Jaeger  <aj@suse.de>
30350
30351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30352         Define always.
30353         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30354
30355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30356         bits/fcntl-linux.h.
30357
30358         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30359         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30360
30361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30362         to __O_LARGEFILE.
30363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30364         to __O_LARGEFILE.
30365
30366 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30367             Joseph Myers  <joseph@codesourcery.com>
30368
30369         * config.make.in (NM): New variable.
30370
30371 2012-10-21  Andreas Jaeger  <aj@suse.de>
30372
30373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30374         definitions and declarations that are provided by
30375         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30376
30377 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30378
30379         [BZ #14683]
30380         * elf/Makefile (tests-static): Add tst-leaks1-static.
30381         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30382         ($(objpfx)tst-leaks1-static): New rule.
30383         ($(objpfx)tst-leaks1-static-mem): Likewise.
30384         (tst-leaks1-static-ENV): New macro.
30385         * elf/dl-open.c (dl_open_worker): Check the main application
30386         only if SHARED is defined.
30387         * elf/tst-leaks1-static.c: New file.
30388
30389 2012-10-20  Andreas Jaeger  <aj@suse.de>
30390
30391         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30392         generic values for Linux.
30393         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30394         and declarations that are provided by <bits/fcntl-linux.h> and
30395         include <bits/fcntl-linux.h>.
30396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30398
30399 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30400
30401         * io/fcntl.h: Move include of <bits/types.h> to the top and
30402         include it unconditionally.
30403
30404 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30405
30406         * wcsmbs/Makefile (tests-ifunc): New variable.
30407         (tests): Add $(tests-ifunc).
30408         * wcsmbs/test-wcschr-ifunc.c: New file.
30409         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30410         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30411         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30412         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30413         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30414
30415         * string/Makefile (tests-ifunc): New variable.
30416         (tests): Add $(tests-ifunc).
30417         * string/test-memccpy.c (TEST_NAME): New macro.
30418         * string/test-memchr.c (TEST_NAME): Likewise.
30419         * string/test-memcmp.c (TEST_NAME): Likewise.
30420         * string/test-memcpy.c (TEST_NAME): Likewise.
30421         * string/test-memmem.c (TEST_NAME): Likewise.
30422         * string/test-memmove.c (TEST_NAME): Likewise.
30423         * string/test-memset.c (TEST_NAME): Likewise.
30424         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30425         * string/test-stpcpy.c (TEST_NAME): Likewise.
30426         * string/test-stpncpy.c (TEST_NAME): Likewise.
30427         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30428         * string/test-strcasestr.c (TEST_NAME): Likewise.
30429         * string/test-strcat.c (TEST_NAME): Likewise.
30430         * string/test-strchr.c (TEST_NAME): Likewise.
30431         * string/test-strcmp.c(TEST_NAME): Likewise.
30432         * string/test-strcpy.c (TEST_NAME): Likewise.
30433         * string/test-strcspn.c (TEST_NAME): Likewise.
30434         * string/test-strlen.c (TEST_NAME): Likewise.
30435         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30436         * string/test-strncmp.c (TEST_NAME): Likewise.
30437         * string/test-strncpy.c (TEST_NAME): Likewise.
30438         * string/test-strnlen.c (TEST_NAME): Likewise.
30439         * string/test-strpbrk.c (TEST_NAME): Likewise.
30440         * string/test-strrchr.c (TEST_NAME): Likewise.
30441         * string/test-strspn.c (TEST_NAME): Likewise.
30442         * string/test-strstr.c (TEST_NAME): Likewise.
30443         * string/test-bcopy-ifunc.c: New file.
30444         * string/test-bzero-ifunc.c: Likewise.
30445         * string/test-memccpy-ifunc.c: Likewise.
30446         * string/test-memchr-ifunc.c: Likewise.
30447         * string/test-memcmp-ifunc.c: Likewise.
30448         * string/test-memcpy-ifunc.c: Likewise.
30449         * string/test-memmem-ifunc.c: Likewise.
30450         * string/test-memmove-ifunc.c: Likewise.
30451         * string/test-mempcpy-ifunc.c: Likewise.
30452         * string/test-memset-ifunc.c: Likewise.
30453         * string/test-rawmemchr-ifunc.c: Likewise.
30454         * string/test-stpcpy-ifunc.c: Likewise.
30455         * string/test-stpncpy-ifunc.c: Likewise.
30456         * string/test-strcasecmp-ifunc.c: Likewise.
30457         * string/test-strcasestr-ifunc.c: Likewise.
30458         * string/test-strcat-ifunc.c: Likewise.
30459         * string/test-strchr-ifunc.c: Likewise.
30460         * string/test-strchrnul-ifunc.c: Likewise.
30461         * string/test-strcmp-ifunc.c: Likewise.
30462         * string/test-strcpy-ifunc.c: Likewise.
30463         * string/test-strcspn-ifunc.c: Likewise.
30464         * string/test-strlen-ifunc.c: Likewise.
30465         * string/test-strncasecmp-ifunc.c: Likewise.
30466         * string/test-strncat-ifunc.c: Likewise.
30467         * string/test-strncmp-ifunc.c: Likewise.
30468         * string/test-strncpy-ifunc.c: Likewise.
30469         * string/test-strnlen-ifunc.c: Likewise.
30470         * string/test-strpbrk-ifunc.c: Likewise.
30471         * string/test-strrchr-ifunc.c: Likewise.
30472         * string/test-strspn-ifunc.c: Likewise.
30473         * string/test-strstr-ifunc.c: Likewise.
30474
30475         * debug/Makefile (tests-ifunc): New variable.
30476         (tests): Add $(tests-ifunc).
30477         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30478         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30479         * debug/test-stpcpy_chk-ifunc.c: New file.
30480         * debug/test-strcpy_chk-ifunc.c: Likewise.
30481
30482 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30483
30484         [BZ #13601]
30485         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30486         header is not read in.
30487
30488 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30489
30490         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30491         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30492         directly.  Pass built executable to script as
30493         $(built-program-cmd).
30494         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30495         $testprogram without using LD_LIBRARY_PATH and $ldso.
30496
30497         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30498         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30499         $(rtld-installed-name).
30500         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30501         (rtld_installed_name): Likewise.
30502         (library_path): Likewise.
30503         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30504         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30505         $(run-program-prefix) to tst-tables.sh.
30506         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30507         it to run tst-table-from and tst-table-to.
30508         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30509         Pass it to tst-table.sh.
30510         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30511         $(run-program-prefix) to tst-gettext.sh.
30512         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30513         tst-translit.sh.
30514         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30515         tst-gettext2.sh.
30516         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30517         to run tst-gettext.
30518         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30519         to run tst-gettext2.
30520         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30521         to run tst-translit.
30522         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30523         $(run-program-prefix) to tst-mtrace.sh.
30524         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30525         to run tst-mtrace.
30526         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30527         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30528         $(rtld-installed-name).
30529         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30530         (rtld_installed_name): Likewise.
30531         (run_program_prefix): New variable.  Use it to run wordexp-test.
30532
30533         * Makeconfig (ARCH): Remove all definitions.
30534         (machine): Likewise.
30535         [ARCH]: Remove conditional code.
30536         [!objdir]: Give error.
30537         [!objdir] (objpfx): Remove.
30538         [!objdir] (common-objpfx): Likewise.
30539         [!objdir] (common-objdir): Likewise.
30540         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30541         AC_CONFIG_FILES call.
30542         * configure: Regenerated.
30543
30544         [BZ #13888]
30545         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30546         or TMPDIR.
30547         (testout): Likewise.
30548
30549         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30550         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30551         $(rtld-installed-name).
30552         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30553         (rtld_installed_name): Likwise.
30554         (runit): Remove function.
30555         (run_getconf): New variable,  Use it for running getconf binary.
30556
30557 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30558
30559         [BZ #14716]
30560         * string/test-memmem.c (check_result): New function.
30561         (do_one_test): Use it.
30562         (check1): New function.
30563         (test_main): Use it.
30564
30565 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30566
30567         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30568
30569 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30570
30571         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30572         (_G_LSEEK64): Likewise.
30573         (_G_MMAP64): Likewise.
30574         (_G_FSTAT64): Likewise.
30575         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30576         (_G_LSEEK64): Likewise.
30577         (_G_MMAP64): Likewise.
30578         (_G_FSTAT64): Likewise.
30579         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30580         unconditional.  Call __mmap64 directly.
30581         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30582         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30583         __lseek64 directly.
30584         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30585         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30586         __mmap64 directly.
30587         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30588         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30589         __lseek64 directly.
30590         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30591         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30592         __lseek64 directly.
30593         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30594         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30595         __lseek64 directly.
30596         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30597         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30598         __fxstat64 directly.
30599         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30600         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30601         unconditional.
30602         (freopen64) [!_G_OPEN64]: Remove conditional code.
30603         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30604         unconditional.
30605         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30606         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30607         unconditional.
30608         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30609         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30610         unconditional.
30611         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30612         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30613         unconditional.
30614         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30615         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30616         unconditional.
30617         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30618         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30619         unconditional.
30620         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30621         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30622         unconditional.
30623         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30624
30625 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30626
30627         [BZ #12140]
30628         * manual/memory.texi (Malloc Tunable Parameters): Add note
30629         about free list pointers overwriting some perturb bytes.
30630         Wording suggested by Roland McGrath.
30631
30632 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30633
30634         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30635         (lgamma_test): Likewise.
30636         (tgamma_test): Likewise.
30637
30638 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30639
30640         [BZ #14700]
30641         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30642         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30643
30644 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30645
30646         * NEWS: Mention BZ #14716.
30647         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30648         when removing AVAILABLE1_USES_J macro.
30649
30650 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30651
30652         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30653         (__bswap_64): __uint64_t for unsigned 64-bit int.
30654
30655 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30656
30657         * include/string.h (memmem): Declare libc hidden alias.
30658         * string/memmem.c (memmem): Define libc hidden alias.
30659         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30660         __read, __close instead of open, read, close.
30661
30662 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30663
30664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30665         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30666         global and hidden.
30667         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30668         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30669         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30670         Likewise.
30671         (__rawmemchr_sse2): Likewise.
30672         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30673         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30674         (__strchr_sse2): Likewise.
30675         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30676         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30677         (__strcasecmp_sse2): Likewise.
30678         (__strncasecmp_sse2): Likewise.
30679         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30680         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30681         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30682         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30683         (__strrchr_sse2): Likewise.
30684         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30685         ifunc-impl-list.c.
30686         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30687         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30688         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30689         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30690         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30692         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30693         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30694         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30695         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30696         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30697         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30698         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30699         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30700         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30701         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30702         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30703         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30704         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30705         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30706         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30707         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30708         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30709         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30710         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30711         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30712         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30713         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30714         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30715         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30716
30717         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30718         global and hidden.
30719         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30720         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30721         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30722         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30723         Likewise.
30724         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30725         Likewise.
30726         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30727         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30728         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30729         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30730         ifunc-impl-list.c.
30731         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30732         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30733         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30734         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30735         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30736         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30737         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30738         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30739         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30740         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30741         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30742         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30743         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30744         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30745         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30746         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30747         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30748         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30749         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30750         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30751         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30752         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30753         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30754         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30755         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30756         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30757         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30758         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30759         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30760         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30761         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30762         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30763         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30764         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30765         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30766         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30767         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30768         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30769         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30770         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30771         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30772
30773         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30774         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30775         * include/ifunc-impl-list.h: New file.
30776         * misc/ifunc-impl-list.c: Likewise.
30777         * misc/Makefile (routines): Add ifunc-impl-list.
30778         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30779         * string/test-string.h: Include <ifunc-impl-list.h>.
30780         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30781         TEST_NAME]: New variables.
30782         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30783         are defined.
30784         (test_init): Call __libc_ifunc_impl_list to initialize
30785         func_list if TEST_IFUNC and TEST_NAME are defined.
30786
30787         * string/Makefile (strop-tests): Add bcopy and bzero.
30788         * string/test-bcopy.c: New file.
30789         * string/test-bzero.c: Likewise.
30790         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30791         defined.
30792         * string/test-memset.c: Support bzero test if TEST_BZERO is
30793         defined.
30794         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30795         __libc_memmove.
30796         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30797         __libc_memset.
30798         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30799         of memset.
30800
30801 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30802
30803         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30804         * configure: Regenerated.
30805
30806         * Makeconfig (+link-static-before-libc): Don't include
30807         $(link-static-libc).
30808
30809         * libio/libio.h (_IO_pos_t): Remove.
30810
30811 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30812
30813         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30814         McGrath.
30815
30816 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30817
30818         * crypt/crypt-entry.c: Include fips-private.h.
30819         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30820         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30821         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30822         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30823
30824 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30825
30826         * crypt/crypt-private.h: Include stdbool.h.
30827         (_ufc_setup_salt_r): Return bool.
30828         * crypt/crypt-entry.c: Include errno.h.
30829         (__crypt_r): Return NULL with EINVAL for bad salt.
30830         * crypt/crypt_util.c (bad_for_salt): New.
30831         (_ufc_setup_salt_r): Check that salt is long enough and within
30832         the specified alphabet.
30833         * crypt/badsalttest.c: New file.
30834         * crypt/Makefile (tests): Add it.
30835         ($(objpfx)badsalttest): New.
30836
30837 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30838
30839         * NEWS: Add entry for BZ #14602.
30840
30841 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30842
30843         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30844         type-generic.
30845         * math/libm-test.inc: Update comment listing what functions and
30846         macros are tested.
30847         (isgreater_test): New function.
30848         (isgreaterequal_test): Likewise.
30849         (isless_test): Likewise.
30850         (islessequal_test): Likewise.
30851         (islessgreater_test): Likewise.
30852         (isunordered_test): Likewise.
30853         (main): Call the new functions.
30854
30855 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30856
30857         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30858         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30859         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30860         * sysdeps/i386/configure: Regenerated.
30861         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30862         * sysdeps/mach/configure: Regenerated.
30863         * sysdeps/mach/hurd/configure: Regenerated.
30864         * sysdeps/powerpc/configure: Regenerated.
30865         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30866         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30867         * sysdeps/s390/s390-32/configure: Regenerated.
30868         * sysdeps/s390/s390-64/configure: Regenerated.
30869         * sysdeps/sh/configure: Regenerated.
30870         * sysdeps/sparc/configure: Regenerated.
30871         * sysdeps/unix/sysv/linux/configure: Regenerated.
30872         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30873         * sysdeps/x86_64/configure: Regenerated.
30874
30875         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30876         defined.  Don't check if MAP is NULL.
30877
30878 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30879
30880         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30881         (_G_stat64): Likewise.
30882         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30883         (_G_stat64): Likewise.
30884         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30885         instead of struct _G_stat64.
30886         * libio/fileops.c (mmap_remap_check): Likewise.
30887         (decide_maybe_mmap): Likewise.
30888         (_IO_new_file_seekoff): Likewise.
30889         (_IO_file_stat): Likewise.
30890         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30891         _G_off64_t.
30892         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30893         instead of struct _G_stat64.
30894         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30895
30896 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30897
30898         [BZ #14602]
30899         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30900         Replace with ...
30901         (CHECK_EOL): New macro.
30902         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30903         CHECK_EOL.
30904         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30905         Replace with CHECK_EOL.
30906         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30907         Replace with CHECK_EOL.
30908
30909 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30910
30911         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30912         type-generic.
30913         * math/libm-test.inc: Update comment listing what functions and
30914         macros are tested.
30915         (finite_test): New function.
30916         (isinf_test): Likewise.
30917         (isnan_test): Likewise.
30918         (fpclassify_test): Test subnormal input.
30919         (isfinite_test): Likewise.
30920         (isnormal_test): Likewise.
30921         (main): Call the new functions.
30922
30923 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30924
30925         [BZ #14660]
30926         * Makerules (%.dynsym): Force C locale when running
30927         $(OBJDUMP) --dynamic-syms.
30928
30929 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30930
30931         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30932         <stdint.h>.
30933
30934 2012-10-06  David S. Miller  <davem@davemloft.net>
30935
30936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30937         upper 32-bits of the length value in %o2 since we use branch-on-register
30938         tests which consider the entire 64-bit register.
30939
30940 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30941
30942         * string/test-strstr.c (check2): Add a test for page boundary.
30943
30944 2012-10-05  David S. Miller  <davem@davemloft.net>
30945
30946         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30947         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30948         file.
30949         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30950         sysdep_routines.
30951         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30952         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30953         and bzero when HWCAP_SPARC_CRYPTO is present.
30954
30955 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30956
30957         [BZ #14602]
30958         * string/test-strstr.c (check2): New function.
30959         (test_main): Call check2.
30960
30961         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30962         and bug-strchr1.
30963         * string/bug-strcasestr1.c (do_test): Moved to ...
30964         * string/test-strcasestr.c (check1): Here.  New function.
30965         (do_one_test): Break out result checking code into ...
30966         (check_result): This.  New function.
30967         (do_one_test): Call check_result.
30968         (test_main): Call check1.
30969         * string/bug-strchr1.c (do_test): Moved to ...
30970         * string/test-strchr.c (check1): Here.  New function.
30971         (do_one_test): Break out result checking code into ...
30972         (check_result): This.  New function.
30973         (do_one_test): Call check_result.
30974         (test_main): Call check1.
30975         * string/bug-strstr1.c (main): Moved to ...
30976         * string/test-strstr.c (check1): Here.  New function.
30977         (do_one_test): Break out result checking code into ...
30978         (check_result): This.  New function.
30979         (do_one_test): Call check_result.
30980         (test_main): Call check1.
30981         * string/bug-strcasestr1.c: Removed.
30982         * string/bug-strchr1.c: Likewise.
30983         * string/bug-strstr1.c: Likewise.
30984
30985         * elf/Makefile (dl-routines): Add hwcaps.
30986         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30987         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30988         (_dl_important_hwcaps): Moved to ...
30989         * elf/dl-hwcaps.c: Here.  New file.
30990         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30991
30992         [BZ #14557]
30993         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30994         if IS_IN_rtld isn't defined.
30995
30996         * elf/dl-support.c (_dl_sysinfo_map): New.
30997         Include "get-dynamic-info.h" and "setup-vdso.h".
30998         (_dl_non_dynamic_init): Call setup_vdso.
30999         * elf/dynamic-link.h: Don't include <assert.h>.
31000         (elf_get_dynamic_info): Moved to ...
31001         * elf/get-dynamic-info.h: Here.  New file.
31002         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31003         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31004         * elf/setup-vdso.h: Here.  New file.
31005         * elf/rtld.c: Include "setup-vdso.h".
31006         (dl_main): Call setup_vdso.
31007
31008 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31009
31010         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31011         creal in comment listing functions tested.  List finite, isinf,
31012         isnan, isless, islessequal, isgreater, isgreaterequal,
31013         islessgreater, isunordered, lgamma_r and pow10 as functions and
31014         macros not tested.  Mention which functions not tested are aliases
31015         for other functions.  Fix typo.  Note that signs of NaNs are not
31016         tested.
31017
31018         * scripts/config.guess: Update from config.git.
31019         * scripts/config.sub: Likewise.
31020
31021 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31022
31023         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31024         * misc/madvise.c (madvise): Renamed to __madvise.
31025         Make madvise a weak alias.
31026         * include/sys/mman.h: Declare __madvise.
31027         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31028         * sysdeps/unix/syscalls.list
31029         (madvise): Make __madvise the strong name, and madvise a weak alias.
31030         * sysdeps/unix/sysv/linux/syscalls.list
31031         (madvise, mmap): Remove redundant entries.
31032         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31033         * malloc/malloc.c (mtrim): Likewise.
31034         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31035
31036 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31037
31038         * sysdeps/mach/hurd/dl-cache.c: File removed.
31039         * config.h.in (USE_LDCONFIG): New #undef.
31040         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31041         * configure: Regenerated.
31042         * elf/Makefile (dl-routines): Add dl-cache only under
31043         [$(use-ldconfig) = yes].
31044         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31045         cache on [USE_LDCONFIG].
31046         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31047         [USE_LDCONFIG].
31048         * elf/rtld.c (dl_main): Likewise.
31049
31050 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31051
31052         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31053         _SC_LEVEL4_CACHE_LINESIZE.
31054
31055 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31056
31057         * sysdeps/unix/bsd/confstr.h: File removed.
31058
31059 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31060
31061         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31062         sys/sdt-config.h.
31063
31064 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31065
31066         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31067         Make 'mapoff' field ElfW(Off) rather than off_t.
31068
31069 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31070
31071         * nscd/Makefile: Remove nscd-cflags and all its users.
31072         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31073         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31074
31075         [BZ #10631]
31076         * malloc.c (malloc_printerr): Clarify error message.
31077
31078 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31079
31080         [BZ #14648]
31081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31082         Set bit_FMA_Usable if FMA is supported.
31083         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31084         macro.
31085         (bit_FMA4_Usable): Updated.
31086         (index_FMA_Usable): New macro.
31087         (CPUID_FMA): Likewise
31088         (HAS_FMA): Defined with bit_FMA_Usable.
31089
31090 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31091
31092         * bits/types.h (__swblk_t): Type removed.
31093         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31094         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31096         (__SWBLK_T_TYPE): Likewise.
31097         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31098         (__SWBLK_T_TYPE): Likewise.
31099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31100         (__SWBLK_T_TYPE): Likewise.
31101         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31102         (__SWBLK_T_TYPE): Likewise.
31103
31104 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31105             Honza Horak <hhorak@redhat.com>
31106
31107         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31108         (xdr_mapname): Use YPMAXMAP as maxsize.
31109         (xdr_peername): Use YPMAXPEER as maxsize.
31110         (xdr_keydat): Use YPAXRECORD as maxsize.
31111         (xdr_valdat): Use YPMAXRECORD as maxsize.
31112
31113 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31114
31115         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31116
31117         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31118         * csu/init-first.c: ... here.
31119         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31120         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31121         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31122         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31123         * sysdeps/i386/init-first.c: File removed.
31124         * sysdeps/sh/init-first.c: File removed.
31125
31126 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31127
31128         [BZ #14645]
31129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31130         if x * y might underflow to zero and z is zero.
31131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31133         * math/libm-test.inc (min_subnorm_value): New variable.
31134         (fma_test): Add more tests.
31135         (fma_test_towardzero): Likewise.
31136         (fma_test_downward): Likewise
31137         (fma_test_upward): Likewise.
31138         (initialize): Set min_subnorm_value.
31139
31140 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31141
31142         [BZ #14638]
31143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31144         0 + 0.
31145         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31146         mode for addition resulting in exact zero.
31147         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31149         exact 0 + 0.
31150         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31152         * math/libm-test.inc (fma_test): Add more tests.
31153         (fma_test_towardzero): New function.
31154         (fma_test_downward): Likewise.
31155         (fma_test_upward): Likewise.
31156         (main): Call the new functions.
31157
31158 2012-09-28  David S. Miller  <davem@davemloft.net>
31159
31160         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31161
31162 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31163
31164         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31165         instead of SIGALRM.
31166
31167         * sysdeps/gnu/_G_config.h: Moved to ...
31168         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31169         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31170         * sysdeps/generic/_G_config.h: ... here.
31171
31172         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31173
31174         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31175
31176         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31177         Conditionalize target on [libnss_test1.so-version].
31178
31179         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31180
31181         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31182         (elfobjdir): Move out of conditionals.
31183
31184         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31185         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31186         (__nss_lookup_function): Conditionalize label remove_from_tree on
31187         [!DO_STATIC_NSS || SHARED], matching its only use.
31188
31189 2012-09-28  David S. Miller  <davem@davemloft.net>
31190
31191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31192         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31193         file.
31194         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31195         sysdep_routines.
31196         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31197         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31198         when HWCAP_SPARC_CRYPTO is present.
31199
31200 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31201
31202         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31203
31204 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31205
31206         [BZ #6530]
31207         * stdio-common/vfprintf.c (process_string_arg): Revert
31208         2000-07-22 change.
31209
31210 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31211
31212         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31213         for testcase.
31214         * stdio-common/tst-sprintf.c: Include <locale.h>
31215         (main): Test sprintf's handling of incomplete multibyte
31216         characters.
31217
31218 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31219
31220         * elf/dl-runtime.c (VERSYMIDX): Removed.
31221         * elf/dl-version.c (VERSYMIDX): Likewise.
31222         * elf/do-rel.h (VERSYMIDX): Likewise.
31223         (VALIDX): Likewise.
31224         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31225         * elf/rtld.c (VALIDX): Likewise.
31226         (ADDRIDX): Likewise.
31227         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31228         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31229         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31230         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31231         (VALIDX): Likewise.
31232         (ADDRIDX): Likewise.
31233
31234 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31235
31236         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31237
31238 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31239
31240         [BZ #11438]
31241         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31242         to global scope.
31243         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31244         addresses are in the same scope as 192.0.2/24.
31245         * posix/gai.conf: Document new scope table defaults.
31246
31247 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31248
31249         [BZ #5298]
31250         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31251         for ftell.  Compute offsets from write pointers instead.
31252         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31253
31254 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31255
31256         [BZ #14543]
31257         * libio/Makefile (tests): New test case tst-fseek.
31258         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31259         combination works in wide mode.
31260         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31261         state when the external buffer state changes.
31262
31263 2012-09-27  David S. Miller  <davem@davemloft.net>
31264
31265         [BZ #14376]
31266         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31267         pass reloc->r_addend in as the 'high' argument to
31268         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31269
31270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31271
31272 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31273
31274         * rt/tst-aio2.c: Include <pthread.h>.
31275         * rt/tst-aio3.c: Likewise.
31276
31277 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31278
31279         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31280
31281 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31282
31283         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31284         contents on [SHARED].
31285
31286 2012-09-26  Marek Polacek  <polacek@redhat.com>
31287
31288         [BZ #14530]
31289         [BZ #13741]
31290         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31291         for C++ and GCC <4.3 as well as for non GCC compilers.
31292
31293 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31294
31295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31296
31297 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31298
31299         * Makefile.in (all, install): Declare with .PHONY.
31300         Reported by Michael Hope <michael.hope@linaro.org>.
31301
31302 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31303
31304         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31305         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31306         system header.
31307         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31308         Likewise.
31309         (sydep_routines): Add the new and the internal functions.
31310         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31311         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31313         (GLIBC_2.17): Add the new function.
31314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31315         (GLIBC_2.17): Likewise.
31316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31317         (GLIBC_2.17): Likewise.
31318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31319         (GLIBC_2.17): Likewise.
31320         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31321
31322 2012-09-25  Alan Modra  <amodra@gmail.com>
31323
31324         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31325         Add release barrier before setting once_control to say
31326         initialisation is done.  Add hints on lwarx.  Use macro in
31327         place of isync.
31328         (clear_once_control): Add release barrier.
31329
31330 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31331
31332         [BZ #13629]
31333         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31334         specially.
31335         * math/s_clog10.c (__clog10): Likewise.
31336         * math/s_clog10f.c (__clog10f): Likewise.
31337         * math/s_clog10l.c (__clog10l): Likewise.
31338         * math/s_clogf.c (__clogf): Likewise.
31339         * math/s_clogl.c (__clogl): Likewise.
31340         * math/Makefile (libm-calls): Add x2y2m1.
31341         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31342         (__x2y2m1): Likewise.
31343         (__x2y2m1l): Likewise.
31344         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31345         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31346         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31347         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31348         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31349         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31350         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31351         * sysdeps/i386/fpu/libm-test-ulps: Update.
31352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31353
31354         [BZ #14621]
31355         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31356         int as type of variable DEPTH.
31357         (glob): Use size_t instead of int as type of variables NEWCOUNT
31358         and OLD_PATHC.
31359
31360 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31361
31362         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31363         Add s_sincosf-sse2.
31364         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31365         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31366         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31367         macros for using routine as __sincosf_ia32.
31368         Use macro for function declaration and weak_alias.
31369         * sysdeps/i386/fpu/libm-test-ulps: Update.
31370
31371         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31373
31374         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31375         subnormal argument.
31376         * math/s_cexpf.c (__cexpf): Likewise.
31377         * math/s_csinf.c (__csinf): Likewise.
31378         * math/s_csinhf.c (__csinhf): Likewise.
31379         * math/s_ctanf.c (__ctanf): Likewise.
31380         * math/s_ctanhf.c (__ctanhf): Likewise.
31381         * math/s_ccosh.c (__ccoshf): Likewise.
31382         * math/s_cexp.c (__cexpl): Likewise.
31383         * math/s_csin.c (__csin): Likewise.
31384         * math/s_csinh.c (__csinh): Likewise.
31385         * math/s_ctan.c (__ctan): Likewise.
31386         * math/s_ctanh.c (ctanh): Likewise.
31387         * math/s_ccoshl.c (__ccoshl): Likewise.
31388         * math/s_cexpl.c (__cexpl): Likewise.
31389         * math/s_csinl.c (__csinl): Likewise.
31390         * math/s_csinhl.c (__csinhl): Likewise.
31391         * math/s_ctanl.c (__ctanl): Likewise.
31392         * math/s_ctanhl.c (__ctanhl): Likewise.
31393
31394 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31395
31396         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31397         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31398         (_IO_off_t): Define to __off_t, not _G_off_t.
31399         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31400         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31401         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31402         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31403         type of __dummy and __dummy2 fields.
31404         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31405         (_G_ssize_t): Likewise.
31406         (_G_off_t): Likewise.
31407         (_G_pid_t): Likewise.
31408         (_G_uid_t): Likewise.
31409         (_G_wchar_t): Likewise.
31410         (_G_wint_t): Likewise.
31411         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31412         (_G_ssize_t): Likewise.
31413         (_G_off_t): Likewise.
31414         (_G_pid_t): Likewise.
31415         (_G_uid_t): Likewise.
31416         (_G_wchar_t): Likewise.
31417         (_G_wint_t): Likewise.
31418         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31419         (_G_ssize_t): Likewise.
31420         (_G_off_t): Likewise.
31421         (_G_pid_t): Likewise.
31422         (_G_uid_t): Likewise.
31423         (_G_wchar_t): Likewise.
31424         (_G_wint_t): Likewise.
31425
31426 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31427
31428         * malloc/arena.c: Include malloc-sysdep.h.
31429         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31430         is sufficient to shrink the heap or an unmap is needed.
31431         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31432         new function check_may_shrink_heap.
31433         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31434         new function check_may_shrink_heap.
31435
31436 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31437
31438         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31439         comments.
31440
31441 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31442
31443         * catgets/test-gencat.sh: Add "set -e".
31444         * elf/tst-pathopt.sh: Likewise.
31445         * grp/tst_fgetgrent.sh: Likewise.
31446         * iconvdata/run-iconv-test.sh: Likewise.
31447         * intl/tst-gettext.sh: Likewise.
31448         * intl/tst-gettext2.sh: Likewise.
31449         * intl/tst-gettext4.sh: Likewise.
31450         * intl/tst-gettext6.sh: Likewise.
31451         * intl/tst-translit.sh: Likewise.
31452         * io/ftwtest-sh: Likewise.
31453         * libio/test-freopen.sh: Likewise.
31454         * malloc/tst-mtrace.sh: Likewise.
31455         * posix/globtest.sh: Likewise.
31456         * posix/tst-getconf.sh: Likewise.
31457         * posix/wordexp-tst.sh: Likewise.
31458         * stdio-common/tst-printf.sh: Likewise.
31459         * stdio-common/tst-unbputc.sh: Likewise.
31460         * stdlib/tst-fmtmsg.sh: Likewise.
31461         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31462         * catgets/Makefile: Do not specify -e option when running
31463         testsuite shell scripts.
31464         * elf/Makefile: Likewise.
31465         * grp/Makefile: Likewise.
31466         * iconvdata/Makefile: Likewise.
31467         * intl/Makefile: Likewise.
31468         * io/Makefile: Likewise.
31469         * libio/Makefile: Likewise.
31470         * malloc/Makefile: Likewise.
31471         * posix/Makefile: Likewise.
31472         * stdio-common/Makefile: Likewise.
31473         * stdlib/Makefile: Likewise.
31474         * sysdeps/x86_64/Makefile: Likewise.
31475
31476         * io/ftwtest-sh: Add copyright header.
31477         * posix/globtest.sh: Likewise.
31478         * posix/tst-getconf.sh: Likewise.
31479         * posix/wordexp-tst.sh: Likewise.
31480         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31481
31482 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31483
31484         [BZ #13679]
31485         * Makeconfig (+link): Defined as $(+link-static) if
31486         $(build-shared) isn't yes.
31487         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31488         isn't yes.
31489         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31490
31491         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31492
31493         [BZ #14562]
31494         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31495         new chunk size with MALLOC_ALIGN_MASK.
31496
31497 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31498
31499         [BZ #5044]
31500         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31501         <rounding-mode.h>.
31502         (__printf_fphex): Determine rounding using get_rounding_mode and
31503         round_away.
31504         * stdio-common/tst-printf-round.c (struct hex_test): New
31505         structure.
31506         (hex_tests): New variable.
31507         (test_hex_in_one_mode): New function.
31508         (do_test): Also run tests for hex float output.
31509
31510 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31511
31512         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31513         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31514         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31515         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31516         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31517         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31518         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31519         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31520
31521 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31522
31523         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31524         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31525         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31526         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31527
31528 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31529
31530         [BZ #14579]
31531         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31532         mode only.
31533         * elf/tst-rtld-load-self.sh: New test.
31534         * elf/Makefile: Run it.
31535
31536 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31537
31538         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31539         (tst-writev-ENV): Remove.
31540         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31541
31542 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31543
31544         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31545
31546 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31547
31548         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31549         unconditional.
31550         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31551         Likewise.
31552         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31553         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31554         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31555         Likewise.
31556
31557 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31558
31559         [BZ #14587]
31560         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31561         * config.make.in (have-cpp-asm-debuginfo): Removed.
31562         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31563         * configure: Regenerated.
31564
31565 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31566
31567         [BZ #5044]
31568         * stdio-common/printf_fp.c: Include <stdbool.h> and
31569         <rounding-mode.h>.
31570         (___printf_fp): Determine rounding using get_rounding_mode and
31571         round_away.
31572         * stdio-common/tst-printf-round.c: New file.
31573         * stdio-common/Makefile (tests): Add tst-printf-round.
31574         (link-libm): New variable.
31575         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31576
31577 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31578
31579         [BZ #14576]
31580         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31581         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31582         Likewise.
31583         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31584         Likewise.
31585
31586 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31587
31588         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31589         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31590         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31591         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31592
31593 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31594
31595         [BZ #14518]
31596         * include/rounding-mode.h: New file.
31597         * sysdeps/generic/get-rounding-mode.h: Likewise.
31598         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31599         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31600         (MAX_VALUE): New macro.
31601         (MIN_VALUE): Likewise.
31602         (overflow_value): New function.
31603         (underflow_value): Likewise.
31604         (round_and_return): Use overflow_value and underflow_value to
31605         determine return values in overflow and underflow cases.  Use
31606         round_away to determine rounding depending on rounding mode.
31607         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31608         determine return values in overflow and underflow cases.
31609         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31610         (struct test_results): New structure.
31611         (struct test): Use struct test_results to store expected results
31612         for all rounding modes.
31613         (TEST): Include expected results for all rounding modes.
31614         (test_in_one_mode): New function.
31615         (do_test): Use test_in_one_mode to compute and check results.
31616         Check results for all rounding modes.
31617         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31618         $(link-libm).
31619
31620 2012-12-09  Allan McRae  <allan@archlinux.org>
31621
31622         * sysdeps/i386/fpu/libm-test-ulps: Update
31623
31624 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31625
31626         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31627         (_G_int32_t): Likewise.
31628         (_G_uint16_t): Likewise.
31629         (_G_uint32_t): Likewise.
31630         (_G_HAVE_BOOL): Likewise.
31631         (_G_HAVE_ATEXIT): Likewise.
31632         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31633         (_G_HAVE_IO_FILE_OPEN): Likewise.
31634         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31635         (_G_int32_t): Likewise.
31636         (_G_uint16_t): Likewise.
31637         (_G_uint32_t): Likewise.
31638         (_G_HAVE_BOOL): Likewise.
31639         (_G_HAVE_ATEXIT): Likewise.
31640         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31641         (_G_HAVE_IO_FILE_OPEN): Likewise.
31642         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31643         (_G_int32_t): Likewise.
31644         (_G_uint16_t): Likewise.
31645         (_G_uint32_t): Likewise.
31646         (_G_HAVE_BOOL): Likewise.
31647         (_G_HAVE_ATEXIT): Likewise.
31648         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31649         (_G_HAVE_IO_FILE_OPEN): Likewise.
31650
31651 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31652
31653         * csu/libc-tls.c: Update copyright years.
31654
31655 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31656
31657         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31658         [!_G_USING_THUNKS]: Remove conditional code.
31659         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31660         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31661
31662         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31663         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31664         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31665         (_G_VTABLE_LABEL_PREFIX): Likewise.
31666         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31667         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31668         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31669         (_G_VTABLE_LABEL_PREFIX): Likewise.
31670         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31671         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31672         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31673         (_G_VTABLE_LABEL_PREFIX): Likewise.
31674         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31675
31676 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31677
31678         * libio/Makefile: Include ../Makeconfig before tests.
31679         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31680         only if $(build-shared) is yes.
31681
31682         * iconv/gconv_db.c: Update copyright years.
31683
31684 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31685
31686         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31687         unwind info if defined PIC. Fix special cases description.
31688         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31689
31690         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31691         DP_HI_MASK entry.
31692         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31693
31694 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31695
31696         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31697
31698         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31699         is NULL.
31700
31701         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31702         (LDLIBS-tst-chk4): This.
31703         (LDFLAGS-tst-chk5): Renamed to ...
31704         (LDLIBS-tst-chk5): This.
31705         (LDFLAGS-tst-chk6): Renamed to ...
31706         (LDLIBS-tst-chk6): This.
31707         (LDFLAGS-tst-lfschk4): Renamed to ...
31708         (LDLIBS-tst-lfschk4): This.
31709         (LDFLAGS-tst-lfschk5): Renamed to ...
31710         (LDLIBS-tst-lfschk5): This.
31711         (LDFLAGS-tst-lfschk6): Renamed to ...
31712         (LDLIBS-tst-lfschk6): This.
31713
31714         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31715         on $(common-objpfx)soversions.mk.
31716
31717 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31718
31719         [BZ #10014]
31720         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31721         example host name.
31722
31723 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724
31725         * malloc/arena.c (arena_get_retry): New function that gets
31726         another arena for the caller to try its request on.
31727         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31728         current arena cannot fulfill the request.
31729         (__libc_memalign): Likewise.
31730         (__libc_memalign): Likewise.
31731         (__libc_pvalloc): Likewise.
31732         (__libc_calloc): Likewise.
31733
31734 2012-09-05  John Tobey  <john.tobey@gmail.com>
31735
31736         [BZ #13542]
31737         * manual/arith.texi (Operations on Complex): Fix description
31738         of carg branch cut.
31739
31740 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31741
31742         [BZ #10014]
31743         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31744         host name.
31745
31746         [BZ #10038]
31747         * manual/memory.texi (Memory): Make order of menu items match
31748         order of sections.
31749
31750 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31751
31752         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31753         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31754         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31755
31756 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31757
31758         * csu/libc-tls.c (static_dtv): Renamed to ...
31759         (_dl_static_dtv): This.  Make it global.
31760         (_dl_initial_dtv): Removed.
31761         (__libc_setup_tls): Updated.
31762         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31763         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31764         DL_INITIAL_DTV.
31765
31766 2012-09-06  Petr Machata  <pmachata@redhat.com>
31767
31768         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31769         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31770         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31771         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31772
31773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31774
31775         [BZ #14545]
31776         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31777         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31778         freeing dtv[-1].
31779
31780 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31781
31782         [BZ #14544]
31783         * Makeconfig (link-static-before-libc): Replace $(+prector)
31784         with $(+prectorT).
31785         (link-static-after-libc): Replace $(+postctor) with
31786         $(+postctorT).
31787         (link-bounded): Replace $(+prector)/$(+postctor) with
31788         $(+prectorT)/$(+postctorT).
31789         (+prectorT): New macro.
31790         (+postctorT): Likewise.
31791
31792 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31793
31794         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31795         (round_str): Handle values above the maximum for IBM long double
31796         as inexact.
31797         * stdlib/tst-strtod-round.c (tests): Regenerated.
31798
31799 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31800
31801         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31802         assembler flag.
31803         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31804         zarch_nohighgprs around the zarch optimized routines.
31805         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31806         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31807         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31808         for zarch.
31809
31810 2012-09-05  David S. Miller  <davem@davemloft.net>
31811
31812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31813
31814         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31815         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31816         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31817         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31818         entries.
31819
31820 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31821
31822         * malloc/arena.c: Fold copyright years.
31823         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31824
31825 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31826
31827         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31828
31829 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31830
31831         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31832
31833 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31834
31835         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31836         change internal state upon failure.
31837
31838 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31839
31840         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31841         * malloc/memusage.c (mmap): Likewise.
31842         (mmap64, mremap): Likewise.  Adjust name in comment.
31843
31844 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31845
31846         * libio/fileops.c: Fix typos in comments.
31847         * libio/oldfileops.c: Likewise.
31848         * libio/wfileops.c: Likewise.
31849
31850 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31851
31852         [BZ #1349]
31853         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31854         (tst-malloc-usable-ENV): Set environment for test case.
31855         * malloc/hooks.c (malloc_check_get_size): New function to get
31856         requested size.
31857         * malloc/malloc.c (musable): Use malloc_check_get_size.
31858         * malloc/tst-malloc-usable.c: New test case.
31859
31860 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31861
31862         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31863
31864 2012-09-05  Allan McRae  <allan@archlinux.org>
31865
31866         [BZ #13966]
31867         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31868         determine header location.
31869         * configure: Regenerated.
31870
31871 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31872
31873         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31874         float format.
31875         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31876         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31877         format.
31878         (test): Regenerate.
31879
31880 2012-09-04  David S. Miller  <davem@davemloft.net>
31881
31882         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31883         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31884         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31885
31886 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31887
31888         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31889         failures.
31890
31891         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31892
31893 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31894
31895         [BZ #9914]
31896         * libio/iogetdelim.c: Include <limits.h>.
31897         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31898         + len + 1 would overflow.
31899
31900 2012-09-03  Andreas Jaeger  <aj@suse.de>
31901
31902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31903         * sysdeps/i386/fpu/libm-test-ulps: Update.
31904
31905 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31906
31907         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31908         Add s_sinf-sse2, s_conf-sse2.
31909
31910         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31911         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31912         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31913         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31914
31915         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31916         for using routine as __sinf_ia32.
31917         Use macro for function declaration and weak_alias.
31918         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31919         for using routine as __cosf_ia32.
31920         Use macro for function declaration and weak_alias.
31921
31922         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31923         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31924
31925         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31926         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31928
31929         * math/libm-test.inc (cos_test): Add more test cases.
31930         (sin_test): Likewise.
31931         (sincos_test): Likewise.
31932
31933 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31934
31935         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31936         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31937         hidden.
31938         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31939
31940 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31941
31942         [BZ #14538]
31943         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31944         first element of the GOT.
31945         (elf_machine_load_address): Return the difference between
31946         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31947
31948 2012-09-01  Allan McRae  <allan@archlinux.org>
31949
31950         [BZ #13412]
31951         * configure.in (AWK): Require gawk version 3.0 or later.
31952         * configure: Regenerated.
31953
31954 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31955
31956         * sysdeps/unix/sysv/linux/kernel-features.h
31957         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31959         [__NR_clock_getres]: Make code unconditional.
31960         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31961         (clock_getcpuclockid): Remove code left unreachable by removal of
31962         conditionals.
31963         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31964         code unconditional.
31965         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31966         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31967         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31968         Make code unconditional.
31969         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31970         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31971         * sysdeps/unix/sysv/linux/clock_settime.c
31972         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31973         conditional code.
31974         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31975         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31976
31977 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31978
31979         [BZ #14476]
31980         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31981         scripts/test-installation.pl.
31982
31983         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31984         and $ld_so_version if it is set.
31985
31986 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31987
31988         [BZ #14516]
31989         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31990         failure if reading from procfs failed.
31991         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31992
31993 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31994
31995         * sysdeps/unix/sysv/linux/kernel-features.h
31996         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31997         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31998         Remove conditional code.
31999         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32000         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32001         Remove conditional code.
32002         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32003         * sysdeps/unix/sysv/linux/i386/fxstat.c
32004         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32005         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32006         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32007         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32008         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32009         * sysdeps/unix/sysv/linux/i386/lxstat.c
32010         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32011         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32012         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32013         Remove conditional code.
32014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32015         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32016         Remove conditional code.
32017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32018         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32019         <kernel-features.h>.
32020         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32021         Remove.
32022         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32023         Remove conditional code.
32024         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32025         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32026         Remove conditional.
32027
32028 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32029
32030         [BZ #5400]
32031         * NEWS: Add fixed bug number.
32032
32033 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32034
32035         [BZ #14519]
32036         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32037         underflowing exponent in case of negative sign.
32038         * stdlib/tst-strtod-round-data: Add more tests.
32039         * stdlib/tst-strtod-round.c (tests): Regenerated.
32040
32041         [BZ #3479]
32042         * stdlib/strtod_l.c (NDIG): Remove.
32043         (HEXNDIG): Likewise.
32044         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32045         smallest representable value.
32046         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32047         lie within an exact representation of 1/2 ulp of the result.
32048         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32049         unconditionally.
32050         (TENS_P9_IDX): Define unconditionally.
32051         (TENS_P9_SIZE): Likewise.
32052         (TENS_P10_IDX): Likewise.
32053         (TENS_P10_SIZE): Likewise.
32054         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32055         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32056         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32057         entries for 10^2^13 and 10^2^14.
32058         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32059         (TENS_P13_IDX): Define.
32060         (TENS_P13_SIZE): Likewise.
32061         (TENS_P14_IDX): Likewise.
32062         (TENS_P14_SIZE): Likewise.
32063         (_fpioconst_pow10): Change array size to
32064         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32065         unconditional.
32066         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32067         1024]: Add entries for 10^2^13 and 10^2^14.
32068         [LAST_POW10 > _LAST_POW10]: Remove #error.
32069         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32070         (_fpioconst_pow10): Change array size to
32071         FPIOCONST_POW10_ARRAY_SIZE.
32072         * stdlib/gen-fpioconst.c: New file.
32073         * stdlib/gen-tst-strtod-round.c: Likewise.
32074         * stdlib/tst-strtod-round-data: Likewise.
32075         * stdlib/tst-strtod-round.c: Likewise.
32076         * stdlib/Makefile (tests): Add tst-strtod-round.
32077
32078         [BZ #14459]
32079         * stdlib/strtod_l.c: Include <stdint.h>.
32080         (NDEBUG): Do not define.
32081         (round_and_return): Change EXPONENT parameter to type intmax_t.
32082         Rearrange calculations to avoid internal overflow possibilities.
32083         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32084         Rearrange calculations to avoid internal overflow possibilities.
32085         Assert that number fits inside MPNSIZE limbs.
32086         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32087         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32088         calculations and add assertions to avoid internal overflow
32089         possibilities.  Add casts to avoid signed/unsigned operations.
32090         * stdlib/tst-strtod-overflow.c: New file.
32091         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32092
32093 2012-08-25  Marek Polacek  <polacek@redhat.com>
32094
32095         * time/time.h: Fix some typos in comments.
32096
32097 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32098
32099         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32100         * posix/tst-rfc3484-2.c: Likewise.
32101         * posix/tst-rfc3484-3.c: Likewise.
32102
32103 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32104
32105         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32106         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32107
32108 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32109
32110         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32111         #include of fxstatat64.c.
32112
32113 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32114
32115         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32116         * shadow/getspent_r.c: Likewise.
32117         * shadow/getspnam.c: Likewise.
32118         * shadow/getspnam_r.c: Likewise.
32119         * gshadow/getsgent.c: Likewise.
32120         * gshadow/getsgent_r.c: Likewise.
32121         * gshadow/getsgnam.c: Likewise.
32122         * gshadow/getsgnam_r.c: Likewise.
32123         * inet/getnetbyad.c: Likewise.
32124         * inet/getnetbyad_r.c: Likewise.
32125         * inet/getnetbynm.c: Likewise.
32126         * inet/getnetbynm_r.c: Likewise.
32127         * inet/getnetent.c: Likewise.
32128         * inet/getnetent_r.c: Likewise.
32129         * inet/getproto.c: Likewise.
32130         * inet/getproto_r.c: Likewise.
32131         * inet/getprtent.c: Likewise.
32132         * inet/getprtent_r.c: Likewise.
32133         * inet/getprtname.c: Likewise.
32134         * inet/getprtname_r.c: Likewise.
32135         * inet/getrpcbyname.c: Likewise.
32136         * inet/getrpcbyname_r.c: Likewise.
32137         * inet/getrpcbynumber.c: Likewise.
32138         * inet/getrpcbynumber_r.c: Likewise.
32139         * inet/getrpcent.c: Likewise.
32140         * inet/getrpcent_r.c: Likewise.
32141         * inet/getaliasent.c: Likewise.
32142         * inet/getaliasent_r.c: Likewise.
32143         * inet/getaliasname.c: Likewise.
32144         * inet/getaliasname_r.c: Likewise.
32145         * nscd/getgrgid_r.c: Likewise.
32146         * nscd/getgrnam_r.c: Likewise.
32147         * nscd/gethstbyad_r.c: Likewise.
32148         * nscd/gethstbynm3_r.c: Likewise.
32149         * nscd/getpwnam_r.c: Likewise.
32150         * nscd/getpwuid_r.c: Likewise.
32151         * nscd/getsrvbynm_r.c: Likewise.
32152         * nscd/getsrvbypt_r.c: Likewise.
32153         * nscd/gai.c: Likewise.
32154
32155         * configure.in (build_nscd): New substituted variable, set
32156         by --disable-build-nscd and defaults to $use_nscd.
32157         * configure: Regenerated.
32158         * config.make.in (build-nscd): New substituted variable.
32159         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32160         Change conditional to require [$(build-nscd) = yes] as well.
32161         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32162
32163         [BZ# 13696]
32164         * configure.in (use_nscd): New substituted variable, set by
32165         --disable-nscd.  If enabled, define USE_NSCD.
32166         * configure: Regenerated.
32167         * config.h.in: Add USE_NSCD.
32168         * config.make.in (use-nscd): New substituted variable.
32169         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32170         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32171         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32172         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32173         (CFLAGS-getgrnam_r.c): Likewise.
32174         (CFLAGS-initgroups.c): Likewise.
32175         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32176         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32177         Variables removed.
32178         * inet/getnetgrent_r.c
32179         (nscd_setnetgrent): New function, broken out of ...
32180         (setnetgrent): ... here.  Call it.
32181         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32182         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32183         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32184         * nscd/Makefile (routines, aux): Move definitions after include of
32185         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32186         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32187         Conditionalize on [USE_NSCD].
32188         (is_nscd, nscd_init_cb): Likewise.
32189         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32190         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32191         * nss/nss_db/db-init.c: Likewise.
32192         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32193         [USE_NSCD].
32194         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32195         (make_request): Use it.
32196         (cache_valid_p): New function.
32197         (__check_pf): Use it.
32198         * NEWS: Add item for --disable-nscd.
32199
32200 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32201
32202         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32203         to support sed >= 4.2.1-20-ga9bf076.
32204         * configure: Regenerated.
32205
32206 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32207
32208         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32209         Conditionalize whole body on [IREL].
32210
32211 2012-08-22  Jeff Law <law@redhat.com>
32212
32213         [BZ #14505]
32214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32215         if the family is PF_UNSPEC.
32216
32217 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32218
32219         * Makerules (lib-version): Rename from V.
32220         (install-lib-nosubdir): Change V to lib-version.
32221
32222 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32223
32224         [BZ #14252]
32225         * powerpc32/power6/wcschr.c: New file.
32226         * powerpc32/power6/wcscpy.c: New file.
32227         * powerpc32/power6/wcsrchr.c: New file.
32228         * powerpc64/power6/wcschr.c: New file.
32229         * powerpc64/power6/wcscpy.c: New file.
32230         * powerpc64/power6/wcsrchr.c: New file.
32231
32232 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32233
32234         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32235         (two_way_short_needle): Use it.
32236         * string/strstr.c (AVAILABLE1_USES_J): Define.
32237         * string/strcasestr.c: Likewise.
32238
32239         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32240         array references.
32241         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32242
32243         [BZ #11607]
32244         * NEWS: Add an entry.
32245         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32246         define their defaults.
32247         (two_way_short_needle): Detect end-of-string on-the-fly.
32248         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32249         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32250         * string/bug-strcasestr1.c: New test.
32251         * string/Makefile: Run it.
32252
32253 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32254
32255         [BZ #11607]
32256         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32257         the first character.
32258
32259 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32260
32261         * csu/elf-init.c (__libc_csu_irel): Function removed.
32262         * csu/libc-start.c (apply_irel): New function.
32263         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32264
32265 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32266
32267         * sysdeps/unix/sysv/linux/kernel-features.h
32268         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32269         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32270         <kernel-features.h>.
32271         [__NR_fadvise64_64]: Make code unconditional.
32272         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32273         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32274         !__NR_fadvise64_64)]: Likewise.
32275         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32276         !__NR_fadvise64_64))]: Likewise.
32277         [__NR_fadvise64]: Make code unconditional.
32278         [!__NR_fadvise64]: Remove conditional code.
32279         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32280         <kernel-features.h>.
32281         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32282         unconditional.
32283         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32284         conditional code.
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32286         not include <kernel-features.h>.
32287         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32288         unconditional.
32289         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32290         conditional code.
32291         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32292         include <kernel-features.h>.
32293         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32294         unconditional.
32295         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32296         conditional code.
32297
32298 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32299
32300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32301         slight instruction rearrangements per scrollpipe analysis.
32302         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32303
32304 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32305
32306         * manual/syslog.texi (syslog; vsyslog, closelog):
32307         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32308         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32309
32310         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32311         DSOCAPS to match condition on defining it.
32312
32313 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32314
32315         * sysdeps/unix/sysv/linux/kernel-features.h
32316         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32318         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32319         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32321         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32322         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32324         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32325         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32326
32327         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32328         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32329
32330         * sysdeps/unix/sysv/linux/kernel-features.h
32331         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32332         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32333         unconditional.
32334         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32335         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32336         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32337         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32338         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32339         Make code unconditional.
32340         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32341         (__mmap64) [!__NR_mmap2]: Likewise.
32342         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32343         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32344         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32345         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32346         [__NR_mmap2]: Make code unconditional.
32347         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32348         (__mmap64) [!__NR_mmap2]: Likewise.
32349
32350 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32351
32352         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32353
32354 2012-08-18  Andreas Jaeger  <aj@suse.de>
32355
32356         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32357
32358 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32359
32360         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32361         * include/unistd.h (__have_sock_cloexec): Likewise.
32362         (__have_pipe2): Likewise.
32363         (__have_dup3): Likewise.
32364
32365 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32366
32367         [BZ #9685]
32368         * include/unistd.h (__have_pipe2): Change define into an extern int.
32369         (__have_dup3): Likewise.
32370         * socket/have_sock_cloexec.c: Include fcntl.h.
32371         (__have_pipe2): New variable.
32372         (__have_dup3): Likewise.
32373
32374 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32375
32376         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32377
32378 2012-08-17  Marek Polacek  <polacek@redhat.com>
32379
32380         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32381         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32382
32383 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32384
32385         * configure.in: Add AC_SUBST for sysheaders.
32386         * configure: Regenerated.
32387         * config.make.in (sysheaders): New substituted variable.
32388
32389         * sysdeps/unix/mkfifo.c: Moved ...
32390         * sysdeps/posix/mkfifo.c: ... here.
32391         * sysdeps/unix/mkfifoat.c: Moved ...
32392         * sysdeps/posix/mkfifoat.c: ... here.
32393
32394         * sysdeps/unix/utime.c: Moved ...
32395         * sysdeps/posix/utime.c: ... here.
32396
32397         * sysdeps/unix/time.c: Moved ...
32398         * sysdeps/posix/time.c: ... here.
32399         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32400         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32401
32402         * sysdeps/unix/nice.c: Moved ...
32403         * sysdeps/posix/nice.c: ... here.
32404
32405         * sysdeps/unix/alarm.c: Moved ...
32406         * sysdeps/posix/alarm.c: ... here.
32407
32408         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32409
32410 2012-08-17  Jeff Law <law@redhat.com>
32411
32412         * intl/Makefile (codeset_mo): New variable.
32413         ($(codeset_mo)): New target.
32414         (tst-codeset.out): Depend on that.  Remove explicit rule.
32415         (tst-gettext3.out, tst-gettext5.out): Likewise.
32416         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32417         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32418         * intl/tst-codeset.sh: Remove.
32419         * intl/tst-gettext3.sh: Likewise.
32420         * intl/tst-gettext5.sh: Likewise.
32421
32422 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32423
32424         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32425         * sysdeps/unix/syscalls.list: ... here.
32426
32427         * sysdeps/posix/getaddrinfo.c
32428         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32429         (gaiconf_init, gaiconf_reload): Use them.
32430         [!_STATBUF_ST_NSEC]
32431         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32432         Define using time_t rather than struct timespec.
32433
32434         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32435         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32436         Macros removed.
32437         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32438         [!NO_THREADS].
32439         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32440         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32441         Likewise.
32442
32443         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32444         __libc_cleanup_push argument.
32445
32446         * bits/param.h: New file.
32447         * misc/sys/param.h: New file.
32448         * include/sys/param.h: New file.
32449         * misc/Makefile (headers): Add bits/param.h.
32450         * sysdeps/generic/sys/param.h: File removed.
32451         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32452         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32453         * sysdeps/mach/hurd/bits/param.h: New file.
32454         * sysdeps/mach/hurd/sys/param.h: File removed.
32455
32456         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32457         last change.
32458
32459         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32460         [_IO_MTSAFE_IO].
32461         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32462         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32463         New macros.
32464
32465         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32466         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32467         rather than -D_IO_MTSAFE_IO conditionally.
32468         * stdio-common/Makefile (CPPFLAGS): Likewise.
32469         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32470         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32471         Use $(libio-mtsafe).
32472         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32473         of -D_IO_MTSAFE_IO.
32474         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32475         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32476         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32477         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32478         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32479         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32480         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32481         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32482         (CFLAGS-fread_u_chk.c): Likewise.
32483         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32484         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32485         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32486         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32487         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32488         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32489         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32490         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32491         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32492
32493         * libio/Makefile: Test [$(libc-reentrant) = yes]
32494         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32495
32496         * Makeconfig
32497         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32498         * sysdeps/pthread/configure: File removed.
32499         * sysdeps/pthread/Makeconfig: New file.
32500         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32501         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32502
32503 2012-08-16  Gary Benson  <gbenson@redhat.com>
32504
32505         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32506         unmapping the first object in a namespace.
32507
32508 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32509
32510         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32511         (__internal_setnetgrent): ... this.  Add internal_function to
32512         definition.  Add libc_hidden_def.
32513         (setnetgrent): Update caller.
32514         (internal_endnetgrent): Renamed to ...
32515         (__internal_endnetgrent): ... this.  Add internal_function to
32516         definition.  Add libc_hidden_def.
32517         (endnetgrent): Update caller.
32518         (internal_getnetgrent_r): Renamed to ...
32519         (__internal_getnetgrent_r): ... this.  Add internal_function to
32520         definition.  Add libc_hidden_def.
32521         (__getnetgrent_r): Update caller.
32522         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32523
32524 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32525
32526         * stdlib/longlong.h: Update from GCC.
32527
32528 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32529
32530         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32531         on _QL, which is set by umul_ppmm but never used.
32532         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32533         variables, which are set by GMP macros but never used.
32534         * stdio-common/_itowa.c (_itowa): Likewise.
32535         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32536         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32537
32538 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32539
32540         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32541         struct La_sh_regs is not constant.
32542         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32543         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32544         and struct La_sparc64_regs are not constant.
32545
32546 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32547
32548         * sysdeps/unix/sysv/linux/kernel-features.h
32549         (__ASSUME_POSIX_TIMERS): Remove.
32550         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32551         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32552         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32553         Make code unconditional.
32554         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32555         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32556         Make code unconditional.
32557         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32558         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32559         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32560         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32561         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32562         Make code unconditional.
32563         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32564         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32565         (__libc_missing_posix_timers): Remove.
32566
32567 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32568
32569         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32570         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32571
32572         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32573
32574         * elf/dl-sym.c: Include <stdlib.h>.
32575
32576         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32577         constants, which avoids warnings in 32-bit builds.
32578
32579         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32580         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32581
32582         * misc/lseek.c: File moved to ...
32583         * io/lseek.c: ... here.
32584
32585         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32586
32587         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32588         shifting LEN more than 31 bits at once.
32589
32590 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32591
32592         [BZ #14195]
32593         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32594         segmentation fault for a case of two empty input strings.
32595         * string/test-strncasecmp.c (check1): Renamed to...
32596         (bz12205): ...this.
32597         (bz14195): Add new testcase for two empty input strings and N > 0.
32598         (test_main): Call new testcase, adapt for renamed function.
32599
32600 2012-08-15  Andreas Jaeger  <aj@suse.de>
32601
32602         [BZ #14090]
32603         * crypt/md5test2.c: New test, based on test supplied by Serge
32604         Belyshev <belyshev@depni.sinp.msu.ru>.
32605         * crypt/Makefile (xtests): Add md5test-giant..
32606         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32607
32608 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32609
32610         [BZ #14090]
32611         * crypt/md5.c (md5_process_block): Don't assume the buffer
32612         length is less than 2**32.
32613         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32614         length is less than 2**64.
32615
32616 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32617
32618         * string/str-two-way.h: Include <sys/param.h>.
32619         (MAX): Macro removed.
32620
32621         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32622         Move #define and #undef of memmove to just before and after
32623         including <string.h>.
32624
32625         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32626         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32627         and after including <string.h>.  Move declarations of
32628         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32629         to before #include "string/memmove.c".
32630
32631         * include/dirent.h: Declare __getdirentries.
32632
32633         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32634         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32635
32636 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32637
32638         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32639         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32640         * sysdeps/i386/configure: Regenerated.
32641         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32642         STABS_CURRENT_FILE, and STABS_FUN.
32643         (END): Remove call to STABS_FUN_END.
32644         (STABS_CURRENT_FILE1): Delete.
32645         (STABS_CURRENT_FILE): Likewise.
32646         (STABS_FUN): Likewise.
32647         (STABS_FUN_END): Likewise.
32648         (STABS_FUN2): Likewise.
32649         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32650         * sysdeps/x86_64/configure: Regenerated.
32651
32652 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32653
32654         * elf/dl-open.c: Include <atomic.h>.
32655         * elf/dl-lookup.c: Likewise.
32656
32657 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32658
32659         * sysdeps/unix/sysv/linux/kernel-features.h
32660         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32661         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32662         unconditionally.
32663         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32664         unconditionally.
32665         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32666         condition on __ASSUME_CLONE_THREAD_FLAGS.
32667
32668 2012-08-14  Andreas Jaeger  <aj@suse.de>
32669
32670         * sysdeps/i386/fpu/libm-test-ulps: Update.
32671
32672 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32673
32674         * include/atomic.h (atomic_exchange_and_add): Split into ...
32675         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32676         New atomic macros.
32677
32678 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32679
32680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32681
32682 2012-08-13  Jeff Law <law@redhat.com>
32683
32684         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32685         null byte in the output string.
32686
32687 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32688
32689         * sysdeps/unix/sysv/linux/kernel-features.h
32690         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32691         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32692         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32693         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32694         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32695         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32696         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32697
32698 2012-08-09  Jeff Law <law@redhat.com>
32699
32700         [BZ #13939]
32701         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32702         When avoid_arena is set, don't retry in the that arena.  Pick the
32703         next one, whatever it might be.
32704         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32705         (arena_lock): Pass in new parameter to arena_get2.
32706         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32707         arena_get2.
32708         (__libc_malloc): Unify retrying after main arena failure with
32709         __libc_memalign version.
32710         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32711
32712 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32713
32714         [BZ #14166]
32715         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32716         to __redirect_strstr.
32717         (__strstr_sse42): Use typeof __redirect_strstr.
32718         (__strstr_ia32): Likewise.
32719         (__libc_strstr): New prototype.
32720         (strstr): Renamed to ...
32721         (__libc_strstr): This.
32722         (strstr): New strong alias of __libc_strstr.
32723         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32724         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32725         __redirect_time.
32726         Include <time.h>.
32727         (__libc_time): New prototype.
32728         (time_ifunc): Replace time with __libc_time.
32729         (time): New strong alias and hidden definition of __libc_time.
32730         (__GI_time): Remove strong alias.
32731         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32732         Include <stddef.h>.
32733         (memmove): Redefined to __redirect_memmove.
32734         (__memmove_sse2): Use typeof __redirect_memmove.
32735         (__memmove_ssse3): Likewise.
32736         (__memmove_ssse3_back): Likewise.
32737         (__libc_memmove): New prototype.
32738         (memmove): Renamed to ...
32739         (__libc_memmove): This.
32740         (memmove): New strong alias of __libc_memmove.
32741
32742 2012-08-08  Mark Salter  <msalter@redhat.com>
32743
32744         * elf/elf.h
32745         (R_MN10300_TLS_GD): Define.
32746         (R_MN10300_TLS_LD): Likewise.
32747         (R_MN10300_TLS_LDO): Likewise.
32748         (R_MN10300_TLS_GOTIE): Likewise.
32749         (R_MN10300_TLS_IE): Likewise.
32750         (R_MN10300_TLS_LE): Likewise.
32751         (R_MN10300_TLS_DTPMOD): Likewise.
32752         (R_MN10300_TLS_DTPOFF): Likewise.
32753         (R_MN10300_TLS_TPOFF): Likewise.
32754         (R_MN10300_SYM_DIFF): Likewise.
32755         (R_MN10300_ALIGN): Likewise.
32756         (R_MN10300_NUM): Update.
32757
32758 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32759
32760         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32761         Remove.
32762
32763 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32764
32765         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32766
32767         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32768         sysdeps/unix -> sysdeps/posix move.
32769         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32770
32771 2012-08-07      Allan McRae     <allan@archlinux.org>
32772
32773         [BZ #14303]
32774         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32775         (SUNOS_CPP): Likewise.
32776         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32777         not found.
32778         (open_input): Call CPP using execvp.
32779
32780 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32781
32782         * sysdeps/unix/sysv/linux/kernel-features.h
32783         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32784         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32785         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32786         (__ASSUME_WAITID_SYSCALL): Likewise.
32787         * sysdeps/unix/sysv/linux/dl-execstack.c
32788         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32789         code unconditional.
32790         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32791         conditional code.
32792         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32793         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32794         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32795         code.
32796         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32797         unconditional.
32798         [__ASSUME_WAITID_SYSCALL]: Likewise.
32799         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32800
32801 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32802
32803         * sysdeps/unix/closedir.c: Renamed to ...
32804         * sysdeps/posix/closedir.c: ... here.
32805         * sysdeps/unix/dirfd.c: Renamed to ...
32806         * sysdeps/posix/dirfd.c: ... here.
32807         * sysdeps/unix/dirstream.h: Renamed to ...
32808         * sysdeps/posix/dirstream.h: ... here.
32809         * sysdeps/unix/fdopendir.c: Renamed to ...
32810         * sysdeps/posix/fdopendir.c: ... here.
32811         * sysdeps/unix/opendir.c: Renamed to ...
32812         * sysdeps/posix/opendir.c: ... here.
32813         * sysdeps/unix/readdir.c: Renamed to ...
32814         * sysdeps/posix/readdir.c: ... here.
32815         * sysdeps/unix/readdir_r.c: Renamed to ...
32816         * sysdeps/posix/readdir_r.c: ... here.
32817         * sysdeps/unix/rewinddir.c: Renamed to ...
32818         * sysdeps/posix/rewinddir.c: ... here.
32819         * sysdeps/unix/seekdir.c: Renamed to ...
32820         * sysdeps/posix/seekdir.c: ... here.
32821         * sysdeps/unix/telldir.c: Renamed to ...
32822         * sysdeps/posix/telldir.c: ... here.
32823         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32824         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32825         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32826         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32827
32828         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32829         * bits/fcntl.h: ... here.
32830
32831         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32832         not 0.
32833         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32834         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32835         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32836         (struct flock): Move l_start, l_len to the beginning.
32837         Use __pid_t for l_pid.
32838         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32839         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32840         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32841         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32842         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32843         [__USE_LARGEFILE64] (struct flock64): New type.
32844         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32845
32846         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32847         * bits/dirent.h: ... here.
32848
32849         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32850         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32851
32852 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32853
32854         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32855         Change from 2.6.0 to 2.6.16.
32856         * sysdeps/unix/sysv/linux/configure: Regenerated.
32857         * sysdeps/unix/sysv/linux/kernel-features.h
32858         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32859         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32860         version.
32861         (__ASSUME_UTIMES): Likewise.
32862         (__ASSUME_CLONE_STOPPED): Remove.
32863         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32864         architectures, not kernel version.
32865         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32866         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32867         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32868         (__ASSUME_WAITID_SYSCALL): Likewise.
32869         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32870         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32871         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32872         refer to older versions.
32873
32874 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32875
32876         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32877         Define alphasort64 as an alias.
32878         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32879         Define versionsort64 as an alias.
32880         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32881         Define scandir64 as an alias.
32882         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32883         Define scandirat64 as an alias.
32884         * dirent/alphasort64.c (alphasort64):
32885         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32886         * dirent/versionsort64.c: Likewise.
32887         * dirent/scandir64.c: Likewise.
32888         * dirent/scandirat64.c: Likewise.
32889         * sysdeps/wordsize-64/alphasort.c: File removed.
32890         * sysdeps/wordsize-64/alphasort64.c: File removed.
32891         * sysdeps/wordsize-64/scandir.c: File removed.
32892         * sysdeps/wordsize-64/scandir64.c: File removed.
32893         * sysdeps/wordsize-64/scandirat.c: File removed.
32894         * sysdeps/wordsize-64/scandirat64.c: File removed.
32895         * sysdeps/wordsize-64/versionsort.c: File removed.
32896         * sysdeps/wordsize-64/versionsort64.c: File removed.
32897         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32898         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32899         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32900         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32901         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32902         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32903         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32904         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32905
32906         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32907         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32908         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32910         [defined __arch64__ || defined __sparcv9]
32911         (__INO_T_MATCHES_INO64_T): New macro.
32912         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32913         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32914         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32915         * sysdeps/unix/sysv/linux/bits/dirent.h
32916         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32917         (_DIRENT_MATCHES_DIRENT64): New macro.
32918
32919         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32920         Define lockf64 as an alias.
32921         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32922         Define fseeko64 as an alias.
32923         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32924         Define ftello64 as an alias.
32925         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32926         Define _IO_fgetpos64 and fgetpos64 as aliases.
32927         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32928         Define _IO_fsetpos64 and fsetpos64 as aliases.
32929         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32930         Conditionalize body on this.
32931         * libio/fseeko64.c: Likewise.
32932         * libio/ftello64.c: Likewise.
32933         * libio/iofgetpos64.c: Likewise.
32934         * libio/iofsetpos64.c: Likewise.
32935         * sysdeps/wordsize-64/lockf.c: File removed.
32936         * sysdeps/wordsize-64/lockf64.c: File removed.
32937         * sysdeps/wordsize-64/fseeko.c: File removed.
32938         * sysdeps/wordsize-64/fseeko64.c: File removed.
32939         * sysdeps/wordsize-64/ftello.c: File removed.
32940         * sysdeps/wordsize-64/ftello64.c: File removed.
32941         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32942         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32943         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32944         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32945         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32946         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32947         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32948         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32949         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32950         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32951         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32952         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32953         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32954         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32955
32956         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32958         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32960         [defined __arch64__ || defined __sparcv9]
32961         (__OFF_T_MATCHES_OFF64_T): New macro.
32962         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32963         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32965         (__OFF_T_MATCHES_OFF64_T): New macro.
32966
32967 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32968
32969         * stdlib/secure-getenv.c (__secure_getenv): Replace
32970         GLIBC_2_16 with GLIBC_2_17.
32971
32972 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32973
32974         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32975         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32976
32977 2012-08-03  David S. Miller  <davem@davemloft.net>
32978
32979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32980
32981 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32982
32983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32984         Remove.
32985         (__ASSUME_CORRECT_SI_PID): Likewise.
32986         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32987         (__ASSUME_TMPFS_NAME): Likewise.
32988         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32989         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32990         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32991         (HAVE_AUX_SECURE): Make definition unconditional.
32992         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32993         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32994
32995 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32996
32997         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32998         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32999         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33000         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33001         __eloop_threshold instead of SYMLOOP_MAX.
33002
33003         * sysdeps/generic/eloop-threshold.h: New file.
33004         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33005         of MAXSYMLINKS.
33006         * elf/chroot_canon.c (chroot_canon): Likewise.
33007
33008 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33009
33010         [BZ #13717]
33011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33012         Change to 2.6.0 everywhere.
33013         * sysdeps/unix/sysv/linux/configure: Regenerated.
33014         * sysdeps/unix/sysv/linux/kernel-features.h
33015         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33016         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33017         kernel versions.
33018         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33019         (__ASSUME_FUTEX_REQUEUE): Remove.
33020         (__ASSUME_STATFS64): Define unconditionally.
33021         (__ASSUME_AT_SECURE): Likewise.
33022         (__ASSUME_CORRECT_SI_PID): Likewise.
33023         (__ASSUME_TGKILL): Define without depending on kernel version for
33024         i386.
33025         (__ASSUME_UTIMES): Likewise.
33026         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33027         kernel version.
33028         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33029         (__ASSUME_TMPFS_NAME): Likewise.
33030         * README: Update reference to Linux kernel versions.
33031
33032 2012-08-02  Marek Polacek  <polacek@redhat.com>
33033
33034         [BZ# 14150]
33035         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33036         libc_cv_asm_type_prefix with %.
33037         * configure: Regenerated.
33038         * include/libc-symbols.h: Remove comment about
33039         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33040         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33041         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33042         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33043         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33044         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33045         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33046         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33047         * elf/tst-unique2mod1.c: Likewise.
33048         * elf/tst-unique1mod2.c: Likewise.
33049         * elf/tst-unique1mod1.c: Likewise.
33050         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33051         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33052         Replace ASM_TYPE_DIRECTIVE with .type.
33053         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33054         * sysdeps/i386/sysdep.h: Likewise.
33055         * sysdeps/x86_64/sysdep.h: Likewise.
33056         * sysdeps/sh/sysdep.h: Likewise.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33058         Do not define ASM_TYPE_DIRECTIVE.
33059         * sysdeps/powerpc/sysdep.h: Likewise.
33060         * sysdeps/powerpc/powerpc32/sysdep.h:
33061         Replace ASM_TYPE_DIRECTIVE with .type.
33062         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33063         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33064         * sysdeps/i386/fpu/e_powf.S: Likewise.
33065         * sysdeps/i386/fpu/e_expl.S: Likewise.
33066         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33067         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33068         * sysdeps/i386/fpu/e_pow.S: Likewise.
33069         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33070         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33071         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33072         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33073         * sysdeps/i386/fpu/e_log2.S: Likewise.
33074         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33075         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33076         * sysdeps/i386/fpu/e_powl.S: Likewise.
33077         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33078         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33079         * sysdeps/i386/fpu/e_logl.S: Likewise.
33080         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33081         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33082         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33083         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33084         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33085         * sysdeps/i386/fpu/e_log.S: Likewise.
33086         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33087         * sysdeps/i386/fpu/e_logf.S: Likewise.
33088         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33089         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33090         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33091         * sysdeps/i386/fpu/e_log10.S: Likewise.
33092         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33093         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33094         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33095         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33096         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33097         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33098         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33099         * sysdeps/i386/i686/strtok.S: Likewise.
33100         * sysdeps/i386/i386-mcount.S: Likewise.
33101         * sysdeps/i386/strtok.S: Likewise.
33102         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33103         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33104         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33105         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33106         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33107         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33108         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33109         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33110         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33111         * sysdeps/x86_64/_mcount.S: Likewise.
33112         * sysdeps/x86_64/strtok.S: Likewise.
33113         * sysdeps/sh/_mcount.S: Likewise.
33114
33115 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33116
33117         * libio/iofopen.c: Include <fcntl.h>.
33118         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33119         (_IO_fopen64, fopen64): Define as aliases.
33120         * libio/iofopen64.c: Include <fcntl.h>.
33121         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33122         Conditionalize body on this.
33123         * sysdeps/wordsize-64/iofopen.c: File removed.
33124         * sysdeps/wordsize-64/iofopen64.c: File removed.
33125
33126 2012-08-01  Marek Polacek  <polacek@redhat.com>
33127
33128         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33129         Use dlfcn directly instead of a variable.
33130         (binfmt-subdir): Do not define.
33131         (dlfcn): Likewise.
33132
33133 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33134
33135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33136         Remove all definitions.
33137         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33138         <kernel-features.h>.
33139         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33140         (miss_F_GETOWN_EX): Remove all definitions.
33141         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33142         macro definition.
33143         [!__ASSUME_FCNTL64]: Remove conditional code.
33144         [__ASSUME_FCNTL64]: Make code unconditional.
33145         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33146         <kernel-features.h>.
33147         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33148         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33149         (lockf64) [__NR_fcntl64]: Make code unconditional.
33150         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33151
33152         * sysdeps/unix/sysv/linux/kernel-features.h
33153         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33154         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33155         Make code unconditional.
33156         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33157         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33159         [__NR_vfork]: Make code unconditional.
33160         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33161         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33163         [__NR_vfork]: Make code unconditional.
33164         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33165         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33166
33167 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33168
33169         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33170         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33171
33172         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33173         Define mkstemp64 as an alias.
33174         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33175         Define mkstemps64 as an alias.
33176         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33177         Define mkostemp64 as an alias.
33178         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33179         Define mkostemps64 as an alias.
33180         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33181         Conditionalize body on this.
33182         * misc/mkostemp64.c: Likewise.
33183         * misc/mkostemps64.c: Likewise.
33184         * misc/mkstemps64.c: Likewise.
33185         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33186         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33187         * sysdeps/wordsize-64/mkostemp.c: File removed.
33188         * sysdeps/wordsize-64/mkstemp.c: File removed.
33189         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33190         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33191         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33192         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33193
33194         [BZ #14138]
33195         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33196         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33197         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33198         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33199
33200         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33201         compat_symbol macros from <shlib-compat.h> rather than the underlying
33202         default_symbol_version and symbol_version macros, so that DEFAULT
33203         lines in shlib-versions are respected.
33204         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33205
33206 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33207
33208         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33209         Declare with warn_unused_result.
33210         (setgid, setregid, setegid, setresgid): Likewise.
33211         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33212         Likewise.
33213         * WUR-REPORT: Remove set*id functions.
33214
33215 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33216
33217         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33218
33219 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33220
33221         [BZ #10191]
33222         * include/sys/socket.h (__libc_accept, __libc_accept4):
33223         Add attribute_hidden.
33224         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33225
33226         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33227         use of PTR_MANGLE.
33228         * inet/getnetgrent_r.c (setup): Likewise.
33229
33230         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33231
33232 2012-07-31  David S. Miller  <davem@davemloft.net>
33233
33234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33235
33236 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33237
33238         [BZ #13629]
33239         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33240         value between 1.0 and 2.0 and smaller part has absolute value less
33241         than 1.0.
33242         * math/s_clog10.c (__clog10): Likewise.
33243         * math/s_clog10f.c (__clog10f): Likewise.
33244         * math/s_clog10l.c (__clog10l): Likewise.
33245         * math/s_clogf.c (__clogf): Likewise.
33246         * math/s_clogl.c (__clogl): Likewise.
33247         * math/libm-test.inc (clog_test): Add more tests.
33248         (clog10_test): Likewise.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251
33252 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33253
33254         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33255         Exit with zero in case no suitable GID is found, and write a
33256         message to standard error.
33257
33258 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33259
33260         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33261         rather than to 1.
33262         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33263         (MAXPATHLEN): Removed.
33264         (NOGROUP, NODEV): New macros.
33265         (setbit, clrbit, isset, isclr): New macros.
33266         (howmany, roundup, powerof2): New macros.
33267         (DEV_BSIZE): New macro.
33268
33269         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33270         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33271
33272         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33273         definition on [!__NO_LONG_DOUBLE_MATH].
33274
33275         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33276         PTR_MANGLE and PTR_DEMANGLE.
33277
33278         * socket/accept4.c (accept4): Rename to __libc_accept4.
33279         Define accept4 as a weak alias.
33280
33281         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33282         on [_DIRENT_HAVE_D_TYPE].
33283         * io/ftw.c (ftw_dir): Likewise.
33284
33285         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33286
33287         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33288
33289         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33290         Use the BSD numbers rather than the arbitrary ones we had.
33291         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33292         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33293         (SIGXCPU, SIGXFSZ): New macros.
33294         (_NSIG): Now 32.
33295
33296         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33297         initializer on [_LIBC_REENTRANT].
33298
33299         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33300         definitions inside [_POSIX_MAPPED_FILES].
33301
33302         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33303
33304         * dirent/opendir.c: Include <fcntl.h>.
33305
33306         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33307         (__libc_getspecific): Likewise.
33308         (__libc_key_create): Likewise.
33309
33310         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33311         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33312         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33313         (tmpfile64): Define as alias.
33314         * sysdeps/wordsize-64/tmpfile.c: File removed.
33315         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33316         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33317         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33318
33319         * stdio-common/vfscanf.c: Include <stdbool.h>.
33320         * nss/makedb.c: Likewise.
33321         * stdio-common/_i18n_number.h: Likewise.
33322         * argp/argp-help.c: Likewise.
33323         * posix/wordexp.c: Likewise.
33324         * sysdeps/posix/spawni.c: Likewise.
33325         * nss/nss_files/files-initgroups.c: Likewise.
33326         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33327         * nss/nss_files/files-initgroups.c: Likewise.
33328         * nss/nss_db/db-netgrp.c: Likewise.
33329         * nss/nss_db/db-initgroups.c: Likewise.
33330         * io/fchmodat.c: Include <sys/stat.h>.
33331
33332         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33333         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33334
33335         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33336         [HAVE_MMAP].
33337
33338         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33339         Add multiple inclusion protection.
33340
33341 2012-07-27  David S. Miller  <davem@davemloft.net>
33342
33343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33344
33345 2012-07-27  Gary Benson  <gbenson@redhat.com>
33346
33347         [BZ #14298]
33348         * elf/rtld.c: Include <stap-probe.h>.
33349         (dl_main): Added static probes "init_start" and "init_complete".
33350         * elf/dl-load.c: Include <stap-probe.h>.
33351         (lose): Take new parameter "nsid".
33352         Added static probe "map_failed".
33353         (_dl_map_object_from_fd): Pass namespace id to lose.
33354         Added static probe "map_start".
33355         (open_verify): Pass namespace id to lose.
33356         * elf/dl-open.c: Include <stap-probe.h>.
33357         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33358         and "reloc_complete".
33359         * elf/dl-close.c: Include <stap-probe.h>.
33360         (_dl_close_worker): Added static probes "unmap_start" and
33361         "unmap_complete".
33362         * elf/rtld-debugger-interface.txt: New file documenting the above.
33363
33364 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33365
33366         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33367         rather than a string variable.
33368         * sunrpc/rpc_main.c (h_output): Likewise.
33369         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33370
33371 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33372
33373         * inet/check_native.c: New file.
33374
33375 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33376
33377         [BZ #13629]
33378         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33379         if larger part has absolute value 1.0.
33380         * math/s_clog10.c (__clog10): Likewise.
33381         * math/s_clog10f.c (__clog10f): Likewise.
33382         * math/s_clog10l.c (__clog10l): Likewise.
33383         * math/s_clogf.c (__clogf): Likewise.
33384         * math/s_clogl.c (__clogl): Likewise.
33385         * math/libm-test.inc (clog_test): Add more tests.
33386         (clog10_test): Likewise.
33387         * sysdeps/i386/fpu/libm-test-ulps: Update.
33388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33389
33390         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33391         (pltexit): Likewise.
33392         (La_regs): Likewise.
33393         (La_retval): Likewise.
33394         (int_retval): Likewise.
33395         Update #error for removed macros to refer only to definitions in
33396         tst-audit.h.
33397         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33398         macro.
33399         (pltexit): Likewise.
33400         (La_regs): Likewise.
33401         (La_retval): Likewise.
33402         (int_retval): Likewise.
33403         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33404         macro.
33405         (pltexit): Likewise.
33406         (La_regs): Likewise.
33407         (La_retval): Likewise.
33408         (int_retval): Likewise.
33409         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33410         macro.
33411         (pltexit): Likewise.
33412         (La_regs): Likewise.
33413         (La_retval): Likewise.
33414         (int_retval): Likewise.
33415         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33416         macro.
33417         (pltexit): Likewise.
33418         (La_regs): Likewise.
33419         (La_retval): Likewise.
33420         (int_retval): Likewise.
33421         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33422         macro.
33423         (pltexit): Likewise.
33424         (La_regs): Likewise.
33425         (La_retval): Likewise.
33426         (int_retval): Likewise.
33427         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33428         macro.
33429         (pltexit): Likewise.
33430         (La_regs): Likewise.
33431         (La_retval): Likewise.
33432         (int_retval): Likewise.
33433         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33434         macro definitions in tst-audit.h.
33435         * sysdeps/i386/tst-audit.h: New file.
33436         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33437         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33438         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33439         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33440         * sysdeps/sh/tst-audit.h: Likewise.
33441         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33442         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33443         * sysdeps/x86_64/tst-audit.h: Likewise.
33444
33445 2012-07-26  Andreas Jaeger  <aj@suse.de>
33446
33447         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33448         ptrace.
33449
33450         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33451         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33452         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33453         PTRACE_O_MASK.
33454         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33455         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33456         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33457
33458         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33459         value.
33460
33461         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33462         _sigsys.
33463         (si_call_addr, si_syscall, si_arch): Define new macro.
33464         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33465         _sigsys.
33466         (si_call_addr, si_syscall, si_arch): Define new marcro.
33467         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33468         _sigsys.
33469         (si_call_addr, si_syscall, si_arch): Define new macro.
33470         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33471         _sigsys.
33472         (si_call_addr, si_syscall, si_arch): Define new macro.
33473
33474 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33475
33476         [BZ #13717]
33477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33478         Change to 2.4.21 where previously 2.4.1.
33479         * sysdeps/unix/sysv/linux/configure: Regenerated.
33480         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33481         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33482         Linux kernel version.
33483         (__ASSUME_STD_AUXV): Remove.
33484         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33485         kernel version.
33486         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33487         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33488         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33489         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33490         (__ASSUME_NETLINK_SUPPORT): Likewise.
33491         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33492         (__no_netlink_support): Remove conditional definition.
33493         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33494         Remove.
33495         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33496         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33497         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33498         (if_nameindex_ioctl): Remove.
33499         (if_nameindex_netlink): Do not handle __no_netlink_support.
33500         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33501         code.
33502         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33503         Remove conditional code.
33504         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33505         code.
33506         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33507         unconditional.
33508         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33509         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33510         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33511         Remove.
33512         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33513         [!__ASSUME_STD_AUXV]: Remove conditional code.
33514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33515         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33516         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33518         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33519         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33520         code.
33521         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33523         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33524         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33525         conditional code.
33526         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33528         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33529         code.
33530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33531         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33532         conditional code.
33533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33534         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33535         code unconditional.
33536         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33537         conditional code.
33538         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33539         unconditional.
33540         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33541         conditional code.
33542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33543         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33544         unconditional.
33545         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33546         conditional code.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33548         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33549         code unconditional.
33550         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33551         conditional code.
33552         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33553         unconditional.
33554         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33555         conditional code.
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33557         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33558         code unconditional.
33559         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33560         conditional code.
33561         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33562         unconditional.
33563         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33564         conditional code.
33565
33566 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33567
33568         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33569         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33570         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33571         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33572         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33573         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33574         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33575         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33576         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33577         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33578         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33579         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33580         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33581         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33582         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33583         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33584         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33585         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33586         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33588         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33589         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33590         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33591
33592 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33593
33594         * Versions.def: Add GLIBC_2.17.
33595         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33596         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33597         Introduce __libc_secure_getenv.
33598         * stdlib/Versions (2.17): Add secure_getenv
33599         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33600         * stdlib/secure-getenv.c: Rename __secure_getenv to
33601         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33602         symbol __secure_getenv for GLIBC_2.0.
33603         * stdlib/tst-secure-getenv.c: New.
33604         * stdlib/Makefile (tests): Add testcase.
33605         * manual/startup.texi (Environment Access): Document
33606         secure_getenv.
33607         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33608         __libc_secure_getenv.
33609         * inet/ruserpass.c (ruserpass): Likewise.
33610         * malloc/mtrace.c (mtrace): Likewise.
33611         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33612         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33613         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33614         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33615         HAVE_SECURE_GETENV.
33616         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33617         __secure_getenv to __libc_secure_getenv.
33618         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33620         Likewise.
33621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33622         Likewise.
33623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33630
33631 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33632
33633         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33634         (struct La_i86_retval): Likewise.
33635         (struct La_x86_64_regs): Likewise.
33636         (struct La_x86_64_retval): Likewise.
33637         (struct La_x32_regs): Likewise.
33638         (struct La_x32_retval): Likewise.
33639         (struct La_ppc32_regs): Likewise.
33640         (struct La_ppc32_retval): Likewise.
33641         (struct La_ppc64_regs): Likewise.
33642         (struct La_ppc64_retval): Likewise.
33643         (struct La_sh_regs): Likewise.
33644         (struct La_sh_retval): Likewise.
33645         (struct La_s390_32_regs): Likewise.
33646         (struct La_s390_32_retval): Likewise.
33647         (struct La_s390_64_regs): Likewise.
33648         (struct La_s390_64_retval): Likewise.
33649         (struct La_sparc32_regs): Likewise.
33650         (struct La_sparc32_retval): Likewise.
33651         (struct La_sparc64_regs): Likewise.
33652         (struct La_sparc64_retval): Likewise.
33653         (struct audit_ifaces): Remove architecture-specific pltenter and
33654         pltexit members.
33655         * sysdeps/i386/ldsodefs.h: New file.
33656         * sysdeps/powerpc/ldsodefs.h: Likewise.
33657         * sysdeps/s390/ldsodefs.h: Likewise.
33658         * sysdeps/sh/ldsodefs.h: Likewise.
33659         * sysdeps/sparc/ldsodefs.h: Likewise.
33660         * sysdeps/x86_64/ldsodefs.h: Likewise.
33661
33662 2012-07-25  Marek Polacek  <polacek@redhat.com>
33663
33664         [BZ #6808]
33665         * math/libm-test.inc (yn_test): Add another test.
33666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33667         to ERANGE when the result is +-Inf.
33668         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33669         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33670         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33671         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33672
33673 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33674
33675         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33676         equal to 0.
33677         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33678         clock_t.
33679         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33680
33681 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33682
33683         * configure.in <sysdeps resolving>: Correct printing
33684         Implies_before.
33685         * configure: Regenerate.
33686
33687 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33688
33689         * math/w_ilogb.c: Include <limits.h>.
33690         * math/w_ilogbl.c: Likewise.
33691
33692 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33693
33694         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33695         va_copy.  Document allowing for unavailable va_copy only as
33696         pre-C99 compatibility.
33697         * manual/string.texi (Copying and Concatenation): Use va_copy
33698         instead of __va_copy in concat example.
33699
33700 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33701
33702         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33703         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33704         it if not null.
33705
33706         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33707         with O_NOLINK passed to __file_name_lookup.
33708
33709         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33710         with O_NOLINK passed to __file_name_lookup.
33711
33712         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33713         negative N or less than NGIDS.
33714
33715         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33716         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33717         enough.  Use memcpy instead of strncpy.
33718
33719 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33720
33721         * elf/Makefile (check-data): Remove.
33722         (localplt.data): New vpath directive.
33723         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33724         instead of $(check-data).
33725         * scripts/data/localplt-generic.data: Move to ...
33726         * sysdeps/generic/localplt.data: ... here.
33727         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33728         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33729         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33731         ... here.
33732         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33734         ... here.
33735         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33737         ... here.
33738         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33740         ... here.
33741         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33743         ... here.
33744         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33746         ... here.
33747
33748 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33749
33750         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33751         PPC32 and PPC64 files.
33752         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33753         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33754
33755 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33756
33757         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33758         __makecontext_ret to ...
33759         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33760         ... here and call exit if uc_link is NULL.  New file.
33761         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33762         __makecontext_ret.S.
33763         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33764         __makecontext_ret to ...
33765         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33766         ... here and call exit if uc_link is NULL.  New file.
33767         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33768         __makecontext_ret.S.
33769
33770 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33771
33772         * elf/elf.h (R_390_IRELATIVE): New definition.
33773         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33774         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33775         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33776         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33777         (elf_machine_lazy_rel): Likewise.
33778         * sysdeps/s390/dl-irel.h: New file.
33779         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33780         * sysdeps/s390/s390-64/memset.S: New asm code.
33781         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33782         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33783         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33784         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33785         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33786         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33787         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33788         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33789         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33790         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33791         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33792         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33793         * sysdeps/s390/s390-32/memset.S: New asm code.
33794         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33795
33796 2012-07-17  Marek Polacek  <polacek@redhat.com>
33797
33798         [BZ #14349]
33799         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33800         * sysdeps/s390/s390-64/configure.in: Likewise.
33801         * sysdeps/sparc/configure.in: Likewise.
33802         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33803         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33804         * sysdeps/i386/configure.in: Likewise.
33805         * sysdeps/x86_64/configure.in: Likewise.
33806         * sysdeps/sh/configure.in: Likewise.
33807         * sysdeps/s390/s390-32/configure: Regenerated.
33808         * sysdeps/s390/s390-64/configure: Likewise.
33809         * sysdeps/x86_64/configure: Likewise.
33810         * sysdeps/sh/configure: Likewise.
33811         * sysdeps/powerpc/powerpc64/configure: Likewise.
33812         * sysdeps/powerpc/powerpc32/configure: Likewise.
33813         * sysdeps/sparc/configure: Likwise.
33814         * sysdeps/i386/configure: Likewise.
33815
33816         * elf/dl-open.c: Comment fixes.
33817
33818 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33819
33820         * Makefile [CXX] (check-data): Remove.
33821         [CXX] (c++-types.data): New vpath directive.
33822         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33823         vpath.  Do not allow for C++ type data being missing.
33824         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33825         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33826         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33827         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33828         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33829         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33830         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33832         ... here.
33833         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33835         ... here.
33836         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33838         ... here.
33839         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33841         ... here.
33842         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33844         ... here.
33845         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33847         ... here.
33848         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33850         ... here.
33851         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33853
33854         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33855         definitions to architecture-specific files.
33856         (TLS_IE): Likewise.
33857         (TLS_LD): Likewise.
33858         (TLS_GD): Likewise.
33859         * sysdeps/i386/tls-macros.h: New file.
33860         * sysdeps/powerpc/tls-macros.h: Likewise.
33861         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33862         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33863         * sysdeps/sh/tls-macros.h: Likewise.
33864         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33865         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33866         * sysdeps/x86_64/tls-macros.h: Likewise.
33867
33868 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33869
33870         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33871         zero value for regular exit case.
33872
33873         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33874         (__start_context): Preserve zero value for regular exit case.
33875
33876 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33877             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33878
33879         * manual/setjmp.texi (setcontext): Clarify normal process
33880         termination when uc_link is the null pointer.
33881         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33882         exit call.
33883
33884 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33885
33886         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33887         preprocessor.  Test for each exception mask separately.
33888
33889 2012-07-16  Andreas Jaeger  <aj@suse.de>
33890
33891         * po/ru.po: Update from translation team.
33892
33893 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33894
33895         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33896         equal to 0.
33897         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33898         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33899         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33900         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33902
33903 2012-07-13  Andreas Jaeger  <aj@suse.de>
33904
33905         * po/fr.po: Update from translation team.
33906
33907 2012-07-12  Marek Polacek  <polacek@redhat.com>
33908
33909         [BZ #14173]
33910         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33911         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33912         loop condition.
33913
33914 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33915
33916         [BZ #13717]
33917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33918         Change to 2.4.1 where previously 2.4.0.
33919         * sysdeps/unix/sysv/linux/configure: Regenerated.
33920         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33921         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33922         version.
33923         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33924         (__ASSUME_AT_CLKTCK): Remove.
33925         (__ASSUME_AT_PAGESIZE): Likewise.
33926         (__ASSUME_AT_XID): Likewise.
33927         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33928         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33929         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33930         unconditionally.
33931         (HAVE_AUX_PAGESIZE): Likewise.
33932         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33933         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33934         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33935
33936 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33937
33938         [BZ #14307]
33939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33940         the temporary buffer used to invoke __gethostbyname2_r,
33941         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33942         host_data / struct gaih_addrtuple.
33943         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33944         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33945         header file nss/nsswitch.h.
33946         * nss/nsswitch.h (global scope): Add definition of implementation
33947         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33948         resolv/nss_dns/dns-host.c).
33949
33950 2012-07-11  Andreas Jaeger  <aj@suse.de>
33951
33952         * po/fr.po: Update from translation team.
33953
33954         * po/sv.po: Update from translation team
33955         * po/fr.po: Another update from translation team.
33956
33957 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33958
33959         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33960         for subnormals or multiply small sinh result by itself.
33961         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33963
33964 2012-07-11  David S. Miller  <davem@davemloft.net>
33965
33966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33967
33968 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33969
33970         [BZ #14347]
33971         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33972         (INTERNAL_MARK): Shift it here.
33973
33974 2012-07-10  Marek Polacek  <polacek@redhat.com>
33975
33976         [BZ #14151]
33977         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33978         libc_cv_asm_global_directive with .globl.
33979         * configure: Regenerated.
33980         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33981         with .globl.
33982         * sysdeps/i386/configure: Regenerated.
33983         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33984         with .globl.
33985         * sysdeps/x86_64/configure: Regenerated.
33986         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33987         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33988         * elf/tst-unique2mod2.c: Likewise.
33989         * elf/tst-unique2mod1.c: Likewise.
33990         * elf/tst-unique1mod2.c: Likewise.
33991         * elf/tst-unique1mod1.c: Likewise.
33992         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33993         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33994         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33995         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33996         * sysdeps/mach/sysdep.h: Likewise.
33997         * sysdeps/i386/sysdep.h: Likewise.
33998         * sysdeps/i386/i386-mcount.S: Likewise.
33999         * sysdeps/x86_64/_mcount.S: Likewise.
34000         * sysdeps/x86_64/sysdep.h: Likewise.
34001         * sysdeps/sh/_mcount.S: Likewise.
34002         * sysdeps/sh/sysdep.h: Likewise.
34003         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34004         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34005         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34006         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34007         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34008         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34009         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34010         * locale/localeinfo.h: Likewise.
34011         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34012         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34013
34014 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34015
34016         [BZ #14336]
34017         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34018         system".
34019         * manual/message.texi (The Uniforum approach): Likewise.
34020         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34021         (glibc iconv Implementation): Likewise.
34022
34023 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34024
34025         [BZ #14337]
34026         * math/s_clog.c (__clog): Avoid scaling a value down where that
34027         could result in underflow.
34028         * math/s_clog10.c (__clog10): Likewise.
34029         * math/s_clog10f.c (__clog10f): Likewise.
34030         * math/s_clog10l.c (__clog10l): Likewise.
34031         * math/s_clogf.c (__clogf): Likewise.
34032         * math/s_clogl.c (__clogl): Likewise.
34033         * math/libm-test.inc (clog_test): Add more tests.
34034         (clog10_test): Likewise.
34035         * sysdeps/i386/fpu/libm-test-ulps: Update.
34036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34037
34038 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34039
34040         [BZ #14283]
34041         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34042         by 7 not 8 to examine high bit of fractional part.
34043
34044         [BZ #14042]
34045         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34046         for call to __mcount_internal.
34047         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34048         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34049         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34050
34051 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34052
34053         [BZ #14154]
34054         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34055         approximation for values within 0x1p-13f of an odd multiple of
34056         pi/4.
34057         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34058         exception.  Add more tests.
34059         * sysdeps/i386/fpu/libm-test-ulps: Update.
34060
34061         [BZ #6778]
34062         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34063         inputs and return -1 for them.  Do not check for +Inf in case not
34064         reachable for +Inf.
34065         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34066         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34067         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34068         and return -1 for them.  Do not check for +Inf in case not
34069         reachable for +Inf.
34070         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34071         define.
34072         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34073         and return -1 for them.  Do not check for +Inf in case not
34074         reachable for +Inf.
34075         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34076         spurious underflow.
34077         * sysdeps/i386/fpu/libm-test-ulps: Update.
34078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34079
34080 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34081
34082         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34083
34084 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34085
34086         [BZ #14157]
34087         [BZ #14331]
34088         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34089         could result in spurious underflow.  Scale down values above
34090         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34091         * math/s_csqrtf.c (__csqrtf): Likewise.
34092         * math/s_csqrtl.c (__csqrtl): Likewise.
34093         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34094         spurious underflow.
34095         * sysdeps/i386/fpu/libm-test-ulps: Update.
34096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34097
34098 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34099
34100         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34101         xopen-msg.sed.
34102         * catgets/xopen-msg.awk: New file.
34103         * catgets/xopen-msg.sed: Removed.
34104
34105         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34106         po2text.sed.
34107         * intl/po2test.awk: New file.
34108         * intl/po2test.sed: Removed.
34109
34110 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34111
34112         [BZ #14328]
34113         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34114         or multiply small sinh result by itself.
34115         * math/s_ctanf.c (__ctanf): Likewise.
34116         * math/s_ctanh.c (__ctanh): Likewise.
34117         * math/s_ctanhf.c (__ctanhf): Likewise.
34118         * math/s_ctanhl.c (__ctanhl): Likewise.
34119         * math/s_ctanl.c (__ctanl): Likewise.
34120         * math/libm-test.inc (ctan_test_tonearest): New function.
34121         (ctan_test_towardzero): Likewise.
34122         (ctan_test_downward): Likewise.
34123         (ctan_test_upward): Likewise.
34124         (ctanh_test_tonearest): Likewise.
34125         (ctanh_test_towardzero): Likewise.
34126         (ctanh_test_downward): Likewise.
34127         (ctanh_test_upward): Likewise.
34128         (main): Call these new functions.
34129         * sysdeps/i386/fpu/libm-test-ulps: Update.
34130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34131
34132 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34133
34134         * .gitignore: Delete /ports entry.
34135
34136 2012-07-03  Andreas Jaeger  <aj@suse.de>
34137
34138         * po/bg.po: Update from translation team.
34139         * po/cs.po: Likewise.
34140         * po/de.po: Likewise.
34141         * po/hr.po: Likewise.
34142         * po/nl.pl: Likewise.
34143         * po/pl.po: Likewise.
34144         * po/vi.po: Likewise.
34145
34146 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34147
34148         * Makeconfig [!+link] (+link-before-libc): New variable.
34149         [!+link] (+link-after-libc): Likewise.
34150         [!+link] (+link-tests): Likewise.
34151         [!+link] (+link): Define in terms of $(+link-before-libc) and
34152         $(+link-after-libc).
34153         [!+link-static] (+link-static-before-libc): New variable.
34154         [!+link-static] (+link-static-after-libc): Likewise.
34155         [!+link-static] (+link-static-tests): Likewise.
34156         [!+link-static] (+link-static): Define in terms of
34157         $(+link-static-before-libc) and $(+link-static-after-libc).
34158         [build-shared] (link-libc-before-gnulib): New variable.
34159         [build-shared] (link-libc-tests): Likewise.
34160         [build-shared] (link-libc): Define in terms of
34161         $(link-libc-before-gnulib).
34162         [!build-shared] (link-libc-tests): New variable.
34163         (link-libc-static-tests): New variable.
34164         [!gnulib] (gnulib-arch): New variable.
34165         [!gnulib] (gnulib-tests): Likewise.
34166         [!gnulib] (static-gnulib-arch): Likewise.
34167         [!gnulib] (static-gnulib-tests): Likewise.
34168         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34169         Define with "=" instead of ":=".
34170         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34171         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34172         * Rules (binaries-all-notests): New variable.
34173         (binaries-all-tests): Likewise.
34174         (binaries-static-notests): Likewise.
34175         (binaries-static-tests): Likewise.
34176         (binaries-all): Define using $(binaries-all-notests) and
34177         $(binaries-all-tests).
34178         (binaries-static): Define using $(binaries-static-notests) and
34179         $(binaries-static-tests).
34180         (binaries-shared-tests): New variable.
34181         (binaries-shared-notests): Likewise.
34182         (binaries-shared): Remove variable.
34183         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34184         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34185         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34186         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34187         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34188         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34189         * elf/Makefile (sln-modules): New variable.
34190         (extra-objs): Add $(sln-modules:=.o).
34191         (ldconfig-modules): Add static-stubs.
34192         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34193         * elf/static-stubs.c: New file.
34194
34195         [BZ #14283]
34196         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34197         by 7 not 8 to examine high bit of fractional part.  Use volatile
34198         variables when splitting into final array of floats if
34199         __FLT_EVAL_METHOD__ != 0.
34200         * math/libm-test.inc (cos_test): Add another test.
34201         (sin_test): Likewise.
34202         * sysdeps/i386/fpu/libm-test-ulps: Update.
34203
34204         [BZ #14273]
34205         * math/libm-test.inc (cosh_test): Add more tests.
34206
34207         * version.h (RELEASE): Set to "development".
34208         (VERSION): Set to "2.16.90".
34209
34210 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34211
34212         * NEWS: Update copyright. Remove last-updated date.
34213         Mention math library bug fixes and timezone data changes.
34214         * README: Mention GNU/Hurd, x32, and HPPA support status.
34215
34216 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34217
34218         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34219
34220 2012-06-27  Andreas Jaeger  <aj@suse.de>
34221
34222         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34223
34224 2012-06-25  Andreas Jaeger  <aj@suse.de>
34225
34226         * sysdeps/s390/fpu/libm-test-ulps: Update.
34227
34228 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34229             Thomas Schwinge  <thomas@codesourcery.com>
34230
34231         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34232         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34233         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34234         fanotify_mark.
34235
34236 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34237
34238         * sysdeps/mach/start.c: Remove file.
34239         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34240         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34241         * sysdeps/sh/init-first.c: Likewise.
34242
34243         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34244         registers for frame unwinding purposes, add CFI directives.
34245         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34246         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34247         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34248         Likewise.
34249
34250         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34251         __fortify_fail returning.
34252         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34253
34254         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34255         sysdeps/sh/____longjmp_chk.S.
34256         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34257         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34258         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34259         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34260
34261         * sysdeps/sh/abort-instr.h: New file.
34262         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34263         process in case exit returns.
34264
34265         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34266         initialize the GOT register before use.
34267
34268         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34269         calculation of ARGC > 4.
34270
34271         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34272         meaningful names to some local labels.
34273
34274 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34275             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34276
34277         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34278         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34279         (__arch_compare_and_exchange_val_16_acq): Likewise.
34280         (__arch_compare_and_exchange_val_32_acq): Likewise.
34281         (atomic_exchange_and_add): Fix gUSA sequence.
34282         (atomic_add): Likewise.
34283         (atomic_add_negative): Likewise.
34284         (atomic_add_zero): Likewise.
34285         (atomic_bit_test_set): Likewise.
34286
34287 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34288
34289         [BZ #13579]
34290         * include/link.h (struct link_map): Add l_free_initfini.
34291         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34292         l_initfini.
34293         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34294         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34295         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34296         set.
34297
34298 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34299
34300         * configure.in: Use AC_LANG_SOURCE.
34301         * configure: Regenerate.
34302
34303 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34304
34305         * configure.in (libc_cv_localstatedir): New substituted variable.
34306         * configure: Regenerated.
34307         * config.make.in (localstatedir): New variable, substituted from
34308         libc_cv_localstatedir.
34309         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34310         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34311         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34312         * sysdeps/gnu/configure: Regenerated.
34313
34314 2012-06-21  Jeff Law  <law@redhat.com>
34315
34316         [BZ #14277]
34317         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34318         free.  Simplify list management for _LIBC case.
34319
34320 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34321
34322         [BZ #14273]
34323         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34324         Clear sign bit of 64-bit integer value before comparing against
34325         overflow value.
34326
34327         * sysdeps/mach/configure: Regenerated.
34328
34329 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34330
34331         [BZ #14278]
34332         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34333
34334 2012-06-21  Jeff Law  <law@redhat.com>
34335
34336         [BZ #13882]
34337         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34338         uint16_t for elements in the "seen" array to avoid char overflows.
34339         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34340         * elf/dl-open.c (dl_open_worker): Likewise.
34341
34342 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34343
34344         * scripts/list-sources.sh: Scan PORTS for translations.
34345         * po/libc.pot: Regenerated.
34346
34347 2012-06-21  Andreas Jaeger  <aj@suse.de>
34348
34349         [BZ #12194]
34350         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34351         warning.
34352         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34353         * bits/byteswap-16.h (__bswap_16): Likewise.
34354         * bits/byteswap.h (__bswap_constant_16): Likewise.
34355
34356 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34357
34358         [BZ #14117]
34359         * sysdeps/i386/fpu_control.h: Removed.
34360         * sysdeps/x86_64/fpu_control.h: Moved to ...
34361         * sysdeps/x86/fpu_control.h: Here.
34362
34363         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34364         (_FPU_SETCW): Likewise.
34365
34366 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34367
34368         [BZ #14117]
34369         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34370         * sysdeps/x86/fpu/bits/mathinline.h: This.
34371         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34372
34373         [BZ #14050]
34374         [BZ #14117]
34375         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34376         functions if __x86_64__ is defined.
34377
34378 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34379
34380         * string/endian.h: Add !__ASSEMBLER__ condition for including
34381         conversion interfaces.
34382
34383 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34384
34385         [BZ #14241]
34386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34387         of ABS(x) in calculating zero to negative powers other than odd
34388         integers.
34389         * math/libm-test.inc (pow_test): Add more tests.
34390
34391 2012-06-15  Andreas Jaeger  <aj@suse.de>
34392
34393         * manual/contrib.texi (Contributors): Update entry of Liubov
34394         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34395         Machado Filho.
34396
34397 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34398
34399         * string/string.h: Add __wur to GNU version of strerror_r.
34400
34401 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34402
34403         [BZ #14229]
34404         * string/Makefile (tests): Add tst-strtok_r.
34405         * string/tst-strtok_r.c: New file.
34406         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34407         RAX_LP/RDX_LP on SAVE_PTR.
34408
34409 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34410
34411         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34412
34413 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34414
34415         * libm_test.inc (csqrt_test): Allow more spurious underflow
34416         exceptions.
34417         (j0_test): Likewise.
34418         (j1_test): Likewise.
34419         (y0_test): Likewise.
34420         (y1_test): Likewise.
34421
34422 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34423
34424         * po/Makefile (libc.pot): Use UTF-8 charset.
34425
34426 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34427
34428         [BZ #14210]
34429         Suppress sign-conversion warning from FD_SET.
34430         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34431         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34432         not unsigned long int.
34433         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34434
34435 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34436
34437         [BZ #14050]
34438         [BZ #14117]
34439         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34440         __extern_always_inline instead of __extern_inline.
34441         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34442         (__signbit): Likewise.
34443         (__signbitl): Support C++ namespace.
34444         (lrintf): New inline function.
34445         (lrint): Likewise.
34446         (llrintf): Likewise.
34447         (llrint): Likewise.
34448         (fmaxf): Likewise.
34449         (fmax): Likewise.
34450         (fminf): Likewise.
34451         (fmin): Likewise.
34452         (rint): Likewise.
34453         (rintf): Likewise.
34454         (ceil): Likewise.
34455         (ceilf): Likewise.
34456         (floor): Likewise.
34457         (floorf): Likewise.
34458         (nearbyint): Likewise.
34459         (nearbyintf): Likewise.
34460
34461 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34462
34463         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34464         non-default versions.
34465
34466 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34467
34468         [BZ #14218]
34469         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34470
34471 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34472
34473         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34474         (FE_UPWARD, FE_DOWNWARD): Don't define.
34475         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34476         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34477
34478         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34479         reading it.
34480         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34481         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34482
34483 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34484
34485         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34487         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34488         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34489
34490 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34491
34492         [BZ #14117]
34493         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34494         * sysdeps/i386/fpu/Implies: New file.
34495         * sysdeps/x86_64/fpu/Implies: Likewise.
34496         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34497         * sysdeps/x86/fpu/bits/fenv.h: This.
34498
34499         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34500         __SSE_MATH__.
34501
34502 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34503
34504         [BZ #14134]
34505         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34506         character 0xffff that matches the last element of the
34507         conversion table.
34508
34509 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34510
34511         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34512         fmodl commit.
34513
34514 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34515
34516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34517         values higher than 25.6283.
34518
34519 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34520
34521         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34522         subnormal exponent extraction and add some __builtin_expect.
34523         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34524         Fix for subnormal mantissa calculation.
34525
34526 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34527
34528         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34529         cpu2 is -1 and errno is not ENOSYS.
34530
34531 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34532
34533         [BZ #14117]
34534         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34535         * sysdeps/x86/bits/string.h: This.
34536         * sysdeps/x86_64/bits/string.h: Removed.
34537
34538         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34539         if not compiling for x86-64, but compiling for >= i486.
34540
34541         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34542         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34543
34544         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34545         New macro from Linux kernel 3.4.0.
34546         (FP_XSTATE_MAGIC2): Likewise.
34547         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34548         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34549         (struct _fpx_sw_bytes): New struct.
34550         (struct _xsave_hdr): Likewise.
34551         (struct _ymmh_state): Likewise.
34552         (struct _xstate): Likewise.
34553
34554         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34555         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34556         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34557         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34558         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34559         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34560
34561         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34562         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34563         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34564         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34565         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34566         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34567
34568 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34569
34570         [BZ #13743]
34571         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34572         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34573         (sysdep_headers): Include sys/platform/ppc.h.
34574         * sysdeps/powerpc/test-gettimebase.c: Test for
34575         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34576         * manual/Makefile (appendices): Include platform.texi.
34577         * manual/contrib.texi (Contributors): Update @node pointers.
34578         * manual/maint.texi (Maintenance): Likewise.
34579         (Platform): New node.
34580         * manual/platform.texi: New file.  Document the new features.
34581
34582 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583             Jakub Jelinek  <jakub@redhat.com>
34584
34585         [BZ #14188]
34586         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34587         where __builtin_expect is unavailable.
34588
34589 2012-06-03  David S. Miller  <davem@davemloft.net>
34590
34591         * stdlib/longlong.h: Updated from GCC.
34592
34593 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34594
34595         [BZ #14042]
34596         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34597         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34598         __mcount_internal.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34600         (GLIBC_2.16): Likewise.
34601
34602 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34603
34604         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34605
34606 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34607
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34609         (default-abi): New variable.
34610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34611         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34612         variable.
34613         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34614         Likewise.
34615         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34616         Likewise.
34617         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34618         Likewise.
34619
34620         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34621         definition.  Document in comment.
34622
34623 2012-06-01  David S. Miller  <davem@davemloft.net>
34624
34625         * stdlib/longlong.h: Updated from GCC.
34626
34627 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34628
34629         [BZ #14117]
34630         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34631         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34632         sys/debugreg.h sys/io.h here.
34633         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34634         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34635         sys/io.h.
34636         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34637         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34638         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34639         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34640         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34641         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34642
34643         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34644         Define only if __x86_64__ is defined.
34645
34646 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34647
34648         [BZ #14048]
34649         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34650         Use int64_t for variable i.
34651         * math/libm-test.inc (fmod_test): Add more tests.
34652
34653         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34654         z computation is not scheduled after fetestexcept.
34655         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34656         Use math_force_eval instead of asm to ensure calculation scheduled
34657         before exception test.
34658         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34659         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34660
34661 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34662
34663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34664         computation is not scheduled after fetestexcept.
34665
34666 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34667
34668         [BZ #14117]
34669         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34670         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34671
34672 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34673
34674         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34675         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34676
34677 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34678
34679         [BZ #14117]
34680         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34681         <bits/wordsize.h>.
34682         (__WCHAR_MIN): Support __WORDSIZE == 64.
34683         (__WCHAR_MAX): Likewise.
34684
34685         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34686         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34687
34688         [BZ #14183]
34689         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34690         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34691
34692         [BZ #14117]
34693         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34694         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34695
34696         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34697         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34698
34699         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34700         Defined to 1 if __x86_64__ isn't defined.
34701         (_STAT_VER_LINUX_OLD): New.
34702         (st_atime): Remove duplicate.
34703         (st_mtime): Likewise.
34704         (st_ctime): Likewise.
34705
34706 2012-05-31  David S. Miller  <davem@davemloft.net>
34707
34708         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34709         entries.
34710
34711 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34712
34713         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34714         gen-libm-test.pl.
34715
34716         [BZ #14132]
34717         * elf/dl-reloc.c: Include <_itoa.h>.
34718         (_dl_reloc_bad_type): Remove use of INTUSE.
34719         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34720         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34721         * stdio-common/psiginfo.c (psiginfo): Likewise.
34722         * stdio-common/psignal.c (psignal): Likewise.
34723         * string/strsignal.c (strsignal): Likewise.
34724         * include/signal.h (_sys_siglist): Declare hidden proto.
34725         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34726         INTVARDEF with libc_hidden_data_def.
34727         * stdio-common/itoa-udigits.c: Likewise.
34728         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34729         (_itoa_lower_digits_internal): Remove declaration.
34730         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34731         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34732         (_sys_sigabbrev_internal): Remove aliases.
34733         (_sys_siglist): Define hidden alias.
34734
34735 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34736
34737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34738         bits/sysctl.h.
34739
34740 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34741
34742         [BZ #14117]
34743         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34744         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34745
34746         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34747         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34748         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34749         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34751         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34752
34753         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34754         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34755         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34756
34757         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34758         with __addr.
34759         (insw): Likewise.
34760         (insl): Likewise.
34761         (outsb): Likewise.
34762         (outsw): Likewise.
34763         (outsl): Likewise.
34764
34765         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34766         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34767         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34768
34769         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34770         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34771         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34772         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34773         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34774         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34775
34776         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34777         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34778
34779         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34780         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34781
34782         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34783         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34784         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34785
34786         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34787         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34788         to ...
34789         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34790
34791         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34792         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34793         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34794
34795         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34796         for x86-64.
34797         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34798
34799 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34800
34801         * math/math.h (M_El): Use two more decimal places.
34802         (M_LOG2El): Likewise.
34803         (M_LOG10El): Likewise.
34804         (M_LN2l): Likewise.
34805         (M_LN10l): Likewise.
34806         (M_PIl): Likewise.
34807         (M_PI_2l): Likewise.
34808         (M_PI_4l): Likewise.
34809         (M_1_PIl): Likewise.
34810         (M_2_PIl): Likewise.
34811         (M_2_SQRTPIl): Likewise.
34812         (M_SQRT2l): Likewise.
34813         (M_SQRT1_2l): Likewise.
34814
34815 2012-05-31  David S. Miller  <davem@davemloft.net>
34816
34817         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34818         values between float registers.
34819         * sysdeps/sparc/sparc64/memset.S: Likewise.
34820         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34821
34822 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34823
34824         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34825         -D_FORTIFY_SOURCE=1.
34826         (CPPFLAGS-tst-longjmp_chk.c): Define.
34827         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34828         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34829         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34830         CFLAGS-tst-wchar-h.c.
34831
34832 2012-05-31  Marek Polacek  <polacek@redhat.com>
34833
34834         [BZ #14132]
34835         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34836         __endmntent_internal): Remove declaration.
34837         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34838         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34839         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34840
34841 2012-05-30  David S. Miller  <davem@davemloft.net>
34842
34843         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34844         (___Q_simulate_exceptions): Use real FP ops rather than writing
34845         into the %fsr.
34846         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34847         Likewise.
34848
34849 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34850
34851         [BZ #14117]
34852         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34853         * sysdeps/x86/bits/xtitypes.h: This.
34854
34855         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34856         * sysdeps/x86/bits/wordsize.h: This.
34857
34858         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34859         * sysdeps/x86/bits/huge_vall.h: This.
34860
34861         * sysdeps/i386/bits/select.h: Removed.
34862         * sysdeps/x86_64/bits/select.h: Renamed to ...
34863         * sysdeps/x86/bits/select.h: This.
34864
34865         * sysdeps/i386/bits/setjmp.h: Removed.
34866         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34867         * sysdeps/x86/bits/setjmp.h: This.
34868
34869         * sysdeps/i386/bits/mathdef.h: Removed.
34870         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34871         * sysdeps/x86/bits/mathdef.h: This.
34872
34873 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34874
34875         [BZ #14132]
34876         * include/sys/socket.h (__connect_internal)
34877         (__libc_sa_len_internal): Remove declaration.
34878         (__connect, __libc_sa_len): Declare hidden_proto.
34879         (SA_LEN): Remove use of INTUSE.
34880         * socket/connect.c: Add libc_hidden_def.
34881         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34882         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34883         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34884         alias.
34885         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34886         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34887         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34888         of adding _internal alias.
34889
34890 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34891
34892         [BZ #14117]
34893         * sysdeps/i386/bits/link.h: Removed.
34894         * sysdeps/i386/bits/linkmap.h: Likewise.
34895         * sysdeps/x86_64/bits/link.h: Renamed to ...
34896         * sysdeps/x86/bits/link.h: This.
34897         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34898         * sysdeps/x86/bits/linkmap.h: This.
34899
34900         * sysdeps/i386/bits/endian.h: Removed.
34901         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34902         * sysdeps/x86/bits/endian.h: This.
34903
34904         * sysdeps/i386/bits/byteswap.h: Removed.
34905         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34906         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34907         * sysdeps/x86/bits/byteswap.h: This.
34908         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34909         * sysdeps/x86/bits/byteswap-16.h: This.
34910         * sysdeps/i386/Implies: Add x86.
34911         * sysdeps/x86_64/Implies: Likewise.
34912
34913 2012-05-30  David S. Miller  <davem@davemloft.net>
34914
34915         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34916         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34917         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34918         (FP_TRAPPING_EXCEPTIONS): Define.
34919         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34920         (FP_TRAPPING_EXCEPTIONS): Define.
34921         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34922         subnormals only when inexact has been signalled or underflow
34923         exceptions are enabled.
34924         (_FP_PACK_CANONICAL): Likewise.
34925
34926 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34927
34928         [BZ #14183]
34929         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34930         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34931
34932 2012-05-30  Richard Henderson  <rth@twiddle.net>
34933
34934         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34935         with #ifndef NOT_IN_libc.
34936
34937         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34938         marked to avoid plt entry.
34939
34940 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34941
34942         [BZ #14112]
34943         * Makeconfig (default-abi): New macro.
34944         (abi-includes): Likewise.
34945         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34946         $(abi-$(default-abi)-lib-soname) for soname if defined.
34947         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34948         abi-variants.
34949         * Makefile (installed-stubs): Likewise.
34950         * include/stubs-biarch.h: Removed.
34951         * scripts/lib-names.awk: Only handle one library at a time.
34952         * scripts/soversions.awk: Remove WORDSIZE support.
34953         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34954         entries.
34955         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34956         Removed.
34957         (syscall-list-default-condition): Likewise.
34958         (syscall-list-default-condition): Likewise.
34959         (syscall-list-includes): Likewise.
34960         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34961         syscall-list-* with abi-*.  Handle undefined abi-variants.
34962         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34963         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34964         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34965         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34966         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34967         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34968         Removed.
34969         (syscall-list-32-options): Likewise.
34970         (syscall-list-32-condition): Likewise.
34971         (syscall-list-64-options): Likewise.
34972         (syscall-list-64-condition): Likewise.
34973         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34974         macro.
34975         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34976         Renamed to ...
34977         (abi-*): This.
34978         (abi-64-ld-soname): New macro.
34979         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34980         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34981         Renamed to ...
34982         (abi-*): This.
34983         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34984         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34985
34986 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34987
34988         * sysdeps/unix/sysv/linux/kernel-features.h
34989         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34990         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34991         include <kernel-features.h>.
34992         [!__NR_ftruncate64]: Remove conditional code.
34993         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34994         [__NR_ftruncate64]: Make code unconditional.
34995         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34996         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34997         include <kernel-features.h>.
34998         [!__NR_ftruncate64]: Remove conditional code.
34999         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35000         [__NR_ftruncate64]: Make code unconditional.
35001         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35003         include <kernel-features.h>.
35004         [!__NR_ftruncate64]: Remove conditional code.
35005         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35006         [__NR_ftruncate64]: Make code unconditional.
35007         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35009         include <kernel-features.h>.
35010         [!__NR_ftruncate64]: Remove conditional code.
35011         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35012         [__NR_ftruncate64]: Make code unconditional.
35013         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35014
35015         * configure.in (libc_cv_fpie): Weaken to a compile test using
35016         LIBC_TRY_CC_OPTION.
35017         * configure: Regenerated.
35018
35019 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35020
35021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35025         Refreshed.
35026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35032         Refreshed.
35033
35034 2012-05-27  David S. Miller  <davem@davemloft.net>
35035
35036         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35037         (___Q_zero): New.
35038         (__Q_simulate_exceptions): Return void.  Change to simulate
35039         exceptions by writing into the %fsr.
35040         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35041         (__Qp_handle_exceptions): Likewise.
35042         (numbers): Delete.
35043         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35044         __Qp_handle_exceptions.
35045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35046         __Qp_handle_exceptions.
35047         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35048         as unused and give dummy FP_RND_NEAREST initializer.
35049         (FP_INHIBIT_RESULTS): Define.
35050         (___Q_simulate_exceptions): Update declaration.
35051         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35052         formatting.
35053         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35054         as unused and give dummy FP_RND_NEAREST initializer.
35055         (__Qp_handle_exceptions): Update declaration.
35056         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35057         formatting.
35058
35059 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35060
35061         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35062         the temporary FPU control word.
35063         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35064         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35065         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35066         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35067         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35068         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35069         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35070         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35071         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35072         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35073         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35074
35075 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35076
35077         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35078         fields.
35079
35080 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35081
35082         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35083         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35084         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35085         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35086         Likewise.
35087         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35088         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35089         Likewise.
35090
35091 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35092
35093         * po/h.po: Update from translation team.
35094
35095 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35096
35097         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35098
35099         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35100         handling of denormals.
35101         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35102         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35103         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35104         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35106         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35108         Likewise.
35109
35110 2012-05-26  Marek Polacek  <polacek@redhat.com>
35111
35112         [BZ #14152]
35113         * math/libm-test.inc (fma_test): Don't always expect underflow
35114         exception.
35115
35116 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35117
35118         [BZ #12416]
35119         * elf/tst-execstack.c: Include stackinfo.h.
35120         (do_test): Adjust test case to ensure that pthread_getattr_np
35121         behaviour remains the same after marking stack executable.
35122
35123 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35124
35125         * sysdeps/unix/sysv/linux/kernel-features.h
35126         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35127         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35128         kernel-features.h.
35129         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35130         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35131         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35132         kernel-features.h.
35133         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35134         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35135
35136 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35137
35138         * configure.in: Define the default includes to being none.
35139         * configure: Regenerated.
35140
35141 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35142
35143         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35144         * sysdeps/x86_64/setjmp.S: Likewise.
35145         * sysdeps/i386/bsd-setjmp.S: Likewise.
35146         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35147         * sysdeps/i386/setjmp.S: Likewise.
35148         * sysdeps/i386/__longjmp.S: Likewise.
35149         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35150         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35151
35152         * include/stap-probe.h: New file.
35153         * configure.in: Handle --enable-systemtap.
35154         * configure: Regenerated.
35155         * config.h.in (USE_STAP_PROBE): New #undef.
35156         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35157         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35158         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35159
35160 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35161
35162         [BZ #13717]
35163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35164         to 2.4.0 where earlier.
35165         * sysdeps/unix/sysv/linux/configure: Regenerated.
35166         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35167         <kernel-features.h>.
35168         [__ASSUME_32BITUIDS]: Make code unconditional.
35169         [!__ASSUME_32BITUIDS]: Remove conditional code.
35170         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35171         <kernel-features.h>.
35172         [__ASSUME_32BITUIDS]: Make code unconditional.
35173         [!__ASSUME_32BITUIDS]: Remove conditional code.
35174         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35175         [__ASSUME_32BITUIDS]: Make code unconditional.
35176         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35177         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35178         <kernel-features.h>.
35179         [__ASSUME_32BITUIDS]: Make code unconditional.
35180         [!__ASSUME_32BITUIDS]: Remove conditional code.
35181         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35182         <kernel-features.h>.
35183         [__ASSUME_32BITUIDS]: Make code unconditional.
35184         [!__ASSUME_32BITUIDS]: Remove conditional code.
35185         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35186         <kernel-features.h>.
35187         [__ASSUME_32BITUIDS]: Make code unconditional.
35188         [!__ASSUME_32BITUIDS]: Remove conditional code.
35189         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35190         <kernel-features.h>.
35191         [__ASSUME_32BITUIDS]: Make code unconditional.
35192         [!__ASSUME_32BITUIDS]: Remove conditional code.
35193         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35194         <kernel-features.h>.
35195         [__ASSUME_32BITUIDS]: Make code unconditional.
35196         [!__ASSUME_32BITUIDS]: Remove conditional code.
35197         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35198         <kernel-features.h>.
35199         [__ASSUME_32BITUIDS]: Make code unconditional.
35200         [!__ASSUME_32BITUIDS]: Remove conditional code.
35201         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35202         <kernel-features.h>.
35203         [__ASSUME_32BITUIDS]: Make code unconditional.
35204         [!__ASSUME_32BITUIDS]: Remove conditional code.
35205         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35206         <kernel-features.h>.
35207         [__ASSUME_32BITUIDS]: Make code unconditional.
35208         [!__ASSUME_32BITUIDS]: Remove conditional code.
35209         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35210         <kernel-features.h>.
35211         [__ASSUME_32BITUIDS]: Make code unconditional.
35212         [!__ASSUME_32BITUIDS]: Remove conditional code.
35213         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35214         <kernel-features.h>.
35215         [__ASSUME_32BITUIDS]: Make code unconditional.
35216         [!__ASSUME_32BITUIDS]: Remove conditional code.
35217         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35218         <kernel-features.h>.
35219         [__NR_setresgid] (__setresgid): Do not declare.
35220         [__ASSUME_32BITUIDS]: Make code unconditional.
35221         [!__ASSUME_32BITUIDS]: Remove conditional code.
35222         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35223         <kernel-features.h>.
35224         [__NR_setresuid] (__setresuid): Do not declare.
35225         [__ASSUME_32BITUIDS]: Make code unconditional.
35226         [!__ASSUME_32BITUIDS]: Remove conditional code.
35227         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35228         <kernel-features.h>.
35229         [__ASSUME_32BITUIDS]: Make code unconditional.
35230         [!__ASSUME_32BITUIDS]: Remove conditional code.
35231         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35232         <kernel-features.h>.
35233         [__ASSUME_32BITUIDS]: Make code unconditional.
35234         [!__ASSUME_32BITUIDS]: Remove conditional code.
35235         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35236         <kernel-features.h>.
35237         [__ASSUME_32BITUIDS]: Make code unconditional.
35238         [!__ASSUME_32BITUIDS]: Remove conditional code.
35239         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35240         <kernel-features.h>.
35241         [__ASSUME_32BITUIDS]: Make code unconditional.
35242         [!__ASSUME_32BITUIDS]: Remove conditional code.
35243         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35244         <kernel-features.h>.
35245         [__ASSUME_32BITUIDS]: Make code unconditional.
35246         [!__ASSUME_32BITUIDS]: Remove conditional code.
35247         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35248         <kernel-features.h>.
35249         [__ASSUME_32BITUIDS]: Make code unconditional.
35250         [!__ASSUME_32BITUIDS]: Remove conditional code.
35251         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35252         <kernel-features.h>.
35253         [__ASSUME_32BITUIDS]: Make code unconditional.
35254         [!__ASSUME_32BITUIDS]: Remove conditional code.
35255         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35256         <kernel-features.h>.
35257         [__ASSUME_32BITUIDS]: Make code unconditional.
35258         [!__ASSUME_32BITUIDS]: Remove conditional code.
35259         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35260         <kernel-features.h>.
35261         [__ASSUME_32BITUIDS]: Make code unconditional.
35262         [!__ASSUME_32BITUIDS]: Remove conditional code.
35263         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35264         <kernel-features.h>.
35265         [__ASSUME_32BITUIDS]: Make code unconditional.
35266         [!__ASSUME_32BITUIDS]: Remove conditional code.
35267         * sysdeps/unix/sysv/linux/kernel-features.h
35268         (__ASSUME_SETRESUID_SYSCALL): Remove.
35269         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35270         (__ASSUME_32BITUIDS): Likewise.
35271         (__ASSUME_LDT_WORKS): Likewise.
35272         (__ASSUME_O_DIRECTORY): Likewise.
35273         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35274         architecture but not kernel version.
35275         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35276         (__ASSUME_MMAP2_SYSCALL): Likewise.
35277         (__ASSUME_STAT64_SYSCALL): Likewise.
35278         (__ASSUME_IPC64): Likewise.
35279         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35280         <kernel-features.h>.
35281         [__ASSUME_32BITUIDS]: Make code unconditional.
35282         [!__ASSUME_32BITUIDS]: Remove conditional code.
35283         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35284         <kernel-features.h>.
35285         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35286         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35287         132096]: Remove conditional code.
35288         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35289         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35290         <kernel-features.h>.
35291         [__ASSUME_32BITUIDS]: Make code unconditional.
35292         [!__ASSUME_32BITUIDS]: Remove conditional code.
35293         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35294         <kernel-features.h>.
35295         [__ASSUME_32BITUIDS]: Make code unconditional.
35296         [!__ASSUME_32BITUIDS]: Remove conditional code.
35297         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35298         <kernel-features.h>.
35299         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35300         unconditional.
35301         (__setresgid): Do not declare.
35302         [__ASSUME_32BITUIDS]: Make code unconditional.
35303         [!__ASSUME_32BITUIDS]: Remove conditional code.
35304         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35305         <kernel-features.h>.
35306         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35307         unconditional.
35308         (__setresuid): Do not declare.
35309         [__ASSUME_32BITUIDS]: Make code unconditional.
35310         [!__ASSUME_32BITUIDS]: Remove conditional code.
35311         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35312         <kernel-features.h>.
35313         [__ASSUME_32BITUIDS]: Make code unconditional.
35314         [!__ASSUME_32BITUIDS]: Remove conditional code.
35315         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35316         <kernel-features.h>.
35317         [__ASSUME_32BITUIDS]: Make code unconditional.
35318         [!__ASSUME_32BITUIDS]: Remove conditional code.
35319
35320 2012-05-25  Richard Henderson  <rth@twiddle.net>
35321
35322         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35323         dl_hwcap to ifunc resolver.
35324         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35325         elf_ifunc_invoke.
35326         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35327         dl_hwcap to ifunc resolver.
35328         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35329
35330 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35331
35332         [BZ #14153]
35333         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35334         for |x| <= 2**-26, not 2**-57.
35335         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35336         exception.
35337
35338 2012-05-24  Jeff Law  <law@redhat.com>
35339
35340         * stdio-common/Makefile (tests): Add bug25.
35341         * stdio-common/bug25.c: New test.
35342
35343 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35344
35345         [BZ #13576]
35346         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35347         multiple of MALLOC_ALIGNMENT in size.
35348         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35349
35350 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35351
35352         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35353         Require >= 256.
35354         (FILENAME_MAX): Use macro-int-constant.
35355         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35356         (_IOFBF): Use macro-int-constant.
35357         (_IOLBF): Likewise.
35358         (_IONBF): Likewise.
35359         (SEEK_CUR): Likewise.
35360         (SEEK_END): Likewise.
35361         (SEEK_SET): Likewise.
35362         (TMP_MAX): Likewise.
35363         (EOF): Use macro-int-constant.  Require < 0.
35364         (NULL): Use macro-constant.  Require == 0.
35365         (stdin): Require type to be FILE *.
35366         (stdout): Likewise.
35367         (stderr): Likewise.
35368         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35369         macro-int-constant.
35370         (EXIT_SUCCESS): Likewise.
35371         (NULL): Use macro-constant.  Require == 0.
35372         (RAND_MAX): Use macro-int-constant.
35373         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35374         [C99-based standards] (strtof): Require function.
35375         [C99-based standards] (strtold): Likewise.
35376         [C99-based standards] (strtoll): Likewise.
35377         [C99-based standards] (strtoull): Likewise.
35378         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35379         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35380         [ISO || ISO99 || ISO11] (math.h): Likewise.
35381         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35382         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35383         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35384
35385 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35386
35387         [BZ #14132]
35388         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35389         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35390         * intl/dgettext.c (DCGETTEXT): Likewise.
35391         * intl/gettext.c (DCGETTEXT): Likewise.
35392         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35393         * posix/regex_internal.h (gettext): Likewise.
35394         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35395         Remove declaration.
35396         * include/argz.h (__argz_count_internal)
35397         (__argz_stringify_internal): Remove declaration.
35398         (__argz_count, __argz_stringify): Declare hidden proto.
35399         * intl/dcgettext.c: Remove use of INTDEF.
35400         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35401         * string/argz-stringify.c: Likewise.
35402         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35403         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35404         Declare hidden proto.
35405         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35406         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35407         Declare hidden proto.
35408         * include/stdio.h (__asprintf_internal): Don't declare.
35409         (__asprintf): Don't define as macro.  Declare hidden proto.
35410         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35411         (__fsetlocking): Declare hidden proto.
35412         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35413         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35414         hidden proto.
35415         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35416         (_IO_setlinebuf): Remove use of INTUSE.
35417         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35418         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35419         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35420         Remove declaration.
35421         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35422         (_IO_do_flush): Remove use of INTUSE.
35423         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35424         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35425         (_IO_adjust_column, _IO_least_wmarker)
35426         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35427         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35428         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35429         (_IO_default_doallocate, _IO_wdefault_doallocate)
35430         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35431         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35432         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35433         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35434         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35435         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35436         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35437         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35438         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35439         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35440         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35441         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35442         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35443         proto.
35444         (_IO_flush_all_internal, _IO_adjust_column_internal)
35445         (_IO_default_uflow_internal, _IO_default_finish_internal)
35446         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35447         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35448         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35449         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35450         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35451         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35452         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35453         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35454         (_IO_file_close_internal, _IO_file_close_it_internal)
35455         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35456         (_IO_file_init_internal, _IO_file_attach_internal)
35457         (_IO_file_fopen_internal, _IO_file_read_internal)
35458         (_IO_file_sync_internal, _IO_file_seek_internal)
35459         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35460         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35461         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35462         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35463         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35464         (_IO_list_all_internal, _IO_link_in_internal)
35465         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35466         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35467         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35468         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35469         (_IO_do_write_internal, _IO_padn_internal)
35470         (_IO_getline_info_internal, _IO_getline_internal)
35471         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35472         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35473         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35474         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35475         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35476         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35477         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35478         with libc_hidden_ver, remove use of INTUSE.
35479         * libio/genops.c: Likewise.
35480         * libio/freopen.c: Likewise.
35481         * libio/freopen64.c: Likewise.
35482         * libio/iofclose.c: Likewise.
35483         * libio/iofdopen.c: Likewise.
35484         * libio/iofflush.c: Likewise.
35485         * libio/iofflush_u.c: Likewise.
35486         * libio/iofgets.c: Likewise.
35487         * libio/iofgets_u.c: Likewise.
35488         * libio/iofopen.c: Likewise.
35489         * libio/iofopncook.c: Likewise.
35490         * libio/iofread.c: Likewise.
35491         * libio/iofread_u.c: Likewise.
35492         * libio/ioftell.c: Likewise.
35493         * libio/iofwrite.c: Likewise.
35494         * libio/iogetline.c: Likewise.
35495         * libio/iogets.c: Likewise.
35496         * libio/iogetwline.c: Likewise.
35497         * libio/iopadn.c: Likewise.
35498         * libio/iopopen.c: Likewise.
35499         * libio/ioseekoff.c: Likewise.
35500         * libio/ioseekpos.c: Likewise.
35501         * libio/iosetbuffer.c: Likewise.
35502         * libio/iosetvbuf.c: Likewise.
35503         * libio/ioungetc.c: Likewise.
35504         * libio/ioungetwc.c: Likewise.
35505         * libio/iovdprintf.c: Likewise.
35506         * libio/iovsprintf.c: Likewise.
35507         * libio/iovsscanf.c: Likewise.
35508         * libio/memstream.c: Likewise.
35509         * libio/obprintf.c: Likewise.
35510         * libio/oldfileops.c: Likewise.
35511         * libio/oldiofclose.c: Likewise.
35512         * libio/oldiofdopen.c: Likewise.
35513         * libio/oldiofopen.c: Likewise.
35514         * libio/oldiopopen.c: Likewise.
35515         * libio/oldstdfiles.c: Likewise.
35516         * libio/putc.c: Likewise.
35517         * libio/setbuf.c: Likewise.
35518         * libio/setlinebuf.c: Likewise.
35519         * libio/stdfiles.c: Likewise.
35520         * libio/strops.c: Likewise.
35521         * libio/vasprintf.c: Likewise.
35522         * libio/vscanf.c: Likewise.
35523         * libio/vsnprintf.c: Likewise.
35524         * libio/vswprintf.c: Likewise.
35525         * libio/wfiledoalloc.c: Likewise.
35526         * libio/wfileops.c: Likewise.
35527         * libio/wgenops.c: Likewise.
35528         * libio/wmemstream.c: Likewise.
35529         * libio/wstrops.c: Likewise.
35530         * libio/__fpurge.c: Likewise.
35531         * libio/__fsetlocking.c: Likewise.
35532         * assert/assert.c: Likewise.
35533         * debug/fgets_chk.c: Likewise.
35534         * debug/fgets_u_chk.c: Likewise.
35535         * debug/fread_chk.c: Likewise.
35536         * debug/fread_u_chk.c: Likewise.
35537         * debug/gets_chk.c: Likewise.
35538         * debug/obprintf_chk.c: Likewise.
35539         * debug/vasprintf_chk.c: Likewise.
35540         * debug/vdprintf_chk.c: Likewise.
35541         * debug/vsnprintf_chk.c: Likewise.
35542         * debug/vsprintf_chk.c: Likewise.
35543         * malloc/mtrace.c: Likewise.
35544         * misc/error.c: Likewise.
35545         * misc/syslog.c: Likewise.
35546         * stdio-common/asprintf.c: Likewise.
35547         * stdio-common/fxprintf.c: Likewise.
35548         * stdio-common/getw.c: Likewise.
35549         * stdio-common/isoc99_fscanf.c: Likewise.
35550         * stdio-common/isoc99_scanf.c: Likewise.
35551         * stdio-common/isoc99_vfscanf.c: Likewise.
35552         * stdio-common/isoc99_vscanf.c: Likewise.
35553         * stdio-common/isoc99_vsscanf.c: Likewise.
35554         * stdio-common/printf-prs.c: Likewise.
35555         * stdio-common/printf_fp.c: Likewise.
35556         * stdio-common/printf_fphex.c: Likewise.
35557         * stdio-common/printf_size.c: Likewise.
35558         * stdio-common/putw.c: Likewise.
35559         * stdio-common/scanf.c: Likewise.
35560         * stdio-common/sprintf.c: Likewise.
35561         * stdio-common/tmpfile.c: Likewise.
35562         * stdio-common/vfprintf.c: Likewise.
35563         * stdio-common/vfscanf.c: Likewise.
35564         * stdlib/strfmon_l.c: Likewise.
35565         * sunrpc/openchild.c: Likewise.
35566         * sunrpc/xdr_stdio.c: Likewise.
35567         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35568         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35569
35570 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35571
35572         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35573
35574         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35575         in the third column, to generate for the shared library an IFUNC
35576         that uses _dl_vdso_vsym.
35577         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35578         * Makeconfig (object-suffixes-noshared): New variable.
35579
35580         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35581         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35582         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35583         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35584
35585         [BZ #14132]
35586         * include/sys/time.h (__gettimeofday): Remove macro.
35587         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35588         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35589         Remove INTDEF.
35590         (__gettimeofday): Add libc_hidden_def.
35591         (gettimeofday): Add libc_hidden_weak.
35592         * sysdeps/mach/gettimeofday.c: Likewise.
35593         * sysdeps/posix/gettimeofday.c: Likewise.
35594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35595         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35596         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35597         (__gettimeofday_internal): Remove strong_alias.
35598         (__gettimeofday): Add libc_hidden_def.
35599         (gettimeofday): Add libc_hidden_weak.
35600         * sysdeps/unix/syscalls.list (gettimeofday):
35601         Remove __gettimeofday_internal alias.
35602
35603 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35604             H.J. Lu  <hongjiu.lu@intel.com>
35605
35606         [BZ #12495]
35607         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35608         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35609         (largebin_index_32_big): New.
35610         (largebin_index): Use it for 16-byte alignment.
35611         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35612         correction with front_misalign.
35613
35614 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35615
35616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35618         Likewise.
35619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35620         Likewise.
35621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35622         Likewise.
35623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35624         Likewise.
35625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35626         Likewise.
35627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35628         Likewise.
35629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35630         Likewise.
35631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35632         Likewise.
35633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35634         Likewise.
35635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35636         Likewise.
35637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35638         Likewise.
35639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35640         Likewise.
35641
35642         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35643         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35644
35645 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35646
35647         [BZ #10846]
35648         [BZ #14036]
35649         * math/libm-test.inc (exp_test): Add test from bug 14036.
35650         (pow_test): Add test from bug 10846.
35651
35652         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35653         and other flags.
35654         (special_function): Do not include flags in test name.
35655         (parse_args): Likewise.
35656         * sysdeps/i386/fpu/libm-test-ulps: Update.
35657         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35658         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35659         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35661
35662         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35663         exceptions.
35664         * math/libm-test.inc ("Philosophy"): Update comment about
35665         exception testing.
35666         (UNDERFLOW_EXCEPTION): New macro.
35667         (UNDERFLOW_EXCEPTION_OK): Likewise.
35668         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35669         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35670         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35671         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35672         (INVALID_EXCEPTION_OK): Update value.
35673         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35674         (OVERFLOW_EXCEPTION_OK): Likewise.
35675         (IGNORE_ZERO_INF_SIGN): Likewise.
35676         (test_exceptions): Handle underflow exceptions.
35677         (acos_test): Update for underflow exception expectations.
35678         (cexp_test): Likewise.
35679         (clog_test): Likewise.
35680         (clog10_test): Likewise.
35681         (csqrt_test): Likewise.
35682         (ctan_test): Likewise.
35683         (ctanh_test): Likewise.
35684         (exp_test): Likewise.
35685         (exp10_test): Likewise.
35686         (exp2_test): Likewise.
35687         (expm1_test): Likewise.
35688         (fma_test): Likewise.
35689         (j0_test): Likewise.
35690         (jn_test): Likewise.
35691         (nexttoward_test): Likewise.
35692         (pow_test): Likewise.
35693         (scalbn_test): Likewise.
35694         (scalbln_test): Likewise.
35695         (tan_test): Likewise.
35696         (y1_test): Likewise.
35697         * sysdeps/i386/fpu/libm-test-ulps: Update.
35698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35699
35700 2012-05-23  David S. Miller  <davem@davemloft.net>
35701
35702         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35703         (__libc_sigaction): Remove unused local variables.
35704
35705 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35706
35707         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35708
35709 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35710
35711         mktime: avoid signed integer overflow
35712         * time/mktime.c (__mktime_internal): Do not mishandle the case
35713         where diff == INT_MIN.
35714
35715         mktime: simplify computation of average
35716         * time/mktime.c (ranged_convert): Use new time_t_avg function
35717         instead of rolling our own (probably-slower) code.
35718
35719         mktime: do not assume signed right shift propagates sign bit
35720         * time/mktime.c (isdst_differ): New static function.
35721         (__mktime_internal): No need to normalize tm_isdst now.
35722         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35723         tm_isdst values.
35724
35725         mktime: merge another wrapv change from gnulib
35726         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35727         from some compilers.
35728
35729         mktime: remove incorrect attempt at unusual arithmetics
35730         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35731         The code didn't really work on such machines anyway.
35732         (TYPE_MINIMUM): Assume two's complement.
35733         (twos_complement_arithmetic): Verify that long_int and time_t
35734         are two's complement (or unsigned, in the latter case).
35735
35736         mktime: check signed shifts on long_int and time_t, too
35737         * time/mktime.c (SHR): Check that shifts work as desired
35738         on the types long_int and time_t too, as SHR is used on
35739         such types.
35740
35741         mktime: do not assume 'long' is wide enough
35742         * time/mktime.c (verify): Move decl up.
35743         (long_int): New type.
35744         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35745         to remove assumption in the code that 'long' is wide enough to
35746         store year values.  This assumption is not true on x32 and on
35747         some non-glibc platforms.
35748
35749         mktime: merge wrapv change from gnulib
35750         * time/mktime.c (WRAPV): New macro.
35751         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35752         (guess_time_tm, __mktime_internal): Do not assume that signed
35753         integer overflow wraps around; modern compilers generate code
35754         where this assumption is no longer valid.
35755
35756 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35757
35758         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35759         Replace "jmp L(pseudo_end)" with "ret".
35760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35761         Likewise.
35762
35763 2012-05-23  Andreas Jaeger  <aj@suse.de>
35764
35765         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35766         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35767
35768 2012-05-23  Andreas Jaeger  <aj@suse.de>
35769             Maximilian Attems  <max@stro.at>
35770
35771         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35772         New macros.
35773
35774 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35775
35776         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35777         code so that pseudo_end is just ret and the stack pointer is
35778         correct also for static library in error case.
35779
35780 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35781
35782         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35783         move to syscalls.list.
35784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35788
35789         * manual/install.texi (Running make install): Do not mention Linux
35790         kernel version for which pt_chown is not needed.
35791         (Linux): Do not mention problems with nscd with 2.0 kernels.
35792         * INSTALL: Regenerated.
35793
35794 2012-05-23  Andreas Jaeger  <aj@suse.de>
35795
35796         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35797         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35798         macro.
35799         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35800         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35801         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35802         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35803         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35804         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35805         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35806         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35807         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35808         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35809         * sysdeps/unix/sysv/linux/bits/in.h
35810         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35811
35812 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35813
35814         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35815         (PREPARE_VERSION): Just use assert instead, it will be elided
35816         under [NDEBUG] anyway.
35817
35818 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35819
35820         * sysdeps/unix/sysv/linux/Makefile: Include
35821         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35822         (sysdep_routines): Remove sysctl.
35823         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35824         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35825         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35826         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35827         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35828
35829 2012-05-22  Andreas Jaeger  <aj@suse.de>
35830
35831         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35832         that pseudo_end is just ret and the stack pointer is correct also
35833         for static library in error case.
35834
35835 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35836
35837         [BZ #14122]
35838         * nss/nsswitch.c (defconfig_entries): New variable.
35839         (__nss_database_lookup): Don't leak defconfig entries.
35840         (nss_parse_service_list): Don't leak on error paths.
35841         (free_database_entries): New function.
35842         (free_defconfig): New function.
35843         (free_mem): Move common code to free_database_entries.
35844
35845 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35846
35847         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35848         Add arch_prctl.
35849         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35850
35851         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35852         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35854         New macro.
35855         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35856         (INTERNAL_SYSCALL_TYPES): Likewise.
35857         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35858         (LOAD_REGS_TYPES_[1-6]): Likewise.
35859         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35860         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35861
35862 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35863
35864         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35865         copysignl for GLIBC_2_0.
35866         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35867         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35869         logbl for GLIBC_2_0.
35870         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35871         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35872
35873 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35874
35875         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35876         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35877
35878         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35879         Use "neg %eax".
35880
35881         * time/mktime.c: Update copyright years.
35882
35883 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35884
35885         mktime: merge comment-quoting-style change from gnulib
35886         * time/mktime.c: Quote 'like this' in comments.
35887         The GNU coding standards suggest that we no longer quote `like this',
35888         as "`" and "'" are typically rendered asymmetrically nowadays.
35889         The typical gnulib style is to quote 'like this' when quoting
35890         code, and "like this" when quoting English.
35891
35892         * time/mktime.c (compile-command): Add "-I.".
35893
35894         mktime: merge mktime-internal.h change from gnulib
35895         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35896
35897         mktime: merge time_r change from gnulib
35898         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35899
35900         mktime: merge DEBUG change from gnulib
35901         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35902         case system <time.h> has a #define.
35903
35904         mktime: merge <sys/types.h> change from gnulib
35905         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35906         since <time.t> is now guaranteed to define time_t.
35907
35908         mktime: merge HAVE_CONFIG_H change from gnulib
35909         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35910
35911 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35912
35913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35914         Use "neg %eax".
35915
35916         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35917         __rlim_t cast.
35918         (struct rusage): Use anonymous union to pad each field to
35919         __syscall_slong_t.
35920
35921 2012-05-21  David S. Miller  <davem@davemloft.net>
35922
35923         * Makefules (o-iterator): Remove .s cases.
35924         (compile-command.s): Delete.
35925         (COMPILE.s): Delete.
35926         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35927
35928 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35929
35930         * configure.in (libc_cv_predef_stack_protector): Only consider
35931         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35932         * configure: Regenerated.
35933
35934 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35935
35936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35937         New macro.  Use R*LP on int and pointer.
35938         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35939         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35940         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35941         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35942
35943         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35944         [__WORDSIZE_TIME64_COMPAT32] instead of
35945         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35946         (struct utmp): Likewise.
35947         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35948         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35949         Renamed to ...
35950         (__WORDSIZE_TIME64_COMPAT32): This.
35951         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35952         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35953         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35954         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35955         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35956         (__WORDSIZE_TIME64_COMPAT32): New macro.
35957
35958 2012-05-21  Andreas Jaeger  <aj@suse.de>
35959
35960         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35961         only if [SHARED]. Add prototype for __wcschr_ia32.
35962
35963 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35964
35965         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35966         of %rbp unmolested in the jmp_buf while mangling the low bits.
35967         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35968         unmolested high bits of %rbp while demangling the low bits.
35969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35970
35971 2012-05-21  Andreas Jaeger  <aj@suse.de>
35972
35973         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35974         * sunrpc/svc_simple.c: Use it for registerrpc.
35975         * sunrpc/xcrypt.c: Use it for passwd2des.
35976
35977         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35978
35979 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35980
35981         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35982         Don't define if [__SYSCALL_WORDSIZE != 32].
35983         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35984         New macro.
35985
35986 2012-05-21  Bruno Haible  <bruno@clisp.org>
35987             Andreas Jaeger  <aj@suse.de>
35988
35989         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35990         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35991         inptr and inend for must_buffer_ch.
35992         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35993         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35994         * stdio-common/Makefile (tests): Remove bug15.
35995         (bug15-ENV): Remove macro.
35996         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35997         anymore.
35998
35999 2012-05-19  Andreas Jaeger  <aj@suse.de>
36000             Roland McGrath  <roland@hack.frob.com>
36001
36002         * manual/contrib.texi: Completely rewritten. It contains now an
36003         alphabetical list of contributors and their contributions.
36004
36005 2012-05-21  Richard Henderson  <rth@twiddle.net>
36006
36007         * misc/getauxval.c (__getauxval): Use unsigned long int.
36008         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36009         (getauxval): Use unsigned long int.
36010
36011 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36012
36013         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36014
36015 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36016
36017         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36018         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36019         __alignof__ (long double).
36020
36021 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36022
36023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36024
36025 2012-05-20  Richard Henderson  <rth@twiddle.net>
36026
36027         * misc/getauxval.c: New file.
36028         * misc/sys/auxv.h: New file.
36029         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36030         (routines): Add getauxval.
36031         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36032         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36033         * elf/dl-sysdep.c (_dl_auxv): Remove.
36034         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36035         * elf/dl-support.c (_dl_auxv): New variable.
36036         (_dl_aux_init): Initialize it.
36037         * manual/startup.texi (Auxiliary Vector): New node.
36038         * sysdeps/generic/bits/hwcap.h: New file.
36039         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36040         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36041         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36042         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36043         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36046         Update.
36047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36050         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36055
36056 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36057
36058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36059
36060 2012-05-19  David S. Miller  <davem@davemloft.net>
36061
36062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36063
36064 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36065
36066         [BZ #14123]
36067         * math/s_ccosh.c: Include <float.h>
36068         (__ccosh): Avoid internal overflow calculating sinh and cosh
36069         values before multiplying by sin and cos values.
36070         * math/s_ccoshf.c: Likewise.
36071         * math/s_ccoshl.c: Likewise.
36072         * math/s_csin.c: Likewise.
36073         * math/s_csinf.c: Likewise.
36074         * math/s_csinl.c: Likewise.
36075         * math/s_csinh.c: Likewise.
36076         * math/s_csinhf.c: Likewise.
36077         * math/s_csinhl.c: Likewise.
36078         * math/libm-test.inc (ccos_test): Add more tests.
36079         (ccosh_test): Likewise.
36080         (csin_test): Likewise.
36081         (csinh_test): Likewise.
36082         * sysdeps/i386/fpu/libm-test-ulps: Update.
36083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36084
36085 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36086
36087         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36088         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36089
36090         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36091
36092 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36093
36094         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36095         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36096         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36097         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36098         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36099         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36100         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36101         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36102         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36103         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36104         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36105         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36106         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36107         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36108         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36109         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36110         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36111         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36112         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36113         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36114         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36115         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36116         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36117         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36118         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36119         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36120         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36121         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36122         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36123         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36124         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36125
36126 2012-05-18  Andreas Jaeger  <aj@suse.de>
36127
36128         * csu/.gitignore: Delete.
36129
36130 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36131
36132         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36133         (timex): Use __syscall_slong_t.
36134
36135 2012-05-18  Andreas Jaeger  <aj@suse.de>
36136             Carlos O'Donell  <carlos_odonell@mentor.com>
36137
36138         * manual/install.texi (Configuring and compiling): Update
36139         description about files modified in the source directory.
36140         * INSTALL: Regenerated.
36141
36142 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36143
36144         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36145         value.  Use "or" to set return value to -1.
36146         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36147         negate return value.
36148
36149 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36150
36151         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36152         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36153         failure if the compiler has Graphite support disabled.
36154         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36155         Likewise.
36156         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36157         (CFLAGS-memmove.c): Likewise.
36158         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36159         Likewise.
36160
36161 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36162
36163         * sysdeps/x86_64/x32/_itoa.h: New file.
36164
36165         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36166         getdents system call only if kernel and user dirents have the
36167         same d_ino and d_off.
36168
36169         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36170         LLONG_MAX != LONG_MAX.
36171         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36172         (_fitoa_word): Likewise.
36173
36174         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36175         years.
36176         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36177         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36178         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36179
36180         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36181         include <bits/wordsize.h>.  Check __x86_64__ instead of
36182         __WORDSIZE.
36183         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36184         if __x86_64__ is defined.  Use anonymous union on fpstate.
36185
36186         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36187         anonymous union.
36188
36189 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36190
36191         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36192         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36193         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36194         Refer to _rtld_local_ro instead of _rtld_global_ro.
36195         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36196         Likewise.
36197         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36198         Likewise.
36199         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36200         Likewise.
36201         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36202         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36203         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36204
36205         * sysdeps/powerpc/powerpc32/dl-machine.c
36206         (__elf_machine_runtime_setup) [PROF]: Don't reference
36207         _dl_prof_resolve.
36208
36209 2012-05-18  Andreas Jaeger  <aj@suse.de>
36210
36211         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36212         function only available for GCCs before 3.4 since GCC 3.4
36213         introduced a builtin.
36214         (lrint): Likewise.
36215         (llrintf): Likewise.
36216         (llrint): Likewise.
36217         (fmaxf): Likewise.
36218         (fmax): Likewise.
36219         (fminf): Likewise.
36220         (fmin): Likewise.
36221         (rint): Likewise.
36222         (rintf): Likewise.
36223         (nearbyint): Likewise.
36224         (nearbyintf): Likewise.
36225         (ceil): Likewise.
36226         (ceilf): Likewise.
36227         (floor): Likewise.
36228         (floorf): Likewise.
36229
36230 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36231
36232         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36233         on both fields and cast pointer to __syscall_ulong_t.
36234
36235         * bits/types.h (__fsword_t): New type.
36236         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36237         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36238         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36239         (__FSWORD_T_TYPE): Likewise.
36240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36241         (__FSWORD_T_TYPE): Likewise.
36242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36243         (__FSWORD_T_TYPE): Likewise.
36244         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36245         (__FSWORD_T_TYPE): Likewise.
36246         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36247         __SWORD_TYPE with __fsword_t.
36248         (statfs64): Likewise.
36249
36250 2012-05-17  David S. Miller  <davem@davemloft.net>
36251
36252         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36253
36254 2012-05-17  Andreas Jaeger  <aj@suse.de>
36255
36256         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36257         warning.
36258
36259 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36260
36261         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36262
36263 2012-05-17  Andreas Jaeger  <aj@suse.de>
36264
36265         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36266         when it is used.
36267
36268 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36269
36270         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36271
36272 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36273
36274         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36275         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36276
36277 2012-05-17  Andreas Jaeger  <aj@suse.de>
36278             Carlos O'Donell  <carlos_odonell@mentor.com>
36279
36280         [BZ #14059]
36281         * sysdeps/x86_64/multiarch/init-arch.h
36282         (bit_YMM_Usable): Rename to...
36283         (bit_AVX_Usable): ... this.
36284         (bit_FMA4_Usable): New macro.
36285         (bit_XMM_state): New macro.
36286         (bit_YMM_state): New macro.
36287         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36288         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36289         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36290         (CPUID_OSXSAVE): New macro.
36291         (CPUID_AVX): New macro.
36292         (CPUID_FMA4): New macro.
36293         (index_YMM_Usable): Rename to...
36294         (index_AVX_Usable): ... this.
36295         (HAS_AVX): Use HAS_ARCH_FEATURE.
36296         (HAS_FMA4): Likewise.
36297         (HAS_YMM_USABLE): Remove.
36298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36299         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36300         are present.
36301         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36302         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36303         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36304         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36305         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36306
36307 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36308
36309         * math/libm-test.c: Support platforms without multiple rounding modes.
36310         * math/bug-nextafter.c: Support platforms without FP exceptions.
36311         * math/bug-nexttoward.c: Likewise.
36312         * math/test-fenv.c: Likewise.
36313         * math/test-misc.c: Likewise.
36314         * stdlib/bug-getcontext.c: Likewise.
36315
36316 2012-05-17  Andreas Jaeger  <aj@suse.de>
36317
36318         * manual/examples/search.c (critter_cmp): Change signature to
36319         avoid warnings.
36320         * manual/string.texi (Collation Functions): Likewise.
36321
36322 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36323
36324         * bits/types.h: Fold copyright years.
36325         * bits/typesizes.h: Likewise.
36326         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36327         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36330         * time/time.h: Likewise.
36331
36332 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36333
36334         [BZ #208]
36335         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36336         in instead of returning them.  Return void.
36337         (__libc_mallinfo): Accumulate over all arenas.
36338         (__malloc_stats): Adjust for change in int_mallinfo interface.
36339
36340 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36341
36342         [BZ #10375]
36343         * configure.in (NM): Add AC_CHECK_TOOL for it.
36344         (libc_extra_cflags): New substituted variable.
36345         Check for -fstack-protector being used implicitly.
36346         * configure: Regenerated.
36347         * config.make.in (config-extra-cflags): New variable,
36348         gets @libc_extra_cflags@.
36349         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36350
36351         [BZ #10375]
36352         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36353         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36354         * configure: Regenerated.
36355         * config.make.in (CPPUNDEFS): New substituted variable.
36356         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36357         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36358         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36359
36360 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36361
36362         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36363         (mq_attr): Use __syscall_slong_t.
36364
36365 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36366
36367         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36368         Check __x86_64__ instead of __WORDSIZE.
36369         (_STAT_VER_LINUX): Likewise.
36370         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36371         __syscall_ulong_t and __syscall_slong_t.
36372         (stat64): Likewise.
36373
36374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36375
36376         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36377
36378 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36379
36380         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36381
36382 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36383
36384         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36385         __syscall_ulong_t.
36386
36387         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36388         include <bits/wordsize.h>.  Check __x86_64__ instead of
36389         __WORDSIZE.
36390         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36391         defined.
36392         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36393
36394         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36395         include <bits/wordsize.h>.  Check __x86_64__ instead of
36396         __WORDSIZE.
36397         (user_regs_struct): Use "__extension__ unsigned long long"
36398         instead of "unsigned long" if __x86_64__ is defined.
36399         (user): Likewise.  Pad after pointer field if __ILP32__ is
36400         defined.
36401
36402 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36403
36404         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36405         versions 5 to 9.
36406         * configure: Regenerated.
36407         * manual/install.texi (texinfo): Increase version requirement to
36408         4.5 or later.
36409         * INSTALL: Regenerated.
36410
36411         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36412
36413 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36414
36415         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36416
36417         * sysdeps/x86_64/x32/ffs.c: New file.
36418
36419         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36420         __syscall_ulong_t.
36421         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36422         defined.  Use __syscall_ulong_t.
36423         (shminfo): Use __syscall_ulong_t.
36424         (shm_info): Likewise.
36425
36426         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36427         __syscall_ulong_t.
36428
36429         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36430         <bits/wordsize.h>.
36431         (msgqnum_t): Use __syscall_ulong_t.
36432         (msglen_t): Likewise.
36433         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36434         __syscall_ulong_t.
36435
36436         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36437         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36438
36439         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36440
36441         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36442         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36443
36444         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36445         __syscall_slong_t.
36446
36447         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36448         include <bits/wordsize.h>.  Check __x86_64__ instead of
36449         __WORDSIZE.
36450
36451         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36452         "unsigned long long int" if __x86_64__ is defined.
36453         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36454
36455         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36456         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36457         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36458
36459         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36460         <stdint.h>.
36461         (GET_PC): Cast to uintptr_t first.
36462         (GET_FRAME): Likewise.
36463         (GET_STACK): Likewise.
36464
36465         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36466         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36467         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36468         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36469         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36470         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36471         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36472         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36473         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36474         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36475         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36476         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36477         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36478         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36479         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36480         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36481         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36482         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36483         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36484         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36485         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36486         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36487         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36488         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36489         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36490         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36491         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36492         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36493         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36494
36495 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36496
36497         * Makerules (+depfiles): Also collect depfiles from .oS in
36498         $(extra-objs).
36499         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36500         .oS, $(libnldbl-routines)).
36501
36502         * Makerules (native-compile-mkdep-flags): Define.
36503         * sunrpc/Makefile (extra-objs): Add $(addprefix
36504         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36505         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36506         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36507         calling $(make-target-directory).
36508
36509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36510
36511         * bits/types.h (__snseconds_t): Removed.
36512         * time/time.h (struct timespec): Replace __snseconds_t with
36513         __syscall_slong_t.
36514         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36515         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36516         Likewise.
36517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36518         (__SNSECONDS_T_TYPE): Likewise.
36519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36520         (__SNSECONDS_T_TYPE): Likewise.
36521         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36522         (__SNSECONDS_T_TYPE): Likewise.
36523
36524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36525
36526         * sysdeps/mach/hurd/bits/typesizes.h
36527         (__SYSCALL_SLONG_TYPE): New macro.
36528         (__SYSCALL_ULONG_TYPE): Likewise.
36529
36530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36531
36532         * bits/types.h (__syscall_slong_t): New type.
36533         (__syscall_ulong_t): Likewise.
36534
36535         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36536         (__SYSCALL_ULONG_TYPE): Likewise.
36537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36538         (__SYSCALL_SLONG_TYPE): Likewise.
36539         (__SYSCALL_ULONG_TYPE): Likewise.
36540         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36541         (__SYSCALL_SLONG_TYPE): Likewise.
36542         (__SYSCALL_ULONG_TYPE): Likewise.
36543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36544         (__SYSCALL_SLONG_TYPE): Likewise.
36545         (__SYSCALL_ULONG_TYPE): Likewise.
36546
36547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36548
36549         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36550         Add sigaltstack-offsets.sym.
36551         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36552         <sigaltstack-offsets.h>.
36553         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36554         longjmp_msg pointer.
36555         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36556         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36557         signal stack.
36558         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36559
36560 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36561
36562         * elf/stackguard-macros.h: Remove file.
36563         * sysdeps/generic/stackguard-macros.h: New file.
36564         * sysdeps/i386/stackguard-macros.h: Likewise.
36565         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36566         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36567         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36568         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36569         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36570         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36571         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36572         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36573         <elf/stackguard-macros.h>.
36574
36575         [BZ #14109]
36576         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36577         __aligned__ in attribute.
36578         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36579         (gregset_t): Likewise.
36580
36581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36582
36583         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36584         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36585         * sysdeps/x86_64/x32/Implies-after: New file.
36586
36587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36588
36589         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36590         and access return value for _dl_profile_fixup.  Use R10_LP to
36591         load frame size.
36592
36593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36594
36595         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36596
36597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36598
36599         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36600         * sysdeps/x86_64/x32/sysdep.h: New file.
36601
36602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36603
36604         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36605         * sysdeps/x86_64/setjmp.S: Likewise.
36606
36607 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36608
36609         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36610         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36611         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36612         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36613         remove unused global constant.
36614
36615 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36616
36617         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36618         include of <not-cancel.h>.
36619
36620 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36621
36622         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36623
36624 2012-05-15  Jeff Law  <law@redhat.com>
36625             Andreas Jaeger  <aj@suse.de>
36626
36627         [BZ #13594]
36628         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36629         out from...
36630         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36631         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36632         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36633         code changing __hst_map_handle.map.
36634
36635 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36636
36637         * configure.in (sysnames): Look for Implies-before and Implies-after
36638         files.
36639         * configure: Regenerated.
36640
36641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36642
36643         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36644         8-byte data alignment with LP_SIZE alignment.
36645
36646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36647
36648         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36649         into R10_LP.
36650
36651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36652
36653         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36654
36655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36656
36657         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36658         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36659         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36660         Likewise.
36661         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36662
36663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36664
36665         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36666         (stackinfo_sub_sp): Likewise.
36667
36668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36669
36670         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36671         RAX_LP.
36672
36673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36674
36675         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36676         into R*_LP.
36677
36678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36679
36680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36681         sizes into R*_LP.
36682
36683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36684
36685         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36686
36687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36688
36689         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36690         into R11_LP and load __x86_64_shared_cache_size_half into
36691         R8_LP.
36692
36693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36694
36695         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36696         R8_LP.
36697
36698 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36699
36700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36701         logb for POWER7.
36702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36703         logbf for POWER7.
36704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36705         logbl for POWER7.
36706         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36707         powerpc32/power7/fpu/s_logb.c via #include.
36708         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36709         powerpc32/power7/fpu/s_logbf.c via #include.
36710         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36711         powerpc32/power7/fpu/s_logbl.c via #include.
36712
36713 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36714
36715         * README.libm: Remove file.
36716
36717 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36718
36719         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36720         count for x32.  Use R*_LP and omit operand-size suffix.
36721
36722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36723
36724         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36725         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36726         * sysdeps/x86_64/x32/shlib-versions: New file.
36727
36728 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36729
36730         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36731         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36732         Use _dl_fatal_printf instead.
36733
36734 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36735
36736         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36737         set if not set by the user.  Do not allow for being unset.
36738         * sysdeps/unix/sysv/linux/configure: Regenerated.
36739
36740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36741
36742         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36743         the `q' suffix from lea and replace .quad with ASM_ADDR.
36744
36745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36746
36747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36748         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36749         instead of $17.
36750         (PTR_DEMANGLE): Likewise.
36751
36752 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36753
36754         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36755         (LP_OP): Likewise.
36756         (ASM_ADDR): Likewise.
36757         (RAX_LP): Likewise.
36758         (RBP_LP): Likewise.
36759         (RBX_LP): Likewise.
36760         (RCX_LP): Likewise.
36761         (RDI_LP): Likewise.
36762         (RSI_LP): Likewise.
36763         (RSP_LP): Likewise.
36764         (R8_LP): Likewise.
36765         (R9_LP): Likewise.
36766         (R10_LP): Likewise.
36767         (R10_LP): Likewise.
36768         (R11_LP): Likewise.
36769         (R12_LP): Likewise.
36770         (R13_LP): Likewise.
36771         (R14_LP): Likewise.
36772         (R15_LP): Likewise.
36773
36774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36775
36776         * sysdeps/x86_64/x32/dl-machine.h: New file.
36777
36778 2012-05-14  Andreas Jaeger  <aj@suse.de>
36779
36780         * manual/Makefile (subdir): Remove export of subdir.
36781         (all): Remove target.
36782         (.PHONY): Remove all from list.
36783         (mkinstalldirs): Remove.
36784         (.PHONY): Remove installdirs from list.
36785         ($(inst_infodir)/libc.info): Use make-target-directory.
36786         (installdirs): Remove.
36787         (subdir_%): Remove.
36788         (glibc-targets): Remove.
36789         (lib): Remove.
36790         (stubs): Remove.
36791         ($(objpfx)stubs ../po/manual.pot): Remove.
36792         ($(objpfx)stamp%): Remove.
36793         (make-target-directory): Remove.
36794         (subdir_install): Remove.
36795         (routines): Remove.
36796         (aux): Remove.
36797         (sources): Remove.
36798         (objects): Remove.
36799         (headers): Remove.
36800
36801         [BZ #13750]
36802         * manual/.gitignore: Remove, it's not needed anymore.
36803         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36804         all files in it.
36805         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36806         directory.
36807         (texis): Renamed to $(objpfx)texis.
36808         (texis-path): New, contains path to generated files.
36809         (chapters.%): Use texis-path for complete path, add extra argument
36810         libc-texinfo.sh.
36811         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36812         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36813         (summary,texi, stamp-summary): Use complete path of
36814         files. Generate files in build dir.
36815         (dir-add.texi): Build in build dir.
36816         (libm-err.texi,stamp-libm-err): Likewise.
36817         (version.texi, stamp-version): Likewise.
36818         (.%c.texi): Likewise.
36819         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36820         (mostlyclean): Remove target.
36821         (realclean): Remove target.
36822         (generated): Add new variable with contents from mostlyclean and
36823         realclean, remove entries duplicated in common-mostlyclean, add
36824         stamp-libm-err and stamp-version.
36825         (generated-dirs): Add libc directory.
36826         ($(inst_infodir)/libc.info): Install files from build dir.
36827
36828         * manual/install.texi (Configuring and compiling): Adjust since
36829         the info files are not part of the tar ball anymore.
36830
36831 2012-05-14  Andreas Jaeger  <aj@suse.de>
36832
36833         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36834         variable.
36835
36836 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36837
36838         [BZ #13717]
36839         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36840         to 2.2.0 where earlier.
36841         * sysdeps/unix/sysv/linux/configure: Regenerated.
36842         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36843         Remove conditional code.
36844         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36845         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36846         Remove conditional code.
36847         [!__NR_lchown]: Likewise.
36848         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36849         [__NR_lchown]: Likewise.
36850         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36851         comment referencing __ASSUME_LCHOWN_SYSCALL.
36852         * sysdeps/unix/sysv/linux/i386/sigaction.c
36853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36855         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36856         Remove conditional code.
36857         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36858         (__protocol_available): Remove #if 0 code.
36859         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36860         conditional code.
36861         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36862         * sysdeps/unix/sysv/linux/kernel-features.h
36863         (__ASSUME_GETCWD_SYSCALL): Don't define.
36864         (__ASSUME_REALTIME_SIGNALS): Likewise.
36865         (__ASSUME_PREAD_SYSCALL): Likewise.
36866         (__ASSUME_PWRITE_SYSCALL): Likewise.
36867         (__ASSUME_POLL_SYSCALL): Likewise.
36868         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36869         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36870         non-SPARC.
36871         (__ASSUME_SIOCGIFNAME): Don't define.
36872         (__ASSUME_MSG_NOSIGNAL): Likewise.
36873         (__ASSUME_SENDFILE): Define unconditionally.
36874         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36875         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36876         conditional code.
36877         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36878         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36879         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36880         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36881         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36882         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36883         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36885         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36888         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36889         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36891         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36892         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36894         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36895         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36900         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36901         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36906         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36907         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36908         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36909         Remove conditional code.
36910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36911         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36912         Remove conditional code.
36913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36914         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36915         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36916         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36917         Remove conditional code.
36918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36919         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36920         Remove conditional code.
36921         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36922         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36923         Remove conditional code.
36924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36925         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36926         Remove conditional code.
36927         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36928         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36929         Remove conditional code.
36930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36931         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36932         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36933         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36934         * sysdeps/unix/sysv/linux/sigaction.c
36935         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36936         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36937         * sysdeps/unix/sysv/linux/sigpending.c
36938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36940         * sysdeps/unix/sysv/linux/sigprocmask.c
36941         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36942         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36943         * sysdeps/unix/sysv/linux/sigsuspend.c
36944         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36945         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36946         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36947         (__libc_missing_rt_sigs): Remove.
36948         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36949         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36950         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36951         Remove conditional code.
36952         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36953         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36954         return 1.
36955         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36956         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36957         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36958         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36959
36960 2012-05-14  Andreas Jaeger  <aj@suse.de>
36961
36962         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36963         it's not used in glibc.
36964         (__coshm1): Likewise.
36965         (__acosh1p): Likewise.
36966         (__sgn): Likewise.
36967
36968         * manual/string.texi (Copying and Concatenation): Add missing
36969         variable in concat example.
36970         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36971
36972 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36973
36974         [BZ #14103]
36975         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36976         __builtin_clzl with __builtin_clzll.
36977
36978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36979
36980         [BZ #14104]
36981         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36982         libc_freeres_ptr.
36983
36984 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36985
36986         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36987         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36988         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36989         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36990
36991 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36992
36993         * NEWS: Update ia64 info.
36994
36995 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36996
36997         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36998         used as bcopy.
36999
37000 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37001
37002         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37003         * sysdeps/unix/syscalls.list (dup3): Likewise.
37004         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37005         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37006
37007 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37008
37009         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37010         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37011
37012 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37013
37014         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37015         thread pointer.
37016         (TLS_IE): Use mov/add instead of movq/addq to load thread
37017         pointer.
37018         (TLS_GD_PREFIX): New.
37019         (TLS_GD): Use it.
37020
37021 2012-05-11  David S. Miller  <davem@davemloft.net>
37022
37023         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37024         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37025         (_FPU_SETCW): Likewise.
37026
37027 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37028
37029         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37030         is 32-byte aligned.
37031
37032 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37033
37034         [BZ #11837]
37035         * iconvdata/gb18030.c: Update tables.
37036         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37037         characters specially.
37038         (BODY for TO_LOOP): Add encoding of missing ranges.
37039
37040 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37041
37042         [BZ #13673]
37043         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37044         * sysdeps/mach/hurd/dup3.c: Likewise.
37045         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37046         * sysdeps/powerpc/memmove.c:: Likewise.
37047
37048 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37049
37050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37051         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37052
37053 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37054
37055         * elf/elf.h (R_X86_64_RELATIVE64): New.
37056         (R_X86_64_NUM): Updated.
37057         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37058         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37059         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37060         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37061         tst-quad1pie tst-quad2pie
37062         (modules-names): Add tst-quadmod1 tst-quadmod2.
37063         ($(objpfx)tst-quad1): New dependency.
37064         ($(objpfx)tst-quad2): Likewise.
37065         ($(objpfx)tst-quad1pie): Likewise.
37066         ($(objpfx)tst-quad2pie): Likewise.
37067         * sysdeps/x86_64/tst-quad1.c: New file.
37068         * sysdeps/x86_64/tst-quad1pie.c: New file.
37069         * sysdeps/x86_64/tst-quad2.c: Likewise.
37070         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37071         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37072         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37073         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37074         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37075
37076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37077
37078         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37079         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37080         * streams/stropts.h (t_scalar_t): Define type.
37081
37082         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37083         (_PATH_PRESERVE): Set to "/var/lib".
37084         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37085
37086         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37087         instead of int.
37088
37089         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37090         if __dir_mkfile succeeded.
37091
37092         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37093         checking for _hurd_dtablesize.  Unlock it right after having
37094         finished _hurd_dtable allocation.
37095
37096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37097
37098         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37099         * sysdeps/mach/hurd/configure: Regenerated.
37100         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37101         special-casing to...
37102         * sysdeps/gnu/configure.in: ... this new file.
37103         * sysdeps/unix/sysv/linux/configure: Regenerated.
37104         * sysdeps/gnu/configure: New generated file.
37105
37106         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37107         for Linux: use nsec instead of usec, as well as:
37108         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37109         members of type struct timespec.
37110         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37111         New macros.
37112         (struct stat64): Likewise.
37113         (_STATBUF_ST_NSEC): New macro.
37114         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37115
37116         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37117         __strtoul_internal rather than strtoul.
37118
37119 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37120
37121         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37122         and reject them.
37123
37124 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37125
37126         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37127         which preserves existing values.
37128         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37129
37130 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37131
37132         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37133         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37134         greater than FD_SETSIZE.
37135
37136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37137
37138         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37139         allocated, call __vm_protect to finish enabling the existing space, and
37140         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37141         allocate the remainder.
37142
37143 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37144
37145         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37146         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37147
37148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37149
37150         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37151         sysdeps/mach/hurd/readlink.c.
37152
37153         * posix/tst-sysconf.c (posix_options): Only use
37154         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37155         _POSIX_SYNCHRONIZED_IO when they are defined
37156         * sysdeps/mach/hurd/bits/posix_opt.h:
37157         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37158         (_XOPEN_REALTIME): Undefine macro.
37159         (_XOPEN_REALTIME_THREADS): Undefine macro.
37160         (_XOPEN_SHM): Undefine macro.
37161         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37162         macro to -1.
37163         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37164         macro to -1.
37165         (_POSIX_ASYNC_IO): Undefine macro.
37166         (_POSIX_PRIORITIZED_IO): Undefine macro.
37167         (_POSIX_SPIN_LOCKS): Define macro to -1.
37168
37169         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37170         SA_NODEFER, SA_RESETHAND.
37171         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37172         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37173         F_DUPFD_CLOEXEC.
37174
37175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37176
37177         * elf/Makefile (pldd-modules): Define unconditionally.
37178
37179 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37180
37181         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37182
37183 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37184
37185         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37186         Return ENOENT when name is empty.
37187         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37188
37189 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37190
37191         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37192
37193         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37194
37195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37196
37197         Fix mlock in all cases except non-readable pages.
37198         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37199         instead of VM_PROT_ALL as parameter to __vm_wire function.
37200
37201         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37202         (__mkdir): When path is `/', just fail with EEXIST.
37203         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37204
37205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37206
37207         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37208         <sys/uio.h> (for writev).
37209         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37210         and <sys/param.h> (for MIN).
37211
37212 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37213
37214         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37215         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37216         if interrupted.
37217
37218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37219
37220         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37221         Depend on against $(link-rpcuserlibs).
37222
37223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37224
37225         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37226         (__libc_stack_end): Do not use attribute_relro.
37227         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37228         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37229         to libthread-provided value.
37230         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37231         attribute_relro.
37232
37233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37234
37235         [BZ #3748]
37236         * bits/libc-lock.h (__libc_once_get): New macro.
37237         * sysdeps/mach/bits/libc-lock.h: Likewise.
37238         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37239         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37240         instead of using implementation details.
37241
37242         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37243         * libio/freopen.c: Likewise.
37244         * libio/freopen64.c: Likewise.
37245         * misc/syslog.c: Likewise.
37246         * nscd/connections.c: Likewise.
37247         * nscd/netgroupcache.c: Likewise.
37248         * sysdeps/posix/getcwd.c: Likewise.
37249
37250 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37251
37252         * math/w_ilogbf.c: Add #include <limits.h>.
37253
37254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37255
37256         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37257         path instead of returning without unlocking.
37258
37259         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37260         immediate-write ioctls.
37261         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37262
37263 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37264
37265         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37266         __builtin_frame_address instead of making assumptions about the
37267         location of the return address relative to DATA.  Force early load of
37268         the return address.
37269         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37270         __builtin_frame_address.
37271
37272         dup3 for GNU Hurd.
37273         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37274         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37275         implement dup3 and do some further code clean-ups.
37276         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37277         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37278
37279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37280
37281         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37282
37283         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37284         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37285         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37286         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37287         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37288         d->port.lock.
37289
37290         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37291         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37292         when handler == SIG_ERR, not when handler != SIG_ERR.
37293
37294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37295
37296         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37297         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37298         definitions.
37299
37300         accept4 for GNU Hurd.
37301         * include/sys/socket.h (__libc_accept4): New prototype.
37302         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37303         to implement __libc_accept4.
37304         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37305         __libc_accept4.
37306         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37307
37308         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37309         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37310         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37311         signal-defines.sym.
37312
37313 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37314
37315         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37316
37317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37318
37319         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37320         assertion on O_CLOEXEC flag.
37321         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37322         * hurd/intern-fd.c: Likewise.
37323         * hurd/port2fd.c: Likewise.
37324
37325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37326
37327         [BZ #3906]
37328         * bits/in.h (IPV6_PKTINFO): Define new macro.
37329         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37330
37331 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37332
37333         [BZ #13954]
37334         [BZ #13955]
37335         [BZ #13956]
37336         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37338         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37339         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37340         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37341         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37342         * math/libm-test.inc (logb_test) : Additional logb tests.
37343
37344 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37345             Andreas Jaeger  <aj@suse.de>
37346
37347         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37348         * configure: Regenerated.
37349         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37350         * config.make.in (link-obsolete-rpc): New substituted variable.
37351         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37352         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37353         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37354         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37355         so that libc.a contains the symbols.
37356         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37357         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37358         * sunrpc/auth_none.c: Likewise.
37359         * sunrpc/auth_unix.c: Likewise.
37360         * sunrpc/authdes_prot.c: Likewise.
37361         * sunrpc/authuxprot.c: Likewise.
37362         * sunrpc/clnt_gen.c: Likewise.
37363         * sunrpc/clnt_perr.c: Likewise.
37364         * sunrpc/clnt_raw.c: Likewise.
37365         * sunrpc/clnt_simp.c: Likewise.
37366         * sunrpc/clnt_tcp.c: Likewise.
37367         * sunrpc/clnt_udp.c: Likewise.
37368         * sunrpc/clnt_unix.c: Likewise.
37369         * sunrpc/des_crypt.c: Likewise.
37370         * sunrpc/des_soft.c: Likewise.
37371         * sunrpc/get_myaddr.c: Likewise.
37372         * sunrpc/key_call.c: Likewise.
37373         * sunrpc/key_prot.c: Likewise.
37374         * sunrpc/netname.c: Likewise.
37375         * sunrpc/pm_getmaps.c: Likewise.
37376         * sunrpc/pm_getport.c: Likewise.
37377         * sunrpc/pmap_clnt.c: Likewise.
37378         * sunrpc/pmap_prot.c: Likewise.
37379         * sunrpc/pmap_prot2.c: Likewise.
37380         * sunrpc/pmap_rmt.c: Likewise.
37381         * sunrpc/publickey.c: Likewise.
37382         * sunrpc/rpc_cmsg.c: Likewise.
37383         * sunrpc/rpc_common.c: Likewise.
37384         * sunrpc/rpc_dtable.c: Likewise.
37385         * sunrpc/rpc_prot.c: Likewise.
37386         * sunrpc/rpc_thread.c: Likewise.
37387         * sunrpc/rtime.c: Likewise.
37388         * sunrpc/svc.c: Likewise.
37389         * sunrpc/svc_auth.c: Likewise.
37390         * sunrpc/svc_raw.c: Likewise.
37391         * sunrpc/svc_run.c: Likewise.
37392         * sunrpc/svc_tcp.c: Likewise.
37393         * sunrpc/svc_udp.c: Likewise.
37394         * sunrpc/svc_unix.c: Likewise.
37395         * sunrpc/svcauth_des.c: Likewise.
37396         * sunrpc/xcrypt.c: Likewise.
37397         * sunrpc/xdr.c: Likewise.
37398         * sunrpc/xdr_array.c: Likewise.
37399         * sunrpc/xdr_float.c: Likewise.
37400         * sunrpc/xdr_intXX_t.c: Likewise.
37401         * sunrpc/xdr_mem.c: Likewise.
37402         * sunrpc/xdr_rec.c: Likewise.
37403         * sunrpc/xdr_ref.c: Likewise.
37404         * sunrpc/xdr_sizeof.c: Likewise.
37405         * sunrpc/xdr_stdio.c: Likewise.
37406
37407 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37408
37409         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37410         change.  Update copyright years.
37411
37412 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37413
37414         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37415
37416 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37417             Joseph Myers  <joseph@codesourcery.com>
37418             Paul Pluzhnikov  <ppluzhnikov@google.com>
37419
37420         [BZ #14012]
37421         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37422         requiring rpcgen.
37423         [cross-compiling] (extra-libs): Likewise.
37424         [cross-compiling] (extra-libs-others): Likewise.
37425         [cross-compiling] (librpcsvc-routines): Likewise.
37426         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37427         [cross-compiling] (omit-deps): Likewise.
37428         (sunrpc-CPPFLAGS): New variable.
37429         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37430         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37431         (cross-rpcgen-objs): New variable.
37432         (extra-objs): Append $(cross-rpcgen-objs).
37433         ($(cross-rpcgen-objs)): New rule.
37434         ($(objpfx)cross-rpcgen): Likewise.
37435         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37436         comment.
37437         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37438         ($(objpfx)x%.stmp): Likewise.
37439         * sunrpc/proto.h [IS_IN_build] (_): Define.
37440         [IS_IN_build] (_libc_intl_domainname): Likewise.
37441
37442 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37443
37444         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37445         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37446         and R_X86_64_TPOFF64.
37447
37448 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37449
37450         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37451         sysdeps/unix/sysv/syscalls.list.
37452         (stime): Likewise.
37453         (utime): Likewise.
37454         * sysdeps/unix/sysv/syscalls.list: Remove file.
37455
37456 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37457
37458         [BZ #3440]
37459         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37460         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37461         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37462         (__LC_IDENTIFICATION): Make these macros useful in #if
37463         expressions, as required by C99.
37464
37465 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37466
37467         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37468         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37469         after this.
37470
37471 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37472
37473         * stdlib/longlong.h: Updated from GCC.
37474
37475 2012-05-09  Andreas Jaeger  <aj@suse.de>
37476
37477         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37478         default is first entry.
37479         (run_mode): Set type.
37480         (main): Remove informal message about syslog.
37481         (options): Fix typo.
37482
37483         [BZ #14053]
37484         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37485         to asm.
37486         (lrint): Likewise.
37487         (llrintf): Likewise.
37488         (llrint): Likewise.
37489         (rint): Likewise.
37490         (rintf): Likewise.
37491         (nearbyint): Likewise.
37492         (nearbyintf): Likewise.
37493
37494 2012-05-09  Andreas Jaeger  <aj@suse.de>
37495             Pedro Alves  <palves@redhat.com>
37496
37497         * nscd/nscd.c (run_mode): Use enum.
37498         (main): Cleanup coding style issue.
37499
37500 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37501             Andreas Jaeger  <aj@suse.de>
37502
37503         * nscd/nscd.c (go_background): Replaced with...
37504         (run_mode): ... this.
37505         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37506         (options): Add -F --foreground.
37507         (main): Implement it.
37508         (parse_opt): Parse it.
37509
37510 2012-05-09  Andreas Jaeger  <aj@suse.de>
37511
37512         [BZ #14083]
37513         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37514         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37515         -Wconversion warning.
37516         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37517         Likewise.
37518
37519 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37520
37521         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37522         == 0.
37523         (LC_ALL): Use macro-int-constant.
37524         (LC_COLLATE): Likewise.
37525         (LC_CTYPE): Likewise.
37526         (LC_MESSAGES): Likewise.
37527         (LC_MONETARY): Likewise.
37528         (LC_NUMERIC): Likewise.
37529         (LC_TIME): Likewise.
37530         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37531         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37532         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37533         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37534         Specify type.
37535         [C99-based standards] (float_t): Expect type.
37536         [C99-based standards] (double_t): Expect type.
37537         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37538         type.
37539         [C99-based standards] (HUGE_VALL): Likewise.
37540         [C99-based standards] (INFINITY): Likewise.
37541         [C99-based standards] (NAN): Likewise.
37542         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37543         [C99-based standards] (FP_NAN): Likewise.
37544         [C99-based standards] (FP_NORMAL): Likewise.
37545         [C99-based standards] (FP_SUBNORMAL): Likewise.
37546         [C99-based standards] (FP_ZERO): Likewise.
37547         [C99-based standards] (FP_FAST_FMA): Use
37548         optional-macro-int-constant.  Specify type.  Require == 1.
37549         [C99-based standards] (FP_FAST_FMAF): Likewise.
37550         [C99-based standards] (FP_FAST_FMAL): Likewise.
37551         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37552         [C99-based standards] (FP_ILOGBNAN): Likewise.
37553         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37554         Specify type.
37555         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37556         [C99-based standards] (math_errhandling): Specify type.
37557         [ISO99 || ISO11] (signgam): Do not allow.
37558         [non-C99-based standards] (copysignf): Do not allow.
37559         [non-C99-based standards] (exp2f): Likewise.
37560         [non-C99-based standards] (log2f): Likewise.
37561         [non-C99-based standards] (modff): Allow.
37562         [non-C99-based standards] (erff): Do not allow.
37563         [non-C99-based standards] (erfcf): Likewise.
37564         [non-C99-based standards] (gammaf): Likewise.
37565         [non-C99-based standards] (hypotf): Likewise.
37566         [non-C99-based standards] (j0f): Likewise.
37567         [non-C99-based standards] (j1f): Likewise.
37568         [non-C99-based standards] (jnf): Likewise.
37569         [non-C99-based standards] (lgammaf): Likewise.
37570         [non-C99-based standards] (tgammaf): Likewise.
37571         [non-C99-based standards] (y0f): Likewise.
37572         [non-C99-based standards] (y1f): Likewise.
37573         [non-C99-based standards] (ynf): Likewise.
37574         [non-C99-based standards] (isnanf): Likewise.
37575         [non-C99-based standards] (acoshf): Likewise.
37576         [non-C99-based standards] (asinhf): Likewise.
37577         [non-C99-based standards] (atanhf): Likewise.
37578         [non-C99-based standards] (cbrtf): Likewise.
37579         [non-C99-based standards] (expm1f): Likewise.
37580         [non-C99-based standards] (ilogbf): Likewise.
37581         [non-C99-based standards] (log1pf): Likewise.
37582         [non-C99-based standards] (logbf): Likewise.
37583         [non-C99-based standards] (nextafterf): Likewise.
37584         [non-C99-based standards] (remainderf): Likewise.
37585         [non-C99-based standards] (rintf): Likewise.
37586         [non-C99-based standards] (scalbf): Likewise.
37587         [non-C99-based standards] (copysignl): Likewise.
37588         [non-C99-based standards] (exp2l): Likewise.
37589         [non-C99-based standards] (log2l): Likewise.
37590         [non-C99-based standards] (modfl): Allow.
37591         [non-C99-based standards] (erfl): Do not allow.
37592         [non-C99-based standards] (erfcl): Likewise.
37593         [non-C99-based standards] (gammal): Likewise.
37594         [non-C99-based standards] (hypotl): Likewise.
37595         [non-C99-based standards] (j0l): Likewise.
37596         [non-C99-based standards] (j1l): Likewise.
37597         [non-C99-based standards] (jnl): Likewise.
37598         [non-C99-based standards] (lgammal): Likewise.
37599         [non-C99-based standards] (tgammal): Likewise.
37600         [non-C99-based standards] (y0l): Likewise.
37601         [non-C99-based standards] (y1l): Likewise.
37602         [non-C99-based standards] (ynl): Likewise.
37603         [non-C99-based standards] (isnanl): Likewise.
37604         [non-C99-based standards] (acoshl): Likewise.
37605         [non-C99-based standards] (asinhl): Likewise.
37606         [non-C99-based standards] (atanhl): Likewise.
37607         [non-C99-based standards] (cbrtl): Likewise.
37608         [non-C99-based standards] (expm1l): Likewise.
37609         [non-C99-based standards] (ilogbl): Likewise.
37610         [non-C99-based standards] (log1pl): Likewise.
37611         [non-C99-based standards] (logbl): Likewise.
37612         [non-C99-based standards] (nextafterl): Likewise.
37613         [non-C99-based standards] (remainderl): Likewise.
37614         [non-C99-based standards] (rintl): Likewise.
37615         [non-C99-based standards] (scalbl): Likewise.
37616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37617         [non-C99-based standards] (FP_*): Do not allow.
37618         [C99-based standards] (FP_*): Change to
37619         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37620         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37621         allow.
37622         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37623         (SIG_ERR): Likewise.
37624         [X/Open-based standards] (SIG_HOLD): Likewise.
37625         (SIG_IGN): Likewise.
37626         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37627         positive value.
37628         (SIGFPE): Likewise.
37629         (SIGILL): Likewise.
37630         (SIGINT): Likewise.
37631         (SIGSEGV): Likewise.
37632         (SIGTER): Likewise.
37633         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37634         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37635         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37636         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37637         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37638         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37639         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37640         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37641         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37642         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37643         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37644         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37645         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37646         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37647         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37648         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37649         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37650         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37651         [X/Open-based standards] (SIGTRAP): Likewise.
37652         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37653         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37654         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37655         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37656         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37657         allow.
37658
37659 2012-05-08  Ian Wienand  <ianw@vmware.com>
37660
37661         [BZ #14080]
37662         * time/tzset.c (__tzset_parse_tz): Update default rules for
37663         daylight time changes in the Energy Policy Act of 2005.
37664
37665 2012-05-09  Andreas Jaeger  <aj@suse.de>
37666
37667         [BZ #13983]
37668         * elf/ldconfig.c (parse_conf): Change string to make clear that
37669         ldconfig only issued a warning if ld.so.conf does not exist.
37670
37671 2012-05-08  David S. Miller  <davem@davemloft.net>
37672
37673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37674         movxtod instead of popping the value on the stack.
37675
37676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37677
37678 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37679
37680         * config.h.in: Add HAVE_ARM_PCS_VFP.
37681
37682 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37683
37684         [BZ #13979]
37685         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37686         checking but the checks are disabled for any reason.
37687
37688 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37689
37690         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37691         and ELF64_R_TYPE with ELFW(R_TYPE).
37692
37693 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37694
37695         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37696         (ulimit): Likewise.
37697
37698         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37699         (settimeofday): Likewise.
37700
37701 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37702
37703         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37704         a struct th_u2 inside the union, and move tu_block/tu_code into
37705         a new th_u3 union of tu_block/tu_code inside of that.  Move
37706         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37707         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37708         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37709         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37710         (th_stuff): Change to th_u1.tu_stuff.
37711         (th_data): Define.
37712         (th_msg): Change to th_u1.th_u2.tu_data.
37713
37714 2012-05-07  David S. Miller  <davem@davemloft.net>
37715
37716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37717
37718         [BZ #14074]
37719         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37720         (SETUP_PIC_REG): Use it.
37721         (SETUP_PIC_REG_LEAF): Use it.
37722
37723 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37724
37725         [BZ #13885]
37726         [BZ #13923]
37727         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37728         USE_AS_EXPM1L.
37729         (EXPL_FINITE): Likewise.
37730         (FLDLOG): Likewise.
37731         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37732         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37733         e_expl.S.
37734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37735         USE_AS_EXPM1L.
37736         (EXPL_FINITE): Likewise.
37737         (FLDLOG): Likewise.
37738         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37739         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37740         e_expl.S.
37741         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37742         test of -max_value argument for long double.
37743         * sysdeps/i386/fpu/libm-test-ulps: Update.
37744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37745
37746 2012-05-06  David S. Miller  <davem@davemloft.net>
37747
37748         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37749         quad soft-float symbols whose references which are compiler
37750         generated.
37751         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37752
37753 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37754
37755         [BZ #13884]
37756         [BZ #13914]
37757         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37758         USE_AS_EXP10L.
37759         (EXPL_FINITE): Likewise.
37760         (FLDLOG): Likewise.
37761         (c0): Likewise.
37762         (c1): Likewise.
37763         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37764         Adjust comments for base varying.
37765         (__expl_finite): Change alias to EXPL_FINITE.
37766         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37767         e_expl.S.
37768         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37769         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37770         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37771         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37773         USE_AS_EXP10L.
37774         (EXPL_FINITE): Likewise.
37775         (FLDLOG): Likewise.
37776         (c0): Likewise.
37777         (c1): Likewise.
37778         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37779         Adjust comments for base varying.
37780         (__expl_finite): Change alias to EXPL_FINITE.
37781         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37782         tests for bugs.
37783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37784
37785         [BZ #14064]
37786         * math/libm-test.inc (check_float_internal): Correct ulp
37787         calculation for subnormal expected results.
37788
37789 2012-05-06  Andreas Jaeger  <aj@suse.de>
37790
37791         * Makeconfig (+math-flags): New, set to -frounding-math.
37792         (+cflags): Add +math-flags so that all of glibc gets compiled with
37793         it.
37794
37795         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37796
37797 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37798
37799         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37800         Disable one test.
37801
37802         [BZ #13787]
37803         [BZ #13922]
37804         [BZ #14036]
37805         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37806         (__ieee754_expl): Allow for and saturate large arguments.
37807         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37808         (u_threshold): Likewise.
37809         (__exp): Call __ieee754_exp before checking for overflow and
37810         underflow.
37811         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37812         (u_threshold): Likewise.
37813         (__expf): Call __ieee754_expf before checking for overflow and
37814         underflow.
37815         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37816         (u_threshold): Likewise.
37817         (__expl): Call __ieee754_expl before checking for overflow and
37818         underflow.
37819         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37820         (__ieee754_expl): Allow for and saturate large arguments.
37821         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37822         missing overflow exception on overflow.
37823         (expm1_test): Do not allow missing overflow exception on overflow.
37824
37825         * sysdeps/i386/fpu/e_expl.c: Move to ...
37826         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37827         rather than using inline asm.
37828         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37829         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37830         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37831
37832         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37833         (nice): Likewise.
37834         (poll): Likewise.
37835         (signal): Likewise.
37836         (time): Likewise.
37837         (times): Likewise.
37838
37839 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37840
37841         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37842         sysdeps/unix/common/syscalls.list.
37843         (fchmod): Likewise.
37844         (fchown): Likewise.
37845         (ftruncate): Likewise.
37846         (getrusage): Likewise.
37847         (gettimeofday): Likewise.
37848         (setpgid): Likewise.
37849         (setregid): Likewise.
37850         (setreuid): Likewise.
37851         (sigaction): Likewise.
37852         (truncate): Likewise.
37853         (vhangup): Likewise.
37854         * sysdeps/unix/common/syscalls.list: Remove file.
37855         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37856         * sysdeps/unix/sysv/linux/Implies: Likewise.
37857
37858 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37859
37860         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37862         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37863         Moved to ...
37864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37865         Here.
37866         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37867         to ...
37868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37869         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37870         to ...
37871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37872         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37873         to ...
37874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37875         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37876         to ...
37877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37878         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37879         to ...
37880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37881         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37882         to ...
37883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37884         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37885         to ...
37886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37887         Here.
37888         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37889         to ...
37890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37891         Here.
37892         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37893         to ...
37894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37895         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37896         Moved to ...
37897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37898         Here.
37899         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37900         to ...
37901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37902
37903 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37904
37905         * sysdeps/unix/common/bits/dirent.h: Remove file.
37906         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37907
37908         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37909         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37910         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37911         * sysdeps/unix/bsd/isatty.c: Likewise.
37912         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37913         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37914         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37915
37916 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37917
37918         [BZ #13563]
37919         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37920         long double comparison inaccuracies.
37921         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37923
37924 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37925
37926         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37927         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37928
37929 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37930
37931         [BZ #14049]
37932         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37933         nonzero digits before rounding a hex value.
37934         * stdlib/tst-strtod.c (tests): Add another test.
37935
37936 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37937
37938         * sysdeps/s390/fpu/libm-test-ulps: Update.
37939
37940 2012-05-03  Andreas Jaeger  <aj@suse.de>
37941
37942         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37943         does not get optimized out.
37944         (malloc_opt_barrier): New.
37945
37946 2012-05-03  Andreas Jaeger  <aj@suse.de>
37947             Roland McGrath  <roland@hack.frob.com>
37948
37949         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37950         intermediate file deletion.
37951         (generated): Add .symlist files.
37952
37953 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37954
37955         [BZ #13775]
37956         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37957         Redirect under this condition.
37958         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37959         [__USE_GNU] (__dprintf_chk): Not under this condition.
37960         [__USE_GNU] (__vdprintf_chk): Likewise.
37961         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37962         under this condition.
37963         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37964         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37965         [__USE_XOPEN2K8] (vdprintf): Likewise.
37966         [__USE_GNU] (__dprintf_chk): Not under this condition.
37967         [__USE_GNU] (__vdprintf_chk): Likewise.
37968         [__USE_GNU] (dprintf): Likewise.
37969         [__USE_GNU] (vdprintf): Likewise.
37970
37971 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37972
37973         * elf/Makefile (common-generated): Set this instead of generated for
37974         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37975         $(all-built-dso)-derived lists.
37976
37977 2012-05-03  Andreas Jaeger  <aj@suse.de>
37978
37979         * sysdeps/i386/fpu/libm-test-ulps: Update.
37980
37981         * FAQ: Removed.
37982         * FAQ.in: Likewise.
37983         * scripts/gen-FAQ.pl: Likewise.
37984         * manual/install.texi (Installation): Point to online location of
37985         FAQ.
37986         * Makefile (files-for-dist): Remove FAQ.
37987         (FAQ): Remove.
37988
37989 2012-05-02  Allan McRae  <allan@archlinux.org>
37990
37991         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37992         (LDFLAGS-reldepmod5.so): Likewise.
37993         (LDFLAGS-reldep6mod1.so): Likewise.
37994         (LDFLAGS-reldep6mod4.so): Likewise.
37995         (LDFLAGS-reldep8mod3.so): Likewise.
37996         (LDFLAGS-unload4mod1.so): Likewise.
37997         (LDFLAGS-unload4mod2.so): Likewise.
37998         (LDFLAGS-tst-initorder): Likewise.
37999         (LDFLAGS-tst-initordera2.so): Likewise.
38000         (LDFLAGS-tst-initordera3.so): Likewise.
38001         (LDFLAGS-tst-initordera4.so): Likewise.
38002         (LDFLAGS-tst-initorderb2.so): Likewise.
38003         (LDFLAGS-noload): Likewise.
38004         (LDFLAGS-next): Likewise.
38005         (LDFLAGS-order2mod1.so): Likewise.
38006         (LDFLAGS-order2mod2.so): Likewise.
38007         (LDFLAGS-tst-initorder2): Likewise.
38008         (LDFLAGS-tst-initorder2a.so): Likewise.
38009         (LDFLAGS-tst-initorder2b.so): Likewise.
38010         (LDFLAGS-tst-initorder2c.so): Likewise.
38011         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38012
38013 2012-05-02  David S. Miller  <davem@davemloft.net>
38014
38015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38016
38017 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38018
38019         [BZ #14055]
38020         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38021
38022 2012-05-02  Andreas Jaeger  <aj@suse.de>
38023
38024         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38025         since we manipulate rounding mode.
38026         (CPPFLAGS-test-idouble.c): Likewise.
38027         (CPPFLAGS-test-ifloat.c): Likewise.
38028         (CFLAGS-test-ldouble.c): Likewise.
38029         (CFLAGS-test-double.c): Likewise.
38030         (CFLAGS-test-float.c): Likewise.
38031         (CFLAGS-test-misc.c): Likewise.
38032         (CFLAGS-test-test-fenv.c): Likewise.
38033
38034 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38035
38036         [BZ #2550]
38037         [BZ #2570]
38038         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38039         comparisons to determine direction to adjust input.
38040
38041 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38042
38043         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38044         output to the target.
38045
38046         * scripts/localplt.awk: New file.
38047         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38048         (check-localplt-CFLAGS): Variable removed.
38049         ($(all-built-dso:=.jmprel)): New static pattern rule.
38050         (generated): Add those targets.
38051         (localplt-built-dso): New variable.
38052         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38053
38054         * elf/check-localplt.c: File removed.
38055
38056         * scripts/check-execstack.awk: New file.
38057         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38058         (check-execstack-CFLAGS): Variable removed.
38059         ($(objpfx)check-execstack.h): Target removed.
38060         ($(objpfx)execstack-default): New target.
38061         (generated): Add that instead of check-execstack.h.
38062         ($(all-built-dso:=.phdr)): New static pattern rule.
38063         (generated): Add those targets.
38064         * elf/check-execstack.c: File removed.
38065
38066         * scripts/check-textrel.awk: New file.
38067         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38068         (check-textrel-CFLAGS): Variable removed.
38069         (all-built-dso): Use := to define.o
38070         ($(all-built-dso:=.dyn)): New static pattern rule.
38071         (generated): Add those targets.
38072         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38073         * config.make.in (READELF): New substituted variable.
38074         * elf/check-textrel.c: File removed.
38075
38076 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38077
38078         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38079         allow.
38080         * conform/data/ctype.h-data [C99-based standards] (isblank):
38081         Expect function.
38082         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38083         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38084         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38085         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38086         Specify type.  Require positive value.
38087         (EILSEQ): Likewise.
38088         (ERANGE): Likewise.
38089         [ISO || POSIX] (EILSEQ): Do not expect.
38090         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38091         Specify type.  Require positive value.
38092         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38093         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38094         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38095         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38096         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38097         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38098         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38099         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38100         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38101         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38102         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38103         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38104         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38105         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38106         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38107         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38108         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38109         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38110         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38111         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38112         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38113         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38114         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38115         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38116         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38117         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38118         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38119         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38120         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38121         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38122         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38123         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38124         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38125         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38126         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38127         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38128         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38129         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38130         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38131         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38132         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38133         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38134         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38135         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38136         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38137         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38138         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38139         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38140         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38141         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38142         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38143         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38144         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38145         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38146         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38147         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38148         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38149         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38150         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38151         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38152         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38153         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38154         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38155         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38156         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38157         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38158         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38159         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38160         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38161         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38162         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38163         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38164         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38165         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38166         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38167         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38168         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38169         Require >= 2.
38170         (FLT_ROUNDS): Expect as macro, not constant.
38171         (FLT_MANT_DIG): Use macro-int-constant.
38172         (DBL_MANT_DIG): Likewise.
38173         (LDBL_MANT_DIG): Likewise.
38174         (FLT_DIG): Likewise.
38175         (DBL_DIG): Likewise.
38176         (LDBL_DIG): Likewise.
38177         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38178         (DBL_MIN_EXP): Likewise.
38179         (LDBL_MIN_EXP): Likewise.
38180         (FLT_MAX_EXP): Use macro-int-constant.
38181         (DBL_MAX_EXP): Likewise.
38182         (LDBL_MAX_EXP): Likewise.
38183         (FLT_MAX_10_EXP): Likewise.
38184         (DBL_MAX_10_EXP): Likewise.
38185         (LDBL_MAX_10_EXP): Likewise.
38186         (FLT_MAX): Use macro-constant.
38187         (DBL_MAX): Likewise.
38188         (LDBL_MAX): Likewise.
38189         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38190         (DBL_EPSILON): Likewise.
38191         (LDBL_EPSILON): Likewise.
38192         (FLT_MIN): Likewise.
38193         (DBL_MIN): Likewise.
38194         (LDBL_MIN): Likewise.
38195         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38196         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38197         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38198         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38199         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38200         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38201         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38202         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38203         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38204         [ISO11] (FLT_TRUE_MIN): Likewise.
38205         [ISO11] (LDBL_TRUE_MIN): Likewise.
38206         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38207         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38208         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38209         (SCHAR_MAX): Likewise.
38210         (UCHAR_MAX): Likewise.
38211         (CHAR_MIN): Likewise.
38212         (CHAR_MAX): Likewise.
38213         (MB_LEN_MAX): Use macro-int-constant.
38214         (SHRT_MIN): Use macro-int-constant.  Specify type.
38215         (SHRT_MAX): Likewise.
38216         (USHRT_MAX): Likewise.
38217         (INT_MAX): Likewise.
38218         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38219         bound negative.
38220         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38221         bound with "U".
38222         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38223         bound with "L".
38224         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38225         bound negative.  Suffix upper bound with "L".
38226         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38227         bound with "UL".
38228         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38229         Specify type.
38230         [C99-based standards] (LLONG_MAX): Likewise.
38231         [C99-based standards] (ULLONG_MAX): Likewise.
38232         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38233         == 0.
38234         [ISO11] (max_align_t): Require type.
38235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38236
38237         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38238         from $CFLAGS, without defining away __attribute__ calls.
38239         (checknamespace): Use $CFLAGS_namespace.
38240
38241         * conform/conformtest.pl (@keywords): Only include C99 keywords
38242         for standards based on C99 or C11.
38243
38244         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38245         Disable tests.
38246         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38247         UNIX98]: Likewise.
38248
38249         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38250         usability of symbols in #if.
38251
38252         * conform/conformtest.pl: If macro or constant types start
38253         "promoted:", expect the symbol to be of the following type
38254         promoted by the integer promotions.
38255
38256         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38257         in one place.  Also handle "macro-constant".
38258
38259         * conform/conformtest.pl: Only accept expected macro values with
38260         "==".  Parse all "macro" lines in one place.
38261         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38262
38263         * conform/conformtest.pl: Handle braced types on "constant" lines
38264         instead of handling "typed-constant".
38265         * conform/data/signal.h-data: Use "constant" instead of
38266         "typed-constant".
38267
38268         * conform/conformtest.pl: Handle "optional-" at start of lines in
38269         one place rather than duplicating several cases.  Handle each
38270         format of "macro" line with initial "optional-".
38271
38272         * conform/conformtest.pl: Only accept expected constant or
38273         optional-constant values with "==".  Parse all "constant" lines in
38274         one place.  Parse all "optional-constant" lines in one place.
38275         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38276         * conform/data/fmtmsg.h-data: Likewise.
38277         * conform/data/netinet/in.h-data: Likewise.
38278         * conform/data/tar.h-data: Likewise.
38279         * conform/data/limits.h-data: Use "==" form on "constant" and
38280         "optional-constant" lines.
38281
38282         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38283         Use -std=c99 for XOPEN2K.
38284         (@knownproblems): Remove.
38285         (newtoken): Don't check %isknown.
38286
38287         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38288         Do not expect macro.
38289         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38290         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38291         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38292         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38293         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38294         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38295         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38296         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38297         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38298         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38299         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38300         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38301         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38302         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38303         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38304         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38305         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38306         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38307         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38308         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38309         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38310         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38311         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38312         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38313         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38314         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38315         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38316         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38317         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38318         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38319         [XPG3] (acosh): Likewise.
38320         [XPG3] (asinh): Likewise.
38321         [XPG3] (atanh): Likewise.
38322         [XPG3] (cbrt): Likewise.
38323         [XPG3] (expm1): Likewise.
38324         [XPG3] (ilogb): Likewise.
38325         [XPG3] (log1p): Likewise.
38326         [XPG3] (logb): Likewise.
38327         [XPG3] (nextafter): Likewise.
38328         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38329         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38330         [XPG3] (remainder): Likewise.
38331         [XPG3] (rint): Likewise.
38332         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38333         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38334         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38335         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38336         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38337         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38338         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38339         [UNIX98 || XOPEN2K] (scalb): Expect.
38340         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38341         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38342         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38343         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38344         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38345         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38346         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38347         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38348         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38349         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38350         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38351         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38352         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38353         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38354         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38355         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38356         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38357         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38358         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38359         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38360         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38361         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38362         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38363         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38364         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38365         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38366         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38367         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38368         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38369         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38370         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38371         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38372         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38373         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38374         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38375         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38376         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38377         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38378         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38379         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38380         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38381         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38382         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38383         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38384         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38385         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38386         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38387         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38388         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38389         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38390         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38391         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38392         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38393         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38394         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38395         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38396         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38397         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38398         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38399         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38400         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38401         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38402         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38403         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38404         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38405         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38406         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38407         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38408         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38409         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38410         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38411         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38412         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38413         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38414         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38415         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38416         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38417         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38418         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38419         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38420         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38421         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38422         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38423         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38424         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38425         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38426         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38427         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38428         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38429         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38430         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38431         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38432         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38433         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38434         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38435         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38436         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38437         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38438         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38439         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38440         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38441         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38442         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38443         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38444         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38445         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38446         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38447         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38448         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38449         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38450         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38451         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38452         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38453         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38454         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38455         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38456         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38457         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38458         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38459         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38460         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38461         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38462         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38463         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38464         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38465         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38466         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38467         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38468         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38469         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38470         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38471         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38472         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38473         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38474         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38475         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38476         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38477
38478         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38479         _XOPEN_SOURCE_EXTENDED for XPG4.
38480
38481         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38482
38483         * Makeconfig (localtime): Remove variable.
38484         (inst_localtime-file): Likewise.
38485
38486 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38487
38488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38489         Update.
38490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38491         Update.
38492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38493         Update.
38494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38495         Update.
38496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38497         Update.
38498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38499         Update.
38500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38501         Update.
38502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38503         Update.
38504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38505         Update.
38506
38507 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38508
38509         [BZ #2550]
38510         [BZ #2570]
38511         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38512         comparisons to determine direction to adjust input.
38513         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38514         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38516         Likewise.
38517         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38518         Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38520         Likewise.
38521         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38522         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38523         Likewise.
38524         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38525         Likewise.
38526         * math/libm-test.inc (nexttoward_test): Add more tests.
38527
38528 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38529
38530         [BZ #14040]
38531         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38532         in version GLIBC_2.1, not GLIBC_2.0.
38533         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38534         Likewise.
38535
38536 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38537
38538         [BZ #13942]
38539         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38540         (1 - x) * (1 + x).
38541         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38542         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38543         * math/libm-test.inc (acos_test): Add more tests.
38544         (asin_test): Likewise.
38545         * sysdeps/i386/fpu/libm-test-ulps: Update.
38546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38547
38548         [BZ #14034]
38549         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38550         of square root.
38551         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38552         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38553         * math/libm-test.inc (acos_test_tonearest): New function.
38554         (acos_test_towardzero): Likewise.
38555         (acos_test_downward): Likewise.
38556         (acos_test_upward): Likewise.
38557         (asin_test_tonearest): Likewise.
38558         (asin_test_towardzero): Likewise.
38559         (asin_test_downward): Likewise.
38560         (asin_test_upward): Likewise.
38561         (main): Call the new functions.
38562         * sysdeps/i386/fpu/libm-test-ulps: Update.
38563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38564
38565         [BZ #13884]
38566         [BZ #13924]
38567         * math/e_exp10.c: Include <float.h>.
38568         (__ieee754_exp10): Handle underflow here rather than multiplying
38569         large negative argument by M_LN10.
38570         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38571         of __ieee754_expf.
38572         * math/e_exp10l.c: Include <float.h>.
38573         (__ieee754_exp10l): Handle underflow here rather than multiplying
38574         large negative argument by M_LN10l.
38575         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38576         spurious overflow exception on underflow.
38577
38578 2012-04-29  Marek Polacek  <polacek@redhat.com>
38579
38580         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38581         (__fortify_function): New macro.
38582         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38583         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38584         __extern_always_inline.
38585         * libio/bits/stdio2.h: Likewise.
38586         * libio/bits/stdio.h: Likewise.
38587         * string/string.h: Likewise.
38588         * string/bits/string3.h: Likewise.
38589         * include/stdio.h: Likewise.
38590         * stdlib/bits/stdlib.h: Likewise.
38591         * stdlib/stdlib.h: Likewise.
38592         * rt/bits/mqueue2.h: Likewise.
38593         * rt/mqueue.h: Likewise.
38594         * posix/bits/unistd.h: Likewise.
38595         * posix/unistd.h: Likewise.
38596         * io/bits/poll2.h: Likewise.
38597         * io/bits/fcntl2.h: Likewise.
38598         * io/fcntl.h: Likewise.
38599         * io/sys/poll.h: Likewise.
38600         * misc/bits/syslog.h: Likewise.
38601         * misc/bits/syslog-ldbl.h: Likewise.
38602         * misc/sys/syslog.h: Likewise.
38603         * socket/bits/socket2.h: Likewise.
38604         * socket/sys/socket.h: Likewise.
38605         * debug/tst-chk1.c: Likewise.
38606         * wcsmbs/bits/wchar2.h: Likewise.
38607         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38608         * wcsmbs/wchar.h: Likewise.
38609
38610 2012-04-29  Andreas Jaeger  <aj@suse.de>
38611
38612         * Makerules (tests): Remove enable-check-abi protection.
38613         (check-abi-warn): Remove.
38614         (check-abi-%): Remove check-abi-warn usage.
38615
38616         * configure.in: Remove check-abi configure option.
38617         * configure: Regenerated.
38618         * config.make.in (enable-check-abi): Remove.
38619
38620 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38621
38622         [BZ #14033]
38623         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38624         double functions to double *_finite functions.
38625
38626         [BZ #13941]
38627         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38628         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38629         LDBL_MIN_EXP.
38630         * stdio-common/Makefile (tests): Add tst-sprintf3.
38631         * stdio-common/tst-sprintf3.c: New file.
38632
38633         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38634         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38635
38636 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38637
38638         * conform/conformtest.pl: Remove duplicate typed-constant
38639         handling.
38640
38641 2012-04-28  David S. Miller  <davem@davemloft.net>
38642
38643         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38644         (check-abi-%): Remove AWK script prerequisite and explicit
38645         abilist directory.
38646         (check-abi): Rewrite to just diff the symlist with the abilist.
38647         (config-tls, config-abi-config): Delete, no longer used.
38648         (update-abi-%): Remove AWK script and explicit abilist directory.
38649         (update-abi): Rewrite to simply compare and conditionally copy the
38650         symlist and the sysdep abilist file.  Remove update-abi-config
38651         checks.
38652         * abilist/ld.abilist: Remove.
38653         * abilist/libBrokenLocale.abilist: Remove.
38654         * abilist/libanl.abilist: Remove.
38655         * abilist/libcrypt.abilist: Remove.
38656         * abilist/libdl.abilist: Remove.
38657         * abilist/librt.abilist: Remove.
38658         * abilist/libthread_db.abilist: Remove.
38659         * abilist/libutil.abilist: Remove.
38660         * scripts/extract-abilist.awk: Remove.
38661         * scripts/merge-abilist.awk: Remove.
38662         * sysdeps/generic/libcidn.abilist: New file.
38663         * sysdeps/generic/libnss_compat.abilist: New file.
38664         * sysdeps/generic/libnss_db.abilist: New file.
38665         * sysdeps/generic/libnss_dns.abilist: New file.
38666         * sysdeps/generic/libnss_files.abilist: New file.
38667         * sysdeps/generic/libnss_hesiod.abilist: New file.
38668         * sysdeps/generic/libnss_nis.abilist: New file.
38669         * sysdeps/generic/libnss_nisplus.abilist: New file.
38670         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38671         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38672         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38673         file.
38674         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38675         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38676         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38677         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38678         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38679         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38680         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38681         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38682         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38683         file.
38684         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38685         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38686         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38687         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38688         file.
38689         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38690         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38691         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38692         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38693         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38694         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38695         file.
38696         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38697         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38698         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38699         file.
38700         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38702         New file.
38703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38704         New file.
38705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38706         New file.
38707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38708         New file.
38709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38710         New file.
38711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38712         New file.
38713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38714         New file.
38715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38716         New file.
38717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38718         New file.
38719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38720         New file.
38721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38722         New file.
38723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38724         New file.
38725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38726         New file.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38728         file.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38730         New file.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38732         New file.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38734         file.
38735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38736         New file.
38737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38738         New file.
38739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38740         file.
38741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38742         New file.
38743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38744         New file.
38745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38746         New file.
38747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38748         New file.
38749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38750         New file.
38751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38752         New file.
38753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38755         file.
38756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38757         New file.
38758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38759         file.
38760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38761         file.
38762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38763         file.
38764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38765         file.
38766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38767         file.
38768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38769         New file.
38770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38771         file.
38772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38773         file.
38774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38775         New file.
38776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38777         file.
38778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38780         file.
38781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38782         New file.
38783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38784         file.
38785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38786         file.
38787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38788         file.
38789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38790         file.
38791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38792         file.
38793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38794         New file.
38795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38796         file.
38797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38798         file.
38799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38800         New file.
38801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38802         file.
38803         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38804         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38805         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38806         file.
38807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38808         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38809         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38810         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38811         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38812         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38813         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38814         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38815         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38816         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38819         file.
38820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38821         New file.
38822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38823         file.
38824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38825         file.
38826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38827         file.
38828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38829         file.
38830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38831         file.
38832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38833         New file.
38834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38835         New file.
38836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38837         file.
38838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38839         New file.
38840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38841         file.
38842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38844         file.
38845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38846         New file.
38847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38848         file.
38849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38850         file.
38851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38852         file.
38853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38854         file.
38855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38856         file.
38857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38858         New file.
38859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38860         New file.
38861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38862         file.
38863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38864         New file.
38865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38866         file.
38867
38868 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38869
38870         * conform/conformtest.pl: Fix typo in handling typed-constant from
38871         allow-header.
38872
38873 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38874
38875         * README: Cut down references to pre-2.6 Linux kernels and
38876         Linuxthreads.  Update lists of configurations in libc and ports
38877         and sort alphabetically.  Say "or newer" with Linux kernel version
38878         requirements.
38879
38880         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38881
38882 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38883
38884         [BZ #887]
38885         * math/libm-test.inc (logb_test_downward): New test to expose
38886         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38887         rounding mode.
38888
38889 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38890
38891         [BZ #14027]
38892         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38893         to be done.
38894         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38895         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38896
38897 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38898
38899         * sysdeps/unix/i386/brk.S: Remove file.
38900         * sysdeps/unix/i386/dl-brk.S: Likewise.
38901         * sysdeps/unix/i386/pipe.S: Likewise.
38902         * sysdeps/unix/i386/sigreturn.S: Likewise.
38903         * sysdeps/unix/i386/syscall.S: Likewise.
38904         * sysdeps/unix/i386/vfork.S: Likewise.
38905         * sysdeps/unix/i386/wait.S: Likewise.
38906
38907         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38908         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38909
38910         * configure.in (arm*-none*): Do not allow without
38911         --enable-hacker-mode.
38912         (netbsd*): Remove case setting base_os.
38913         (386bsd*): Likewise.
38914         (freebsd*): Likewise.
38915         (bsdi*): Likewise.
38916         (osf*): Likewise.
38917         (sunos*): Likewise.
38918         (ultrix*): Likewise.
38919         (newsos*): Likewise.
38920         (dynix*): Likewise.
38921         (*bsd*): Likewise.
38922         (sysv*): Likewise.
38923         (isc*): Likewise.
38924         (esix*): Likewise.
38925         (sco*): Likewise.
38926         (minix*): Likewise.
38927         (irix4*): Likewise.
38928         (irix6*): Likewise.
38929         (solaris[2-9]*): Likewise.
38930         (none): Likewise.
38931         * configure: Regenerated.
38932
38933 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38934
38935         [BZ #11521]
38936         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38937         overflow or cancellation in calculating denominator.
38938         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38940         down expression to avoid unexpected rounding in newer GCCs.
38941         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38942
38943 2012-04-26  David S. Miller  <davem@davemloft.net>
38944
38945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38946         long-double compat symbols.
38947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38960
38961 2012-04-25  David S. Miller  <davem@davemloft.net>
38962
38963         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38964         HWCAP_* values only after the memory barriers have been defined.
38965         (atomic_full_barrier): Define.
38966         (atomic_read_barrier): Define.
38967         (atomic_write_barrier): Define.
38968
38969 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38970
38971         * shlib-versions: Add libgcc_s version information.
38972         * sysdeps/generic/libgcc_s.h: Remove.
38973         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38974         libgcc_s.h.
38975         * sysdeps/gnu/unwind-resume.c: Likewise.
38976         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38977
38978 2012-04-25  David S. Miller  <davem@davemloft.net>
38979
38980         * sysdeps/unix/sparc/brk.S: Delete.
38981         * sysdeps/unix/sparc/dl-brk.S: Delete.
38982         * sysdeps/unix/sparc/pipe.S: Delete.
38983         * sysdeps/unix/sparc/sysdep.S: Delete.
38984         * sysdeps/unix/sparc/sysdep.h: Delete.
38985         * sysdeps/unix/sparc/vfork.S: Delete.
38986         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38987         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38988         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38989         (ret_ERRVAL, r0, r1, MOVE): Define.
38990         (JUMPTARGET): Remove.
38991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38992         sysdeps/unix/sparc/sysdep.h
38993         (ENTRY, END): Remove.
38994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38995
38996 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38997
38998         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38999         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39000         -DIS_IN_build.
39001
39002         * timezone/README: Update upstream location and email address for
39003         tzcode and tzdata.
39004         * timezone/zdump.c: Update from tzcode 2012b.
39005         * timezone/zic.c: Likewise.
39006
39007         * configure.in (libc_cv_as_needed): Remove test.
39008         * configure: Regenerated.
39009         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39010         conditional definition.
39011         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39012         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39013         * config.make.in (have-as-needed): Remove variable.
39014
39015 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39016             Paul Pluzhnikov  <ppluzhnikov@google.com>
39017
39018         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39019         strings correctly.
39020
39021 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39022
39023         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39024         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39025         * sysdeps/sh/strlen.S: Likewise.
39026
39027 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39028
39029         * sysdeps/unix/fork.S: Remove file.
39030         * sysdeps/unix/i386/fork.S: Likewise.
39031         * sysdeps/unix/sparc/fork.S: Likewise.
39032
39033         * sysdeps/unix/system.c: Remove file.
39034         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39035
39036         * sysdeps/unix/getegid.S: Remove file.
39037         * sysdeps/unix/geteuid.S: Likewise.
39038
39039 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39040
39041         * scripts/check-localplt.awk: New file.
39042         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39043         of diff.
39044         * scripts/data/localplt-generic.data: Add a comment.
39045
39046         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39047         NODE when __dir_mkfile failed.
39048         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39049         Reported by Ludovic Courtès <ludo@gnu.org>.
39050
39051 2012-04-24  Andreas Jaeger  <aj@suse.de>
39052
39053         * Makerules (common-clean): Also remove gen-as-const-headers
39054         files.
39055
39056 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39057
39058         * Makerules (native-compile): Do not change working directory for
39059         build.  Use $(OUTPUT_OPTION) in command.
39060         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39061
39062 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39063
39064         [BZ #13886]
39065         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39066         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39067         * math/libm-test.inc (floor_test): Add more tests.
39068         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39069
39070 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39071
39072         * sysdeps/unix/getdents.c: Remove file.
39073         * sysdeps/unix/sysv/getdents.c: Likewise.
39074         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39075
39076         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39077         sysdeps/unix/mman/syscalls.list.
39078         (mmap): Likewise.
39079         (mprotect): Likewise.
39080         (msync): Likewise.
39081         (munmap): Likewise.
39082         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39083         * sysdeps/unix/mman/syscalls.list: Remove.
39084         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39085
39086         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39087         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39088         * configure: Regenerated.
39089         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39090         $(libgcc_s_suffix).
39091         * config.make.in (libgcc_s_suffix): Remove variable.
39092
39093 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39094
39095         * sysdeps/unix/sysv/gethostname.c: Move to ...
39096         * sysdeps/posix/gethostname.c: ... here.
39097
39098         * sysdeps/unix/execve.S: Remove file.
39099
39100         * sysdeps/unix/_exit.S: Remove file.
39101
39102 2012-04-23  Andreas Jaeger  <aj@suse.de>
39103
39104         [BZ #13739]
39105         * manual/Makefile: Remove make dist support, there's no
39106         need for a stand-alone documentation tar ball.
39107         (TEXI2DVI): Define always, it's not in Makeconfig.
39108         (dist): Removed.
39109         (tar-it): Removed.
39110         (edition): Removed.
39111         (glibc-doc-$(edition).tar): Removed
39112         (%.Z): Removed.
39113         (%.gz): Removed.
39114         (%.uu): Removed.
39115         (ETAGS): Remove, it's in Makeconfig.
39116         (move-if-change): Remove, it's in Makeconfig.
39117
39118 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39119
39120         [BZ #13970]
39121         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39122         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39123         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39124         (strtod_l, strtof_l, strtold_l): Remove __wur.
39125         It is not necessarily an error to ignore strtol's return value.
39126         One can reliably look at the stored endptr to decide whether
39127         the number had valid syntax.
39128
39129 2012-04-21  Andreas Jaeger  <aj@suse.de>
39130
39131         [BZ #13739]
39132         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39133
39134 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39135
39136         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39137         * sysdeps/unix/sysv/Versions: Remove file.
39138
39139 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39140
39141         [BZ #13927]
39142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39143
39144 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39145
39146         [BZ #7064]
39147         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39148         version from __vm86.
39149
39150 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39151
39152         * sysdeps/unix/common/lxstat.c: Remove file.
39153         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39154
39155         * sysdeps/unix/sysv/Makefile: Remove file.
39156
39157         * sysdeps/unix/sysv/direct.h: Remove file.
39158
39159         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39160         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39161         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39162         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39163         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39164         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39165         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39166
39167         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39168
39169         * sysdeps/unix/xmknod.c: Remove file.
39170         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39171
39172         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39173
39174         * sysdeps/unix/sysv/i386/time.S: Remove file.
39175
39176         * sysdeps/unix/fxstat.c: Remove file.
39177         * sysdeps/unix/xstat.c: Likewise.
39178         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39179
39180         * sysdeps/unix/sysv/sigaction.c: Remove file.
39181
39182         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39183         (sysdep_headers): Remove variable.
39184         [termio.h not in sysdep_headers] (generated): Likewise.
39185         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39186         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39187         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39188         * sysdeps/unix/sysv/tcflow.c: Likewise.
39189         * sysdeps/unix/sysv/tcflush.c: Likewise.
39190         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39191         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39192         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39193         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39194         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39195
39196         * sysdeps/unix/siglist.c: Remove file.
39197
39198         * sysdeps/unix/getppid.S: Remove file.
39199
39200         * sysdeps/unix/mkdir.c: Remove file.
39201         * sysdeps/unix/rmdir.c: Likewise.
39202
39203 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39204
39205         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39206         ERR_MAX value.
39207         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39208         errlist-compat value.
39209
39210 2012-04-18  David S. Miller  <davem@davemloft.net>
39211
39212         * sysdeps/generic/memcopy.h (reg_char): Delete.
39213         * debug/strcat_chk.c: Use char, not reg_char.
39214         * debug/strcpy_chk.c: Likewise.
39215         * debug/strncat_chk.c: Likewise.
39216         * debug/strncpy_chk.c: Likewise.
39217         * string/memchr.c: Likewise.
39218         * string/memrchr.c: Likewise.
39219         * string/rawmemchr.c: Likewise.
39220         * string/strcat.c: Likewise.
39221         * string/strchr.c: Likewise.
39222         * string/strchrnul.c: Likewise.
39223         * string/strcmp.c: Likewise.
39224         * string/strcpy.c: Likewise.
39225         * string/strncat.c: Likewise.
39226         * string/strncmp.c: Likewise.
39227         * string/strncpy.c: Likewise.
39228
39229 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39230
39231         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39232         __builtin_memcopy is called when src and dest ranges are known to not
39233         overlap.
39234
39235 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39236
39237         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39238         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39239         fwd_align_merge macro call.
39240         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39241         bwd_align_merge macro call.
39242         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39243
39244 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39245
39246         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39247         bwd_align_merge macros.
39248         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39249         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39250         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39251
39252 2012-04-18  David S. Miller  <davem@davemloft.net>
39253
39254         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39255
39256 2012-04-18  Andreas Jaeger  <aj@suse.de>
39257
39258         [BZ# 6794]
39259         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39260         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39261         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39262
39263         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39264         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39265         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39266
39267         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39268         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39269         Adjust for changed ldbl-128 files.
39270
39271         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39272         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39273         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39274
39275 2012-04-17  David S. Miller  <davem@davemloft.net>
39276
39277         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39278
39279 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39280
39281         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39282         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39283         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39284         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39285         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39286         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39287
39288 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39289
39290         [BZ #6794]
39291         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39292         * math/libm-test.inc: Add ilogb errno and exception tests.
39293         * math/w_ilogb.c: New file: ilogb wrapper.
39294         * math/w_ilogbf.c: New file: ilogbf wrapper.
39295         * math/w_ilogbl.c: New file: ilogbl wrapper.
39296         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39297         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39298         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39299         exception being thrown with 0.0 as argument.
39300         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39301         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39302         exception being thrown with 0.0 as argument.
39303         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39304         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39305         exception being thrown with 0.0 as argument.
39306         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39307         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39308         exception being thrown with 0.0 as argument.
39309         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39310         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39311         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39312         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39313         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39314         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39315         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39316         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39317         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39318
39319 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39320
39321         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39322         with altivec.
39323
39324 2012-04-16  Marek Polacek  <polacek@redhat.com>
39325
39326         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39327
39328 2012-04-16  Marek Polacek  <polacek@redhat.com>
39329
39330         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39331         operands of fdivp instruction.
39332
39333 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39334
39335         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39336         * elf/tst-auditmod3b.c: Likewise.
39337         * elf/tst-auditmod4b.c: Likewise.
39338         * elf/tst-auditmod5b.c: Likewise.
39339         * elf/tst-auditmod6b.c: Likewise.
39340         * elf/tst-auditmod6c.c: Likewise.
39341         * elf/tst-auditmod7b.c: Likewise.
39342         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39343         * sysdeps/x86_64/preconfigure.in: Likewise.
39344         * sysdeps/x86_64/preconfigure: Regenerated.
39345
39346 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39347
39348         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39349         __ILP32__.
39350
39351 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39352
39353         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39354         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39355
39356 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39357
39358         [BZ #13973]
39359         * locale/iso-639.def: Fix gl language name. Spotted by
39360         Yaron Shahrabani.
39361
39362 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39363
39364         [BZ #2074]
39365         * libio/libio.h (__io_write_fn): Update comment.
39366
39367 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39368
39369         [BZ #2074]
39370         * stdio.texi (Hook Functions): The user provided writer function
39371         is not allowed to return -1.
39372
39373 2012-04-11  David S. Miller  <davem@davemloft.net>
39374
39375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39376
39377 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39378
39379         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39380         Add a leading slash to rtkaio.
39381
39382 2012-04-11  Jim Meyering  <meyering@redhat.com>
39383
39384         [BZ #11959]
39385         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39386         It is not necessarily an error to ignore fwrite's return
39387         value.  One can reliably use ferror to test for errors after
39388         the fact.
39389
39390 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39391
39392         * bits/types.h (__snseconds_t): New type.
39393         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39394
39395         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39396         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39397         (__SNSECONDS_T_TYPE): Likewise.
39398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39399         (__SNSECONDS_T_TYPE): Likewise.
39400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39401         (__SNSECONDS_T_TYPE): Likewise.
39402
39403 2012-04-10  Andreas Jaeger  <aj@suse.de>
39404
39405         [BZ #2636]
39406         * manual/time.texi (Processor Time): Return type of times is
39407         elapsed real time since an arbitrary point in the past.
39408         (CPU Time): Move CLK_TCK from here...
39409         (Processor Time): ...to here.  Correct description.
39410         * manual/conf.texi (Constants for Sysconf): Correct description of
39411         _SC_CLK_TCK.
39412
39413 2012-04-10  David S. Miller  <davem@davemloft.net>
39414
39415         [BZ #13967]
39416         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39417         where the is a gap between DT_REL(A) and DT_JMPREL.
39418
39419 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39420
39421         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39422         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39423         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39424
39425 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39426
39427         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39428         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39429         (dl_main): Handle --inhibit-cache.
39430         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39431         _dl_inhibit_cache.
39432         * elf/dl-load.c (_dl_map_object): Use it.
39433         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39434
39435 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39436
39437         [BZ #13872]
39438         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39439         (__ieee754_powl): Saturate large exponents rather than testing for
39440         overflow of y*log2(x).
39441         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39442         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39443         exceptions.
39444
39445         [BZ #11521]
39446         * math/s_ctan.c: Include <float.h>.
39447         (__ctan): Avoid internal overflow or cancellation in calculating
39448         denominator.
39449         * math/s_ctanf.c: Likewise.
39450         * math/s_ctanl.c: Likewise.
39451         * math/s_ctanh.c: Likewise.
39452         * math/s_ctanhf.c: Likewise.
39453         * math/s_ctanhl.c: Likewise.
39454         * math/libm-test.inc (ctan_test): Add more tests.
39455         (ctanh_test): Likewise.
39456         * sysdeps/i386/fpu/libm-test-ulps: Update.
39457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39458
39459 2012-04-09  Andreas Jaeger  <aj@suse.de>
39460
39461         [BZ #6894]
39462         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39463         is an optional BSD extension.
39464
39465         [BZ #10254]
39466         * manual/stdio.texi (Opening Streams): Document additional fopen
39467         parameters.
39468
39469 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39470
39471         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39472         %eax without telling the compiler.
39473
39474 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39475
39476         [BZ # 13963]
39477         * manual/install.texi: Use sourceware.org.
39478
39479 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39480
39481         [BZ #13873]
39482         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39483         (__ieee754_pow): Generate overflow and underflow using huge*huge
39484         and tiny*tiny rather than just returning constant infinity or zero
39485         for large exponents.
39486         * math/libm-test.inc (pow_test): Require overflow exceptions for
39487         applicable cases of large exponents.
39488
39489         [BZ #706]
39490         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39491         (__ieee754_pow): Use iterative multiplication algorithm only for
39492         integer exponents with absolute value below 1024.  Check for odd
39493         integer exponents when using algorithm for real exponents.
39494         * math/libm-test.inc (pow_test): Add more tests.
39495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39496
39497 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39498
39499         [BZ #13705]
39500         * math/libm-test.inc (exp_test): Do not allow overflow exception
39501         on underflow test.
39502
39503 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39504
39505         [BZ #13705]
39506         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39507         instead of __kernel_standard_f.
39508
39509 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39510
39511         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39512         * sysdeps/x86_64/memset_chk.S: Likewise.
39513
39514 2012-04-08  Andreas Jaeger  <aj@suse.de>
39515
39516         [BZ #10153]
39517         * manual/startup.texi (Environment Access): Describe return value
39518         for putenv and setenv.
39519
39520         [BZ #6895]
39521         * manual/filesys.texi (Directory Entries): Add description for
39522         DT_LNK.
39523
39524         [BZ #6890]
39525         * manual/filesys.texi (Directory Entries): Clarify that it's file
39526         system not operating system in the description of DT_UNKNOWN.
39527
39528         [BZ #6578]
39529         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39530
39531 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39532
39533         [BZ #6649]
39534         * manual/llio.texi (Opening and Closing Files): Add cross
39535         reference to explain mode argument.
39536
39537 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39538
39539         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39540         * sysdeps/x86_64/memset_chk.S: Likewise.
39541
39542 2012-04-07  David S. Miller  <davem@davemloft.net>
39543
39544         * elf/elf.h (R_SPARC_WDISP10): Define.
39545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39546         R_SPARC_SIZE32.
39547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39548         R_SPARC_SIZE64 and R_SPARC_H34.
39549
39550 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39551
39552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39553         conditions and remove no longer applicable assertion.
39554
39555 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39556
39557         * bits/byteswap.h: Include <features.h>.
39558         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39559         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39560
39561 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39562
39563         * bits/byteswap.h (__bswap_16): Removed.
39564         Include <bits/byteswap-16.h> to get __bswap_16.
39565         * sysdeps/i386/bits/byteswap.h: Likewise.
39566         * sysdeps/s390/bits/byteswap.h: Likewise.
39567         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39568         * bits/byteswap-16.h: New file.
39569         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39570         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39571         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39572         * string/Makefile (headers): Add bits/byteswap-16.h.
39573
39574 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39575
39576         [BZ #13895]
39577         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39578         extra indirection.
39579         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39580         * nss/tst-nss-static.c: New.
39581
39582 2012-04-06  Robert Millan  <rmh@gnu.org>
39583
39584         [BZ #6486]
39585         * manual/llio.texi (File Position Primitive): lseek
39586         refers to WHENCE when it really means OFFSET.
39587
39588 2012-04-06  Andreas Jaeger  <aj@suse.de>
39589
39590         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39591         strncmp declarations.
39592
39593         * abilist/libc.abilist: Add __poll and __ppoll.
39594
39595 2012-04-05  David S. Miller  <davem@davemloft.net>
39596
39597         * scripts/check-local-headers.sh: Accept a host triplet in the
39598         path matched by the exclude regexp.
39599
39600         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39601         definition.
39602         * sysdeps/powerpc/powerpc32/dl-machine.h
39603         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39604         * sysdeps/s390/s390-32/dl-machine.h
39605         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39606         * sysdeps/sparc/sparc32/dl-machine.h
39607         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39608         * sysdeps/sparc/sparc64/dl-machine.h
39609         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39610
39611         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39612         lazy binding.
39613         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39614         undefined symbol errors.
39615
39616         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39617         DT_NEEDED entries.
39618
39619 2012-04-05  Michael Matz  <matz@suse.de>
39620
39621         [BZ #13592]
39622         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39623
39624 2012-04-05  Andreas Jaeger  <aj@suse.de>
39625
39626         [BZ #13908]
39627         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39628         comment.
39629
39630 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39631
39632         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39633         which ROUND is no valid rounding mode.
39634
39635 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39636
39637         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39638         read again.
39639         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39640
39641 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39642
39643         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39644         an exception using FPU order intentionally.
39645
39646 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39647
39648         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39649         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39650         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39651         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39652
39653 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39654
39655         [BZ #12340]
39656         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39657         EINVAL when BUFLEN is too smal.
39658
39659 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39660
39661         [BZ #13553]
39662         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39663         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39664
39665 2012-04-03  Andreas Jaeger  <aj@suse.de>
39666
39667         [BZ #13938]
39668         * manual/setjmp.texi (System V contexts): Fix sentence.
39669
39670         [BZ #13926]
39671         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39672         New macro for this case.
39673         [!__GNUC__] (__bswap_64): New inline function for this case.
39674         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39675         * bits/byteswap.h: Likewise.
39676         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39677         ull, guard with __GLIBC_HAVE_LONG_LONG.
39678
39679         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39680         __GLIBC_HAVE_LONG_LONG.
39681
39682         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39683         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39684
39685 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39686
39687         [BZ #13691]
39688         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39689         inptr and inend, rather than using last_ch.
39690
39691 2012-04-02  David S. Miller  <davem@davemloft.net>
39692
39693         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39694         * stdio-common/printf-parse.h (read_int): Change return type to
39695         'int', return -1 on INT_MAX overflow.
39696         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39697         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39698         overflows INT_MAX.  Check for overflow of in-format-string precision
39699         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39700         SIZE_MAX not INT_MAX for integer overflow test.
39701         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39702         skip the construct in the format string but do not record anything.
39703         * stdio-common/bug22.c: Adjust to test both width/prevision
39704         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39705         explicitly for proper errno values.
39706
39707 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39708
39709         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39710         CHAR_MAX.
39711         * string/test-strcmp.c [! WIDE]: Likewise.
39712         * time/tst-mktime2.c: Likewise for INT_MAX.
39713         * string/test-string.h: #include <sys/param.h> for MIN.
39714
39715         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39716         * sysdeps/i386/init-first.c (init): Likewise.
39717         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39718         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39719         * sysdeps/sh/init-first.c (init): Likewise.
39720
39721 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39722
39723         * po/ru.po: Update from translation team.
39724         * po/vi.po: Likewise.
39725
39726 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39727
39728         * resolv/nss_dns/dns-host.c: Merge copyright years.
39729
39730 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39731
39732         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39733         Optimize memcpy with prefetch if
39734         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39735         src, dst pointers have unequal 16 byte alignments.
39736
39737 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39738
39739         [BZ #13928]
39740         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39741         from a CNAME entry and return the minimum ttl for the query.
39742         (gaih_getanswer_slice): Likewise.
39743
39744 2012-03-30  Jeff Law  <law@redhat.com>
39745
39746         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39747         due to long keys.
39748         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39749         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39750
39751         * resolv/nss_dns/dns-host.c: Update copyright year.
39752
39753 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39754
39755         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39756         requests to save a system call.  Fix check that all bytes are sent.
39757
39758         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39759         comments for sendmmsg.
39760
39761 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39762
39763         [BZ #13691]
39764         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39765         with only 1 character between 0x0041 and 0x01b0.
39766         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39767         * wcsmbs/tst-mbsnrtowcs.c: New file.
39768
39769 2012-03-29  David S. Miller  <davem@davemloft.net>
39770
39771         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39772         small copies by hand.
39773
39774 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39775
39776         [BZ #13761]
39777         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39778         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39779         group memberships.
39780
39781 2012-03-28  David S. Miller  <davem@davemloft.net>
39782
39783         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39784         that branches into memcpy.
39785         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39787         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39788         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39789         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39790         bits.
39791         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39792         implementation too.
39793         * sysdeps/sparc/mempcpy.S: New file.
39794
39795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39796         the IFUNC routine in the libc case.
39797         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39798
39799         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39800         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39801         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39802         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39803         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39804         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39805         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39806         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39807
39808         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39809         loop to 256 bytes instead of 64 bytes and fix test signedness.
39810
39811         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39812         * sysdeps/sparc/sparc32/Makefile: rather than here...
39813         * sysdeps/sparc/sparc64/Makefile: and here.
39814
39815 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39816
39817         * malloc/mallocbug.c: Avoid warnings about unused variables.
39818
39819 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39820
39821         [BZ #13760]
39822         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39823         in the right place. Discard and retry query if response is
39824         larger than input buffer size.
39825
39826 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39827
39828         [BZ #369]
39829         [BZ #2678]
39830         [BZ #3866]
39831         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39832         x for large integer exponent.
39833         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39834         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39835         sign of result as needed afterwards.
39836         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39837         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39838         result for underflowing pow the same as for overflow.
39839         (__kernel_standard_l): Handle powl overflow and underflow here
39840         rather than calling __kernel_standard.
39841         * math/libm-test.inc (pow_test): Add more tests.
39842
39843         [BZ #3868]
39844         [BZ #13879]
39845         [BZ #13910]
39846         [BZ #13911]
39847         [BZ #13912]
39848         [BZ #13913]
39849         [BZ #13915]
39850         [BZ #13916]
39851         [BZ #13917]
39852         [BZ #13918]
39853         [BZ #13919]
39854         [BZ #13920]
39855         [BZ #13921]
39856         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39857         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39858         (__kernel_standard_l): New function.
39859         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39860         __kernel_standard.
39861         * math/w_acosl.c (__acosl): Likewise.
39862         * math/w_asinl.c (__asinl): Likewise.
39863         * math/w_atan2l.c (__atan2l): Likewise.
39864         * math/w_atanhl.c (__atanhl): Likewise.
39865         * math/w_coshl.c (__coshl): Likewise.
39866         * math/w_exp10l.c (__exp10l): Likewise.
39867         * math/w_exp2l.c (__exp2l): Likewise.
39868         * math/w_fmodl.c (__fmodl): Likewise.
39869         * math/w_hypotl.c (__hypotl): Likewise.
39870         * math/w_j0l.c (__j0l, __y0l): Likewise.
39871         * math/w_j1l.c (__j1l, __y1l): Likewise.
39872         * math/w_jnl.c (__jnl, __ynl): Likewise.
39873         * math/w_lgammal.c (__lgammal): Likewise.
39874         * math/w_log10l.c (__log10l): Likewise.
39875         * math/w_log2l.c (__log2l): Likewise.
39876         * math/w_logl.c (__logl): Likewise.
39877         * math/w_powl.c (__powl): Likewise.
39878         * math/w_remainderl.c (__remainderl): Likewise.
39879         * math/w_scalbl.c (sysv_scalbl): Likewise.
39880         * math/w_sinhl.c (__sinhl): Likewise.
39881         * math/w_sqrtl.c (__sqrtl): Likewise.
39882         * math/w_tgammal.c (__tgammal): Likewise.
39883         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39884         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39885         * math/libm-test.inc (acos_test): Add more tests.
39886         (acosh_test): Likewise.
39887         (asin_test): Likewise.
39888         (atanh_test): Likewise.
39889         (exp_test): Likewise.
39890         (exp10_test): Likewise.
39891         (exp2_test): Likewise.
39892         (expm1_test): Likewise.
39893         (lgamma_test): Likewise.
39894         (log_test): Likewise.
39895         (log10_test): Likewise.
39896         (log1p_test): Likewise.
39897         (log2_test): Likewise.
39898         (pow_test): Do not allow some spurious overflow exceptions.
39899         (sqrt_test): Add more tests.
39900         (tgamma_test): Likewise.
39901         (y0_test): Likewise.
39902         (y1_test): Likewise.
39903         (yn_test): Likewise.
39904
39905 2012-03-27  Anton Blanchard  <anton@samba.org>
39906
39907         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39908         MAP_HUGETLB.
39909         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39910         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39911         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39912
39913 2012-03-27  David S. Miller  <davem@davemloft.net>
39914
39915         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39916
39917         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39918         have-as-vis3 check.
39919
39920 2012-03-27  Andreas Jaeger  <aj@suse.de>
39921
39922         * sysdeps/x86_64/elf/configure.in: Moved to ...
39923         * sysdeps/x86_64/configure.in: ... here.
39924         * sysdeps/x86_64/elf/start.S: Moved to ...
39925         * sysdeps/x86_64/start.S: ... here.
39926         * sysdeps/x86_64/elf/configure: Delete.
39927
39928         * sysdeps/x86_64/configure.in: Merge contents from
39929         sysdeps/i386/configure.in (without i686 check).
39930
39931         * sysdeps/i386/elf/Versions: Merge into ...
39932         * sysdeps/i386/Versions: ... this.
39933         * sysdeps/i386/elf/Versions: Delete file.
39934         * sysdeps/i386/elf/start.S: Moved to ...
39935         * sysdeps/i386/start.S: ...here.
39936         * sysdeps/i386/elf/configure.in: Merge into...
39937         * sysdeps/i386/configure.in: ...here.
39938         * sysdeps/i386/elf/configure.in: Delete file.
39939         * sysdeps/i386/elf/configure: Delete file.
39940
39941         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39942         * debug/backtracesyms.c: ... here.
39943         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39944         * debug/backtracesymsfd.c: ... here.
39945         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39946         * sysdeps/generic/ifunc-sel.h: ... here.
39947
39948         * sysdeps/unix/i386/start.c: Delete file.
39949         * sysdeps/unix/sparc/start.c: Delete file.
39950         * sysdeps/unix/start.c: Delete file.
39951
39952         * sysdeps/sh/elf/configure.in: Moved to ...
39953         * sysdeps/sh/configure.in: ... here.
39954         * sysdeps/sh/elf/start.S: Moved to ...
39955         * sysdeps/sh/start.S: ... here.
39956         * sysdeps/sh/elf/configure: Delete file.
39957
39958         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39959         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39960         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39961         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39962         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39963         * sysdeps/powerpc/powerpc64/start.S: here.
39964         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39965         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39966         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39967         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39968         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39969
39970         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39971         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39972         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39973         * sysdeps/powerpc/powerpc32/start.S: ... here.
39974         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39975         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39976         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39977
39978         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39979         * sysdeps/powerpc/ifunc-sel.h: ... here.
39980         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39981         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39982
39983         * sysdeps/sparc/elf/configure.in: Moved to ...
39984         * sysdeps/sparc/configure.in: ... here.
39985         * sysdeps/sparc/elf/configure: Delete file.
39986         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39987         * sysdeps/sparc/sparc32/start.S: ... here.
39988         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39989         * sysdeps/sparc/sparc64/start.S: ... here.
39990         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39991         * sysdeps/sparc/sparc32/Makefile: ... this.
39992         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39993         * sysdeps/sparc/sparc64/Makefile: ... this.
39994
39995         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39996         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39997         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39998         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39999         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40000         * sysdeps/s390/s390-32/setjmp.S: ... here.
40001         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40002         * sysdeps/s390/s390-32/configure.in: ... here.
40003         * sysdeps/s390/s390-32/elf/configure: Delete file.
40004         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40005         * sysdeps/s390/s390-32/start.S: ... here.
40006
40007         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40008         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40009         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40010         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40011         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40012         * sysdeps/s390/s390-64/setjmp.S: ... here.
40013         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40014         * sysdeps/s390/s390-64/configure.in: ... here
40015         * sysdeps/s390/s390-64/elf/configure: Delete file.
40016         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40017         * sysdeps/s390/s390-64/start.S: ... here.
40018         * sysdeps/s390/s390-64/elf/configure: Delete.
40019
40020         * configure.in: Remove support for elf directories in sysdeps.
40021
40022         * configure: Regenerated.
40023         * sysdeps/i386/configure: Regenerated.
40024         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40025         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40026         * sysdeps/s390/s390-32/configure: Regenerated.
40027         * sysdeps/s390/s390-64/configure: Regenerated.
40028         * sysdeps/sh/configure: Regenerated.
40029         * sysdeps/sparc/configure: Regenerated.
40030         * sysdeps/x86_64/configure: Regenerated.
40031
40032 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40033
40034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40035
40036         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40037         denormal result into account.
40038
40039 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40040
40041         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40042         Reported by Allan McRae <allan@archlinux.org>.
40043
40044 2012-03-23  Jeff Law  <law@redhat.com>
40045
40046         * nss/getnssent.c (__nss_getent): Fix typo.
40047
40048 2012-03-23  David S. Miller  <davem@davemloft.net>
40049
40050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40051
40052 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40053
40054         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40055         to pad to uint64_t for each field.
40056         (dl_tls_index): Replace unsigned long with uint64_t.
40057
40058 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40059         Paul Pluzhnikov  <ppluzhnikov@google.com>
40060
40061         [BZ #6528]
40062         * grp/Makefile (otherlibs): Don't set it.
40063         * inet/Makefile (otherlibs): Likewise.
40064         * login/Makefile (otherlibs): Likewise.
40065         * nscd/Makefile (otherlibs): Likewise.
40066         * posix/Makefile (otherlibs): Likewise.
40067         * pwd/Makefile (otherlibs): Likewise.
40068         * rt/Makefile (otherlibs): Likewise.
40069         * sunrpc/Makefile (otherlibs): Likewise.
40070         * nss/Makefile (otherlibs): Likewise.
40071         Add libnss_files to routines and static-only-routines.
40072         ($(objpfx)getent): Remove rule.
40073         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40074         static-only-routines.
40075
40076 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40077
40078         [BZ #13892]
40079         * math/s_cexp.c: Include <float.h>.
40080         (__cexp): Handle exp result overflowing not necessarily
40081         overflowing both real and imaginary parts of result.
40082         * math/s_cexpf.c: Likewise.
40083         * math/s_cexpl.c: Likewise.
40084         * math/libm-test.inc (cexp_test): Add more tests.
40085         * sysdeps/i386/fpu/libm-test-ulps: Update.
40086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40087
40088 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40089
40090         * include/link.h (ELFW): New macro.
40091         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40092         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40093
40094 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40095
40096         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40097         with uint64_t.
40098
40099 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40100
40101         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40102         declaration.
40103         (struct La_x32_retval): Likewise.
40104
40105 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40106
40107         * sysdeps/x86_64/preconfigure.in: New file.
40108         * sysdeps/x86_64/preconfigure: New generated file.
40109
40110 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40111
40112         [BZ #13824]
40113         * math/e_exp2l.c: Include <float.h>.
40114         (__ieee754_exp2l): Handle overflow and underflow cases
40115         separately.  Only pass fractional part of argument to
40116         __ieee754_expl.
40117         * math/libm-test.inc (exp2_test): Add more tests.
40118
40119         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40120         negating x to take absolute value.
40121         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40122         Likewise.
40123         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40124         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40125         Likewise.
40126         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40127         computing low part if x was negated.
40128         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40129
40130 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40131
40132         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40133         la_x32_gnu_pltexit.
40134         (pltexit): Cast int_retval to ptrdiff_t.
40135         * elf/tst-auditmod3b.c: Likewise.
40136         * elf/tst-auditmod4b.c: Likewise.
40137         * elf/tst-auditmod5b.c: Likewise.
40138         * elf/tst-auditmod6b.c: Likewise.
40139         * elf/tst-auditmod6c.c: Likewise.
40140         * elf/tst-auditmod7b.c: Likewise.
40141
40142         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40143         and x32_gnu_pltexit.
40144
40145         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40146         __ELF_NATIVE_CLASS.
40147         (La_x32_regs): New macro.
40148         (La_x32_retval): Likewise.
40149         (la_x32_gnu_pltenter): New function prototype.
40150         (la_x32_gnu_pltexit): Likewise.
40151
40152 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40153
40154         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40155         exponent.
40156
40157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40158
40159         * configure.in (libc_cv_cc_nofma): Check for option to disable
40160         generation of FMA instructions.
40161         * configure: Regenerate.
40162         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40163         * sysdeps/ieee754/dbl-64/Makefile: New file.
40164         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40165         Remove brandred-fma4.
40166         (CFLAGS-brandred-fma4.c): Remove.
40167         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40168         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40169         define.
40170         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40171         define.
40172
40173 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40174
40175         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40176         LLONG_MAX != LONG_MAX.
40177         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40178         (_fitoa_word): Likewise.
40179         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40180         LLONG_MAX != LONG_MAX.
40181         * stdio-common/_itowa.h: Include <_itoa.h>.
40182         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40183         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40184         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40185         only if not defined.
40186         (_ITOA_WORD_TYPE): Likewise.
40187         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40188         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40189
40190 2012-03-21  David S. Miller  <davem@davemloft.net>
40191
40192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40193
40194 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40195
40196         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40197         of x86_64 when setting libc_cv_slibdir, libdir and
40198         libc_cv_localedir.
40199         * sysdeps/unix/sysv/linux/configure: Regenerated.
40200
40201 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40202
40203         * manual/lang.texi (Old Varargs): Remove section.
40204         (How Variadic): Update menu.
40205         (va_start): Do not mention varargs.h.
40206
40207 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40208             Joseph Myers  <joseph@codesourcery.com>
40209
40210         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40211         link test.
40212         * configure: Regenerated.
40213
40214 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40215
40216         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40217         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40218         conformtest.pl
40219
40220 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40221
40222         * NOTES: Remove.
40223         * Makefile (files-for-dist): Remove NOTES.
40224         (NOTES): Remove rule.
40225         * README: Don't refer to NOTES.
40226         * manual/creature.texi: Don't include macros.texi.
40227         * manual/intro.texi (creature.texi): Remove comment referring to
40228         NOTES.
40229
40230         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40231         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40232         * configure: Regenerated.
40233         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40234         LIBC_TRY_CC_OPTION.
40235         (libc_cv_as_i686): Likewise.
40236         (libc_cv_cc_avx): Likewise.
40237         (libc_cv_cc_sse2avx): Likewise.
40238         (libc_cv_cc_fma4): Likewise.
40239         (libc_cv_cc_novzeroupper): Likewise.
40240         * sysdeps/i386/configure: Regenerated.
40241
40242         [BZ #13883]
40243         * sysdeps/i386/fpu/s_cexp.S: Remove.
40244         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40245         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40246         * math/libm-test.inc (cexp_test): Add more tests.
40247         * sysdeps/i386/fpu/libm-test-ulps: Update.
40248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40249
40250 2012-03-21  Allan McRae  <allan@archlinux.org>
40251
40252         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40253
40254 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40255
40256         [BZ #13871]
40257         * math/w_exp2.c: Do not include <float.h>.
40258         (o_threshold, u_threshold): Remove.
40259         (__exp2): Calculate result before checking finiteness and calling
40260         __kernel_standard.
40261         * math/w_exp2f.c: Likewise.
40262         * math/w_exp2l.c: Likewise.
40263         * math/libm-test.inc (exp2_test): Require overflow exception for
40264         1e6 input.
40265
40266         [BZ #3866]
40267         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40268         range of signed 64-bit integers before using fistpll.  Remove
40269         checks for whether integers fit in mantissa bits.
40270         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40271         the range of signed 32-bit integers before using fistpl.  Remove
40272         checks for whether integers fit in mantissa bits.
40273         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40274         (__ieee754_powl): Test for y outside the range of signed 64-bit
40275         integers before using fistpll.  Reduce 64-bit values to 63-bit
40276         ones as needed.
40277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40278         divide-by-zero is raised for zero to large negative powers.
40279         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40280         (__ieee754_powl): Test for y outside the range of signed 64-bit
40281         integers before using fistpll.  Reduce 64-bit values to 63-bit
40282         ones as needed.
40283         * math/libm-test.inc (pow_test): Add more tests.
40284
40285 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40286
40287         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40288         <stdio-common/_itoa.h>.
40289         * debug/segfault.c: Likewise.
40290         * elf/dl-cache.c: Likewise.
40291         * elf/dl-minimal.c: Likewise.
40292         * elf/dl-misc.c: Likewise.
40293         * elf/dl-sysdep.c: Likewise.
40294         * elf/dl-version.c: Likewise.
40295         * elf/rtld.c: Likewise.
40296         * hurd/hurdsock.c: Likewise.
40297         * hurd/lookup-retry.c: Likewise.
40298         * malloc/malloc.c: Likewise.
40299         * malloc/mtrace.c: Likewise.
40300         * nscd/nscd_getgr_r.c: Likewise.
40301         * nscd/nscd_getpw_r.c: Likewise.
40302         * nscd/nscd_getserv_r.c: Likewise.
40303         * posix/getopt_init.c: Likewise.
40304         * posix/wordexp.c: Likewise.
40305         * stdio-common/_itoa.c: Likewise.
40306         * stdio-common/printf_fphex.c: Likewise.
40307         * stdio-common/vfprintf.c: Likewise.
40308         * string/_strerror.c: Likewise.
40309         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40310         * sysdeps/i386/i686/hp-timing.h: Likewise.
40311         * sysdeps/mach/_strerror.c: Likewise.
40312         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40313         * sysdeps/mach/hurd/sethostid.c: Likewise.
40314         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40315         * sysdeps/mach/xpg-strerror.c: Likewise.
40316         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40317         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40318         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40319         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40321         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40322         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40323         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40324         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40325         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40326         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40327         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40328         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40329         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40330         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40331         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40332         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40333         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40334         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40335         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40336         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40337
40338         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40339
40340         * stdio-common/_itoa.h: Moved to ...
40341         * sysdeps/generic/_itoa.h: Here.
40342
40343         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40344
40345         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40346         instead of "_itoa.h" and "_itowa.h".
40347         * stdio-common/vfprintf.: Likewise.
40348
40349 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40350
40351         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40352         <bits/wordsize.h>.
40353         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40354         (__signbit): Likwise.
40355         (llrintf): Likwise.
40356         (llrint): Likwise.
40357
40358 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40359
40360         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40361         __WORDSIZE != 64.
40362
40363 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40364
40365         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40366         OVERFLOW_EXCEPTION_OK.
40367         * math/libm-test.inc ("Philosophy"): Update comment about
40368         exception testing.
40369         (OVERFLOW_EXCEPTION): Define.
40370         (OVERFLOW_EXCEPTION_OK): Likewise.
40371         (INVALID_EXCEPTION_OK): Renumber.
40372         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40373         (IGNORE_ZERO_INF_SIGN): Likewise.
40374         (test_exceptions): Handle FE_OVERFLOW.
40375         (exp10_test): Expect overflow exceptions.
40376         (exp2_test): Likewise.
40377         (expm1_test): Likewise.
40378         (nextafter_test): Likewise.
40379         (pow_test): Likewise.
40380         (scalbn_test): Likewise.
40381         (scalbln_test): Likewise.
40382
40383 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40384
40385         * sysdeps/x86_64/bits/atomic.h
40386         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40387         64bit integer.
40388         (atomic_exchange_acq): Likewise.
40389         (__arch_exchange_and_add_body): Likewise.
40390         (__arch_add_body): Likewise.
40391         (atomic_add_negative): Likewise.
40392         (atomic_add_zero): Likewise.
40393
40394 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40395
40396         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40397         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40398
40399 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40400
40401         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40402         Check __x86_64__ instead of __WORDSIZE.
40403
40404 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40405
40406         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40407
40408 2012-03-19  David S. Miller  <davem@davemloft.net>
40409
40410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40411
40412         * sysdeps/sparc/fpu/fenv_private.h: New file.
40413         * sysdeps/sparc/fpu/math_private.h: Use it.
40414         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40415         Remove.
40416         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40417         (libc_feholdexcept_setroundl): Remove.
40418         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40419         Remove.
40420         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40421         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40422
40423 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40424
40425         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40426         int64_t instead of long int.
40427         (INSERT_WORDS64): Likwise.
40428
40429 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40430
40431         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40432         _Unwind_GetCFA return to _Unwind_Ptr first.
40433
40434 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40435
40436         [BZ #13629]
40437         * math/s_clog.c: Include <float.h>.
40438         (__clog): Scale large or subnormal inputs.
40439         * math/s_clogf.c: Likewise.
40440         * math/s_clogl.c: Likewise.
40441         * math/s_clog10.c: Include <float.h>.
40442         (M_LOG10_2): Define.
40443         (__clog10): Scale large or subnormal inputs.
40444         * math/s_clog10f.c: Likewise.
40445         * math/s_clog10l.c: Likewise.
40446         * math/libm-test.inc (clog_test): Add more tests.
40447         (clog10_test): Likewise.
40448         * sysdeps/i386/fpu/libm-test-ulps: Update.
40449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40450
40451         [BZ #11451]
40452         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40453         x and y.
40454         * math/libm-test.inc (atan2_test): Add another test.
40455
40456         * Makerules (common-objdir-compile): Remove.
40457         * sysdeps/unix/Makefile (config-generated): Do not add
40458         $(unix-generated) to variable.
40459         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40460         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40461         Remove rule.
40462         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40463         Likewise.
40464         [generic bits/local_lim.h] (before-compile): Do not append to
40465         variable.
40466         [generic bits/local_lim.h] (common-generated): Likewise.
40467         [generic sys/param.h] (before-compile): Do not append to variable.
40468         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40469         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40470         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40471         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40472         include.
40473         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40474         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40475         [generic sys/param.h] ($(addprefix
40476         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40477         [generic sys/param.h] (common-generated): Do not append to
40478         variable.
40479         [generic sys/param.h] (sysdep_headers): Likewise.
40480         [generic bits/errno.h] (before-compile): Do not append to
40481         variable.
40482         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40483         rule.
40484         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40485         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40486         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40487         [generic bits/errno.h] (common-generated): Do not append to
40488         variable.
40489         [generic bits/ioctls.h] (before-compile): Do not append to
40490         variable.
40491         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40492         rule.
40493         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40494         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40495         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40496         rule.
40497         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40498         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40499         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40500         [generic bits/ioctls.h] (common-generated): Do not append to
40501         variable.
40502         [generic sys/syscall.h] (syscall.h): Remove variable.
40503         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40504         rule.
40505         [generic sys/syscall.h] (before-compile): Do not append to
40506         variable.
40507         [generic sys/syscall.h] (common-generated): Likewise.
40508         * sysdeps/unix/errnos-tmpl.c: Remove file.
40509         * sysdeps/unix/errnos.awk: Likewise.
40510         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40511         * sysdeps/unix/ioctls.awk: Likewise.
40512         * sysdeps/unix/mk-local_lim.c: Likewise.
40513         * sysdeps/unix/snarf-ioctls: Likewise.
40514
40515 2012-03-19  Richard Henderson  <rth@twiddle.net>
40516
40517         * sysdeps/i386/fpu/fenv_private.h: New file.
40518         * sysdeps/i386/fpu/math_private.h: Use it.
40519         (math_opt_barrier, math_force_eval): Remove.
40520         (libc_feholdexcept_setround_53bit): Remove.
40521         (libc_feupdateenv_53bit): Remove.
40522         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40523         (math_opt_barrier, math_force_eval): Remove.
40524         (libc_feholdexcept): Remove.
40525         (libc_feholdexcept_setround): Remove.
40526         (libc_fetestexcept, libc_fesetenv): Remove.
40527         (libc_feupdateenv_test): Remove.
40528         (libc_feupdateenv, libc_feholdsetround): Remove.
40529         (libc_feresetround): Remove.
40530
40531         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40532         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40533
40534         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40535         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40536         (libc_feupdateenv_testl): New.
40537         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40538         (libc_feupdateenv_testf): New.
40539         (libc_feupdateenv): Use libc_feupdateenv_test.
40540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40541         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40542
40543         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40544         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40545         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40546         (libc_feresetround_noex): New.
40547         (libc_feresetround_noexf): New.
40548         (libc_feresetround_noexl): New.
40549         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40550         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40551         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40552         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40553         SET_RESTORE_ROUND.
40554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40555         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40556         (__cos): Likewise.
40557         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40558         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40559         SET_RESTORE_ROUND_NOEX.
40560         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40561         SET_RESTORE_ROUND_NOEXF.
40562         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40563         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40564         (libc_feholdsetroundf): New.
40565         (libc_feresetround, libc_feresetroundf): New.
40566
40567         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40568         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40569         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40570
40571         * sysdeps/generic/math_private.h: Include <fenv.h>.
40572         (default_libc_feholdexcept): New.
40573         (default_libc_feholdexcept_setround): New.
40574         (default_libc_fesetenv, default_libc_feupdateenv): New.
40575         (libc_feholdexcept): Only define if undefined.
40576         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40577         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40578         (libc_feholdexcept_setroundl): Likewise.
40579         (libc_feholdexcept_setround_53bit): Likewise.
40580         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40581         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40582         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40583         (libc_feupdateenv_53bit): Likewise.
40584         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40585         (libc_feholdexcept): Convert from macro to inline function.
40586         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40587         (libc_fesetenv, libc_feupdateenv): Likewise.
40588
40589         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40590         not previously defined.
40591         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40592         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40593         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40594         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40595         * sysdeps/ieee754/flt-32/math_private.h: New file.
40596         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40597         math_private.h below SET_FLOAT_WORD.
40598         (__isnan, __isinf_ns, __finite): Remove.
40599         (__isnanf, __isinf_nsf, __finitef): Remove.
40600
40601 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40602
40603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40604
40605 2012-03-17  David S. Miller  <davem@davemloft.net>
40606
40607         [BZ #6471]
40608         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40609         for 2.16.
40610
40611 2012-03-16  David S. Miller  <davem@davemloft.net>
40612
40613         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40614         warnings.
40615
40616         [BZ #6471]
40617         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40618         properly.
40619         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40620         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40621         sysdep_routines when subdir is sysvipc.
40622         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40623         __getshmlba helper.
40624
40625         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40626
40627 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40628
40629         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40630         [__LP64__].
40631
40632 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40633
40634         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40635         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40636         (__lround): Renamed to ...
40637         (__llround): This.  Replace long int with long long int.
40638         Define lround functions as aliases of llround functions.
40639         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40640
40641 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40642
40643         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40644         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40645         adresses to uintptr_t.  Replace "long int" and "unsigned long
40646         int" with "greg_t" on va_arg.
40647
40648 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40649
40650         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40651         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40652
40653         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40654         Move e_machine check before EI_CLASS check.  Handle x32
40655         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40656         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40657         SKIP_EM_IA_64 and include
40658         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40659
40660         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40661         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40662         (add_system_dir): New macro.
40663
40664         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40665         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40666
40667 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40668
40669         [BZ #2551]
40670         [BZ #2552]
40671         [BZ #2553]
40672         [BZ #2554]
40673         [BZ #2562]
40674         [BZ #2563]
40675         [BZ #2565]
40676         [BZ #2566]
40677         [BZ #2576]
40678         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40679         (y0): Likewise.
40680         * math/w_j0f.c (j0f): Likewise.
40681         (y0f): Likewise.
40682         * math/w_j0l.c (__j0l): Likewise.
40683         (__y0l): Likewise.
40684         * math/w_j1.c (j1): Likewise.
40685         (y1): Likewise.
40686         * math/w_j1f.c (j1f): Likewise.
40687         (y1f): Likewise.
40688         * math/w_j1l.c (__j1l): Likewise.
40689         (__y1l): Likewise.
40690         * math/w_jn.c (jn): Likewise.
40691         (yn): Likewise.
40692         * math/w_jnf.c (jnf): Likewise.
40693         (ynf): Likewise.
40694         * math/w_jnl.c (__jnl): Likewise.
40695         (__ynl): Likewise.
40696         * math/libm-test.inc (j0_test): Add more tests.
40697         (j1_test): Likewise.
40698         (jn_test): Likewise.  Add trailing semicolon to existing test.
40699         (y0_test): Likewise.
40700         (y1_test): Likewise.
40701         * sysdeps/i386/fpu/libm-test-ulps: Update.
40702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40703
40704         [BZ #13851]
40705         [BZ #13854]
40706         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40707         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40708         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40709         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40710         (__tanl): Set errno for infinite argument.
40711         * sysdeps/i386/fpu/mptan.c: Remove.
40712         * sysdeps/i386/fpu/s_tan.S: Likewise.
40713         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40714         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40715         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40716         * math/libm-test.inc (tan_test): Add more tests and enable more
40717         tests for double and long double.
40718         * sysdeps/i386/fpu/libm-test-ulps: Update.
40719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720
40721 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40722
40723         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40724         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40725
40726 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40727
40728         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40729         * configure.in: Use it for both main tree and add-ons.
40730         * configure: Regenerated.
40731
40732 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40733
40734         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40735
40736 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40737
40738         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40739         in comment.
40740
40741         [BZ #13851]
40742         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40743         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40747         infinite argument.
40748         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40750         != 0 for prec == 2.
40751         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40752         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40753         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40754         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40755         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40756         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40757         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40758         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40759         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40760         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40761         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40762         * math/libm-test.inc (cos_test): Add more tests and enable more
40763         tests for long double.
40764         (sin_test): Likewise.
40765         (sincos_test): Likewise.
40766         * sysdeps/i386/fpu/libm-test-ulps: Update.
40767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40768
40769 2012-03-16  David S. Miller  <davem@davemloft.net>
40770
40771         * sysdeps/sparc/fpu/math_private.h: New file.
40772
40773 2012-03-15  David S. Miller  <davem@davemloft.net>
40774
40775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40776         file.
40777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40779         file.
40780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40786         sysdep routines.
40787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40788
40789         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40790         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40791
40792         * sysdeps/sparc/sparc-ifunc.h: New file.
40793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40794         sparc-ifunc.h
40795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40797         Likewise.
40798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40799         Likewise.
40800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40804         Likewise.
40805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40810         Likewise.
40811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40812         Likewise.
40813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40819         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40820         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40831         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40832         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40833         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40834         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40835         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40836         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40837
40838 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40839
40840         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40841         scaling.
40842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40843
40844 2012-03-15  Andreas Jaeger  <aj@suse.de>
40845
40846         [BZ #13852]
40847         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40848         ieee754/flt-32 implementation for sin, cos and sincos.
40849         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40850         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40851         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40852         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40853         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40854         ieee754/flt-32 implementation for tan.
40855
40856         * math/libm-test.inc (cos_test): Enable some large input tests for
40857         float as well
40858         (sin_test): Likewise.
40859         (sincos_test): Likewise.
40860         (tan_test): Add tests for large input.
40861
40862         * sysdeps/i386/fpu/libm-test-ulps: Update.
40863
40864 2012-03-15  Andreas Jaeger  <aj@suse.de>
40865
40866         [BZ #13658]
40867         * math/libm-test.inc (cos_test): Add more test cases.
40868         (sin_test): Likewise.
40869         (sincos_test): Likewise.
40870
40871 2012-03-15  Andreas Jaeger  <aj@suse.de>
40872
40873         [BZ #13837]
40874         * math/libm-test.inc (cos_test): Add a test case for large input
40875         value.
40876         (sin_test): Likewise.
40877         (sincos_test): Likewise.
40878
40879 2012-03-15  Andreas Jaeger  <aj@suse.de>
40880             Joseph Myers  <joseph@codesourcery.com>
40881
40882         [BZ #13658]
40883         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40884         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40885         * sysdeps/i386/fpu/branred.c: Likewise.
40886         * sysdeps/i386/fpu/dosincos.c: Likewise.
40887         * sysdeps/i386/fpu/mpa.c: Likewise.
40888         * sysdeps/i386/fpu/s_cos.S: Likewise.
40889         * sysdeps/i386/fpu/s_sin.S: Likewise.
40890         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40891         * sysdeps/i386/fpu/sincos32.c: Likewise.
40892
40893         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40894         Define.
40895         (libc_feupdateenv_53bit): Define.
40896         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40897         Define.
40898         (libc_feupdateenv_53bit): Define.
40899
40900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40901         53 bit (without extend i386 double precision).
40902
40903         * math/libm-test.inc (sincos_test): Add tests for large input.
40904         (sin): Likewise.
40905         (cos): Likewise.
40906
40907         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40908
40909 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40910
40911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40912
40913 2012-03-15  David S. Miller  <davem@davemloft.net>
40914
40915         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40916         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40917         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40918         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40931         file.
40932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40934         file.
40935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40937         file.
40938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40940         file.
40941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40943         fmin/fmax sysdep routines.
40944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40945
40946 2012-03-14  David S. Miller  <davem@davemloft.net>
40947
40948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40949         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40952         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40953         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40954         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40955         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40959         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40960         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40967         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40969         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40970         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40971         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40973         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40974         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40975         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40976         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40977         routines.
40978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40979         file.
40980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40982         file.
40983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40985         file.
40986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40988         file.
40989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40991         file.
40992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40994         file.
40995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40996         file.
40997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40998         file.
40999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41000         file.
41001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41002         New file.
41003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41004         file.
41005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41006         file.
41007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41009         file.
41010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41012         file.
41013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41015         file.
41016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41018         VIS3 routines.
41019
41020         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41021         New file.
41022
41023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41024
41025         * sysdeps/sparc/configure.in: New file.
41026         * sysdeps/sparc/configure: Generate.
41027         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41028         * configure: Regenerate.
41029         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41030         * config.make.in (have-as-vis3): New.
41031         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41032         available use -Av9d instead of -Av9a.
41033         * sysdeps/sparc/sparc64/Makefile: Likewise.
41034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41036         New file.
41037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41038         file.
41039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41040         New file.
41041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41042         file.
41043         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41044         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41045         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41046         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41047         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41048
41049         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41050         fzeros/fnegs to load 0x80000000 into a float register instead of
41051         using the stack.
41052         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41053
41054 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41055
41056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41057         bits/syscall.h.
41058         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41059         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41060         ($(inst_includedir)/bits/syscall.h): Remove rule.
41061         ($(objpfx)bits/syscall.d): Include instead of
41062         $(objpfx)syscall-list.d.
41063         (generated): Change syscall-list.h and syscall-list.d to
41064         bits/syscall.h and bits/syscall.d.
41065
41066 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41067
41068         [BZ #13846]
41069         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41070
41071 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41072
41073         [BZ #13841]
41074         * math/s_csqrt.c: Include <float.h>.
41075         (__csqrt): Scale large or subnormal inputs.
41076         * math/s_csqrtf.c: Likewise.
41077         * math/s_csqrtl.c: Likewise.
41078         * math/libm-test.inc (csqrt_test): Add more tests.
41079         * sysdeps/i386/fpu/libm-test-ulps: Update.
41080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41081
41082         [BZ #13840]
41083         * math/libm-test.inc (hypot_test): Add more tests.
41084
41085 2012-03-13  David S. Miller  <davem@davemloft.net>
41086
41087         [BZ #13840]
41088         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41089         double-precision for the calculation instead of scaling.
41090
41091 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41092
41093         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41094         manipulate bits before adding and subtracting TWO52[sx].
41095         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41096         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41097         Likewise.
41098         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41099
41100 2012-03-13  David S. Miller  <davem@davemloft.net>
41101
41102         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41103         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41104         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41105         rtld-global-offsets.h
41106         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41107
41108         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41109         large parameters.
41110
41111         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41112
41113         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41114         'err' in the ifdef scope in which it is actually used.
41115
41116         * nss/nss_db/db-init.c: Include string.h
41117
41118 2012-03-12  David S. Miller  <davem@davemloft.net>
41119
41120         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41121         masking out of the most significant byte of random value used.
41122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41123         Fix coding style in previous change.
41124
41125         * sysdeps/unix/sysv/linux/kernel-features.h
41126         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41127         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41128         expression.
41129         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41130         later.
41131
41132 2012-03-11  David S. Miller  <davem@davemloft.net>
41133
41134         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41135         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41137         for 'resultvar' otherwise things get truncated on 64-bit.
41138
41139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41140         Fix masking out of the most significant byte of random value used.
41141
41142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41143
41144 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41145
41146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41147
41148 2012-03-09  David S. Miller  <davem@davemloft.net>
41149
41150         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41151         variables with appropriate CPP guards.
41152         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41153         from the frame pointer, not the stack pointer.  Correct layout
41154         comments.  Fix test on resulting framesize and the management of
41155         the outregs buffer for pltexit.  Preserve floating point return
41156         values across _dl_call_pltexit call.
41157         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41158         framesize and the management of the outregs buffer for pltexit.
41159         Preserve floating point return values across _dl_call_pltexit
41160         call.
41161         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41162         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41163         (la_sparc64_gnu_pltexit): New functions.
41164         (print_exit): Fix format string for return register value.
41165
41166 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41167
41168         * sunrpc/Makefile (others): Add rpcgen.
41169         ($(objpfx)rpcgen): Remove special build rule and dependency on
41170         libc.
41171         * sunrpc/rpcgen.c: New file.
41172
41173 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41174
41175         [BZ #13673]
41176         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41177         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41178         * sysdeps/i386/crti.S: Likewise.
41179         * sysdeps/i386/crtn.S: Likewise.
41180         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41181         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41182         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41183         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41184         * sysdeps/sh/crti.S: Likewise.
41185         * sysdeps/sh/crtn.S: Likewise.
41186         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41187
41188         [BZ #13673]
41189         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41190         with URL.
41191         * locale/programs/locfile-kw.gperf: Likewise.
41192         * locale/programs/charmap-kw.h: Regenerated.
41193         * locale/programs/locfile-kw.h: Likewise.
41194
41195         [BZ #13673]
41196         * intl/plural.y: Replace FSF snail mail address with URL.
41197         * intl/plural.c: Regenerated.
41198
41199 2012-03-09  Richard Henderson  <rth@twiddle.net>
41200
41201         * include/math_private.h: Remove file.
41202         * math/math_private.h: Move file ...
41203         * sysdeps/generic/math_private.h: ... here.
41204
41205         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41206         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41207         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41208
41209         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41210         and <math_private.h>.
41211         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41212         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41213         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41214         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41215         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41216         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41217         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41219         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41220         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41221         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41222         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41223         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41224         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41225         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41226         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41227         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41228         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41229         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41230         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41232         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41233         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41234         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41235         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41236         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41237         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41238         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41243         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41244         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41245         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41248         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41249         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41251         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41252         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41253         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41254         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41255         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41256         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41257         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41258         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41259         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41260         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41261         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41262         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41263         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41264         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41265         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41266         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41267         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41268         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41269         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41270         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41271         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41272         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41274         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41275         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41276         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41277         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41278         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41279         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41280         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41281         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41282         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41283         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41285         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41286         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41290         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41291         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41292         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41294         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41295         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41296         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41298         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41299         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41300         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41301         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41302         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41303         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41304         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41305         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41306         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41307         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41308         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41309         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41310         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41311         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41312         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41313         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41314         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41315         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41316         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41317         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41318         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41319         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41320         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41321         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41322         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41323         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41324         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41325         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41326         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41327         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41328         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41329         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41330         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41331         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41332         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41333         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41334         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41335         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41336         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41337         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41338         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41339         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41340         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41341         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41342         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41343         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41344         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41345         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41346         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41347         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41348         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41349         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41350         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41351         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41352         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41353         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41354         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41355         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41356         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41357         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41358         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41359         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41360         * sysdeps/ieee754/k_standard.c: Likewise.
41361         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41362         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41363         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41364         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41365         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41366         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41367         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41368         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41369         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41370         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41371         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41373         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41374         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41375         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41376         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41377         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41378         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41379         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41380         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41381         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41382         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41384         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41385         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41386         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41387         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41388         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41389         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41390         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41391         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41392         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41393         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41394         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41395         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41396         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41397         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41398         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41399         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41400         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41401         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41402         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41403         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41404         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41405         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41406         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41407         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41408         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41409         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41410         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41411         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41412         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41413         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41414         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41415         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41416         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41417         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41418         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41419         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41420         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41421         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41422         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41423         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41424         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41425         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41426         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41427         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41428         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41429         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41432         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41433         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41434         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41435         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41436         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41437         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41438         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41439         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41443         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41444         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41445         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41446         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41447         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41448         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41449         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41450         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41451         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41452         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41453         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41454         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41455         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41456         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41457         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41458         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41459         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41460         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41462         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41463         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41464         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41465         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41468         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41469         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41470         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41471         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41472         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41473         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41474         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41475         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41476         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41477         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41478         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41479         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41480         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41481         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41482         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41483         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41484         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41485         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41486         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41487         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41488         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41489         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41490         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41491         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41492         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41493         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41494         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41495         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41496         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41497         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41498         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41499         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41500         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41501         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41502         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41503         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41504         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41505         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41506         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41507         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41508         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41509         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41510         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41511         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41512         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41514         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41515         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41516         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41517         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41518         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41519         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41520         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41521         * sysdeps/ieee754/s_lib_version.c: Likewise.
41522         * sysdeps/ieee754/s_matherr.c: Likewise.
41523         * sysdeps/ieee754/s_signgam.c: Likewise.
41524         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41525         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41526         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41527         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41528         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41529         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41530         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41531         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41532         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41533         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41534         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41535         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41536         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41537         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41538         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41539         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41540         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41541         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41542         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41544         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41545
41546 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41547
41548         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41549         * sunrpc/rpc_main.c: Likewise.
41550         * sunrpc/rpc_svcout.c: Likewise.
41551
41552 2012-03-09  David S. Miller  <davem@davemloft.net>
41553
41554         * include/math_private.h: New file.
41555
41556 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41557
41558         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41559         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41560         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41561         from <bits/socket_type.h>.
41562         (enum __socket_type): Don't define here.
41563         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41565         bits/socket_type.h.
41566
41567         [BZ #13566]
41568         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41569         checking __USE_GNU.
41570
41571         * Makerules ($(inst_includedir)/%.h): New rule.
41572         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41573         (install-others): Remove variable setting.
41574         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41575
41576 2012-03-08  Richard Henderson  <rth@twiddle.net>
41577
41578         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41579         from macro to inline function; merge with the
41580         !__LIBC_INTERNAL_MATH_INLINES version.
41581         (__ieee754_sqrtf): Likewise.
41582
41583         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41584         to inline function.
41585         (__rintf, __floor, __floorf): Likewise.
41586
41587         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41588         macro to inline function.
41589         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41590
41591         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41592         not <math/math_private.h>.
41593
41594 2012-03-08  David S. Miller  <davem@davemloft.net>
41595
41596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41597         copyright year.
41598         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41599
41600 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41601
41602         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41603         normalization.
41604         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41605         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41606
41607 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41608
41609         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41610         be defined individually, they must be defined as a block.  Define
41611         S for printing a string instead of hidint the different by using a
41612         macro for adding the 'l'.
41613         * stdio-common/tst-fphex-wide.c: Adjust.
41614
41615 2012-03-07  Marek Polacek  <polacek@redhat.com>
41616
41617         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41618
41619 2012-03-08  Marek Polacek  <polacek@redhat.com>
41620
41621         [BZ #13806]
41622         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41623         * stdio-common/tst-fphex.c: Define a few macros to make the
41624         test reusable.  Use them.
41625         * stdio-common/tst-fphex-wide.c: New file.
41626
41627 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41628
41629         [BZ #6911]
41630         * manual/macros.texi (gnusystems): New macro.
41631         (nongnusystems): Likewise.
41632         (gnulinuxhurdsystems): Likewise.
41633         (gnuhurdsystems): Likewise..
41634         (gnulinuxsystems): Likewise.
41635         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41636         variants of the GNU system, not "GNU system".
41637         * manual/conf.texi: Likewise.
41638         * manual/errno.texi: Likewise.  Update example of errno macro
41639         expansion.
41640         * manual/filesys.texi: Likewise.
41641         (getumask): Document as specific to GNU/Hurd.
41642         * manual/install.texi: Likewise.  Reword some references to
41643         GNU/Linux.
41644         * manual/intro.texi: Likewise.
41645         * manual/io.texi: Likewise.
41646         (File Name Portability): Detail which constraints are inapplicable
41647         to all GNU systems and which are only inapplicable to GNU/Hurd.
41648         * manual/job.texi: Likewise.
41649         * manual/llio.texi: Likewise.
41650         (O_NOCTTY): Document as present on GNU/Linux.
41651         * manual/maint.texi: Likewise.
41652         * manual/memory.texi: Likewise.
41653         * manual/pattern.texi: Likewise.
41654         * manual/pipe.texi: Likewise.
41655         * manual/process.texi: Likewise.
41656         * manual/resource.texi: Likewise.
41657         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41658         child on GNU/Hurd.
41659         * manual/setjmp.texi: Likewise.
41660         * manual/signal.texi: Likewise.
41661         * manual/startup.texi: Likewise.
41662         * manual/stdio.texi: Likewise.
41663         * manual/terminal.texi: Likewise.
41664         (ONLCR): Document as POSIX.
41665         (OXTABS): Document availability on GNU/Linux as XTABS.
41666         (ONOEOT): Document availability separately from other bits.
41667         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41668         * manual/time.texi: Likewise.
41669         * manual/users.texi: Likewise.
41670         * INSTALL: Regenerated.
41671         * sysdeps/gnu/errlist.c: Regenerated.
41672
41673         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41674         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41675         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41676         puts.
41677         * configure: Regenerated.
41678
41679 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41680
41681         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41682         default includes instead of AC_HEADER_CHECK.
41683         * sysdeps/i386/configure: Regenerated.
41684
41685         [BZ #10716]
41686         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41687         * math/s_cacoshf.c (__cacoshf): Likewise.
41688         * math/s_cacoshl.c (__cacoshl): Likewise.
41689         * math/s_casinh.c (__casinh): Set signs of result from argument.
41690         * math/s_casinhf.c (__casinhf): Likewise.
41691         * math/s_casinhl.c (__casinhl): Likewise.
41692         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41693         (casinh_test): Add more tests.
41694         * sysdeps/i386/fpu/libm-test-ulps: Update.
41695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41696
41697 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41698
41699         * po/zh_TW.po: Update from translation team.
41700
41701         * login/Makefile (distribute): Remove variable.
41702         * catgets/Makefile: Likewise.
41703         * mach/Makefile: Likewise.
41704         * malloc/Makefile: Likewise.
41705         * misc/Makefile: Likewise.
41706         * iconv/Makefile: Likewise.
41707         * nscd/Makefile: Likewise.
41708         * hurd/Makefile: Likewise.
41709         * manual/Makefile: Likewise.
41710         * locale/Makefile: Likewise.
41711         * intl/Makefile: Likewise.
41712         * conform/Makefile: Likewise.
41713         * nss/Makefile: Likewise.
41714         * time/Makefile: Likewise.
41715         * soft-fp/Makefile: Likewise.
41716         * dirent/Makefile: Likewise.
41717         * gmon/Makefile: Likewise.
41718         * po/Makefile: Likewise.
41719         * rt/Makefile: Likewise.
41720         * socket/Makefile: Likewise.
41721         * math/Makefile: Likewise.
41722         * signal/Makefile: Likewise.
41723         * debug/Makefile: Likewise.
41724         * elf/Makefile: Likewise.
41725         * timezone/Makefile: Likewise.
41726         * stdlib/Makefile: Likewise.
41727         * iconvdata/Makefile: Likewise.
41728         * sunrpc/Makefile: Likewise.
41729         * io/Makefile: Likewise.
41730         * argp/Makefile: Likewise.
41731         * inet/Makefile: Likewise.
41732         * hesiod/Makefile: Likewise.
41733         * grp/Makefile: Likewise.
41734         * csu/Makefile: Likewise.
41735         * wctype/Makefile: Likewise.
41736         * crypt/Makefile: Likewise.
41737         * libio/Makefile: Likewise.
41738         * string/Makefile: Likewise.
41739         * nis/Makefile: Likewise.
41740         * resolv/Makefile: Likewise.
41741         * stdio-common/Makefile: Likewise.
41742         * wcsmbs/Makefile: Likewise.
41743         * dlfcn/Makefile: Likewise.
41744         * posix/Makefile: Likewise.
41745
41746         [BZ #6959]
41747         * timezone/Makefile: Don't install timezone files, just the programs
41748         and scripts.
41749
41750 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41751
41752         * nss/databases.def: Add missing gshadow entry.
41753
41754         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41755
41756 2012-03-06  Marek Polacek  <polacek@redhat.com>
41757
41758         [BZ #13726]
41759         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41760         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41761         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41762         * stdio-common/tst-long-dbl-fphex.c: New file.
41763
41764 2012-03-06  David S. Miller  <davem@davemloft.net>
41765
41766         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41767         (set_obp_int): New function.
41768         (get_obp_int): New function.
41769         (__get_clockfreq_via_dev_openprom): Likewise.
41770         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41771         Avoid unused variable warnings on 'val' and use builtin_expect.
41772         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41773         __builtin_expect.
41774         (INLINE_CLONE_SYSCALL): Likewise.
41775
41776 2012-03-05  David S. Miller  <davem@davemloft.net>
41777
41778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41779
41780 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41781
41782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41783
41784         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41785         only for |x| >= 40.
41786         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41787
41788 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41789
41790         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41791         Replace gettimeofday with __vdso_gettimeofday.
41792
41793         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41794         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41795         __vdso_clock_gettime and __vdso_getcpu.
41796
41797         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41798         time with __vdso_time.
41799
41800 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41801
41802         * manual/lang.texi (size_t): Note types to which size_t may be
41803         equivalent with the GNU C Library, but do not describe when
41804         differences between them are significant.
41805
41806 2012-03-05  Andreas Jaeger  <aj@suse.de>
41807
41808         * sysdeps/i386/fpu/libm-test-ulps: Update.
41809
41810 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41811
41812         [BZ #3976]
41813         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41814         (__ieee754_pow): Save and restore rounding mode and use
41815         round-to-nearest for main computations.
41816         * math/libm-test.inc (pow_test_tonearest): New function.
41817         (pow_test_towardzero): Likewise.
41818         (pow_test_downward): Likewise.
41819         (pow_test_upward): Likewise.
41820         (main): Call the new functions.
41821         * sysdeps/i386/fpu/libm-test-ulps: Update.
41822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41823
41824         [BZ #3976]
41825         * math/libm-test.inc (cosh_test_tonearest): New function.
41826         (cosh_test_towardzero): Likewise.
41827         (cosh_test_downward): Likewise.
41828         (cosh_test_upward): Likewise.
41829         (sinh_test_tonearest): Likewise.
41830         (sinh_test_towardzero): Likewise.
41831         (sinh_test_downward): Likewise.
41832         (sinh_test_upward): Likewise.
41833         (main): Call the new functions.
41834         * sysdeps/i386/fpu/libm-test-ulps: Update.
41835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41836
41837 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41838
41839         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41840         default stack guard is set in last bytes.
41841         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41842
41843 2012-03-05  Kees Cook  <keescook@chromium.org>
41844
41845         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41846
41847         [BZ #13656]
41848         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41849         possibly allocate from heap instead of stack.
41850         * stdio-common/bug-vfprintf-nargs.c: New file.
41851         * stdio-common/Makefile (tests): Add nargs overflow test.
41852
41853 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41854
41855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41856
41857 2012-03-03  Marek Polacek  <polacek@redhat.com>
41858
41859         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41860         * math/math_private.h: Likewise.
41861         * stdlib/tst-strtod.c: Likewise.
41862         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41863         * sysdeps/x86_64/bits/atomic.h: Likewise.
41864
41865 2012-03-02  David S. Miller  <davem@davemloft.net>
41866
41867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41871         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41872         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41873         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41874         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41875
41876 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41877
41878         [BZ #13792]
41879         * manual/examples/README: New file, says the example source files
41880         can be used under GPL>=2.
41881         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41882         line containing just "*/".
41883         * manual/examples/add.c: Add copyright header (GPL>=2).
41884         * manual/examples/argp-ex1.c: Likewise.
41885         * manual/examples/argp-ex2.c: Likewise.
41886         * manual/examples/argp-ex3.c: Likewise.
41887         * manual/examples/argp-ex4.c: Likewise.
41888         * manual/examples/atexit.c: Likewise.
41889         * manual/examples/db.c: Likewise.
41890         * manual/examples/dir.c: Likewise.
41891         * manual/examples/dir2.c: Likewise.
41892         * manual/examples/execinfo.c: Likewise.
41893         * manual/examples/filecli.c: Likewise.
41894         * manual/examples/filesrv.c: Likewise.
41895         * manual/examples/fmtmsgexpl.c: Likewise.
41896         * manual/examples/genpass.c: Likewise.
41897         * manual/examples/inetcli.c: Likewise.
41898         * manual/examples/inetsrv.c: Likewise.
41899         * manual/examples/isockad.c: Likewise.
41900         * manual/examples/longopt.c: Likewise.
41901         * manual/examples/memopen.c: Likewise.
41902         * manual/examples/memstrm.c: Likewise.
41903         * manual/examples/mkfsock.c: Likewise.
41904         * manual/examples/mkisock.c: Likewise.
41905         * manual/examples/mygetpass.c: Likewise.
41906         * manual/examples/pipe.c: Likewise.
41907         * manual/examples/popen.c: Likewise.
41908         * manual/examples/rprintf.c: Likewise.
41909         * manual/examples/search.c: Likewise.
41910         * manual/examples/select.c: Likewise.
41911         * manual/examples/setjmp.c: Likewise.
41912         * manual/examples/sigh1.c: Likewise.
41913         * manual/examples/sigusr.c: Likewise.
41914         * manual/examples/stpcpy.c: Likewise.
41915         * manual/examples/strdupa.c: Likewise.
41916         * manual/examples/strftim.c: Likewise.
41917         * manual/examples/strncat.c: Likewise.
41918         * manual/examples/subopt.c: Likewise.
41919         * manual/examples/swapcontext.c: Likewise.
41920         * manual/examples/termios.c: Likewise.
41921         * manual/examples/testopt.c: Likewise.
41922         * manual/examples/testpass.c: Likewise.
41923         * manual/examples/timeval_subtract.c: Likewise.
41924
41925         [BZ #13792]
41926         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41927         function to ...
41928         * manual/timeval_subtract.c.texi: ... here, new file.
41929
41930 2012-03-02  David S. Miller  <davem@davemloft.net>
41931
41932         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41933
41934 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41935
41936         [BZ #3976]
41937         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41938         (__sin): Save and restore rounding mode and use round-to-nearest
41939         for all computations.
41940         (__cos): Save and restore rounding mode and use round-to-nearest
41941         for all computations.
41942         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41943         <fenv.h>.
41944         (tan): Save and restore rounding mode and use round-to-nearest for
41945         all computations.
41946         * math/libm-test.inc (cos_test_tonearest): New function.
41947         (cos_test_towardzero): Likewise.
41948         (cos_test_downward): Likewise.
41949         (cos_test_upward): Likewise.
41950         (sin_test_tonearest): Likewise.
41951         (sin_test_towardzero): Likewise.
41952         (sin_test_downward): Likewise.
41953         (sin_test_upward): Likewise.
41954         (tan_test_tonearest): Likewise.
41955         (tan_test_towardzero): Likewise.
41956         (tan_test_downward): Likewise.
41957         (tan_test_upward): Likewise.
41958         (main): Call the new functions.
41959         * sysdeps/i386/fpu/libm-test-ulps: Update.
41960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41961
41962         [BZ #10135]
41963         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41964         small n, then large n, before computing and testing k+n.
41965         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41967         Likewise.
41968         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41969         Likewise.
41970         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41971         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41972         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41973         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41974         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41975         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41977         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41978         * math/libm-test.inc (scalbn_test): Add more tests.
41979         (scalbln_test): Likewise.
41980
41981         * manual/filesys.texi (mode_t): Describe constraints on size and
41982         signedness, not exact equivalence to a particular type.
41983         (ino_t): Likewise.
41984         (ino64_t): Likewise.
41985         (dev_t): Likewise.
41986         (nlink_t): Likewise.
41987         (blkcnt_t): Likewise.
41988         (blkcnt64_t): Likewise.
41989         * manual/llio.texi (off_t): Likewise.
41990
41991         [BZ #3976]
41992         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41993         (__ieee754_exp): Save and restore rounding mode and use
41994         round-to-nearest for all computations.
41995         * math/libm-test.inc (exp_test_tonearest): New function.
41996         (exp_test_towardzero): Likewise.
41997         (exp_test_downward): Likewise.
41998         (exp_test_upward): Likewise.
41999         (main): Call the new functions.
42000         * sysdeps/i386/fpu/libm-test-ulps: Update.
42001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42002
42003 2012-03-01  Chris Demetriou  <cgd@google.com>
42004
42005         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42006         have predictable order.
42007
42008 2012-03-01  David S. Miller  <davem@davemloft.net>
42009
42010         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42011
42012         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42013         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42014         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42015         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42016
42017         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42018         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42019         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42021         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42022         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42023         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42024         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42025         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42026
42027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42028
42029         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42030         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42032
42033         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42034         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42035         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42036         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42037         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42038         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42039         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42040         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42041         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42042         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42043         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42044         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42045         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42046         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42047         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42049         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42050         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42051         * sysdeps/sparc/elf/configure: Regenerated.
42052
42053 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42054
42055         * configure.in (AS, LD): Require binutils 2.20 or later.
42056         * configure: Regenerated.
42057         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42058         as required minimum version.
42059         * INSTALL: Regenerated.
42060
42061         [BZ #2541]
42062         [BZ #4108]
42063         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42064         before squaring exponent.
42065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42066         bottom long double and 27 bits of top long double before squaring
42067         exponent.
42068         * math/libm-test.inc (erfc_test): Add more tests.
42069         * sysdeps/i386/fpu/libm-test-ulps: Update.
42070         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42072
42073 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42074
42075         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42076         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42077         containing bit-fields.
42078         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42079         * soft-fp/single.h (_FP_UNION_S): Likewise.
42080         * soft-fp/double.h (_FP_UNION_D): Likewise.
42081
42082 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42083
42084         [BZ #13786]
42085         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42086         not include ../strcmp.S.
42087         [USE_AS_STRNCASECMP_L]: Likewise.
42088         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42089         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42090         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42091         (__strncasecmp_l_ia32): Define as alias to
42092         __strncasecmp_l_nonascii.
42093
42094         [BZ #5794]
42095         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42096         * sysdeps/i386/fpu/libm-test-ulps: Update.
42097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42098
42099         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42101
42102 2012-02-29  Jeff Law  <law@redhat.com>
42103
42104         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42105         out of bounds read.
42106
42107 2012-02-29  Marek Polacek  <polacek@redhat.com>
42108
42109         [BZ #13706]
42110         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42111         * elf/Makefile: Add rules to run tst-unused-dep.out.
42112
42113 2012-02-28  David S. Miller  <davem@davemloft.net>
42114
42115         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42116         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42117         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42118         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42119         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42120         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42121
42122 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42123
42124         * math/libm-test.inc (llround_test): Move one test from
42125         lround_test.  Use TEST_f_L in moved test.
42126         (lround_test): Move misplaced test to llround_test.  Add testcase
42127         from bug 2561.
42128
42129 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42130
42131         * sysdeps/x86_64/fpu/e_expf.S: New file.
42132         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42133
42134 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42135
42136         [BZ #13637]
42137         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42138         of remain_len that may cause incomplete multi-byte character and
42139         false match.
42140         * posix/bug-regex33.c: New file.
42141         * posix/Makefile (tests): Add bug-regex33.
42142
42143 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42144
42145         * manual/macros.texi: New file.
42146         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42147         * manual/libc.texinfo: Include macros.texi.
42148         * manual/creatute.texi: Likewise.
42149         * manual/install.texi: Likewise.
42150         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42151         @glibcadj{} in references to the GNU C Library.
42152         * manual/charset.texi: Likewise.
42153         * manual/conf.texi: Likewise.
42154         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42155         when not using those macros.
42156         * manual/creature.texi: Likewise.
42157         * manual/crypt.texi: Likewise.
42158         * manual/errno.texi: Likewise.
42159         * manual/filesys.texi: Likewise.
42160         * manual/header.texi: Likewise.
42161         * manual/install.texi: Likewise.
42162         * manual/intro.texi: Likewise.
42163         * manual/io.texi: Likewise.
42164         * manual/job.texi: Likewise.
42165         * manual/lang.texi: Likewise.
42166         * manual/libc.texiinfo: Likewise.
42167         * manual/llio.texi: Likewise.
42168         * manual/locale.texi: Likewise.
42169         * manual/maint.texi: Likewise.
42170         * manual/math.texi: Likewise.
42171         * manual/memory.texi: Likewise.
42172         * manual/message.texi: Likewise.
42173         * manual/nss.texi: Likewise.
42174         * manual/pattern.texi: Likewise.
42175         * manual/process.texi: Likewise.
42176         * manual/resource.texi: Likewise.
42177         * manual/search.texi: Likewise.
42178         * manual/setjmp.texi: Likewise.
42179         * manual/signal.texi: Likewise.
42180         * manual/socket.texi: Likewise.
42181         * manual/startup.texi: Likewise.
42182         * manual/stdio.texi: Likewise.
42183         * manual/string.texi: Likewise.
42184         * manual/sysinfo.texi: Likewise.
42185         * manual/syslog.texi: Likewise.
42186         * manual/terminal.texi: Likewise.
42187         * manual/time.texi: Likewise.
42188         * manual/users.texi: Likewise.
42189         * INSTALL: Regenerated.
42190         * NOTES: Regenerated.
42191         * sysdeps/gnu/errlist.c: Regenerated.
42192
42193 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42194
42195         * include/dirent.h: Include <dirstream.h> before
42196         <dirent/dirent.h>.
42197
42198 2012-02-28  David S. Miller  <davem@davemloft.net>
42199
42200         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42201         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42202         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42203         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42204
42205 2012-02-27  David S. Miller  <davem@davemloft.net>
42206
42207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42209         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42210         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42211
42212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42213         frame pointer instead of stack pointer relative arg slot.
42214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42215         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42216         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42217
42218 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42219
42220         [BZ #3992]
42221         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42222
42223 2012-02-27  David S. Miller  <davem@davemloft.net>
42224
42225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42229         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42230         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42231         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42232         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42233
42234 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42235
42236         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42237         later.  Allow versions 5-9.
42238         * configure: Regenerated.
42239         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42240         required minimum version and 4.6 as recommended version.  Do not
42241         mention bugs in GCC 2.7 and 2.8.
42242         * INSTALL: Regenerated.
42243
42244 2012-02-27  David S. Miller  <davem@davemloft.net>
42245
42246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42250         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42251         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42252         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42253         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42254
42255         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42256         manipulate bits before adding and subtracting TWO112[sx].
42257         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42258
42259 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42260
42261         [BZ #13775]
42262         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42263         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42264         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42265         being in POSIX, because they are in 1003.1-2008.
42266
42267         * rt/tst-aio.c: Include <fcntl.h>.
42268         * rt/tst-aio7.c: Likewise.
42269         * rt/tst-aio64.c: Likewise.
42270
42271         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42272
42273 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42274
42275         * manual/install.texi (--with-headers): Describe headers as
42276         interface headers, not private headers.
42277         (Specific advice for GNU/Linux systems): Describe use of headers
42278         from "make headers_install", not private headers from older
42279         kernels.
42280         * INSTALL: Regenerated.
42281         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42282         Change to 2.6.19.
42283         * sysdeps/unix/sysv/linux/configure: Regenerated.
42284
42285         * manual/llio.texi (fclean): Remove documentation.
42286
42287         * manual/Makefile (libc-texi-generated): New variable.  Include
42288         version.texi.
42289         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42290         $(libc-texi-generated), not duplicated list of files.
42291         (version.texi, stamp-version): New rules.
42292         (realclean): Remove $(libc-texi-generated), not individual files
42293         from that list.  Do not remove dir-add.texinfo.
42294         * manual/libc.texinfo: Comment out uses of edition numbers and
42295         references to printed manual.  Remove last-updated dates.
42296         (EDITION): Comment out.
42297         (ISBN): Likewise.
42298         (VERSION, UPDATED): Remove.
42299         (version.texi): Include.
42300
42301 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42302
42303         * sysdeps/posix/spawni.c: Include <signal.h>.
42304         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42305         * sysdeps/pthread/aio_fsync.c: Likewise.
42306
42307 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42308
42309         * conform/Makefile (tests): Run only when not cross-compiling and
42310         when fast-check is not defined.
42311
42312         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42313         * conform/data/limits.h-data: Fixes for POSIX2008.
42314         * conform/run-conformtest.sh: Run all tests.
42315         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42316         headers.
42317         * include/bits/dlfcn.h: Likewise.
42318         * include/langinfo.h: Likewise.
42319         * include/monetary.h: Likewise.
42320         * include/sys/poll.h: Likewise.
42321
42322         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42323         for __USE_GNU.
42324         * posix/spawn.h: Define __need_sigset_t.
42325         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42326         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42327         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42328         to get sigevent_t only.
42329         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42330         only for __USE_GNU.
42331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42332         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42333         process_vm_writev only for __USE_GNU.
42334         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42335
42336         * conform/Makefile: For now ignore errors from run-conformtest.
42337         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42338         POSIX to avoid namespace pollution.  Don't prepend headers.
42339         * conform/data/aio.h-data: Fixes for POSIX testing.
42340         * conform/data/fcntl.h-data: Likewise.
42341         * conform/data/glob.h-data: Likewise.
42342         * conform/data/grp.h-data: Likewise.
42343         * conform/data/pthread.h-data: Likewise.
42344         * conform/data/pwd.h-data: Likewise.
42345         * conform/data/signal.h-data: Likewise.
42346         * conform/data/spawn.h-data: Likewise.
42347         * conform/data/stdio.h-data: Likewise.
42348         * conform/data/stdlib.h-data: Likewise.
42349         * conform/data/stropts.h-data: Likewise.
42350         * conform/data/sys/mman.h-data: Likewise.
42351         * conform/data/sys/stat.h-data: Likewise.
42352         * conform/data/sys/types.h-data: Likewise.
42353         * conform/data/sys/wait.h-data: Likewise.
42354         * conform/data/time.h-data: Likewise.
42355         * conform/data/unistd.h-data: Likewise.
42356         * conform/data/utime.h-data: Likewise.
42357
42358         * io/sys/stat.h: fchmod was always in POSIX.
42359         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42360         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42361         * rt/aio.h: Define __need_timespec before including <time.h>.
42362         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42363         struct.  Add forward declaration of pthread_attr_t and use it in
42364         sigevent.
42365         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42366         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42367         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42368         always remove CLK_TCK definition.
42369
42370 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42371
42372         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42373
42374 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42375
42376         * conform/run-conformtest.sh: New file.
42377         * conform/Makefile: Run run-conformtest for tests.
42378         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42379         support.
42380
42381         * conform/data/uchar.h-data: New file.
42382         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42383         * conform/data/arpa/inet.h-data: Likewise.
42384         * conform/data/assert.h-data: Likewise.
42385         * conform/data/complex.h-data: Likewise.
42386         * conform/data/cpio.h-data: Likewise.
42387         * conform/data/ctype.h-data: Likewise.
42388         * conform/data/dirent.h-data: Likewise.
42389         * conform/data/dlfcn.h-data: Likewise.
42390         * conform/data/errno.h-data: Likewise.
42391         * conform/data/fcntl.h-data: Likewise.
42392         * conform/data/float.h-data: Likewise.
42393         * conform/data/fmtmsg.h-data: Likewise.
42394         * conform/data/fnmatch.h-data: Likewise.
42395         * conform/data/ftw.h-data: Likewise.
42396         * conform/data/glob.h-data: Likewise.
42397         * conform/data/grp.h-data: Likewise.
42398         * conform/data/iconv.h-data: Likewise.
42399         * conform/data/inttypes.h-data: Likewise.
42400         * conform/data/langinfo.h-data: Likewise.
42401         * conform/data/libgen.h-data: Likewise.
42402         * conform/data/limits.h-data: Likewise.
42403         * conform/data/locale.h-data: Likewise.
42404         * conform/data/math.h-data: Likewise.
42405         * conform/data/monetary.h-data: Likewise.
42406         * conform/data/mqueue.h-data: Likewise.
42407         * conform/data/ndbm.h-data: Likewise.
42408         * conform/data/net/if.h-data: Likewise.
42409         * conform/data/netdb.h-data: Likewise.
42410         * conform/data/netinet/in.h-data: Likewise.
42411         * conform/data/nl_types.h-data: Likewise.
42412         * conform/data/poll.h-data: Likewise.
42413         * conform/data/pthread.h-data: Likewise.
42414         * conform/data/pwd.h-data: Likewise.
42415         * conform/data/regex.h-data: Likewise.
42416         * conform/data/sched.h-data: Likewise.
42417         * conform/data/search.h-data: Likewise.
42418         * conform/data/semaphore.h-data: Likewise.
42419         * conform/data/setjmp.h-data: Likewise.
42420         * conform/data/signal.h-data: Likewise.
42421         * conform/data/spawn.h-data: Likewise.
42422         * conform/data/stdarg.h-data: Likewise.
42423         * conform/data/stdio.h-data: Likewise.
42424         * conform/data/stdlib.h-data: Likewise.
42425         * conform/data/string.h-data: Likewise.
42426         * conform/data/strings.h-data: Likewise.
42427         * conform/data/stropts.h-data: Likewise.
42428         * conform/data/sys/ipc.h-data: Likewise.
42429         * conform/data/sys/mman.h-data: Likewise.
42430         * conform/data/sys/msg.h-data: Likewise.
42431         * conform/data/sys/resource.h-data: Likewise.
42432         * conform/data/sys/select.h-data: Likewise.
42433         * conform/data/sys/sem.h-data: Likewise.
42434         * conform/data/sys/shm.h-data: Likewise.
42435         * conform/data/sys/socket.h-data: Likewise.
42436         * conform/data/sys/stat.h-data: Likewise.
42437         * conform/data/sys/statvfs.h-data: Likewise.
42438         * conform/data/sys/time.h-data: Likewise.
42439         * conform/data/sys/timeb.h-data: Likewise.
42440         * conform/data/sys/times.h-data: Likewise.
42441         * conform/data/sys/types.h-data: Likewise.
42442         * conform/data/sys/uio.h-data: Likewise.
42443         * conform/data/sys/un.h-data: Likewise.
42444         * conform/data/sys/utsname.h-data: Likewise.
42445         * conform/data/sys/wait.h-data: Likewise.
42446         * conform/data/syslog.h-data: Likewise.
42447         * conform/data/tar.h-data: Likewise.
42448         * conform/data/termios.h-data: Likewise.
42449         * conform/data/utime.h-data: Likewise.
42450         * conform/data/utmpx.h-data: Likewise.
42451         * conform/data/varargs.h-data: Likewise.
42452         * conform/data/wchar.h-data: Likewise.
42453         * conform/data/wctype.h-data: Likewise.
42454         * conform/data/wordexp.h-data: Likewise.
42455
42456         * include/stropts.h: New file.
42457         * include/uchar.h: New file.
42458         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42459         * include/assert.h: Likewise.
42460         * include/ctype.h: Likewise.
42461         * include/dirent.h: Likewise.
42462         * include/dlfcn.h: Likewise.
42463         * include/fcntl.h: Likewise.
42464         * include/fnmatch.h: Likewise.
42465         * include/glob.h: Likewise.
42466         * include/grp.h: Likewise.
42467         * include/libio.h: Likewise.
42468         * include/locale.h: Likewise.
42469         * include/math.h: Likewise.
42470         * include/net/if.h: Likewise.
42471         * include/netdb.h: Likewise.
42472         * include/netinet/in.h: Likewise.
42473         * include/pthread.h: Likewise.
42474         * include/pwd.h: Likewise.
42475         * include/regex.h: Likewise.
42476         * include/sched.h: Likewise.
42477         * include/search.h: Likewise.
42478         * include/setjmp.h: Likewise.
42479         * include/signal.h: Likewise.
42480         * include/stdio.h: Likewise.
42481         * include/stdlib.h: Likewise.
42482         * include/string.h: Likewise.
42483         * include/sys/cdefs.h: Likewise.
42484         * include/sys/mman.h: Likewise.
42485         * include/sys/msg.h: Likewise.
42486         * include/sys/resource.h: Likewise.
42487         * include/sys/select.h: Likewise.
42488         * include/sys/socket.h: Likewise.
42489         * include/sys/stat.h: Likewise.
42490         * include/sys/statvfs.h: Likewise.
42491         * include/sys/time.h: Likewise.
42492         * include/sys/times.h: Likewise.
42493         * include/sys/uio.h: Likewise.
42494         * include/sys/utsname.h: Likewise.
42495         * include/sys/wait.h: Likewise.
42496         * include/termios.h: Likewise.
42497         * include/time.h: Likewise.
42498         * include/ulimit.h: Likewise.
42499         * include/unistd.h: Likewise.
42500         * include/utime.h: Likewise.
42501         * include/wchar.h: Likewise.
42502         * include/wctype.h: Likewise.
42503         * include/wordexp.h: Likewise.
42504
42505         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42506
42507         * time/time.h: TIME_UTC must be a macro.
42508         Make timespec_get available for ISO C11 only as well.
42509
42510 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42511
42512         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42513         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42514
42515 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42516
42517         * configure.in: Use -o not -a in test for unsupported multi-arch.
42518
42519 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42520
42521         * manual/texinfo.tex: Update to version 2012-01-19.16.
42522
42523 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42524
42525         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42526
42527 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42528
42529         [BZ #13738]
42530         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42531         * manual/fdl-1.3.texi: New file.
42532         * manual/fdl-1.1.texi: File removed.
42533
42534         [BZ #13738]
42535         * manual/libc.texinfo (FDL_VERSION): New @set.
42536         Use it for mention of FDL in cover text.
42537         (Documentation License): Use it in @include file name.
42538
42539 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42540             Roland McGrath  <roland@hack.frob.com>
42541
42542         [BZ #5461]
42543         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42544         (not LONG_LONG_MAX and LONG_LONG_MIN.
42545         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42546         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42547         name.
42548         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42549
42550 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42551
42552         [BZ #2547]
42553         [BZ #11365]
42554         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42555         manipulate bits before adding and subtracting TWO23[sx].
42556         * math/libm-test.inc (nearbyint_test): Add more tests.
42557
42558 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42559
42560         [BZ #2548]
42561         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42562         bits before adding and subtracting TWO23[sx].
42563         * math/libm-test.inc (rint_test): Add more tests.
42564         (rint_test_tonearest): Likewise.
42565         (rint_test_towardzero): Likewise.
42566         (rint_test_downward): Likewise.
42567         (rint_test_upward: Likewise.
42568
42569 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42570
42571         [BZ #10110]
42572         * include/stdc-predef.h: New file.  Extracted from features.h.
42573         * include/features.h: Include stdc-predef.h.
42574         * Makefile (headers): Add stdc-predef.h.
42575         * CONFORMANCE (Compiler limitations): Update.
42576
42577 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42578
42579         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42580
42581 2012-02-21  David S. Miller  <davem@davemloft.net>
42582
42583         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42584         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42585
42586 2012-02-20  David S. Miller  <davem@davemloft.net>
42587
42588         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42589         using a normal save/restore sequence, rather than allocating a
42590         dummy stack frame just to store a frame pointer and restore.
42591         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42592
42593 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42594
42595         * manual/install.texi: Fix stray word in line-wrapped comment.
42596
42597 2012-02-20  David S. Miller  <davem@davemloft.net>
42598
42599         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42600         both binutils and gcc support GOTDATA.
42601
42602         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42603         "rd %pc" in the PIC register setup sequences.
42604
42605         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42606         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42607         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42608         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42609         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42611         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42612         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42614         (SYSCALL_ERROR_HANDLER): Likewise.
42615         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42616         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42617         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42618         (SYSCALL_ERROR_HANDLER): Likewise.
42619
42620         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42621         (HAVE_GCC_GOTDATA): New.
42622         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42623         relocation support in both binutils and gcc.
42624         * sysdeps/sparc/elf/configure: Regenerate.
42625
42626         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42627         * sysdeps/sparc/sparc32/elf/configure: Delete.
42628         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42629         * sysdeps/sparc/sparc64/elf/configure: Delete.
42630         * sysdeps/sparc/elf/configure.in: New file.
42631         * sysdeps/sparc/elf/configure: Generate.
42632
42633         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42634         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42635         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42636         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42637         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42638
42639 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42640
42641         * manual/install.texi: Do not mention specific glibc version
42642         numbers.
42643         * manual/libc.texinfo (VERSION, UPDATED): Update.
42644         (@copying): Use @copyright{} and range of years.
42645
42646 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42647
42648         [BZ #13695]
42649         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42650         [crti.S not in sysdirs] (generated): Do not append.
42651         [crti.S not in sysdirs] (omit-deps): Likewise.
42652         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42653         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42654         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42655         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42656         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42657         Likewise.
42658         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42659         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42660         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42661         * csu/defs.awk: Remove file.
42662         * sysdeps/generic/initfini.c: Likewise.
42663         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42664         variable.
42665         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42666         Likewise.
42667
42668 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42669
42670         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42671         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42672         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42673         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42674         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42675         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42676         <bits/epoll.h>.
42677         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42678         (__EPOLL_PACKED): Define to empty if not defined by
42679         <bits/epoll.h>.
42680         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42682         bits/epoll.h.
42683
42684 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42685
42686         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42687         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42688         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42689         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42690         <bits/timerfd.h>.
42691         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42693         bits/timerfd.h.
42694
42695 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42696
42697         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42698         in C locale.
42699         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42700         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42701         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42703
42704 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42705
42706         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42707         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42708
42709 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42710
42711         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42712         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42713         defined.
42714         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42715         Likewise.
42716         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42717         entry for 2.16.
42718
42719 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42720
42721         * math/w_acos.c: Use non-signaling floating-point comparisons.
42722         * math/w_acosf.c: Likewise.
42723         * math/w_acosh.c: Likewise.
42724         * math/w_acoshf.c: Likewise.
42725         * math/w_acoshl.c: Likewise.
42726         * math/w_acosl.c: Likewise.
42727         * math/w_asin.c: Likewise.
42728         * math/w_asinf.c: Likewise.
42729         * math/w_asinl.c: Likewise.
42730         * math/w_atanh.c: Likewise.
42731         * math/w_atanhf.c: Likewise.
42732         * math/w_atanhl.c: Likewise.
42733         * math/w_exp2.c: Likewise.
42734         * math/w_exp2f.c: Likewise.
42735         * math/w_exp2l.c: Likewise.
42736         * math/w_j0.c: Likewise.
42737         * math/w_j0f.c: Likewise.
42738         * math/w_j0l.c: Likewise.
42739         * math/w_j1.c: Likewise.
42740         * math/w_j1f.c: Likewise.
42741         * math/w_j1l.c: Likewise.
42742         * math/w_jn.c: Likewise.
42743         * math/w_jnf.c: Likewise.
42744         * math/w_log.c: Likewise.
42745         * math/w_log10.c: Likewise.
42746         * math/w_log10f.c: Likewise.
42747         * math/w_log10l.c: Likewise.
42748         * math/w_log2.c: Likewise.
42749         * math/w_log2f.c: Likewise.
42750         * math/w_log2l.c: Likewise.
42751         * math/w_logf.c: Likewise.
42752         * math/w_logl.c: Likewise.
42753         * math/w_sqrt.c: Likewise.
42754         * math/w_sqrtf.c: Likewise.
42755         * math/w_sqrtl.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42758         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42759         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42760         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42761
42762 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42763
42764         [BZ #9739]
42765         * manual/string.texi (strnlen): Use correct parameter name in
42766         equivalent expression.
42767
42768 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42769
42770         [BZ #11174]
42771         * manual/users.texi (seteuid): Consistently use neweuid for
42772         argument name.
42773
42774 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42775
42776         [BZ #13704]
42777         * manual/nss.texi (Services in the NSS configuration): Correct
42778         list of services in example configuration file.
42779
42780 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42781
42782         [BZ #11322]
42783         * manual/arith.texi: Remove statements about negative zero
42784         behaving identically to zero.
42785
42786 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42787
42788         [BZ #5993]
42789         * manual/install.texi: Do not document upgrading from libc5.
42790
42791 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42792
42793         [BZ #4596]
42794         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42795
42796 2012-02-18  David S. Miller  <davem@davemloft.net>
42797
42798         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42799         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42800         %o7 across the call.
42801         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42802         instead.
42803         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42804         SETUP_PIC_REG_LEAF.
42805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42806         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42807         * sysdeps/sparc/crtn.S: Likewise.
42808
42809 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42810
42811         * aout/Makefile: Remove.
42812
42813 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42814
42815         [BZ #13058]
42816         * manual/examples/argp-ex1.c (main): Format definition in GNU
42817         style.
42818         * manual/examples/argp-ex2.c (main): Likewise.
42819         * manual/examples/argp-ex3.c (main): Likewise.
42820         * manual/examples/argp-ex4.c (main): Likewise.
42821         * manual/examples/longopt.c (main): Use new-style prototype
42822         definition.
42823         * manual/examples/strncat.c (main): Specify return type and use
42824         (void) for arguments.
42825         * manual/examples/subopt.c (main): Use char **argv argument.
42826
42827 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42828
42829         [BZ #5077]
42830         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42831         rounding modes.
42832
42833 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42834
42835         [BZ #6907]
42836         * manual/string.texi (strchr): Change when strchrnul is
42837         recommended.
42838
42839 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42840
42841         [BZ #174]
42842         * manual/locale.texi (setlocale): Document LOCPATH.
42843
42844 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42845
42846         [BZ #10210]
42847         * manual/process.texi (execle): Move @dots{} before last argument.
42848
42849 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42850
42851         [BZ #12047]
42852         * manual/charset.texi (Generic Charset Conversion): Fix typo
42853         (LC_TYPE -> LC_CTYPE).
42854
42855 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42856
42857         [BZ #5805]
42858         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42859         (scalbnf): Likewise.
42860         (scalbnl): Likewise.
42861         (scalbln): Likewise.
42862         (scalblnf): Likewise.
42863         (scalblnl): Likewise.
42864         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42865         (vwarnx): Likewise.
42866         (verr): Likewise.
42867         (verrx): Likewise.
42868         * manual/filesys.texi (telldir): Use braces around return type.
42869         * manual/llio.texi (mmap): Add space after comma.
42870         (mmap64): Likewise.
42871         * manual/math.texi (jn): Use @var{} on parameter names.
42872         (jnf): Likewise.
42873         (jnl): Likewise.
42874         (yn): Likewise.
42875         (ynf): Likewise.
42876         (ynl): Likewise.
42877         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42878         line.
42879         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42880         "...".
42881         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42882         (sched_get_priority_max): Likewise.
42883         * manual/signal.texi (sigvec): Add space after comma.
42884         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42885         names.
42886         (if_indextoname): Likewise.
42887         (if_freenameindex): Likewise.
42888         (sendto): Use ',' instead of '.' in prototype.
42889         * manual/startup.texi (syscall): Use @dots{} instead of literal
42890         "...".
42891         * manual/stdio.texi (__fpending): Separate initial words of
42892         paragraph from @deftypefun line.
42893         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42894         "...".
42895         (vsyslog): Use @var{} on parameter names.
42896         * manual/terminal.texi (stty): Use @var{} on parameter names.
42897         * manual/users.texi (getutmp): Use @var{} on parameter names.
42898         (getutmpx): Likewise.
42899
42900 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42901
42902         [BZ #6884]
42903         * manual/stdio.texi (fopen): Fix typos in description of
42904         ",ccs=STRING".
42905
42906 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42907
42908         [BZ #4026]
42909         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42910         get clock_id definition.
42911
42912 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42913
42914         [BZ #4822]
42915         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42916         (madvise): Cast every argument to void on its own.
42917
42918 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42919
42920         [BZ #9902]
42921         * manual/startup.texi (Exit Status): Fix typo.
42922
42923 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42924
42925         [BZ #10140]
42926         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42927         * manual/examples/argp-ex2.c: Likewise.
42928         * manual/examples/argp-ex3.c: Likewise.
42929
42930 2012-02-16  Richard Henderson  <rth@redhat.com>
42931
42932         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42933         * sysdeps/s390/s390-32/initfini.c: Remove.
42934         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42935         * sysdeps/s390/s390-64/initfini.c: Remove.
42936
42937 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42938
42939         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42940         compiler output for sysdeps/generic/initfini.c.
42941         * sysdeps/sh/elf/initfini.c: Remove file.
42942
42943 2012-02-16  David S. Miller  <davem@davemloft.net>
42944
42945         [BZ #11494]
42946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42947
42948         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42949         * sysdeps/sparc/crti.S: New file.
42950         * sysdeps/sparc/crtn.S: New file.
42951         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42952         * sysdeps/sparc/sparc64/Makefile: Likewise.
42953
42954 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42955
42956         [BZ #3335]
42957         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42958
42959 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42960
42961         [BZ #4822]
42962         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42963
42964         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42965         (write, read, close): Likewise.
42966         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42967
42968 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42969
42970         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42971         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42972         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42973         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42974         <bits/signalfd.h>.
42975         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42977         bits/signalfd.h.
42978
42979 2012-02-14  Marek Polacek  <polacek@redhat.com>
42980
42981         * sysdeps/x86_64/crti.S: New file.
42982         * sysdeps/x86_64/crtn.S: New file.
42983         * sysdeps/x86_64/elf/initfini.c: Remove file.
42984
42985 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42986
42987         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42988         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42989         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42990         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42991         <bits/inotify.h>.
42992         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42994         bits/inotify.h.
42995
42996 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42997
42998         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42999         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43000         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43001         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43002         <bits/eventfd.h>.
43003         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43005         bits/eventfd.h.
43006
43007 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43008
43009         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43010         __feraiseexcept instead of feraiseexcept.
43011
43012         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43013         nanosleep invocations.
43014         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43015         strings, and add error checking for a nanosleep invocations.
43016
43017 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43018
43019         Replace FSF snail mail address with URLs, as per GNU coding standards.
43020         Most of the snail mail addresses were wrong anyway, and omitting
43021         them makes the source code easier to maintain.  Almost all of the
43022         changes are to license notices and to locale LC_IDENTIFICATION
43023         addresses, except for this one:
43024         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43025         not its snail mail address.
43026
43027 2012-02-09  Richard Henderson  <rth@twiddle.net>
43028
43029         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43030         of kernel-features.h.
43031
43032         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43033
43034 2012-02-08  Marek Polacek  <polacek@redhat.com>
43035
43036         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43037         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43038         * sysdeps/gnu/_G_config.h: Likewise.
43039         * sysdeps/generic/_G_config.h: Likewise.
43040
43041 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43042
43043         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43044         tests.
43045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43046
43047         * sysdeps/powerpc/powerpc32/crti.S: New file.
43048         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43049         * sysdeps/powerpc/powerpc64/crti.S: New file.
43050         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43051
43052         * Makeconfig (have-initfini): Don't set.
43053         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43054         * configure.in (nopic_initfini): Don't substitute.
43055         * config.h.in (HAVE_INITFINI): Don't #undef.
43056         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43057         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43058
43059 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43060
43061         Support crti.S and crtn.S provided directly by architectures.
43062         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43063         [crti.S in sysdirs] (omit-deps): Likewise.
43064         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43065         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43066         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43067         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43068         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43069         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43070         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43071         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43072         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43073         compiler output for sysdeps/generic/initfini.c.
43074         * sysdeps/i386/elf/Makefile: Remove file.
43075         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43076
43077 2012-02-07  Marek Polacek  <polacek@redhat.com>
43078
43079         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43080         * sysdeps/gnu/_G_config.h: Likewise.
43081         * sysdeps/mach/hurd/_G_config.h: Likewise.
43082
43083 2012-02-07  Marek Polacek  <polacek@redhat.com>
43084
43085         * math/Makefile (tests): Add tst-CMPLX2.
43086         * math/tst-CMPLX2.c: New file.
43087
43088 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43089
43090         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43091
43092         * math/libm-test.inc (jn_test): Add missing L suffix.
43093
43094 2012-02-06  Marek Polacek  <polacek@redhat.com>
43095
43096         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43097         * sysdeps/i386/fpu/e_powf.S: Likewise.
43098         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43099         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43100         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43101         * sysdeps/i386/fpu/e_pow.S: Likewise.
43102         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43103         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43104         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43105         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43106         * sysdeps/i386/fpu/e_log2.S: Likewise.
43107         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43108         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43109         * sysdeps/i386/fpu/e_powl.S: Likewise.
43110         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43111         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43112         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43113         * sysdeps/i386/fpu/e_logl.S: Likewise.
43114         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43115         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43116         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43117         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43118         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43119         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43120         * sysdeps/i386/fpu/e_log.S: Likewise.
43121         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43122         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43123         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43124         * sysdeps/i386/fpu/e_logf.S: Likewise.
43125         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43126         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43127         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43128         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43129         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43130         * sysdeps/i386/fpu/e_log10.S: Likewise.
43131         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43132         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43133         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43134         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43135         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43136         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43137         * sysdeps/i386/asm-syntax.h: Likewise.
43138         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43139         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43140         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43141         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43142         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43143         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43144         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43145         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43146         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43147         * sysdeps/powerpc/sysdep.h: Likewise.
43148         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43149         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43150
43151 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43152
43153         [BZ #411]
43154         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43155
43156 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43157
43158         * sysdeps/i386/sysdep.h: Include <features.h>.
43159         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43160         version.
43161
43162 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43163
43164         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43165         Define.
43166         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43167         LOAD_PIC_REG_STR.
43168
43169 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43170
43171         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43172         (SETUP_PIC_REG): Use GET_PC_THUNK.
43173         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43174         macro.
43175
43176 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43177
43178         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43179         for non-PIC compilation.
43180         (SETUP_PIC_REG): Add .p2align directive.
43181         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43182         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43183         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43184         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43185         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43186         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43187         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43188         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43189         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43190         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43191         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43192         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43193         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43194         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43195         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43196         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43197         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43198         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43199         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43200         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43201         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43202         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43203         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43204         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43207         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43208         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43209         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43210         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43211         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43213         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43214         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43215         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43216         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43217         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43218         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43219         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43220         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43221         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43222
43223 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43224
43225         * math/tst-CMPLX.c: Include <stdio.h>.
43226
43227 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43228
43229         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43230         float.
43231         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43232         * sysdeps/sparc/bits/mathdef.h: Likewise.
43233
43234 2012-01-31  Marek Polacek  <polacek@redhat.com>
43235
43236         * libio/libio.h: Don't define _PARAMS.
43237         * locale/programs/config.h: Don't define PARAMS.
43238         * stdlib/strtol_l.c: Likewise.
43239         (__strtol_l): Remove PARAMS from the prototype.
43240
43241 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43242
43243         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43244         names.  Just use the correct names.  Remove unnecessary wrapper
43245         functions.
43246         * malloc/arena.c: Likewise.
43247         * malloc/hooks.c: Likewise.
43248
43249         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43250         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43251         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43252
43253 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43254
43255         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43256         into tail calls.
43257         (update_get_addr): New function.
43258         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43259         GET_ADDR_MODULE parameter.
43260
43261 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43262
43263         * crypt/cert.c: Remove __STDC__ conditionals.
43264         * crypt/crypt-entry.c: Likewise.
43265         * crypt/crypt_util.c: Likewise.
43266         * libio/filedoalloc.c: Likewise.
43267         * libio/fileops.c: Likewise.
43268         * libio/genops.c: Likewise.
43269         * libio/iofclose.c: Likewise.
43270         * libio/iofdopen.c: Likewise.
43271         * libio/iofopen.c: Likewise.
43272         * libio/iofopen64.c: Likewise.
43273         * libio/iogetdelim.c: Likewise.
43274         * libio/iopopen.c: Likewise.
43275         * libio/obprintf.c: Likewise.
43276         * libio/oldfileops.c: Likewise.
43277         * libio/oldiofclose.c: Likewise.
43278         * libio/oldiofdopen.c: Likewise.
43279         * libio/oldiofopen.c: Likewise.
43280         * libio/oldiopopen.c: Likewise.
43281         * libio/wfiledoalloc.c: Likewise.
43282         * libio/wgenops.c: Likewise.
43283         * locale/programs/xmalloc.c: Likewise.
43284         * misc/syslog.c: Likewise.
43285         * stdio-common/xbug.c: Likewise.
43286         * string/memchr.c: Likewise.
43287         * string/memcmp.c: Likewise.
43288         * string/memrchr.c: Likewise.
43289         * string/rawmemchr.c: Likewise.
43290         * sysdeps/posix/getcwd.c: Likewise.
43291         * time/strftime_l.c: Likewise.
43292
43293 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43294
43295         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43296         * config.make.in (config-cflags-sse2avx): Define.
43297         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43298         Fix typo.
43299
43300 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43301
43302         * scripts/config.guess: Update from upstream config git repository.
43303         * scripts/config.sub: Likewise.
43304
43305 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43306
43307         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43308         (EM_NUM): Update.
43309         (R_TILEPRO_*, R_TILEGX_*): New macros.
43310
43311         * scripts/firstversions.awk: Fix bug in version range handling.
43312
43313         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43314
43315         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43316
43317         * include/sys/epoll.h: New file.
43318         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43319         libc_hidden_def.
43320
43321 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43322
43323         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43324         Avoid unnecessary __WORDSIZE == 64 test.
43325         (fmaxf): Use VEX format if possible.
43326         (fmax): Likewise.
43327         (fminf): Likewise.
43328         (fmin): Likewise.
43329
43330         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43331         * math/math_private.h: Remove libc_fegetround* and
43332         libc_fesetround*.
43333         * sysdeps/i386/configure.in: Check for -msse2avx.
43334         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43335         also if SSE2AVX is defined.
43336         Remove libc_fegetround* and libc_fesetround*.
43337         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43338         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43340         of HAS_YMM_USABLE.
43341         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43342         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43343         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43344         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43345         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43346
43347         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43348
43349 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43350
43351         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43352         size is not set.
43353         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43354
43355 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43356
43357         [BZ #13618]
43358         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43359         relocation.
43360         * Makeconfig (libm): Define.
43361         * elf/Makefile: Add rules to build and run tst-relsort1.
43362         * elf/tst-relsort1.c: New file.
43363         * elf/tst-relsort1mod1.c: New file.
43364         * elf/tst-relsort1mod2.c: New file.
43365
43366 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43367
43368         * math/s_ldexp.c: Remove __STDC__ conditionals.
43369         * math/s_ldexpf.c: Likewise.
43370         * math/s_ldexpl.c: Likewise.
43371         * math/s_nextafter.c: Likewise.
43372         * math/s_nexttowardf.c: Likewise.
43373         * math/s_significand.c: Likewise.
43374         * math/s_significandf.c: Likewise.
43375         * math/s_significandl.c: Likewise.
43376         * math/w_jnl.c: Likewise.
43377         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43378         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43379         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43380         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43381         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43382         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43383         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43384         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43385         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43386         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43387         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43388         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43389         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43390         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43391         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43392         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43393         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43394         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43395         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43396         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43397         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43398         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43399         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43400         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43401         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43402         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43403         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43404         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43405         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43406         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43407         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43408         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43409         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43410         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43411         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43412         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43413         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43414         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43415         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43416         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43417         * sysdeps/ieee754/k_standard.c: Likewise.
43418         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43419         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43420         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43421         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43422         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43423         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43424         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43425         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43426         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43427         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43428         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43429         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43430         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43431         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43432         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43433         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43435         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43436         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43437         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43438         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43439         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43440         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43441         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43442         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43443         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43444         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43445         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43447         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43448         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43449         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43450         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43451         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43452         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43453         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43454         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43455         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43456         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43457         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43458         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43460         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43461         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43462         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43463         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43464         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43465         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43466         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43467         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43468         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43469         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43470         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43471         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43472         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43473         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43474         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43475         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43476         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43477         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43478         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43479         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43480         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43482         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43483         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43484         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43485         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43486         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43487         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43488         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43489         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43490         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43491         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43492         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43493         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43494         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43495         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43496         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43497         * sysdeps/ieee754/s_matherr.c: Likewise.
43498         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43499         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43500         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43501         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43502
43503 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43504
43505         * crypt/md5.h: Remove __STDC__ conditionals.
43506         * libio/libioP.h: Likewise.
43507         * locale/programs/config.h: Likewise.
43508         * sysdeps/generic/sysdep.h: Likewise.
43509         * sysdeps/i386/asm-syntax.h: Likewise.
43510         * sysdeps/s390/asm-syntax.h: Likewise.
43511         * sysdeps/unix/sysdep.h: Likewise.
43512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43514
43515 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43516
43517         * libio/libio.h: Remove __STDC__ conditionals.
43518         * malloc/obstack.h: Likewise.
43519         * math/complex.h: Likewise.
43520         * math/math.h: Likewise.
43521         * sysdeps/generic/_G_config.h: Likewise.
43522         * sysdeps/gnu/_G_config.h: Likewise.
43523         * sysdeps/mach/hurd/_G_config.h: Likewise.
43524         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43525         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43526         * sysdeps/sparc/bits/mathdef.h: Likewise.
43527
43528 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43529
43530         [BZ #13583]
43531         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43532         Clean up HAS_* macros.
43533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43534         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43535         possible.
43536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43537         HAS_AVX.
43538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43539         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43540         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43541         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43542         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43543
43544 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43545
43546         * elf/tst-unique3.cc (gets): Remove declaration.
43547         * elf/tst-unique3lib.cc (gets): Likewise.
43548         * elf/tst-unique3lib2.cc (gets): Likewise.
43549         * elf/tst-unique4.cc (gets): Likewise.
43550
43551 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43552
43553         * include/stdio.h: Add C++ protection.  Add gets declarations and
43554         definitions.
43555         * debug/tst-chk1.c: Don't declare gets here.
43556         * stdio-common/tst-gets.c: Likewise.
43557
43558 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43559
43560         * posix/glob: Remove directory.
43561
43562 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43563
43564         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43565
43566 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43567
43568         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43569         of the non-standard EPFNOSUPPORT.
43570
43571 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43572
43573         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43574         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43575         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43576
43577 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43578
43579         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43580
43581 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43582
43583         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43584         transient errors.
43585         * nscd/grpcache.c (cache_addgr): Likewise.
43586         * nscd/hstcache.c (cache_addhst): Likewise.
43587         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43588         * nscd/pwdcache.c (cache_addpw): Likewise.
43589         * nscd/servicescache.c (cache_addserv): Likewise.
43590
43591 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43592
43593         * malloc/malloc.c: Various cleanups.
43594         * malloc/hooks.c: Likewise.
43595
43596         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43597         * stdlib/bug-fmtmsg1.c: New file.
43598
43599         * stdlib/fmtmsg.c (init): Add missing unlock.
43600         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43601
43602 2012-01-12  Marek Polacek  <polacek@redhat.com>
43603
43604         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43605         and _GNU_SOURCE.
43606
43607 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43608
43609         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43610         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43611         macro to ensure uniqueness of label name.
43612         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43613         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43614
43615 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43616
43617         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43618
43619         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43620         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43621         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43623
43624 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43625
43626         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43627
43628         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43629         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43630         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43631
43632         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43633
43634         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43635         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43636         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43638
43639         * math/bits/math-finite.h: Add ldexp support.
43640
43641 2012-01-10  Marek Polacek  <polacek@redhat.com>
43642
43643         * locale/programs/localedef.h (show_archive_content): Add noreturn
43644         attribute.
43645
43646 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43647
43648         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43649
43650 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43651
43652         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43653
43654         * io/Makefile (headers): Add bits/poll2.h.
43655
43656 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43657
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43659         typo #include statement.
43660
43661 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * include/sys/cdefs.h: Define __attribute_alloc_size.
43664         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43665         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43666         * elf/pldd.c: Likewise.
43667         * iconv/iconv_charmap.c: Likewise.
43668         * iconv/iconvconfig.c: Likewise.
43669         * iconv/strtab.c: Likewise.
43670         * locale/programs/locale.c: Likewise.
43671         * locale/programs/localedef.h: Likewise.
43672         * locale/programs/simple-hash.c: Likewise.
43673         * nscd/nscd.h: Likewise.
43674         * nss/makedb.c: Likewise.
43675         * sysdeps/generic/ldconfig.h: Likewise.
43676         * locale/programs/localedef.c: Remove xmalloc prototype.
43677         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43678
43679 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43680
43681         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43682         appropriate.
43683
43684 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43685
43686         * math/Makefile (tests): Add tst-CMPLX.
43687         * math/tst-CMPLX.c: New file.
43688
43689         * math/complex.h (CMPLXL): Fix typo.
43690
43691         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43692         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43693         GLIBC_2.16.
43694         * debug/tst-chk1.c: Add poll and ppoll tests.
43695         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43696         * include/sys/poll.h: Add hidden proto for ppoll.
43697         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43698         * sysdeps/mach/hurd/ppoll.c: Likewise.
43699         * io/ppoll.c: Likewise.
43700         * debug/poll_chk.c: New file.
43701         * debug/ppoll_chk.c: New file.
43702         * include/bits/poll2.h: New file.
43703         * io/bits/poll2.h: New file.
43704
43705         [BZ #1350]
43706         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43707
43708         * configure.in: static is always set to yes.  Remove.
43709         * config.make.in: Don't set build-static.
43710         * Makeconfig: Remove use of build-static.
43711         * dlfcn/Makefile: Likewise.
43712         * elf/Makefile: Likewise.
43713         * math/Makefile: Likewise.
43714         * misc/Makefile: Likewise.
43715         * nptl/Makefile: Likewise.
43716         * sysdeps/mach/hurd/Makefile: Likewise.
43717
43718         * configure.in: PWD_P is not used anymore.
43719         * config.make.in: Remove PWD_P entry.
43720
43721         * configure.in: Remove last remnants of RANLIB.
43722         No need to check for signed size_t anymore.
43723         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43724         and IA-64.
43725         Remove __builtin_expect test because we require at least gcc 3.4.
43726         * aclocal.m4: Likewise.
43727
43728         * wcsmbs/mbrtoc16.c: Implement using towc function.
43729         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43730         * wcsmbs/wcsmbsload.c: Likewise.
43731         * iconv/gconv_simple.c: Likewise.
43732         * iconv/gconv_int.h: Likewise.
43733         * iconv/gconv_builtin.h: Likewise.
43734         * iconv/iconv_prog.c: Remove CHAR16 handling.
43735
43736         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43737
43738         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43739
43740         * configure.in: Remove --with-elf and --enable-bounded options.
43741         Dont set base_machine for ia64.  More non-ELF conditions removed.
43742         Remove testing and setting of leading underscore information.
43743         * config.make.in (build-bounded): Set to no.
43744         * config.h.in: Remove NO_UNDERSCORES entry.
43745         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43746         them.
43747         * csu/start.c: Remove !NO_UNDERSCORE code.
43748         * locale/localeinfo.h: Likewise.
43749         * sysdeps/generic/machine-gmon.h: Likewise.
43750         * sysdeps/generic/sysdep.h: Likewise.
43751         * sysdeps/i386/sysdep.h: Likewise.
43752         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43753         * sysdeps/mach/sysdep.h: Likewise.
43754         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43755         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43756         * sysdeps/sh/sysdep.h: Likewise.
43757         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43758         * sysdeps/unix/i386/sysdep.S: Likewise.
43759         * sysdeps/unix/sparc/start.c: Likewise.
43760         * sysdeps/unix/sparc/sysdep.S: Likewise.
43761         * sysdeps/unix/sparc/sysdep.h: Likewise.
43762         * sysdeps/unix/start.c: Likewise.
43763         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43764         * sysdeps/x86_64/sysdep.h: Likewise.
43765
43766 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43767
43768         [BZ #13553]
43769         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43770         for non-gcc.
43771         * argp/argp-fmtstream.h: Use const instead __const.
43772         * argp/argp.h: Likewise.
43773         * assert/assert.h: Likewise.
43774         * bits/fenv.h: Likewise.
43775         * bits/sched.h: Likewise.
43776         * bits/sigset.h: Likewise.
43777         * bits/sigthread.h: Likewise.
43778         * catgets/nl_types.h: Likewise.
43779         * conform/data/pthread.h-data: Likewise.
43780         * crypt/crypt-private.h: Likewise.
43781         * crypt/crypt.h: Likewise.
43782         * crypt/crypt_util.c: Likewise.
43783         * ctype/ctype.h: Likewise.
43784         * debug/execinfo.h: Likewise.
43785         * debug/mbsnrtowcs_chk.c: Likewise.
43786         * debug/mbsrtowcs_chk.c: Likewise.
43787         * debug/wcsnrtombs_chk.c: Likewise.
43788         * debug/wcsrtombs_chk.c: Likewise.
43789         * debug/wcstombs_chk.c: Likewise.
43790         * dirent/dirent.h: Likewise.
43791         * dlfcn/dlfcn.h: Likewise.
43792         * elf/neededtest4.c: Likewise.
43793         * grp/grp.h: Likewise.
43794         * gshadow/gshadow.h: Likewise.
43795         * iconv/gconv.h: Likewise.
43796         * iconv/gconv_int.h: Likewise.
43797         * iconv/gconv_simple.c: Likewise.
43798         * iconv/iconv.h: Likewise.
43799         * iconv/loop.c: Likewise.
43800         * iconv/skeleton.c: Likewise.
43801         * include/aio.h: Likewise.
43802         * include/aliases.h: Likewise.
43803         * include/argz.h: Likewise.
43804         * include/arpa/inet.h: Likewise.
43805         * include/assert.h: Likewise.
43806         * include/dirent.h: Likewise.
43807         * include/dlfcn.h: Likewise.
43808         * include/execinfo.h: Likewise.
43809         * include/fcntl.h: Likewise.
43810         * include/fenv.h: Likewise.
43811         * include/glob.h: Likewise.
43812         * include/grp.h: Likewise.
43813         * include/libintl.h: Likewise.
43814         * include/mntent.h: Likewise.
43815         * include/netdb.h: Likewise.
43816         * include/pwd.h: Likewise.
43817         * include/rpc/netdb.h: Likewise.
43818         * include/sched.h: Likewise.
43819         * include/search.h: Likewise.
43820         * include/shadow.h: Likewise.
43821         * include/signal.h: Likewise.
43822         * include/stdio.h: Likewise.
43823         * include/stdlib.h: Likewise.
43824         * include/string.h: Likewise.
43825         * include/sys/socket.h: Likewise.
43826         * include/sys/stat.h: Likewise.
43827         * include/sys/statfs.h: Likewise.
43828         * include/sys/statvfs.h: Likewise.
43829         * include/sys/syslog.h: Likewise.
43830         * include/sys/time.h: Likewise.
43831         * include/sys/uio.h: Likewise.
43832         * include/time.h: Likewise.
43833         * include/unistd.h: Likewise.
43834         * include/utmp.h: Likewise.
43835         * include/wchar.h: Likewise.
43836         * include/wctype.h: Likewise.
43837         * inet/aliases.h: Likewise.
43838         * inet/arpa/inet.h: Likewise.
43839         * inet/netinet/ether.h: Likewise.
43840         * inet/netinet/in.h: Likewise.
43841         * intl/libintl.h: Likewise.
43842         * io/bits/fcntl2.h: Likewise.
43843         * io/fcntl.h: Likewise.
43844         * io/ftw.h: Likewise.
43845         * io/sys/poll.h: Likewise.
43846         * io/sys/stat.h: Likewise.
43847         * io/sys/statfs.h: Likewise.
43848         * io/sys/statvfs.h: Likewise.
43849         * io/utime.h: Likewise.
43850         * libio/bits/stdio.h: Likewise.
43851         * libio/bits/stdio2.h: Likewise.
43852         * libio/libio.h: Likewise.
43853         * libio/libioP.h: Likewise.
43854         * libio/stdio.h: Likewise.
43855         * locale/lc-ctype.c: Likewise.
43856         * locale/locale.h: Likewise.
43857         * login/utmp.h: Likewise.
43858         * malloc/arena.c: Likewise.
43859         * malloc/malloc.c: Likewise.
43860         * malloc/malloc.h: Likewise.
43861         * malloc/mcheck.c: Likewise.
43862         * malloc/mtrace.c: Likewise.
43863         * math/bits/mathcalls.h: Likewise.
43864         * math/fenv.h: Likewise.
43865         * math/math_private.h: Likewise.
43866         * misc/bits/error.h: Likewise.
43867         * misc/bits/syslog.h: Likewise.
43868         * misc/err.h: Likewise.
43869         * misc/error.h: Likewise.
43870         * misc/fstab.h: Likewise.
43871         * misc/mntent.h: Likewise.
43872         * misc/regexp.h: Likewise.
43873         * misc/search.h: Likewise.
43874         * misc/sgtty.h: Likewise.
43875         * misc/sys/mman.h: Likewise.
43876         * misc/sys/syslog.h: Likewise.
43877         * misc/sys/uio.h: Likewise.
43878         * misc/sys/xattr.h: Likewise.
43879         * misc/ttyent.h: Likewise.
43880         * nis/rpcsvc/ypclnt.h: Likewise.
43881         * nss/nss.h: Likewise.
43882         * posix/bits/unistd.h: Likewise.
43883         * posix/fnmatch.h: Likewise.
43884         * posix/glob.h: Likewise.
43885         * posix/sched.h: Likewise.
43886         * posix/spawn.h: Likewise.
43887         * posix/sys/wait.h: Likewise.
43888         * posix/unistd.h: Likewise.
43889         * posix/wordexp.h: Likewise.
43890         * pwd/pwd.h: Likewise.
43891         * resolv/netdb.h: Likewise.
43892         * resource/sys/resource.h: Likewise.
43893         * rt/aio.h: Likewise.
43894         * rt/bits/mqueue2.h: Likewise.
43895         * rt/mqueue.h: Likewise.
43896         * shadow/shadow.h: Likewise.
43897         * signal/signal.h: Likewise.
43898         * socket/send.c: Likewise.
43899         * socket/sendto.c: Likewise.
43900         * socket/sys/socket.h: Likewise.
43901         * stdio-common/printf.h: Likewise.
43902         * stdlib/bits/stdlib.h: Likewise.
43903         * stdlib/fmtmsg.h: Likewise.
43904         * stdlib/monetary.h: Likewise.
43905         * stdlib/stdlib.h: Likewise.
43906         * stdlib/ucontext.h: Likewise.
43907         * streams/stropts.h: Likewise.
43908         * string/argz.h: Likewise.
43909         * string/bits/string2.h: Likewise.
43910         * string/string.h: Likewise.
43911         * string/strings.h: Likewise.
43912         * sunrpc/rpc/auth.h: Likewise.
43913         * sunrpc/rpc/auth_des.h: Likewise.
43914         * sunrpc/rpc/clnt.h: Likewise.
43915         * sunrpc/rpc/netdb.h: Likewise.
43916         * sunrpc/rpc/pmap_clnt.h: Likewise.
43917         * sunrpc/rpc/xdr.h: Likewise.
43918         * sysdeps/generic/inttypes.h: Likewise.
43919         * sysdeps/generic/net/if.h: Likewise.
43920         * sysdeps/generic/sys/swap.h: Likewise.
43921         * sysdeps/gnu/net/if.h: Likewise.
43922         * sysdeps/gnu/utmpx.h: Likewise.
43923         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43924         * sysdeps/i386/i486/bits/string.h: Likewise.
43925         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43926         * sysdeps/s390/bits/string.h: Likewise.
43927         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43928         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43929         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43930         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43931         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43932         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43933         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43934         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43935         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43936         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43937         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43938         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43939         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43940         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43941         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43942         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43943         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43945         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43946         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43947         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43948         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43949         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43950         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43951         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43952         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43953         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43954         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43955         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43956         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43957         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43958         * sysvipc/sys/ipc.h: Likewise.
43959         * sysvipc/sys/msg.h: Likewise.
43960         * sysvipc/sys/sem.h: Likewise.
43961         * sysvipc/sys/shm.h: Likewise.
43962         * termios/termios.h: Likewise.
43963         * time/sys/time.h: Likewise.
43964         * time/time.h: Likewise.
43965         * wcsmbs/bits/wchar2.h: Likewise.
43966         * wcsmbs/uchar.h: Likewise.
43967         * wcsmbs/wchar.h: Likewise.
43968         * wctype/wctype.h: Likewise.
43969
43970         [BZ #13551]
43971         * Makeconfig: Remove all but ELF support including AIX support.
43972         * Makerules: Likewise.
43973         * config.h.in: Likewise.
43974         * config.make.in: Likewise.
43975         * configure: Likewise.
43976         * configure.in: Likewise.
43977         * csu/Makefile: Likewise.
43978         * csu/version.c: Likewise.
43979         * debug/Makefile: Likewise.
43980         * dlfcn/Makefile: Likewise.
43981         * elf/Makefile: Likewise.
43982         * extra-lib.mk: Likewise.
43983         * iconv/Makefile: Likewise.
43984         * include/libc-symbols.h: Likewise.
43985         * include/shlib-compat.h: Likewise.
43986         * resolv/Makefile: Likewise.
43987         * resolv/res_libc.c: Likewise.
43988         * rt/Makefile: Likewise.
43989         * sysdeps/i386/asm-syntax.h: Likewise.
43990         * sysdeps/i386/sysdep.h: Likewise.
43991         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43992         * sysdeps/mach/sysdep.h: Likewise.
43993         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43994         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43995         * sysdeps/s390/asm-syntax.h: Likewise.
43996         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43997         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43998         * sysdeps/sh/sysdep.h: Likewise.
43999         * sysdeps/unix/sparc/sysdep.h: Likewise.
44000         * sysdeps/wordsize-32/divdi3.c: Likewise.
44001         * sysdeps/x86_64/sysdep.h: Likewise.
44002
44003         * argp/Versions: Remove _argp_unlock_xxx.
44004
44005         [BZ #13559]
44006         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44007         * abilist/libBrokenLocale.abilist: Likewise.
44008         * abilist/libanl.abilist: Likewise.
44009         * abilist/libc.abilist: Likewise.
44010         * abilist/libcrypt.abilist: Likewise.
44011         * abilist/libdl.abilist: Likewise.
44012         * abilist/libm.abilist: Likewise.
44013         * abilist/libnsl.abilist: Likewise.
44014         * abilist/libpthread.abilist: Likewise.
44015         * abilist/libresolv.abilist: Likewise.
44016         * abilist/librt.abilist: Likewise.
44017         * abilist/libthread_db.abilist: Likewise.
44018         * abilist/libutil.abilist: Likewise.
44019         * abilist/libnss_db.abilist: New file.
44020
44021         * scripts/abilist.awk: Add support for indirect functions.
44022
44023         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44024
44025         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44026
44027         * shlib-versions: Remove entries for ports architectures.
44028
44029         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44030         files in ports.
44031         * elf/stackguard-macros.h: Remove support for IA-64.
44032         * elf/tst-auditmod1.c: Likewise.
44033         * sysdeps/generic/ldsodefs.h: Likewise.
44034
44035         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44036         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44037         configure files.
44038
44039         [BZ #13552]
44040         * configure.in: Remove --enable-omitfp support.
44041         * FAQ.in: Adjust.
44042         * config.make.in: Likewise.
44043         * Makeconfig: Likewise.
44044         * manual/install.texi: Likewise.
44045
44046         In case anyone cares, the IA-64 architecture could move to ports.
44047         * sysdeps/ia64/*: Removed.
44048         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44049         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44050
44051         [BZ #13555]
44052         * configure.in: Remove entries for unsupported architectures.
44053
44054         [BZ #13533]
44055         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44056         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44057         routines.
44058         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44059         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44060         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44061         fall back to using wcrtomb.
44062         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44063         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44064         renaming.
44065         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44066         * wcsmbs/tst-c16c32-1.c: New file.
44067
44068         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44069         local variable.
44070
44071         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44072
44073         * elf/tst-unique3.cc: Add explicit declaration of gets.
44074         * elf/tst-unique3lib.cc: Likewise.
44075         * elf/tst-unique3lib2.cc: Likewise.
44076         * elf/tst-unique4.cc: Likewise.
44077
44078         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44079
44080 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44081
44082         [BZ #13566]
44083         * assert/assert.h (static_assert): Don't define for C++.
44084         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44085         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44086
44087 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44088
44089         * iconv/loop.c (single loop): Fix assertion in storing of
44090         remaining bytes.
44091
44092         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44093
44094 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44095
44096         * posix/getconf.c: Update copyright year.
44097         * nss/getent.c: Likewise.
44098         * nss/makedb.c: Likewise.
44099         * iconv/iconvconfig.c: Likewise.
44100         * iconv/iconv_prog.c: Likewise.
44101         * elf/ldconfig.c: Likewise.
44102         * elf/pldd.c: Likewise.
44103         * elf/sotruss.ksh: Likewise.
44104         * catgets/gencat.c: Likewise.
44105         * csu/version.c: Likewise.
44106         * elf/ldd.bash.in: Likewise.
44107         * elf/sprof.c (print_version): Likewise.
44108         * locale/programs/locale.c: Likewise.
44109         * locale/programs/localedef.c: Likewise.
44110         * login/programs/pt_chown.c: Likewise.
44111         * nscd/nscd.c (print_version): Likewise.
44112         * debug/xtrace.sh: Likewise.
44113         * malloc/memusage.sh: Likewise.
44114         * malloc/mtrace.pl: Likewise.
44115         * debug/catchsegv.sh: Likewise.
44116
44117 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44118
44119         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44120         pure attribute.
44121
44122 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44123
44124         [BZ #13533]
44125         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44126         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44127         transformations.
44128         * iconv/gconv_int.h: Likewise.
44129         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44130         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44131         from libc for GLIBC_2.16.
44132         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44133         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44134         * wcsmbs/uchar.h: Really define mbstate_t.
44135         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44136         * wcsmbs/c16rtomb.c: New file.
44137         * wcsmbs/mbrtoc16.c: New file.
44138         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44139         for C/POSIX locale.
44140         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44141         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44142
44143         * wcsmbs/wchar.h: Add missing __restrict.
44144
44145 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44146
44147         [BZ #13532]
44148         * time/Makefile (routines): Add timespec_get.
44149         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44150         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44151         timespec for ISO C11.
44152         * time/timespec_get.c: New file.
44153         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44154         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44155
44156         [BZ #13531]
44157         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44158         * stdlib/stdlib.h: Declare aligned_alloc.
44159         * Versions.def: Add GLIBC_2.16 for libc.
44160         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44161
44162         [BZ 13527]
44163         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44164         ISO C11.
44165
44166         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44167         code.
44168
44169         [BZ #13528]
44170         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44171
44172         [BZ #13529]
44173         * assert/assert.h (static_assert): Define.
44174
44175         * version.h: Update for 2.16 development version.
44176
44177         [BZ #13526]
44178         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44179         _ISOC11_SOURCE.
44180
44181         * version.h (RELEASE): Bump for 2.15 release.
44182         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44183
44184         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44185         Patch by Marek Polacek <mpolacek@redhat.com>.
44186
44187         * bits/byteswap.h: Protect long long constants with __extension__.
44188         * sysdeps/i386/bits/byteswap.h: Likewise.
44189         * sysdeps/ia64/bits/byteswap.h: Likewise.
44190         * sysdeps/s390/bits/byteswap.h: Likewise.
44191         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44192
44193 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44194
44195         [BZ #13540]
44196         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44197         destination buffer.
44198         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44199
44200 2011-12-23  Marek Polacek  <polacek@redhat.com>
44201
44202         * elf/dl-addr.c (determine_info): Add inline keyword.
44203         * elf/tst-auditmod4b.c (check_avx): Likewise.
44204         * elf/tst-auditmod6b.c (check_avx): Likewise.
44205         * elf/tst-auditmod6c.c (check_avx): Likewise.
44206         * elf/tst-auditmod7b.c (check_avx): Likewise.
44207
44208 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44209
44210         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44211         !__SSE_MATH__.
44212
44213 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44214
44215         [BZ #13540]
44216         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44217         processing for last bytes.
44218
44219 2011-08-06  Bruno Haible  <bruno@clisp.org>
44220
44221         [BZ #13061]
44222         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44223         U+0385, not to U+1FEE.
44224
44225         [BZ #13062]
44226         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44227         entry for U+00A5 U+0301.
44228
44229 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44230
44231         [BZ #13166]
44232         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44233         buffer for the output is too small.
44234
44235         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44236         optimization.
44237
44238         [BZ #13185]
44239         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44240         SSE flags if possible.
44241
44242 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44243
44244         [BZ #13540]
44245         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44246         processing for last bytes.
44247
44248 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44249
44250         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44251         (syscall-list-default-options, syscall-list-default-condition)
44252         (syscall-list-includes): Define.
44253         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44254         list of ABIs and options and #if conditions for each ABI.  Do not
44255         handle common syscalls between ABIs specially.
44256         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44257         Remove.
44258         (syscall-list-variants, syscall-list-32bit-options)
44259         (syscall-list-32bit-condition, syscall-list-64bit-options)
44260         (syscall-list-64bit-condition): Define.
44261         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44262         (syscall-list-variants, syscall-list-32bit-options)
44263         (syscall-list-32bit-condition, syscall-list-64bit-options)
44264         (syscall-list-64bit-condition): Define.
44265         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44266         Remove.
44267         (syscall-list-variants, syscall-list-32bit-options)
44268         (syscall-list-32bit-condition, syscall-list-64bit-options)
44269         (syscall-list-64bit-condition): Define.
44270         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44271         Remove.
44272         (syscall-list-variants, syscall-list-32bit-options)
44273         (syscall-list-32bit-condition, syscall-list-64bit-options)
44274         (syscall-list-64bit-condition): Define.
44275
44276 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44277
44278         * locale/iso-639.def: Add brx entry.
44279
44280         [BZ #13328]
44281         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44282         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44283
44284         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44285         __feraiseexcept_renamed.
44286
44287 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44288
44289         [BZ #13538]
44290         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44291         EPOLLET with unsigned values.
44292         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44293         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44294
44295         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44296         to large cancellation.
44297         * math/s_cacoshf.c: Likewise.
44298         * math/s_cacoshl.c: Likewise.
44299
44300 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44301
44302         [BZ #13305]
44303         [BZ #12786]
44304         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44305         * math/s_cacoshf.c: Likewise.
44306         * math/s_cacoshl.c: Likewise.
44307
44308 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44309
44310         [BZ #13439]
44311         * iconv/gconv.h: Define __GCONV_SWAP.
44312         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44313         * iconvdata/utf-16.c: Likewise.
44314         * iconvdata/utf-32.c: Likewise.
44315
44316 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44317
44318         [BZ #13524]
44319         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44320         numerator after shifting it by one limb.
44321
44322 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44323
44324         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44325         under [__USE_EXTERN_INLINES].
44326
44327 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44328
44329         [BZ #13446]
44330         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44331
44332 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44333
44334         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44335         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44336         optimized code.
44337         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44338         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44339         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44340         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44341         for strncasecmp/strncasecmp_l compilation.
44342         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44343         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44344
44345 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44346
44347         [BZ #13484]
44348         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44349         of __asm__.
44350
44351 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44352
44353         [BZ #13506]
44354         * time/tzfile.c (__tzfile_read): Check values from file header.
44355
44356 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44357
44358         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44359         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44360         * powerpc/powerpc32/dl-start.S: Likewise.
44361         * powerpc/powerpc32/elf/start.S: Likewise.
44362         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44363         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44364         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44365         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44366         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44367         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44368         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44369         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44370         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44371         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44372         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44373         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44374         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44375         * powerpc/powerpc32/memset.S: Likewise.
44376         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44377         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44378         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44379         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44380         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44381         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44382         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44383         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44384         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44385         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44386         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44387         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44388         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44389
44390 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44391
44392         * math/libm-test.inc: Added more nearbyint tests.
44393         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44394         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44396         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44397
44398 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44399
44400         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44401         FD_CLOEXEC.
44402
44403 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44404
44405         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44406         Add wcscpy-ssse3 wcscpy-c.
44407         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44408         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44409         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44410         * sysdeps/x86_64/wcschr.S: New file.
44411         * sysdeps/x86_64/wcsrchr.S: New file.
44412         * string/test-strcmp.c: Remove checking of wcscmp function for
44413         wrong alignments.
44414         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44415         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44416         wcsrchr-sse2 wcsrchr-c.
44417         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44418         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44419         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44420         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44421         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44422         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44423         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44424         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44425         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44426         * wcsmbc/wcschr.c (WCSCHR): New macro.
44427
44428 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44429
44430         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44431         * wcsmbs/test-wcsrchr.c: New file.
44432         * string/test-strrchr.c: Add wcsrchr support.
44433         (WIDE): New macro.
44434         * wcsmbs/test-wcscpy.c: New file.
44435         * string/test-strcpy.c: Add wcscpy support.
44436         (WIDE): New macro.
44437
44438 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44439
44440         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44441         the inner loop.
44442
44443 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44444
44445         [BZ #13472]
44446         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44447
44448 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44449
44450         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44451         Minor optimizations.
44452
44453         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44454         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44455         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44456
44457 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44458
44459         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44460         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44461         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44462         for gcc to avoid warnings.
44463         * inet/Makefile (tests): Add tst-checks.
44464         * inet/tst-checks.c: New file.
44465
44466         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44467         warning.
44468
44469         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44470         __wmemcmp_sse2.
44471
44472         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44473         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44474
44475         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44476
44477 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44478
44479         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44480         problem.
44481
44482         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44483
44484 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44485
44486         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44487         conditional on GCC version.
44488         (__arch_compare_and_exchange_val_8_acq)
44489         (__arch_compare_and_exchange_val_16_acq)
44490         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44491         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44492         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44493
44494 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44495
44496         * sysdeps/sh/backtrace.c: New file.
44497
44498 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44499
44500         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44501         parenthesis.
44502
44503 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44504
44505         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44506         falling back to utime.
44507
44508 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44509
44510         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44511         expectations for float.
44512
44513 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44514
44515         * locale/weight.h (findidx): Add parameter len.
44516         * locale/weightwc.h (findidx): Likewise.
44517         * posix/fnmatch_loop.c (FCT): Adjust caller.
44518         * posix/regcomp.c (build_equiv_class): Likewise.
44519         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44520         * posix/regexec.c (check_node_accept_bytes): Likewise.
44521         * string/strcoll_l.c (STRCOLL): Likewise.
44522         * string/strxfrm_l.c (STRXFRM): Likewise.
44523
44524 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44525
44526         * Makefile.in: Remove CVSOPT handling.
44527         * configure.in: Remove use of AC_REVISION.
44528         * iconvdata/Makefile (distribute): No need to filter out CVS.
44529         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44530         handling.
44531
44532 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44533
44534         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44535         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44536         [USE_AS_STRNCASECMP_L]: Likewise.
44537         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44538         NO_TLS_DIRECT_SEG_REFS.
44539         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44540         Fix argument offsets for non-PIC.
44541         [USE_AS_STRNCASECMP_L]: Likewise.
44542         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44543         NO_TLS_DIRECT_SEG_REFS.
44544
44545 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44546
44547         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44548         O_CLOEXEC.
44549         * locale/loadlocale.c (_nl_load_locale): Likewise.
44550
44551 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44552
44553         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44554         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44555         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44556         (SYSCALL_GETTIME): Set errno on error.
44557
44558         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44559         count references to noai6ai_cached.
44560
44561 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44562
44563         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44564
44565         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44566         FD_CLOEXEC for /proc/self/maps.
44567
44568         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44569         FD_CLOEXEC for /proc/meminfo.
44570
44571         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44572         gai.conf.
44573
44574         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44575         FD_CLOEXEC for given file.
44576
44577         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44578
44579         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44580         FD_CLOEXEC for /etc/hosts.
44581         (_gethtent): Likewise.
44582
44583         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44584
44585         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44586         cancellation and set FD_CLOEXEC for /etc/netgroup.
44587
44588         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44589         reading /etc/publickey.
44590
44591         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44592         allow cancellation when reading /etc/group.
44593
44594         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44595         cancellation.
44596         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44597
44598         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44599         when using data file.
44600
44601         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44602
44603         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44604         (write_nis_obj): Use "c" and "e" in fopen.
44605
44606         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44607
44608         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44609
44610         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44611
44612         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44613
44614         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44615         locale.alias.
44616
44617         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44618
44619         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44620
44621         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44622
44623         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44624         file parsing and set FD_CLOEXEC.
44625
44626 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44627
44628         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44629
44630 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44631
44632         * malloc/arena.c (arena_get2): Don't call reused_arena when
44633         _int_new_arena failed.
44634
44635 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44636
44637         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44638         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44639         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44640         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44641         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44642         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44643         to compile strcasecmp and strncasecmp.
44644         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44645         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44646
44647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44648
44649 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44650
44651         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44652         locale-defines.sym to gen-as-const-headers.
44653         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44654         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44656         to compile strcasecmp and strncasecmp.
44657         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44658         strcasecmp_l and strncasecmp_l.
44659         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44660         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44661         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44662         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44663         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44664         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44665         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44666         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44667         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44668         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44669         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44670
44671 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44672
44673         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44674         result of SYSDEP_GETTIME_CPU to retval.
44675         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44676         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44677
44678         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44679         variable.
44680
44681         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44682         mantissa words.
44683         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44684
44685         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44686         from unused variable.
44687
44688         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44689         DWARF definitions.
44690         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44691         for assembling.
44692
44693         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44694         over namespaces.
44695
44696         * sunrpc/rpc_prot.c (rejected): Fix case value.
44697
44698         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44699         unsigned long long int to avoid warnings in shift.
44700
44701         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44702         of use of trans.
44703         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44704         variable tmp.
44705
44706         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44707         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44708         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44709
44710         * nis/nis_table.c (nis_list): Use variable of correct type for
44711         result of __follow_path call.
44712
44713 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44714
44715         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44716         of math functions ceil, trunc, floor, round, and sqrt, when
44717         avaliable on the platform.
44718         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44719         name clash.
44720         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44721         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44722         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44723
44724 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44725
44726         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44727         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44728
44729 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44730
44731         * include/unistd.h: Fix __readlink return type.
44732         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44733
44734 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44735
44736         * stdlib/ucontext.h: Undo last change for makecontext.
44737
44738 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44739
44740         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44741
44742         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44743         * setjmp/setjmp.h: Mark functions as non-leaf.
44744         * setjmp/bits/setjmp2.h: Likewise.
44745         * stdlib/ucontext.h: Likewise.
44746
44747 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44748
44749         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44750         (reused_arena): Don't check arena limit.
44751         (arena_get2): Atomically check arena limit.
44752
44753 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44754
44755         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44756         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44757
44758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44759         instructions.
44760
44761 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44762
44763         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44764         handler when locking.
44765
44766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44767         Fix size of allocated buffer.
44768
44769 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44770
44771         [BZ #10103]
44772         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44773         declarations for long double functions.
44774         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44775
44776         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44777
44778 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44779
44780         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44781         installed.
44782
44783         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44784         is disabled.
44785
44786 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44787
44788         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44789
44790 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44791
44792         * include/alloca.h (stackinfo_alloca_round): Define.
44793         (extend_alloca): Use it.
44794         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44795         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44796         here.
44797
44798         * scripts/check-local-headers.sh: Ignore libaudit.h.
44799
44800         * nscd/Makefile (extra-objs): Make recursively expanded.
44801
44802 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44803
44804         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44805         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44806
44807         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44808         * posix/tst-rfc3484-2.c: Likewise.
44809         * posix/tst-rfc3484-3.c: Likewise.
44810
44811         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44812         process_vm_writev.
44813         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44814         process_vm_writev.
44815         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44816         process_vm_writev from libc using GLIBC_2.15 version.
44817
44818         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44819
44820 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44821
44822         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44823         stack usage.
44824
44825 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44826
44827         [BZ #13367]
44828         * nss/getent.c (initgroups_keys): Show error message in case no group
44829         names are given.
44830
44831         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44832         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44833         __bump_nl_timestamp.
44834         * nscd/connections (nscd_init): When host database is served open
44835         netlink socket and request notification about configuration changes.
44836         (main_loop_poll): Track netlink file descriptor and bump timestamp
44837         in case data becomes available.
44838         (main_loop_epoll): Likewise.
44839         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44840         (database_pers_head): Add extra_data fileds.
44841         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44842         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44843         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44844         Adjust caller.
44845         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44846         in6ai data, call __free_in6ai.
44847         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44848         Add -DHAVE_NETLINK.
44849         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44850         interface information.  Reuse previous data if netlink timestamp
44851         is not changed.
44852         (__bump_nl_timestamp): New function.
44853         (__free_in6ai): New function.
44854
44855 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44856
44857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44858         close_not_cancel_no_status here.
44859         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44860
44861 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44862
44863         [BZ #13276]
44864         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44865         return value.
44866
44867         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44868         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44869         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44870
44871 2011-07-03  Andreas Jaeger  <aj@suse.de>
44872
44873         [BZ #10709]
44874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44875         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44876         * math/libm-test.inc (sin_test): Add test case.
44877
44878 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44879
44880         [BZ #13337]
44881         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44882         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44883
44884         * elf/chroot_canon.c (chroot_canon): Cleanups.
44885
44886         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44887
44888         [BZ #13335]
44889         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44890         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44891
44892         * string/test-strchr.c: Make usable for strchrnul testing.
44893         * string/test-strchrnul.c: New file.
44894         * string/Makefile (strop-tests): Add strchrnul.
44895
44896         * po/it.po: Update from translation team.
44897         * po/es.po: Likewise.
44898
44899 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44900
44901         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44902         the three constants needed as parameters.  Drop the others.
44903         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44904         __m128i_strloadu_tolower.
44905         Create and initialize variable zero and use it in all the places
44906         where _mm_setzero_si128 was used.
44907
44908         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44909         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44910         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44911         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44912         anymore.
44913         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44914         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44915         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44916         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44917         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44918         __mpranred, __mptan.
44919         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44920         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44921         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44922         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44923         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44924         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44925         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44926         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44927         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44928
44929 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44930
44931         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44932         redefine if SHARED.
44933         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44934
44935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44936         wide char related routines to wcsmbs subdir.
44937
44938 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44939
44940         [BZ #13344]
44941         * misc/sys/cdefs.h (__THROWNL): Define.
44942         * posix/unistd.h: Use __THREADNL instead of __THREAD
44943         for memory synchronization functions.
44944
44945 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44946
44947         [BZ #13349]
44948         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44949         doesn't exist.
44950         * manual/stdio.texi (Obstack Streams): Node removed.
44951
44952 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44953
44954         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44955         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44956         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44957
44958         * math/math_private.h (math_force_eval): Allow non-addressable
44959         arguments.
44960         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44961
44962 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44963
44964         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44965         file is not needed.
44966
44967         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44968         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44969         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44970         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44972         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44973         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44974         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44975         Add AVX variants.
44976         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44977         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44978         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44979         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44980         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44981         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44982         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44983         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44984         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44985         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44986         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44987         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44988         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44989         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44990         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44991         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44992         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44993         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44994         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44995
44996         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44997         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44998
44999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45000         place.  Use VEX encoding when compiling for AVX.
45001
45002 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45003
45004         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45005         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45006
45007         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45008
45009 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45010
45011         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45012         useless if() expression.
45013         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45014         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45015         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45016         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45017         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45018         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45019         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45020         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45021         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45022         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45023         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45024         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45025         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45026         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45027         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45028         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45029         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45031         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45032
45033         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45034
45035 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45036
45037         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45038         condition.
45039         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45040
45041 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45042
45043         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45044         .text section.  Avoid duplicate constants.
45045         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45046         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45047         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45048         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45050         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45055         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45057         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45060         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45061         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45062         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45063         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45064         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45065         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45066         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45067         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45068         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45069         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45070         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45071         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45072         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45073         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45074         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45075         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45076         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45077         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45078         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45079         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45080         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45081         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45082         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45083         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45084         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45085         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45086         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45087         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45088         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45089         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45090
45091 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45092
45093         * sysdeps/x86_64/dla.h: Move to ...
45094         * sysdeps/x86_64/fpu/dla.h: ...here.
45095         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45096         situations.  Use __builtin_fma only for gcc 4.6 and up.
45097
45098         * config.make.in: Add have-mfma4 entry.
45099         * configure.in: Substitute libc_cv_cc_fma4.
45100         * math/Makefile (dbl-only-routines): Add sincostab.
45101         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45102         Use __sincostab not sincos.
45103         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45104         name is a macro.
45105         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45109         using __copysign.
45110         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45111         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45112         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45113         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45114         and __inv.
45115         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45116         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45117         __copysign.
45118         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45119         define aliases when function name is a macro.
45120         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45121         sysdeps/ieee754/dbl-64/sincos.tbl.
45122         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45123         fma4-enabled routines.
45124         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45125         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45126         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45127         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45128         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45129         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45130         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45131         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45132         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45133         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45134         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45135         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45136         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45137         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45138         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45139         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45140         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45141         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45142         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45144         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45145         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45146         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45147         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45148         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45149         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45150         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45151         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45152         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45153         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45154
45155         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45156         rename.
45157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45158         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45161         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45163         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45164         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45165
45166 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45167
45168         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45169
45170 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45171
45172         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45173
45174         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45175         prediction.
45176         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45177
45178         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45179         Remove unused variable magic_bits.
45180         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45181
45182         * string/strnlen.c: Define and use STRNLEN macro.
45183         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45184         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45185         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45186         * wcsmbs/wcslen.c: Define and use WCSLEN.
45187         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45188         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45189         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45190         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45191         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45192         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45193         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45194
45195 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45196
45197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45198         strnlen-sse2-no-bsf.
45199         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45200         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45201         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45202         Add strnlen support.
45203         (USE_AS_STRNLEN): New macro.
45204         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45205         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45206         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45207         * sysdeps/x86_64/wcslen.S: New file.
45208
45209 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45210
45211         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45212         XMM-moves are used for copying on small sizes.
45213
45214 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45215
45216         * wcsmbs/Makefile (strop-tests): Add wcschr.
45217         * wcsmbs/test-wcschr.c: New file.
45218         * string/test-strchr.c: Update.
45219         Add wcschr support.
45220         (WIDE): New macro.
45221
45222 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45223
45224         * wcsmbs/Makefile (strop-tests): Add wcslen.
45225         * wcsmbs/test-wcslen.c: New file.
45226         * string/test-strlen.c: Update.
45227         Add wcslen support.
45228         (WIDE): New macro.
45229
45230 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45231
45232         * po/it.po: Update from translation team.
45233
45234 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45235
45236         * sysdeps/x86_64/wcscmp.S: Update.
45237         Fix wrong comparison semantics.
45238         wcscmp shall use signed comparison not unsigned.
45239         Don't use substraction to avoid overflow bug.
45240         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45241         * wcsmbc/wcscmp.c: Likewise.
45242         * string/test-strcmp.c: Likewise.
45243         Add new tests to check cases with negative values.
45244
45245 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45246
45247         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45248         * sysdeps/x86_64/dla.h: ...here.  New file.
45249         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45250         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45251         * sysdeps/ieee754/dbl-64/e_atan2.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_sqrt.c: Likewise.
45255         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45256         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45257         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45258
45259 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45260
45261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45262         __ynl_finite aliases.
45263
45264 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45265
45266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45267
45268         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45269         define DLA_FMA.
45270         [DLA_FMA] (EMULV): Use DLA_FMA.
45271         [DLA_FMA] (MUL12): Use EMULV.
45272         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45273         that are not needed.
45274         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45275         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45276         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45277         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45278         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45279         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45280         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45281
45282 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45283
45284         * math/s_nan.c: Undef __nan.
45285         * math/s_nanf.c: Undef __nanf.
45286         * math/s_nanl.c: Undef __nanl.
45287         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45288         "math_private.h".
45289
45290 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45291
45292         * math/s_catan.c: Add branch predictions.
45293         * math/s_catanf.c: Likewise.
45294         * math/s_catanh.c: Likewise.
45295         * math/s_catanhf.c: Likewise.
45296         * math/s_catanhl.c: Likewise.
45297         * math/s_catanl.c: Likewise.
45298         * math/s_cexp.c: Likewise.
45299         * math/s_cexpf.c: Likewise.
45300         * math/s_cexpl.c: Likewise.
45301         * math/s_clog.c: Likewise.
45302         * math/s_clog10.c: Likewise.
45303         * math/s_clog10f.c: Likewise.
45304         * math/s_clog10l.c: Likewise.
45305         * math/s_clogf.c: Likewise.
45306         * math/s_clogl.c: Likewise.
45307         * math/s_csqrt.c: Likewise.
45308         * math/s_csqrtf.c: Likewise.
45309         * math/s_csqrtl.c: Likewise.
45310         * math/s_ctanf.c: Likewise.
45311         * math/s_ctanh.c: Likewise.
45312         * math/s_ctanhf.c: Likewise.
45313         * math/s_ctanhl.c: Likewise.
45314         * math/s_ctanl.c: Likewise.
45315
45316         * math/math_private.h: Define __nan, __nanf, __nanl.
45317         * math/s_cacosh.c: Include <math_private.h>.
45318         * math/s_cacoshl.c: Likewise.
45319         * math/s_casinh.c: Likewise.
45320         * math/s_casinhf.c: Likewise.
45321         * math/s_casinhl.c: Likewise.
45322         * math/s_ccos.c: Rely entire on ccosh.
45323         * math/s_ccosf.c: Rely entire on ccoshf.
45324         * math/s_ccosl.c: Rely entirely on ccoshl.
45325         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45326         Remove tests for FE_INVALID.
45327         * math/s_ccoshf.c: Likewise.
45328         * math/s_ccoshl.c: Likewise.
45329         * math/s_csin.c: Likewise.
45330         * math/s_csinf.c: Likewise.
45331         * math/s_csinh.c Likewise.
45332         * math/s_csinhf.c: Likewise.
45333         * math/s_csinhl.c: Likewise.
45334         * math/s_csinl.c: Likewise.
45335         * math/s_ctan.c: Likewise.
45336         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45337         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45339
45340 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45341
45342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45343         compilation problems.
45344
45345         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45346         __builtin_expect.
45347
45348 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45349
45350         * sysdeps/i386/configure.in: Test for -mfma4 option.
45351         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45352         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45353         COMMON_CPUID_INDEX_80000001.
45354         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45355         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45356         use it if FMA3 is not supported.
45357         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45358
45359         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45360         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45361
45362 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45363
45364         [BZ #12892]
45365         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45366         it would create a cycle with a link time dependency.
45367
45368 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45369
45370         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45371         instruction.
45372         * string/Makefile (strop-tests): Add rawmemchr.
45373         * string/test-rawmemchr.c: New file.
45374
45375         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45376         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45377         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45378         when compiling str{,n}casecmp and when AVX is available.  Hook up
45379         new optimized code in initializers.
45380
45381 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45382
45383         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45384         __feraiseexcept instead of feraiseexcept.
45385
45386 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45387
45388         * math/math_private.h: Define defaults for libc_fetestexcept and
45389         libc_feupdateenv.
45390         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45391         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45392         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45393         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45394         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45395         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45396         libc_fetestexcept and libc_feupdateenv.
45397
45398         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45399         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45400         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45401         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45402         libc_feholdexcept_setround.
45403
45404         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45405         Add s_nearbyint-c and s_nearbyintf-c.
45406         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45407         nearbyintf inlines.
45408         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45409         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45410         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45411         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45412
45413         * math/math_private.h: Define defaults for libc_fegetround,
45414         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45415         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45416         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45417         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45418         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45419         standard functions.
45420         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45421         Remove comments and hacks for old compiler versions.
45422         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45423         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45424         libc_feholdexceptl.
45425
45426 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45427
45428         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45429         (__feraiseexcept_renamed): Add __NTH.
45430         (feraiseexcept): Add __NTH.  Rename local variables to fix
45431         namespace violations.
45432
45433 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45434
45435         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45436
45437         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45438
45439         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45440         recently added interfaces.
45441         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45442
45443         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45444         about macro parameter expansion.
45445
45446         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45447         __NO_MATH_INLINES is defined.  Cleanups.
45448
45449         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45450         and __floorf is target has SSE4.1.
45451         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45452         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45453         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45454         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45455
45456         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45457         name.
45458         (floorf): Likewise.
45459
45460         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45461
45462 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45463
45464         * misc/sys/cdefs.h: Fix last change.
45465
45466         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45467         database lookup.
45468
45469 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45470
45471         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45472
45473         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45479         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45480         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45481         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45482         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45483         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45484         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45485         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45486         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45487         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45488         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45489         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45490         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45491         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45492         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45493         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45494         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45495
45496         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45497         ceil, ceilf, floor, floorf.
45498
45499         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45500         Perform IRELATIVE relocations last.
45501
45502         * elf/do-rel.h: Add another parameter nrelative, replacing the
45503         local variable with the same name.  Change name of the function
45504         to end in Rel or Rela (uppercase).
45505         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45506         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45507         elf_dynamic_do_##reloc function.
45508
45509 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45512         is sufficient, at least on modern CPUs.
45513
45514         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45515
45516         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45517         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45518
45519         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45520         __expl_finite.
45521         * math/bits/math-finite.h: Add entries for exp.
45522         * math/e_expl.c: Add __*_finite alias.
45523         * sysdeps/i386/fpu/e_exp.S: Likewise.
45524         * sysdeps/i386/fpu/e_expf.S: Likewise.
45525         * sysdeps/i386/fpu/e_expl.c: Likewise.
45526         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45527         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45528         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45531         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45532         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45533
45534         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45535         is sufficient, at least on modern CPUs.
45536
45537         * ctype/ctype-info.c (__ctype_init): Define.
45538         * include/ctype.h (__ctype_init): Declare.
45539         (__ctype_b_loc): The variable is always initialized.
45540         (__ctype_toupper_loc): Likewise.
45541         (__ctype_tolower_loc): Likewise.
45542         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45543         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45544
45545 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45546
45547         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45548
45549         * configure.in: Also look in $cxxmachine/include for C++ system
45550         headers.
45551
45552 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45553
45554         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45555         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45556         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45557         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45559         (USE_AS_WMEMCMP): New macro.
45560         Fixing indents.
45561         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45562         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45563         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45564         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45566         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45567         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45568         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45569         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45570         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45571         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45572         (USE_AS_WMEMCMP): New macro.
45573         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45574         * sysdeps/string/test-memcmp.c: Update.
45575         Fix simple_wmemcmp.
45576         Add new tests.
45577         * wcsmbs/wmemcmp.c: Update.
45578         (WMEMCMP): New macro.
45579         Fix overflow bug.
45580
45581 2011-10-12  Andreas Jaeger  <aj@suse.de>
45582
45583         [BZ #13268]
45584         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45585
45586 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45587
45588         * libio/iofwide.c (do_length): Avoid warning.
45589
45590         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45591
45592 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45593
45594         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45595
45596         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45597         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45598         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45599         * sysdeps/i386/i686/fpu/e_log.S: New file.
45600         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45601         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45602
45603         * ctype/ctype.h: Add support for inlined isXXX functions when
45604         compiling C++ code.
45605
45606 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45607
45608         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45609
45610         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45611
45612 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45613
45614         [BZ #13291]
45615         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45616
45617 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45618
45619         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45620         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45621         feraiseexcept.
45622
45623         * sysdeps/x86_64/memrchr.S: Check for zero size.
45624
45625         * string/stratcliff.c: Add memrchr tests.
45626
45627 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45628
45629         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45630         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45631         rawmemchr-sse2 rawmemchr-sse2-bsf.
45632         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45633         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45634         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45635         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45636         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45637         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45638         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45639         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45640         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45641         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45642         * string/memrchr.c (MEMRCHR): New macro.
45643
45644 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45645
45646         Add integration with gcc's -ffinite-math-only and optimize wrapper
45647         functions in libm.
45648         * Versions.def: Define GLIBC_2.15 version for libm.
45649         * math/Makefile (headers): Add bits/math-finite.h.
45650         * math/bits/math-finite.h: New file.
45651         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45652         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45653         * math/e_acoshl.c: Add __*_finite alias.
45654         * math/e_acosl.c: Likewise.
45655         * math/e_asinl.c: Likewise.
45656         * math/e_atan2l.c: Likewise.
45657         * math/e_atanhl.c: Likewise.
45658         * math/e_coshl.c: Likewise.
45659         * math/e_exp10.c: Likewise.
45660         * math/e_exp10f.c: Likewise.
45661         * math/e_exp10l.c: Likewise.
45662         * math/e_exp2l.c: Likewise.
45663         * math/e_fmodl.c: Likewise.
45664         * math/e_gammal_r.c: Likewise.
45665         * math/e_hypotl.c: Likewise.
45666         * math/e_j0l.c: Likewise.
45667         * math/e_j1l.c: Likewise.
45668         * math/e_jnl.c: Likewise.
45669         * math/e_lgammal_r.c: Likewise.
45670         * math/e_log10l.c: Likewise.
45671         * math/e_log2l.c: Likewise.
45672         * math/e_logl.c: Likewise.
45673         * math/e_powl.c: Likewise.
45674         * math/e_sinhl.c: Likewise.
45675         * math/e_sqrtl.c: Likewise.
45676         * math/e_scalb.c: Completely rewritten and optimized.
45677         * math/e_scalbf.c: Likewise.
45678         * math/e_scalbl.c: Likewise.
45679         * math/w_acos.c: Likewise.
45680         * math/w_acosf.c: Likewise.
45681         * math/w_acosl.c: Likewise.
45682         * math/w_acosh.c: Likewise.
45683         * math/w_acoshf.c: Likewise.
45684         * math/w_acoshl.c: Likewise.
45685         * math/w_asin.c: Likewise.
45686         * math/w_asinf.c: Likewise.
45687         * math/w_asinl.c: Likewise.
45688         * math/w_atan2.c: Likewise.
45689         * math/w_atan2f.c: Likewise.
45690         * math/w_atan2l.c: Likewise.
45691         * math/w_atanh.c: Likewise.
45692         * math/w_atanhf.c: Likewise.
45693         * math/w_atanhl.c: Likewise.
45694         * math/w_exp10.c: Likewise.
45695         * math/w_exp10f.c: Likewise.
45696         * math/w_exp10l.c: Likewise.
45697         * math/w_fmod.c: Likewise.
45698         * math/w_fmodf.c: Likewise.
45699         * math/w_fmodl.c: Likewise.
45700         * math/w_j0.c: Likewise.
45701         * math/w_j0f.c: Likewise.
45702         * math/w_j0l.c: Likewise.
45703         * math/w_j1.c: Likewise.
45704         * math/w_j1f.c: Likewise.
45705         * math/w_j1l.c: Likewise.
45706         * math/w_jn.c: Likewise.
45707         * math/w_jnf.c: Likewise.
45708         * math/w_log.c: Likewise.
45709         * math/w_logf.c: Likewise.
45710         * math/w_logl.c: Likewise.
45711         * math/w_log10.c: Likewise.
45712         * math/w_log10f.c: Likewise.
45713         * math/w_log10l.c: Likewise.
45714         * math/w_log2.c: Likewise.
45715         * math/w_log2f.c: Likewise.
45716         * math/w_log2l.c: Likewise.
45717         * math/w_pow.c: Likewise.
45718         * math/w_powf.c: Likewise.
45719         * math/w_powl.c: Likewise.
45720         * math/w_remainder.c: Likewise.
45721         * math/w_remainderf.c: Likewise.
45722         * math/w_remainderl.c: Likewise.
45723         * math/w_scalb.c: Likewise.
45724         * math/w_scalbf.c: Likewise.
45725         * math/w_scalbl.c: Likewise.
45726         * math/w_sqrt.c: Likewise.
45727         * math/w_sqrtf.c: Likewise.
45728         * math/w_sqrtl.c: Likewise.
45729         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45730         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45731         used.
45732         * math/math_private.h: Declare __kernel_standard_f.
45733         * math/w_cosh.c: Remove cruft and optimize a bit.
45734         * math/w_coshf.c: Likewise.
45735         * math/w_coshl.c: Likewise.
45736         * math/w_exp2.c: Likewise.
45737         * math/w_exp2f.c: Likewise.
45738         * math/w_exp2l.c: Likewise.
45739         * math/w_hypot.c: Likewise.
45740         * math/w_hypotf.c: Likewise.
45741         * math/w_hypotl.c: Likewise.
45742         * math/w_lgamma.c: Likewise.
45743         * math/w_lgamma_r.c: Likewise.
45744         * math/w_lgammaf.c: Likewise.
45745         * math/w_lgammaf_r.c: Likewise.
45746         * math/w_lgammal.c: Likewise.
45747         * math/w_lgammal_r.c: Likewise.
45748         * math/w_sinh.c: Likewise.
45749         * math/w_sinhf.c: Likewise.
45750         * math/w_sinhl.c: Likewise.
45751         * math/w_tgamma.c: Likewise.
45752         * math/w_tgammaf.c: Likewise.
45753         * math/w_tgammal.c: Likewise.
45754         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45755         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45756         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45757         Minor optimizations.  Pretty printing.  Remove cruft.
45758         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45759         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45760         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45761         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45762         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45763         * sysdeps/i386/fpu/e_asin.S: Likewise.
45764         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45765         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45766         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45767         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45768         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45769         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45770         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45771         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45772         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45773         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45774         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45775         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45776         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45777         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45778         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45779         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45780         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45781         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45782         * sysdeps/i386/fpu/e_log.S: Likewise.
45783         * sysdeps/i386/fpu/e_log10.S: Likewise.
45784         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45785         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45786         * sysdeps/i386/fpu/e_log2.S: Likewise.
45787         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45788         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45789         * sysdeps/i386/fpu/e_logf.S: Likewise.
45790         * sysdeps/i386/fpu/e_logl.S: Likewise.
45791         * sysdeps/i386/fpu/e_pow.S: Likewise.
45792         * sysdeps/i386/fpu/e_powf.S: Likewise.
45793         * sysdeps/i386/fpu/e_powl.S: Likewise.
45794         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45795         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45796         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45797         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45798         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45799         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45800         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45801         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45802         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45803         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45804         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45805         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45806         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45807         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45808         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45809         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45810         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45811         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45814         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45816         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45817         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45818         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45819         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45820         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45821         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45823         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45824         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45825         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45826         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45827         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45828         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45829         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45830         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45831         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45832         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45833         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45834         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45835         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45836         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45837         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45838         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45839         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45840         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45841         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45842         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45843         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45844         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45845         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45846         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45848         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45849         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45850         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45851         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45853         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45855         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45856         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45857         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45858         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45859         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45860         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45861         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45862         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45863         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45864         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45872         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45873         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45881         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45882         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45883         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45885         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45886         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45887         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45888         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45891         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45892         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45893         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45894         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45895         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45896         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45897         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45898         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45899         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45900         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45901         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45902         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45903         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45904         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45905         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45906         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45907         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45908         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45909         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45910         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45911         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45912         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45913         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45914         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45915         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45916         (__isnanf): Likewise.
45917         (__isinf_ns): Likewise.
45918         (__isinf_nsf): Likewise.
45919         (__finite): Likewise.
45920         (__finitef): Likewise.
45921         (__ieee754_sqrt): Define as macro.
45922         (__ieee754_sqrtf): Define as macro.
45923         (__ieee754_sqrtl): Define as macro.
45924         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45925         inlined copy.
45926         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45927         __FINITE_MATH_ONLY__ consistent.
45928         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45929
45930 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45931
45932         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45933         of rawmemchr.
45934
45935         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45936
45937 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45938
45939         * po/ja.po: Update from translation team.
45940
45941 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45942
45943         * locale/programs/locarchive.c (prepare_address_space): New function.
45944         (create_archive, enlarge_archive, open_archive): Use it.
45945
45946         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45947         inside [SHARED], where it is used.
45948
45949         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45950
45951         * nss/getent.c (netgroup_keys): Remove unused variable.
45952         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45953
45954 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45955
45956         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45957         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45958         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45959         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45960         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45961         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45962         * math/Makefile (libm-calls): Add s_isinf_ns.
45963         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45964         * math/multc3.c: Likewise.
45965         * math/s_casin.c: Likewise.
45966         * math/s_casinf.c: Likewise.
45967         * math/s_casinl.c: Likewise.
45968         * math/s_ccos.c: Likewise.
45969         * math/s_ccosf.c: Likewise.
45970         * math/s_ccosl.c: Likewise.
45971         * math/s_ctan.c: Likewise.
45972         * math/s_ctanf.c: Likewise.
45973         * math/s_ctanh.c: Likewise.
45974         * math/s_ctanhf.c: Likewise.
45975         * math/s_ctanhl.c: Likewise.
45976         * math/s_ctanl.c: Likewise.
45977         * math/w_fmod.c: Likewise.
45978         * math/w_fmodf.c: Likewise.
45979         * math/w_fmodl.c: Likewise.
45980         * math/w_remainder.c: Likewise.
45981         * math/w_remainderf.c: Likewise.
45982         * math/w_remainderl.c: Likewise.
45983         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45984         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45985         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45986         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45987         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45988         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45989         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45990         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45991
45992         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45993         of the number.
45994         * stdio-common/printf_fphex.c: Likewise.
45995         * stdio-common/printf_size.c: Likewise.
45996
45997         * math/e_exp10.c: Include math_private.h using <...> not "...".
45998         * math/e_exp10f.c: Likewise.
45999         * math/e_exp10l.c: Likewise.
46000         * math/e_exp2l.c: Likewise.
46001         * math/e_j0l.c: Likewise.
46002         * math/e_j1l.c: Likewise.
46003         * math/e_jnl.c: Likewise.
46004         * math/e_lgammal_r.c: Likewise.
46005         * math/e_rem_pio2l.c: Likewise.
46006         * math/e_scalb.c: Likewise.
46007         * math/e_scalbf.c: Likewise.
46008         * math/e_scalbl.c: Likewise.
46009         * math/k_cosl.c: Likewise.
46010         * math/k_sinl.c: Likewise.
46011         * math/k_tanl.c: Likewise.
46012         * math/s_cacoshf.c: Likewise.
46013         * math/s_catan.c: Likewise.
46014         * math/s_catanf.c: Likewise.
46015         * math/s_catanh.c: Likewise.
46016         * math/s_catanhf.c: Likewise.
46017         * math/s_catanhl.c: Likewise.
46018         * math/s_catanl.c: Likewise.
46019         * math/s_ccosh.c: Likewise.
46020         * math/s_ccoshf.c: Likewise.
46021         * math/s_ccoshl.c: Likewise.
46022         * math/s_cexp.c: Likewise.
46023         * math/s_cexpf.c: Likewise.
46024         * math/s_cexpl.c: Likewise.
46025         * math/s_clog.c: Likewise.
46026         * math/s_clog10.c: Likewise.
46027         * math/s_clog10f.c: Likewise.
46028         * math/s_clog10l.c: Likewise.
46029         * math/s_clogf.c: Likewise.
46030         * math/s_clogl.c: Likewise.
46031         * math/s_csin.c: Likewise.
46032         * math/s_csinf.c: Likewise.
46033         * math/s_csinh.c: Likewise.
46034         * math/s_csinhf.c: Likewise.
46035         * math/s_csinhl.c: Likewise.
46036         * math/s_csinl.c: Likewise.
46037         * math/s_csqrt.c: Likewise.
46038         * math/s_csqrtf.c: Likewise.
46039         * math/s_csqrtl.c: Likewise.
46040         * math/s_ctan.c: Likewise.
46041         * math/s_ctanf.c: Likewise.
46042         * math/s_ctanh.c: Likewise.
46043         * math/s_ctanhf.c: Likewise.
46044         * math/s_ctanhl.c: Likewise.
46045         * math/s_ctanl.c: Likewise.
46046         * math/s_ldexp.c: Likewise.
46047         * math/s_ldexpf.c: Likewise.
46048         * math/s_ldexpl.c: Likewise.
46049         * math/s_significand.c: Likewise.
46050         * math/s_significandf.c: Likewise.
46051         * math/s_significandl.c: Likewise.
46052         * math/w_acos.c: Likewise.
46053         * math/w_acosf.c: Likewise.
46054         * math/w_acosh.c: Likewise.
46055         * math/w_acoshf.c: Likewise.
46056         * math/w_acoshl.c: Likewise.
46057         * math/w_acosl.c: Likewise.
46058         * math/w_asin.c: Likewise.
46059         * math/w_asinf.c: Likewise.
46060         * math/w_asinl.c: Likewise.
46061         * math/w_atan2.c: Likewise.
46062         * math/w_atan2f.c: Likewise.
46063         * math/w_atan2l.c: Likewise.
46064         * math/w_atanh.c: Likewise.
46065         * math/w_atanhf.c: Likewise.
46066         * math/w_atanhl.c: Likewise.
46067         * math/w_cosh.c: Likewise.
46068         * math/w_coshf.c: Likewise.
46069         * math/w_coshl.c: Likewise.
46070         * math/w_dremf.c: Likewise.
46071         * math/w_exp10.c: Likewise.
46072         * math/w_exp10f.c: Likewise.
46073         * math/w_exp10l.c: Likewise.
46074         * math/w_exp2.c: Likewise.
46075         * math/w_exp2f.c: Likewise.
46076         * math/w_fmod.c: Likewise.
46077         * math/w_fmodf.c: Likewise.
46078         * math/w_fmodl.c: Likewise.
46079         * math/w_hypot.c: Likewise.
46080         * math/w_hypotf.c: Likewise.
46081         * math/w_hypotl.c: Likewise.
46082         * math/w_j0.c: Likewise.
46083         * math/w_j0f.c: Likewise.
46084         * math/w_j0l.c: Likewise.
46085         * math/w_j1.c: Likewise.
46086         * math/w_j1f.c: Likewise.
46087         * math/w_j1l.c: Likewise.
46088         * math/w_jn.c: Likewise.
46089         * math/w_jnf.c: Likewise.
46090         * math/w_jnl.c: Likewise.
46091         * math/w_lgamma.c: Likewise.
46092         * math/w_lgamma_r.c: Likewise.
46093         * math/w_lgammaf.c: Likewise.
46094         * math/w_lgammaf_r.c: Likewise.
46095         * math/w_lgammal.c: Likewise.
46096         * math/w_lgammal_r.c: Likewise.
46097         * math/w_log.c: Likewise.
46098         * math/w_log10.c: Likewise.
46099         * math/w_log10f.c: Likewise.
46100         * math/w_log10l.c: Likewise.
46101         * math/w_log2.c: Likewise.
46102         * math/w_log2f.c: Likewise.
46103         * math/w_log2l.c: Likewise.
46104         * math/w_logf.c: Likewise.
46105         * math/w_logl.c: Likewise.
46106         * math/w_pow.c: Likewise.
46107         * math/w_powf.c: Likewise.
46108         * math/w_powl.c: Likewise.
46109         * math/w_remainder.c: Likewise.
46110         * math/w_remainderf.c: Likewise.
46111         * math/w_remainderl.c: Likewise.
46112         * math/w_scalb.c: Likewise.
46113         * math/w_scalbf.c: Likewise.
46114         * math/w_scalbl.c: Likewise.
46115         * math/w_sinh.c: Likewise.
46116         * math/w_sinhf.c: Likewise.
46117         * math/w_sinhl.c: Likewise.
46118         * math/w_sqrt.c: Likewise.
46119         * math/w_sqrtf.c: Likewise.
46120         * math/w_sqrtl.c: Likewise.
46121         * math/w_tgamma.c: Likewise.
46122         * math/w_tgammaf.c: Likewise.
46123         * math/w_tgammal.c: Likewise.
46124
46125         * po/ja.po: Update from translation team.
46126
46127 2011-09-29  Andreas Jaeger  <aj@suse.de>
46128
46129         [BZ #13179]
46130         * sunrpc/netname.c (netname2host): Fix logic.
46131
46132         [BZ #6779]
46133         [BZ #6783]
46134         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46135         correctly.
46136         * math/w_remainder.c (__remainder): Likewise.
46137         * math/w_remainderf.c (__remainderf): Likewise.
46138         * math/libm-test.inc (remainder_test): Add test cases.
46139
46140 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46141
46142         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46143         sdiv_qrnnd.
46144
46145 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46146
46147         * string/test-memcmp.c: Avoid unncessary #defines.
46148         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46149
46150 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46151
46152         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46153         Use new sse2 version for core i3 - i7 as it's faster
46154         than sse42 version.
46155         (bit_Prefer_PMINUB_for_stringop): New.
46156         * sysdeps/x86_64/rawmemchr.S: Update.
46157         Replace with faster SSE2 version.
46158         * sysdeps/x86_64/memrchr.S: New file.
46159         * sysdeps/x86_64/memchr.S: Update.
46160         Replace with faster SSE2 version.
46161
46162 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46163
46164         * elf/dl-load.c (lose): Add cast to avoid warning.
46165
46166 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46167
46168         * po/ca.po: Update from translation team.
46169
46170         * inet/getnetgrent_r.c: Hook up nscd.
46171         * nscd/Makefile (routines): Add nscd_netgroup.
46172         (nscd-modules): Add netgroupcache.
46173         (CFLAGS-netgroupcache.c): Define.
46174         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46175         (cache_search): Add const to second parameter.
46176         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46177         INNETGR.
46178         (dbs): Add netgrdb entry.
46179         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46180         (verify_persistent_db): Handle netgrdb.
46181         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46182         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46183         GETFDNETGR.
46184         (netgroup_response_header): Define.
46185         (innetgroup_response_header): Define.
46186         (datahead): Add netgroup_response_header and innetgroup_response_header
46187         elements.
46188         * nscd/nscd.conf: Add entries for netgroup cache.
46189         * nscd/nscd.h (dbtype): Add netgrdb.
46190         (_PATH_NSCD_NETGROUP_DB): Define.
46191         (netgroup_iov_disabled): Declare.
46192         (xmalloc, xcalloc, xrealloc): Move declarations here.
46193         (cache_search): Adjust prototype.
46194         Add netgroup-related prototypes.
46195         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46196         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46197         (__nscd_innetgr): Declare.
46198         * nscd/selinux.c (perms): Use access_vector_t as element type and
46199         add netgroup-related initializers.
46200         * nscd/netgroupcache.c: New file.
46201         * nscd/nscd_netgroup.c: New file.
46202         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46203         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46204         For four parameters use innetgr.
46205         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46206         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46207         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46208         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46209
46210         * nscd/connections.c (register_traced_file): Don't register file
46211         for disabled databases.
46212
46213 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46214
46215         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46216
46217         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46218         from tree and freeing node.
46219
46220 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46221
46222         * nss/nsswitch.c (__nss_database_lookup): Handle
46223         nss_parse_service_list out of memory case.
46224
46225 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46226
46227         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46228         out of memory case.
46229
46230 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46231
46232         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46233         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46234         pass it down.
46235         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46236         elf_machine_rela, elf_machine_lazy_rel.
46237         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46238         (ELF_DYNAMIC_DO_REL): Likewise.
46239         (ELF_DYNAMIC_DO_RELA): Likewise.
46240         (ELF_DYNAMIC_RELOCATE): Likewise.
46241         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46242         to ELF_DYNAMIC_DO_REL.
46243         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46244         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46245         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46246         elf_machine_rela.
46247         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46248         skip_ifunc, don't call ifunc function if non-zero.
46249         (elf_machine_rela): Likewise.
46250         (elf_machine_lazy_rel): Likewise.
46251         (elf_machine_lazy_rela): Likewise.
46252         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46253         (elf_machine_lazy_rel): Likewise.
46254         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46255         Likewise.
46256         (elf_machine_lazy_rel): Likewise.
46257         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46258         Likewise.
46259         (elf_machine_lazy_rel): Likewise.
46260         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46261         (elf_machine_lazy_rel): Likewise.
46262         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46263         (elf_machine_lazy_rel): Likewise.
46264         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46265         (elf_machine_lazy_rel): Likewise.
46266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46267         (elf_machine_lazy_rel): Likewise.
46268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46269         (elf_machine_lazy_rel): Likewise.
46270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46271         (elf_machine_lazy_rel): Likewise.
46272
46273 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * nss/nss_files/files-init.c (_nss_files_init): Use static
46276         initialization for all the *_traced_file variables.
46277
46278 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46279
46280         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46281
46282 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46283
46284         [BZ #13226]
46285         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46286
46287 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46288
46289         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46290         Reread the line before reparsing it.
46291
46292 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46293
46294         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46295
46296 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46297             Maxim Kuvyrkov  <maxim@codesourcery.com>
46298             Joseph Myers  <joseph@codesourcery.com>
46299
46300         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46301         if needed for __stack_chk_guard.
46302
46303 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46304
46305         * sysdeps/posix/spawni.c (script_execute): Always define it.
46306         It will be optimized away if unused.
46307         (maybe_script_execute): New function.
46308         (__spawni): Call it.
46309
46310         * Makerules: Don't include tls.make.
46311         (config-tls): Always set to thread.
46312         * tls.make.c: File removed.
46313
46314 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46315
46316         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46317         * config.make.in (CPPFLAGS-config): New substituted variable.
46318
46319 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46320
46321         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46322
46323         [BZ #13192]
46324         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46325         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46326
46327 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46328
46329         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46330         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46331         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46332         (CALL_FAIL): Likewise.
46333         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46334         (CALL_FAIL): Macro removed.
46335         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46336
46337 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46338
46339         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46340         for __FINITE_MATH_ONLY__ == 1.
46341
46342 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46343
46344         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46345         __ieee754_sqrt instead of sqrt.
46346         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46347         __ieee754_sqrtf instead of sqrtf.
46348         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46349         __floorf instead of floorf.
46350         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46351         __floorf, __truncf instead of floorf, truncf.
46352
46353 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46354
46355         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46356
46357         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46358         __extern_always_inline.
46359         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46360         32-bit.
46361
46362 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46363
46364         * elf/rtld.c (dl_main): Also relocate in dependency order when
46365         doing symbol dependency testing.
46366
46367 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46368
46369         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46370         Always define `refsym'.
46371
46372 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46373
46374         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46375         (__FD_ELT): Renamed from __FDELT.
46376         * misc/bits/select2.h (__FD_ELT): Likewise.
46377         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46378         __FD_MASK instead of __FDELT, __FDMASK.
46379         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46380         Likewise.
46381         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46382         Likewise.
46383
46384         * elf/Makefile (gen-ldd): Fix pattern.
46385
46386         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46387         (init_tls): Likewise.
46388
46389 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46390
46391         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46392
46393 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46394
46395         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46396         `struct cmsghdr *' instead of `void *'.
46397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46398         Likewise.
46399
46400 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46401
46402         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46403         if non-absolute.
46404         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46405         ldd_rewrite_script.
46406
46407 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46408
46409         * configure.in: Remove --with-tls option.
46410         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46411         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46412         out in case it is missing.
46413         * sysdeps/ia64/elf/configure.in: Likewise.
46414         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46415         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46416         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46417         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46418         * sysdeps/sh/elf/configure.in: Likewise.
46419         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46420         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46421         * sysdeps/x86_64/elf/configure.in: Likewise.
46422         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46423         * sysdeps/mach/hurd/tls.h: Likewise.
46424
46425         [BZ #13067]
46426         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46427
46428         [BZ #13090]
46429         * configure.in: Fix use of AC_INIT.
46430
46431         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46432
46433 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46434
46435         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46436         __set_errno.
46437         * malloc/hooks.c: Likewise.
46438
46439         [BZ #11929]
46440         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46441         variables statically.
46442         (narenas): Initialize.
46443         (list_lock): Initialize.
46444         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46445         initializtion of main_arena and list_lock.  Small cleanups.
46446         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46447         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46448         Add initializers to main_arena and mp_.
46449         (malloc_state): Remove pagesize member.  Change all users to use
46450         GLRO(dl_pagesize).
46451
46452         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46453         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46454         is always initialized.
46455
46456         * malloc/malloc.c: Removed unused configurations and dead code.
46457         * malloc/arena.c: Likewise.
46458         * malloc/hooks.c: Likewise.
46459         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46460
46461         * include/tls.h: Removed.  USE___THREAD must always be defined.
46462         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46463         * elf/dl-libc.c: Likewise.
46464         * elf/dl-tsd.c: Likewise.
46465         * include/errno.h: Likewise.
46466         * include/netdb.h: Likewise.
46467         * include/resolv.h: Likewise.
46468         * inet/herrno-loc.c: Likewise.
46469         * inet/herrno.c: Likewise.
46470         * malloc/arena.c: Likewise.
46471         * malloc/hooks.c: Likewise.
46472         * malloc/malloc.c: Likewise.
46473         * resolv/res-state.c: Likewise.
46474         * resolv/res_libc.c: Likewise.
46475         * sysdeps/i386/dl-machine.h: Likewise.
46476         * sysdeps/ia64/dl-machine.h: Likewise.
46477         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46478         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46479         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46480         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46481         * sysdeps/sh/dl-machine.h: Likewise.
46482         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46483         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46484         * sysdeps/unix/i386/sysdep.S: Likewise.
46485         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46486         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46491         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46493         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46495         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46496         * sysdeps/x86_64/dl-machine.h: Likewise.
46497         * tls.make.c: Likewise.
46498
46499         * configure.in: Remove --with-__thread option.  Make tests for
46500         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46501         tls_model attribute fail if no support is available.  Remove
46502         USE_IN_LIBIO.
46503         * Makeconfig: Adjust for dropped configure option.  All features are
46504         now mandatory.
46505         * Makerules: Likewise.
46506         * Versions.def: Likewise.
46507         * argp/argp-fmtstream.c: Likewise.
46508         * argp/argp-fmtstream.h: Likewise.
46509         * argp/argp-help.c: Likewise.
46510         * assert/assert.c: Likewise.
46511         * config.h.in: Likewise.
46512         * config.make.in: Likewise.
46513         * configure: Likewise.
46514         * configure.in: Likewise.
46515         * csu/Versions: Likewise.
46516         * csu/init.c: Likewise.
46517         * elf/tst-audit2.c: Likewise.
46518         * elf/tst-tls10.c: Likewise.
46519         * elf/tst-tls10.h: Likewise.
46520         * elf/tst-tls11.c: Likewise.
46521         * elf/tst-tls12.c: Likewise.
46522         * elf/tst-tls14.c: Likewise.
46523         * elf/tst-tlsmod11.c: Likewise.
46524         * elf/tst-tlsmod12.c: Likewise.
46525         * elf/tst-tlsmod13.c: Likewise.
46526         * elf/tst-tlsmod13a.c: Likewise.
46527         * elf/tst-tlsmod14a.c: Likewise.
46528         * elf/tst-tlsmod15b.c: Likewise.
46529         * elf/tst-tlsmod16a.c: Likewise.
46530         * elf/tst-tlsmod16b.c: Likewise.
46531         * elf/tst-tlsmod7.c: Likewise.
46532         * elf/tst-tlsmod8.c: Likewise.
46533         * elf/tst-tlsmod9.c: Likewise.
46534         * gmon/gmon.c: Likewise.
46535         * grp/fgetgrent_r.c: Likewise.
46536         * grp/putgrent.c: Likewise.
46537         * hurd/fopenport.c: Likewise.
46538         * include/libc-symbols.h: Likewise.
46539         * include/tls.h: Likewise.
46540         * intl/gettextP.h: Likewise.
46541         * intl/loadinfo.h: Likewise.
46542         * locale/global-locale.c: Likewise.
46543         * locale/localeinfo.h: Likewise.
46544         * mach/devstream.c: Likewise.
46545         * malloc/arena.c: Likewise.
46546         * malloc/set-freeres.c: Likewise.
46547         * misc/err.c: Likewise.
46548         * misc/getttyent.c: Likewise.
46549         * misc/mntent_r.c: Likewise.
46550         * posix/getopt.c: Likewise.
46551         * posix/wordexp.c: Likewise.
46552         * pwd/fgetpwent_r.c: Likewise.
46553         * resolv/Versions: Likewise.
46554         * resolv/res_hconf.c: Likewise.
46555         * shadow/fgetspent_r.c: Likewise.
46556         * shadow/putspent.c: Likewise.
46557         * stdio-common/printf_fphex.c: Likewise.
46558         * stdio-common/tmpfile.c: Likewise.
46559         * stdlib/abort.c: Likewise.
46560         * stdlib/fmtmsg.c: Likewise.
46561         * sunrpc/auth_unix.c: Likewise.
46562         * sunrpc/clnt_perr.c: Likewise.
46563         * sunrpc/clnt_tcp.c: Likewise.
46564         * sunrpc/clnt_udp.c: Likewise.
46565         * sunrpc/clnt_unix.c: Likewise.
46566         * sunrpc/openchild.c: Likewise.
46567         * sunrpc/svc_simple.c: Likewise.
46568         * sunrpc/svc_tcp.c: Likewise.
46569         * sunrpc/svc_udp.c: Likewise.
46570         * sunrpc/svc_unix.c: Likewise.
46571         * sunrpc/xdr.c: Likewise.
46572         * sunrpc/xdr_array.c: Likewise.
46573         * sunrpc/xdr_rec.c: Likewise.
46574         * sunrpc/xdr_ref.c: Likewise.
46575         * sunrpc/xdr_stdio.c: Likewise.
46576
46577 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46578
46579         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46580
46581 2011-07-03  Andreas Jaeger  <aj@suse.de>
46582
46583         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46584         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46585         regenerate with gen-libm-tests.pl.
46586
46587 2010-05-12  Petr Baudis  <pasky@suse.cz>
46588
46589         [BZ #11589]
46590         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46591         around j0() zero points by switching to j1().
46592         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46593         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46595         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46596
46597 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46598
46599         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46600         instead of 0.
46601         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46602         instead of 0.
46603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46604         Patch in part by Pavel Roskin <proski@gnu.org>.
46605
46606         [BZ #13138]
46607         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46608         realloc.
46609         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46610         Free memory block if necessary.
46611
46612         [BZ #12847]
46613         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46614         be NULL.  Don't lock in this case.
46615
46616 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46617
46618         * elf/elf.h (ELFOSABI_GNU): New macro.
46619         (ELFOSABI_LINUX): Define to that.
46620
46621 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46622
46623         * string/strncat.c (strncat): Undef the symbol in case it has been
46624         defined in bits/string.h.
46625
46626 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46627
46628         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46629
46630         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46631         link map.
46632
46633 2011-08-17  Andreas Jaeger  <aj@suse.de>
46634
46635         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46636
46637 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46638             Ian Lance Taylor  <iant@google.com>
46639
46640         * math/libm-test.inc (lround_test): New testcase.
46641         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46642
46643 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46644
46645         * Makefile: Remove support for automatic cvs check-ins.
46646         * Makerules: Likewise.
46647         * config.make.in: Likewise.
46648         * configure.in: Likewise.
46649         * intl/Makefile: Likewise.
46650         * locale/Makefile: Likewise.
46651         * po/Makefile: Likewise.
46652         * posix/Makefile: Likewise.
46653         * sysdeps/gnu/Makefile: Likewise.
46654         * sysdeps/mach/hurd/Makefile: Likewise.
46655         * sysdeps/sparc/sparc32/Makefile: Likewise.
46656
46657         [BZ #13118]
46658         * posix/Makefile (bug-regex32-ENV): Define.
46659         Patch by John Stanley <jpsinthemix@verizon.net>.
46660
46661         * misc/Makefile (headers): Add bits/select2.h.
46662         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46663         * misc/bits/select2.h: New file.
46664         * include/bits/select2.h: New file.
46665         * debug/Makefile (routines): Add fdelt_chk.
46666         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46667         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46668         FD_ISSET.
46669         * debug/fdelt_chk.c: New file.
46670
46671         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46672         * wcsmbs/test-wmemcmp.c: Likewise.
46673         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46674         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46675
46676 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46677
46678         * string/Makefile (strop-tests): Add memcmp.
46679         * string/test-wmemcmp.c: New file.
46680         * string/test-memcmp.c: Add wmemcmp support.
46681
46682 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46683
46684         [BZ #13153]
46685         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46686         2011-07-19 change.
46687
46688         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46689         garbage value in a __mach_port_mod_refs call in the cases of the
46690         task-self and thread-self ports.
46691
46692 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46693
46694         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46695
46696 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46697
46698         * elf/dl-load.c (lose): Check for non-null L.
46699
46700 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46701
46702         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46703
46704         * elf/dl-libc.c (dlerror_run): Pass back error code from
46705         dl_catch_error.
46706
46707         [BZ #13123]
46708         * elf/dl-load.c (lose): Free l_origin if it is valid.
46709
46710         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46711         names.
46712         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46713         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46714         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46715         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46716         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46717         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46718
46719 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46720
46721         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46722         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46723         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46724         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46725         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46726         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46727         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46728         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46729         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46730         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46731
46732 2011-08-15  Alan Modra  <amodra@gmail.com>
46733
46734         [BZ #13092]
46735         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46736         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46737         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46738         ppc_mcount to static-only-routines.
46739         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46740         __mcount_internal.
46741         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46742         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46743
46744 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46745
46746         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46747         for finite and infinity parameters.
46748
46749 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46750
46751         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46752         and add nop instructions for throughput optimization.
46753         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46754
46755 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46756
46757         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46758         aligned copy for power7 with vector-scalar instructions.
46759         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46760
46761 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46762
46763         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46764         AVX check.
46765
46766 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46767
46768         [BZ #13144]
46769         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46770         last change.
46771
46772 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46773
46774         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46775         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46776         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46777         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46778         clock_gettime.
46779
46780 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46781
46782         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46783         Forgot to demangle the pointer.
46784
46785         * sysdeps/i386/sysdep.h: Define atom_text_section.
46786         * sysdeps/x86_64/sysdep.h: Likewise.
46787         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46788         section with atom_text_section.
46789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46790         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46791         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46793         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46794
46795         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46796         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46797         already be defined.  Change to take two parameters and don't assign
46798         result to variable.  Adjust all users.
46799         Define INTERNAL_GETTIME if not already defined.
46800         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46801         call.
46802         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46803         HAVE_CLOCK_GETTIME_VSYSCALL.
46804         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46805
46806         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46807         gettimeofday vsyscall, just use time.
46808
46809 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46810
46811         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46812         <errno.h>.
46813
46814 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46815
46816         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46817         syscall on x86-64.
46818         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46819         syscall.
46820         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46821         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46822         syscall if possible.
46823
46824 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46825
46826         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46827         e_ident.  Don't pass to find_mapsXX.
46828         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46829
46830 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46831
46832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46833         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46834         * sysdeps/x86_64/multiarch/strchr.S: Update.
46835         Check bit_slow_BSF bit.
46836         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46837         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46838         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46839
46840 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46841
46842         [BZ #13134]
46843         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46844         before glibc 2.15.
46845         (tryshell): Define.
46846         (__spawni): Change last parameter to be flag.  Test
46847         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46848         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46849         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46850         * posix/spawni.c: Likewise.
46851         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46852         * posix/spawnp.c: Likewise.  Change normal version to use
46853         SPAWN_XFLAGS_USE_PATH.
46854         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46855         SPAWN_XFLAGS_TRY_SHELL.
46856
46857         [BZ #13150]
46858         * posix/glob.h: Remove gcc 1.x support.
46859
46860         [BZ #13068]
46861         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46862
46863 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46864
46865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46866         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46867         strrchr-sse2-bsf
46868         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46869         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46870         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46871         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46872         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46873         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46874
46875 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46876
46877         * sysdeps/x86_64/wcscmp.S: New file.
46878
46879         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46880         wcscmp-c wcscmp-sse2
46881         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46882         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46883         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46884         * wcsmbs/wcscmp.c: Allow renaming.
46885
46886 2011-09-05  David S. Miller  <davem@davemloft.net>
46887
46888         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46889         stack slot, rather than the struct return pointer slot.
46890         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46891         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46893         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46894
46895 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46896
46897         * po/ja.po: Update from translation team.
46898
46899         [BZ #13144]
46900         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46901         kernel in 64-bit binaries.
46902
46903 2011-09-01  David S. Miller  <davem@davemloft.net>
46904
46905         * elf/elf.h (HWCAP_SPARC_*): Move to..
46906         * sysdeps/sparc/sysdep.h: this new file and add new values.
46907         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46908         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46909         _DL_HWCAP_COUNT to 24.
46910         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46911         entries.
46912         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46913         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46914         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46916         instead of magic constants.
46917         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46918
46919 2011-08-31  David S. Miller  <davem@davemloft.net>
46920
46921         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46922         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46923         Reimplement to do errno handling inline.
46924         (SYSCALL_ERROR_HANDLER): New macro.
46925         (__SYSCALL_STRING): Do not do errno handling in asm.
46926         (__CLONE_SYSCALL_STRING): Delete.
46927         (__INTERNAL_SYSCALL_STRING): Delete.
46928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46929         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46930         (PSEUDO): Reimplement to do errno handling inline.
46931         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46932         (SYSCALL_ERROR_HANDLER): New macro.
46933         (__SYSCALL_STRING): Do not do errno handling in asm.
46934         (__CLONE_SYSCALL_STRING): Delete.
46935         (__INTERNAL_SYSCALL_STRING): Delete.
46936         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46937         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46938         i386.
46939         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46940         (inline_syscall*): Add 'err' argument.
46941         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46942         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46943         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46944         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46945
46946         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46947         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46948
46949 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46950
46951         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46952
46953 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46954
46955         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46956         directive.
46957
46958 2011-08-24  David S. Miller  <davem@davemloft.net>
46959
46960         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46961
46962 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46963
46964         * elf/Makefile: Add rules to build and run unload8 test.
46965         * elf/unload8.c: New file.
46966         * elf/unload8mod1.c: New file.
46967         * elf/unload8mod1x.c: New file.
46968         * elf/unload8mod2.c: New file.
46969         * elf/unload8mod3.c: New file.
46970
46971         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46972         it wasn't used.
46973
46974 2011-08-23  David S. Miller  <davem@davemloft.net>
46975
46976         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46977         subtract stack bias.
46978         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46979         %sp not %fp in calculations.
46980         (_JMPBUF_UNWINDS_ADJ): Likewise.
46981
46982         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46983         (aio_suspend): Call it to force an exception region around the
46984         AIO_MISC_WAIT() invocation.
46985
46986 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46987
46988         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46989         backslash.
46990
46991 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46992
46993         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46994         protection macro.
46995         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46996         and <dl-machine.h>.
46997         (Elf64_FuncDesc): Remove.
46998
46999 2011-08-22  David S. Miller  <davem@davemloft.net>
47000
47001         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47002         sigaltstack check, add missing cfi directives.
47003         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47004         missing cfi directives, and sigaltstack handling.
47005
47006 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47007
47008         [BZ #11724]
47009         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47010         object is seen twice.
47011         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47012
47013         * elf/Makefile (distribute): Add tst-initorder2.c.
47014         (tests): Add tst-initorder2.
47015         (modules-names): Add tst-initorder2a tst-initorder2b
47016         tst-initorder2c tst-initorder2d.  Add rules to build them.
47017         ($(objpfx)tst-initorder2.out): New rule.
47018         * elf/tst-initorder2.c: New file.
47019         * elf/tst-initorder2.exp: New file.
47020
47021 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47022
47023         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47024
47025         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47026         dependencies back to end of function.
47027
47028         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47029         $(elfobjdir)/ld.so.
47030
47031 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47032
47033         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47034         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47035         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47036         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47037         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47038         of __vdso_gettimeofday.
47039         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47040         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47041         attribute_hidden.
47042         (_libc_vdso_platform_setup): Remove initialization of
47043         __vdso_gettimeofday and __vdso_time.
47044
47045 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47046
47047         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47048         and fgetc_unlocked.
47049         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47050         getc_unlocked.
47051
47052         * elf/dl-open.c (add_to_global): Report additions to the global scope
47053         for LD_DEBUG=scopes.
47054         (dl_open_worker): Also print scope of newly loaded dependencies.
47055         (_dl_show_scope): Indicate if there is no scope.
47056
47057         [BZ #13114]
47058         * stdio-common/Makefile (tests): Add bug24.
47059         * stdio-common/bug24.c: New file.
47060
47061 2011-08-19  Andreas Jaeger  <aj@suse.de>
47062
47063         [BZ #13114]
47064         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47065         non-existant file when using close-on-exec mode.
47066
47067 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47068
47069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47070         the very first instruction.
47071
47072         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47073         the CFI state in the end.
47074         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47075         inclusion of dl-trampoline.h.
47076         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47077
47078 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47079
47080         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47081         expectations for long double.
47082
47083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47084         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47085
47086 2011-08-14  David S. Miller  <davem@davemloft.net>
47087
47088         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47089         artificual limit depends upon the system page size.
47090
47091 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47092
47093         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47094         * resolv/Makefile: Define CFLAGS-libresolv.
47095
47096 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47097
47098         * nss/makedb.c (compute_tables): Make variables used in nested
47099         function static.
47100
47101 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47102
47103         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47104         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47105         if buffer was too small.
47106
47107         * elf/pldd.c (main): Attach to all threads in the process.
47108         Rewrite /proc handling to use *at functions.
47109
47110 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47111
47112         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47113         specifies first scope to show.
47114         (dl_open_worker): Update callers.  Move printing scope of new
47115         object to before the relocation.
47116         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47117         * sysdeps/generic/ldsodefs.h: Update declaration.
47118
47119         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47120         string for the scope number.
47121
47122 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47123
47124         * nscd/servicescache.c (cache_addserv): Make sure written is always
47125         initialized.
47126
47127 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47128
47129         * sysdeps/i386/i486/bits/atomic.h
47130         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47131         statement expression, so as to suppress "set but not used" warning.
47132         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47133
47134         * string/strncat.c (STRNCAT): Use prototype definition.
47135
47136         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47137         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47138         -Iprograms here.
47139         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47140         (localedef-modules): Add localedef.
47141         (locale-modules): Add locale.
47142
47143         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47144         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47145         to avoid a warning.
47146
47147 2011-08-14  David S. Miller  <davem@davemloft.net>
47148
47149         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47150         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47151
47152 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47153
47154         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47155         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47156         * elf/rtld.c (dl_main): Set l_name of vDSO.
47157         Call _dl_show_scope when DL_DEBUG_SCOPES.
47158         (process_dl_debug): Recognize scopes flag and also set it for all.
47159         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47160         Declare _dl_show_scope.
47161
47162         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47163         (do_dlopen): Pass caller_dlopen to dl_open.
47164         (__libc_dlopen_mode): Initialize caller_dlopen.
47165
47166         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47167         of libc.  Make tolower call locale-independent.  Optimize a bit by
47168         using isdigit instead of isalnum.
47169         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47170
47171 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47172
47173         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47174         was a dependency or dynamically loaded.
47175
47176 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47177
47178         * intl/l10nflist.c: Allow architecture-specific pop function.
47179         * sysdeps/x86_64/l10nflist.c: New file.
47180
47181         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47182         classification.
47183
47184 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47185
47186         * include/dirent.h: Add libc_hidden_proto for scandirat and
47187         scandirat64.  Don't declare __scandirat64.
47188         * dirent/scandirat.c: Add libc_hidden_def.
47189         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47190         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47191
47192 2011-08-10  David S. Miller  <davem@davemloft.net>
47193
47194         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47195         enum.
47196         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47199
47200 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47201
47202         * Versions.def [libc]: Add GLIBC_2.15.
47203         * dirent/Makefile (routines): Add scandirat and scandirat64.
47204         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47205         GLIBC_2.15.
47206         * dirent/dirent.h: Declare scandirat and scandirat64.
47207         * dirent/scandirat.c: New file.
47208         * dirent/scandirat64.c: New file.
47209         * sysdeps/wordsize-64/scandirat.c: New file.
47210         * sysdeps/wordsize-64/scandirat64.c: New file.
47211         * dirent/opendir.c: Define opendirat.
47212         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47213         using scandirat.
47214         * dirent/scandir64.c: Adjust for scandir.c change.
47215         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47216         __scandirat64, and __scandir_cancel_handler.
47217         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47218         additional parameter and use openat instead of open (outside of ld.so).
47219         Add new __opendir as wrapper around __opendirat.
47220         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47221         here without requiring old scandirat implementation.
47222
47223 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47224
47225         * dirent/scandir.c (cancel_handler): Renamed to
47226         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47227         defined.  Adjust users.
47228         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47229         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47230
47231 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47232
47233         * string/test-string.h (IMPL): Use __STRING to expand name and then
47234         stringify it.
47235
47236         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47237         of cleanups.
47238
47239 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47240
47241         * string/Makefile: Update.
47242         (strop-tests): Append strncat.
47243         * string/test-wcscmp.c: New file.
47244         New comprehensive test for wcscmp.
47245         * string/test-strcmp.c: Update.
47246         (WIDE): New define.
47247
47248 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47249
47250         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47251         line.
47252
47253 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47254
47255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47256         encoding to ACE if AI_IDN.
47257
47258 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47259
47260         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47261         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47262
47263 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47264
47265         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47266         Fix overflow bug in strncat.
47267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47268
47269         * string/test-strncat.c: Update.
47270         Add new tests for checking overflow bugs.
47271
47272 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47273
47274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47275         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47276         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47277         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47278         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47279         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47280         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47281         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47282         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47283
47284         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47285         (USE_AS_STRCAT): Define.
47286         Add strcat and strncat support.
47287         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47288
47289 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47290
47291         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47292         __n bigger than INT_MAX+1.
47293         (__strncmp_g): Likewise.
47294
47295 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47296
47297         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47298         * libio/stido.h: Likewise.
47299
47300         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47301         (AF_NFC): Define.
47302         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47303         (AF_NFC): Define.
47304
47305         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47306         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47307         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47308         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47309         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47310
47311         [BZ #13021]
47312         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47313         installed.
47314
47315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47316         typo.
47317         (_dl_x86_64_save_sse): Likewise.
47318
47319 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47320
47321         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47322         OSXSAVE.
47323         (_dl_x86_64_save_sse): Likewise.
47324
47325         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47326
47327         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47328
47329 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47330
47331         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47332         change.
47333         (_dl_x86_64_save_sse): Use correct AVX check.
47334
47335 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47336
47337         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47338         bug in strncpy/strncat.
47339         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47340
47341 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47342
47343         * string/tester.c (test_strcat): Add tests for different alignments
47344         of source and destination.
47345         (test_strncat): Likewise.
47346
47347 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47348
47349         [BZ #12852]
47350         * posix/glob.c (glob): Check passed in values before using them in
47351         expressions to avoid some overflows.
47352         (glob_in_dir): Likewise.
47353
47354         [BZ #13007]
47355         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47356         check for AVX enablement so that we don't crash with old kernels and
47357         new hardware.
47358         * elf/tst-audit4.c: Add same checks here.
47359         * elf/tst-audit6.c: Likewise.
47360
47361         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47362
47363 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47364
47365         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47366
47367 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47368
47369         * po/cs.po: Update from translation team.
47370         * po/bg.po: Likewise.
47371
47372 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47373
47374         * misc/sys/cdefs.h: Add support for const attribute.
47375         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47376         to gnu_dev_{major,minor,makedev} functions.
47377
47378 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47379
47380         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47381
47382 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47383
47384         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47385         strlen results.
47386
47387 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47388
47389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47390         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47391         register in order to avoid conflicts with the soft frame pointer
47392         being held in r11 when necessary.
47393         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47394         (INTERNAL_VSYSCALL_NCS): Likewise.
47395
47396 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47397
47398         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47399         * elf/dl-fini.c (_dl_fini): Adjust caller.
47400         * elf/dl-close.c (_dl_close_worker): Likewise.
47401         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47402
47403 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47404
47405         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47406         "aux_cache->nlibs < 0".
47407
47408         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47409         in the reload-count case.
47410
47411 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47412
47413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47414         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47415         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47416         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47417         * sysdeps/x86_64/multiarch/strcat.S: New file.
47418         * sysdeps/x86_64/multiarch/strncat.S: New file.
47419         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47420         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47421         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47422         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47423         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47424         (USE_AS_STRCAT): Define.
47425         Add strcat and strncat support.
47426         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47427         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47428         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47429         * string/strncat.c: Update.
47430         (USE_AS_STRNCAT): Define.
47431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47432         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47433         and i7.
47434         * sysdeps/x86_64/multiarch/init-arch.h
47435         (bit_Prefer_PMINUB_for_stringop): New.
47436         (index_Prefer_PMINUB_for_stringop): Likewise.
47437         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47438         bit_Prefer_PMINUB_for_stringop.
47439
47440 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47441
47442         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47443         buffer64.
47444         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47445         of casting of buffer.
47446         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47447         buffer32 and buffer64.
47448         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47449         writes instead of casting of buffer.
47450         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47451         buffer32.
47452         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47453         casting of buffer.
47454
47455 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47456
47457         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47458
47459 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47460
47461         * nscd/nscd.c (termination_handler): Don't do anything for a database
47462         if it has not yet been initialized.
47463
47464 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47465
47466         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47467
47468 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47469
47470         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47471
47472 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47473
47474         * po/nl.po: Update from translation team.
47475         * po/sv.po: Likewise.
47476
47477 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47478
47479         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47480         now disallowed by GCC.
47481
47482         * configure.in (use-default-link): Default to yes if a test -shared
47483         link meets our qualifications.
47484         * configure: Regenerated.
47485
47486         * config.make.in (output-format): New variable.
47487         * configure.in: Check for ld --print-output-format support.
47488         * configure: Regenerated.
47489         * Makerules ($(common-objpfx)format.lds)
47490         [$(output-format) != unknown]: Just use $(output-format),
47491         instead of the linker-script munging.
47492
47493 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47494
47495         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47496         of $(common-objpfx)shlib.lds.
47497         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47498
47499         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47500         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47501
47502         * configure.in (-z relro check): Adjust test code to add a large
47503         writable data section after it.
47504         * configure: Regenerated.
47505
47506 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47507
47508         * configure.in (-z relro check): Fix test code to make the variable
47509         truly const.
47510         * configure: Regenerated.
47511
47512 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47513
47514         * nscd/nscd.h (struct traced_file): Define.
47515         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47516         elements.  Add traced_files.
47517         (inotify_fd): Declare.
47518         (register_traced_file): Declare.
47519         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47520         (inotify_fd): Export.
47521         (resolv_conf_descr): Remove.
47522         (nscd_init): Move inotify descriptor creation to main.
47523         Don't register files for notification here.
47524         (register_traced_file): New function.
47525         (invalidate_cache): Don't use reset_res to determine whether to call
47526         res_init, go through the list of registered files.
47527         (main_loop_poll): The inotify descriptors are now stored in the
47528         structures for the traced files.
47529         (main_loop_epoll): Likewise
47530         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47531         to __nss_disable_nscd.
47532         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47533         for a database anymore.  Check the records for all the registered
47534         files instead.
47535         * nss/Makefile (libnss_files-routines): Add files-init.
47536         (libnss_db-routines): Add db-init.
47537         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47538         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47539         * nss/nss_db/db-init.c: New file.
47540         * nss/nss_files/files-init.c: New file.
47541         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47542         __nss_lookup_function.
47543         (__nss_lookup_function): Call nss_load_library.
47544         (nss_load_all_libraries): New function.
47545         (__nss_disable_nscd): Take parameter with callback function for files
47546         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47547         used for the cached services.
47548         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47549         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47550         options for features to all the files in nscd.
47551
47552         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47553
47554 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47555
47556         * csu/elf-init.c (__libc_csu_init): Comment typo.
47557
47558 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47559
47560         * po/pl.po: Update from translation team.
47561         * po/ja.po: Likewise.
47562         * po/ru.po: Likewise.
47563         * po/ko.po: Likewise.
47564         * po/fr.po: Likewise.
47565
47566 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47567
47568         * configure.in (.ctors/.dtors header and trailer check):
47569         Use an empirical test on a built program.
47570         * configure: Regenerated.
47571
47572         * configure.in (-z relro check): Use an empirical test on a built DSO.
47573         Detect, but do not require, on ia64.
47574         * configure: Regenerated.
47575
47576         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47577         Update tests that use readelf to use $READELF instead.
47578         * configure: Regenerated.
47579
47580 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47581
47582         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47583         if the result is not used.
47584
47585 2011-07-05  Andreas Jaeger  <aj@suse.de>
47586
47587         [BZ#9696]
47588         * stdlib/tst-strtod.c: Add testcase.
47589
47590 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47591
47592         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47593         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47594         The latter has a higher limit.  Take additional parameter to pass to
47595         the new function.
47596         (__pathconf): Pass file to __statfs_link_max.
47597         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47598         __statfs_link_max.
47599         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47600         __statfs_link_max.
47601
47602         [BZ #12868]
47603         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47604         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47605         Handle Lustre.
47606         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47607         (__statfs_filesize_max): Likewise.
47608         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47609
47610 2011-07-05  Andreas Jaeger  <aj@suse.de>
47611
47612         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47613
47614 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47615
47616         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47617         `status' variable.
47618         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47619         Likewise.
47620
47621 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47622
47623         * Makefile (strop-tests): Add strncat.
47624         * string/test-strncat.c: New file.
47625
47626 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47627
47628         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47629
47630 2011-06-21  Andreas Jaeger  <aj@suse.de>
47631
47632         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47633         Copy rule from iconvdata/Makefile.
47634
47635 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47636
47637         [BZ #12922]
47638         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47639         but no long options are defined, just return 'W'.
47640
47641 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47642
47643         [BZ #9696]
47644         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47645
47646 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47649         netgroups to read.
47650         (innetgr): Likewise.
47651
47652 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47653
47654         * config.make.in (install_root): Default to $(DESTDIR).
47655
47656 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47657
47658         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47659
47660 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47661
47662         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47663
47664         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47665         containing directory rather than embedding absolute directory names.
47666
47667         * scripts/check-local-headers.sh: Rewritten using awk.
47668         Match by word, not by line.  Print error messages for matches.
47669         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47670
47671         * Makerules [shlib-lds-flags empty]:
47672         ($(common-objpfx)libc_pic.opts): New target.
47673         ($(common-objpfx)libc_pic.os.clean): New target.
47674         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47675
47676         * config.make.in (OBJCOPY): New variable.
47677         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47678         * configure: Regenerated.
47679
47680         * config.make.in (use-default-link): New variable.
47681         * configure.in (use_default_link): Grok --with-default-link to set it.
47682         * configure: Regenerated.
47683         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47684         (shlib-lds, shlib-lds-flags): Define to empty.
47685
47686         * Makerules (shlib-lds): New variable.
47687         (shlib-lds-flags): New variable.
47688         (build-shlib, build-moduile, build-module-asneeded): Use it.
47689         ($(common-objpfx)libc.so): Use $(shlib-lds).
47690         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47691         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47692
47693         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47694         DT_FLAGS/DT_FLAGS_1 with zero flags.
47695
47696         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47697         linker script munging.
47698
47699 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47700
47701         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47702         as 128-bit value.
47703         * crypt/sha512.c (sha512_process_block): Perform total addition using
47704         128-bit if possible.
47705         (__sha512_finish_ctx): Likewise.
47706         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47707         as 64-bit value.
47708         * crypt/sha256.c (SWAP64): Define.
47709         (sha256_process_block): Perform total addition using 64-bit if
47710         possible.
47711         (__sha256_finish_ctx): Likewise.
47712
47713 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47714
47715         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47716         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47717         * nscd/hstcache.c (cache_addhst): Likewise.
47718         * nscd/grpcache.c (cache_addgr): Likewise.
47719         * nscd/aicache.c (addhstaiX): Likewise
47720         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47721
47722 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47723
47724         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47725         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47726         * nscd/hstcache.c (cache_addhst): Likewise.
47727         * nscd/grpcache.c (cache_addgr): Likewise.
47728         * nscd/aicache.c (addhstaiX): Likewise
47729
47730 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47731
47732         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47733         domain only when needed.
47734
47735 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47736
47737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47738         is always restored.
47739
47740 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47741
47742         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47743         are re-adding the entry.
47744         * nscd/servicescache.c (cache_addserv): Likewise.
47745
47746 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47747
47748         * sysdeps/generic/dl-irel.h: fix protection against multiple
47749         inclusions.
47750         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47751
47752 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47753
47754         [BZ #12935]
47755         * malloc/memusage.sh: Fix quoting in message.
47756         * debug/xtrace.sh: Likewise.
47757
47758         * configure.in: Remove support for --experimental-malloc option, make
47759         it the default.
47760         * config.make.in: Likewise.
47761         * malloc/Makefile: Likewise.
47762
47763 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47764
47765         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47766         two-byte characters.
47767
47768 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47769
47770         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47771         AC_CACHE_CHECK invocation.
47772         * configure: Regenerated.
47773
47774         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47775
47776 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47777
47778         [BZ #12350]
47779         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47780         bit from old_res_options.
47781
47782         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47783
47784         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47785         value type for setfct.
47786
47787 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47788
47789         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47790         __gettimeofday instead of gettimeofday.
47791
47792 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47793
47794         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47795
47796 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47797
47798         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47799
47800         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47801         info.
47802
47803 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47804
47805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47806         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47807         strcpy-sse2-unaligned strncpy-sse2-unaligned
47808         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47809         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47810         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47811         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47812         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47813         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47814         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47815         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47816         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47817         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47818         (STRCPY): Support SSE2 and SSSE3 versions.
47819
47820 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47821
47822         [BZ #12874]
47823         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47824         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47825         kernels which artificially limit size of requests.
47826
47827 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47828
47829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47830         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47831         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47832         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47833         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47834         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47835         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47836         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47837         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47839         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47840         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47841         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47842         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47843         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47845         Enable unaligned load optimization for Intel Core i3, i5 and i7
47846         processors.
47847         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47848         Define.
47849         (index_Fast_Unaligned_Load): Define.
47850         (HAS_FAST_UNALIGNED_LOAD): Define.
47851
47852 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47853
47854         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47855
47856 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47857
47858         [BZ #12907]
47859         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47860         until it is clear that the information is realy needed.
47861         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47862
47863 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47864
47865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47866
47867 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47868
47869         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47870         /sys/devices/system/cpu/online if it is usable.
47871
47872         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47873         reading the information from the /proc filesystem to once a second.
47874
47875 2011-06-21  Andreas Jaeger  <aj@suse.de>
47876
47877         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47878         NULL after inclusion of kernel headers.
47879
47880 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47881
47882         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47883         calls to internal_setent.
47884
47885         [BZ #12885]
47886         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47887         addresses using gethostbyname4_r ignore IPv4 addresses.
47888
47889         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47890         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47891
47892         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47893
47894 2011-06-20  David S. Miller  <davem@davemloft.net>
47895
47896         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47897         inclusions.
47898         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47899
47900         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47901         (elf_irel): Use it.
47902         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47903         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47904         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47905         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47906         * sysdeps/x86_64/dl-irel.h: Likewise.
47907
47908         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47909         * elf/dl-sym.c: Likewise.
47910
47911 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47912
47913         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47914         need to dereference resplen2.
47915
47916 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47917
47918         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47919
47920 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47921
47922         * Makeconfig: Define vardbdir and inst_vardbdir.
47923         * nss/Makefile: Add rules to install db-Makefile.
47924
47925         * nss/nss_db/db-XXX.c: Cleanup.
47926
47927         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47928         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47929         GLIBC_PRIVATE.
47930         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47931         * nss/makedb.c: Implement -g option to specify that value strings
47932         are generated and should not be added to table iterated over for
47933         get*ent calls.
47934         * nss/nss_db/db-initgroups.c: New file.
47935
47936         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47937         interface.
47938
47939         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47940         (internal_getgrouplist): Adjust to name change.
47941         Update use_initgroups_entry if this is not the first call.
47942         * nss/databases.def: Add initgroups entry.
47943
47944         * nss/makedb.c (compute_tables): Check result of multiple hash table
47945         sizes to minimize maximum chain length.
47946
47947 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47948
47949         * Versions.def: Add entry for libnss_db.
47950         * shlib-versions: Likewise.
47951         * nss/Makefile: Add rules to build libnss_db.
47952         * nss/Versions: Add libnss_db information.  Organize libnss_files
47953         entries better.
47954         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47955         makedb progra.  Some minor improvements to generate smaller files.
47956         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47957         here from...
47958         * nss/makedb.c: ...here.
47959         Improve database format to be smaller and require less memory at
47960         runtime.
47961         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47962         db anymore.
47963         * nss/nss_db/db-netgrp.c: Likewise.
47964         * nss/nss_db/db-open.c: Likewise.
47965         * nss/nss_files/flies-XXX.x: Adjust comments.
47966         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47967         * nss/nss_files/files-grp.c: Likewise.
47968         * nss/nss_files/files-hosts.c: Likewise.
47969         * nss/nss_files/files-network.c: Likewise.
47970         * nss/nss_files/files-proto.c: Likewise.
47971         * nss/nss_files/files-pwd.c: Likewise.
47972         * nss/nss_files/files-rpc.c: Likewise.
47973         * nss/nss_files/files-service.c: Likewise.
47974         * nss/nss_files/files-sgrp.c: Likewise.
47975         * nss/nss_files/files-spwd.c: Likewise.
47976         * nss/nss_db/db-alias.c: Removed.
47977         * nss/nss_db/dummy-db.h: Removed.
47978
47979 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47980
47981         * nss/makedb.c: Rewritten to not use database library.
47982         * nss/Makefile: Update to build new makedb program.
47983
47984 2011-06-14  Andreas Jaeger  <aj@suse.de>
47985
47986         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47987         memset declaration.
47988
47989 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47990
47991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47992         tmpbuf.
47993
47994 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47995
47996         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47997         * elf/Makefile ($(objpfx)ld.so): Likewise.
47998
47999         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48000         Don't list ld.so twice in dependencies.
48001
48002         * posix/bug-regex31.c: Include <stdlib.h>.
48003
48004         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48005
48006         * nis/nss_compat/compat-spwd.c
48007         (getspent_next_nss_netgr): Remove unused variable.
48008         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48009
48010         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48011         nonmembers" output to use the right array.
48012
48013         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48014
48015         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48016
48017         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48018         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48019         * catgets/gencat.c (read_input_file): Likewise.
48020         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48021
48022         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48023         variable definition inside #if's controlling its use.
48024
48025         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48026
48027         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48028
48029         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48030
48031         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48032         unreachable code.
48033
48034         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48035
48036         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48037         * configure: Regenerated.
48038
48039         * Makerules: Revert last change.
48040         * elf/Makefile: Likewise.
48041
48042 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48043
48044         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48045         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48046         (reloc-link): Likewise.
48047
48048 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48049
48050         * elf/Makefile: Add rules to build pldd.
48051         * elf/pldd.c: New file.
48052         * elf/pldd-xx.c: New file.
48053
48054 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48055
48056         * version.h: Update for 2.15 development version.
48057
48058 2011-06-07  David S. Miller  <davem@davemloft.net>
48059
48060         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48061         ifuncs.
48062         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48063         elf_machine_lazy_rel): Likewise.
48064         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48065         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48066         elf_machine_lazy_rel): Likewise.
48067         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48068         dl_hwcap via passed in argument.
48069         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48070         Likewise.
48071
48072 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48073
48074         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48075
48076 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48077
48078         [BZ #12849]
48079         * manual/fdl-1.1.texi: New file, verbatim from:
48080         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48081         * manual/lgpl-2.1.texi: New file, verbatim from:
48082         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48083         * manual/Makefile (licenses): New variable, list those new file names.
48084         (texis): Use it.
48085         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48086
48087         * manual/fdl.texi: File removed.
48088         * manual/lesser.texi: File removed.
48089         * manual/libc.texinfo (Copying, Documentation License):
48090         Use new @include file names, put @appendix directive before @include.
48091
48092 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48093
48094         [BZ #12841]
48095         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48096         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48097         (mq_open): Add __NTH.
48098
48099 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48100
48101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48102         Assume Intel Core i3/i5/i7 processor if AVX is available.
48103
48104 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48105
48106         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48107         typo.
48108
48109 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48110
48111         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48112         memory.  Use alloca_account.  Fix memory leak when retrying.
48113
48114 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48115
48116         * version.h (RELEASE): Bump for 2.14 release.
48117         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48118
48119         * config.make.in (RANLIB): Remove entry.
48120
48121 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48122
48123         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48124         (libc.pot): Work around missing support for .ksh extension in xgettext.
48125
48126         [BZ #12684]
48127         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48128         if both request failed.
48129         (send_dg): In case of server errors clear resplen or *resplen2.
48130
48131         [BZ #12454]
48132         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48133         when there are multiple maps.
48134         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48135         (_dl_fini): Remove test here.
48136
48137         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48138
48139 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48140
48141         [BZ #12350]
48142         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48143         bit from old_res_options.
48144         (gaih_inet): Likewise.
48145
48146         [BZ #11099]
48147         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48148         as signed.
48149
48150         * resolv/res_init.c (res_setoptions): Make the code more compact.
48151
48152         [BZ #11558]
48153         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48154         set RES_USEVC.
48155
48156         [BZ #11634]
48157         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48158
48159         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48160
48161         [BZ #11781]
48162         * malloc/malloc.h: Declare malloc hook variables as volatile.
48163
48164         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48165         in last patch.
48166
48167         [BZ #11799]
48168         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48169         raise in the comment.
48170         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48171         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48172         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48173
48174 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48175
48176         [BZ #12811]
48177         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48178         grow the buffers more if it already has to be sufficient.
48179         (build_wcs_upper_buffer): Likewise.
48180         * posix/regexec.c (check_matching): Likewise.
48181         (clean_state_log_if_needed): Likewise.
48182         (extend_buffers): Don't enlarge buffers beyond size of the input
48183         buffer.
48184         Patches mostly by Emil Wojak <emil@wojak.eu>.
48185         * posix/bug-regex32.c: New file.
48186         * posix/Makefile (tests): Add bug-regex32.
48187
48188         * locale/findlocale.c (_nl_find_locale): Return right away if
48189         _nl_explode_name failed.
48190         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48191
48192         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48193
48194         * debug/xtrace.sh: Unify messages.
48195         * malloc/memusage.sh: Likewise.
48196
48197         [BZ #12813]
48198         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48199         time symbol from vDSO.  Substitute with vsyscall if not available.
48200         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48201         __vdso_time.
48202
48203         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48204         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48205         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48206         Add sendmmsg and internal_sendmmsg.
48207         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48208         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48209         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48210
48211         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48212         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48213         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48214
48215 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48216
48217         [BZ #12813]
48218         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48219         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48220         available.
48221         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48222         __vdso_getcpu.
48223
48224         [BZ #12814]
48225         * iconvdata/Makefile (tests): Add bug-iconv9.
48226         * iconvdata/bug-iconv9.c: New file.
48227
48228 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48229
48230         [BZ #12814]
48231         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48232
48233 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48234
48235         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48236         (struct user_regs_struct): Change intcs field back to cs.
48237
48238 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48239
48240         * po/ja.po: Update from translation team.
48241
48242 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48243
48244         [BZ #12795]
48245         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48246         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48247
48248 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48249
48250         * stdlib/longlong.h: Update from GCC.
48251
48252 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48253
48254         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48255         parameter name.
48256         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48257         Add parameter name.
48258         (__sysconf): Pass it down.
48259
48260 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48261
48262         [BZ #12671]
48263         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48264         some situations.
48265         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48266         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48267         add in in __libc_use_alloca calls.  Adjust callers.
48268         (glob): Use malloc in some situations.
48269
48270         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48271         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48272         pltexit.
48273
48274 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48275
48276         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48277         and CLOCK_BOOTTIME_ALARM.
48278
48279         [BZ #12782]
48280         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48281         is returned.
48282
48283         * string/_strerror.c (__strerror_r): Print negative errors as signed
48284         numbers.
48285
48286         [BZ #12777]
48287         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48288         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48289         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48290
48291         * configure.in: Fix typo in redirection and correct removal of test
48292         files in two cases.
48293
48294         [BZ #12788]
48295         * locale/setlocale.c (new_composite_name): Fix test to check for
48296         identical name of all categories.
48297
48298         [BZ #12792]
48299         * libio/filedoalloc.c (local_isatty): New function.
48300         (_IO_file_doallocate): Use local_isatty.
48301         * stdio-common/perror.c (perror): In case a new stream is used
48302         forward the stream error.
48303         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48304         error flag.
48305
48306 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48307
48308         [BZ #11869]
48309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48310         alloca.
48311         * include/alloca.h (extend_alloca_account): Define.
48312
48313         [BZ #11857]
48314         * posix/regex.h: Fix comments with documentation of user-accessible
48315         fields after compilation and describe correct free'ing of pattern
48316         after re_compile_pattern.
48317         Patch by Reuben Thomas <rrt@sc3d.org>.
48318
48319 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48320
48321         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48322         and -mno-altivec to prevent the compiler from using Altivec and/or
48323         VSX instructions when the corresponding registers are not available.
48324
48325 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48326
48327         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48328
48329 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48330
48331         * libio/freopen.c (freopen): Use __dup2, not dup2.
48332         * libio/freopen64.c (freopen64): Likewise.
48333
48334 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48335
48336         [BZ #12775]
48337         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48338         * math/Makefile (tests): Add test-powl.
48339         (CFLAGS-test-powl.c): Define.
48340         * math/test-powl.c: New file.
48341
48342 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48343
48344         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48345
48346 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48347
48348         [BZ #11837]
48349         * iconvdata/gb18030.c: Update to GB18020-2005.
48350
48351 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48352
48353         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48354         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48355         Patch by Aharon Robbins <arnold@skeeve.com>.
48356
48357         [BZ #11892]
48358         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48359         on the stack.
48360
48361         [BZ #11895]
48362         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48363         through underflows.
48364
48365         [BZ #12766]
48366         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48367         point to strings before performing equality test for error_one_per_line
48368         mode.
48369
48370         [BZ #11697]
48371         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48372
48373         [BZ #11820]
48374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48375         (struct user_fpregs_struct): Avoid __uint*_t types.
48376
48377         [BZ #6420]
48378         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48379         symbol info.  Use it instead of calling _dl_addr locally.
48380         (lock_and_info): New function.
48381         (tr_freehook): Call lock_and_info and pass symbol info as additional
48382         parameter to tr_where.
48383         (tr_mallochook): Likewise.
48384         (tr_reallochook): Likewise.
48385         (tr_memalignhook): Likewise.
48386
48387         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48388         used and couldn't be at all thread-safe.
48389
48390 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48391
48392         * libio/freopen.c (freopen): Don't close old file descriptor
48393         before the new one is opened.  Instead dup the new file descriptor
48394         to the old one after the new stream is created.
48395         * libio/freopen64.c (freopen64): Likewise.
48396         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48397         * libio/fileops.c (_IO_new_file_close_it): Handle new
48398         _IO_FLAGS2_NOCLOSE flag.
48399         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48400         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48401         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48402         _IO_FLAGS2_NOCLOSE flag.
48403         * include/unistd.h: Add hidden_proto for dup3.
48404         Define __have_dup3.
48405         * io/dup3.c: Define hidden symbol.
48406         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48407
48408         [BZ #7101]
48409         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48410         when an incomplete long option is used.
48411         * posix/tst-getopt_long1.c: New file.
48412         * posix/Makefile (tests): Add tst-getopt_long1.
48413
48414         [BZ #10138]
48415         * scripts/config.guess: Update from autoconf-2.68.
48416         * scripts/config.sub: Likewise.
48417
48418         [BZ #10157]
48419         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48420         tests into ...
48421         (has_cpuclock): ...this.  New function.
48422         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48423         macro here based on has_cpuclock code.
48424
48425         [BZ #10149]
48426         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48427         First byte (not low byte) is now always NUL.
48428         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48429
48430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48431         Use non-cancelable interfaces.
48432
48433         [BZ #9809]
48434         * locale/iso-639.def: Add entry for Sorani.
48435
48436         [BZ #11901]
48437         * include/stdlib.h: Move include protection to the right place.
48438         Define abort_msg_s.  Declare __abort_msg with it.
48439         * stdlib/abort.c (__abort_msg): Adjust type.
48440         * assert/assert.c (__assert_fail_base): New function.  Majority
48441         of code from __assert_fail.  Allocate memory for __abort_msg with
48442         mmap.
48443         (__assert_fail): Now call __assert_fail_base.
48444         * assert/assert-perr.c: Remove bulk of implementation.  Use
48445         __assert_fail_base.
48446         * include/assert.hL Declare __assert_fail_base.
48447         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48448         mmap.
48449         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48450
48451 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48452
48453         [BZ #11952]
48454         [BZ #12453]
48455         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48456         until all modules are registered in the DTV.
48457         * elf/Makefile: Add rules to build and run tst-tls19.
48458         * elf/tst-tls19.c: New file.
48459         * elf/tst-tls19mod1.c: New file.
48460         * elf/tst-tls19mod2.c: New file.
48461         * elf/tst-tls19mod3.c: New file.
48462         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48463
48464         [BZ #12083]
48465         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48466         correctly.
48467
48468         [BZ #12601]
48469         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48470         two-byte sequence errors.
48471         * iconvdata/Makefile (tests): Add bug-iconv8.
48472         * iconvdata/bug-iconv8.c: New file.
48473
48474         [BZ #12626]
48475         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48476         buf2 definition.
48477
48478         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48479
48480         [BZ #12432]
48481         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48482         (dummy_getcfa): New function.
48483         (init): Get _Unwind_GetCFA address, use dummy if not found.
48484         (backtrace_helper): In recursion check, also check whether CFA changes.
48485         (__backtrace): Completely initialize arg.
48486
48487         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48488         storing incomplete byte sequence in state object.  Avoid testing for
48489         guaranteed too small input if we know there is enough data available.
48490
48491 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48492
48493         * Makeconfig (+link-pie): Indent.
48494         * Rules (binaries-pie): Define if $(have-fpie) and
48495         $(build-shared).
48496         (binaries-shared): Also filter out $(binaries-pie).
48497         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48498         * nscd/Makefile (others-pie): Add nscd.
48499         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48500         ($(objpfx)nscd): Remove command override.
48501         * login/Makefile (others-pie): Add pt_chown.
48502         ($(objpfx)pt_chown): Remove command override.
48503         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48504         remove command overrides.
48505
48506 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48507
48508         * libio/tst_putwc.c: Fix error messages.
48509
48510         [BZ #12724]
48511         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48512         currently writing and seek to current position when not.
48513         * libio/Makefile (tests): Add bug-fclose1.
48514         * libio/bug-fclose1.c: New file.
48515
48516 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48517
48518         [BZ #12511]
48519         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48520         don't set DF_1_NODELETE here.
48521         (do_lookup_x): When entering new entry test for copy relocation
48522         and if necessary set DF_1_NODELETE flag.
48523         * elf/tst-unique4.cc: New file.
48524         * elf/tst-unique4.h: New file.
48525         * elf/tst-unique4lib.cc: New file.
48526         * elf/Makefile: Add rules to build and run tst-unique4.
48527         Patch by Piotr Bury <pbury@goahead.com>.
48528
48529 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48530
48531         [BZ #12052]
48532         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48533
48534         [BZ #12625]
48535         * misc/mntent_r.c (addmntent): Flush the stream after the output
48536
48537         [BZ #12393]
48538         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48539         (is_trusted_path_normalize): Skip initial colon.  Append slash
48540         to empty buffer.  Duplicate is_trusted_path code but allow
48541         constructed patch to be prefix.
48542         (is_dst): Allow $ORIGIN followed by /.
48543         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48544         Correct testing of result of is_trusted_path_normalize
48545         (decompose_rpath): Fix warning.
48546
48547 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48548
48549         [BZ #11257]
48550         * grp/initgroups.c (internal_getgrouplist): When we found the service
48551         list through the initgroups entry in nsswitch.conf do not always
48552         continue on a successful lookup.  Don't always use the
48553         __nss_group_database value if it is set.
48554         * nss/nsswitch.conf (initgroups): Change action for successful db
48555         lookup to continue for compatibility.
48556
48557 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48558
48559         [BZ #11532]
48560         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48561         and CP774 modules.
48562         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48563         and CP774 modules.
48564         * iconvdata/tst-tables.sh: Likewise.
48565         * iconvdata/cp770.c: New file.
48566         * iconvdata/cp771.c: New file.
48567         * iconvdata/cp772.c: New file.
48568         * iconvdata/cp773.c: New file.
48569         * iconvdata/cp774.c: New file.
48570         * iconvdata/testdata/CP770: New file.
48571         * iconvdata/testdata/CP770..UTF8: New file.
48572         * iconvdata/testdata/CP771: New file.
48573         * iconvdata/testdata/CP771..UTF8: New file.
48574         * iconvdata/testdata/CP772: New file.
48575         * iconvdata/testdata/CP772..UTF8: New file.
48576         * iconvdata/testdata/CP773: New file.
48577         * iconvdata/testdata/CP773..UTF8: New file.
48578         * iconvdata/testdata/CP774: New file.
48579         * iconvdata/testdata/CP774..UTF8: New file.
48580
48581         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48582         END CHARMAP line.
48583         * iconvdata/gen-8bit-gap.sh: Likewise.
48584         * iconvdata/gen-8bit.sh: Likewise.
48585
48586         * locale/iso-639.def: Add ary entry.
48587
48588         [BZ #11258]
48589         * locale/C-translit.h.in: Add U20A1 transliteration.
48590
48591         [BZ #12178]
48592         * locale/iso-639.def: Add wae entry.
48593         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48594
48595         [BZ #12545]
48596         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48597         for n.
48598
48599         [BZ #12711]
48600         * locale/C-translit.h.in: Add entry for U20B9.
48601         Patch by pravin.d.s@gmail.com.
48602
48603 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48604
48605         [BZ #12713]
48606         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48607         ENAMETOOLONG use generic getcwd.
48608         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48609         in rtld.  Use *stat64.
48610         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48611         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48612         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48613         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48614         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48615         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48616         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48617         __fstatat64 macros.
48618         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48619         * dirent/rewinddir.c: Add libc_hidden_def.
48620         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48621         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48622
48623         * include/dirent.h (__alloc_dir): Add flags parameter.
48624         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48625         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48626         __alloc_dir.
48627         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48628         from fdopendir if O_CLOEXEC is already set.
48629
48630 2011-03-15  Alan Modra  <amodra@gmail.com>
48631
48632         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48633         l_tls_firstbyte_offset non-zero.  Save padding offset in
48634         l_tls_firstbyte_offset for later use.
48635         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48636         freeing static tls block.
48637
48638 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48639
48640         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48641         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48642         being defined by the kernel headers.
48643
48644 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48645
48646         [BZ #12734]
48647         * resolv/resolv.h: Define RES_NOTLDQUERY.
48648         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48649         no-tld-query and set RES_NOTLDQUERY.
48650         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48651         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48652         modern BIND to search name as TLD unless forbidden.
48653
48654 2011-05-07  Petr Baudis  <pasky@suse.cz>
48655             Ulrich Drepper  <drepper@gmail.com>
48656
48657         [BZ #12393]
48658         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48659         (is_trusted_path): ...to here.
48660         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48661         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48662         using is_trusted_path_normalize() in setuid scripts.
48663
48664 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48665
48666         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48667         __BEGIN/__END_DECLS.
48668
48669 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48670
48671         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48672         NSS_STATUS_NOTFOUND if no record was found.
48673
48674 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48675
48676         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48677         (headers-not-in-tirpc): Remove rpc/netdb.h
48678         * resolv/netdb.h: Revert last change.
48679
48680 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48681
48682         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48683         circular dependency between libgcc.a and libc.a.
48684
48685 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48686
48687         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48688         * nis/Makefile: Don't install rpcsvc/*.
48689         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48690         instead of <rpc/types.h>.
48691         (MAXHOSTNAMELEN): Define.
48692
48693 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48694
48695         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48696
48697 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48698
48699         [BZ #12714]
48700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48701         gethostbyname4_r when IPv6 results are possible.
48702
48703 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48704
48705         [BZ #12723]
48706         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48707         _PC_PIPE_BUF handling.
48708
48709 2011-04-30  Bruno Haible  <bruno@clisp.org>
48710
48711         [BZ #12717]
48712         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48713         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48714         to 'int'.
48715         * inet/getnameinfo.c (getnameinfo): Likewise.
48716
48717 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48718
48719         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48720         to groups setting in database lookup.
48721         * nss/nsswitch.conf: Add initgroups entry.
48722
48723 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48724
48725         [BZ #12685]
48726         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48727         mode string.
48728         Patch by Eric Blake <eblake@redhat.com>.
48729
48730 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48731
48732         * sunrpc/Makefile (need-export-routines): Add svc_run.
48733         (routines): Remove svc_run.
48734         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48735         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48736         * sunrpc/svc_run.c (svc_run): Likewise.
48737         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48738
48739 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48740
48741         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48742         problem in reallocation in last patch.
48743
48744 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48745
48746         * sunrpc/Makefile: Move inclusion of Rules.
48747
48748 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48749
48750         * nss/nss_files/files-initgroups.c: New file.
48751         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48752         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48753         _nss_files_initgroups_dyn.
48754
48755 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48756
48757         * elf/elf.h (R_ARM_IRELATIVE): Define.
48758
48759 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48760
48761         * po/ru.po: Update from translation team.
48762
48763 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48764
48765         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48766         dependencies.
48767
48768 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48769
48770         [BZ #12653]
48771         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48772         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48773         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48775         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48776
48777 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48778
48779         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48780         differing bytes.
48781         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48782         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48783         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48784
48785 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48786
48787         [BZ #12420]
48788         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48789         storing it.
48790         * stdlib/bug-getcontext.c: New file.
48791         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48792
48793 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48794
48795         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48796         instructions into .machine "z9-109".
48797         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48798         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48799
48800 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48801
48802         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48803         between environment variables and auxiliary vector.
48804
48805 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48806
48807         * Makefile: Add rules to build linkobj/libc.so.
48808         * include/libc-symbols.h: Define libc_hidden_nolink.
48809         * include/rpc/auth.h: Mark functions which are to be hidden.
48810         * include/rpc/auth_des.h: Likewise.
48811         * include/rpc/auth_unix.h: Likewise.
48812         * include/rpc/clnt.h: Likewise.
48813         * include/rpc/des_crypt.h: Likewise.
48814         * include/rpc/key_prot.h: Likewise.
48815         * include/rpc/pmap_clnt.h: Likewise.
48816         * include/rpc/pmap_prot.h: Likewise.
48817         * include/rpc/pmap_rmt.h: Likewise.
48818         * include/rpc/rpc_msg.h: Likewise.
48819         * include/rpc/svc.h: Likewise.
48820         * include/rpc/svc_auth.h: Likewise.
48821         * include/rpc/xdr.h: Likewise.
48822         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48823         * nss/Makefile: Likewise.
48824         * sunrpc/Makefile: Don't install headers.  Build library with normal
48825         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48826         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48827         for the compat linking library.  Remove use of INTDEF/INTUSE.
48828         * sunrpc/auth_none.c: Likewise.
48829         * sunrpc/auth_unix.c: Likewise.
48830         * sunrpc/authdes_prot.c: Likewise.
48831         * sunrpc/authuxprot.c: Likewise.
48832         * sunrpc/clnt_gen.c: Likewise.
48833         * sunrpc/clnt_perr.c: Likewise.
48834         * sunrpc/clnt_raw.c: Likewise.
48835         * sunrpc/clnt_simp.c: Likewise.
48836         * sunrpc/clnt_tcp.c: Likewise.
48837         * sunrpc/clnt_udp.c: Likewise.
48838         * sunrpc/clnt_unix.c: Likewise.
48839         * sunrpc/des_crypt.c: Likewise.
48840         * sunrpc/des_soft.c: Likewise.
48841         * sunrpc/get_myaddr.c: Likewise.
48842         * sunrpc/key_call.c: Likewise.
48843         * sunrpc/key_prot.c: Likewise.
48844         * sunrpc/netname.c: Likewise.
48845         * sunrpc/pm_getmaps.c: Likewise.
48846         * sunrpc/pm_getport.c: Likewise.
48847         * sunrpc/pmap_clnt.c: Likewise.
48848         * sunrpc/pmap_prot.c: Likewise.
48849         * sunrpc/pmap_prot2.c: Likewise.
48850         * sunrpc/pmap_rmt.c: Likewise.
48851         * sunrpc/publickey.c: Likewise.
48852         * sunrpc/rpc_cmsg.c: Likewise.
48853         * sunrpc/rpc_common.c: Likewise.
48854         * sunrpc/rpc_dtable.c: Likewise.
48855         * sunrpc/rpc_prot.c: Likewise.
48856         * sunrpc/rpc_thread.c: Likewise.
48857         * sunrpc/rtime.c: Likewise.
48858         * sunrpc/svc.c: Likewise.
48859         * sunrpc/svc_auth.c: Likewise.
48860         * sunrpc/svc_authux.c: Likewise.
48861         * sunrpc/svc_raw.c: Likewise.
48862         * sunrpc/svc_run.c: Likewise.
48863         * sunrpc/svc_simple.c: Likewise.
48864         * sunrpc/svc_tcp.c: Likewise.
48865         * sunrpc/svc_udp.c: Likewise.
48866         * sunrpc/svc_unix.c: Likewise.
48867         * sunrpc/svcauth_des.c: Likewise.
48868         * sunrpc/xcrypt.c: Likewise.
48869         * sunrpc/xdr.c: Likewise.
48870         * sunrpc/xdr_array.c: Likewise.
48871         * sunrpc/xdr_float.c: Likewise.
48872         * sunrpc/xdr_intXX_t.c: Likewise.
48873         * sunrpc/xdr_mem.c: Likewise.
48874         * sunrpc/xdr_rec.c: Likewise.
48875         * sunrpc/xdr_ref.c: Likewise.
48876         * sunrpc/xdr_sizeof.c: Likewise.
48877         * sunrpc/xdr_stdio.c: Likewise.
48878
48879 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48880
48881         [BZ #12650]
48882         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48883         * sysdeps/ia64/dl-tls.h: Likewise.
48884         * sysdeps/powerpc/dl-tls.h: Likewise.
48885         * sysdeps/s390/dl-tls.h: Likewise.
48886         * sysdeps/sh/dl-tls.h: Likewise.
48887         * sysdeps/sparc/dl-tls.h: Likewise.
48888         * sysdeps/x86_64/dl-tls.h: Likewise.
48889         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48890
48891 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48892
48893         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48894         rpath element also skip the following colon.
48895         (expand_dynamic_string_token): Add is_path parameter and pass
48896         down to DL_DST_REQUIRED and _dl_dst_substitute.
48897         (decompose_rpath): Call expand_dynamic_string_token with
48898         non-zero is_path.  Ignore empty rpaths.
48899         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48900         with zero is_path.
48901
48902 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48903
48904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48905         Make cancelable.
48906
48907 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48908
48909         [BZ #12655]
48910         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48911         Patch by Filipe David Manana <fdmanana@apache.org>.
48912
48913 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48914
48915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48916         Maintain aligned stack.
48917         (CHECK_RSP): Remove unused macro.
48918
48919 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48920
48921         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48922         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48923
48924 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48925
48926         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48927
48928         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48929
48930 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48931
48932         [BZ #12518]
48933         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48934         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48935         * sysdeps/x86_64/memmove.c: New file.
48936         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48937         (memcpy): Renamed to ...
48938         (__new_memcpy): This.
48939         (memcpy): Provide GLIBC_2_14 memcpy.
48940         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48941         (memcpy): Provide GLIBC_2_2_5 memcpy.
48942
48943 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48944
48945         [BZ #12631]
48946         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48947
48948 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48949
48950         * misc/syncfs.c: New file.
48951         * misc/Makefile (routines): Add syncfs.
48952         * posix/unistd.h: Declare syncfs.
48953         * sysdeps/unix/syscalls.list: Add syncfs.
48954
48955 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48956
48957         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48958         open_by_handle_at.
48959         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48960         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48961         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48962         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48964         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48965         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48966
48967 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48968
48969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48970         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48971         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48976
48977         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48978         sync_file_range.c with -fexceptions.
48979         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48980         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48981         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48982         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48983         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48984         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48986         sync_file_range as cancellation point
48987         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48988         now a wrapper around __call_sync_file_range with cancellation handling.
48989         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48990         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48991         function name to __call_sync_file_range.
48992         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48993         Add call_sync_file_range.
48994
48995 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48996
48997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48998         bits/timex.h.
48999
49000 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49001
49002         * iconv/iconv.h: Fix typo in comment.
49003         * io/fcntl.h: Likewise.
49004         * libio/stdio.h: Likewise.
49005         * posix/spawn.h: Likewise.
49006         * posix/unistd.h: Likewise.
49007         * stdlib/stdlib.h: Likewise.
49008         * time/time.h: Likewise.
49009         * wcsmbs/wchar.h: Likewise.
49010
49011         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49012         open_by_handle): Add.
49013         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49014         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49015         Augment a few comments.
49016         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49017         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49019         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49020         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49021         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49022         open_by_handle.
49023
49024         * io/fcntl.h (AT_EMPTY_PATH): Define.
49025
49026 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49027
49028         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49029         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49030         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49031         to...
49032         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49033         * Versions.def: Add GLIBC_2.14.
49034         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49035         Export.
49036
49037 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49038
49039         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49040         round counter.
49041         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49042
49043 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49044
49045         [BZ #12597]
49046         * string/test-strncmp.c (do_page_test): New function.
49047         (check2): Likewise.
49048         (test_main): Call check2.
49049         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49050
49051 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49052
49053         [BZ #12587]
49054         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49055         Handle cache information in CPU leaf 4.
49056         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49057
49058 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49059
49060         [BZ #12583]
49061         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49062         character representation.
49063         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49064
49065 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49066
49067         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49068         END(__isnan) to END(__isnanf) to match function entry point/label
49069         EALIGN(__isnanf,...).
49070
49071 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49072
49073         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49074
49075 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49076
49077         [BZ #12510]
49078         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49079         copy from the symbol referenced in the relocation to initialize the
49080         used variable.
49081         Patch by Piotr Bury <pbury@goahead.com>.
49082         * elf/Makefile: Add rules to build and tst-unique3.
49083         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49084         * elf/tst-unique3.cc: New file.
49085         * elf/tst-unique3.h: New file.
49086         * elf/tst-unique3lib.cc: New file.
49087         * elf/tst-unique3lib2.cc: New file.
49088
49089         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49090
49091 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49092
49093         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49094         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49095         to _start.
49096
49097 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49098
49099         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49100         to-be-loaded object along a path to loader is ld.so.
49101
49102 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49103             Ulrich Drepper  <drepper@gmail.com>
49104
49105         * sysdeps/x86_64/memset.S: After aligning destination, code
49106         branches to different locations depending on the value of
49107         misalignment, when multiarch is enabled. Fix this.
49108
49109 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49110
49111         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49112         Set _x86_64_preferred_memory_instruction for AMD processsors.
49113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49114         Set bit_Prefer_SSE_for_memop for AMD processors.
49115
49116 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49117
49118         * libio/fmemopen.c (fmemopen): Optimize a bit.
49119
49120 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49121
49122         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49123
49124 2011-03-03  Roland McGrath  <roland@redhat.com>
49125
49126         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49127
49128 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49129
49130         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49131         __bzero_ultra1 instead of __memset_ultra1.
49132
49133 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49134             Ulrich Drepper  <drepper@gmail.com>
49135
49136         [BZ #12509]
49137         * include/link.h (struct link_map): Add l_orig_initfini.
49138         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49139         returning unsuccessfully.
49140         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49141         close of a file loaded at startup, restore the original l_initfini
49142         list.
49143         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49144         list, store the pointer.
49145         * elf/Makefile ($(objpfx)noload-mem): New rule.
49146         (noload-ENV): Define.
49147         (tests): Add $(objpfx)noload-mem.
49148         * elf/noload.c: Include <memcheck.h>.
49149         (main): Call mtrace.  Close all opened handles.
49150
49151 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49152
49153         [BZ #12454]
49154         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49155         dependencies are missing.
49156
49157 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49158
49159         Fix __if_freereq crash: Unlike the generic version which uses free,
49160         Hurd needs munmap.
49161         * sysdeps/mach/hurd/ifreq.h: New file.
49162
49163 2011-01-27  Petr Baudis  <pasky@suse.cz>
49164             Ulrich Drepper  <drepper@gmail.com>
49165
49166         [BZ 12445]#
49167         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49168         to extend_alloca().
49169         * stdio-common/bug23.c: New file.
49170         * stdio-common/Makefile (tests): Add bug23.
49171
49172 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49173             Ulrich Drepper  <drepper@gmail.com>
49174
49175         [BZ #12489]
49176         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49177         before performing relro protection.  At old place add assertion
49178         to make sure nothing changed.
49179
49180 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49181             Glauber de Oliveira Costa  <glommer@gmail.com>
49182
49183         * elf/elf.h: Add new ARM TLS relocs.
49184
49185 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49186
49187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49188         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49189         cast from r3.
49190         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49191         'tests' variable.
49192         * sysdeps/wordsize-64/tst-writev.c: New file.
49193
49194 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49195
49196         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49197         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49198         insns in _dl_start to prevent a TOC reference before relocs are
49199         resolved.
49200
49201 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49202
49203         [BZ #12469]
49204         * Makeconfig: Remove RANLIB definition.
49205         * Makerules: Don't use RANLIB.
49206         * aclocal.m4: Remove ranlib test.
49207         * configure.in: No need to check for ranlib.
49208         * elf/rtld-Rules: Don't use RANLIB.
49209
49210 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49211
49212         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49213         protection macro.
49214         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49215         inclusion protection macro.
49216
49217         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49218         SIGRTMIN and SIGRTMAX and print information in that case only when
49219         SIGRTMIN is defined.
49220
49221 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49222
49223         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49224         arginfo fn returning -1.
49225
49226         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49227         and thousands string is zero terminated.
49228
49229 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49230
49231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49232         sysdeps/unix/sysv/linux/bits/socket.h.
49233
49234 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49235
49236         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49237         (__CPU_COUNT): Remove old macros.
49238         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49239         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49240         (__CPU_ALLOC, __CPU_FREE): Add macros.
49241         (__sched_cpualloc, __sched_cpufree): Add declarations.
49242
49243 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49244
49245         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49246         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49247         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49248         (readdhstai): Return value of addhstaiX call.
49249         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49250         (addgrbyX): Return value returned by cache_addgr.
49251         (readdgrbyname): Return value returned by addgrbyX.
49252         (readdgrbygid): Likewise.
49253         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49254         (addpwbyX): Return value returned by cache_addpw.
49255         (readdpwbyname): Return value returned by addhstbyX.
49256         (readdpwbyuid): Likewise.
49257         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49258         (addservbyX): Return value returned by cache_addserv.
49259         (readdservbyname): Return value returned by addservbyX:
49260         (readdservbyport): Likewise.
49261         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49262         (addhstbyX): Return value returned by cache_addhst.
49263         (readdhstbyname): Return value returned by addhstbyX.
49264         (readdhstbyaddr): Likewise.
49265         (readdhstbynamev6): Likewise.
49266         (readdhstbyaddrv6): Likewise.
49267         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49268         (readdinitgroups): Return value returned by addinitgroupsX.
49269         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49270         (prune_cache): Keep track of timeout value of re-added entries.
49271         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49272         * nscd/nscd.h: Adjust prototypes of readd* functions.
49273
49274 2011-02-04  Roland McGrath  <roland@redhat.com>
49275
49276         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49277         (nis_stats): Likewise.
49278         * nis/nis_modify.c (nis_modify): Likewise.
49279         * nis/nis_remove.c (nis_remove): Likewise.
49280         * nis/nis_add.c (nis_add): Likewise.
49281
49282         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49283
49284         * posix/fnmatch_loop.c: Add some consts.
49285
49286         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49287
49288 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49289
49290         [BZ #12460]
49291         * config.make.in (config-cflags-novzeroupper): Define.
49292         * configure.in: Substitute libc_cv_cc_novzeroupper.
49293         * elf/Makefile (AVX-CFLAGS): Define.
49294         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49295         (CFLAGS-tst-auditmod4a.c): Likewise.
49296         (CFLAGS-tst-auditmod4b.c): Likewise.
49297         (CFLAGS-tst-auditmod6b.c): Likewise.
49298         (CFLAGS-tst-auditmod6c.c): Likewise.
49299         (CFLAGS-tst-auditmod7b.c): Likewise.
49300         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49301
49302 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49303
49304         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49305         function to the callback.
49306         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49307
49308 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49309
49310         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49311         of errno.
49312
49313 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49314
49315         [BZ #11724]
49316         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49317         of constructors.
49318         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49319         of destructors.
49320         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49321
49322         [BZ #11724]
49323         * elf/Makefile: Add rules to build and run new test.
49324         * elf/tst-initorder.c: New file.
49325         * elf/tst-initorder.exp: New file.
49326         * elf/tst-initordera1.c: New file.
49327         * elf/tst-initordera2.c: New file.
49328         * elf/tst-initordera3.c: New file.
49329         * elf/tst-initordera4.c: New file.
49330         * elf/tst-initorderb1.c: New file.
49331         * elf/tst-initorderb2.c: New file.
49332         * elf/tst-order-a1.c: New file.
49333         * elf/tst-order-a2.c: New file.
49334         * elf/tst-order-a3.c: New file.
49335         * elf/tst-order-a4.c: New file.
49336         * elf/tst-order-b1.c: New file.
49337         * elf/tst-order-b2.c: New file.
49338         * elf/tst-order-main.c: New file.
49339         New test case by George Gensure <werkt0@gmail.com>.
49340
49341 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49342
49343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49344         decoding ACE if AI_CANONIDN.
49345
49346 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49347
49348         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49349
49350 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49351
49352         * version.h (RELEASE): Bump for 2.13 release.
49353         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49354
49355         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49356
49357         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49358         MADV_NOHUGEPAGE.
49359         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49360         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49361         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49362         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49363         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49364         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49365
49366         * posix/getconf.c: Update copyright year.
49367         * catgets/gencat.c: Likewise.
49368         * csu/version.c: Likewise.
49369         * debug/catchsegv.sh: Likewise.
49370         * debug/xtrace.sh: Likewise.
49371         * elf/ldconfig.c: Likewise.
49372         * elf/ldd.bash.in: Likewise.
49373         * elf/sprof.c (print_version): Likewise.
49374         * iconv/iconv_prog.c: Likewise.
49375         * iconv/iconvconfig.c: Likewise.
49376         * locale/programs/locale.c: Likewise.
49377         * locale/programs/localedef.c: Likewise.
49378         * malloc/memusage.sh: Likewise.
49379         * malloc/mtrace.pl: Likewise.
49380         * nscd/nscd.c (print_version): Likewise.
49381         * nss/getent.c: Likewise.
49382
49383         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49384         PF_CAIF, and PF_ALG.
49385         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49386
49387 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49388
49389         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49390         (modules-names): Use them.
49391         (ifunc-test-modules, ifunc-pie-tests): Define.
49392         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49393         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49394         (test-extras): Likewise.
49395         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49396         $(compile-command.c).
49397         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49398         (all-built-dso): Define.
49399         (check-textrel.out, check-execstack.out): Depend on it.
49400
49401         * configure.in: Don't override --enable-multi-arch.
49402
49403 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49404
49405         [BZ #6812]
49406         * nscd/hstcache.c (tryagain): Define.
49407         (cache_addhst): Return tryagain not notfound for temporary errors.
49408         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49409         failed.
49410
49411 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49412
49413         [BZ #10563]
49414         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49415         to make the syscall.
49416         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49417
49418         [BZ #12378]
49419         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49420         and fall back to matching as normal character if the string ends before
49421         the matching ']' is found.  This is what POSIX requires.
49422         * posix/testfnm.c: Adjust test result.
49423         * posix/globtest.sh: Adjust test result.  Add new test.
49424         * posix/tst-fnmatch.input: Likewise.
49425         * posix/tst-fnmatch2.c: Add new test.
49426
49427 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49428
49429         * elf/Makefile (check-execstack): Revert last change.  Depend on
49430         check-execstack.h.
49431         (check-execstack.h): New target.
49432         (generated): Add check-execstack.h.
49433         * elf/check-execstack.c: Include "check-execstack.h".
49434         (main): Revert last change.
49435         (handle_file): Return zero if GNU_STACK is absent and
49436         DEFAULT_STACK_PERMS doesn't include PF_X.
49437
49438 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49439
49440         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49441         in child fails because the descriptor is already closed.
49442         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49443         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49444         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49445
49446         [BZ #12397]
49447         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49448         syscall.
49449
49450         [BZ #10484]
49451         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49452         temporary buffer used to handle multi lookups locally.
49453         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49454
49455 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49456
49457         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49458         loader is ld.so.
49459
49460 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49461
49462         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49463         alignment for SSE2.
49464
49465 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49466
49467         [BZ #12394]
49468         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49469         characters.  When rounding increased number of integer digits recompute
49470         number of groups.
49471         * stdio-common/tst-grouping.c: New file.
49472         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49473
49474 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49475
49476         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49477         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49478
49479         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49480         void.
49481         * bits/select.h: Likewise.
49482
49483 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49484
49485         * po/ja.po: Update from translation team.
49486
49487 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49488
49489         [BZ #11155]
49490         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49491         implementation just like for lxstat, fxstatat, et al.
49492
49493 2010-12-27  Jim Meyering  <meyering@redhat.com>
49494
49495         [BZ #12348]
49496         * posix/regexec.c (build_trtable): Return failure indication upon
49497         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49498
49499 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49500
49501         [BZ #12201]
49502         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49503         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49504         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49505         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49506
49507         [BZ #12207]
49508         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49509
49510         [BZ #12204]
49511         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49512         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49513
49514 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49515
49516         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49517         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49518         script has SORT_BY_INIT_PRIORITY.
49519         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49520         NO_CTORS_DTORS_SECTIONS is defined.
49521         * elf/soinit.c: Likewise.
49522         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49523         NO_CTORS_DTORS_SECTIONS is defined.
49524         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49525         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49526         * sysdeps/sh/init-first.c: Likewise.
49527         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49528
49529 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49530
49531         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49532         always use the slow path.
49533
49534 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49535
49536         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49537         similar rule which adds the sysdep directories to the header search in
49538         order to pick up the correct platform stackinfo.h.
49539         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49540         perform test if it is, otherwise return successfully without testing.
49541         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49542         DEFAULT_STACK_PERMS define in stackinfo.h.
49543         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49544         defined in stackinfo.h.
49545         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49546         DEFAULT_STACK_PERMS defined in stackinfo.h.
49547         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49548         * sysdeps/ia64/stackinfo.h: Likewise.
49549         * sysdeps/s390/stackinfo.h: Likewise.
49550         * sysdeps/sh/stackinfo.h: Likewise.
49551         * sysdeps/sparc/stackinfo.h: Likewise.
49552         * sysdeps/x86_64/stackinfo.h: Likewise.
49553         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49554         PF_X for powerpc64.  Retain PF_X for powerpc32.
49555
49556 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49557
49558         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49559         accurately.
49560         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49561         GETDENTS_64BIT_ALIGNED.
49562
49563 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49564
49565         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49566
49567 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49568
49569         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49570         _GNU_SOURCE.
49571
49572         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49573         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49574         Remove __restrict.
49575         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49576         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49577
49578 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49579
49580         [BZ #11655]
49581         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49582         are initialized.
49583
49584 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49585
49586         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49587
49588 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49589
49590         * po/it.po: Update from translation team.
49591
49592 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49593
49594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49595         unused codes.
49596
49597 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49598
49599         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49600
49601 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49602
49603         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49604         specially.
49605         (gaih_getanswer_slice): Likewise.
49606
49607 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49608
49609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49610
49611 2010-05-31  Petr Baudis  <pasky@suse.cz>
49612
49613         [BZ #11149]
49614         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49615         silently even in the chroot mode.
49616
49617 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49618
49619         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49620         last patch a bit.  Pretty printing
49621
49622 2010-05-31  Petr Baudis <pasky@suse.cz>
49623
49624         [BZ #10085]
49625         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49626         initialization of skip_initgroups_dyn.
49627
49628 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49629
49630         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49631         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49632
49633 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49634
49635         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49636
49637 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49638
49639         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49640         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49641         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49642         ($(objpfx)tst-fnmatch-mem): New rule.
49643         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49644         * posix/tst-fnmatch.c (main): Call mtrace.
49645
49646 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49647
49648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49649         Support Intel processor model 6 and model 0x2c.
49650
49651 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49652
49653         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49654           signed comparison.
49655
49656 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49657
49658         [BZ #12205]
49659         * string/test-strncasecmp.c (check_result): New function.
49660         (do_one_test): Use it.
49661         (check1): New function.
49662         (test_main): Use it.
49663         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49664         Support strcasecmp and strncasecmp.
49665
49666 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49667
49668         [BZ #12194]
49669         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49670         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49671
49672 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49673
49674         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49675         IFUNC support.
49676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49677         memset-x86-64.
49678         * sysdeps/x86_64/multiarch/bzero.S: New file.
49679         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49680         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49681         * sysdeps/x86_64/multiarch/memset.S: New file.
49682         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49684         Set bit_Prefer_SSE_for_memop for Intel processors.
49685         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49686         Define.
49687         (index_Prefer_SSE_for_memop): Define.
49688         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49689
49690 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49691
49692         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49693         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49694
49695 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49696
49697         [BZ #12191]
49698         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49699         (__x86_64_raw_data_cache_size_half): Likewise.
49700         (__x86_64_raw_shared_cache_size): Likewise.
49701         (__x86_64_raw_shared_cache_size_half): Likewise.
49702
49703         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49704         (__x86_64_raw_data_cache_size_half): Likewise.
49705         (__x86_64_raw_shared_cache_size): Likewise.
49706         (__x86_64_raw_shared_cache_size_half): Likewise.
49707         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49708         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49709         and __x86_64_raw_shared_cache_size_half.  Round
49710         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49711         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49712         to multiple of 256 bytes.
49713
49714 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49715
49716         [BZ #12167]
49717         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49718         of inacessible symlinks.  Verify result of symlink before returning it.
49719         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49720         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49721
49722 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49723
49724         * math/math.h (isinf): Fix typo in comment.
49725
49726 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49727
49728         * po/da.po: Update from translation team.
49729
49730 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49731
49732         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49733         is added to the list.
49734
49735 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49736             Ulrich Drepper  <drepper@gmail.com>
49737
49738         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49739         the global list here.  Move code to...
49740         (_dl_add_to_namespace_list): ...here.  New function.
49741         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49742         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49743         * elf/dl-load.c (lose): Don't remove the element from the list.
49744         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49745         (_dl_map_object): Likewise.
49746
49747 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49748
49749         [BZ #12159]
49750         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49751         into all bytes of SSE register.
49752         Patch by Richard Li <richardpku@gmail.com>.
49753
49754 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49755
49756         [BZ #12140]
49757         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49758         perturbing.
49759
49760 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49761
49762         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49763         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49764         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49765         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49767         submachine.
49768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49769
49770 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49771
49772         * include/dlfcn.h (__RTLD_SECURE): Define.
49773         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49774         mode & __RTLD_SECURE instead.
49775         (open_path): Rename preloaded parameter to secure.
49776         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49777         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49778         * elf/dl-deps.c (openaux): Likewise.
49779         * elf/rtld.c (struct map_args): Remove is_preloaded.
49780         (map_doit): Don't use it.
49781         (dl_main): Likewise.
49782         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49783         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49784
49785 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49786
49787         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49788         (sysd-rules-targets): Remove duplicates.
49789         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49790         rtld-%.$o dependency.
49791
49792 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49793
49794         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49795         _dl_map_object do it.
49796
49797 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49798
49799         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49800         fast fma builtins, define the macros in the C99 standard.
49801         (FP_FAST_FMAF): Likewise.
49802         (FP_FAST_FMAL): Likewise.
49803         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49804
49805         * bits/mathdef.h: Update copyright year.
49806         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49807
49808 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49809
49810         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49811         builtins, define the macros in the C99 standard.
49812         (FP_FAST_FMAF): Likewise.
49813         (FP_FAST_FMAL): Likewise.
49814         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49815         multiply/add.
49816         (FP_FAST_FMAF): Likewise.
49817
49818 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49819
49820         [BZ #3268]
49821         * math/libm-test.inc (fma_test): Some new testcases.
49822         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49823         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49824         y and infinite z.  Do multiplication by C already in long double.
49825         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49827         y and infinite z.  Do bitwise or of inexact bit into u.d.
49828         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49829         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49830         * sysdeps/i386/fpu/s_fma.S: Removed.
49831         * sysdeps/i386/fpu/s_fmal.S: Removed.
49832
49833 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49834
49835         [BZ #3268]
49836         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49838         computation is not scheduled after fetestexcept.  Fix value
49839         of minimum denormal long double.
49840
49841 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49842
49843         [BZ #3268]
49844         * math/libm-test.inc (fma_test): Add some more tests.
49845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49846         correctly.
49847
49848 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49849
49850         * scripts/data/localplt-s390-linux-gnu.data: New file.
49851         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49852
49853 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49854
49855         [BZ #3268]
49856         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49857         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49858         instead of dbl-64.
49859         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49860         inlines.
49861         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49863         if one of x and y is very large and the other is subnormal.
49864         * sysdeps/s390/fpu/s_fmaf.c: New file.
49865         * sysdeps/s390/fpu/s_fma.c: New file.
49866         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49867         * sysdeps/powerpc/fpu/s_fma.S: New file.
49868         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49869         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49870         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49871
49872 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49873
49874         [BZ #3268]
49875         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49876         fma tests.
49877         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49878         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49879         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49880         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49881         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49882         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49883         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49884
49885 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49886
49887         [BZ #12078]
49888         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49889         * posix/bug-regex31.input: Add test case.
49890
49891 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49892
49893         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49894         * posix/bug-regex31.input: New file.
49895
49896         [BZ #12078]
49897         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49898         (parse_sub_exp): Fix last change, use postorder.
49899
49900         * posix/bug-regex31.c: New file.
49901         * posix/Makefile: Add rules to build and run bug-regex31.
49902
49903         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49904
49905         [BZ #12078]
49906         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49907
49908         [BZ #12108]
49909         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49910         to have entries in sys_siglist.
49911
49912         [BZ #12093]
49913         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49914         be NULL.
49915
49916 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49917
49918         [BZ #3268]
49919         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49920         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49921         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49922         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49923         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49924         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49925         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49926         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49927         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49928         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49929         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49930         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49931         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49932         * math/ftestexcept.c (fetestexcept): Likewise.
49933         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49934         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49935         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49936         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49937         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49938         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49939         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49940
49941 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49942
49943         [BZ #12107]
49944         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49945         newline.
49946
49947 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49948
49949         * string/bug-strstr1.c: New file.
49950         * string/Makefile: Add rules to build and run bug-strstr1.
49951
49952 2010-10-05  Eric Blake  <eblake@redhat.com>
49953
49954         [BZ #12092]
49955         * string/str-two-way.h (two_way_long_needle): Always clear memory
49956         when skipping input due to the shift table.
49957
49958 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49959
49960         [BZ #12005]
49961         * malloc/mcheck.c: Handle large requests.
49962
49963         [BZ #12077]
49964         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49965         for strncmp and strncasecmp.
49966         * string/stratcliff.c: Add tests for strcmp and strncmp.
49967         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49968
49969 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49970
49971         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49972         __set_fpscr.
49973
49974 2010-09-30  Andreas Jaeger  <aj@suse.de>
49975
49976         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49977         (CGROUP_SUPER_MAGIC): Define.
49978         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49979         Handle btrfs and cgroup file systems.
49980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49981         Likewise.
49982
49983 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49984
49985         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49986         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49987
49988 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49989
49990         [BZ #12067]
49991         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49992         trying to locate the ELF header.
49993
49994 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49995
49996         [BZ #11611]
49997         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49998         Mask out sign-bit copies when constructing f_fsid.
49999
50000 2010-09-24  Petr Baudis <pasky@suse.cz>
50001
50002         * debug/stack_chk_fail_local.c: Add missing licence exception.
50003         * debug/warning-nop.c: Likewise.
50004
50005 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50006
50007         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50008         implementing getdents64 using getdents syscall, set d_type if
50009         __ASSUME_GETDENTS32_D_TYPE.
50010
50011 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50012
50013         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50014         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50015
50016 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50017
50018         [BZ #12037]
50019         * posix/unistd.h: Undo change of feature selection for ftruncate from
50020         2010-01-11.
50021
50022 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50023
50024         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50025         detection.
50026
50027 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50028
50029         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50030         fanotify_mark.
50031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50032
50033 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50034
50035         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50036         variables after CHECK_SP call.
50037         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50038
50039 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50040             Ulrich Drepper  <drepper@redhat.com>
50041
50042         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50043         re-relocationg ld.so.
50044         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50045         _dl_init_paths call.
50046         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50047         here anymore.
50048
50049 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50050
50051         * resolv/res_init.c (__res_vinit): Count the default server we added.
50052
50053 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50054             Ulrich Drepper  <drepper@redhat.com>
50055
50056         [BZ #11968]
50057         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50058         (____longjmp_chk): Use %ebx for saving value across system call.
50059         Add unwind info.
50060
50061 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50062
50063         * manual/Makefile: Don't mix pattern rules with normal rules.
50064
50065 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50066
50067         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50068         operation.
50069         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50070         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50071         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50072         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50074         Likewise.
50075
50076 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50077
50078         [BZ #11979]
50079         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50080         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50081
50082 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50083
50084         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50085         * sysdeps/x86_64/addmul_1.S: Likewise.
50086         * sysdeps/x86_64/lshift.S: Likewise.
50087         * sysdeps/x86_64/mul_1.S: Likewise.
50088         * sysdeps/x86_64/rshift.S: Likewise.
50089         * sysdeps/x86_64/sub_n.S: Likewise.
50090         * sysdeps/x86_64/submul_1.S: Likewise.
50091
50092 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50093
50094         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50095         Define __sched_param instead of SCHED_* and sched_param when
50096         <bits/sched.h> is included with __need_schedparam defined.
50097         * bits/sched.h [__need_schedparam]
50098         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50099         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50100         (__defined_schedparam): Define to 1.
50101         (__sched_param): New structure, identical to sched_param.
50102         (__need_schedparam): Undefine.
50103
50104 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50105
50106         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50107         (epoll_create1): Declare.
50108
50109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50110
50111 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50112
50113         [BZ #7066]
50114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50115         shifting retval into place.
50116
50117 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50118
50119         * nis/rpcsvc/nis.h: Update copyright notice.
50120         * nis/rpcsvc/nis.x: Likewise.
50121         * nis/rpcsvc/nis_callback.h: Likewise.
50122         * nis/rpcsvc/nis_callback.x: Likewise.
50123         * nis/rpcsvc/nis_object.x: Likewise.
50124         * nis/rpcsvc/nis_tags.h: Likewise.
50125         * nis/rpcsvc/yp.h: Likewise.
50126         * nis/rpcsvc/yp.x: Likewise.
50127         * nis/rpcsvc/ypupd.h: Likewise.
50128         * nis/yp_xdr.c: Likewise.
50129         * nis/ypupdate_xdr.c: Likewise.
50130
50131         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50132         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50133         (pmap_getport): Use __libc_rpc_getport.
50134         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50135         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50136         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50137
50138 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50139
50140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50141         fanotify_mark.
50142
50143 2010-08-27  Roland McGrath  <roland@redhat.com>
50144
50145         * sysdeps/i386/i686/multiarch/Makefile
50146         (CFLAGS-varshift.c): New variable.
50147
50148 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50149
50150         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50151         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50152
50153         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50154
50155         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50156
50157 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50158
50159         * sysdeps/x86_64/strlen.S: Unroll the loop.
50160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50161         strlen-sse2 strlen-sse2-bsf.
50162         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50163         __strlen_no_bsf if bit_Slow_BSF is set.
50164         (__strlen_sse42): Removed.
50165         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50166         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50167
50168 2010-08-25  Roland McGrath  <roland@redhat.com>
50169
50170         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50171         * sysdeps/x86_64/multiarch/varshift.c: New file.
50172         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50173         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50174         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50175         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50176
50177 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50178
50179         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50180         strlen-sse2 strlen-sse2-bsf.
50181         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50182         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50183         (__strlen_sse2): Removed.
50184         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50185         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50187         bit_Slow_BSF for Atom.
50188         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50189         (index_Slow_BSF): Define.
50190         (HAS_SLOW_BSF): Define.
50191
50192 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50193
50194         [BZ #10851]
50195         * resolv/res_init.c (__res_vinit): When no server address at all
50196         is given default to loopback.
50197
50198 2010-08-24  Roland McGrath  <roland@redhat.com>
50199
50200         * configure.in: Remove config-name.h generation.
50201         * configure: Regenerated.
50202         * config-name.in: File removed.
50203         * scripts/config-uname.sh: New file.
50204         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50205         ($(objdir)config-name.h): New target.
50206
50207         * sunrpc/rpc_parse.h: Avoid nested comment.
50208
50209 2010-08-24  Richard Henderson  <rth@redhat.com>
50210             Ulrich Drepper  <drepper@redhat.com>
50211             H.J. Lu  <hongjiu.lu@intel.com>
50212
50213         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50215         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50216         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50217         _mm_alignr_epi8 with _mm_loadu_si128.
50218         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50219         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50220         (__m128i_shift_right): Removed.
50221         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50222         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50223         * sysdeps/x86_64/multiarch/varshift.h: New file.
50224         * sysdeps/x86_64/multiarch/varshift.S: New file.
50225
50226 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50227
50228         * configure.in: Move assembler checks to before sysdep dir checking.
50229
50230 2010-08-20  Petr Baudis  <pasky@suse.cz>
50231
50232         * LICENSES: Sync the sunrpc license.
50233
50234 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50235
50236         * sunrpc/auth_des.c: Update copyright notice once again.
50237         * sunrpc/auth_none.c: Likewise.
50238         * sunrpc/auth_unix.c: Likewise.
50239         * sunrpc/authdes_prot.c: Likewise.
50240         * sunrpc/authuxprot.c: Likewise.
50241         * sunrpc/bindrsvprt.c: Likewise.
50242         * sunrpc/clnt_gen.c: Likewise.
50243         * sunrpc/clnt_perr.c: Likewise.
50244         * sunrpc/clnt_raw.c: Likewise.
50245         * sunrpc/clnt_simp.c: Likewise.
50246         * sunrpc/clnt_tcp.c: Likewise.
50247         * sunrpc/clnt_udp.c: Likewise.
50248         * sunrpc/clnt_unix.c: Likewise.
50249         * sunrpc/des_crypt.c: Likewise.
50250         * sunrpc/des_soft.c: Likewise.
50251         * sunrpc/get_myaddr.c: Likewise.
50252         * sunrpc/getrpcport.c: Likewise.
50253         * sunrpc/key_call.c: Likewise.
50254         * sunrpc/key_prot.c: Likewise.
50255         * sunrpc/openchild.c: Likewise.
50256         * sunrpc/pm_getmaps.c: Likewise.
50257         * sunrpc/pm_getport.c: Likewise.
50258         * sunrpc/pmap_clnt.c: Likewise.
50259         * sunrpc/pmap_prot.c: Likewise.
50260         * sunrpc/pmap_prot2.c: Likewise.
50261         * sunrpc/pmap_rmt.c: Likewise.
50262         * sunrpc/rpc/auth.h: Likewise.
50263         * sunrpc/rpc/auth_unix.h: Likewise.
50264         * sunrpc/rpc/clnt.h: Likewise.
50265         * sunrpc/rpc/des_crypt.h: Likewise.
50266         * sunrpc/rpc/key_prot.h: Likewise.
50267         * sunrpc/rpc/netdb.h: Likewise.
50268         * sunrpc/rpc/pmap_clnt.h: Likewise.
50269         * sunrpc/rpc/pmap_prot.h: Likewise.
50270         * sunrpc/rpc/pmap_rmt.h: Likewise.
50271         * sunrpc/rpc/rpc.h: Likewise.
50272         * sunrpc/rpc/rpc_des.h: Likewise.
50273         * sunrpc/rpc/rpc_msg.h: Likewise.
50274         * sunrpc/rpc/svc.h: Likewise.
50275         * sunrpc/rpc/svc_auth.h: Likewise.
50276         * sunrpc/rpc/types.h: Likewise.
50277         * sunrpc/rpc/xdr.h: Likewise.
50278         * sunrpc/rpc_clntout.c: Likewise.
50279         * sunrpc/rpc_cmsg.c: Likewise.
50280         * sunrpc/rpc_common.c: Likewise.
50281         * sunrpc/rpc_cout.c: Likewise.
50282         * sunrpc/rpc_dtable.c: Likewise.
50283         * sunrpc/rpc_hout.c: Likewise.
50284         * sunrpc/rpc_main.c: Likewise.
50285         * sunrpc/rpc_parse.c: Likewise.
50286         * sunrpc/rpc_parse.h: Likewise.
50287         * sunrpc/rpc_prot.c: Likewise.
50288         * sunrpc/rpc_sample.c: Likewise.
50289         * sunrpc/rpc_scan.c: Likewise.
50290         * sunrpc/rpc_scan.h: Likewise.
50291         * sunrpc/rpc_svcout.c: Likewise.
50292         * sunrpc/rpc_tblout.c: Likewise.
50293         * sunrpc/rpc_util.c: Likewise.
50294         * sunrpc/rpc_util.h: Likewise.
50295         * sunrpc/rpcinfo.c: Likewise.
50296         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50297         * sunrpc/rpcsvc/key_prot.x: Likewise.
50298         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50299         * sunrpc/rpcsvc/mount.x: Likewise.
50300         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50301         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50302         * sunrpc/rpcsvc/rex.x: Likewise.
50303         * sunrpc/rpcsvc/rstat.x: Likewise.
50304         * sunrpc/rpcsvc/rusers.x: Likewise.
50305         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50306         * sunrpc/rpcsvc/spray.x: Likewise.
50307         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50308         * sunrpc/rtime.c: Likewise.
50309         * sunrpc/svc.c: Likewise.
50310         * sunrpc/svc_auth.c: Likewise.
50311         * sunrpc/svc_authux.c: Likewise.
50312         * sunrpc/svc_raw.c: Likewise.
50313         * sunrpc/svc_run.c: Likewise.
50314         * sunrpc/svc_simple.c: Likewise.
50315         * sunrpc/svc_tcp.c: Likewise.
50316         * sunrpc/svc_udp.c: Likewise.
50317         * sunrpc/svc_unix.c: Likewise.
50318         * sunrpc/svcauth_des.c: Likewise.
50319         * sunrpc/xcrypt.c: Likewise.
50320         * sunrpc/xdr.c: Likewise.
50321         * sunrpc/xdr_array.c: Likewise.
50322         * sunrpc/xdr_float.c: Likewise.
50323         * sunrpc/xdr_mem.c: Likewise.
50324         * sunrpc/xdr_rec.c: Likewise.
50325         * sunrpc/xdr_ref.c: Likewise.
50326         * sunrpc/xdr_sizeof.c: Likewise.
50327         * sunrpc/xdr_stdio.c: Likewise.
50328
50329         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50330         handling.
50331
50332 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50333
50334         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50335
50336 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50337
50338         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50339         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50340         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50341         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50342         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50343         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50344         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50345         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50346         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50347         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50348         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50349         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50350         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50351         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50352
50353 2010-07-26  Anton Blanchard  <anton@samba.org>
50354
50355         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50356         * malloc/arena.c (heap_trim): Likewise.
50357
50358 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50359
50360         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50361         here.  Not...
50362         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50363         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50364
50365 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50366
50367         * sysdeps/i386/elf/Makefile: New file.
50368
50369 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50370
50371         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50372         from fanotify_init.
50373         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50375
50376 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50377
50378         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50379         of strncasecmp_l.
50380         * sysdeps/multiarch/strcmp.S: Likewise.
50381
50382 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50383
50384         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50385         strncase_l-nonascii.
50386         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50387         Add strncase_l-ssse3.
50388         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50389         * sysdeps/x86_64/strcmp.S: Likewise.
50390         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50391         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50392         * sysdeps/x86_64/strncase.S: New file.
50393         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50394         * sysdeps/x86_64/strncase_l.S: New file.
50395         * string/Makefile (strop-tests): Add strncasecmp.
50396         * string/test-strncasecmp.c: New file.
50397
50398         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50399         warning.
50400
50401         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50402         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50403
50404 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50405
50406         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50407
50408 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50409
50410         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50411         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50412         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50413
50414 2010-05-01  Alan Modra  <amodra@gmail.com>
50415
50416         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50417         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50418         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50419         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50420         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50421         tidying.  Don't tail-call __sigjmp_save for static lib.
50422         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50423         save location.
50424         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50425         (CALL_MCOUNT): Add eh info, and nop after bl.
50426         (TAIL_CALL_SYSCALL_ERROR): New macro.
50427         (PSEUDO_RET): Use it.
50428         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50429         Correct save location of integer regs and cr.
50430         (_dl_profile_resolve): Correct cr save location.  Delete nops
50431         after bl when SHARED.  Reduce cfi size a little by better
50432         placement of cfi directives.
50433         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50434         make a stack frame.  Instead use parm save area as a temp.
50435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50436         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50438         Don't make a stack frame for parent, use parm save area.
50439         Increase child stack frame to 112 bytes.  Don't save unused reg,
50440         and adjust reg usage.  Set up cfi on error recovery and
50441         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50443         (__makecontext): Add dummy nop after jump to exit.
50444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50445         Use correct parm save area and cr save, reduce stack frame.
50446         Correct cfi for possible PSEUDO_RET frame setup.
50447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50448         Branch to local label emitted by PSEUDO_RET rather than
50449         __syscall_error.
50450
50451 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50452
50453         [BZ #11904]
50454         * locale/programs/locale.c (print_assignment): New function.
50455         (show_locale_vars): Use it.
50456
50457 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50458
50459         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50460         field.
50461         (struct statfs64): Likewise.
50462         (_STATFS_F_FLAGS): Define.
50463         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50464         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50465         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50466         (ST_VALID): Define locally.
50467         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50468         __statvfs_getflags, use the provided value.
50469         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50470         __ASSUME_STATFS_F_FLAGS.
50471
50472         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50473
50474         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50475         Add sys/fanotify.h.
50476         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50477         fanotify_mask for GLIBC_2.13.
50478         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50479         fanotify_init and fanotify_mark.
50480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50481         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50482
50483         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50484         Add prlimit.
50485         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50486         prlimit64 for GLIBC_2.13.
50487         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50488         prlimit64.
50489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50490         syscall.
50491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50493         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50494         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50495         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50496         add prlimit alias.
50497         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50498
50499         [BZ #11903]
50500         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50501         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50502
50503         * nss/Makefile: Add rules to build and run tst-nss-test1.
50504         * shlib-versions: Add entry for libnss_test1.
50505         * nss/nss_test1.c: New file.
50506         * nss/tst-nss-test1.c: New file.
50507
50508         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50509         (__nss_configure_lookup): Set appropriate entry in
50510         __nss_configure_lookup to true.
50511         * nss/nsswitch.h: Define enum with indeces of databases in
50512         databases and __nss_database_custom arrays.  Declare
50513         __nss_database_custom.
50514         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50515         to avoid using nscd when custom rules are installed.
50516         * nss/getXXbyYY_r.c: Likewise.
50517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50518
50519         * nss/nss_files/files-parse.c: Whitespace fixes.
50520
50521 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50522
50523         [BZ #11883]
50524         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50525         * posix/fnmatch_loop.c: Likewise.
50526
50527 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50528
50529         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50530         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50531         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50532         * Versions.def [GLIBC_2.13]: Add.
50533
50534 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50535
50536         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50537         Also fail if tpwd after pwuid call is NULL.
50538
50539 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50540
50541         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50542         when converting to ms.
50543
50544 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50545
50546         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50547         EOPNOTSUPP errors with ENOTTY.
50548         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50549         EOPNOTSUPP errors with ENOTTY.
50550
50551 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50552
50553         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50554         Add strcasecmp_l-ssse3.
50555         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50556         strcasecmp.
50557         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50558         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50559         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50560
50561 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50562
50563         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50564
50565         * string/Makefile (strop-tests): Add strcasecmp.
50566         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50567         strcasecmp_l-nonascii.
50568         (gen-as-const-headers): Add locale-defines.sym.
50569         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50570         * sysdeps/x86_64/strcasecmp.S: New file.
50571         * sysdeps/x86_64/strcasecmp_l.S: New file.
50572         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50573         * sysdeps/x86_64/locale-defines.sym: New file.
50574         * string/test-strcasecmp.c: New file.
50575
50576         * string/test-strcasestr.c: Test both ends of the range of characters.
50577         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50578
50579 2010-07-29  Roland McGrath  <roland@redhat.com>
50580
50581         [BZ #11856]
50582         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50583
50584 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50585
50586         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50587         for ld.so.
50588
50589 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50590
50591         * manual/memory.texi (Malloc Tunable Parameters): Document
50592         M_PERTURB.
50593
50594 2010-07-26  Roland McGrath  <roland@redhat.com>
50595
50596         [BZ #11840]
50597         * configure.in (-fgnu89-inline check): Set and substitute
50598         gnu89_inline, not libc_cv_gnu89_inline.
50599         * configure: Regenerated.
50600         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50601
50602 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50603
50604         * string/test-strnlen.c: New file.
50605         * string/Makefile (strop-tests): Add strnlen.
50606         * string/tester.c (test_strnlen): Add a few more test cases.
50607         * string/tst-strlen.c: Better error reporting.
50608
50609         * sysdeps/x86_64/strnlen.S: New file.
50610
50611 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50612
50613         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50614         lower-latency instructions.
50615
50616 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50617
50618         * string/test-strcasestr.c: New file.
50619         * string/test-strstr.c: New file.
50620         * string/Makefile (strop-tests): Add strstr and strcasestr.
50621         * string/str-two-way.h: Don't undefine MAX.
50622         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50623
50624 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50625
50626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50627         strcasestr-nonascii.
50628         (CFLAGS-strcasestr-nonascii.c): Define.
50629         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50630         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50631         Remove unused attribute.
50632
50633 2010-07-20  Roland McGrath  <roland@redhat.com>
50634
50635         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50636         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50637         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50638         like LD_HWCAP_MASK can disable hwcaps.
50639
50640 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50641
50642         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50643
50644 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50645
50646         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50647         call in strcasestr.
50648         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50649         __strcasestr_sse42_nonascii.
50650         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50651         strcasestr-nonascii.c.
50652         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50653
50654 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50655
50656         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50657         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50658         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50659         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50660
50661 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50662
50663         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50664         fcntl.
50665
50666 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50667
50668         [BZ #11577]
50669         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50670         dl_signal_cerror.
50671
50672 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50673
50674         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50675         _PC_PIPE_BUF using F_GETPIPE_SZ.
50676
50677 2010-07-05  Roland McGrath  <roland@redhat.com>
50678
50679         * manual/arith.texi (Rounding Functions): Fix rint description
50680         implicit in round description.
50681
50682 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50683
50684         * elf/Makefile: Fix linking for a few tests to make recent linker
50685         happy.
50686
50687 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50688
50689         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50690         $(common-objpfx)libc_nonshared.a.
50691
50692 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50693
50694         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50695         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50696         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50697         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50698         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50699         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50700         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50701         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50716         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50717         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50718         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50719         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50720         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50721         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50722         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50723         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50724         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50725         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50726         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50727         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50742
50743 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50744
50745         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50746         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50747         * string/memmove.c (memmove): Renamed to ...
50748         (MEMMOVE): ...this.  Default to memmove.
50749         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50750         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50751         (END_CHK): Define.
50752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50753         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50754         mempcpy-ssse3-back memmove-ssse3-back.
50755         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50756         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50758         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50759         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50760         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50761         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50762         * sysdeps/x86_64/multiarch/memmove.c: New file.
50763         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50764         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50765         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50766         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50767         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50768         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50769         Define.
50770         (index_Fast_Copy_Backward): Define.
50771         (HAS_ARCH_FEATURE): Define.
50772         (HAS_FAST_REP_STRING): Define.
50773         (HAS_FAST_COPY_BACKWARD): Define.
50774
50775 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50776
50777         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50778         Restore proper fallback handling.
50779
50780 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50781
50782         [BZ #11701]
50783         * posix/group_member.c (__group_member): Correct checking loop.
50784
50785         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50786         OOM in getpwuid_r correctly.  Return error number when the caller
50787         should return, otherwise -1.
50788         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50789         call returning > 0 value.
50790         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50791
50792 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50793
50794         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50795         libc_nonshared.a from targets in modules-names.
50796
50797 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50798
50799         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50800         requires it.
50801
50802 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50803
50804         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50805         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50806         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50807         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50808
50809 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50810
50811         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50812
50813 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50814
50815         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50816         and F_GETPIPE_SZ.
50817         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50818         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50821         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50822         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50823
50824 2010-06-14  Roland McGrath  <roland@redhat.com>
50825
50826         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50827
50828 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50829
50830         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50831         __REDIRECT followed by __THROW.
50832         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50833         * posix/getopt.h (getopt): Likewise.
50834
50835 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50836
50837         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50838         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50839         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50840         in AT_FLAGS.
50841         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50842         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50843
50844 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50845
50846         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50847
50848 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50849
50850         [BZ #11640]
50851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50852         Properly check family and model.
50853
50854 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50855
50856         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50857
50858 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50859
50860         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50861
50862 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50863
50864         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50865         symbol reference.
50866
50867 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50868
50869         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50870         symbol reference.
50871
50872 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50873
50874         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50875         and internal_recvmmsg.
50876         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50877         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50878         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50879         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50880
50881         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50882         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50883         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50884
50885 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50886
50887         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50888
50889 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50890
50891         POWER7 optimizations.
50892         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50893         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50894
50895 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50896
50897         * version.h: Update for 2.13 development version.
50898
50899 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50900
50901         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50902         exceptions.  Return 0.
50903
50904 2010-05-07  Roland McGrath  <roland@redhat.com>
50905
50906         * elf/ldconfig.c (main): Add a const.
50907
50908 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50909
50910         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50911         (args_options): Add no-idn option.
50912         (ahosts_keys_int): Add idn_flags to ai_flags.
50913         (parse_option): Handle 'i' option to clear idn_flags.
50914
50915         * malloc/malloc.c (_int_free): Possible race in the most recently
50916         added check.  Only act on the data if no current modification
50917         happened.
50918
50919 See ChangeLog.17 for earlier changes.