]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove CANCEL-FCT-WAIVE and CANCEL-FILE-WAIVE.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6bc6bd3b
JM
12014-10-10 Joseph Myers <joseph@codesourcery.com>
2
fcb32af1
JM
3 * CANCEL-FCT-WAIVE: Remove file.
4 * CANCEL-FILE-WAIVE: Likewise.
5
6bc6bd3b
JM
6 [BZ #14132]
7 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8 instead of INTVARDEF.
9 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11 rtld_hidden_data_def instead of INTVARDEF.
12 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13 * elf/dl-deps.c (expand_dst): Likewise.
14 * elf/dl-load.c (_dl_dst_count): Likewise.
15 (_dl_dst_substitute): Likewise.
16 (decompose_rpath): Likewise.
17 (_dl_init_paths): Likewise.
18 (open_path): Likewise.
19 (_dl_map_object): Likewise.
20 * elf/rtld.c (dl_main): Likewise.
21 (process_dl_audit): Likewise.
22 (process_envvars): Likewise.
23 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24 Remove declaration.
25 (__libc_enable_secure): Use rtld_hidden_proto.
26
b8c80a7e
KS
272014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28
29 * elf/dl-load.c
30 (add_path): New function broken out of _dl_rtld_di_serinfo.
31 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
32
ff12c11f
JM
332014-10-09 Joseph Myers <joseph@codesourcery.com>
34
5c0508a3
JM
35 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36 parentheses around macro arguments.
37 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
41 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
46 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
47 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
48 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
49 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
50 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
51 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
52 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
53 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
54 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
55 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
56 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
57 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
58 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
59 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
60 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
61 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
62 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
63 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
64 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
65 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
66 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
67 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
68 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
69 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
70 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
71 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
72 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
73 Likewise.
74 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
75 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
76 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
77 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
78 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
79 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
80 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
81 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
82 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
83 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
84 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
85 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
86 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
87 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
88 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
89 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
90 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
91 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
92 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
93 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
94 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
95 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
96 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
97 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
98 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
99 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
100 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
101 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
102 (_FP_FRAC_SRS_1): Likewise.
103 (_FP_FRAC_CLZ_1): Likewise.
104 (_FP_MUL_MEAT_1_imm): Likewise.
105 (_FP_MUL_MEAT_1_wide): Likewise.
106 (_FP_MUL_MEAT_1_hard): Likewise.
107 (_FP_SQRT_MEAT_1): Likewise.
108 (_FP_FRAC_ASSEMBLE_1): Likewise.
109 (_FP_FRAC_DISASSEMBLE_1): Likewise.
110 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
111 (__FP_CLZ_2): Likewise.
112 (_FP_MUL_MEAT_2_wide): Likewise.
113 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
114 (_FP_MUL_MEAT_2_gmp): Likewise.
115 (_FP_MUL_MEAT_2_120_240_double): Likewise.
116 (_FP_SQRT_MEAT_2): Likewise.
117 (_FP_FRAC_ASSEMBLE_2): Likewise.
118 (_FP_FRAC_DISASSEMBLE_2): Likewise.
119 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
120 (_FP_FRAC_CLZ_4): Likewise.
121 (_FP_MUL_MEAT_4_wide): Likewise.
122 (_FP_MUL_MEAT_4_gmp): Likewise.
123 (_FP_SQRT_MEAT_4): Likewise.
124 (_FP_FRAC_ASSEMBLE_4): Likewise.
125 (_FP_FRAC_DISASSEMBLE_4): Likewise.
126 * soft-fp/op-common.h (_FP_CMP): Likewise.
127 (_FP_CMP_EQ): Likewise.
128 (_FP_CMP_UNORD): Likewise.
129 (_FP_TO_INT): Likewise.
130 (_FP_FROM_INT): Likewise.
131 [!__FP_CLZ] (__FP_CLZ): Likewise.
132 (_FP_DIV_HELP_imm): Likewise.
133 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
134 Likewise.
135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
136 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
138 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
139 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
140 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
141 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
142 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
143 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
144 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
145 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
146 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
147 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
148 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
149 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
150 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
151 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
154 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
156 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
157 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
158 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
160 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
161 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
162 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
164 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
165 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
166 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
167 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
168 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
169 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
170 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
171 (FP_UNPACK_RAW_SP): Likewise.
172 (FP_PACK_RAW_S): Likewise.
173 (FP_PACK_RAW_SP): Likewise.
174 (FP_UNPACK_S): Likewise.
175 (FP_UNPACK_SP): Likewise.
176 (FP_UNPACK_SEMIRAW_S): Likewise.
177 (FP_UNPACK_SEMIRAW_SP): Likewise.
178 (FP_PACK_S): Likewise.
179 (FP_PACK_SP): Likewise.
180 (FP_PACK_SEMIRAW_S): Likewise.
181 (FP_PACK_SEMIRAW_SP): Likewise.
182 (_FP_SQRT_MEAT_S): Likewise.
183 (FP_CMP_S): Likewise.
184 (FP_CMP_EQ_S): Likewise.
185 (FP_CMP_UNORD_S): Likewise.
186 (FP_TO_INT_S): Likewise.
187 (FP_FROM_INT_S): Likewise.
188
a736ec37
JM
189 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
190
ff12c11f
JM
191 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
192 (FP_EX_INVALID_IMZ): Likewise.
193 (FP_EX_INVALID_IMZ_FMA): Likewise.
194 (FP_EX_INVALID_ISI): Likewise.
195 (FP_EX_INVALID_ZDZ): Likewise.
196 (FP_EX_INVALID_IDI): Likewise.
197 (FP_EX_INVALID_SQRT): Likewise.
198 (FP_EX_INVALID_CVI): Likewise.
199 (FP_EX_INVALID_VC): Likewise.
200 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
201 "invalid" exceptions.
202 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
203 (_FP_ADD_INTERNAL): Likewise.
204 (_FP_MUL): Likewise.
205 (_FP_FMA): Likewise.
206 (_FP_DIV): Likewise.
207 (_FP_CMP_CHECK_NAN): Likewise.
208 (_FP_SQRT): Likewise.
209 (_FP_TO_INT): Likewise.
210 (FP_EXTEND): Likewise.
211
b6dcfe8c
AM
2122014-10-09 Allan McRae <allan@archlinux.org>
213
214 * po/fr.po: Update French translation from translation project.
215
2d6a47ba
JM
2162014-10-09 Joseph Myers <joseph@codesourcery.com>
217
cb831245
JM
218 [BZ #14132]
219 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
220 of INTDEF.
221 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
222 (__cxa_atexit): Use libc_hidden_proto.
223 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
224
5deeb190
JM
225 [BZ #14132]
226 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
227 declaration.
228 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
229 [!_ISOMAC] (__iswspace_l_internal): Likewise.
230 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
231 [!_ISOMAC] (__iswctype_internal): Likewise.
232 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
233 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
234 alias.
235 (fcntl): Remove __fcntl_internal alias.
236 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
237 __connect_internal alias.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
239 Likewise.
240
454ac701
JM
241 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
242 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
243 FP_DENORM_ZERO.
244 (_FP_CHECK_FLUSH_ZERO): New macro.
245 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
246 (_FP_CMP): Likewise.
247 (_FP_CMP_EQ): Likewise.
248 (_FP_TO_INT): Do not set inexact for subnormal arguments if
249 FP_DENORM_ZERO.
250 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
251 (FP_TRUNC): Likewise.
252
0022e688
JM
253 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
254 treated as invalid conversion, not as normal exponent.
255
73e28d9c
JM
256 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
257 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
258 (_FP_CMP_EQ): Likewise.
259 (_FP_CMP_UNORD): Likewise.
260 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
261 (FP_CMP_EQ_D): Likewise.
262 (FP_CMP_UNORD_D): Likewise.
263 * soft-fp/extended.h (FP_CMP_E): Likewise.
264 (FP_CMP_EQ_E): Likewise.
265 (FP_CMP_UNORD_E): Likewise.
266 * soft-fp/quad.h (FP_CMP_Q): Likewise.
267 (FP_CMP_EQ_Q): Likewise.
268 (FP_CMP_UNORD_Q): Likewise.
269 * soft-fp/single.h (FP_CMP_S): Likewise.
270 (FP_CMP_EQ_S): Likewise.
271 (FP_CMP_UNORD_S): Likewise.
272 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
273 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
274 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
275 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
276 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
277 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
278 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
279 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
280 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
281 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
282 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
283 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
284 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
285 to FP_CMP_Q.
286 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
287 FP_CMP_Q.
288 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
289 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
290 FP_CMP_EQ_Q.
291 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
292 FP_CMP_Q.
293 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
294 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
295 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
296 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
297 FP_CMP_EQ_Q.
298 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
299 FP_CMP_Q.
300 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
301 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
302 FP_CMP_EQ_Q.
303 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
304 FP_CMP_Q.
305 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
306 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
307 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
308 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
309 FP_CMP_EQ_Q.
310
43059f42
JM
311 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
312 a subnormal result, set the underflow exception if trapping on
313 underflow is enabled.
314 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
315 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
316 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
317 redefine to 0.
318 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
319 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
320 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
321 * soft-fp/extendxftf2.c (__extendxftf2): Use
322 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
323
2d6a47ba
JM
324 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
325 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
326 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
327 FP_HANDLE_EXCEPTIONS.
328 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
329 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
330 FP_HANDLE_EXCEPTIONS.
331 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
332 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
333 FP_HANDLE_EXCEPTIONS.
334 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
335 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
336 FP_HANDLE_EXCEPTIONS.
337
620f462e
JM
3382014-10-08 Joseph Myers <joseph@codesourcery.com>
339
340 [BZ #14132]
341 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
342 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
343 use INTUSE.
344 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
345 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
346 Remove alias.
347 (__adjtimex): Define using libc_hidden_ver.
348 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
349 Remove declaration.
350 (ntp_gettime): Call __adjtimex directly.
351 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
352 Remove declaration.
353 (ntp_gettimex): Call __adjtimex directly.
354 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
355 __adjtimex_internal alias.
356
c763c5d2
RM
3572014-10-08 Roland McGrath <roland@hack.frob.com>
358
359 [BZ #17460]
360 * nscd/nscd.c (more_help): Rewrite list of tables collection
361 using xstrdup and asprintf.
362
363 * nscd/nscd_conf.c: Remove local xstrdup declaration.
364
7b8fb2b8
RM
3652014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
366 Roland McGrath <roland@hack.frob.com>
367
368 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
369 (do_lookup_unique): ... local function 'enter' here; update callers.
370
abb280f7
JM
3712014-10-06 Joseph Myers <joseph@codesourcery.com>
372
f7b42517
JM
373 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
374 compat_symbol calls on [SHARED].
375 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
376 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
377 Remove.
378 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
379 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
380 (oldsetrlimit): Remove.
381 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
383 (lchown): New syscall entry.
384 (oldsetrlimit): Remove.
385 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
386 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
387 (oldsetrlimit): Remove.
388 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
389
abb280f7
JM
390 [BZ #14138]
391 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
392 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
393 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
394 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
396 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
397 (fchown): Likewise.
398 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
399 (fchown): Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
401 Likewise.
402
47d46237
AZ
4032014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404
405 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
406 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
407 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
408 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
409 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
410 Likewise.
411 (__old_sem_post): Likewise.
412
4132014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 414
845a7343
CM
415 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
416 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
417 HAVE_CLOCK_GETTIME_VSYSCALL macros.
418 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
419 Use INLINE_VSYSCALL macro.
420 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
421 __vdso_clock_gettime.
422 * sysdeps/unix/sysv/linux/tile/init-first.c
423 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
424 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
425 __vdso_clock_gettime.
426
83d641ef
CM
427 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
428 to set up frame more cleanly.
429
d9cd52e6
CM
430 * sysdeps/tile/memcmp.c: New file.
431
4b68ea11
CM
432 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
433
c86f7b80
CM
434 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
435 * sysdeps/tile/tilegx/strcasestr.c: New file.
436 * sysdeps/tile/tilegx/strnlen.c: New file.
437 * sysdeps/tile/tilegx/strstr.c: New file.
438
1c4c1a6f
CM
439 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
440
99d86ea3
AS
4412014-10-06 Arjun Shankar <arjun.is@lostca.se>
442
443 * nptl/tst-setuid3.c: Write errors to stdout.
444
06210a44
KS
4452014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
446
447 * elf/dl-deps.c
448 (preload): New functions broken out of _dl_map_object_deps.
449 (_dl_map_object_deps): Remove a nested function. Update call sites.
450
6268f532
JM
4512014-10-01 Joseph Myers <joseph@codesourcery.com>
452
453 [BZ #14138]
454 * sysdeps/unix/sysv/linux/execve.c: Remove file.
455 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
456
b925285f
SE
4572014-10-01 Steve Ellcey <sellcey@mips.com>
458
459 * sysdeps/mips/strcmp.S: New.
460
754a15c6
JM
4612014-09-30 Joseph Myers <joseph@codesourcery.com>
462
463 [BZ #14138]
464 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
465 (linkat): Likewise.
466 (mkdirat): Likewise.
467 (readlinkat): Likewise.
468 (renameat): Likewise.
469 (symlinkat): Likewise.
470 (unlinkat): Likewise.
471 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
472 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
473 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
474 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
475 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
476 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
477 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
478
85bb81c9
WN
4792014-09-30 Will Newton <will.newton@linaro.org>
480
dc6fe23b
WN
481 * math/math.h: Define long double math functions if
482 _LIBC_TEST is defined.
483 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
484
85bb81c9
WN
485 * localedata/Makefile: Move assignment to tests-special
486 into an ifdef testing run-built-tests.
487 * timezone/Makefile: Likewise.
488
b7e02da4
JM
4892014-09-29 Joseph Myers <joseph@codesourcery.com>
490
491 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
492 with $(BASH) not $(SHELL).
493
62058ce6
CD
4942014-09-29 Carlos O'Donell <carlos@redhat.com>
495 Matthew LeGendre <legendre1@llnl.gov>
496
497 [BZ #17411]
498 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
499 l_reloc_result.
500
8e257a29
KS
5012014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
502
503 * stdio-common/printf_fp.c
504 (hack_digit): New function, broken out of ...
505 (__printf_fp): ... local function here. Update call sites.
506 hack_digit now takes an additional parameter that is a pointer
507 to a struct of the referenced locals. Those locals moved inside
508 the struct and references updated.
509
f4a58f0d
L
5102014-09-29 H.J. Lu <hongjiu.lu@intel.com>
511
512 * aclocal.m4: Require autoconf 2.69.
513 * configure: Regenerated.
514 * sysdeps/aarch64/configure: Likewise.
515 * sysdeps/alpha/configure: Likewise.
516 * sysdeps/arm/armv7/configure: Likewise.
517 * sysdeps/arm/configure: Likewise.
518 * sysdeps/ia64/configure: Likewise.
519 * sysdeps/mach/configure: Likewise.
520 * sysdeps/mips/configure: Likewise.
521 * sysdeps/s390/configure: Likewise.
522 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
524
525 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
526 file.
527 * sysdeps/ia64/configure.ac: Likewise.
528
93ae1eba
JM
5292014-09-26 Joseph Myers <joseph@codesourcery.com>
530
1810d3ab
JM
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
532 specify symbol version for ld.so. Do not include entry for
533 libpthread.
534 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
535 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
536 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
537
93ae1eba
JM
538 [BZ #14171]
539 * Makeconfig [$(build-shared) = yes]
540 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
541 makefiles.
542 [$(build-shared) = yes && $(soversions.mk-done) = t]
543 ($(common-objpfx)gnu/lib-names.h): Remove rule.
544 [$(build-shared) = yes && $(soversions.mk-done) = t]
545 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
546 to Makerules.
547 [$(build-shared) = yes && $(soversions.mk-done) = t]
548 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
549 here.
550 [$(build-shared) = yes && $(soversions.mk-done) = t]
551 (common-generated): Don't append gnu/lib-names.h and
552 gnu/lib-names.stmp here.
553 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
554 (lib-names-h-abi): New variable.
555 [$(build-shared) = yes && $(soversions.mk-done) = t]
556 (lib-names-stmp-abi): Likewise.
557 [$(build-shared) = yes && $(soversions.mk-done) = t &&
558 abi-variants] (before-compile): Append
559 $(common-objpfx)$(lib-names-h-abi).
560 [$(build-shared) = yes && $(soversions.mk-done) = t &&
561 abi-variants] (common-generated): Append gnu/lib-names.h.
562 [$(build-shared) = yes && $(soversions.mk-done) = t &&
563 abi-variants] (install-others-nosubdir): Depend on
564 $(inst_includedir)/$(lib-names-h-abi).
565 [$(build-shared) = yes && $(soversions.mk-done) = t &&
566 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
567 [$(build-shared) = yes && $(soversions.mk-done) = t]
568 ($(common-objpfx)$(lib-names-h-abi)): New rule.
569 [$(build-shared) = yes && $(soversions.mk-done) = t]
570 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
571 [$(build-shared) = yes && $(soversions.mk-done) = t]
572 (common-generated): Append $(lib-names-h-abi) and
573 $(lib-names-stmp-abi).
574 * scripts/lib-names.awk: Do not handle multi being set.
575 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
576 Remove variable.
577 (abi-lp64_be-ld-soname): Likewise.
578 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
579 Likewise.
580 (abi-hard-ld-soname): Likewise.
581 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
582 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
583 Remove variable.
584 (abi-o32_hard-ld-soname): Likewise.
585 (abi-o32_soft_2008-ld-soname): Likewise.
586 (abi-o32_hard_2008-ld-soname): Likewise.
587 (abi-n32_soft-ld-soname): Likewise.
588 (abi-n32_hard-ld-soname): Likewise.
589 (abi-n32_soft_2008-ld-soname): Likewise.
590 (abi-n32_hard_2008-ld-soname): Likewise.
591 (abi-n64_soft-ld-soname): Likewise.
592 (abi-n64_hard-ld-soname): Likewise.
593 (abi-n64_soft_2008-ld-soname): Likewise.
594 (abi-n64_hard_2008-ld-soname): Likewise.
595 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
596 Likewise.
597 (abi-64-v2-ld-soname): Likewise.
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
599 ld.so entries.
600 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
601 variable.
602 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
603 entry.
604 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
605 variable.
606 (abi-64-ld-soname): Likewise.
607 (abi-x32-ld-soname): Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
609 entry.
610 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
611
68870f12
JM
6122014-09-23 Joseph Myers <joseph@codesourcery.com>
613
614 [BZ #14138]
615 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
616 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
617 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
619 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
620 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
621 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
622 syscall entry for GLIBC_2.2 symbol version.
623 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
624 Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
626 (setrlimit): Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
628 Likewise.
629
ea58f202
WN
6302014-09-23 Will Newton <will.newton@linaro.org>
631
632 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
633 _LINUX_ARM_SYSDEP_H include guard too.
634 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
635 define.
636
69eb9a18
RV
6372014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
638
639 * sysdeps/unix/sysv/linux/eventfd.c:
640 Make first argument unsigned.
641 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
642 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
643
20e5a5f7
OB
6442014-09-20 Ondřej Bílka <neleai@seznam.cz>
645
646 * socket/recvmmsg.c (recvmmsg): Drop const argument.
647 * socket/sys/socket.h: Likewise
648 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
649
d3c827e7
AK
6502014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
651
652 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
653
fe1cc35a
AS
6542014-09-17 Arjun Shankar <arjun.is@lostca.se>
655
656 * time/tst-ftime.c: New test.
657 * time/Makefile (tests): Add tst-ftime.
658
4e8afe69
JM
6592014-09-17 Joseph Myers <joseph@codesourcery.com>
660
c4fe3ea7
JM
661 * soft-fp/extended.h: Fix comment formatting.
662 * soft-fp/op-1.h: Likewise.
663 * soft-fp/op-2.h: Likewise.
664 * soft-fp/op-4.h: Likewise.
665 * soft-fp/op-8.h: Likewise.
666 * soft-fp/op-common.h: Likewise.
667 * soft-fp/soft-fp.h: Likewise.
668
4e8afe69
JM
669 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
670
af296fcd
JM
6712014-09-16 Joseph Myers <joseph@codesourcery.com>
672
673 [BZ #6652]
674 * Makeconfig (soversions-default-setname): Remove variable.
675 ($(common-objpfx)soversions.i): Don't pass default_setname to
676 soversions.awk.
677 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
678 oldest_abi to abi-versions.awk.
679 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
680 * config.make.in (oldest-abi): Remove variable.
681 * configure.ac (--enable-oldest-abi): Remove configure option.
682 * configure: Regenerated.
683 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
684 text.
685 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
686 * scripts/soversions.awk: Do not handle default_setname variable.
687 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
688 variable.
689 * sysdeps/mach/hurd/configure: Regenerated.
690 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
691 variable.
692 * sysdeps/unix/sysv/linux/configure: Regenerated.
693
545583d6
SP
6942014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
695
d330b980
SP
696 * elf/Makefile (CFLAGS-interp.c): Remove.
697 ($(elf-objpfx)runtime-linker.h): Generate header with linker
698 path string.
699 * elf/interp.c: Include generated runtime-linker.h
700
02657da2
SP
701 * Makerules (lib%.so): Don't include $(+interp) in
702 prerequisites.
703 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
704 * dlfcn/eval.c: Remove file.
705
653b1080
SP
706 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
707 macros.
708
602f80ec
SP
709 [BZ #17266]
710 * misc/sys/cdefs.h: Define __extern_always_inline for clang
711 4.2 and newer.
712
545583d6
SP
713 [BZ #17370]
714 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
715
884ddc50
SP
7162014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
717 Jakub Jelinek <jakub@redhat.com>
718
719 [BZ #17266]
720 * libio/stdio.h: Check definition of __fortify_function
721 instead of __extern_always_inline to include bits/stdio2.h.
722 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
723 check if __extern_always_inline is defined.
724 [__USE_MISC || __USE_XOPEN]: Likewise.
725 [__USE_ISOC99] Likewise.
726 * misc/sys/cdefs.h (__fortify_function): Define only if
727 __extern_always_inline is defined.
728 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
729 __extern_always_inline and __extern_inline only for g++-4.3
730 and newer or a compatible gcc.
731
a7b87268
AS
7322014-09-15 Andreas Schwab <schwab@linux-m68k.org>
733
734 [BZ #17371]
735 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
736 last change to handle zero prefix length.
737
3f41521d
SP
7382014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
739
61fe374a
SP
740 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
741 _SC_REGEX_VERSION.
742
3f41521d
SP
743 * posix/getconf.c (vars): Add _POSIX_IPV6 and
744 _POSIX_RAW_SOCKETS.
745
d8f879ee
AM
7462014-09-13 Allan McRae <allan@archlinux.org>
747
748 * po/ru.po: Update Russian translation from translation project.
749
c079afb7
RM
7502014-09-12 Roland McGrath <roland@hack.frob.com>
751
a62b3c15
RM
752 * locale/programs/locale.c (show_locale_vars): Inline local function
753 into its sole call site. Clean up some style nits.
754 (print_item): New function, broken out of ...
755 (show_info): ... local function here. Clean up style nits.
756
d7e49b19
RM
757 * locale/programs/ld-ctype.c (set_one_default): New function, broken
758 out of ...
759 (set_class_defaults): ... local function set_default here.
760 Define set_default as a macro locally to pass constant parameters.
761 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
762 rather than a shared local.
763
c079afb7
RM
764 * stdlib/rpmatch.c (try): New function, broken out of ...
765 (rpmatch): ... local function here. Also, prototypify definition.
766
0bd72468
JM
7672014-09-12 Joseph Myers <joseph@codesourcery.com>
768
ba90e050
JM
769 * scripts/soversions.awk: Do not handle configuration names.
770 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
771 vendor and os variables to soversions.awk.
772 * configure.ac: Do not modify gnu-* host_os.
773 * configure: Regenerated
774 * shlib-versions: Remove first column with configuration names.
775 * nptl/shlib-versions: Likewise.
776 * nptl_db/shlib-versions: Likewise.
777 * sysdeps/hppa/shlib-versions: Likewise.
778 * sysdeps/m68k/shlib-versions: Likewise.
779 * sysdeps/mach/hurd/shlib-versions: Likewise.
780 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
781 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
782 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
783 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
784 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
785 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
786 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
787 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
789 Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
791 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
792 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
793 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
795 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
796 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
797 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
798
73a39112
JM
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
800 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
802 Regenerated.
803 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
805 Condition symbol version definitions on [HAVE_ELFV2_ABI].
806
c729e7c1
JM
807 * shlib-versions: Remove OS-specific entries. Moved to files in
808 sysdeps.
809 * sysdeps/mach/hurd/shlib-versions: New file.
810 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
811
dc932a24
JM
812 * nptl/shlib-versions: Remove architecture-specific entries.
813 Moved to files in sysdeps.
814 * shlib-versions: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
816 file.
817 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
818 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
821
0bd72468
JM
822 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
823 (UDP_NO_CHECK6_RX): Likewise.
824
920238e0
SP
8252014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
826
827 * sysdeps/posix/sysconf.c (__sysconf): Spell
828 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
829
ba7b4d29
FW
8302014-08-12 Florian Weimer <fweimer@redhat.com>
831
832 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
833 loading.
834 * iconv/Versions (__gconv_transliterate): Export for use from
835 gconv modules.
836 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
837 (struct __gconv_trans_data, __gconv_trans_fct,
838 __gconv_trans_context_fct, __gconv_trans_query_fct,
839 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
840 definitions.
841 (struct __gconv_step_data): Remove __trans member.
842 (__gconv_transliterate): Declaration moved from gconv_int.h. No
843 longer hidden. Remove unused trans_data argument.
844 * iconv/gconv_int.h (struct trans_struct): Remove definition.
845 (__gconv_translit_find): Remove declaration.
846 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
847 prototype.
848 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
849 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
850 trans_data argument. Add hidden definition.
851 (__gconv_translit_find): Remove.
852 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
853 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
854 * iconv/skeleton.c: Remove transliteration initialization.
855 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
856 __gconv_step_data initialization.
857 * libio/iofwide.c (__libio_translit_): Remove.
858 (_IO_fwide): Adjust struct __gconv_step_data initialization.
859 * wcsmbs/btowc.c (__btowc): Likewise.
860 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
861 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
862 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
863 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
864 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
865 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
866 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
867 * wcsmbs/wctob.c (wctob): Likewise.
868
5379aebd
SP
8692014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
870
871 [BZ #16194]
872 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
873 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
874 register usage.
875 * sysdeps/x86/Makefile: Adjust.
876
8c0ab919
RM
8772014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
878 Roland McGrath <roland@hack.frob.com>
879
880 * locale/weight.h: Add include guard.
881 (findidx): Make static rather than auto; take new parameters
882 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
883 * locale/weightwc.h: Likewise.
884 * posix/fnmatch_loop.c
885 (FCT): Change type of EXTRA from int32_t to wint_t.
886 Don't include either header inside the function.
887 Call FINDIDX rather than findidx, and pass new arguments.
888 #undef FINDIDX at the end of the file.
889 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
890 FINDIDX before including fnmatch_loop.c for the non-wide version.
891 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
892 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
893 for the wide version.
894 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
895 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
896 Pass new arguments to findidx.
897 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
898 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
899 Don't #include it inside the function. Pass new arguments to findidx.
900 * posix/regex_internal.h
901 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
902 (re_string_elem_size_at): Don't #include it inside the function.
903 Pass new arguments to findidx.
904 * string/strcoll_l.c: #include WEIGHT_H at top level.
905 (get_next_seq): Don't #include it inside the function.
906 Pass new arguments to findidx.
907 (get_next_seq_nocache): Likewise.
908 * string/strxfrm_l.c: #include WEIGHT_H at top level.
909 (STRXFRM): Don't #include it inside the function.
910 Pass new arguments to findidx.
911
52ffbdf2
FW
9122014-09-11 Florian Weimer <fweimer@redhat.com>
913
914 [BZ #17344]
915 * malloc/malloc.c (unlink): Turn asserts into a call to
916 malloc_printerr.
917
984c0ea9
TL
9182014-09-11 Tim Lammens <tim.lammens@gmail.com>
919
920 [BZ #17370]
921 * libio/wfileops (do_ftell_wide): Free OUT.
922
3daee107
CM
9232014-09-10 Chris Metcalf <cmetcalf@tilera.com>
924
925 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
926
58b930ae
SP
9272014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
928
929 [BZ #17363]
930 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
931 group if the current group is empty.
932
3b473fec
AZ
9332014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
71ae8647
AZ
935 * benchtests/bench-memset.c (test_main): Add more test from size
936 from 32 to 512 bytes.
937 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
938 Add POWER8 memset object.
939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
940 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
941 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
942 implementation.
943 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
944 Likewise.
945 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
946 multiarch POWER8 memset optimization.
947 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
948 POWER8 memset optimization.
949
3b473fec
AZ
950 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
951 Remove bzero multiarch objects.
952 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
953 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
954 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
955 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
956 Remove define.
957 [__bzero]: Redefine to specific name.
958 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
959 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
960 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
961 define.
962 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
963 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
964
e6fb9587
FW
9652014-09-10 Florian Weimer <fweimer@redhat.com>
966
967 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
968 warnings into errors.
969
970 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
971 __cxa_thread_atexit_impl prototype.
972
9d3a350b
SE
9732014-09-09 Steve Ellcey <sellcey@mips.com>
974
975 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
976 Fix capitalization of error message.
977
0febba23
SE
9782014-09-09 Steve Ellcey <sellcey@mips.com>
979
980 * sysdeps/mips/preconfigure: Modify ABI tests.
981
645a0e9c
CD
9822014-09-07 Carlos O'Donell <carlos@systemhalted.org>
983
984 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
985
d83f0734
CD
9862014-09-07 Roland McGrath <roland@hack.frob.com>
987 Carlos O'Donell <carlos@systemhalted.org>
988
989 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
990 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
991 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
992 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
993 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
994 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
995 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
996 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
997 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
998 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
999 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1000 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1001 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1002 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1003 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1004 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1005 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1006 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1007 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1008 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1009 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1010 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1011 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1012 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1013 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1014 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1015 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1016 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1017 Deconditionalize the code that was previously under [RESET_PID].
1018 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1019 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1020 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1021 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1022 include sysdep.h.
1023
21c83793
AM
10242014-09-08 Allan McRae <allan@archlinux.org>
1025
1026 * version.h (RELEASE): Set to "development".
1027 (VERSION): Set to "2.20.90"
1028
1cd9b65c
AM
10292014-09-07 Allan McRae <allan@archlinux.org
1030
b8079dd0
AM
1031 * version.h (RELEASE): Set to "stable".
1032 (VERSION): Set to "2.20"
1033 * include/features.h (__GLIBC_MINOR__): Set to 20.
1034
c46303ef
AM
1035 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1036 Liebler.
1037
1cd9b65c
AM
1038 * po/ko.po: Update Korean translation from translation project.
1039
8622092d
CM
10402014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1041
1042 [BZ #17354]
1043 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1044 macro for handling signed relocations.
1045
41488498
FW
10462014-09-03 Florian Weimer <fweimer@redhat.com>
1047
1048 [BZ #17325]
1049 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1050 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1051 assert.
1052 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1053 * iconvdata/ibm935.c (BODY): Likewise.
1054 * iconvdata/ibm937.c (BODY): Likewise.
1055 * iconvdata/ibm939.c (BODY): Likewise.
1056 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1057 assert.
1058 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1059 script.
1060 * iconvdata/run-iconv-test.sh: New test loop for checking for
1061 decoder crashers.
1062
a78b712d
KR
10632014-09-02 Khem Raj <raj.khem@gmail.com>
1064
1065 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1066 libm_hidden_ver.
1067
cb08abc6
AM
10682014-09-01 Allan McRae <allan@archlinux.org>
1069
2c31e102
AM
1070 * po/eo.po: Update Esperanto translation from translation project.
1071
cb08abc6
AM
1072 * po/ca.po: Update Catalan translation from translation project.
1073
17a62de1
ST
10742014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1075
1076 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1077 __proc_dostop call.
1078
9570bc53
MW
10792014-08-27 Mark Wielaard <mjw@redhat.com>
1080
1081 [BZ #17319]
1082 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1083 to call set_thread_area instead of hand written asm.
1084 (__NR_set_thread_area): Removed define.
1085 (TLS_FLAG_WRITABLE): Likewise.
1086 (__ASSUME_SET_THREAD_AREA): Remove check.
1087 (TLS_EBX_ARG): Remove define.
1088 (TLS_LOAD_EBX): Likewise.
1089
b0f955c9
ST
10902014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1091
1092 Simplify atomicity of socket creation in bind.
1093
1094 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1095 looking up the name after linking the file.
1096
529bf515
AM
10972014-08-27 Allan McRae <allan@archlinux.org>
1098
1099 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1100
a1a6a401
FW
11012014-08-26 Florian Weimer <fweimer@redhat.com>
1102
1103 [BZ #17187]
1104 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1105 trans_compare, open_translit, __gconv_translit_find):
1106 Remove module loading code.
1107
686ab290
AM
11082014-08-26 Allan McRae <allan@archlinux.org>
1109
e4e7cfd2
AM
1110 * po/vi.po: Update Vietnamese translation from translation project.
1111
6aa09f71
AM
1112 * po/uk.po: Update Ukrainian translation from translation project.
1113
edc0660e
AM
1114 * po/fr.po: Update French translation from translation project.
1115
7eea72ac
AM
1116 * po/ru.po: Update Russian translation from translation project.
1117
93c49eff
AM
1118 * po/pl.po: Update Polish translation from translation project.
1119
46acaf63
AM
1120 * po/cs.po: Update Czech translation from translation project.
1121
a9f5ce98
AM
1122 * po/de.po: Update German translation from translation project.
1123
373f2b78
AM
1124 * po/bg.po: Update Bulgarian translation from translation project.
1125
e7548bd8
AM
1126 * po/sv.po: Update Sweedish translation from translation project.
1127
c526bf4d
AM
1128 * po/nl.po: Update Dutch translation from translation project.
1129
686ab290
AM
1130 * po/es.po: Update Spanish translation from translation project.
1131
eb72478a
SP
11322014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1133
dd763fdb
SP
1134 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1135
318c7a58
SP
1136 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1137 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1138 (CPPFLAGS-iconvconfig): Likewise.
1139 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1140
eb72478a
SP
1141 * include/libc-symbols.h: Remove unnecessary check for
1142 NOT_IN_libc.
1143 * nptl/pthreadP.h: Likewise.
1144 * sysdeps/aarch64/setjmp.S: Likewise.
1145 * sysdeps/alpha/setjmp.S: Likewise.
1146 * sysdeps/arm/sysdep.h: Likewise.
1147 * sysdeps/i386/setjmp.S: Likewise.
1148 * sysdeps/m68k/setjmp.c: Likewise.
1149 * sysdeps/posix/getcwd.c: Likewise.
1150 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1152 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1153 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1154 * sysdeps/sh/sh3/setjmp.S: Likewise.
1155 * sysdeps/sh/sh4/setjmp.S: Likewise.
1156 * sysdeps/unix/alpha/sysdep.h: Likewise.
1157 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1159 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1160 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1165 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1168 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1170 * sysdeps/x86_64/setjmp.S: Likewise.
1171
d44a052c
JM
11722014-08-13 Joseph Myers <joseph@codesourcery.com>
1173
1174 [BZ #17263]
1175 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1176 <stdint.h>.
1177 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1178 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1179
508ce3ac
SP
11802014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
e44c8b0e
SP
1182 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1183
508ce3ac
SP
1184 [BZ #17262]
1185 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1186 and __x86_64__ when disabling x87 inline functions.
1187
b4acef1f
L
11882014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 [BZ #17259]
1191 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1192 asm statement with __cpuid_count.
1193
61b1ef6e
MF
11942014-08-12 Mike Frysinger <vapier@gentoo.org>
1195
1196 * configure.ac: Change __ehdr_start code to dereference the struct.
1197 Run readelf on the output to look for relocations.
1198 * configure: Regenerated.
1199
898c62f4
JM
12002014-08-12 Joseph Myers <joseph@codesourcery.com>
1201
1202 [BZ #17261]
1203 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1204 value to 0.
1205 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1206
9a8a5720
RM
12072014-08-12 Roland McGrath <roland@hack.frob.com>
1208
1209 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1210
4e75751c
BO
12112014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1212
1213 [BZ #16892]
1214 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1215 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1216
bb2ce416
SA
12172014-08-12 Sean Anderson <seanga2@gmail.com>
1218
1219 * malloc/malloc.c: Fix typo in comment.
1220
7950a4ee
AM
12212014-08-09 Allan McRae <allan@archlinux.org>
1222
1223 * Regenerate libc.po.
1224
f469c49f
MF
12252014-08-08 Mike Frysinger <vapier@gentoo.org>
1226
1227 * intl/tst-gettext2.sh: Check every lang file for creation.
1228
656b84c2
WD
12292014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1230
1231 * sysdeps/aarch64/fpu/math_private.h
1232 (libc_feholdsetround_noex_aarch64_ctx): New function.
1233
538e9e45
W
12342014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1235
1236 * sysdeps/arm/armv6/strcpy.S (strcpy):
1237 Fix performance issue in misaligned cases.
1238
d4795e4a
AZ
12392014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1242 Move definition from termios.h.
1243 (struct termio): Likewise.
1244 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1245 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1246 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1247 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1250 Move definition to ioctl-types.h
1251 (struct termio): Likewise.
1252 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1253 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1254 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1255 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1256 Likewise.
1257
64accb62
RH
12582014-08-05 Richard Henderson <rth@redhat.com>
1259
27bb6dc0
RH
1260 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1261 exceptions.
1262 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1263 Add fraiseexcpt.
1264 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1265 Use __feraiseexcept.
1266 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1267 Protect libm symbols with IS_IN_libm.
1268
64accb62
RH
1269 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1270
e5292691
BO
12712014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1272
1273 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1274
5b4bd2d4
WN
12752014-08-04 Will Newton <will.newton@linaro.org>
1276
1277 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1278 file.
1279
fcadaeef
MF
12802014-08-04 Mike Frysinger <vapier@gentoo.org>
1281
1282 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1283 variants for each function.
1284
43a94c64
RM
12852014-08-04 Roland McGrath <roland@hack.frob.com>
1286
1287 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1288 appended ...
1289 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1290 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1291 appended ...
1292 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1293 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1294 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1295 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1296 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1297 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1298 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1299 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1300 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1301 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1306 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1307 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1308 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1309 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1310 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1312 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1314 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1315 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1316 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1318 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1319 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1320 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1324 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1325 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1326 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1328 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1329 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1330 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1331 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1332 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1333 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1334 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1335 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1336 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1337 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1338 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1339 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1340 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1341 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1342 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1343 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1344 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1345 Update #include.
1346 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1347 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1348
8f3c1fa4
RM
13492014-08-04 Roland McGrath <roland@hack.frob.com>
1350
1351 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1352 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1353 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1354 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1355 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1356 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1357
ca08746f
RM
13582014-08-04 Roland McGrath <roland@hack.frob.com>
1359
1360 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1361 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1362 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1363 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1364
9c925ff9
RM
13652014-08-04 Roland McGrath <roland@hack.frob.com>
1366
1367 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1368 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1369 (__libc_vfork): Define function under this name.
1370 (__vfork): Define as an alias.
1371 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1372 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1373
e641054c
RM
13742014-08-04 Roland McGrath <roland@hack.frob.com>
1375
1376 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1377 that was previously under [RESET_PID].
1378 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1379
dacdc867
AS
13802014-08-04 Andreas Schwab <schwab@suse.de>
1381
1382 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1383
41f725ff
MF
13842014-08-03 Mike Frysinger <vapier@gentoo.org>
1385
1386 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1387 (main): Likewise.
1388
277cfb31
RM
13892014-08-01 Roland McGrath <roland@hack.frob.com>
1390
1391 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1392
4896f049
RH
13932014-08-01 Richard Henderon <rth@redhat.com>
1394
1395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1396 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1397 typo in exact zero test.
1398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1401
6f64e7d7
RM
14022014-08-01 Roland McGrath <roland@hack.frob.com>
1403
1404 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1405 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1406 * sysdeps/arm/sysdep.h: ... here.
1407 [!__ASSEMBLER__]: Include <stdint.h>.
1408
3f3dd810
SP
14092014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1410
a476ac4b
SP
1411 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1412 (HAVE_WCTYPE_H): Likewise.
1413 (HAVE_ISWCTYPE): Likewise.
1414 (ENABLE_NLS): Likewise.
1415 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1416 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1417
78dd658a
SP
1418 * posix/regex_internal.c: Check if DEBUG is defined and is
1419 set.
1420
3f3dd810
SP
1421 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1422 (HAVE_MBSRTOWCS): Likewise.
1423 * posix/fnmatch.c: Include string.h unconditionally.
1424
95ee7fb1
SL
14252014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1426
1427 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1428 reversal.
1429
23fe486b
RM
14302014-07-31 Roland McGrath <roland@hack.frob.com>
1431
f61a113f
RM
1432 * sysdeps/generic/safe-fatal.h: New file.
1433 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1434 * nptl/forward.c: Include it.
1435 (__pthread_unwind): Use __safe_fatal as default action, rather
1436 than a bogus use of INTERNAL_SYSCALL that could never work.
1437
9fe7e787
RM
1438 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1439 * configure.ac (libc_cv_builtin_trap): New test.
1440 * configure: Regenerated.
1441 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1442 (ABORT_INSTRUCTION): Define using __builtin_trap.
1443
23fe486b
RM
1444 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1445 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1446 * sysdeps/nptl/nptl-signals.h: New file.
1447 * nptl/pthreadP.h: Include <nptl-signals.h>.
1448
f349489e
SL
14492014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1450
1451 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1452 (ONE_DIRECTION): Define.
1453 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1454 (ONE_DIRECTION): Define.
1455 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1456 (ONE_DIRECTION): Define.
1457
2f438e20
SL
14582014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1459
1460 * sysdeps/s390/Makefile: Delete file.
1461 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1462 * sysdeps/s390/__longjmp.c: Delete file.
1463 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1464 Remove fields __flags and __reserved.
1465 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1466 and add versioning.
1467 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1468 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1469 * sysdeps/s390/rtld-setjmp.S: Likewise.
1470 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1471 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1472 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1473 * sysdeps/s390/s390-32/setjmp.S: ... here.
1474 Add versioning.
1475 (__sigsetjmp): Remove setting __flags field.
1476 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1477 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1478 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1479 * sysdeps/s390/s390-64/setjmp.S: ... here.
1480 Add versioning.
1481 (__sigsetjmp): Remove setting __flags field.
1482 * sysdeps/s390/setjmp.S: Delete file.
1483 * sysdeps/s390/sigjmp.c: Likewise.
1484 * sysdeps/s390/v1-longjmp.c: Likewise.
1485 * sysdeps/s390/v1-setjmp.h: Likewise.
1486 * sysdeps/s390/v1-sigjmp.c: Likewise.
1487 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1488 Remove v1-longjmp_chk.
1489 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1490 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1491 Include debug/longjmp_chk.c and add versioning.
1492 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1493 Include nptl/pt-longjmp.c and add versioning.
1494 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1495 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1496 Include __longjmp.c.
1497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1498 Move to ...
1499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1500 (__getcontext): Remove setting __flags field.
1501 Add versioning.
1502 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1503 Don't restore upper high grps.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1505 Likewise.
1506 (__swapcontext): Remove setting uc_flags field.
1507 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1508 Delete file.
1509 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1510 Include __longjmp.c.
1511 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1512 Move to ...
1513 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1514 (__getcontext): Remove setting __flags field.
1515 Add versioning.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1517 (__swapcontext): Remove setting uc_flags field.
1518 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1520 Remove fields uc_high_gprs and __reserved.
1521 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1522 New file with reverted content.
1523 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1525 Regenerated.
1526 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1527 Regenerated.
1528
6c9578a2
AS
15292014-07-31 Andreas Schwab <schwab@suse.de>
1530
1531 * config.h.in (HAVE_IFUNC): Define to 0.
1532 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1533 definedness.
1534
05f3633d
LM
15352014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1536
1537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1538 memmove-avx-unaligned, memcpy-avx-unaligned and
1539 mempcpy-avx-unaligned.
1540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1541 Add tests for AVX memcpy functions.
1542 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1543 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1544 memcpy_chk.
1545 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1546 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1547 memmove_chk.
1548 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1549 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1550 mempcpy_chk.
1551 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1552 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1553 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1554
a53fbd8e
AZ
15552013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1556
1557 [BZ #17213]
1558 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1559 powerpc64le.
1560
0961f7e1
JL
15612014-07-29 Jeff Layton <jlayton@poochiereds.net>
1562
1563 [BZ #16839]
1564 * manual/llio.texi: Add section about open file description locks.
1565 * manual/examples/ofdlocks.c: Example of open file description
1566 lock usage.
1567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1568 F_OFD_SETLK, and F_OFD_SETLKW.
1569
cc5fb300
AM
15702014-07-23 Allan McRae <allan@archlinux.org>
1571
1572 * po/es.po: Update Spanish translation from translation project.
1573
23329dca
AS
15742014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1575
1576 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1577
9c82da17
MR
15782014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1579
1580 [BZ #17078]
1581 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1582 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1583 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1584
29c4f53e
JM
15852014-07-17 Joseph Myers <joseph@codesourcery.com>
1586
831b9896
JM
1587 [BZ #17088]
1588 * math/fesetenv.c (__fesetenv)
1589 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1590 * math/feupdateenv.c (__feupdateenv)
1591 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1592
b21c2d50
JM
1593 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1594 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1595 (__ASSUME_SOCKETCALL): Do not define.
1596
067764ef
JM
1597 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1598 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1599 (__ASSUME_SOCKETCALL): Do not define.
1600 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1601 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1602 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1603 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1604 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1605 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1607 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1608
642530c1
JM
1609 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1610 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1611 (__ASSUME_SOCKETCALL): Do not define.
1612 (__ASSUME_IPC64): Define unconditionally.
1613 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1614 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1615 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1616 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1617 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1618 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1619 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1620 Likewise.
1621
03f77315
JM
1622 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1623 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1624 (__ASSUME_SOCKETCALL): Do not define.
1625 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1626 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1627 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1628 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1629 (__ASSUME_REQUEUE_PI): Define unconditionally.
1630 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1631 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1632 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1633 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1634 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1635 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1636
083b1f7c
JM
1637 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1638 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1639 (__ASSUME_SOCKETCALL): Do not define.
1640 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1641 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1642 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1643 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1644 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1645 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1646
5be44ea6
JM
1647 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1648 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1649 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1650 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1651 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1652 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1653 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1654 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1655 (__ASSUME_GETCPU_SYSCALL): Likewise.
1656
d95ffd4c
JM
1657 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1658 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1659 cases for individual architectures.
1660 * sysdeps/gnu/configure: Regenerated.
1661 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1662 LIBC_SLIBDIR_RTLDDIR.
1663 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1664 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1665 LIBC_SLIBDIR_RTLDDIR.
1666 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1668 LIBC_SLIBDIR_RTLDDIR.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1670 Regenerated.
1671 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1673 file.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1676 file.
1677 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1678 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1679 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1680 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1681
29c4f53e
JM
1682 * sysdeps/aarch64/shlib-versions: Move to ...
1683 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1684 * sysdeps/alpha/shlib-versions: Move to ...
1685 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1686 * sysdeps/arm/shlib-versions: Move to ...
1687 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1688 * sysdeps/hppa/shlib-versions: Move all contents except for
1689 libgcc_s entry to ...
1690 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1691 entry from ...
1692 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1693 * sysdeps/ia64/shlib-versions: Move to ...
1694 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1695 entry from ...
1696 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1697 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1698 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1699 * sysdeps/microblaze/shlib-versions: Move to ...
1700 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1701 * sysdeps/mips/shlib-versions: Move to ...
1702 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1703 entry from ...
1704 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1705 * sysdeps/tile/shlib-versions: Move to ...
1706 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1707 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1708 from ...
1709 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1711 entry from ...
1712 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1713
32bead5b
WN
17142014-07-17 Will Newton <will.newton@linaro.org>
1715
57977c4b
WN
1716 * sysdeps/arm/bits/atomic.h
1717 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1718 (__arch_compare_and_exchange_bool_16_int): Likewise.
1719 (__arch_compare_and_exchange_bool_64_int): Likewise.
1720
32bead5b
WN
1721 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1722 into an #else block.
1723
37fccd41
RM
17242014-07-16 Roland McGrath <roland@hack.frob.com>
1725
1726 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1727 just Linux configurations. Test empirically that the compiler sets
1728 __ARM_EABI__, rather than using the tuple to decide.
1729 * sysdeps/arm/preconfigure: Regenerated.
1730 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1731 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1732 contents appended ...
1733 * sysdeps/arm/configure.ac: ... here.
1734 * sysdeps/arm/configure: Regenerated.
1735
b365f3ec
RM
17362014-07-15 Roland McGrath <roland@hack.frob.com>
1737
8badf496
RM
1738 * nptl/pthread_kill.c: New file.
1739 * nptl/pthread_sigmask.c: New file.
1740 * nptl/pthread_sigqueue.c: New file.
1741
3df6f22e
RM
1742 * sysdeps/nptl/lowlevellock.h: New file.
1743 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1744 * sysdeps/nptl/lowlevellock-futex.h: New file.
1745
b365f3ec
RM
1746 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1747 Remove dead declarations.
1748
f2fef657
L
17492014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1752 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1753 config-cflags-avx2.
1754 * sysdeps/x86_64/configure.ac: Likewise.
1755 * sysdeps/i386/configure: Regenerated.
1756 * sysdeps/x86_64/configure: Likewise.
1757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1758 memset-avx2 only if config-cflags-avx2 is yes.
1759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1760 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1761 defined.
1762 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1763 only if HAVE_AVX2_SUPPORT is defined.
1764 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1765
f6c44d47
AM
17662014-07-14 Alan Modra <amodra@gmail.com>
1767
1768 [BZ #17153]
1769 * elf/elf.h (DT_PPC64_NUM): Correct value.
1770 * NEWS: Add to fixed bug list.
1771
7ee03f00
JM
17722014-07-13 Jim Meyering <meyering@fb.com>
1773
1774 [BZ 17150]
1775 regex: don't deref NULL upon heap allocation failure
1776 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1777 failure in one more place.
1778 To trigger the segfault, configure grep -with-included-regex,
1779 build it, and run these commands:
1780 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1781
9d39d517
AS
17822014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1783
1784 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1785
a75b89b7
RH
17862014-07-11 Richard Henderson <rth@redhat.com>
1787
1788 * sysdeps/aarch64/libm-test-ulps: Update.
1789
771eb141
FW
17902014-07-10 Florian Weimer <fweimer@redhat.com>
1791
1792 [BZ #17135]
1793 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1794 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1795 (__nptl_setxid): Initialize error member. Call
1796 __nptl_setxid_error.
1797 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1798 * nptl/descr.h (struct xid_command): Add error member.
1799 * nptl/tst-setuid3.c: New file.
1800 * nptl/Makefile (tests): Add it.
1801
bc1da176
AZ
18022014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1805 New define.
1806 (__lll_trylock): Use __lll_base_trylock.
1807 (__lll_cond_trylock): Likewise.
1808
887865fc
RM
18092014-07-10 Roland McGrath <roland@hack.frob.com>
1810
c0c6bac9
RM
1811 * nptl/pthread_create.c (start_thread): Use atomic_or and
1812 lll_futex_wake directly rather than lll_robust_dead.
1813 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1814 (lll_robust_dead): Macro removed.
6a42be57 1815 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
1816 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1817 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1818 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1819 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1820 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1821 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1822 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1823 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1825 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1826 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1828 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1829 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1830
887865fc
RM
1831 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1832 Use atomic_compare_and_exchange_val_acq directly rather than
1833 lll_robust_trylock.
1834 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1835 (__lll_robust_trylock, lll_robust_trylock): Removed.
1836 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1837 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1838 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1839 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1840 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1841 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1842 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1843 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1845 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1847 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1848 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1850
58536726
FW
18512014-07-02 Florian Weimer <fweimer@redhat.com>
1852
1853 * manual/locale.texi (Locale Names): New section documenting
1854 locale name syntax. Adjust menu and node chaining accordingly.
1855 (Choosing Locale): Reference Locale Names, Locale Categories.
1856 Mention setting LC_ALL=C. Reflect that name syntax is now
1857 documented.
1858 (Locale Categories): New section title. Reference Locale Names.
1859 LC_ALL is an environment variable, but not a category.
1860 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1861 description, now in Locale Name. Reference that section. Locale
1862 name syntax is now documented.
1863
4e8f95a0
FW
18642014-07-02 Florian Weimer <fweimer@redhat.com>
1865
1866 [BZ #17137]
1867 * locale/findlocale.c (name_present, valid_locale_name): New
1868 functions.
1869 (_nl_find_locale): Use the loc_name variable to store name
1870 candidates. Call name_present and valid_locale_name to check and
1871 validate locale names. Return an error if the locale is invalid.
1872
d1836456
FW
18732014-07-02 Florian Weimer <fweimer@redhat.com>
1874
1875 * locale/setlocale.c (setlocale): Use strdup for allocating
1876 composite name copy.
1877
d69b7f5a
SP
18782014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
888c679b
SP
1880 Sync up with gnulib.
1881 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1882 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1883 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1884 and _GL_ARG_NONNULL.
1885 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1886 [!_LIBC]: Include code for Windows and Cygwin.
1887 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1888 Include prototype for int strerror_r.
1889 [!_LIBC] (is_open): New function.
1890 (flush_stdout): New function.
1891 (print_errno_message): Use it.
1892 (error): Likewise.
1893 (error_at_line): Likewise.
1894 (error_tail) Add function attribute macros. Use
1895 __builtin_expect.
1896
180e0e4b
SP
1897 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1898
d22f1fe2
SP
1899 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1900
12f2254b
SP
1901 * io/ftw.c: Include sys/param.h unconditionally.
1902
c3c7c360
SP
1903 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1904
d62aa75a
SP
1905 [BZ #17125]
1906 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1907 libc_freeres_ptr.
1908 (freecache): New function to free CACHE on exit.
1909
d69b7f5a
SP
1910 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1911 initialization.
1912
5efe06a1
DM
19132014-07-09 David S. Miller <davem@davemloft.net>
1914
1915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1916
7000d82e
DM
1917 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1918 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1919 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1920 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1921 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1922 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1923 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1924 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1925 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1926 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1927 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1928 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1929 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1930
c213442d
AS
19312014-07-09 Andreas Schwab <schwab@suse.de>
1932
4a2552c3
AS
1933 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1934 output.
1935 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1936 (do_test): Likewise.
1937
c213442d
AS
1938 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1939
82374e65
WN
19402014-07-09 Will Newton <will.newton@linaro.org>
1941
1942 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1943 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1944 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1945 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1946 * sysdeps/hppa/start.S (_start): Likewise.
1947
6680738a
SP
19482014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1949
6ee3eab4
SP
1950 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1951
6680738a
SP
1952 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1953 defined.
1954
80b5c505
SP
19552014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1956
e35c53e3
SP
1957 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1958 after checking that it is non-NULL.
1959
80b5c505
SP
1960 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1961
91f4b564
AZ
19622014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
27b75f56
AZ
1964 * sysdeps/powerpc/memmove.c: Remove file.
1965 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1966 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1968 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1969 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1970 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1971 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1972 string memmove instead of removed powerpc one.
1973
e7f95bb5
AZ
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1975 [weak_alias]: Fix compiler warning due trailing data.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1977 [weak_alias]: Likewise.
1978 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1979 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1980
91f4b564
AZ
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1982 (__libc_ifunc_impl_list): Add memmove functions.
1983
7c33f1e5
SP
19842014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1985
1986 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1987 Remove code.
1988 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1989 Likewise
1990 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1991 Likewise
1992 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1993 Likewise
1994 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1995 Likewise
1996 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1997 Likewise
1998 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1999 Likewise
2000 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2001 Likewise
2002 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2003 Likewise
2004 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2005 Likewise
2006 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2007 Likewise
2008 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2009 Likewise
2010 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2011 Likewise
2012 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2013 Likewise
2014 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2015 Likewise
2016 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2017 Likewise
2018 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2019 Likewise
2020
3f17b03b
AZ
20212014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022
87868c24
AZ
2023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2024 to avoid alignment traps in non-cacheable memory.
2025 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2026
07aedd78
AZ
2027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2028 multiarch objects.
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2030 file: multiarch power7 memmove.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2032 multiarch default memmove.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2034 multiarch memove for powerpc32/power4.
2035
17762f66
AZ
2036 * string/bcopy.c: Use full path to include memmove.c.
2037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2038 multiarch objects.
2039 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2040 bcopy for powerpc64.
2041 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2042 bcopy for powerpc64.
2043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2044 and memmove implementations.
2045 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2046 optimized multiarch memmove for POWER7/powerpc64.
2047 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2048 default multiarch memmove for powerpc64.
2049 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2050 multiarch for powerpc64.
2051 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2052 for POWER7/powerpc64.
2053 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2054 memmove for POWER7/powerpc64.
2055
d6f68bbe
AZ
2056 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2057 glibc default one.
2058
3f17b03b
AZ
2059 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2060 __ELF_NATIVE_CLASS equal to 64.
2061
08192659
RM
20622014-07-07 Roland McGrath <roland@hack.frob.com>
2063
f4c4021b
RM
2064 * sysdeps/nptl/lowlevellock.h: File removed.
2065
f083450f
RM
2066 * NEWS: NPTL is no longer an add-on!
2067 * nptl/internaltypes.h: Moved ...
2068 * sysdeps/nptl/internaltypes.h: ... here.
2069 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2070 * sysdeps/nptl/fork.c: Likewise.
2071 * sysdeps/nptl/gai_misc.h: Likewise.
2072 * sysdeps/nptl/librt-cancellation.c: Likewise.
2073 * sysdeps/nptl/jmp-unwind.c: Likewise.
2074 * sysdeps/nptl/setxid.h: Likewise.
2075 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2076 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2077 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2078 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2079 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2080 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2081 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2082 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2083 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2084 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2085 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2086 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2087 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2088 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2089 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2090 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2092 * nptl/Makeconfig: Moved ...
2093 * sysdeps/nptl/Makeconfig: ... here.
2094 * nptl/configure: File removed.
2095 * nptl/ANNOUNCE: File removed.
2096 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2097 * sysdeps/unix/sysv/linux/configure: Regenerated.
2098
08192659
RM
2099 * nptl/Makefile (routines): Add libc_pthread_init,
2100 libc_multiple_threads, register-atfork and unregister-atfork.
2101 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2102 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2103 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2104 pthread-pi-defines.sym, structsem.sym.
2105 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2106 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2107 [$(subdir) = nptl] (tests): Add tst-setgetname.
2108 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2109 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2110 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2111 [!LIBC_SIGACTION]: Remove aliases.
2112 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2113 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2114 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2115 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2116 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2118 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2120 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2121 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2122 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2123 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2124 __libc_allocate_rtsig_private.
2125 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2126 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2127 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2128 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2129 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2130 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2131 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2132 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2133 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2134 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2135 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2136 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2137 * nptl/internaltypes.h: ... here.
2138 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2139 * sysdeps/nptl/jmp-unwind.c: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2141 * nptl/libc-lowlevellock.c: ... here.
2142 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2143 * nptl/libc_multiple_threads.c: ... here.
2144 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2145 * nptl/libc_pthread_init.c: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2147 * nptl/lowlevelbarrier.sym: ... here.
2148 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2149 * nptl/lowlevelcond.sym: ... here.
2150 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2151 * nptl/lowlevellock.c: ... here.
2152 * nptl/lowlevellock.h: Moved ...
2153 * sysdeps/nptl/lowlevellock.h: ... here.
2154 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2155 * nptl/lowlevelrobustlock.c: ... here.
2156 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2157 * nptl/lowlevelrobustlock.sym: ... here.
2158 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2159 * nptl/lowlevelrwlock.sym: ... here.
2160 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2161 * nptl/pt-fork.c: ... here.
2162 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2163 * nptl/pthread-pi-defines.sym: ... here.
2164 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2165 * nptl/pthread_attr_getaffinity.c: ... here.
2166 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2167 * nptl/pthread_attr_setaffinity.c: ... here.
2168 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2169 * nptl/pthread_mutex_cond_lock.c: ... here.
2170 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2171 Update #include.
2172 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2173 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2174 * nptl/pthread_once.c: ... here, replacing old file.
2175 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2176 * nptl/pthread_yield.c: ... here.
2177 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2178 * nptl/register-atfork.c: ... here.
2179 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2180 * nptl/sem_post.c: ... here.
2181 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2182 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2183 * nptl/sem_timedwait.c: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2185 * nptl/sem_trywait.c: ... here.
2186 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2187 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2188 * nptl/sem_wait.c: ... here.
2189 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2190 * nptl/structsem.sym: ... here.
2191 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2192 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2193 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2194 * nptl/unregister-atfork.c: ... here.
2195 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2196 * nptl/unwindbuf.sym: ... here.
2197 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2198 * sysdeps/nptl/fork.c: ... here.
2199 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2200 * sysdeps/nptl/fork.h: ... here.
2201 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2202 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2203 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2204 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2205 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2207 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2208 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2209 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2211 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2213 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2215 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2216 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2217 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2218 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2219 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2220 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2221 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2222 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2223 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2224 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2225 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2226 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2227 * sysdeps/unix/sysv/linux/raise.c: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2229 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2230 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2231 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2233 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2234 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2235 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2236 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2237 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2238 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2239 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2240 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2241 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2242 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2243
96baf6ff
SP
22442014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2245
2246 * sysdeps/generic/memcopy.h: Add comment for
2247 MEMCPY_OK_FOR_FWD_MEMMOVE.
2248
6b7b14b2
WN
22492014-07-04 Will Newton <will.newton@linaro.org>
2250
1570a72b
WN
2251 * string/memchr.c: Merge from gnulib.
2252 [_LIBC]: Remove conditionals.
2253 (__ptr_t): Remove define.
2254 (LONG_MAX_32_BITS): Likewise.
2255 (LONG_MAX): Likewise.
2256 (MEMCHR): Use ANSI prototype and optimize algorithm.
2257
6b7b14b2
WN
2258 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2259
38851324
SP
22602014-07-03 Roland McGrath <roland@hack.frob.com>
2261
3d9eb57c
RM
2262 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2263 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2264
78b984ae
RM
2265 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2266 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2267 in a bare environment with no <stdlib.h> installed.
2268 * sysdeps/nptl/configure: Regenerated.
2269
2d5976a5
RM
2270 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2271
c1f5acd4
RM
2272 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2273 AC_EGREP_CPP for kernel header checks, so they only succeed if
2274 including <linux/version.h> actually works right.
2275 * sysdeps/unix/sysv/linux/configure: Regenerated.
2276
4d614fe5
RM
2277 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2278 value so it's not diagnosed as unused.
2279
38851324
SP
2280 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2281 thing) with "ifeq ($(subdir),rt)".
2282
b3ec00e5
RH
22832014-07-03 Richard Henderson <rth@redhat.com>
2284
69862e25
RH
2285 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2286 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2287 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2288
d5e16ade
RH
2289 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2290 (math_force_eval): New.
2291
ca7b945c
RH
2292 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2293 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2294
cd1175a3
RH
2295 * sysdeps/alpha/fpu/s_round.c: Remove file.
2296 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2297
b3ec00e5
RH
2298 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2299 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2300 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2301 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2302 (_dl_start, print_statistics): Likewise.
2303 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2304 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2305
2306 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2307 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2308 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2309 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2311 (HP_SMALL_TIMING_AVAIL): Define.
2312 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2313 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2314 (HP_SMALL_TIMING_AVAIL): Define.
2315 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2316 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2317
2318 * sysdeps/aarch64/hp-timing.h: New file.
2319
2320 * sysdeps/generic/hp-timing.h: Remove dead comment.
2321 * sysdeps/generic/hp-timing-common.h: New file.
2322 * sysdeps/alpha/hp-timing.h: Include it.
2323 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2324 * sysdeps/i386/i686/hp-timing.h: Likewise.
2325 * sysdeps/ia64/hp-timing.h: Likewise.
2326 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2328 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2329 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2330 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2331 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2332 (hp_timing_t): New.
2333
2334 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2335 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2336 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2337 * elf/rtld.c (_dl_start_final): Likewise.
2338 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2339 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2340 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2341 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2342 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2343 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2344 (HP_TIMING_DIFF_INIT): Remove.
2345 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2346 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2347 (HP_TIMING_DIFF_INIT): Remove.
2348 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2349 * sysdeps/i386/i686/hp-timing.c: Remove file.
2350 * sysdeps/x86_64/hp-timing.c: Remove file.
2351 * sysdeps/ia64/hp-timing.c: Remove file.
2352 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2353 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2354 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2355 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2356
2357 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2358 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2359 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2360 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2362 (HP_TIMING_ACCUM): Remove.
2363 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2364 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2365 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2366
2367 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2368 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2369 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2370 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2371 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2372 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2373 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2374 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2375
2376 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2377
225f410f
MR
23782014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2379
2380 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2381
3247f285
SP
23822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2383
2384 Sync up with gettext.
2385 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2386 [_MSC_VER]: Include malloc.h
2387 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2388 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2389 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2390 TEMP_FAILURE_RETRY. Cast return of alloca.
2391 [!_LIBC] Call gl_rwlock_init.
2392 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2393
d12704c7
SP
23942014-07-02 Roland McGrath <roland@hack.frob.com>
2395
2396 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2397 before checking its value.
2398
99f8dc92
SP
23992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2400
05fdac77
SP
2401 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2402
99f8dc92
SP
2403 * debug/memcpy_chk.c: Don't include pagecopy.h.
2404 * debug/mempcpy_chk.c: Likewise.
2405 * string/memcpy.c: Likewise.
2406 * string/memmove.c: Likewise.
2407 * sysdeps/powerpc/memmove.c: Likewise.
2408 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2409 definition of PAGE_COPY_FWD_MAYBE here...
2410 * sysdeps/generic/pagecopy.h: ... from here.
2411 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2412
bc8ea385
VR
24132014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2414 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2415
2416 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2418 optimizations.
2419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2420 (__libc_ifunc_impl_list): Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2422 multiarch strcat for PPC64.
2423 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2424 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2425
fe5f34e4
RM
24262014-07-02 Roland McGrath <roland@hack.frob.com>
2427
2428 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2429
256aa665
SP
24302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
d4eb8195
SP
2432 * intl/loadmsgcat.c: Remove declaration of
2433 get_sysdep_segment_value.
2434 (get_sysdep_segment_value): Use ISO C style.
2435 (_nl_load_domain): Use ISO C style. Get rid of redundant
2436 semicolon. Fix typo and formatting in comment.
2437 (_nl_unload_domain): Use ISO C style.
2438
256aa665
SP
2439 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2440
b100f9aa
WN
24412014-07-02 Will Newton <will.newton@linaro.org>
2442
2443 * malloc/obstack.c: Merge from gnulib master.
2444 [HAVE_CONFIG_H]: Remove conditional code.
2445 [!_LIBC]: Include config.h.
2446 [!ELIDE_CODE]: Don't include inttypes.h, include
2447 stdint.h unconditionally.
2448 (print_and_abort): Mark as _Noreturn.
2449 (_obstack_allocated_p): Mark as __attribute_pure__.
2450 (obstack_free): Rename to __obstack_free.
2451 [!__attribute__]: Remove conditional code.
2452 * malloc/obstack.h: Merge from gnulib master.
2453 [__cplusplus]: Move conditional down.
2454 [!__attribute_pure__]: Define __attribute_pure__ here
2455 if it is not already defined.
2456 (_obstack_memory_used): Mark as __attribute_pure__.
2457 [!__obstack_free]: Define as obstack_free.
2458 [__GNUC__]: Remove check for ancient NeXT gcc.
2459
c4c41244
PE
24602014-07-02 Will Newton <will.newton@linaro.org>
2461 Paul Eggert <eggert@cs.ucla.edu>
2462
2463 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2464
e1e041c4
SP
24652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2466
2467 * resolv/gethnamaddr.c: Add comment warning that the file is
2468 not maintained.
2469
ccf431ff
CD
24702014-07-01 Carlos O'Donell <carlos@redhat.com>
2471
d34570a6
CD
2472 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2473 entries.
2474
ccf431ff
CD
2475 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2476 entry for aio_cancel and aio_cancel64.
2477 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2478 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2479 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2480 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2481 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2482 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2483 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2484 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2485 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2486 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2487 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2488 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2489 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2490
ca06321d
RM
24912014-07-01 Roland McGrath <roland@hack.frob.com>
2492
2493 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2494 * nptl/pthread_mutex_lock.c: Likewise.
2495 * nptl/pthread_mutex_timedlock.c: Likewise.
2496 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2497
a1ac3184
RH
24982014-07-01 Richard henderson <rth@redhat.com>
2499
631021e0
RH
2500 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2501 (__isnan, __isnanl): Remove.
2502 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2503
a1ac3184
RH
2504 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2505
0c1d731f
SL
25062014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2507
2508 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2509
76985d3e
SP
25102014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2511
2512 * resolv/nss_dns/dns-host.c (getanswer_r)
2513 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2514
b0cb3096
JM
25152014-07-01 Joseph Myers <joseph@codesourcery.com>
2516
2517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2518 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2519 undefine.
2520 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2521 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2522
4d76cb39
RM
25232014-07-01 Roland McGrath <roland@hack.frob.com>
2524
2525 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2526 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2527
2528 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2529 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2530
2531 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2532 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2533 ... here.
2534 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2535 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2536
2537 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2538 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2539 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2540 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2541
2542 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2543 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2544 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2545 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2547 Moved ...
2548 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2549 ... here.
2550 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2551 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2552 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2555 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2557 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2558 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2559 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2560 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2561 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2562 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2563 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2565 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2566 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2567 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2568 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2569 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2570 ... here.
2571 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2572 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2574 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2575 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2576 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2577 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2578 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2579
0cdcad17
DH
25802014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2581
2582 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2583 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2584 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2585 Add sysdep.
2586
9b71d0e3
AZ
25872014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2590
665390c2
JM
25912014-06-30 Joseph Myers <joseph@codesourcery.com>
2592
ae05a9d7
JM
2593 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2594 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2595
a7672a2f
JM
2596 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2597
665390c2
JM
2598 * sysdeps/arm/libm-test-ulps: Regenerated.
2599
d7a05d07
MR
26002014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2601 Roland McGrath <roland@hack.frob.com>
2602
2603 * test-skeleton.c (signal_handler): Kill the whole process group
2604 before killing the child individually.
2605 (main): Report any failure on `setpgid'.
2606
46f1d8a6
RM
26072014-06-30 Roland McGrath <roland@hack.frob.com>
2608
2609 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2610 from _TLS_H to _ARM_NPTL_TLS_H.
2611 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2612 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2613
9c37ec0b
JM
26142014-06-30 Joseph Myers <joseph@codesourcery.com>
2615
ce9c5b3e
JM
2616 [BZ #16539]
2617 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2618 (__expm1l): Return argument unchanged when small but not
2619 subnormal.
2620
3a6e9887
JM
2621 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2622 include macro name.
2623 (_FP_UNPACK_RAW_1_P): Likewise.
2624 (_FP_PACK_RAW_1): Likewise.
2625 (_FP_PACK_RAW_1_P): Likewise.
2626 (_FP_MUL_MEAT_1_wide): Likewise.
2627 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2628 (_FP_MUL_MEAT_1_hard): Likewise.
2629 (_FP_DIV_MEAT_1_imm): Likewise.
2630 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2631 (_FP_DIV_MEAT_1_udiv): Likewise.
2632 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2633 (_FP_UNPACK_RAW_2): Likewise.
2634 (_FP_UNPACK_RAW_2_P): Likewise.
2635 (_FP_PACK_RAW_2): Likewise.
2636 (_FP_PACK_RAW_2_P): Likewise.
2637 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2638 (_FP_MUL_MEAT_2_wide): Likewise.
2639 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2640 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2641 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2642 (_FP_MUL_MEAT_2_gmp): Likewise.
2643 (_FP_DIV_MEAT_2_udiv): Likewise.
2644 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2645 (_FP_FRAC_SRL_4): Likewise.
2646 (_FP_FRAC_SRST_4): Likewise.
2647 (_FP_FRAC_SRS_4): Likewise.
2648 (_FP_UNPACK_RAW_4): Likewise.
2649 (_FP_UNPACK_RAW_4_P): Likewise.
2650 (_FP_PACK_RAW_4): Likewise.
2651 (_FP_PACK_RAW_4_P): Likewise.
2652 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2653 (_FP_MUL_MEAT_4_wide): Likewise.
2654 (_FP_MUL_MEAT_4_gmp): Likewise.
2655 (umul_ppppmnnn): Likewise.
2656 (_FP_DIV_MEAT_4_udiv): Likewise.
2657 (__FP_FRAC_ADD_4): Likewise.
2658 (__FP_FRAC_SUB_3): Likewise.
2659 (__FP_FRAC_SUB_4): Likewise.
2660 (__FP_FRAC_DEC_3): Likewise.
2661 (__FP_FRAC_DEC_4): Likewise.
2662 (__FP_FRAC_ADDI_4): Likewise.
2663 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2664 (_FP_FRAC_SRL_8): Likewise.
2665 (_FP_FRAC_SRS_8): Likewise.
2666
9c37ec0b
JM
2667 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2668 include macro name.
2669 (FP_UNPACK_RAW_EP): Likewise.
2670 (FP_PACK_RAW_E): Likewise.
2671 (FP_PACK_RAW_EP): Likewise.
2672 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2673 (_FP_ISSIGNAN): Likewise.
2674 (_FP_ADD_INTERNAL): Likewise.
2675 (_FP_FMA): Likewise.
2676 (_FP_CMP): Likewise.
2677 (_FP_SQRT): Likewise.
2678 (_FP_TO_INT): Likewise.
2679 (_FP_FROM_INT): Likewise.
2680 (FP_EXTEND): Likewise.
2681 (_FP_DIV_MEAT_N_loop): Likewise.
2682
2125f674
MR
26832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2684
2685 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2686 throughout.
2687
edea4028
JM
26882014-06-29 Joseph Myers <joseph@codesourcery.com>
2689
2690 [BZ #17097]
2691 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2692 result with correct sign in case of exponents that produce
2693 overflow except for X very close to 1.
2694
dd0ba018
PE
26952014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2696
2697 mktime: merge #if/#ifdef usage from glibc
2698 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2699 as that works with both Glibc's and Gnulib's style.
2700 See thread starting at Siddhesh Poyarekar's bug report at:
2701 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2702
64df73c2
SP
27032014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2704
2705 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2706 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2707 * sysdeps/tile/tilegx/memmove.c: Remove file.
2708
f1eafb41
JM
27092014-06-27 Joseph Myers <joseph@codesourcery.com>
2710
2711 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2712 abi-name definition.
2713 * scripts/soversions.awk: Do not handle or generate ABI lines.
2714 * shlib-versions: Remove ABI entries.
2715 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2716 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2717
58eb0862
RM
27182014-06-27 Roland McGrath <roland@hack.frob.com>
2719
37caf178
RM
2720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2721 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2722 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2727 Moved ...
2728 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2729 ... here.
2730 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2733 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2735 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2737 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2738 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2739 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2741 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2743 Moved ...
2744 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2750 Moved ...
2751 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2753 Moved ...
2754 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2758 Moved ...
2759 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2760 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2763 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2764 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2765 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2766 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2767 Moved ...
2768 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2772 Moved ...
2773 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2775 Moved ...
2776 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2777 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2780 Moved ...
2781 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2782 ... here.
2783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2784 Identical file removed.
2785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2786 Moved ...
2787 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2789 Identical file removed.
2790 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2793 Moved ...
2794 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2796 Identical file removed.
2797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2798 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2800 Identical file removed.
2801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2802 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2804 Identical file removed.
2805 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2808 Identical file removed.
2809 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2810 Moved ...
2811 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2813 Identical file removed.
2814 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2815 Moved ...
2816 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2820 Identical file removed.
2821 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2822 Moved ...
2823 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2824 ... here.
2825 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2826 Identical file removed.
2827 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2828 Moved ...
2829 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2831 Identical file removed.
2832 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2833 Moved ...
2834 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2835 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2840 Moved ...
2841 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2843 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2844
58eb0862
RM
2845 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2846 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2847 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2848 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2849 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2850
6f12d062
AS
28512014-06-27 Arjun Shankar <arjun.is@lostca.se>
2852
2853 [BZ #17092]
2854 * nscd/nscd.c (monitor_child): Return exit status of child
2855 instead of return value from wait syscall.
2856
be254932
JM
28572014-06-27 Joseph Myers <joseph@codesourcery.com>
2858
cb403c34
JM
2859 * configure.ac (libc_commonpagesize): Remove variable.
2860 (libc_relro_required): Likewise.
2861 (libc_cv_z_relro): Remove configure test.
2862 * configure: Regenerated.
2863 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2864 variable.
2865 (libc_relro_required): Likewise.
2866 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2867 (libc_relro_required): Likewise.
2868 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2869 (libc_relro_required): Likewise.
2870 * sysdeps/arm/preconfigure: Regenerated.
2871 * sysdeps/ia64/preconfigure: Remove file.
2872 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2873 variable.
2874 (libc_relro_required): Likewise.
2875
be254932
JM
2876 [BZ #16561]
2877 [BZ #16562]
2878 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2879 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2880 recompute overflowing results in original rounding mode.
2881 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2882 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2883 recompute overflowing results in original rounding mode.
2884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2885 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2886 recompute overflowing results in original rounding mode.
2887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2888 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2889 recompute overflowing results in original rounding mode.
2890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2891 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2892 recompute overflowing results in original rounding mode.
2893 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2894 (libc_feholdsetround_ctx): New macro.
2895 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2896 * sysdeps/i386/fpu/libm-test-ulps: Update.
2897 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2898
b351d85a
JM
28992014-06-26 Joseph Myers <joseph@codesourcery.com>
2900
2901 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2902 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2903 corresponding .cpsetup call.
2904
3cb4de47
RM
29052014-06-26 Roland McGrath <roland@hack.frob.com>
2906
2907 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2908 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2909 * sysdeps/arm/Makefile [$(subdir) = csu]
2910 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2911 (static-only-routines): Add aeabi_read_tp here.
2912 (shared-only-routines): Add libc-aeabi_read_tp here.
2913 (CFLAGS-libc-start.c): Add -fexceptions here.
2914 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2915 (sysdep_routines, static-only-routines, shared-only-routines):
2916 Don't add to these here.
2917 (CFLAGS-libc-start.c): Likewise.
2918
2919 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2920 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2921 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2922 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2923 * sysdeps/arm/Makefile [$(subdir) = rt]
2924 (librt-sysdep_routines, librt-shared-only-routines):
2925 Append rt-aeabi_unwind_cpp_pr1 here.
2926 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2927 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2928 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2929 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2930 Append nptl-aeabi_unwind_cpp_pr1 here.
2931 (tests): Filter out tst-cleanupx4 here.
2932 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2933 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2934 Don't do those here.
2935
354426bb
JM
29362014-06-26 Joseph Myers <joseph@codesourcery.com>
2937
2938 * scripts/list-sources.sh: Do not handle ports specially.
2939
28b0a8c9
RM
29402014-06-26 Roland McGrath <roland@hack.frob.com>
2941
a3dd035d
RM
2942 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2943 * sysdeps/arm/feupdateenv.c: Likewise.
2944
28b0a8c9
RM
2945 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2946
e66a8203
JM
29472014-06-26 Joseph Myers <joseph@codesourcery.com>
2948
2949 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2950 trailing whitespace removed.
2951 * scripts/config.guess: Update to version 2014-03-23.
2952 * scripts/config.sub: Update to version 2014-05-01
2953 * scripts/install-sh: Update to version 2013-12-25.23.
2954 * scripts/move-if-change: Update from gnulib.
2955
74171115
SP
29562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2957
b97c9ce5
SP
2958 * debug/memmove_chk.c: Remove pagecopy.h include.
2959
4000f892
SP
29602014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2961
74171115
SP
2962 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2963 identical to gnulib mktime.
2964
a8779c28
JM
29652014-06-26 Joseph Myers <joseph@codesourcery.com>
2966
e64708de
JM
2967 * configure.ac: Do not test for machine being rs6000. Do not test
2968 for powerpc*-*soft.
2969 * configure: Regenerated.
2970
a8779c28
JM
2971 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2972 test.
2973 * configure: Regenerated.
2974 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2975 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2976 Remove configure test.
2977 * sysdeps/arm/configure: Regenerated.
2978 * sysdeps/nptl/configure.ac: Do not check
2979 libc_cv_asm_cfi_directives.
2980 * sysdeps/nptl/configure: Regenerated.
2981 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2982 * sysdeps/x86_64/nptl/configure: Remove generated file.
2983 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2984 unconditional.
2985 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2986
2aac0a86
SP
29872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
059bf913
SP
2989 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2990 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2991 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2992 it is defined.
2993
4cf5b6d0
SP
2994 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2995 instead of whether it is defined.
2996 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2997 * sysdeps/hppa/dl-machine.h: Likewise.
2998 * sysdeps/ia64/dl-machine.h: Likewise.
2999 * sysdeps/m68k/dl-machine.h: Likewise.
3000 * sysdeps/microblaze/dl-machine.h: Likewise.
3001 * sysdeps/mips/dl-machine.: Likewise.
3002 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3003 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3004 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3005 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3006 * sysdeps/sh/dl-machine.h: Likewise.
3007 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3008 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3009 * sysdeps/tile/dl-machine.h: Likewise.
3010 * sysdeps/x86_64/dl-machine.h: Likewise.
3011
2aac0a86
SP
3012 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3013 code.
3014 (verify_persistent_db): Likewise.
3015
6ad2df0b
RM
30162014-06-26 Roland McGrath <roland@hack.frob.com>
3017
d8a483f3
RM
3018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3019 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3021 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3023 Moved ...
3024 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3025 ... here.
3026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3027 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3029 Identical file removed.
3030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3041 Moved ...
3042 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3044 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3046 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3048 Moved ...
3049 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3053 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3055 Identical file removed.
3056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3057 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3059 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3061 Moved ...
3062 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3063 ... here.
3064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3069 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3071 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3073 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3075 Moved ...
3076 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3078 Moved ...
3079 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3081 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3083 Moved ...
3084 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3086 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3087
52ae23b4
RM
3088 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3089 folded into ...
3090 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3091 * sysdeps/unix/sysv/linux/s390/Versions
3092 (libpthread: GLIBC_2.19): New version set.
3093 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3094 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3095 (librt: GLIBC_2.3.3): New version set.
3096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3097 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3098 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3100 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3102 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3104 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3106 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3108 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3110 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3112 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3114 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3116 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3118 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3120 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3122 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3124 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3126 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3132 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3134 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3136 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3138 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3140 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3141
39507e4a
RM
3142 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3143 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3144 (__libc_vfork): Define the function under this name.
3145 [!NOT_IN_libc] (__vfork): Make this an alias.
3146 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3148 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3149 (__libc_vfork): Define the function under this name.
3150 [!NOT_IN_libc] (__vfork): Make this an alias.
3151 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3152 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3153 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3154 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3156 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3157
e549ee56
RM
3158 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3159 code that was previously under [RESET_PID].
3160 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3161 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3163
6ad2df0b
RM
3164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3165 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3166 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3167 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3168 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3169 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3170 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3171 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3172 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3173 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3174 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3175 Moved ...
3176 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3178 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3182 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3184 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3185 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3186 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3187 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3188 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3189 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3190 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3191 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3192 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3193 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3194 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3197 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3198 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3199 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3200 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3201 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3202 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3203 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3204 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3205
7c1c1d8e
RM
32062014-06-25 Roland McGrath <roland@hack.frob.com>
3207
3208 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3209 that was previously under [RESET_PID].
3210 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3211
3e239be6
JM
32122014-06-25 Joseph Myers <joseph@codesourcery.com>
3213
74385da5
JM
3214 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3215 not undefine and redefine.
3216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3217 [O_CLOEXEC]: Make code unconditional.
3218 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3220 <kernel-features.h>.
3221 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3222 conditional variable definition.
3223 (shm_open) [O_CLOEXEC]: Make code unconditional.
3224 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3225 code.
3226
c2570a0b
JM
3227 * configure.ac (USE_REGPARMS): Don't define here.
3228 * configure: Regenerated.
3229 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3230 * sysdeps/i386/configure: Regenerated.
3231
11b076bb
JM
3232 * nptl/createthread.c: Don't include kernel-features.h.
3233 * nptl/pthread_cancel.c: Likewise.
3234 * nptl/pthread_condattr_setclock.c: Likewise.
3235 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3236 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3237 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3238 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3239 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3240 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3244 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3245 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3246 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3247 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3248 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3249 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3250 * nscd/gai.c: Likewise.
3251 * nss/nss_db/db-open.c: Likewise.
3252 * sysdeps/generic/ldsodefs.h: Likewise.
3253 * sysdeps/sh/nptl/tls.h: Likewise.
3254 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3255 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3256 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3257 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3259 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3260 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3261 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3263 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3264 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3265 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3266 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3267 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3268 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3269 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3270 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3271 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3272 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3273 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3276 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3277 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3278 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3279 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3280 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3281 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3282 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3283 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3284 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3285 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3286 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3287 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3288 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3290 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3291 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3292 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3293 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3294 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3295 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3296 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3297 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3298 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3299 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3300 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3301 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3302 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3303 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3304 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3305 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3306 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3307 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3308 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3309 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3334 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3335 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3336 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3337 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3338 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3340 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3341 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3342 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3343 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3344 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3345 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3346 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3347 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3348 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3349 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3352 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3353 * sysdeps/unix/sysv/linux/system.c: Likewise.
3354 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3355 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3356 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3357 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3358 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3360 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3361
92072d57
JM
3362 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3363 * configure: Regenerated.
3364 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3365
3e239be6
JM
3366 * configure.ac (base_machine): Do not set specially for particular
3367 machines here.
3368 * configure: Regenerated.
3369 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3370 settings from configure.ac.
3371 * sysdeps/i386/preconfigure: New file.
3372 * sysdeps/s390/preconfigure: Likewise.
3373 * sysdeps/sh/preconfigure: Likewise.
3374 * sysdeps/sparc/preconfigure: Likewise.
3375
06d50baa
RM
33762014-06-25 Roland McGrath <roland@hack.frob.com>
3377
74836003
RM
3378 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3379 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3380 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3381 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3382 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3383 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3384 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3385 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3386 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3387 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3388 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3389 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3390 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3391 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3392 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3393 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3394 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3395 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3396 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3397
3398 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3399 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3400 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3401 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3402 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3403 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3404 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3405 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3406 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3407 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3408 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3409 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3410 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3411 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3412 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3413 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3414 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3415 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3416 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3417 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3419 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3421 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3422 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3423 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3424 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3425 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3426 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3427 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3429 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3430 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3431 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3432 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3433 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3434 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3435 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3436
06d50baa
RM
3437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3438 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3440 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3442 Moved ...
3443 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3444 ... here.
3445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3446 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3450 Moved ...
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3457 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3459 Moved ...
3460 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3462 Moved ...
3463 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3465 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3467 Moved ...
3468 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3472 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3474 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3476 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3478 Moved ...
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3480 ... here.
3481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3486 Moved ...
3487 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3489 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3491 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3493 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3495 Moved ...
3496 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3498 Moved ...
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3503 Moved ...
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3506 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3509
a4ccbc9b
JM
35102014-06-25 Joseph Myers <joseph@codesourcery.com>
3511
0828edbf
JM
3512 * timezone/checktab.awk: Update from tzcode 2014e.
3513 * timezone/private.h: Likewise.
3514 * timezone/tzfile.h: Likewise.
3515 * timezone/zdump.c: Likewise.
3516 * timezone/zic.c: Likewise.
3517
a4ccbc9b
JM
3518 * sysdeps/unix/sysv/linux/kernel-features.h
3519 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3521 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3522 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3523 Remove conditional code.
3524
9aea0cb8
WN
35252014-06-25 Will Newton <will.newton@linaro.org>
3526
3527 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3528 (_dl_arm_cap_flags): Add HWCAP2 values.
3529 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3530 (_DL_HWCAP_COUNT): Increase to 37.
3531 (_DL_HWCAP_LAST): New define.
3532 (_DL_HWCAP2_LAST): New define.
3533 (_dl_procinfo): Add support for printing
3534 AT_HWCAP2 entries.
3535 (_dl_string_hwcap): Use _dl_hwcap_string.
3536
6eaa65ce
AZ
35372014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538
3539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3540
0f5b7185
JM
35412014-06-25 Joseph Myers <joseph@codesourcery.com>
3542
cfd2ea50
JM
3543 * README: Do not mention ports directory.
3544
cecf2ed4
JM
3545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3546 Remove macro.
3547 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3548 <kernel-features.h>.
3549 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3550 conditional variable definition.
3551 (__futimes): Update comment.
3552 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3553 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3554
a638de82
JM
3555 [BZ #16560]
3556 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3557 arguments close to 0.
3558 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3559 Likewise.
3560 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3561 Likewise.
3562 * math/auto-libm-test-in: Add more tests of exp10.
3563 * math/auto-libm-test-out: Regenerated.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3565
0f5b7185
JM
3566 * sysdeps/unix/sysv/linux/kernel-features.h
3567 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3568 * sysdeps/unix/sysv/linux/readv.c: Do not include
3569 <kernel-features.h>.
3570 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3571 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3572 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3573 unconditional.
3574 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3575 conditional code.
3576 * sysdeps/unix/sysv/linux/writev.c: Do not include
3577 <kernel-features.h>.
3578 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3579 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3580 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3581 unconditional.
3582 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3583 conditional code.
3584
c7aec4be
WN
35852014-06-25 Will Newton <will.newton@linaro.org>
3586
3587 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3588 comment changes throughout the file. Remove checks
3589 for HAVE_*_H definitions that are not required.
3590 (__gen_tempname): Call abort if an unknown kind value is
3591 passed.
3592
c5241f95
AS
35932014-06-25 Andreas Schwab <schwab@suse.de>
3594
3595 [BZ #17086]
3596 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3597 scalbln, scalblnf, scalblnl in libc.
3598
911422da
SP
35992014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
3601 [BZ #17086]
3602 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3603 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3604 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3605
0d749bbe
RM
36062014-06-24 Roland McGrath <roland@hack.frob.com>
3607
3608 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3609 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3610 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3611 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3612 Update #include.
3613 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3614 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3615 Update #include.
3616 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3617 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3618 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3619 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3620 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3621 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3622 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3623 * sysdeps/x86/bits/semaphore.h: ... here.
3624 * sysdeps/x86/nptl/elide.h: Moved ...
3625 * sysdeps/x86/elide.h: ... here.
3626 * sysdeps/x86_64/nptl/Implies: File removed.
3627 * sysdeps/i386/nptl/Implies: File removed.
3628
0ea5d373
JM
36292014-06-24 Joseph Myers <joseph@codesourcery.com>
3630
4060283d
JM
3631 [BZ #16539]
3632 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3633 return the argument for normal arguments with exponent below -64.
3634 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3635 Likewise.
3636 * math/auto-libm-test-in: Add another test of expm1.
3637 * math/auto-libm-test-out: Regenerated.
3638
e7dd3c8c
JM
3639 [BZ #16287]
3640 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3641 calling __erfcl for arguments at least 16.
3642 * math/auto-libm-test-in: Add more tests of erf.
3643 * math/auto-libm-test-out: Regenerated.
3644
0ea5d373
JM
3645 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3646 individual architectures.
3647 * sysdeps/unix/sysv/linux/configure: Regenerated.
3648 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3649 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3650 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3651 (ldd_rewrite_script): Define variable.
3652 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3654 file.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3656 generated file.
3657 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3658 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3659 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3660 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3661 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3662 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3663 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3664 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3665
2307e126
SP
36662014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3667
3668 [BZ #17084]
3669 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3670 Rename member __data.d to __data.__elision_data.
3671
c0a4ed77
W
36722014-06-24 Wilco <wdijkstr@arm.com>
3673
3674 * NEWS: Add 16918 to fixed bug list.
3675
b8c00573
W
36762014-06-24 Wilco <wdijkstr@arm.com>
3677
3678 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3679
b5570d92
W
36802014-06-24 Wilco <wdijkstr@arm.com>
3681
3682 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3683 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3684 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3685 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3686 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3687 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3688 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3689 Use _FPU_MASK_RM.
3690
947bdca2
W
36912014-06-24 Wilco <wdijkstr@arm.com>
3692
3693 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3694
00f669ed
W
36952014-06-24 Wilco <wdijkstr@arm.com>
3696
3697 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3698 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3699 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3700 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3701
db59bad3
W
37022014-06-24 Wilco <wdijkstr@arm.com>
3703
3704 [BZ #16918]
3705 * sysdeps/arm/feupdateenv.c (feupdateenv):
3706 Rewrite to reduce FPSCR accesses and fix return value.
3707
001f7b77
W
37082014-06-24 Wilco <wdijkstr@arm.com>
3709
3710 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3711 Optimize to avoid unnecessary FPSCR writes.
3712 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3713 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3714 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3715 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3716
4841e6a6
W
37172014-06-24 Wilco <wdijkstr@arm.com>
3718
3719 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3720 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3721 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3722 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3723 Call libc_fetestexcept_vfp.
3724 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3725 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3726 __SOFTFP__ ifdef so that they can be built for softfp.
3727
0813022c
SP
37282014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3729
08e5862f
SP
3730 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3731 argument type signed char.
3732
0813022c
SP
3733 * Makerules (check-abi): Dump diff of symlist if the test
3734 fails.
3735
3fc7236a
RM
37362014-06-23 Roland McGrath <roland@hack.frob.com>
3737
aba8ef95
RM
3738 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3739 using abort.
3740
3fc7236a
RM
3741 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3742 Remove unused variable ST.
3743
4da6db51
JM
37442014-06-23 Joseph Myers <joseph@codesourcery.com>
3745
4648909d
JM
3746 [BZ #16354]
3747 [BZ #17061]
3748 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3749 small arguments before calling __expm1.
3750 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3751 small arguments before calling __expm1f.
3752 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3753 small arguments before calling __expm1l.
3754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3755 Likewise.
3756 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3757 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3758 spurious underflow for some cosh tests.
3759 * math/auto-libm-test-out: Regenerated.
3760 * sysdeps/i386/fpu/libm-test-ulps: Update.
3761
46a3d3c7
JM
3762 [BZ #17050]
3763 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3764 (__ieee754_y1): Set errno if return value overflows.
3765 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3766 (__ieee754_y1f): Set errno if return value overflows.
3767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3768 (__ieee754_y1l): Set errno if return value overflows.
3769 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3770 (__ieee754_y1l): Set errno if return value overflows.
3771 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3772 * math/auto-libm-test-out: Regenerated.
3773
863893ec
JM
3774 * math/gen-auto-libm-tests.c: Document use of
3775 ignore-zero-inf-sign.
3776 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3777 (input_flags): Add ignore-zero-inf-sign.
3778 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3779 * math/gen-libm-test.pl (generate_testfile): Handle
3780 ignore-zero-inf-sign.
3781 * math/auto-libm-test-in: Mark some cpow tests with
3782 ignore-zero-inf-sign and some with xfail-rounding.
3783 * math/auto-libm-test-out: Regenerated.
3784 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3785 * sysdeps/i386/fpu/libm-test-ulps: Update.
3786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3787
4da6db51
JM
3788 [BZ #16315]
3789 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3790 overflowing or underflowing operations take place with sign of
3791 result.
3792 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3793 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3794 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3795 (__ieee754_pow): Recompute overflowing and underflowing results in
3796 original rounding mode.
3797 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3798 (__powl_helper): Allow negative argument X and scale negated value
3799 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3800 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3801 overflowing or underflowing operations take place with sign of
3802 result.
3803 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3804 Include <math.h>.
3805 * math/auto-libm-test-in: Add more tests of pow.
3806 * math/auto-libm-test-out: Regenerated.
3807 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3808 (pow_tonearest_test_data): Remove.
3809 (pow_test_tonearest): Likewise.
3810 (pow_towardzero_test_data): Likewise.
3811 (pow_test_towardzero): Likewise.
3812 (pow_downward_test_data): Likewise.
3813 (pow_test_downward): Likewise.
3814 (pow_upward_test_data): Likewise.
3815 (pow_test_upward): Likewise.
3816 (main): Don't call removed functions.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819
5686b236
RM
38202014-06-23 Roland McGrath <roland@hack.frob.com>
3821
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3823 Moved ...
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3826 Moved ...
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3829 Moved ...
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3832 Moved ...
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3835 File removed.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3837 File removed.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3839 File removed.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3841 File removed.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3843 File removed.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3845 File removed.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3847 File removed.
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3849 File removed.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3851 File removed.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3853 File removed.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3855 File removed.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3857 File removed.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3859 Moved ...
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3862 Moved ...
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3864 ... here.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3866 Moved ...
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3869 Moved ...
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3872 Moved ...
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3875 Moved ...
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3878 Moved ...
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3881 Moved ...
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3884 Moved ...
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3888 ... here.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3890 Moved ...
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3893 Moved ...
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3895 ... here.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3897 Moved ...
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3899 ... here.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3901 Moved ...
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3903 ... here.
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3905 Moved ...
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3908 Moved ...
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3913 Moved ...
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3915 ... here.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3917 Moved ...
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3919 ... here.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3921 Moved ...
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3924 Moved ...
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3927 Moved ...
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3930 Moved ...
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3933 Moved ...
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3935 ... here.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3937 Moved ...
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3940 Moved ...
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3943 Moved ...
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3946 Moved ...
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3951 Moved ...
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3954 Moved ...
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3957 Moved ...
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3959 ... here.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3961 Moved ...
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3963 ... here.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3965 Moved ...
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3967 ... here.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3969 Moved ...
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3972 Moved ...
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3975 Moved ...
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3978 Moved ...
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3980 ... here.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3982 Moved ...
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3984 ... here.
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3986 Moved ...
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3988 ... here.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3990 Moved ...
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3993 Moved ...
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3995
e6d90d67
WD
39962014-06-23 Will Newton <will.newton@linaro.org>
3997 Wilco <wdijkstr@arm.com>
3998
3999 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4000 implementation. Include get-rounding-mode.h.
4001 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4002 [!libc_feholdsetround_noex_ctx]: Define
4003 libc_feholdsetround_noex_ctx.
4004 [!libc_feholdsetround_noexf_ctx]: Define
4005 libc_feholdsetround_noexf_ctx.
4006 [!libc_feholdsetround_noexl_ctx]: Define
4007 libc_feholdsetround_noexl_ctx.
4008 (libc_feholdsetround_ctx): New function.
4009 (libc_feresetround_ctx): New function.
4010 (libc_feholdsetround_noex_ctx): New function.
4011 (libc_feresetround_noex_ctx): New function.
4012
d42df555
RM
40132014-06-23 Roland McGrath <roland@hack.frob.com>
4014
88a46474
RM
4015 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4016 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4017 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4018 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4019 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4020 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4021
15bed472
RM
4022 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4023 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4024 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4025 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4026 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4027 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4029 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4030 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4033 Moved ...
4034 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4035 ... here.
4036 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4041 Moved ...
4042 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4050 Moved ...
4051 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4053 Moved ...
4054 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4058 Moved ...
4059 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4063 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4064 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4065 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4069 Moved ...
4070 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4071 ... here.
4072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4085 Moved ...
4086 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4092 Moved ...
4093 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4097 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4098
d42df555
RM
4099 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4100 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4101 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4114 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4116 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4120 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4121 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4124 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4126 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4127
76e5216e
JM
41282014-06-23 Joseph Myers <joseph@codesourcery.com>
4129
4130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4131 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4132 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4133 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4134 (IPV6_PMTUDISC_INTERFACE): Likewise.
4135 (IPV6_PMTUDISC_OMIT): Likewise.
4136
7a81cbcc
AS
41372014-06-23 Andreas Schwab <schwab@suse.de>
4138
4139 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4140 Remove unused errout label.
4141
db224009
AZ
41422014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143
4144 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4145 macro: hardware supports Vector Crypto instructions.
4146
f393b4aa
WN
41472014-06-23 Will Newton <will.newton@linaro.org>
4148
cc7d0447
WN
4149 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4150 rather than __builtin_expect.
4151
d6d06225
WN
4152 * elf/dl-lookup.c (undefined_msg): Remove variable.
4153 (_dl_lookup_symbol_x): Replace undefined_msg with string
4154 literal.
4155
f393b4aa
WN
4156 * elf/dl-lookup.c (do_lookup_unique): New function.
4157 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4158 to a separate function.
4159
ac60763e
AS
41602014-06-23 Andreas Schwab <schwab@suse.de>
4161
4162 [BZ #17079]
4163 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4164 before reading the next line.
4165
c5c13355
WN
41662014-06-23 Will Newton <will.newton@linaro.org>
4167
4168 * test-skeleton.c (signal_handler): Use printf and %m
4169 rather than perror. Use printf rather than fprintf to
4170 stderr. Use puts rather than fputs to stderr.
4171 (main): Likewise.
4172
bd3675f9
LC
41732014-06-22 Ludovic Courtès <ludo@gnu.org>
4174
4175 * nscd/nscd.c (thread_info_t): Remove typedef.
4176 (thread_info): Remove variable.
4177
d03efb2f
AM
41782014-06-21 Allan McRae <allan@archlinux.org>
4179
4180 * NEWS: Mention CVE-2014-4043.
4181
bc4a86fa
RM
41822014-06-20 Roland McGrath <roland@hack.frob.com>
4183
dc9a54f8
RM
4184 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4185 * nptl/smp.h: ... here.
4186
bd7022c4
RM
4187 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4188
26ffd5e6
RM
4189 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4190 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4191 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4192 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4193
93a6d082
RM
4194 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4195 * nptl/stack-aliasing.h: New file.
4196 * sysdeps/i386/i686/stack-aliasing.h: New file.
4197 * sysdeps/i386/i686/nptl/Makefile: File removed.
4198 * sysdeps/x86_64/stack-aliasing.h: New file.
4199 * sysdeps/x86_64/nptl/Makefile
4200 (CFLAGS-pthread_create.c): Variable removed.
4201
bc4a86fa
RM
4202 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4203 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4204 old file.
4205 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4206 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4207 old file.
4208
2272ffc1
JM
42092014-06-21 Joseph Myers <joseph@codesourcery.com>
4210
4211 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4212 (__ASSUME_SIGFRAME_V2): Remove macro.
4213 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4214 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4215 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4216 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4217 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4218 Declare as function. Remove conditional macro definitions.
4219 (__default_rt_sa_restorer): Likewise.
4220 (__default_sa_restorer_v1): Remove declaration.
4221 (__default_sa_restorer_v2): Likewise.
4222 (__default_rt_sa_restorer_v1): Likewise.
4223 (__default_rt_sa_restorer_v2): Likewise.
4224 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4225 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4226 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4227
4b88139b
RM
42282014-06-20 Roland McGrath <roland@hack.frob.com>
4229
4230 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4231 (libpthread-routines): Add sysdep.
4232 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4233 * sysdeps/unix/sysv/linux/sparc/Versions
4234 (libpthread: GLIBC_2.3.3): New version set.
4235 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4236 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4237 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4239 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4240 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4241 Moved ...
4242 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4244 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4246 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4248 * sysdeps/sparc/nptl/sem_init.c: ... here.
4249 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4250 * sysdeps/sparc/nptl/sem_post.c: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4252 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4253 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4254 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4255 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4256 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4257 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4258 (libpthread-routines): Add cpu_relax.
4259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4260 File removed.
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4262 (librt: GLIBC_2.3.3): New version set.
4263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4264 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4265 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4266 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4269 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4271 Moved ...
4272 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4274 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4276 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4278 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4280 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4282 Moved ...
4283 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4284 Update #include.
4285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4286 Moved ...
4287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4288 Update #include.
4289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4290 Moved ...
4291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4292 Update #include.
4293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4294 Moved ...
4295 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4296 Update #include.
4297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4298 Moved ...
4299 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4300 Update #include.
4301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4302 Moved ...
4303 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4304 Update #include.
4305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4306 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4312 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4316 Moved ...
4317 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4319 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4321 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4322
d7109027
JM
43232014-06-20 Joseph Myers <joseph@codesourcery.com>
4324
9bc6103d
JM
4325 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4326 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4327 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4328 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4329 * nscd/nscd.c: Likewise.
4330 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4331 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4332 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4333 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4334
d7109027
JM
4335 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4336 <kernel-features.h>.
4337 (init_mq_netlink): Remove conditional have_sock_cloexec
4338 definitions. Remove code conditional on have_sock_cloexec < 0.
4339 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4340 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4341 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4342 <kernel-features.h>.
4343 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4344 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4345
d92d8f8a
L
43462014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4347
4348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4349 Add tests for memset_chk and memset.
4350
4351 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4352 with AVX2_Usable.
4353
4e6d2347
MR
43542014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4355
257ce712
MR
4356 [BZ #16046]
4357 * elf/tst-dl-iter-static.c: New file.
4358 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4359
4e6d2347
MR
4360 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4361 error.
4362
a2a76afe
JM
43632014-06-20 Joseph Myers <joseph@codesourcery.com>
4364
7fd00f99
JM
4365 * sysdeps/unix/sysv/linux/kernel-features.h
4366 (__ASSUME_F_GETOWN_EX): Remove macro.
4367 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4368 <kernel-features.h>.
4369 (miss_F_GETOWN_EX): Remove variable or macro.
4370 (do_fcntl): Do not check miss_F_GETOWN_EX.
4371 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4372
4a103975
JM
4373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4374 Remove macro.
4375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4376 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4377 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4378
a2a76afe
JM
4379 * sysdeps/unix/sysv/linux/kernel-features.h
4380 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4381 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4382 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4383 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4384
90e5dd48
MR
43852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4386
4387 [BZ #17075]
4388 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4389 Fix calculation of the symbol's value.
4390 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4391 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4392 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4393 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4394 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4395 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4396 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4397 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4398 (modules-names): Add `tst-armtlsdescmod',
4399 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4400 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4401 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4402 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4403 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4404 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4405 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4406 ($(objpfx)tst-armtlsdescloc): New dependency.
4407 ($(objpfx)tst-armtlsdescextnow): Likewise.
4408 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4409 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4410 TLS scheme support.
4411 * sysdeps/arm/configure: Regenerate.
4412
809fdf0d
JM
44132014-06-20 Joseph Myers <joseph@codesourcery.com>
4414
4415 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4416 (__atfct_seterrno_2): Likewise.
4417 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4418 <kernel-features.h>.
4419 (__ASSUME_ATFCTS): Do not undefine and redefine.
4420 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4421 (__have_atfcts): Remove conditional definition.
4422 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4423 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4424 unreachable if [__ASSUME_ATFCTS].
4425 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4426 not undefine and redefine.
4427 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4428 <kernel-features.h>.
4429 (faccessat) [__NR_faccessat]: Make code unconditional.
4430 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4431 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4432 <kernel-features.h>.
4433 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4434 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4435 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4436 <kernel-features.h>.
4437 (fchownat) [__NR_fchownat]: Make code unconditional.
4438 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4439 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4440 <kernel-features.h>.
4441 (futimesat) [__NR_futimesat]: Make code unconditional.
4442 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4443 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4444 <kernel-features.h>.
4445 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4446 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4447 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4448 <kernel-features.h>.
4449 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4450 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4451 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4452 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4453 <kernel-features.h>.
4454 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4455 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4456 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4457 <kernel-features.h>.
4458 (linkat) [__NR_linkat]: Make code unconditional.
4459 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4460 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4461 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4462 <kernel-features.h>.
4463 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4464 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4465 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4466 <kernel-features.h>.
4467 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4468 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4469 * sysdeps/unix/sysv/linux/openat.c: Do not include
4470 <kernel-features.h>.
4471 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4472 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4473 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4474 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4475 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4476 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4477 <kernel-features.h>.
4478 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4479 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4480 result of INLINE_SYSCALL directly, not via int variable.
4481 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4482 <kernel-features.h>.
4483 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4484 (renameat) [__NR_renameat]: Make code unconditional.
4485 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4487 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4488 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4489 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4490 (__ASSUME_ATFCTS): Do not undefine and redefine.
4491 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4492 <kernel-features.h>.
4493 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4494 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4495 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4496 <kernel-features.h>.
4497 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4498 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4499 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4500 (__ASSUME_ATFCTS): Do not undefine and redefine.
4501 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4502 <kernel-features.h>.
4503 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4504 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4505 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4506 <kernel-features.h>.
4507 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4508 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4509
224c6c51
L
45102014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4511
4512 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4513
aa6ec754
AS
45142014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4515
4516 [BZ #17069]
4517 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4518 constructed tree before returning error.
4519 * posix/bug-regexp36.c: Expand test case.
4520
d8c2869d
SL
45212014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4522
3ef6b850
SL
4523 [BZ #6803]
4524 * math/libm-test.inc (scalbln_test_date):
4525 Add errno expectations.
4526 * math/w_scalblnf.c: New File.
4527 Add wrapper which checks for setting errno to ERANGE.
4528 Add weak_alias for corresponding scalbln function.
4529 * math/w_scalbln.c: Likewise.
4530 * math/w_scalblnl.c: Likewise.
4531 * math/Makefile (libm-calls): Add w_scalbln.
4532 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4533 Remove weak_alias for corresponding scalbln function.
4534 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4538 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4539 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4540 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4541 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4542 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4543 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4544 Remove long_double_symbol for scalblnl function in libm, libc.
4545 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4546 Add wrapper which checks for setting errno to ERANGE.
4547 Add long_double_symbol for scalblnl function in libm, libc.
4548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4549 Remove long_double_symbol for scalblnl in libm.
4550 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4551 Add wrapper which checks for setting errno to ERANGE.
4552 Add long_double_symbol for scalblnl function in libm.
4553 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4554 Do not use wrapper because of own implementation.
4555
c8daec5c
L
45562014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4559 3 bytes for __pad1 for x32.
4560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4561
5c74e47c
LM
45622014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4563 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4566 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4567 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4568 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4569 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4570
4d43ef1e
AS
45712014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4572
4573 [BZ #17069]
4574 * posix/regcomp.c (parse_expression): Deallocate partially
4575 constructed tree before returning error.
4576 * posix/Makefile.c (tests): Add bug-regex36.
4577 (generated): Add bug-regex36.mtrace.
4578 (tests-special): Add $(objpfx)bug-regex36-mem.out
4579 (bug-regex36-ENV): New variable.
4580 ($(objpfx)bug-regex36-mem.out): New rule.
4581 * posix/bug-regex36.c: New file.
4582
51a7380b
WN
45832014-06-19 Will Newton <will.newton@linaro.org>
4584
4585 * malloc/malloc.c (systrim): If extra is zero then return
4586 early.
4587
91b84fe5
SP
45882014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4589
4590 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4591
f940b965
RE
45922014-06-19 Richard Earnshaw <rearnsha@arm.com>
4593
4594 * sysdeps/aarch64/strchr.S: New file.
4595
4ba7a00f
JM
45962014-06-18 Joseph Myers <joseph@codesourcery.com>
4597
4598 [BZ #17022]
4599 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4600 from arguments -2 or below.
4601 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4602 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4603
b3a9f56b
AS
46042014-06-18 Andreas Schwab <schwab@suse.de>
4605
4606 [BZ #17062]
4607 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4608 of a bracket expr not to run off the end of the string.
4609 * posix/Makefile (tests): Add tst-fnmatch3.
4610 * posix/tst-fnmatch3.c: New file.
4611
85d89278
JM
46122014-06-18 Joseph Myers <joseph@codesourcery.com>
4613
4614 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4615 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4616 [$(cross-compiling) = no]: Likewise.
4617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4618 [$(cross-compiling) = no]: Likewise.
4619
754c5a08
RS
46202014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4621
4622 [BZ #17031]
4623 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4624 double, adjusted for any remainder from the high double.
4625 * math/libm-test.inc (nearbyint): Add tests.
4626 (rint): Likewise.
4627
556f529d
AZ
46282014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629
4630 * nptl/sysdeps/powerpc/Makefile: Moved ...
4631 * sysdeps/powerpc/nptl/Makefile: ... here.
4632 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4633 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4634 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4635 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4636 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4637 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4638 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4639 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4640 * nptl/sysdeps/powerpc/tls.h: Moved ...
4641 * sysdeps/powerpc/nptl/tls.h: ... here.
4642
91c03c53
JM
46432014-06-16 Joseph Myers <joseph@codesourcery.com>
4644
4645 [BZ #16681]
4646 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4647 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4648 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4649 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4650 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4651 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4652 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4653 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4654 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4655
a76e63c5
AS
46562014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4657
4658 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4659
f2f6d82f
AS
46602014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4661
ea8a15f6
AS
4662 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4663 defined operator.
4664
f2f6d82f
AS
4665 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4666 $TIMEOUTFACTOR.
4667
a7291117
FW
46682014-06-16 Florian Weimer <fweimer@redhat.com>
4669
4670 [BZ #17058]
4671 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4672 non-executed part of the test.
4673
3d7c00e3
AS
46742014-06-16 Andreas Schwab <schwab@suse.de>
4675
4676 * string/bits/string2.h (strdup, strndup): Update feature guard.
4677
6957fb31
DM
46782014-06-14 David S. Miller <davem@davemloft.net>
4679
4680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4681
11b9e55b
AS
46822014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4683
1d2a0492
AS
4684 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4685 that was previously under [RESET_PID].
4686 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4687
11b9e55b
AS
4688 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4689 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4690 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4691 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4692 (__libc_vfork): New strong alias.
4693 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4694
0f6901d0
AK
46952014-06-14 Andi Kleen <ak@linux.intel.com>
4696
4697 * sysdeps/generic/elide.h: New file.
4698
38bbbb9f
SL
46992014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4700
4701 * Makefile (installed-headers): Adjust path of pthread.h header.
4702
45193bb8
RM
47032014-06-13 Roland McGrath <roland@hack.frob.com>
4704
9a25fd1e
RM
4705 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4706 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4708 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4709
4004f7e4
RM
4710 * nptl/sysdeps/s390/Makefile: Moved ...
4711 * sysdeps/s390/nptl/Makefile: ... here.
4712 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4713 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4714 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4715 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4716 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4717 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4718 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4719 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4720 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4721 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4722 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4723 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4724 * nptl/sysdeps/s390/tls.h: Moved ...
4725 * sysdeps/s390/nptl/tls.h: ... here.
4726
45193bb8
RM
4727 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4728 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4729
f6fdf533
DM
47302014-06-13 David S. Miller <davem@davemloft.net>
4731
4732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4735 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4739 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4740 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4741 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4742 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4743 Remove RESET_PID cpp guards.
4744 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4745 Remove RESET_PID cpp guards.
4746 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4747
f5d71e14
AS
47482014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4751 __sp to uintptr_t.
4752
b7aa8caa
AK
47532014-06-13 Andi Kleen <ak@linux.intel.com>
4754
4b266200
AZ
4755 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4757 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4759 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4761 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4763 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4764 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4765 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4767 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4768 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4769 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4771 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4774 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
4775
4776 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
4777 (pthread_rwlock_rdlock): Add elision.
4778 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4779 (pthread_rwlock_wrlock): Add elision.
4780 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4781 (pthread_rwlock_trywrlock): Add elision.
4782 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4783 (pthread_rwlock_tryrdlock): Add elision.
4784 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4785 (pthread_rwlock_tryrdlock): Add elision unlock.
4786 * nptl/sysdeps/pthread/pthread.h:
4787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4788 (PTHREAD_RWLOCK_INITIALIZER,
4789 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4790 Handle new elision field.
4791 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4792 * sysdeps/arm/nptl/bits/pthreadtypes.h
4793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4794 * sysdeps/sh/nptl/bits/pthreadtypes.h
4795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4796 * sysdeps/tile/nptl/bits/pthreadtypes.h
4797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4798 * sysdeps/a/nptl/bits/pthreadtypes.h
4799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4800 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4802 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4804 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4806 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4807 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4808 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4809 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4810 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4811 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4812 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4813 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4814 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4815 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4816 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4817 (elision_init): Set try_xbegin to zero when no RTM.
4818 * sysdeps/x86/nptl/bits/pthreadtypes.h
4819 (pthread_rwlock_t): Change __pad1 to __rwelision.
4820 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 4821
a832bdd3
AK
48222014-06-13 Andi Kleen <ak@linux.intel.com>
4823
4824 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4825 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4826 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4827 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4828
995a46bb
MI
48292014-06-13 Meador Inge <meadori@codesourcery.com>
4830
4831 [BZ #16996]
03ed7738 4832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
4833 that the cached result has been set before returning it.
4834
45262aee
RM
48352014-06-12 Roland McGrath <roland@hack.frob.com>
4836
febf6cc5
RM
4837 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4838 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4840 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4842 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4843
e2682246
RM
4844 * nptl/sysdeps/sparc/Makefile: Moved ...
4845 * sysdeps/sparc/nptl/Makefile: ... here.
4846 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4847 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4848 * nptl/sysdeps/sparc/tls.h: Moved ...
4849 * sysdeps/sparc/nptl/tls.h: ... here.
4850 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4851 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4852 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4853 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4854 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4855 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4856 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4857 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4858 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4859 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4860 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4861 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4862 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4863 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4864 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4865 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4866 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4867 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4868 Update #include.
4869 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4870 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4871 Update #include.
4872 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4873 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4874 Update #include.
4875 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4876 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4877 Update #include.
4878
b0725f43
RM
4879 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4880
b14368b8
RM
4881 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4882 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4883
c5620eb3
RM
4884 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4885 (struct list_links): Type removed.
4886 (struct thread_node, struct timer_node): Replace struct list_links
4887 with struct list_head.
4888 (list_unlink_ip): Likewise.
4889 * sysdeps/pthread/timer_routines.c
4890 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4891 (list_append, list_insbefore): Likewise.
4892 (list_init): Function removed.
4893 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
4894 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4895 * sysdeps/pthread/Makefile: ... here, new file.
4896
4897 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4898 * sysdeps/nptl/Implies: ... here.
4899 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4900 * nptl/sysdeps/pthread/list.h: Moved ...
4901 * include/list.h: ... here.
4902 * nptl/sysdeps/pthread/createthread.c: Moved ...
4903 * nptl/createthread.c: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4905 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4906 * nptl/pt-longjmp.c: ... here.
4907 * nptl/sysdeps/pthread/Makefile: Moved ...
4908 * sysdeps/nptl/Makefile: ... here.
4909 * nptl/sysdeps/pthread/Subdirs: Moved ...
4910 * sysdeps/nptl/Subdirs: ... here.
4911 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4912 * sysdeps/nptl/aio_misc.h: ... here.
4913 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4914 * sysdeps/nptl/bits/libc-lock.h: ... here.
4915 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4916 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4917 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4918 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4919 * nptl/sysdeps/pthread/configure: Moved ...
4920 * sysdeps/nptl/configure: ... here.
4921 * nptl/sysdeps/pthread/configure.ac: Moved ...
4922 * sysdeps/nptl/configure.ac: ... here.
4923 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4924 * sysdeps/nptl/gai_misc.h: ... here.
4925 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4926 * sysdeps/nptl/librt-cancellation.c: ... here.
4927 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4928 * sysdeps/nptl/malloc-machine.h: ... here.
4929 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4930 * sysdeps/nptl/pthread-functions.h: ... here.
4931 * nptl/sysdeps/pthread/pthread.h: Moved ...
4932 * sysdeps/nptl/pthread.h: ... here.
4933 * nptl/sysdeps/pthread/setxid.h: Moved ...
4934 * sysdeps/nptl/setxid.h: ... here.
4935 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4936 * sysdeps/nptl/sigfillset.c: ... here.
4937 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4938 * sysdeps/nptl/tcb-offsets.h: ... here.
4939 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4940 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4941 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4942 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4943 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4944 * sysdeps/pthread/allocalim.h: ... here.
4945 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4946 * sysdeps/pthread/bits/sigthread.h: ... here.
4947 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4948 * sysdeps/pthread/flockfile.c: ... here.
4949 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4950 * sysdeps/pthread/ftrylockfile.c: ... here.
4951 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4952 * sysdeps/pthread/funlockfile.c: ... here.
4953 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4954 * sysdeps/pthread/posix-timer.h: ... here.
4955 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4956 * sysdeps/pthread/timer_create.c: ... here.
4957 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4958 * sysdeps/pthread/timer_delete.c: ... here.
4959 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4960 * sysdeps/pthread/timer_getoverr.c: ... here.
4961 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4962 * sysdeps/pthread/timer_gettime.c: ... here.
4963 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4964 * sysdeps/pthread/timer_routines.c: ... here.
4965 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4966 * sysdeps/pthread/timer_settime.c: ... here.
4967 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4968 * sysdeps/pthread/tst-timer.c: ... here.
4969 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4970 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4971
e876b090
RM
4972 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4973 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4974
f6b07b3d
RM
4975 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4976 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4977 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4978 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4979 Update #include target.
4980 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4981 * sysdeps/i386/i686/nptl/Makefile: ... here.
4982 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4983 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4984 Update #include target.
4985 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4986 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4987 * nptl/sysdeps/i386/Makefile: Moved ...
4988 * sysdeps/i386/nptl/Makefile: ... here.
4989 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4990 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4991 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4992 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4993 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4994 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4995 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4996 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4997 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4998 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4999 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5000 * nptl/sysdeps/i386/tls.h: Moved ...
5001 * sysdeps/i386/nptl/tls.h: ... here.
5002
45262aee
RM
5003 * sysdeps/sh/Makefile [$(subdir) = csu]
5004 (gen-as-const-headers): Add tcb-offsets.sym.
5005 * nptl/sysdeps/sh/Makefile: File removed.
5006 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5007 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5008 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5009 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5010 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5011 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5012 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5013 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5014 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5015 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5016 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5017 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5018 * nptl/sysdeps/sh/tls.h: Moved ...
5019 * sysdeps/sh/nptl/tls.h: ... here.
5020 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5021 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5022 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5023 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5025 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5027 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5028 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5029 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5031 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5033 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5034 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5035 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5036 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5037 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5039 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5041 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5042 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5043 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5045 Moved ...
5046 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5048 Moved ...
5049 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5050 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5051 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5052 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5053 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5054 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5055 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5056 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5057 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5058 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5059 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5060 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5061 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5063 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5065 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5067 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5068
35a5e3e3
SL
50692014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5070
5071 * posix/spawn_faction_addopen.c: Include string.h.
5072
14642b85
RM
50732014-06-11 Roland McGrath <roland@hack.frob.com>
5074
5075 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5076 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5077 * nptl/sysdeps/x86_64/Makefile: Moved ...
5078 * sysdeps/x86_64/nptl/Makefile: ... here.
5079 * nptl/sysdeps/x86_64/configure: Moved ...
5080 * sysdeps/x86_64/nptl/configure: ... here.
5081 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5082 * sysdeps/x86_64/nptl/configure.ac: ... here.
5083 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5084 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5085 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5086 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5087 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5088 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5089 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5090 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5091 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5092 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5093 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5094 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5095 * nptl/sysdeps/x86_64/tls.h: Moved ...
5096 * sysdeps/x86_64/nptl/tls.h: ... here.
5097 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5098 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5099 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5100 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5101
5102 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5103
31c44fea
AZ
51042014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105
5106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5107
e81a4f9a
JM
51082014-06-11 Joseph Myers <joseph@codesourcery.com>
5109
5110 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5111 type.
5112 [POSIX] (off_t): Likewise.
5113 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5114 [POSIX] (S_ISBLK): Require macro.
5115 [POSIX] (S_ISCHR): Likewise.
5116 [POSIX] (S_ISDIR): Likewise.
5117 [POSIX] (S_ISFIFO): Likewise.
5118 [POSIX] (S_ISREG): Likewise.
5119 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5120 optional-macro.
5121 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5122 type.
5123 [POSIX] (time_t): Likewise.
5124 [POSIX] (timer_t): Likewise.
5125
89e435f3
FW
51262014-06-11 Florian Weimer <fweimer@redhat.com>
5127
5128 [BZ #17048]
5129 * posix/spawn_int.h (struct __spawn_action): Make the path string
5130 non-const to support deallocation.
5131 * posix/spawn_faction_addopen.c
5132 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5133 * posix/spawn_faction_destroy.c
5134 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5135 path in all spawn_do_open actions.
5136 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5137 posix_spawn_file_actions_addopen.
5138
c3a2ebe1
CM
51392014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5140
5141 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5142 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5143 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5144 conditional code always true.
5145 (__libc_vfork): New alias.
5146
9503784a
RM
51472014-06-11 Roland McGrath <roland@hack.frob.com>
5148
c9cab3d2
RM
5149 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5150 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5151
d3996c79
RM
5152 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5153
ba5ec611
RM
5154 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5155 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5156
f12b4814
RM
5157 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5158 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5159
9503784a
RM
5160 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5161 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5162
e23d3d26
VR
51632014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5164
5165 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5166 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5167 multiarch strcmp for PPC64.
5168 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5169 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5171 multiarch optimizations.
5172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5173 (__libc_ifunc_impl_list): Likewise.
5174
42b1161e
SP
51752014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5176
5177 * benchtests/scripts/validate_benchout.py: New script.
5178 * benchtests/Makefile (bench-func): Call it.
5179 * benchtests/scripts/benchout.schema.json: New file.
5180
2d0fc4dc
CM
51812014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5182
4a594c34
AZ
5183 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5184 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5185 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5186 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5187 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5188 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5189 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5190 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5191 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5192 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5193 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5194 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5195 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5196 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5197 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5198 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 5200 Moved ...
4a594c34 5201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 5202 ... here.
4a594c34 5203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 5204 Moved ...
4a594c34
AZ
5205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 5207 Moved ...
4a594c34 5208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 5209 ... here.
4a594c34 5210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 5211 Moved ...
4a594c34 5212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 5213 ... here.
4a594c34 5214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 5215 Moved ...
4a594c34
AZ
5216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 5218 Moved ...
4a594c34 5219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 5220 ... here.
4a594c34 5221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 5222 Moved ...
4a594c34 5223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 5224 ... here.
4a594c34 5225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 5226 Moved ...
4a594c34
AZ
5227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 5229 Moved ...
4a594c34 5230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 5231 ... here.
4a594c34 5232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 5233 Moved ...
4a594c34 5234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 5235 ... here.
4a594c34 5236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 5237 Moved ...
4a594c34 5238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 5239 ... here.
4a594c34 5240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 5241 Moved ...
4a594c34
AZ
5242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 5244 Moved ...
4a594c34 5245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 5246 ... here.
4a594c34 5247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 5248 Moved ...
4a594c34 5249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 5250 ... here.
4a594c34 5251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 5252 Moved ...
4a594c34 5253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 5254 ... here.
4a594c34 5255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 5256 Moved ...
4a594c34
AZ
5257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 5259 Moved ...
4a594c34 5260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 5261 ... here.
4a594c34 5262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 5263 Moved ...
4a594c34 5264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 5265 ... here.
4a594c34 5266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 5267 Moved ...
4a594c34
AZ
5268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 5270 Moved ...
4a594c34 5271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 5272 ... here.
4a594c34 5273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 5274 Moved ...
4a594c34
AZ
5275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 5277 Moved ...
4a594c34
AZ
5278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 5280 Moved ...
4a594c34 5281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 5282 ... here.
4a594c34 5283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 5284 Moved ...
4a594c34 5285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 5286 ... here.
4a594c34 5287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 5288 Moved ...
4a594c34 5289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 5290 ... here.
4a594c34 5291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 5292 Moved ...
4a594c34
AZ
5293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 5295 Moved ...
4a594c34 5296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 5297 ... here.
4a594c34 5298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 5299 Moved ...
4a594c34 5300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 5301 ... here.
4a594c34
AZ
5302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5303 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 5307 Moved ...
4a594c34 5308 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 5309 ... here.
4a594c34
AZ
5310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5311 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5312 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5313 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5315 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5317 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5319 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5320 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5321 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5322 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 5323 Moved ...
4a594c34
AZ
5324 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 5326 Moved ...
4a594c34
AZ
5327 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5328 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5329 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 5331 Moved ...
4a594c34
AZ
5332 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5333 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5334 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5336 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5337 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5338 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 5339
0570cfed
W
53402014-06-10 Wilco <wdijkstr@arm.com>
5341
5342 * math/test-fenv-return.c: New file.
5343 * math/Makefile: Add new test test-fenv-return.
5344
f8ba1b56
JM
53452014-06-10 Joseph Myers <joseph@codesourcery.com>
5346
5347 [BZ #17042]
5348 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5349 when x - 1 is zero.
5350 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5351 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5352 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5353 0.0L for an argument of 1.0L.
5354 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5355 Likewise.
5356 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5357 value when x - 1 is zero.
5358 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361
2c3520d9
BO
53622014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5363
5364 [BZ #15119]
5365 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5366
acaa4d24
RM
53672014-06-09 Roland McGrath <roland@hack.frob.com>
5368
5369 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5370 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5371
962b744d
RM
53722014-06-09 Roland McGrath <roland@hack.frob.com>
5373
d752f0cc
RM
5374 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5375 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5376
34eda6d1
RM
5377 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5378 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5379
50f0a637
RM
5380 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5381 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5382
08f41f04
RM
5383 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5384 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5385
962b744d
RM
5386 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5387 if not already defined.
5388 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5389 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5390 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5391 (TLS_INIT_TP): Use it.
5392 (TLS_DEFINE_INIT_TP): New macro.
5393 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5394
09f19b05
JM
53952014-06-09 Joseph Myers <joseph@codesourcery.com>
5396
5397 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5398 constant.
5399 [POSIX] (IXANY): Likewise.
5400 [POSIX] (OLCUC): Likewise.
5401 [POSIX || POSIX2008] (CBAUD): Do not allow.
5402 [POSIX || POSIX2008] (DEFECHO): Likewise.
5403 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5404 [POSIX || POSIX2008] (ECHOKE): Likewise.
5405 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5406 [POSIX || POSIX2008] (EXTA): Likewise.
5407 [POSIX || POSIX2008] (EXTB): Likewise.
5408 [POSIX || POSIX2008] (FLUSHO): Likewise.
5409 [POSIX || POSIX2008] (LOBLK): Likewise.
5410 [POSIX || POSIX2008] (PENDIN): Likewise.
5411 [POSIX || POSIX2008] (SWTCH): Likewise.
5412 [POSIX || POSIX2008] (VDISCARD): Likewise.
5413 [POSIX || POSIX2008] (VDSUSP): Likewise.
5414 [POSIX || POSIX2008] (VLNEXT): Likewise.
5415 [POSIX || POSIX2008] (VREPRINT): Likewise.
5416 [POSIX || POSIX2008] (VSTATUS): Likewise.
5417 [POSIX || POSIX2008] (VWERASE): Likewise.
5418 (B*): Change to B[0123456789]*.
5419 * conform/data/time.h-data [POSIX || UNIX98]
5420 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5421 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5422 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5423 [POSIX] (tm_*): Do not allow.
5424
686554bf
JM
54252014-06-07 Joseph Myers <joseph@codesourcery.com>
5426
5427 * Makefile (install): Don't set LANGUAGE.
5428 * Makefile.in (install): Likewise.
5429 * assert/Makefile (test-assert-ENV): Remove variable.
5430 (test-assert-perr-ENV): Likewise.
5431 * elf/Makefile (neededtest4-ENV): Likewise.
5432 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5433 [$(cross-compiling) = no]: Don't set LANGUAGE.
5434 * io/ftwtest-sh (LANG): Remove variable.
5435 * libio/Makefile (tst-widetext-ENV): Likewise.
5436 * manual/install.texi (Running make install): Don't refer to
5437 environment settings for make install.
5438 * INSTALL: Regenerated.
5439 * nptl/tst-tls6.sh: Don't set LANG.
5440 * posix/globtest.sh (LANG): Remove variable.
5441 * string/Makefile (tester-ENV): Likewise.
5442 (inl-tester-ENV): Likewise.
5443 (noinl-tester-ENV): Likewise.
5444 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5445 [$(cross-compiling) = no]: Don't set LANGUAGE.
5446 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5447 without explicit environment settings.
5448
68e6b6b1
RM
54492014-06-06 Roland McGrath <roland@hack.frob.com>
5450
5451 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5452 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5454 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5455
4d3ae034
CM
54562014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5457
5458 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5459 other files in the crypt directory.
5460 * crypt/crypt.c: Remove duplicate includes.
5461 * crypt/crypt-entry.c: Likewise.
5462 * crypt/crypt_util.c: Likewise.
5463
8540f6d2
JM
54642014-06-06 Joseph Myers <joseph@codesourcery.com>
5465
5466 * Makeconfig (run-program-env): New variable.
5467 (run-program-prefix-before-env): Likewise.
5468 (run-program-prefix-after-env): Likewise.
5469 (run-program-prefix): Define in terms of new variables.
5470 (built-program-cmd-before-env): New variable.
5471 (built-program-cmd-after-env): Likewise.
5472 (built-program-cmd): Define in terms of new variables.
5473 (test-program-prefix-before-env): New variable.
5474 (test-program-prefix-after-env): Likewise.
5475 (test-program-prefix): Define in terms of new variables.
5476 (test-program-cmd-before-env): New variable.
5477 (test-program-cmd-after-env): Likewise.
5478 (test-program-cmd): Define in terms of new variables.
5479 * Rules (make-test-out): Use $(run-program-env).
5480 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5481 (help): Do not mention environment variables. Mention
5482 --timeoutfactor option.
5483 (timeoutfactor): New variable.
5484 (blacklist_exports): Remove function.
5485 (exports): Remove variable.
5486 (command): Do not include ${exports}.
5487 * manual/install.texi (Configuring and compiling): Do not mention
5488 test wrappers preserving environment variables. Mention that last
5489 assignment to a variable must take precedence.
5490 * INSTALL: Regenerated.
5491 * benchtests/Makefile (run-bench): Use $(run-program-env).
5492 * catgets/Makefile ($(objpfx)test1.cat): Use
5493 $(built-program-cmd-before-env), $(run-program-env) and
5494 $(built-program-cmd-after-env).
5495 ($(objpfx)test2.cat): Do not specify environment variables
5496 explicitly.
5497 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5498 $(run-program-env) and $(built-program-cmd-after-env).
5499 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5500 $(run-program-env) and $(test-program-cmd-after-env).
5501 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5502 explicitly.
5503 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5504 run_program_env and test_program_cmd_after_env arguments.
5505 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5506 * elf/tst-pathopt.sh: Use run_program_env argument.
5507 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5508 $(test-wrapper-env) and $(run-program-env).
5509 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5510 run_program_env arguments.
5511 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5512 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5513 $(test-program-prefix-before-env), $(run-program-env) and
5514 $(test-program-prefix-after-env).
5515 ($(objpfx)tst-gettext2.out): Likewise.
5516 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5517 run_program_env and test_program_prefix_after_env arguments.
5518 * intl/tst-gettext2.sh: Likewise.
5519 * intl/tst-gettext4.sh: Do not set environment variables
5520 explicitly.
5521 * intl/tst-gettext6.sh: Likewise.
5522 * intl/tst-translit.sh: Likewise.
5523 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5524 $(test-program-prefix-before-env), $(run-program-env) and
5525 $(test-program-prefix-after-env).
5526 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5527 run_program_env and test_program_prefix_after_env arguments.
5528 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5529 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5530 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5531 explicitly with each use of ${test_wrapper_env}.
5532 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5533 $(test-program-prefix-before-env), $(run-program-env) and
5534 $(test-program-prefix-after-env).
5535 * posix/tst-getconf.sh: Do not set environment variables
5536 explicitly.
5537 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5538 run_program_env and test_program_prefix_after_env arguments.
5539 * stdio-common/tst-printf.sh: Do not set environment variables
5540 explicitly.
5541 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5542 $(test-program-prefix-before-env), $(run-program-env) and
5543 $(test-program-prefix-after-env).
5544 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5545 run_program_env and test_program_prefix_after_env arguments.
5546 Split $test calls into $test_pre and $test.
5547 * timezone/Makefile (build-testdata): Use
5548 $(built-program-cmd-before-env), $(run-program-env) and
5549 $(built-program-cmd-after-env).
5550
ed36bfa1
AZ
55512014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5554 strlen for non SHARED builds.
5555
fc75bf46
SP
55562014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5557
5558 * nptl/allocatestack.c (check_list): Inlined function...
5559 (__reclaim_stacks): ... here.
5560
d89b3d80
OB
55612014-06-05 Ondřej Bílka <neleai@seznam.cz>
5562
5563 [BZ #15698]
5564 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5565 memory overrun.
5566
2bf18041
JM
55672014-06-05 Joseph Myers <joseph@codesourcery.com>
5568
5569 * Rules (make-test-out): Include
5570 LOCPATH=$(common-objpfx)localedata in default environment.
5571 * debug/Makefile (tst-chk1-ENV): Remove variable.
5572 (tst-chk2-ENV): Likewise.
5573 (tst-chk3-ENV): Likewise.
5574 (tst-chk4-ENV): Likewise.
5575 (tst-chk5-ENV): Likewise.
5576 (tst-chk6-ENV): Likewise.
5577 (tst-lfschk1-ENV): Likewise.
5578 (tst-lfschk2-ENV): Likewise.
5579 (tst-lfschk3-ENV): Likewise.
5580 (tst-lfschk4-ENV): Likewise.
5581 (tst-lfschk5-ENV): Likewise.
5582 (tst-lfschk6-ENV): Likewise.
5583 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5584 (tst-iconv7-ENV): Likewise.
5585 * intl/Makefile (LOCPATH-ENV): Likewise.
5586 (tst-codeset-ENV): Likewise.
5587 (tst-gettext3-ENV): Likewise.
5588 (tst-gettext5-ENV): Likewise.
5589 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5590 (tst-fopenloc-ENV): Likewise.
5591 (tst-fgetws-ENV): Remove variable.
5592 (tst-ungetwc1-ENV): Likewise.
5593 (tst-ungetwc2-ENV): Likewise.
5594 (bug-ungetwc2-ENV): Likewise.
5595 (tst-swscanf-ENV): Likewise.
5596 (bug-ftell-ENV): Likewise.
5597 (tst-fgetwc-ENV): Likewise.
5598 (tst-fseek-ENV): Likewise.
5599 (tst-ftell-partial-wide-ENV): Likewise.
5600 (tst-ftell-active-handler-ENV): Likewise.
5601 (tst-ftell-append-ENV): Likewise.
5602 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5603 (tst-regexloc-ENV): Likewise.
5604 (bug-regex1-ENV): Likewise.
5605 (tst-regex-ENV): Likewise.
5606 (tst-regex2-ENV): Likewise.
5607 (bug-regex5-ENV): Likewise.
5608 (bug-regex6-ENV): Likewise.
5609 (bug-regex17-ENV): Likewise.
5610 (bug-regex18-ENV): Likewise.
5611 (bug-regex19-ENV): Likewise.
5612 (bug-regex20-ENV): Likewise.
5613 (bug-regex22-ENV): Likewise.
5614 (bug-regex23-ENV): Likewise.
5615 (bug-regex25-ENV): Likewise.
5616 (bug-regex26-ENV): Likewise.
5617 (bug-regex30-ENV): Likewise.
5618 (bug-regex32-ENV): Likewise.
5619 (bug-regex33-ENV): Likewise.
5620 (bug-regex34-ENV): Likewise.
5621 (bug-regex35-ENV): Likewise.
5622 (tst-rxspencer-ENV): Likewise.
5623 (tst-rxspencer-no-utf8-ENV): Likewise.
5624 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5625 (tst-sscanf-ENV): Likewise.
5626 (tst-swprintf-ENV): Likewise.
5627 (tst-swscanf-ENV): Likewise.
5628 (test-vfprintf-ENV): Likewise.
5629 (scanf13-ENV): Likewise.
5630 (bug14-ENV): Likewise.
5631 (tst-grouping-ENV): Likewise.
5632 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5633 (tst-strtod3-ENV): Likewise.
5634 (tst-strtod4-ENV): Likewise.
5635 (tst-strtod5-ENV): Likewise.
5636 (testmb2-ENV): Likewise./
5637 * string/Makefile (tst-strxfrm-ENV): Likewise.
5638 (tst-strxfrm2-ENV): Likewise.
5639 (bug-strcoll1-ENV): Likewise.
5640 (test-strcasecmp-ENV): Likewise.
5641 (test-strncasecmp-ENV): Likewise.
5642 * time/Makefile (tst-strptime-ENV): Likewise.
5643 (tst-ftime_l-ENV): Likewise.
5644 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5645 (tst-mbrtowc-ENV): Likewise.
5646 (tst-wcrtomb-ENV): Likewise.
5647 (tst-mbrtowc2-ENV): Likewise.
5648 (tst-c16c32-1-ENV): Likewise.
5649 (tst-mbsnrtowcs-ENV): Likewise.
5650
cd1fb604
OB
56512014-06-05 Ondřej Bílka <neleai@seznam.cz>
5652
5653 * manual/resource.texi (How to get information about the memory
5654 subsystem?): Fix typo.
5655 Reported by Peon de la Parra Ivan <peon@keba.com>
5656
b42eca7d
GY
56572014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5658
5659 [BZ #16882]
5660 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5661 (pthread_spin_lock): Branch out of spin loop to proper location.
5662 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5663 (pthread_spin_lock): Likewise.
5664
902b71f9
DM
5665 * nptl/tst-spin4.c: New test.
5666 * nptl/Makefile (tests): Add tst-spin4.
5667
f9d2d032
AS
56682014-06-03 Andreas Schwab <schwab@suse.de>
5669
5670 [BZ #15946]
5671 * resolv/res_send.c (send_dg): Reload file descriptor after
5672 calling reopen.
5673
cf7bfd28
SL
56742014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5675
5676 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5677
111cc714
RH
56782014-06-03 Richard Henderson <rth@redhat.com>
5679
89b4bd6b
RH
5680 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5681 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5682 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5683 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5684 in the SAVE_PID block.
5685 (__libc_vfork): New alias.
71840409 5686 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 5687
111cc714
RH
5688 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5689 child in registers, not on the stack. Remove RESET_PID conditionals.
5690 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5691
ccc39911
MS
56922014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5693
5694 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5695
693096cc
W
56962014-06-03 Wilco <wdijkstr@arm.com>
5697
5698 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5699 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5700 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5701 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5702 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5703 Likewise.
5704
0b4366bc
W
57052014-06-03 Wilco <wdijkstr@arm.com>
5706
5707 * sysdeps/aarch64/fpu/math_private.h
5708 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5709 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5710 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5711 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5712 Fix declarations.
5713
8747cd03
KS
57142014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5715
5716 * crypt/crypt-private.h: Include ufc-crypt.h.
5717 (__b64_from_24bit): Declare extern.
5718 * crypt/crypt_util.c(__b64_from_24bit): New function.
5719 (b64t): New static const variable.
5720 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5721 (b64t): Remove variable.
5722 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5723 * crypt/sha256-crypt.c: Include crypt-private.h.
5724 (b64t): Remove variable.
5725 (__sha256_crypt_r): Remove b64_from_24bit and replace
5726 with __b64_from_24bit.
5727 * crypt/sha512-crypt.c: Likewise.
5728
d936d379
RM
57292014-06-02 Roland McGrath <roland@hack.frob.com>
5730
5731 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5732 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5733 Label the code __libc_vfork rather than __vfork.
5734 [!NOT_IN_libc] (vfork): Define as weak alias.
5735 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5736 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5737 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5738
9fa76613
SP
57392014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5740
5741 * malloc/malloc.c (malloc_info): Fix format specifier for
5742 n_mmaps.
5743
a88dadbe
W
57442014-06-02 Wilco <wdijkstr@arm.com>
5745
5746 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5747 FPCR write.
5748
c95b3011
W
57492014-06-02 Wilco <wdijkstr@arm.com>
5750
5751 [BZ #17009]
5752 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5753 Rewrite to reduce FPCR/FPSR accesses.
5754
6b4d7a90
DM
57552014-06-01 David S. Miller <davem@davemloft.net>
5756
5757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5758
30f3d07c
DM
57592014-05-31 David S. Miller <davem@davemloft.net>
5760
5761 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5762 to occur in round to nearest mode when |x| >= 2.0
5763
74f31c18
RH
57642014-05-30 Richard Henderson <rth@twiddle.net>
5765
f0712b54
RH
5766 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5767 (PSEUDO_RET_NOERRNO): Remove.
5768 (ret): Don't redefine.
5769 (ret_NOERRNO): Define in terms of ret.
5770 (ret_ERRVAL): Likewise.
5771
74f31c18
RH
5772 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5773 use of PSEUDO_RET; perform the error check directly.
5774
30477995
MM
57752014-05-30 Marko Myllynen <myllynen@redhat.com>
5776
5777 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5778 with __int128_t.
5779
62a58816
SP
57802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5781
5782 * malloc/malloc (malloc_info): Fix formatting.
5783
4d653a59
SP
57842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5785 Roland McGrath <roland@hack.frob.com>
5786
5787 * malloc/malloc (malloc_info): Also print mmapped statistics.
5788
5190c17f
RM
57892014-05-30 Roland McGrath <roland@hack.frob.com>
5790
5791 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5792 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5793
987c0269
OB
57942014-05-30 Ondřej Bílka <neleai@seznam.cz>
5795
5796 * malloc/malloc.c (malloc_info): Inline mi_arena.
5797
af4e8ef9
RH
57982014-05-29 Richard Henderson <rth@twiddle.net>
5799
1670e207
RH
5800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5801 Remove comma before expanding ASM_ARGS_##nr.
5802 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5803 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5804 of ASM_ARGS_##nr.
5805 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5806 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5807 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5808 (ASM_ARGS_1): Add leading comma.
5809
11a28aee
RH
5810 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5811 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5812 to __errno_location.
5813 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5814 Remove the expected plt for __errno_location.
5815
a17e5ffb 5816 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 5817 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
5818 call to __read_tp.
5819
b5be4597
RH
5820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5821 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5822 it and break it down.
5823 (DOCARGS_0, DOCARGS_1): Do nothing.
5824 (DOCARGS_2): Update to store into the new stack frame.
5825 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5826 (UNDOCARGS_1): Update to restore from the new stack frame.
5827 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5828 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5829
645d44ab
RH
5830 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5831 (SINGLE_THREAD_P): New parameter for result regno.
5832 (PSEUDO): Update to match; use cbz instead of beq.
5833
a8b4f04a
RH
5834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5835 Use ENTRY to define the _nocancel entry point. Share the syscall
5836 and syscall error check paths with the cancel path.
5837 (PSEUDO_END): New.
5838
af4e8ef9
RH
5839 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5840 whitespace; tabs before and after asm mnemonics.
5841
26b0d2e1
EW
58422014-05-29 Eric Wong <normalperson@yhbt.net>
5843
5844 [BZ #15132]
5845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5846 Call fstat64 or stat64 internally, depending on arguments passed.
5847 Replace stat buffer argument with file descriptor argument.
5848 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5849 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5850 Pass fd to __internal_statvfs instead of calling fstat64.
5851 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5852 Pass fd to __internal_statvfs64 instead of calling fstat64.
5853 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5854 Pass -1 to __internal_statvfs instead of calling stat64.
5855 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5856 Pass -1 to __internal_statvfs64 instead of calling stat64.
5857
1efe2bd9
RM
58582014-05-28 Roland McGrath <roland@hack.frob.com>
5859
0d3b7a19
RM
5860 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5861 that was previously under [RESET_PID].
5862 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5863
1efe2bd9
RM
5864 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5865 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5866
a6bea3ca
RM
58672014-05-27 Roland McGrath <roland@hack.frob.com>
5868
30b6629e
RM
5869 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5870
a6bea3ca
RM
5871 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5872 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5873
3dfb9a5c
OB
58742014-05-27 Ondřej Bílka <neleai@seznam.cz>
5875
5876 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5877
774f9285
AS
58782014-05-27 Andreas Schwab <schwab@suse.de>
5879
5880 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5881 TLS_INIT_TP macro.
5882 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5883 * elf/rtld.c (init_tls, dl_main): Likewise.
5884 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5885 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5886 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5887 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5888 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5889 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5890 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5891 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5892 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5893 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5894 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5895 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5896 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5897 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5898 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5899 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5900 * sysdeps/generic/tls.h: Update description.
5901
36ffe739
WN
59022014-05-27 Will Newton <will.newton@linaro.org>
5903
5904 [BZ #16990]
5905 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5906 and restore r2 rather than just restoring.
5907
2482ae43
SP
59082014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5909
5910 [BZ #16724]
5911 * libio/tst-ftell-append.c: New test case.
5912 * libio/Makefile (tests): Add test case.
5913 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5914 append mode.
5915 * libio/wfileops.c (do_ftell_wide): Likewise.
5916
3d1024e8
AZ
59172014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5918
bab90016
AZ
5919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5920
c7a8d667
AZ
5921 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5922 ...
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5925 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5926 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5928 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5930 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5932 Moved ...
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5935 Moved ...
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5937 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5938 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5939 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5940 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5942 ...
5943 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5944 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5945 Moved ...
5946 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5947 here.
5948 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5949 ...
5950 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5952 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5953
daee7851
AZ
5954 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5955 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5956 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5957 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5958
50a40819
AZ
5959 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5960 merge into ...
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5962 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5963 ...
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5966 ...
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5969 Moved ...
5970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5971 here.
5972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5973 Moved ...
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5975 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5976 Moved ...
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5978
8464c2a1
AZ
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5980 conditional [RESET_PID].
5981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5983 removed.
5984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5985 removed.
5986
3d1024e8
AZ
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5988 <tcb-offsets.h>.
5989 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5990 (__libc_vfork): New strong alias.
5991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5992 removed.
5993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5994 Removed.
5995
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5997 <tcb-offsets.h>.
5998 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5999 (__libc_vfork): New strong alias.
6000 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6001 removed.
6002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6003 removed.
6004
fdfd175d
CD
60052014-05-26 Carlos O'Donell <carlos@redhat.com>
6006
6007 * malloc/malloc.c (mi_arena): New function.
6008 (malloc_info): Remove nested function mi_arena. Call non-nosted
6009 function mi_arena.
6010
d298c416
AZ
60112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6014 by insrwi.
6015 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6016 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6017 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6018 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6020 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6021 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6022
b60ea6ff
AS
60232014-05-26 Andreas Schwab <schwab@suse.de>
6024
6025 [BZ #16984]
6026 * locale/programs/repertoire.c (repertoire_read): Add slash
6027 between I18NPATH element and file name.
6028 * locale/programs/locfile.c (locfile_read): Likewise.
6029
67365926
SL
60302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6031
6032 * nptl/pthread_mutexattr_settype.c
6033 (__pthread_mutexattr_settype):
6034 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6035
f8bdf1f0
SL
60362014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6037
6038 * nptl/tst-mutex5 (do_test):
6039 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6040
15eaf6ff
SP
60412014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6042
6043 * benchtests/README: Document 'init' directive.
6044 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6045 BENCH_INIT.
6046 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6047 (parse_file): Recognize 'init' directive.
6048
75f11331
KM
60492014-05-26 Kyle McMartin <kyle@redhat.com>
6050
6051 [BZ #16796]
6052 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6053 alignment of struct pthread.
6054
c3ec475c
SP
60552014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6056
6057 [BZ #16878]
6058 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6059 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6060 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6061 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6062
82aab97c
RH
60632014-05-25 Richard Henderson <rth@twiddle.net>
6064
aa2f176d
RH
6065 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6066 (SINGLE_THREAD_P_PIC): Remove.
6067 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6068 (SINGLE_THREAD_P_PIC): Remove.
6069
ca3cfa40
RH
6070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6071 branch to syscall error ...
6072 (PSEUDO): ... here.
6073 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6074 from __local_syscall_error to .Lsyscall_error.
6075 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6076 (SYSCALL_ERROR): Update label name.
6077
6e6c2d01
RH
6078 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6079 Do not use DOARGS/UNDOARGS.
6080 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6081 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6082 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6083 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6084 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6085
c69abcee
RH
6086 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6087 block comment.
6088
82aab97c
RH
6089 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6090 define if !NOT_IN_libc.
6091 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6092 define with non-default symbol versions.
6093
8820e3ac
RH
60942014-05-23 Richard Henderson <rth@twiddle.net>
6095
900e445f
RH
6096 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6097 (vfork, __vfork): Define via compat_symbol.
6098
8820e3ac
RH
6099 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6100 [!HAVE_IFUNC] (vfork_compat): Remove.
6101 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6102
e59252a5
JM
61032014-05-23 Joseph Myers <joseph@codesourcery.com>
6104
6105 [BZ #16978]
6106 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6107 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6108 variable.
6109
132c7f5f
RH
61102014-05-23 Richard Henderson <rth@twiddle.net>
6111
bc89e962
RH
6112 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6113 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6114 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6115 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6116
6117 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6118 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6119 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6120 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6121 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6122 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6123 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6124 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6125 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6126 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6127 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6128 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6129 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6130 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6138 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6139 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6140 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6141 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6143 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6144 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6145 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6146 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6147 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6148 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6149 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6150 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6151 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6152 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6153 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6154 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6155 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6156 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6157 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6158 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6159 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6160 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6161 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6162 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6164 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6166 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6168 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6170 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6172 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6173
e2fa4bc2
RH
6174 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6175 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6176 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6177 before exiting on error.
6178 (__libc_vfork): New strong alias.
6179 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6180 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6181
279b24e2
RH
6182 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6183 that was previously under [RESET_PID].
6184 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6185
132c7f5f
RH
6186 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6187
b72592e7
JM
61882014-05-23 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #16977]
6191 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6192 value when x - 1 is zero.
6193 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6194 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6195 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6196 0.0L for an argument of 1.0L.
6197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6198 Likewise.
6199 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6200 value when x - 1 is zero.
6201 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6202 * sysdeps/i386/fpu/libm-test-ulps: Update.
6203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6204
2302d679
RV
62052014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6206
6207 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6208 alphasort and versionsort.
6209
32999d63
AZ
62102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6213 macro.
6214 [copysignf]: Likewise.
6215
019324d0
SP
62162014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6217
6218 * crypt/md5-crypt.c: Fix formatting.
6219
34fff5c2
KS
62202014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6221
6222 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6223 (b64_from_24bit): New function.
6224
3d2badac
AZ
62252014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226
6227 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6228 libc_hidden_builtin_def to ifunc.
6229 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6230 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6231
f7bb179f 62322014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
6233
6234 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6235 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6236
4134b50d
JM
62372014-05-21 Joseph Myers <joseph@codesourcery.com>
6238
bb7d0337
JM
6239 * nscd/Depend (linuxthreads): Remove.
6240 (nptl): Add.
6241 * resolv/Depend (linuxthreads): Remove.
6242 * rt/Depend (linuxthreads): Remove.
6243
4134b50d
JM
6244 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6245 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6246 $(common-objpfx)elf/.
6247 (link-libc-before-gnulib): Likewise.
6248 (elfobjdir): Remove variable.
6249 * Makefile (install): Use $(elf-objpfx) instead of
6250 $(common-objpfx)elf/.
6251 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6252 $(elfobjdir)/.
6253 (link-libc-deps): Likewise.
6254 ($(common-objpfx)libc.so): Likewise.
6255 ($(common-objpfx)linkobj/libc.so): Likewise.
6256 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6257 instead of $(common-objpfx)elf/.
6258 (symbolic-link-list): Likewise.
6259 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6260 [$(cross-compiling) = no]: Likewise.
6261 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6262 $(elfobjdir)/.
6263 (static-gnulib-arch): Likewise.
6264 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6265 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6266 $(common-objpfx)elf/.
6267
3612eb8f
RH
62682014-05-21 Richard Henderson <rth@redhat.com>
6269
a6b3657b
RH
6270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6271 (SINGLE_THREAD_P): Use the correct width load. Fold
6272 into the ldr offset.
6273
3612eb8f
RH
6274 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6275 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6276
175cef41
JM
62772014-05-20 Joseph Myers <joseph@codesourcery.com>
6278
6279 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6280 (libgcc_s_resume): Use __attribute_used__.
6281 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6282 Likewise.
6283
e13bccd3
AZ
62842014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285
6286 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6287 optimization when used with float constants.
6288
7c112a38
AZ
6289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6290
ae75a883
AJ
62912014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6292
6293 [BZ #16915]
6294 * locale/nl_langinfo_l.c: Make direct reference to every
6295 _nl_current_CATEGORY symbol.
6296 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6297 (tests-static): Add tst-langinfo-static.
6298 (tests-special): Add tst-langinfo-static.out.
6299 ($(objpfx)tst-langinfo.out): Redirect output.
6300 ($(objpfx)tst-langinfo-static.out): New.
6301 * localedata/tst-langinfo.sh: Send output to stdout.
6302 * localedata/tst-langinfo-static.c: New file.
6303
4406c41c
AJ
6304 [BZ #16965]
6305 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6306 when the shift amount is modulo the limb size.
6307
4c0a1e63
RH
63082014-05-20 Richard Henderson <rth@redhat.com>
6309
de9d8f20
RH
6310 [BZ #16967]
6311 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6312 Change type of sa_flags from unsigned int to int.
6313
4c0a1e63
RH
6314 [BZ #16966]
6315 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
6316
6317 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6318
a60339aa
WN
63192014-05-20 Will Newton <will.newton@linaro.org>
6320
6321 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6322 Test the return value of the system call in the nocancel case.
6323
7d05a816
YR
63242014-05-20 Will Newton <will.newton@linaro.org>
6325 Yvan Roux <yvan.roux@linaro.org>
6326
6327 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6328 #include of asm/ptrace.h.
6329 (PTRACE_GET_THREAD_AREA): Remove #undef.
6330 (PTRACE_GETHBPREGS): Likewise.
6331 (PTRACE_SETHBPREGS): Likewise.
6332 (struct user_regs_struct): New structure.
6333 (struct user_fpsimd_struct): New structure.
6334 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6335 #include of asm/ptrace.h and second #include of sys/user.h.
6336 (PTRACE_GET_THREAD_AREA): Remove #undef.
6337 (PTRACE_GETHBPREGS): Likewise.
6338 (PTRACE_SETHBPREGS): Likewise.
6339 (ELF_NGREG): Use new struct user_regs_struct.
6340 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6341
af121e37
AZ
63422014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6346
834caf06
JM
63472014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6348
6349 [BZ #16958]
6350 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6351 membar to avoid block loads/stores to overlap previous stores.
6352
e184a918
RH
63532014-05-17 Richard Henderson <rth@redhat.com>
6354
6355 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6356 Create the __##syscall_name##_nocancel entry point.
6357 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6358 Remove; let the sysdep-cancel.h code create it.
6359
f56c7a6a
DM
63602014-05-17 David S. Miller <davem@davemloft.net>
6361
6362 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6363 Protect with __USE_GNU.
6364 (TIOCSET_TEMPT): Likewise.
6365 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6366 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6367 these are already provided in bits/ioctl-types.h
6368
f75616b2
RM
63692014-05-16 Roland McGrath <roland@hack.frob.com>
6370
3edeca86
RM
6371 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6372 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6373
f75616b2
RM
6374 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6375 Use wait4 regardless of [__NR_waitpid].
6376
deb0f7f6
MR
63772014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6378
6379 PR libgcc/60166
6380 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6381 (_FP_NANSIGN_Q): Set the quiet bit.
6382
79520f4b
JM
63832014-05-16 Joseph Myers <joseph@codesourcery.com>
6384
6385 * benchtests/Makefile
6386 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6387 not $(common-objpfx)math/libm.so.
6388 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6389 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6390 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6391 $(common-objpfx)dlfcn/libdl.so.
6392 ($(objpfx)tst-audit8): Depend on $(libm), not
6393 $(common-objpfx)math/libm.so.
6394 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6395 not $(common-objpfx)dlfcn/libdl.so.
6396 * math/Makefile
6397 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6398 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6399 [$(build-shared) = yes].
6400 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6401 $(common-objpfx)nptl/libpthread.so.
6402 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6403 $(common-objpfx)math/libm.so$(libm.so-version) or
6404 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6405 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6406 $(common-objpfx)dlfcn/libdl.so.
6407 * setjmp/Makefile (link-libm): Remove variable.
6408 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6409 * stdio-common/Makefile (link-libm): Remove variable.
6410 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6411 * stdlib/Makefile (link-libm): Remove variable.
6412 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6413 ($(objpfx)tst-strtod-round): Likewise.
6414 ($(objpfx)tst-tininess): Likewise.
6415 ($(objpfx)tst-strtod-underflow): Likewise.
6416 ($(objpfx)tst-strtod6): Likewise.
6417 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6418 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6419 $(common-objpfx)dlfcn/libdl.so.
6420
026b0fe4
AZ
64212014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422
6423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6424 BSD terminal modes definitions.
6425
def4bcb2
RM
64262014-05-16 Roland McGrath <roland@hack.frob.com>
6427
fe39b021
RM
6428 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6429 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6430
1d1fc46e 6431 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
6432 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6433 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6434 Don't do #include_next.
6435 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6436 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6437 Don't do #include_next.
6438 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6439 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6440 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6441 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6442
c72399fb
AM
64432014-05-16 Allan McRae <allan@archlinux.org>
6444
d51d659d
AM
6445 * po/sv.po: Update Swedish translation from translation project.
6446
c72399fb
AM
6447 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6448 in sed expression.
6449
d0583c40
AJ
64502014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6451
6452 [BZ #16917]
6453 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6454 errno if the TIOCGPTN ioctl fails with an error different than
6455 EINVAL.
6456 * login/tst-ptsname.c: New file.
6457 * login/Makefile (tests): Add tst-ptsname.
6458
d16e6ec7
AJ
6459 [BZ #16943]
6460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6461 and prlimit64.
6462
cf26a0cb
SP
64632014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6464
6465 [BZ #16849]
6466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6467 herrno to return EAI_AGAIN.
6468
5675da1e
RM
64692014-05-14 Roland McGrath <roland@hack.frob.com>
6470
a5d87b3d
RM
6471 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6472 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6473 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6474 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6475 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6478 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6480 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6481 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6482 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6483 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6484 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6485 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6486 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6487 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6488 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6489 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6490 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6491 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6492 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6493 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6494 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6495 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6496 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6497 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6498 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6499 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6500 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6502 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6504 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6506 Moved ...
6507 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6509 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6511 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6513 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6515 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6517 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6519 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6521 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6523 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6525 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6527 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6529 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6531 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6535 Moved ...
6536 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6538 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6540 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6542 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6544 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6546 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6548 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6550 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6552 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6554 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6556 Moved ...
6557 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6560
039890a6
RM
6561 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6562 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6563 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6564 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6565 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6566 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6567 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6569 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6570 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6571 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6573 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6574 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6575 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6576 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6577 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6578 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6579 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6580 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6581 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6583 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6584 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6585 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6586 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6587 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6588 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6589 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6590 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6591 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6592
65c89320
RM
6593 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6594 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6595
348f8e8c
RM
6596 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6597 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6598 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6599 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6600 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6601 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6602 Moved ...
6603 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6605 Moved ...
6606 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6607 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6608 Moved ...
6609 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6611 Moved ...
6612 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6613 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6614 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6616 Moved ...
6617 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6618 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6619 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6620 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6621 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6622 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6623 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6624 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6625 Moved ...
6626 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6628 Moved ...
6629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6630 ... here.
6631 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6632 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6634 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6636 Moved ...
6637 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6638 ... here.
6639 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6640 Moved ...
6641 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6643 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6644 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6645 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6646 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6647 Moved ...
6648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6650 Moved ...
6651 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6653 Moved ...
6654 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6655 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6656 Moved ...
6657 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6659 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6661 Moved ...
6662 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6663 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6664 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6666 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6667 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6668 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6669 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6670 Moved ...
6671 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6672 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6673 Moved ...
6674 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6675 ... here.
6676 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6677 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6679 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6681 Moved ...
6682 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6683 ... here.
6684 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6685 Moved ...
6686 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6687 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6688 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6689 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6690 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6692 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6693 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6694 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6696 Moved ...
6697 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6699 Moved ...
6700 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6702 Moved ...
6703 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6705 Moved ...
6706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6708 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6709 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6710 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6712 Moved ...
6713 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6715 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6717 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6719 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6721 Moved ...
6722 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6723 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6724 Moved ...
6725 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6726 ... here.
6727 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6728 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6729 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6730 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6731 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6732 Moved ...
6733 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6734 ... here.
6735 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6736 Moved ...
6737 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6739 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6741 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6743 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6745 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6746 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6747 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6748
5085af05
RM
6749 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6750 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6751
708f0813
RM
6752 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6753 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6754
c96067bc
RM
6755 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6756 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6757 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6758 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6759 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6760 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6761 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6762 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6763 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6764 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6766 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6767 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6768 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6769 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6771 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6773 Moved ...
6774 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6776 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6778 Moved ...
6779 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6781 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6783 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6785 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6786 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6787 Moved ...
6788 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6790 Moved ...
6791 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6792 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6793 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6794 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6795 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6796 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6797 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6798 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6799 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6800 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6801 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6803 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6805 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6806 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6807 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6808
ec136444
RM
6809 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6810 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6811 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6812 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6813 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6814
2fbdf533
RM
6815 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6816 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6818 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6819 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6820 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6821 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6822 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6823 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6824 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6825
4c68138b
RM
6826 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6828
4eaae765
RM
6829 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6830 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
6831 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6832 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6834 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6835 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6836 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6837 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6838 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6839 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6840 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6841 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6842 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6844 Update #include.
6845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6846 Likewise.
6847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6848 Likewise.
6849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6850 Likewise.
6851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6852 Likewise.
6853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6854 Likewise.
6855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6856 Likewise.
6857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6858 Likewise.
6859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6860 Likewise.
6861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6862 Likewise.
4ef6befa
RM
6863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
6868 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6869 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6870 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6871 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6872 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6876 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6877 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 6878
941d7dfd
RM
6879 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6880 that was previously under [RESET_PID].
6881 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6882 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6883 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6884
1b731c35
RM
6885 * sysdeps/i386/nptl/Implies: New file.
6886 * sysdeps/x86_64/nptl/Implies: New file.
6887 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6888 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6890 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6891
e2787137
RM
6892 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6893 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6894 (__libc_vfork): New strong alias.
6895 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6896 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6897
6898 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6899 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6900 (__libc_vfork): New strong alias.
6901 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6902 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6903
5675da1e
RM
6904 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6905 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6906 (__libc_vfork): New strong alias.
6907 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6908 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6909 * nptl/pt-vfork.c: New file.
6910 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6911 (libpthread: GLIBC_2.20): New version set (empty).
6912
4f02e2b8
WN
69132014-05-14 Will Newton <will.newton@linaro.org>
6914
6915 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6916 rather than #if.
6917
0bf061d3
JM
69182014-05-14 Joseph Myers <joseph@codesourcery.com>
6919
1a84c3d6
JM
6920 [BZ #16564]
6921 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6922 arguments with exponent 65 or above.
6923 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6924 arguments 0x1p113L or above.
6925 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6926 to arguments 0x1p107L or above.
6927 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6928 positive arguments with exponent 65 or above.
6929 * math/auto-libm-test-in: Add more tests of log1p.
6930 * math/auto-libm-test-out: Regenerated.
6931
01dbacd2
JM
6932 [BZ #16928]
6933 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6934 non-finite arguments is +0.
6935 * math/s_cacosf.c (__cacosf): Likewise.
6936 * math/s_cacosl.c (__cacosl): Likewise.
6937 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6938 * sysdeps/i386/fpu/libm-test-ulps: Update.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6940
913d03c8
JM
6941 [BZ #16927]
6942 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6943 value.
6944 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6945 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6946 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6947 for explicit high bit of mantissa when testing for argument equal
6948 to 1.
6949 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6950 * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6952
0bf061d3
JM
6953 [BZ #16516]
6954 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6955 (__erf): Scale by 16 instead of 8 in potentially underflowing
6956 case. Ensure exception if result actually underflows.
6957 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6958 (__erff): Scale by 16 instead of 8 in potentially underflowing
6959 case. Ensure exception if result actually underflows.
6960 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6961 (efx8): Remove variable.
6962 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6963 case. Ensure exception if result actually underflows.
6964 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6965 (efx8): Remove variable.
6966 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6967 case. Ensure exception if result actually underflows.
6968 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6969 (efx8): Remove variable.
6970 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6971 case. Ensure exception if result actually underflows.
6972 * math/auto-libm-test-in: Add more tests of erf.
6973 * math/auto-libm-test-out: Regenerated.
6974
73ba67cb
AS
69752014-05-14 Andreas Schwab <schwab@suse.de>
6976
3d8c8bff
AS
6977 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6978 Remove code conditionalized on USE___THREAD.
6979
73ba67cb
AS
6980 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6981 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6982 not definedness.
6983
5c521ecd
JM
69842014-05-14 Joseph Myers <joseph@codesourcery.com>
6985
5e7698c6
JM
6986 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6987 Define unconditionally.
6988 (__ASSUME_O_CLOEXEC): Likewise.
6989 (__ASSUME_SOCK_CLOEXEC): Likewise.
6990 (__ASSUME_IN_NONBLOCK): Likewise.
6991 (__ASSUME_PIPE2): Likewise.
6992 (__ASSUME_EVENTFD2): Likewise.
6993 (__ASSUME_SIGNALFD4): Likewise.
6994 (__ASSUME_DUP3): Likewise.
6995 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6996 (__ASSUME_DUP3): Do not define.
6997 (__ASSUME_EVENTFD2): Likewise.
6998 (__ASSUME_IN_NONBLOCK): Likewise.
6999 (__ASSUME_O_CLOEXEC): Likewise.
7000 (__ASSUME_PIPE2): Likewise.
7001 (__ASSUME_SIGNALFD4): Likewise.
7002 (__ASSUME_SOCK_CLOEXEC): Likewise.
7003 (__ASSUME_UTIMES): Undefine.
7004 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7005 (__ASSUME_UTIMES): Do not define.
7006 (__ASSUME_O_CLOEXEC): Likewise.
7007 (__ASSUME_SOCK_CLOEXEC): Likewise.
7008 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7009 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7010 0x020621].
7011 (__ASSUME_PIPE2): Likewise.
7012 (__ASSUME_EVENTFD2): Likewise.
7013 (__ASSUME_SIGNALFD4): Likewise.
7014 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7015 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7016 Do not define.
7017 (__ASSUME_EVENTFD2): Likewise.
7018 (__ASSUME_SIGNALFD4): Likewise.
7019 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7020 (__ASSUME_32BITUIDS): Likewise.
7021 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7022 (__ASSUME_IPC64): Likewise.
7023 (__ASSUME_ST_INO_64_BIT): Likewise.
7024 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7025 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7026 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7027 (__ASSUME_UTIMES): Do not define.
7028 (__ASSUME_PSELECT): Likewise.
7029 (__ASSUME_PPOLL): Likewise.
7030 (__ASSUME_O_CLOEXEC): Likewise.
7031 (__ASSUME_SOCK_CLOEXEC): Likewise.
7032 (__ASSUME_IN_NONBLOCK): Likewise.
7033 (__ASSUME_PIPE2): Likewise.
7034 (__ASSUME_EVENTFD2): Likewise.
7035 (__ASSUME_SIGNALFD4): Likewise.
7036 (__ASSUME_DUP3): Likewise.
7037 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7038 (__ASSUME_UTIMES): Likewise.
7039 (__ASSUME_O_CLOEXEC): Likewise.
7040 (__ASSUME_SOCK_CLOEXEC): Likewise.
7041 (__ASSUME_IN_NONBLOCK): Likewise.
7042 (__ASSUME_PIPE2): Likewise.
7043 (__ASSUME_EVENTFD2): Likewise.
7044 (__ASSUME_SIGNALFD4): Likewise.
7045 (__ASSUME_DUP3): Likewise.
7046 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7047 (__ASSUME_UTIMES): Likewise.
7048 (__ASSUME_O_CLOEXEC): Likewise.
7049 (__ASSUME_SOCK_CLOEXEC): Likewise.
7050 (__ASSUME_IN_NONBLOCK): Likewise.
7051 (__ASSUME_PIPE2): Likewise.
7052 (__ASSUME_EVENTFD2): Likewise.
7053 (__ASSUME_SIGNALFD4): Likewise.
7054 (__ASSUME_DUP3): Likewise.
7055 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7056 Likewise.
7057 (__ASSUME_UTIMES): Likewise.
7058 (__ASSUME_EVENTFD2): Likewise.
7059 (__ASSUME_SIGNALFD4): Likewise.
7060 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7061 (__ASSUME_O_CLOEXEC): Likewise.
7062 (__ASSUME_SOCK_CLOEXEC): Likewise.
7063 (__ASSUME_IN_NONBLOCK): Likewise.
7064 (__ASSUME_PIPE2): Likewise.
7065 (__ASSUME_EVENTFD2): Likewise.
7066 (__ASSUME_SIGNALFD4): Likewise.
7067 (__ASSUME_DUP3): Likewise.
7068 (__ASSUME_UTIMES): Undefine.
7069
5c521ecd
JM
7070 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7071 feclearexcept. Remove symbol versioning code.
7072 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7073 symbol versioning code.
7074 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7075 symbol versioning code.
7076 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7077 feupdateenv. Remove symbol versioning code.
7078 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7079 fegetexceptflag. Remove symbol versioning code.
7080 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7081 fesetexceptflag. Remove symbol versioning code.
7082 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7083 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7084 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7085 (__posix_fadvise64_l32): Remove prototype.
7086 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7087 code.
7088
5da9dfad
RM
70892014-05-13 Roland McGrath <roland@hack.frob.com>
7090
7091 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7092 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7093 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7094 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7095
893b4f37
SK
70962014-05-13 Sami Kerola <kerolasa@iki.fi>
7097
7098 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7099 current working directory
7100
e0db6517
RM
71012014-05-13 Roland McGrath <roland@hack.frob.com>
7102
58aa195d
RM
7103 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7104 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7105 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7106 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7107 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7108 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7109 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7111 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7112 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7113 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7114 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7116 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7117 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7118 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7120 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7121 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7122 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7123 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7124 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7126 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7136 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7137 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7138 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7139 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7140 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7141 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7142 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7143 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7144 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7145
8c6d01f0
RM
7146 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7147 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7148
7149 * sysdeps/unix/sysv/linux/arm/Makefile
7150 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7151 Add rt-aeabi_unwind_cpp_pr1.
7152 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7153 Add nptl-aeabi_unwind_cpp_pr1.
7154 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7155 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7156 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7157 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7158 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7159 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7160
7161 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7162 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7163 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7164 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7165
bba6da4e
RM
7166 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7167 Deconditionalize the code that was previously under [RESET_PID].
7168 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7169
e0db6517
RM
7170 * sysdeps/generic/exit-thread.h: New file.
7171 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7172 * include/unistd.h (__exit_thread): Remove declaration.
7173 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7174 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7175 * csu/libc-start.c: Include <exit-thread.h>.
7176 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7177 * nptl/pthread_create.c: Include <exit-thread.h>.
7178 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7179 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7180 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7181 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7182 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7183 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7184 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7185 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7186 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7187 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7188 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7189 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7190 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7191 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7192 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7193 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7194 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7195
01eb16fd
AS
71962014-05-13 Andreas Schwab <schwab@suse.de>
7197
7198 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7199
637461d9
JM
72002014-05-12 Joseph Myers <joseph@codesourcery.com>
7201
7202 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7203 (__ASSUME_UTIMES): Do not condition on kernel version.
7204 (__ASSUME_PSELECT): Define unconditionally.
7205 (__ASSUME_PPOLL): Likewise.
7206 (__ASSUME_ATFCTS): Likewise.
7207 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7208 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7209 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7210 (__ASSUME_UTIMENSAT): Define unconditionally.
7211 (__ASSUME_PRIVATE_FUTEX): Likewise.
7212 (__ASSUME_FALLOCATE): Likewise.
7213 (__ASSUME_O_CLOEXEC): Likewise.
7214 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7215 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7216 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7217 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7218 (__ASSUME_IN_NONBLOCK): Likewise.
7219 (__ASSUME_PIPE2): Likewise.
7220 (__ASSUME_EVENTFD2): Likewise.
7221 (__ASSUME_SIGNALFD4): Likewise.
7222 (__ASSUME_DUP3): Likewise.
7223 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7224 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7225 (__ASSUME_AT_RANDOM): Likewise.
7226 (__ASSUME_PREADV): Likewise.
7227 (__ASSUME_PWRITEV): Likewise.
7228 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7229 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7230 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7231 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7232 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7234 (__ASSUME_O_CLOEXEC): Define unconditionally.
7235 (__ASSUME_PSELECT): Do not undefine conditionally.
7236 (__ASSUME_PPOLL): Likewise.
7237 (__ASSUME_ATFCTS): Likewise.
7238 (__ASSUME_SET_ROBUST_LIST): Likewise.
7239 (__ASSUME_UTIMENSAT): Likewise.
7240 (__ASSUME_FDATASYNC): Define unconditionally.
7241 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7242 (__ASSUME_SIGFRAME_V2): Likewise.
7243 )__ASSUME_EVENTFD2): Likewise.
7244 (__ASSUME_SIGNALFD4): Likewise.
7245 (__ASSUME_PSELECT): Do not undefine conditionally.
7246 (__ASSUME_PPOLL): Likewise.
7247 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7248 (__ASSUME_PSELECT): Define unconditionally.
7249 (__ASSUME_PPOLL): Likewise.
7250 (__ASSUME_O_CLOEXEC): Likewise.
7251 (__ASSUME_SOCK_CLOEXEC): Likewise.
7252 (__ASSUME_IN_NONBLOCK): Likewise.
7253 (__ASSUME_PIPE2): Likewise.
7254 (__ASSUME_EVENTFD2): Likewise.
7255 (__ASSUME_SIGNALFD4): Likewise.
7256 (__ASSUME_DUP3): Likewise.
7257 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7258 (__ASSUME_O_CLOEXEC): Likewise.
7259 (__ASSUME_SOCK_CLOEXEC): Likewise.
7260 (__ASSUME_IN_NONBLOCK): Likewise.
7261 (__ASSUME_PIPE2): Likewise.
7262 (__ASSUME_EVENTFD2): Likewise.
7263 (__ASSUME_SIGNALFD4): Likewise.
7264 (__ASSUME_DUP3): Likewise.
7265 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7266 (__ASSUME_EVENTFD2): Likewise.
7267 (__ASSUME_SIGNALFD4): Likewise.
7268 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7269
315eb1d8
AS
72702014-05-12 Andreas Schwab <schwab@suse.de>
7271
7272 [BZ #16932]
7273 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7274 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7275 than maximum RPC packet size.
7276 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7277 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7278 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7279 (_nss_nis_getservbyport_r): Likewise.
7280
91df99f7
WN
72812014-05-12 Will Newton <will.newton@linaro.org>
7282
7283 * malloc/Makefile (tests): Add tst-mallopt.
7284 * malloc/tst-mallopt.c: New file.
7285
0a982a29
RM
72862014-05-09 Roland McGrath <roland@hack.frob.com>
7287
7288 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7289 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7290
0ded08a5
AZ
72912014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7292
7293 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7294 (tst-tlsmod6.so): Likewise.
7295
55d4d550
RM
72962014-05-09 Roland McGrath <roland@hack.frob.com>
7297
7298 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7299
77d08aca
JM
73002014-05-09 Joseph Myers <joseph@codesourcery.com>
7301
7302 [BZ #16064]
7303 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7304 and <dl-procinfo.h>.
7305 (__fegetenv): Save SSE state in envp->__eip if supported.
7306 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7307 envp->__eip if supported.
7308 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7309 and <dl-procinfo.h>.
7310 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7311 __data_offset and __data_selector in environment to 0. Set SSE
7312 state if supported.
7313 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7314 test-fenv-sse.
7315 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7316 -mfpmath=sse.
7317 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7318
28162f4d
WN
73192014-05-09 Will Newton <will.newton@linaro.org>
7320
7321 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7322 and libc_relro_required for ARM.
7323 * sysdeps/arm/preconfigure: Regenerate.
7324
5a414ff7
DV
73252014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7326 Stefan Liebler <stli@linux.vnet.ibm.com>
7327
7328 * config.make.in (enable-lock-elision): New Makefile variable.
7329 * configure.ac: Likewise.
7330 * configure: Regenerate.
7331 * sysdeps/s390/configure.ac:
7332 Add check for gcc transactions support.
7333 * sysdeps/s390/configure: Regenerate.
7334 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7335 Build elision files if enabled.
7336 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7337 Add lock elision support for s390.
7338 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7339 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7340 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7341 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7342 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7343 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7344 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7345 Likewise.
7346 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7347 Likewise.
7348 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7349 Likewise.
7350 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7351 Likewise.
7352 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7353 (__lll_timedlock_elision, __lll_lock_elision)
7354 (__lll_unlock_elision, __lll_trylock_elision)
7355 (lll_timedlock_elision, lll_lock_elision)
7356 (lll_unlock_elision, lll_trylock_elision): Add.
7357 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7358 (pthread_mutex_t): Add lock elision support for s390.
7359
1a2f40e5
W
73602014-05-14 Wilco <wdijkstr@arm.com>
7361
7362 * sysdeps/arm/fclrexcpt.c: Cleanup.
7363 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7364 * sysdeps/arm/feenablxcpt.c: Cleanup.
7365 * sysdeps/arm/fegetenv.c: Cleanup.
7366 * sysdeps/arm/fegetexcept.c: Cleanup.
7367 * sysdeps/arm/fegetround.c: Cleanup.
7368 * sysdeps/arm/feholdexcpt.c: Cleanup.
7369 * sysdeps/arm/fesetenv.c: Cleanup.
7370 * sysdeps/arm/fesetround.c: Cleanup.
7371 * sysdeps/arm/feupdateenv.c: Cleanup.
7372 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7373 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7374 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7375 * sysdeps/arm/ftestexcept.c: Cleanup.
7376 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7377 * sysdeps/arm/setfpucw.c: Cleanup.
7378
f63c86fe
WN
73792014-05-09 Will Newton <will.newton@linaro.org>
7380
7381 * sysdeps/arm/armv7/strcmp.S: New file.
7382 * NEWS: Mention addition of ARMv7 optimized strcmp.
7383
7a1a51b5
RM
73842014-05-08 Roland McGrath <roland@hack.frob.com>
7385
95afbbe5
RM
7386 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7387 look for %.ac rather than %.in.
7388
7389 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7390 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7391 * sysdeps/mach/hurd/configure: Regenerated.
7392 * sysdeps/unix/sysv/linux/configure: Regenerated.
7393
7a1a51b5
RM
7394 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7395
5057ad3b
SE
73962014-05-07 Steve Ellcey <sellcey@mips.com>
7397
7398 [BZ# 16922]
7399 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7400 (LONG_SUB): Ditto.
7401 (PTR_SUB): Ditto.
7402
8dc97517
AS
74032014-05-07 Andreas Schwab <schwab@suse.de>
7404
7405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7406 when skipping over non-matching result from nscd.
7407
ce0c5b8f
OB
74082014-05-07 Ondřej Bílka <neleai@seznam.cz>
7409
7410 [BZ #16876]
7411 * nptl/sockperf.c (client): Check socket return value.
8dc97517 7412
a1189263
OB
7413 [BZ #16877]
7414 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7415 nscd security class.
ce0c5b8f 7416
0f58d252
RM
74172014-05-06 Roland McGrath <roland@hack.frob.com>
7418
7419 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7420 * sysdeps/arm/unwind.h: ... here.
7421
83df9ad0
AJ
74222014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7423
ce0c5b8f
OB
7424 [BZ# 16916]
7425 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7426 Define.
83df9ad0 7427
f360f94a
VR
74282014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7429
7430 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7431 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7432 multiarch strncpy for PPC64.
7433 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7434 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7436 multiarch optimizations.
7437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7438 (__libc_ifunc_impl_list): Likewise.
7439 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7440 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7441 multiarch stpncpy for PPC64.
7442 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7443 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7444
978a41c3
AS
74452014-05-06 Andreas Schwab <schwab@suse.de>
7446
7447 [BZ #16912]
7448 * gmon/mcount.c (_MCOUNT_DECL): Use
7449 atomic_compare_and_exchange_bool_acq instead of
7450 catomic_compare_and_exchange_bool_acq.
7451
eb1ed03d
RM
74522014-05-05 Roland McGrath <roland@hack.frob.com>
7453
fe658845
RM
7454 * elf/Makefile (others, install-bin): Remove pldd.
7455 (pldd-modules): Variable removed.
7456 ($(objpfx)pldd): Target removed.
7457 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7458 (others, install-bin): Append pldd here.
7459 ($(objpfx)pldd): New target.
7460
eb1ed03d
RM
7461 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7462 to 0, so the first #if test emitted later doesn't see it undefined.
7463 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7464 * sysdeps/gnu/errlist.c: Regenerated.
7465
19c4bec0
AZ
74662014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7467
7468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7469 [libc_hidden_builtin_def]: Define to empty value.
7470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7471 [libc_hidden_builtin_def]: Likewise.
7472 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7473 [libc_hidden_builtin_def]: Likewise.
7474 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7475 [libc_hidden_builtin_def]: Likewise.
7476 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7477 __redirect_memcpy and define ifunc as default hidden symbol.
7478 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7479 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7480
7776e669
AC
74812014-05-04 Adam Conrad <adconrad@0c3.net>
7482
7483 * locale/iso-4217.def: Reintroduce XDR currency.
7484
d69aeb12
AM
74852014-05-04 Allan McRae <allan@archlinux.org>
7486
7487 * po/eo.po: Update Esperanto translation from translation project.
7488
8f1df5cf
CD
74892014-05-02 Carlos O'Donell <carlos@redhat.com>
7490
7491 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7492 and FEATURE_INDEX_MAX to 1.
7493 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7494
13e402e7
SE
74952014-05-01 Steve Ellcey <sellcey@mips.com>
7496
7497 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7498 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7499 * iconvdata/big5.c (ONE_DIRECTION): Define.
7500 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7501 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7502 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7503 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7504 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7505 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7506 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7507 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7508 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7509 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7510 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7511 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7512 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7513 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7514 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7515 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7516 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7517 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7518 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7519 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7520 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7521 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7522 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7523 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7524 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7525 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7526 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7527 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7528 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7529 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7530 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7531 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7532 * iconvdata/johab.c (ONE_DIRECTION): Define.
7533 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7534 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7535 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7536 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7537 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7538 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7539 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7540 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7541 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7542 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7543
c727f032
RM
75442014-05-01 Roland McGrath <roland@hack.frob.com>
7545
8f2f08d0
RM
7546 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7547 (_IO_JUMPS_OFFSET): Define to 0.
7548
c727f032
RM
7549 * nptl/sysdeps/pthread/bits/libc-lock.h
7550 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7551 (__libc_lock_define_initialized_recursive): Always define using
7552 initializer. Modern compilers treat uninitialized (implicit zero) and
7553 explicit zero initializers the same (i.e. put the datum in bss).
7554
a849e800
AS
75552014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7556
7557 * nscd/nscd-client.h: Include <string.h>.
7558
5331255b
DM
75592014-05-01 David S. Miller <davem@davemloft.net>
7560
7561 [BZ #16885]
7562 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7563 multiple zero bytes exist at the end of a string.
7564 Reported by Aurelien Jarno <aurelien@aurel32.net>
7565
7566 * string/test-strcmp.c (check): Add explicit test for situations where
7567 there are multiple zero bytes after the first.
7568
4fdfe821
AS
75692014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7570
7571 [BZ #16890]
7572 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7573 when compiling wprintf.
7574 * stdio-common/tstdiomisc.c (t3): New function.
7575 (main): Call it.
7576
0cdddc25
SE
75772014-05-01 Steve Ellcey <sellcey@mips.com>
7578
7579 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7580 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7581 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7582 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7583
6426d77e
SE
75842014-05-01 Steve Ellcey <sellcey@mips.com>
7585
7586 * stdlib/longlong.h: Updated from GCC.
7587
6d96f5e4
WN
75882014-05-01 Will Newton <will.newton@linaro.org>
7589 Bernard Ogden <bernie.ogden@linaro.org>
7590
7470db0c
WN
7591 * NEWS: Update fixed bug list.
7592
6d96f5e4
WN
7593 [BZ #15119]
7594 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7595
211d653c
DM
75962014-04-30 David S. Miller <davem@davemloft.net>
7597
4fa262fa
DM
7598 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7599 (libc_feholdexcept_setround_sparc_ctx): New function.
7600 (libc_fesetenv_sparc_ctx): Likewise.
7601 (libc_feupdateenv_sparc_ctx): Likewise.
7602 (libc_feholdsetround_sparc_ctx): Likewise.
7603 (libc_feholdexcept_setround_ctx): Define.
7604 (libc_feholdexcept_setroundf_ctx): Likewise.
7605 (libc_feholdexcept_setroundl_ctx): Likewise.
7606 (libc_fesetenv_ctx): Likewise.
7607 (libc_fesetenvf_ctx): Likewise.
7608 (libc_fesetenvl_ctx): Likewise.
7609 (libc_feupdateenv_ctx): Likewise.
7610 (libc_feupdateenvf_ctx): Likewise.
7611 (libc_feupdateenvl_ctx): Likewise.
7612 (libc_feresetround_ctx): Likewise.
7613 (libc_feresetroundf_ctx): Likewise.
7614 (libc_feresetroundl_ctx): Likewise.
7615 (libc_feholdsetround_ctx): Likewise.
7616 (libc_feholdsetroundf_ctx): Likewise.
7617 (libc_feholdsetroundl_ctx): Likewise.
7618
1d3d93ef
DM
7619 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7620 with __USE_GNU instead of XOPEN cpp guards.
7621
8aa583c3
DM
7622 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7623 0.
7624
211d653c
DM
7625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7626 with XOPEN cpp guards.
7627
60c8f1f6
JB
76282014-04-30 Julian Brown <julian@codesourcery.com>
7629
7630 [BZ #16888]
7631 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7632 handling.
7633
9a461d46
JM
76342014-04-30 Joseph Myers <joseph@codesourcery.com>
7635
d0f5b3f8
JM
7636 [BZ #9894]
7637 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7638 Change to 2.6.32.
7639 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7640 * sysdeps/unix/sysv/linux/configure: Regenerated.
7641 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7642 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7643 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7644 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7645 * README: Update reference to required Linux kernel version.
7646 * manual/install.texi (Linux): Update reference to required Linux
7647 kernel headers version.
7648 * INSTALL: Regenerated.
7649
9a461d46
JM
7650 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7651 header inclusion.
7652 [POSIX] (limits.h): Likewise.
7653 [POSIX] (math.h): Likewise.
7654 [POSIX] (sys/wait.h): Likewise.
7655 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7656 function.
7657 [POSIX] (stddef.h): Do not allow header inclusion.
7658
1775babf
AZ
76592014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7660
57f41c40 7661 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 7662
8f630cca
YY
76632014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7664
7665 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7666 Return immediately after lll_futex_wake.
7667
1cdeb237
SP
76682014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7669
bc8f194c
SP
7670 [BZ #16791]
7671 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7672 structure.
7673 (datahead_init_pos): Call datahead_init_common early.
7674 (datahead_init_neg): Likewise.
7675
1cdeb237
SP
7676 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7677 datahead_init_neg): New functions.
7678 * nscd/aicache.c (addhstaiX): Use them.
7679 * nscd/grpcache.c (cache_addgr): Likewise.
7680 * nscd/hstcache.c (cache_addhst): Likewise.
7681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7682 * nscd/netgroupcache.c (do_notfound): Likewise.
7683 (addgetnetgrentX): Likewise.
7684 (addinnetgrX): Likewise.
7685 * nscd/pwdcache.c (cache_addpw): Likewise.
7686 * nscd/servicescache.c (cache_addserv): Likewise.
7687
16b293a7
SP
76882014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7689 Atsushi Onoe <atsushi@onoe.org>
7690
7691 [BZ #14308]
7692 [BZ #12994]
7693 [BZ #13651]
7694 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7695 one response is valid.
7696 * resolv/res_send.c (send_dg): Check for validity of other
7697 response if the current response is a referral.
7698
a28a9b94
SE
76992014-04-29 Steve Ellcey <sellcey@mips.com>
7700
7701 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7702
2ca180e9
SL
77032014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7704
7705 [BZ #16823]
7706 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7707 Always divide by positive zero when computing -Inf result.
7708 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7709 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7710
18f2945a
AZ
77112014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7712
7713 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7714 FPSCR if value do not change.
7715 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7716 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7717 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7718 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7719 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7720 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7721 function.
7722
5abebba4
CD
77232014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7724
7725 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7726 * sysdeps/unix/sysv/linux/hppa: Move directory from
7727 ports/systeps/unix/sysv/linux/hppa.
7728 * README: Update listing for hppa-*-linux-gnu.
7729
f7ed60c2
OB
77302014-04-28 Ondřej Bílka <neleai@seznam.cz>
7731
fff763a5
OB
7732 [BZ #16754]
7733 * manual/stdio.texi (Hook functions): Fix types of stream hook
7734 functions.
f7ed60c2
OB
7735 [BZ #16854]
7736 * socket/sys/socket.h: Fix typo in comment.
7737
df639d73
WD
77382014-04-28 Wilco <wdijkstr@arm.com>
7739
f7ed60c2 7740 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
7741 * sysdeps/arm/math_private.h: New file.
7742 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7743
48332d82
L
77442014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7745
7746 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7747 with __int128_t.
7748 (La_x86_64_retval): Likewise.
7749
e5e0d9a4
IB
77502014-04-24 Ian Bolton <ian.bolton@arm.com>
7751
7752 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7753 fpsr if value didn't change.
7754 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7755 to fpcr if value didn't change.
7756 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7757 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7758 fpsr or fpcr if value didn't change.
7759 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7760 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7761 fpcr if value didn't change.
7762 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7763 to fpsr if value didn't change.
7764
bacc75f7
SP
77652014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7766
7767 * nptl/tst-sem3.c: Use test-skeleton.c
7768 (main): Rename to do_test. Use return instead of
7769 exit.
7770 * nptl/tst-sem4.c: Use test-skeleton.c
7771 (main): Rename to do_test.
7772
a059d359
DM
77732014-04-22 David S. Miller <davem@davemloft.net>
7774
7775 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7776 (struct sigaction): New struct member __glibc_reserved0, change
7777 type of sa_flags to int.
7778
ea6c92f3
YZ
77792014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7780
7781 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7782 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7783
766c4a36
SP
77842014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7785
7786 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7787 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7788
140cc7ab
VK
77892014-04-22 Will Newton <will.newton@linaro.org>
7790 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7791
7792 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7793 (__longjmp): Add longjmp and longjmp_target SystemTap
7794 probes.
7795 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7796 (__sigsetjmp): Add setjmp SystemTap probe.
7797
c54e5cf7
CD
77982014-04-17 Carlos O'Donell <carlos@redhat.com>
7799
7800 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7801 match manual order.
7802
75ffb047
AZ
78032014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7804
7805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7806
2cd925f7
AZ
7807 * sysdeps/powerpc/fpu/fenv_private.h
7808 (libc_feholdexcept_setroundl_ctx): Define to
7809 libc_feholdexcept_setround_ppc_ctx.
7810 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7811 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7812 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7813 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7814
39e6cd8d
IB
78152014-04-17 Ian Bolton <ian.bolton@arm.com>
7816
7817 * sysdeps/aarch64/math-tests.h: New file.
7818
f9281df9
SY
78192014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7820
7821 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7822 New.
7823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7824 Check and set bit_AVX2_Usable.
7825 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7826 macro.
7827 (bit_AVX2): Likewise.
7828 (index_AVX2_Usable): Likewise.
7829 (CPUID_AVX2): Likewise.
7830 (HAS_AVX2): Likewise.
7831
37d35007
WN
78322014-04-17 Will Newton <will.newton@linaro.org>
7833
7c677662
WN
7834 * manual/setjmp.texi (System V contexts): Add note that
7835 calling setcontext on a context created by a call to a
7836 signal handler is undefined. Update text to note that
7837 setcontext from a signal handler is possible but not
7838 recommended.
7839
37d35007 7840 [BZ #16629]
e04a4e9d
WN
7841 * stdlib/tst-setcontext.c: Include signal.h.
7842 (main): Check that the signal stack before and
7843 after swapcontext is the same.
7844
37d35007
WN
7845 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7846 Re-implement to restore registers in user code and avoid
7847 rt_sigreturn system call.
7848
423a7160
W
78492014-04-17 Wilco <wdijkstr@arm.com>
7850
7851 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7852 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7853 * math/test-fenv.c: Skip exception trap tests on targets which only
7854 support non-stop mode.
7855
bc93ab29
IB
78562014-04-17 Ian Bolton <ian.bolton@arm.com>
7857 Wilco Dijkstra <wilco.dijkstra@arm.com>
7858
7859 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7860 (libc_feholdsetround_aarch64_ctx)
7861 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7862 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7863 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7864 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7865 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7866 (libc_feresetround_noexl_ctx): Define.
7867
95fc5fa3
RH
78682014-04-16 Richard Henderson <rth@redhat.com>
7869
ddb04724
RH
7870 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7871
d77c0899
RH
7872 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7873 unwind tables.
7874
a3df56fc
RH
7875 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7876 const from the non-libc, non-ldso copy.
7877
95fc5fa3
RH
7878 * sysdeps/alpha/libm-test-ulps: Regenerate.
7879
7e0b6763
IB
78802014-04-16 Ian Bolton <ian.bolton@arm.com>
7881 Wilco Dijkstra <wilco.dijkstra@arm.com>
7882
7883 * sysdeps/aarch64/fpu/math_private.h: New file.
7884
a9ea2e0c
MS
78852014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7886
7887 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7888
ea8ba7cd
IZ
78892014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7890
7e54fd04 7891 [BZ #16275]
ea8ba7cd
IZ
7892 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7893 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7895 Intel MPX bound registers before _dl_profile_fixup.
7896 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7897 registers after _dl_profile_fixup. Save and restore bound
7898 registers bnd0/bnd1 when calling _dl_call_pltexit.
7899 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7900 (LR_BND_OFFSET): Likewise.
7901 (LRV_BND0_OFFSET): Likewise.
7902 (LRV_BND1_OFFSET): Likewise.
7903
9f2a4fbc
ST
79042014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7905
7906 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7907 to...
7908 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
7909 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7910 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7911 fields.
9f2a4fbc 7912
fd15a59b
ST
79132014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7914
7915 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7916
f19dfa0a
SL
79172014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7918
7919 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7920
4fa8bc3b
SL
79212014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7922
7923 [BZ #14770]
7924 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7925 * sysdeps/s390/configure: Regenerate.
7926
8ea587db
SL
7927 [BZ #16824]
7928 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7929 Set round-to-nearest internally to reduce error accumulation.
7930
aa5f0ff1
AM
79312014-04-16 Alan Modra <amodra@gmail.com>
7932
7933 [BZ #16740]
7934 [BZ #16619]
7935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7936 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 7937 * NEWS: Update fixed bug list.
aa5f0ff1 7938
bb9c256f
SP
79392014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7940
7941 * benchtests/Makefile: Depend on libraries in build directory.
7942 (bench-math): Separate out math tests.
7943 (bench-pthread): Separate out pthread tests.
7944 (bench): Include math and pthread tests.
7945
f737dfd0
CD
79462014-04-14 Carlos O'Donell <carlos@redhat.com>
7947
7948 [BZ #16831]
7949 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7950 _dl_debug_initialize.
7951
0699f766
CD
7952 * configure.ac: Remove SELinux header check.
7953 * configure: Regenerate.
7954 * nscd/selinux.c (perms): Array of const char* to permission names.
7955 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7956 default policy. Call string_to_security_class and string_to_av_perm to
7957 translate strings. Enforce default policy and call avs_has_perm with
7958 results of translated strings.
7959
809bd45f
DM
79602014-04-13 David S. Miller <davem@davemloft.net>
7961
7962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7963
89e691f2
AM
79642014-04-12 Allan McRae <allan@archlinux.org>
7965
7966 [BZ #16838]
7967 * manual/string.texi (Collation Functions): Fix qsort argument
7968 order in example.
7969 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7970
9c9daaeb
CM
79712014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7972
7973 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7974 Make the test a no-op if there are no exceptions defined.
7975
95561fb9
PP
79762014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7977
fe8d072c 7978 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
7979 enable-hardcoded-path-in-tests
7980
970c602a
WN
79812014-04-11 Will Newton <will.newton@linaro.org>
7982
7983 * benchtests/Makefile (extra-objs): Add json-lib.o.
7984 (bench-func): Tidy up JSON output.
7985 * benchtests/bench-skeleton.c: Include json-lib.h.
7986 (main): Use JSON library functions to do output of
7987 benchmark results.
7988 * benchtests/bench-timing-type.c (main): Output the
7989 timing type simply, leaving formatting to the user.
7990 * benchtests/json-lib.c: New file.
7991 * benchtests/json-lib.h: Likewise.
7992
36875b06
TR
79932014-04-11 Torvald Riegel <triegel@redhat.com>
7994
7995 [BZ #15215]
7996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7997 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7998 memory barriers. Add comments.
7999 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8000 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8001 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8002 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8003 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8004 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8005
579db35a
SL
80062014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8007
8008 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8009 * sysdeps/s390/s390-64/configure.ac: ... this ...
8010 * sysdeps/s390/configure.ac: ... to here.
8011 * sysdeps/s390/s390-32/configure: Delete file.
8012 * sysdeps/s390/s390-64/configure: Delete file.
8013 * sysdeps/s390/configure: Regenerate.
8014
c12e9f37
JAPH
80152014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8016
8017 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8018
439bda32
WN
80192014-04-11 Will Newton <will.newton@linaro.org>
8020
8021 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8022 to zero if it is not defined elsewhere. (mtrim): Test
8023 the value of MALLOC_DEBUG with #if rather than #ifdef.
8024
6a5d6ea1
TR
80252014-04-10 Torvald Riegel <triegel@redhat.com>
8026
8027 * benchtests/pthread_once-inputs: New file.
8028 * benchtests/pthread_once-source.c: New file.
8029 * benchtests/README: Update documentation.
8030
a4c75cfd
IZ
80312014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8032 H.J. Lu <hongjiu.lu@intel.com>
8033
7e54fd04 8034 [BZ #16275]
a4c75cfd
IZ
8035 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8036 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8037 * sysdeps/x86_64/configure: Regenerated.
8038 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8039 macro.
8040 (REGISTER_SAVE_RAX): Likewise.
8041 (REGISTER_SAVE_RCX): Likewise.
8042 (REGISTER_SAVE_RDX): Likewise.
8043 (REGISTER_SAVE_RSI): Likewise.
8044 (REGISTER_SAVE_RDI): Likewise.
8045 (REGISTER_SAVE_R8): Likewise.
8046 (REGISTER_SAVE_R9): Likewise.
8047 (REGISTER_SAVE_BND0): Likewise.
8048 (REGISTER_SAVE_BND1): Likewise.
8049 (REGISTER_SAVE_BND2): Likewise.
8050 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8051 bound registers when calling _dl_fixup.
8052
27822ce6
AZ
80532014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8054
8055 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
8056 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8057 of its definition.
27822ce6
AZ
8058 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8059 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8060 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8061 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8062 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8063 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8064 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8065
a88ddc90
PTB
80662014-04-09 Peter Brett <peter@peter-b.co.uk>
8067
8068 [BZ #15514]
8069 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8070 pathconf(_PC_NAME_MAX).
8071
01f8eac2
AZ
80722014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8073
8074 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8075 Remove macro usage.
8076 (__PTHREAD_SPINS): Move definition to ...
8077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8078 (__PTHREAD_SPINS): ... here.
8079 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8080 (__PTHREAD_SPIN): Likewise.
8081 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8082 (__PTHREAD_SPIN): Likewise.
8083 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8084 (__PTHREAD_SPIN): Likewise.
8085 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8086 (__PTHREAD_SPIN): Likewise.
8087 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8088 (__PTHREAD_SPIN): Likewise.
8089 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8090 (__PTHREAD_SPIN): Likewise.
8091 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8092 (__PTHREAD_SPIN): Likewise.
8093 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8094 (__PTHREAD_SPIN): Likewise.
8095 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8096 (__PTHREAD_SPIN): Likewise.
8097 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8098 (__PTHREAD_SPIN): Likewise.
8099 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8100 (__PTHREAD_SPIN): Likewise.
8101 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8102 (__PTHREAD_SPIN): Likewise.
8103
de21c33c
AZ
8104 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8105 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8106 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8107 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8108 imply folder.
8109 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8110 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8111 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8112 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8113 correct imply path.
8114 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8115 strlen symbol for non multi-arch builds.
8116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8117 missing hidden_def and weak_alias.
8118
862c472e
CD
81192014-04-08 Carlos O'Donell <carlos@redhat.com>
8120
8121 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8122
8667f90e
WN
81232014-04-07 Will Newton <will.newton@linaro.org>
8124
8125 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8126 and contents. [!_LIBC] Remove #ifndef and contents.
8127 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8128 * string/memccpy.c (__memccpy): Use ANSI prototype.
8129 * string/memfrob.c (memfrob): Likewise.
8130 * string/strcoll.c (STRCOLL): Likewise.
8131 * string/strlen.c (strlen): Likewise.
8132 * string/strtok.c (STRTOK): Likewise.
8133 * string/strcat.c: Remove unused #include of memcopy.h.
8134 (strcat): Use ANSI prototype.
8135 * string/strchr.c: Remove unused #include of memcopy.h.
8136 (strchr): Use ANSI prototype.
8137 * string/strcmp.c: Remove unused #include of memcopy.h.
8138 (strcmp): Use ANSI prototype.
8139 * string/strcpy.c: Remove unused #include of memcopy.h.
8140 (strcpy): Use ANSI prototype.
8141
7ffa9423
AZ
81422014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8143
8144 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8145 * config.make.in (config-extra-cppflags): Set it from
8146 libc_extra_cppflags.
8147 * configure.ac (libc_extra_cflags): Make it accumulate over
8148 configure fragments.
8149 (libc_extra_cppflags): New flag.
8150 * configure. Regenerate.
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
8152 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8153 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8155
8bd70862
AZ
8156 [BZ #16815]
8157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8158 result for FE_DOWNWARD rounding mode.
8159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8160 Likewise.
8161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8162
d42f3448
CM
81632014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8164
8165 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8166 in function argument name.
8167
1c21d115
DS
81682014-04-03 David Svoboda <svoboda@cert.org>
8169
8170 [BZ #5666]
8171 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8172 explicitly.
8173
fcccd512
RM
81742014-04-03 Roland McGrath <roland@hack.frob.com>
8175
8176 * elf/dl-unmap-segments.h: New file.
8177 * sysdeps/generic/ldsodefs.h
8178 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8179 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8180 * elf/dl-fptr.c: Likewise.
8181 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8182 * sysdeps/aarch64/tlsdesc.c: Likewise.
8183 * sysdeps/arm/tlsdesc.c: Likewise.
8184 * sysdeps/i386/tlsdesc.c: Likewise.
8185 * sysdeps/tile/dl-runtime.c: Likewise.
8186 * sysdeps/x86_64/tlsdesc.c: Likewise.
8187 * elf/dl-load.h: New file.
8188 * elf/dl-load.c: Include it.
8189 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8190 Macros moved to dl-load.h.
8191 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8192 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8193 Use _dl_unmap_segments in place of __munmap.
8194 Break out segment-mapping loop into ...
8195 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8196
f6488e2b
WN
81972014-04-03 Will Newton <will.newton@linaro.org>
8198
8199 * elf/dl-lookup.c (do_lookup_x): Remove comment
8200 referring to nested function and move variable
8201 declarations down to before first use.
8202
6f05bafe
JM
82032014-04-02 Joseph Myers <joseph@codesourcery.com>
8204
a84e78c8
JM
8205 [BZ #16799]
8206 [BZ #16800]
8207 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8208 with 0 numerator.
8209 * math/s_catanf.c (__catanf): Likewise.
8210 * math/s_catanh.c (__catanh): Likewise.
8211 * math/s_catanhf.c (__catanhf): Likewise.
8212 * math/s_catanhl.c (__catanhl): Likewise.
8213 * math/s_catanl.c (__catanl): Likewise.
8214 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8215 by positive zero when computing -Inf result.
8216 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8217 (catanh_test): Likewise.
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8220
6f05bafe
JM
8221 [BZ #16789]
8222 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8223 instead of using underflowing value in computing result.
8224 * math/s_clog10.c (__clog10): Likewise.
8225 * math/s_clog10f.c (__clog10f): Likewise.
8226 * math/s_clog10l.c (__clog10l): Likewise.
8227 * math/s_clogf.c (__clogf): Likewise.
8228 * math/s_clogl.c (__clogl): Likewise.
8229 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8230 (clog10_test): Likewise.
8231 * sysdeps/i386/fpu/libm-test-ulps: Update.
8232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8233
b0abbc21
AM
82342014-04-02 Alan Modra <amodra@gmail.com>
8235
8236 [BZ #16739]
8237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8238 output when value is near a power of two. Use int64_t for lx and
8239 remove casts. Use decimal rather than hex exponent constants.
8240 Don't use long double multiplication when double will suffice.
8241 * math/libm-test.inc (nextafter_test_data): Add tests.
8242 * NEWS: Add 16739 and 16786 to bug list.
8243
af6b1797
AM
8244 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8245
483818d7
AM
8246 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8247
f6c55796
WN
82482014-04-01 Will Newton <will.newton@linaro.org>
8249
8250 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8251 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8252
13f7fe35
FW
82532014-04-01 Florian Weimer <fweimer@redhat.com>
8254
8255 [BZ #13347]
8256 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8257 * nptl/tst-setuid2.c: New file.
8258 * nptl/Makefile (xtests): Add tst-setuid2.
8259
c859b32e
AM
82602014-04-01 Alan Modra <amodra@gmail.com>
8261
8262 [BZ #16786]
8263 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8264
54fa2475
JM
82652014-03-31 Joseph Myers <joseph@codesourcery.com>
8266
8795b4a4
JM
8267 [BZ #6803]
8268 [BZ #6804]
8269 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8270 set errno as appropriate.
8271 * math/w_scalbf.c (__scalbf): Likewise.
8272 * math/w_scalbl.c (__scalbl): Likewise.
8273 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8274 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8275 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8276 Add more NaN tests.
8277
54fa2475
JM
8278 [BZ #16349]
8279 * math/w_atan2.c: Include <errno.h>.
8280 (__atan2): Set errno for result underflowing to zero.
8281 * math/w_atan2f.c: Include <errno.h>.
8282 (__atan2f): Set errno for result underflowing to zero.
8283 * math/w_atan2l.c: Include <errno.h>.
8284 (__atan2l): Set errno for result underflowing to zero.
8285 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8286 tests.
8287 * math/auto-libm-test-out: Regenerated.
8288
757d9dd5
AZ
82892014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8290
8291 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8292 Encode instruction correctly in little endian.
8293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8294 Likewise.
8295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8296 Likewise.
8297 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8298 Likewise.
8299 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8300 Likewise.
8301
d7a68734
JM
83022014-03-31 Joseph Myers <joseph@codesourcery.com>
8303
47c5adeb
JM
8304 [BZ #9894]
8305 * sysdeps/unix/sysv/linux/kernel-features.h
8306 [__sparc__ && !__arch64__ && !__sparc_v9__]
8307 (__ASSUME_SET_ROBUST_LIST): Do not define.
8308 [__sparc__ && !__arch64__ && !__sparc_v9__]
8309 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8310 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8311 Likewise.
8312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8313 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8314 (__ASSUME_REQUEUE_PI): Likewise.
8315 (__ASSUME_SET_ROBUST_LIST): Likewise.
8316 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8317 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8318 Undefine.
8319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8320 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8321 Likewise.
8322 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8323 Likewise.
8324 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8325 Likewise.
8326 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8327 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8328 Undefine.
8329 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8330 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8331 Likewise.
8332
d7a68734
JM
8333 [BZ #16648]
8334 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8336 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8337
c760f5c2
WN
83382014-03-31 Will Newton <will.newton@linaro.org>
8339
8340 * benchtests/Makefile (bench): Add ffs and ffsll to list
8341 of tests.
8342 * benchtests/ffs-inputs: New file.
8343 * benchtests/ffsll-inputs: Likewise.
8344
ea6029b1
JM
83452014-03-29 Joseph Myers <joseph@codesourcery.com>
8346
8347 [BZ #16770]
8348 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8349 too large before casting to int.
8350 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8351 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8352 * math/libm-test.inc (scalb_test_data): Add more tests.
8353
cf806aff
SP
83542014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
56737508
SP
8356 * benchtests/Makefile (DETAILED_OPT): New make option.
8357 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8358 set.
8359 * benchtests/bench-skeleton.c: Include stdbool.h.
8360 (main): Store and print timings per input.
8361 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8362 member to each argument value.
8363 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8364 (_print_arg_data): Initialize per-input timing to 0.
8365
cb5e4aad
SP
8366 * benchtests/Makefile (timing-type): New binary.
8367 (bench-clean): Also remove bench-timing-type.
8368 (bench): New target for timing-type.
8369 (bench-func): Print output in JSON format.
8370 * benchtests/bench-skeleton.c (main): Print output in JSON
8371 format.
8372 * benchtests/bench-timing-type.c: New file.
8373 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8374 (TIMING_PRINT_STATS): Remove.
8375 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8376 name separately.
8377
cf806aff
SP
8378 * benchtests/bench-modf.c: Remove.
8379 * benchtests/modf-inputs: New inputs file.
8380
289e0779
JM
83812014-03-28 Joseph Myers <joseph@codesourcery.com>
8382
8383 [BZ #16362]
8384 * math/s_clog10.c (M_PI_LOG10E): New macro.
8385 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8386 imaginary parts are 0.
8387 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8388 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8389 imaginary parts are 0.
8390 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8391 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8392 imaginary parts are 0.
8393 * math/libm-test.inc (clog10_test_data): Update expected results
8394 for when real and imaginary parts are 0.
8395
277ae3f1
PP
83962014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8397
8398 * elf/dl-load.c: Finish conversion of __builtin_expect into
8399 __glibc_{un}likely.
8400
03a7091f
JM
84012014-03-27 Joseph Myers <joseph@codesourcery.com>
8402
8403 [BZ #16348]
8404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8405 1+x for argument with exponent below -67.
8406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8407 Likewise.
8408 * math/auto-libm-test-in: Add more tests of exp.
8409 * math/auto-libm-test-out: Regenerated.
8410
ea7d8b95
SP
84112014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8412
dd3022d7
SP
8413 [BZ #16759]
8414 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8415 (nscd_getnetgrent): Use it.
8416
ea7d8b95
SP
8417 [BZ #16760]
8418 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8419 of stpcpy.
8420
df5b85da
AK
84212014-03-27 Andi Kleen <ak@linux.intel.com>
8422
57f41c40
AS
8423 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8424 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8425 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8426 (lll_robust_unlock): Remove out of line section. Use cfi
8427 intrinsics.
df5b85da 8428 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
8429 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8430 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8431 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8432 (lll_robust_unlock): Remove out of line section. Use cfi
8433 intrinsics.
df5b85da
AK
8434 (LLL_STUB_UNWIND_INFO*): Remove.
8435
fbd6b5a4
SP
84362014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8437
8438 [BZ #16758]
8439 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8440 blank values.
8441
1b26b855
PP
84422014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8443
8444 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8445
9be36fb8
JM
84462014-03-26 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #16198]
8449 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8450 fnstenv.
8451 * math/test-fenv-preserve.c: New file.
8452 * math/Makefile (tests): Add test-fenv-preserve.
8453
60a2f3c1
WN
84542014-03-26 Will Newton <will.newton@linaro.org>
8455
8456 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8457
a5e5f1e2
RM
84582014-03-25 Roland McGrath <roland@hack.frob.com>
8459
8460 * scripts/versionlist.awk: Partition the version sets and emit all
8461 GLIBC_* (sorted) before all others (sorted).
8462
00f4012a
JM
84632014-03-25 Joseph Myers <joseph@codesourcery.com>
8464
8465 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8466 GLIBC_2.2.5 version.
8467
7bc5a741
AZ
84682014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8469
8470 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8471 calls.
8472
7578473b
AZ
8473 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8474 previous change.
8475
f3f1dab3
AZ
8476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8477
6da36183
AS
84782014-03-25 Andreas Schwab <schwab@suse.de>
8479
8480 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8481 label to be used after in6ailist is initialized.
8482
f3f1dab3 84832014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 8484
7578473b 8485 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
8486 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8487
046651c1
JM
84882014-03-25 Joseph Myers <joseph@codesourcery.com>
8489
8490 [BZ #16357]
8491 [BZ #16599]
8492 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8493 min_plus_half.
8494 (fp_formats): Update initializers.
8495 (init_fp_formats): Initialize new field.
8496 (output_for_one_input_case): Allow underflow for results up to
8497 min_plus_half.
8498 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8499 * math/auto-libm-test-in: Don't mark some underflows from asin and
8500 atanh as spurious.
8501 * math/auto-libm-test-out: Regenerated.
8502 * sysdeps/i386/fpu/libm-test-ulps: Update.
8503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8504
003e49ed
AS
85052014-03-25 Andreas Schwab <schwab@suse.de>
8506
8507 * libio/Makefile (tst-ftell-partial-wide-ENV)
8508 (tst-ftell-active-handler-ENV): Define.
8509
de031874
SL
85102014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8511
8512 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8513
55a81e3b
PP
85142014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8515
8516 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8517
f3426898
JM
85182014-03-24 Joseph Myers <joseph@codesourcery.com>
8519
8520 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8521 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8522 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8523
a42faf59
PP
85242014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8525
8526 [BZ #16634]
a42faf59 8527 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
8528 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8529 (open_path): Change from boolean 'secure' to complete flag 'mode'
8530 (_dl_map_object): Adjust.
a42faf59
PP
8531 * elf/Makefile (tests): Add tst-dlopen-aout.
8532 * elf/tst-dlopen-aout.c: New test.
8533
50936127
SL
85342014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8535
8536 [BZ #16714]
8537 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8538 (struct stat): Rename member pad0 to __glibc_reserved0.
8539
26011b5c
SL
8540 [BZ #16712]
8541 * sysdeps/s390/s390-32/bits/wordsize.h
8542 (__WORDSIZE32_SIZE_ULONG): New define.
8543 * sysdeps/s390/s390-64/bits/wordsize.h
8544 (__WORDSIZE32_SIZE_ULONG): Likewise.
8545 * sysdeps/generic/stdint.h (SIZE_MAX):
8546 Define as UL if __WORDSIZE32_SIZE_ULONG.
8547
a2d86bf1
SL
8548 [BZ #16713]
8549 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8550 (__glibc_reserved0): New variable.
8551 (sa_flags): Change type to int.
8552
78b6eebc
SL
8553 * posix/Makefile (before-compile): Use += before-compile instead
8554 of a :=.
8555
f1399b5a
SL
8556 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8557 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8558
a071766e
AS
85592014-03-20 Andreas Schwab <schwab@suse.de>
8560
8561 [BZ #16743]
8562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8563 non-matching result from nscd.
8564
27c673b8
SP
85652014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8566
8567 * scripts/bench.py: Moved to ...
8568 * benchtests/scripts/bench.py: ... here.
8569 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8570
44152e4b
AS
85712014-03-24 Andreas Schwab <schwab@suse.de>
8572
8573 [BZ #16002]
8574 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8575 alloca_account and account alloca use for struct in6ailist.
8576
b376a11a
JM
85772014-03-24 Joseph Myers <joseph@codesourcery.com>
8578
8579 [BZ #16284]
8580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8581 rounding mode to recompute results that overflow to infinity or
8582 underflow to zero.
8583 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8584 bug 16284.
8585 * math/auto-libm-test-out: Regenerated.
8586 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8587 (ccosh_test): Likewise.
8588 (csin_test_data): Use plus_oflow.
8589 (csin_test): Use ALL_RM_TEST.
8590 (csinh_test_data): Use plus_oflow.
8591 (csinh_test): Use ALL_RM_TEST.
8592 * sysdeps/i386/fpu/libm-test-ulps: Update.
8593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8594
f7be7376
JM
85952014-03-21 Joseph Myers <joseph@codesourcery.com>
8596
1ca2d03e
JM
8597 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8598 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8599 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8600
f7be7376
JM
8601 [BZ #16731]
8602 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8603 when x - 1 is zero.
8604 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8605 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8606 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8608 argument is 1.
8609 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8610 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8611 zero.
8612 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8613 * sysdeps/i386/fpu/libm-test-ulps: Update.
8614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8615
fdf4534d
SP
86162014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8617
df26ea53
SP
8618 * scripts/bench.pl: Remove file.
8619 * scripts/bench.py: New benchmark script.
8620 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8621 * benchtests/README: Mention python dependency.
8622 * scripts/pylintrc: New file.
8623 * scripts/pylint: New file.
8624
fdf4534d
SP
8625 * bits/mathdef.h: Use #ifdef instead of #if.
8626 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8627 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8628 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8629 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8630 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8631 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8632
6f23d093
AZ
86332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8635
8636 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8638 and strpbrk-ppc64 objects.
8639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8640 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8642 multiarch strpbrk for POWER7.
8643 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8644 multiarch strpbrk for PPC64.
8645 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8646 ifunc selector.
8647 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8648 strpbrk for POWER7.
8649
8c92dfff
JM
86502014-03-20 Joseph Myers <joseph@codesourcery.com>
8651
8652 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8653 (atan_test): Likewise.
8654 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8655 (atanh_test): Use ALL_RM_TEST.
8656 (atan2_test_data): Likewise.
8657 (cabs_test): Likewise.
8658 (cacosh_test): Likewise.
8659 (carg_test): Likewise.
8660 (casin_test): Likewise.
8661 (casinh_test): Likewise.
8662 (cbrt_test): Likewise.
8663 (csqrt_test): Likewise.
8664 (erf_test): Likewise.
8665 (erfc_test): Likewise.
8666 (pow10_test): Likewise.
8667 (exp2_test): Likewise.
8668 (hypot_test): Likewise.
8669 (j0_test): Likewise.
8670 (j1_test): Likewise.
8671 (lgamma_test): Likewise.
8672 (gamma_test): Likewise.
8673 (sincos_test): Likewise.
8674 (tanh_test): Likewise.
8675 (y0_test): Likewise.
8676 (y1_test): Likewise.
8677 * sysdeps/i386/fpu/libm-test-ulps: Update.
8678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8679
6eaf95cb
AZ
86802014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8681
a387428c
SP
8682 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
8684 and strcspn-ppc64 objects.
8685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8686 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8687 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8688 multiarch strcspn for POWER7.
8689 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8690 multiarch strcspn for PPC64.
8691 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8692 ifunc selector.
8693 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8694 strcspn for POWER7.
8695
ae3a5dff
JM
86962014-03-20 Joseph Myers <joseph@codesourcery.com>
8697
8698 * math/gen-libm-test.pl (generate_testfile): Expect only function
8699 name as argument to AUTO_TESTS_* and pass results for all rounding
8700 modes to parse_args.
8701 (parse_auto_input): Separate inputs of automatic tests from
8702 outputs before storing in %auto_tests.
8703 * math/libm-test.inc (acos_test_data): Update call to
8704 AUTO_TESTS_f_f.
8705 (acos_test): Use ALL_RM_TEST.
8706 (acos_tonearest_test_data): Remove.
8707 (acos_test_tonearest): Likewise.
8708 (acos_towardzero_test_data): Likewise.
8709 (acos_test_towardzero): Likewise.
8710 (acos_downward_test_data): Likewise.
8711 (acos_test_downward): Likewise.
8712 (acos_upward_test_data): Likewise.
8713 (acos_test_upward): Likewise.
8714 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8715 (asin_test_data): Likewise.
8716 (asin_test): Use ALL_RM_TEST.
8717 (asin_tonearest_test_data): Remove.
8718 (asin_test_tonearest): Likewise.
8719 (asin_towardzero_test_data): Likewise.
8720 (asin_test_towardzero): Likewise.
8721 (asin_downward_test_data): Likewise.
8722 (asin_test_downward): Likewise.
8723 (asin_upward_test_data): Likewise.
8724 (asin_test_upward): Likewise.
8725 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8726 (atan_test_data): Likewise.
8727 (atanh_test_data): Likewise.
8728 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8729 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8730 (carg_test_data): Likewise.
8731 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8732 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8733 (ccosh_test_data): Likewise.
8734 (cexp_test_data): Likewise.
8735 (clog_test_data): Likewise.
8736 (clog10_test_data): Likewise.
8737 (cos_test_data): Update call to AUTO_TESTS_f_f.
8738 (cos_test): Use ALL_RM_TEST.
8739 (cos_tonearest_test_data): Remove.
8740 (cos_test_tonearest): Likewise.
8741 (cos_towardzero_test_data): Likewise.
8742 (cos_test_towardzero): Likewise.
8743 (cos_downward_test_data): Likewise.
8744 (cos_test_downward): Likewise.
8745 (cos_upward_test_data): Likewise.
8746 (cos_test_upward): Likewise.
8747 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8748 (cosh_test): Use ALL_RM_TEST.
8749 (cosh_tonearest_test_data): Remove.
8750 (cosh_test_tonearest): Likewise.
8751 (cosh_towardzero_test_data): Likewise.
8752 (cosh_test_towardzero): Likewise.
8753 (cosh_downward_test_data): Likewise.
8754 (cosh_test_downward): Likewise.
8755 (cosh_upward_test_data): Likewise.
8756 (cosh_test_upward): Likewise.
8757 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8758 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8759 (ctan_test_data): Likewise.
8760 (ctan_test): Use ALL_RM_TEST.
8761 (ctan_tonearest_test_data): Remove.
8762 (ctan_test_tonearest): Likewise.
8763 (ctan_towardzero_test_data): Likewise.
8764 (ctan_test_towardzero): Likewise.
8765 (ctan_downward_test_data): Likewise.
8766 (ctan_test_downward): Likewise.
8767 (ctan_upward_test_data): Likewise.
8768 (ctan_test_upward): Likewise.
8769 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8770 (ctanh_test): Use ALL_RM_TEST.
8771 (ctanh_tonearest_test_data): Remove.
8772 (ctanh_test_tonearest): Likewise.
8773 (ctanh_towardzero_test_data): Likewise.
8774 (ctanh_test_towardzero): Likewise.
8775 (ctanh_downward_test_data): Likewise.
8776 (ctanh_test_downward): Likewise.
8777 (ctanh_upward_test_data): Likewise.
8778 (ctanh_test_upward): Likewise.
8779 (erf_test_data): Update call to AUTO_TESTS_f_f.
8780 (erfc_test_data): Likewise.
8781 (exp_test_data): Likewise.
8782 (exp_test): Use ALL_RM_TEST.
8783 (exp_tonearest_test_data): Remove.
8784 (exp_test_tonearest): Likewise.
8785 (exp_towardzero_test_data): Likewise.
8786 (exp_test_towardzero): Likewise.
8787 (exp_downward_test_data): Likewise.
8788 (exp_test_downward): Likewise.
8789 (exp_upward_test_data): Likewise.
8790 (exp_test_upward): Likewise.
8791 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8792 (exp10_test): Use ALL_RM_TEST.
8793 (exp10_tonearest_test_data): Remove.
8794 (exp10_test_tonearest): Likewise.
8795 (exp10_towardzero_test_data): Likewise.
8796 (exp10_test_towardzero): Likewise.
8797 (exp10_downward_test_data): Likewise.
8798 (exp10_test_downward): Likewise.
8799 (exp10_upward_test_data): Likewise.
8800 (exp10_test_upward): Likewise.
8801 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8802 (expm1_test_data): Likewise.
8803 (expm1_test): Use ALL_RM_TEST.
8804 (expm1_tonearest_test_data): Remove.
8805 (expm1_test_tonearest): Likewise.
8806 (expm1_towardzero_test_data): Likewise.
8807 (expm1_test_towardzero): Likewise.
8808 (expm1_downward_test_data): Likewise.
8809 (expm1_test_downward): Likewise.
8810 (expm1_upward_test_data): Likewise.
8811 (expm1_test_upward): Likewise.
8812 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8813 (fma_test): Use ALL_RM_TEST.
8814 (fma_towardzero_test_data): Remove.
8815 (fma_test_towardzero): Likewise.
8816 (fma_downward_test_data): Likewise.
8817 (fma_test_downward): Likewise.
8818 (fma_upward_test_data): Likewise.
8819 (fma_test_upward): Likewise.
8820 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8821 (j0_test_data): Update call to AUTO_TESTS_f_f.
8822 (j1_test_data): Likewise.
8823 (jn_test_data): Update call to AUTO_TESTS_if_f.
8824 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8825 (log_test_data): Update call to AUTO_TESTS_f_f.
8826 (log10_test_data): Likewise.
8827 (log1p_test_data): Likewise.
8828 (log2_test_data): Likewise.
8829 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8830 (pow_tonearest_test_data): Likewise.
8831 (sin_test_data): Update call to AUTO_TESTS_f_f.
8832 (sin_test): Use ALL_RM_TEST.
8833 (sin_tonearest_test_data): Remove.
8834 (sin_test_tonearest): Likewise.
8835 (sin_towardzero_test_data): Likewise.
8836 (sin_test_towardzero): Likewise.
8837 (sin_downward_test_data): Likewise.
8838 (sin_test_downward): Likewise.
8839 (sin_upward_test_data): Likewise.
8840 (sin_test_upward): Likewise.
8841 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8842 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8843 (sinh_test): Use ALL_RM_TEST.
8844 (sinh_tonearest_test_data): Remove.
8845 (sinh_test_tonearest): Likewise.
8846 (sinh_towardzero_test_data): Likewise.
8847 (sinh_test_towardzero): Likewise.
8848 (sinh_downward_test_data): Likewise.
8849 (sinh_test_downward): Likewise.
8850 (sinh_upward_test_data): Likewise.
8851 (sinh_test_upward): Likewise.
8852 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8853 (sqrt_test): Use ALL_RM_TEST.
8854 (sqrt_tonearest_test_data): Remove.
8855 (sqrt_test_tonearest): Likewise.
8856 (sqrt_towardzero_test_data): Likewise.
8857 (sqrt_test_towardzero): Likewise.
8858 (sqrt_downward_test_data): Likewise.
8859 (sqrt_test_downward): Likewise.
8860 (sqrt_upward_test_data): Likewise.
8861 (sqrt_test_upward): Likewise.
8862 (tan_test_data): Update call to AUTO_TESTS_f_f.
8863 (tan_test): Use ALL_RM_TEST.
8864 (tan_tonearest_test_data): Remove.
8865 (tan_test_tonearest): Likewise.
8866 (tan_towardzero_test_data): Likewise.
8867 (tan_test_towardzero): Likewise.
8868 (tan_downward_test_data): Likewise.
8869 (tan_test_downward): Likewise.
8870 (tan_upward_test_data): Likewise.
8871 (tan_test_upward): Likewise.
8872 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8873 (tgamma_test_data): Likewise.
8874 (y0_test_data): Likewise.
8875 (y1_test_data): Likewise.
8876 (yn_test_data): Update call to AUTO_TESTS_if_f.
8877 (main): Do not call removed functions.
8878
d71aeee8
JM
88792014-03-19 Joseph Myers <joseph@codesourcery.com>
8880
8881 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8882 (ldexp_test_data): Remove.
8883 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8884 scalbn_test_data.
8885 (scalb_test): Use ALL_RM_TEST.
8886
baaf1ded
AS
88872014-03-19 Andreas Schwab <schwab@suse.de>
8888
8889 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8890
b1115e91
JM
88912014-03-19 Joseph Myers <joseph@codesourcery.com>
8892
8893 [BZ #16649]
8894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8896 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8898 (__ASSUME_PREADV): Undefine.
8899 (__ASSUME_PWRITEV): Likewise.
8900
0283ecca
RM
89012014-03-18 Roland McGrath <roland@hack.frob.com>
8902
7d375303
RM
8903 * bits/mman-linux.h: Add comment about non-Linux use.
8904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8905 bits/mman-linux.h resting place.
8906
0283ecca
RM
8907 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8908 * bits/mman-linux.h: ... here.
8909
aebe1003
AZ
89102014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8911
8912 * conform/conformtest.pl: Add standard definition when calling C
8913 preprocessor on data files.
8914 (checknamespace): Remove unused variable.
8915
b29b6bb8
JM
89162014-03-18 Joseph Myers <joseph@codesourcery.com>
8917
8918 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8919 minus_oflow, plus_uflow and minus_uflow in expected results.
8920 * math/libm-test.inc (scalbn_test_data): Add more tests of
8921 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8922 minus_uflow.
8923 (scalbn_test): Use ALL_RM_TEST.
8924 (scalbln_test_data): Add more tests of negative arguments. Use
8925 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8926 (scalbln_test): Use ALL_RM_TEST.
8927
c8f8fa15
RM
89282014-03-18 Roland McGrath <roland@hack.frob.com>
8929
8930 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8931
fede7a5f
WN
89322014-03-18 Will Newton <will.newton@linaro.org>
8933
8934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8935 inaccurate comment.
8936
80cf0a58
JM
89372014-03-18 Joseph Myers <joseph@codesourcery.com>
8938
8939 * Makerules [!subdir] (check-abi): Exit with error status if a
8940 test failed.
8941
b3620862
JM
89422014-03-17 Joseph Myers <joseph@codesourcery.com>
8943
8944 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8945 for rint. Include results for all rounding modes.
8946 (nearbyint_test): Use ALL_RM_TEST.
8947 (rint_test_data): Include all tests used for nearbyint.
8948
788bba36
WN
89492014-03-17 Will Newton <will.newton@linaro.org>
8950
04ec140a
WN
8951 * nptl/sysdeps/pthread/pthread.h: Revert previous
8952 change.
8953
7579d8d5
WN
8954 * sysdeps/generic/ldsodefs.h: Revert previous
8955 change.
8956
c15cf13a
WN
8957 * libio/genops.c: Revert previous change.
8958 * libio/libioP.h: Likewise.
8959 * stdio-common/vfprintf.c: Likewise.
8960
d0ac1324
WN
8961 * sysdeps/generic/math_private.h: Revert previous
8962 change.
8963
9290130a
WN
8964 * sysdeps/generic/math_private.h: Check whether
8965 HAVE_RM_CTX is defined with #ifdef rather
8966 than #if.
8967
afb466fc
WN
8968 * argp/argp-fmtstream.h: Check whether
8969 __STRICT_ANSI__ is defined with #ifdef rather
8970 than #if.
8971 * argp/argp.h: Likewise.
8972
f7efd7c3
WN
8973 * libio/genops.c: Check whether
8974 _IO_JUMPS_OFFSET is defined with #ifdef rather
8975 than #if.
8976 * libio/libioP.h: Likewise.
8977 * stdio-common/vfprintf.c: Likewise.
8978
53f1bed3
WN
8979 * sysdeps/generic/ldsodefs.h: Check whether
8980 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8981 than #if.
8982
788bba36
WN
8983 * nptl/sysdeps/pthread/pthread.h: Check
8984 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8985 its value.
8986
fcd89ebe
SP
89872014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8988
ae42bbc5
SP
8989 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8990 setting O_APPEND.
8991 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8992 test case.
8993
ea33158c
SP
8994 [BZ #16680]
8995 * libio/fileops.c (_IO_file_open): Seek to end of file but
8996 don't cache the offset.
8997 (get_file_offset): Remove function.
8998 (do_ftell): Use cached offset when available.
8999 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9000 don't cache the offset.
9001 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9002 case.
9003 (do_one_test): Call it.
9004 (do_ftell_test): Fix up expected old offset for a+ mode.
9005 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9006 available.
9007
b1dbb426
SP
9008 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9009 up test status with function return status.
9010 (do_write_test): Likewise.
9011 (do_append_test): Likewise.
9012
fcd89ebe
SP
9013 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9014 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9015 Remove.
9016
9962a2d3
JM
90172014-03-17 Joseph Myers <joseph@codesourcery.com>
9018
9019 * math/gen-libm-test.pl (parse_args): Handle results specified for
9020 each rounding mode separately.
9021 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9022 tests and results from lrint_tonearest_test_data,
9023 lrint_towardzero_test_data, lrint_downward_test_data and
9024 lrint_upward_test_data.
9025 (lrint_test): Use ALL_RM_TEST.
9026 (lrint_tonearest_test_data): Remove.
9027 (lrint_test_tonearest): Likewise.
9028 (lrint_towardzero_test_data): Likewise.
9029 (lrint_test_towardzero): Likewise.
9030 (lrint_downward_test_data): Likewise.
9031 (lrint_test_downward): Likewise.
9032 (lrint_upward_test_data): Likewise.
9033 (lrint_test_upward): Likewise.
9034 (llrint_test_data): Merge in per-rounding-mode tests and results
9035 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9036 llrint_downward_test_data and llrint_upward_test_data.
9037 (llrint_test): Use ALL_RM_TEST.
9038 (llrint_tonearest_test_data): Remove.
9039 (llrint_test_tonearest): Likewise.
9040 (llrint_towardzero_test_data): Likewise.
9041 (llrint_test_towardzero): Likewise.
9042 (llrint_downward_test_data): Likewise.
9043 (llrint_test_downward): Likewise.
9044 (llrint_upward_test_data): Likewise.
9045 (llrint_test_upward): Likewise.
9046 (rint_test_data): Merge in per-rounding-mode tests and results
9047 from rint_tonearest_test_data, rint_towardzero_test_data,
9048 rint_downward_test_data and rint_upward_test_data. Add
9049 per-rounding-mode results for tests not in those arrays.
9050 (rint_test): Use ALL_RM_TEST.
9051 (rint_tonearest_test_data): Remove.
9052 (rint_test_tonearest): Likewise.
9053 (rint_towardzero_test_data): Likewise.
9054 (rint_test_towardzero): Likewise.
9055 (rint_downward_test_data): Likewise.
9056 (rint_test_downward): Likewise.
9057 (rint_upward_test_data): Likewise.
9058 (rint_test_upward): Likewise.
9059 (main): Don't call removed functions.
9060
5006148e
RM
90612014-03-14 Roland McGrath <roland@hack.frob.com>
9062
9063 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9064 "Compiled on ..." crapola. It is anti-useful.
9065
d6fe5e58
JM
90662014-03-14 Joseph Myers <joseph@codesourcery.com>
9067
9068 * scripts/evaluate-test.sh: Handle fourth argument to determine
9069 whether test run should stop on failure.
9070 * Makeconfig (stop-on-test-failure): New variable.
9071 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9072 $(stop-on-test-failure).
9073 * Makefile (tests): Give a summary of results from testing and
9074 exit with failure status if they include an ERROR or FAIL.
9075 (xtests): Likewise.
9076 * manual/install.texi (Configuring and compiling): Mention
9077 stop-on-test-failure=y.
9078 * INSTALL: Regenerated.
9079
498a2233
RM
90802014-03-14 Roland McGrath <roland@hack.frob.com>
9081
22dbc19d
RM
9082 * scripts/versionlist.awk: New file.
9083 * Makerules [$(build-shared) = yes]
9084 (postclean-generated): Add Versions.def, not Versions.def.v and
9085 Versions.def.v.i.
9086 ($(common-objpfx)Versions.def.v.i): Target removed.
9087 ($(common-objpfx)Versions.def): New target.
9088 ($(common-objpfx)Versions.all): Depend on that rather that
9089 $(common-objpfx)Versions.def.v.
9090 * Versions.def: File removed.
9091
498a2233
RM
9092 * Makeconfig (+gccwarn): Add -Wundef.
9093 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9094 a dl-sysdep.h breaking its contract.
9095 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9096 * include/stackinfo.h: New file.
9097 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9098 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9099 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9100 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9101 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9102 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9103 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9104 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9105 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9106 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9107 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9108 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9109 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9110 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9111 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9112
c7de5025
AZ
91132014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9114
9115 [BZ #16707]
9116 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9117 implementation.
9118 * math/libm-test.inc (round_test_data): Add more tests.
9119
98fb27a3
AZ
9120 [BZ #16706]
9121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9122 implementation.
9123 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9124
374f7f61
AZ
9125 [BZ #16701]
9126 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9127 implementation.
9128 * math/libm-test.inc (ceil_test_data): Add more tests.
9129
4655c291
AZ
9130 * math/libm-test.inc (trunc_test_data): Add more tests related to
9131 BZ#16414.
9132
d7329d4b
RM
91332014-03-14 Roland McGrath <roland@hack.frob.com>
9134
9135 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9136 with #if rather than #ifdef.
9137 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9138
aa4de9ce
L
91392014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9142 first. Disable AVX-512 GCC support if assembler doesn't support
9143 it.
9144 * sysdeps/x86_64/configure: Regenerated.
9145
2e03fae7
CD
91462014-03-13 Carlos O'Donell <carlos@redhat.com>
9147
9148 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9149 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9150 (__old_pthread_attr_setstack): Likewise.
9151 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9152 [!_STACK_GROWS_DOWN]: Likewise.
9153
43ca83ec
MF
91542014-03-13 Mike Frysinger <vapier@gentoo.org>
9155
9156 * config.make.in (have-bash2): Delete.
9157 * configure.ac (libc_cv_have_bash2): Delete.
9158 * configure: Regenerate.
9159 * elf/Makefile (common-ldd-rewrite): Rename to ...
9160 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9161 (sh-ldd-rewrite): Delete.
9162 (bash-ldd-rewrite): Delete.
9163 (have-bash2): Delete checks.
57f41c40
AS
9164 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9165 ldd-rewrite.
c66e48b4
MF
9166
9167 * config.make.in (have-ksh): Delete.
9168 (KSH): Delete.
9169 * configure.ac (libc_cv_have_ksh): Delete.
9170 * configure: Regenerate.
9171
b93834ef
MF
9172 * elf/Makefile: Delete $(have-ksh) check.
9173 ($(objpfx)sotruss): Change KSH to BASH.
9174 * elf/sotruss.ksh: Rename to ...
9175 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9176 function style to match POSIX. Drop ksh vim mode setting.
9177
f3a4632a
MF
9178 * manual/time.texi (Specifying the Time Zone with TZ): Change
9179 Tuesday to Thursday.
9180
5896c8bd
MF
9181 * debug/tst-longjmp_chk2.c: Update header comment.
9182 (stackoverflow_handler): Add comment. Call assert on pass value.
9183
2d63a517
IZ
91842014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9185
7e54fd04 9186 [BZ #16194]
2d63a517
IZ
9187 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9188 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9189 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9190 (La_x86_64_vector): Add zmm.
9191 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9192 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9193 ($(objpfx)tst-audit10): New target.
9194 ($(objpfx)tst-audit10.out): Likewise.
9195 (tst-audit10-ENV): New.
9196 (AVX512-CFLAGS): Likewise.
9197 (CFLAGS-tst-audit10.c): Likewise.
9198 (CFLAGS-tst-auditmod10a.c): Likewise.
9199 (CFLAGS-tst-auditmod10b.c): Likewise.
9200 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9201 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9202 * sysdeps/x86_64/configure: Regenerated.
9203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9204 AVX-512 zmm register support.
9205 (_dl_x86_64_save_sse): Likewise.
9206 (_dl_x86_64_restore_sse): Likewise.
9207 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9208 size vector registers.
9209 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9210 (ZMM_SIZE): Likewise.
9211 * sysdeps/x86_64/tst-audit10.c: New file.
9212 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9213 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9214
44c4e5d5
RM
92152014-03-13 Roland McGrath <roland@hack.frob.com>
9216
9217 * configure.ac (HAVE_EHDR_START): New check.
9218 * configure: Regenerated.
9219 * config.h.in (HAVE_EHDR_START): New #undef.
9220 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9221 assuming the lowest-addressed segment maps the start of the file.
9222
acd6e389
JM
92232014-03-13 Joseph Myers <joseph@codesourcery.com>
9224
9225 * INSTALL: Regenerated.
9226
6f918f36
WN
92272014-03-13 Will Newton <will.newton@linaro.org>
9228
9229 * manual/setjmp.texi (System V contexts): Improve
9230 clarity and grammar of documentation.
9231
798212a0
PP
92322014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9233
9234 [BZ #16381]
798212a0 9235 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 9236 (tests-pie): Add tst-pie2.
798212a0
PP
9237 * elf/tst-pie2.c: New file.
9238 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9239 for ET_EXEC.
9240 * elf/rtld.c (map_doit): Load executable as lt_executable.
9241 (dl_main): Likewise.
9242
abe6d90c
JM
92432014-03-12 Joseph Myers <joseph@codesourcery.com>
9244
9245 [BZ #16642]
9246 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9247 (__ASSUME_PSELECT): Undefine.
9248
dd3946c6
AZ
92492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9250
9251 [BZ #16689]
9252 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9253 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9254 static build.
9255 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9256 selector for static builds.
9257
c44496df
SP
92582014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9259
9260 [BZ #16695]
9261 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9262 key in the buffer.
9263
27c7220a
AZ
92642014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9265
57f41c40
AS
9266 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9267 IFUNC selector for static builds.
27c7220a 9268
600fa361
JM
92692014-03-11 Joseph Myers <joseph@codesourcery.com>
9270
76c96cf7
JM
9271 * sysdeps/mips/math_private.h [__mips_hard_float]
9272 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9273 libc_feresetround_mips_ctx.
9274 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9275 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9276 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9277
600fa361
JM
9278 [BZ #16677]
9279 * math/s_nextafter.c (__nextafter): Do not return value from
9280 overflowing computation.
9281 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9282 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9284 Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9286 Likewise.
9287 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9288 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9289
d7706c32
RM
92902014-03-11 Roland McGrath <roland@hack.frob.com>
9291
9292 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9293 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9294 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9295 the new mov targetting sp.
9296
4facea47
AZ
92972014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
9299 [BZ #16683]
9300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9301 Define it for static builds as well.
9302 (NO_BZERO_IMPL): Likewise.
9303
e65caf1f
VR
93042014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9305
9306 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9307 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9308 multiarch strspn for PPC64.
9309 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9310 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9312 (__libc_ifunc_impl_list): Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9314 multiarch optimizations
9315 * string/strspn.c (strspn): Using macro to redefine symbol name.
9316
ba9cc071
AZ
93172014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9318 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9319
9320 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9321 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9322 multiarch strncat for PPC64.
9323 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9324 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9326 (__libc_ifunc_impl_list): Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9328 multiarch optimizations
9329
8b4ff974
SP
93302014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9331
9332 [BZ #16639]
9333 * nscd/nscd.service: Make service type forking.
9334
54b46a4b
AZ
93352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9336
9337 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9338 sign in non default rounding modes.
9339 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9340
e9996ef7
JM
93412014-03-08 Joseph Myers <joseph@codesourcery.com>
9342
9343 * math/libm-test.inc (ALL_RM_TEST): New macro.
9344 (ceil_test): Use ALL_RM_TEST.
9345 (cimag_test): Likewise.
9346 (conj_test): Likewise.
9347 (copysign_test): Likewise.
9348 (cproj_test): Likewise.
9349 (creal_test): Likewise.
9350 (fabs_test): Likewise.
9351 (floor_test): Likewise.
9352 (fmax_test): Likewise.
9353 (fmin_test): Likewise.
9354 (fmod_test): Likewise.
9355 (fpclassify_test): Likewise.
9356 (frexp_test): Likewise.
9357 (ilogb_test): Likewise.
9358 (isfinite_test): Likewise.
9359 (finite_test): Likewise.
9360 (isgreater_test): Likewise.
9361 (isgreaterequal_test): Likewise.
9362 (isinf_test): Likewise.
9363 (isless_test): Likewise.
9364 (islessequal_test): Likewise.
9365 (islessgreater_test): Likewise.
9366 (isnan_test): Likewise.
9367 (isnormal_test): Likewise.
9368 (issignaling_test): Likewise.
9369 (isunordered_test): Likewise.
9370 (logb_test): Likewise.
9371 (logb_downward_test_data): Remove.
9372 (logb_test_downward): Likewise.
9373 (lround_test): Use ALL_RM_TEST.
9374 (llround_test): Likewise.
9375 (modf_test): Likewise.
9376 (nexttoward_test): Likewise.
9377 (remainder_test): Likewise.
9378 (drem_test): Likewise.
9379 (remainder_tonearest_test_data): Likewise.
9380 (remainder_test_tonearest): Likewise.
9381 (drem_test_tonearest): Likewise.
9382 (remainder_towardzero_test_data): Likewise.
9383 (remainder_test_towardzero): Likewise.
9384 (drem_test_towardzero): Likewise.
9385 (remainder_downward_test_data): Likewise.
9386 (remainder_test_downward): Likewise.
9387 (drem_test_downward): Likewise.
9388 (remainder_upward_test_data): Likewise.
9389 (remainder_test_upward): Likewise.
9390 (drem_test_upward): Likewise.
9391 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9392 (round_test): Use ALL_RM_TEST.
9393 (signbit_test): Likewise.
9394 (trunc_test): Likewise.
9395 (significand_test): Likewise.
9396 (main): Don't call removed functions.
9397
bc61d27c
JM
93982014-03-07 Joseph Myers <joseph@codesourcery.com>
9399
5c780849
JM
9400 [BZ #16674]
9401 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9402 || __USE_XOPEN2K8].
9403 (ILL_ILLOPN): Likewise.
9404 (ILL_ILLADR): Likewise.
9405 (ILL_ILLTRP): Likewise.
9406 (ILL_PRVOPC): Likewise.
9407 (ILL_PRVREG): Likewise.
9408 (ILL_COPROC): Likewise.
9409 (ILL_BADSTK): Likewise.
9410 (FPE_INTDIV): Likewise.
9411 (FPE_INTOVF): Likewise.
9412 (FPE_FLTDIV): Likewise.
9413 (FPE_FLTOVF): Likewise.
9414 (FPE_FLTUND): Likewise.
9415 (FPE_FLTRES): Likewise.
9416 (FPE_FLTINV): Likewise.
9417 (FPE_FLTSUB): Likewise.
9418 (SEGV_MAPERR): Likewise.
9419 (SEGV_ACCERR): Likewise.
9420 (BUS_ADRALN): Likewise.
9421 (BUS_ADRERR): Likewise.
9422 (BUS_OBJERR): Likewise.
9423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9424 (TRAP_TRACE): Likewise.
9425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9426 __USE_XOPEN2K8].
9427 (CLD_KILLED): Likewise.
9428 (CLD_DUMPED): Likewise.
9429 (CLD_TRAPPED): Likewise.
9430 (CLD_STOPPED): Likewise.
9431 (CLD_CONTINUED): Likewise.
9432 (POLL_IN): Likewise.
9433 (POLL_OUT): Likewise.
9434 (POLL_MSG): Likewise.
9435 (POLL_ERR): Likewise.
9436 (POLL_PRI): Likewise.
9437 (POLL_HUP): Likewise.
9438 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9439 Likewise.
9440 (ILL_ILLOPN): Likewise.
9441 (ILL_ILLADR): Likewise.
9442 (ILL_ILLTRP): Likewise.
9443 (ILL_PRVOPC): Likewise.
9444 (ILL_PRVREG): Likewise.
9445 (ILL_COPROC): Likewise.
9446 (ILL_BADSTK): Likewise.
9447 (FPE_INTDIV): Likewise.
9448 (FPE_INTOVF): Likewise.
9449 (FPE_FLTDIV): Likewise.
9450 (FPE_FLTOVF): Likewise.
9451 (FPE_FLTUND): Likewise.
9452 (FPE_FLTRES): Likewise.
9453 (FPE_FLTINV): Likewise.
9454 (FPE_FLTSUB): Likewise.
9455 (SEGV_MAPERR): Likewise.
9456 (SEGV_ACCERR): Likewise.
9457 (BUS_ADRALN): Likewise.
9458 (BUS_ADRERR): Likewise.
9459 (BUS_OBJERR): Likewise.
9460 (BUS_MCEERR_AR): Likewise.
9461 (BUS_MCEERR_AO): Likewise.
9462 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9463 (TRAP_TRACE): Likewise.
9464 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9465 __USE_XOPEN2K8].
9466 (CLD_KILLED): Likewise.
9467 (CLD_DUMPED): Likewise.
9468 (CLD_TRAPPED): Likewise.
9469 (CLD_STOPPED): Likewise.
9470 (CLD_CONTINUED): Likewise.
9471 (POLL_IN): Likewise.
9472 (POLL_OUT): Likewise.
9473 (POLL_MSG): Likewise.
9474 (POLL_ERR): Likewise.
9475 (POLL_PRI): Likewise.
9476 (POLL_HUP): Likewise.
9477 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9478 (ILL_ILLOPN): Likewise.
9479 (ILL_ILLADR): Likewise.
9480 (ILL_ILLTRP): Likewise.
9481 (ILL_PRVOPC): Likewise.
9482 (ILL_PRVREG): Likewise.
9483 (ILL_COPROC): Likewise.
9484 (ILL_BADSTK): Likewise.
9485 (FPE_INTDIV): Likewise.
9486 (FPE_INTOVF): Likewise.
9487 (FPE_FLTDIV): Likewise.
9488 (FPE_FLTOVF): Likewise.
9489 (FPE_FLTUND): Likewise.
9490 (FPE_FLTRES): Likewise.
9491 (FPE_FLTINV): Likewise.
9492 (FPE_FLTSUB): Likewise.
9493 (SEGV_MAPERR): Likewise.
9494 (SEGV_ACCERR): Likewise.
9495 (BUS_ADRALN): Likewise.
9496 (BUS_ADRERR): Likewise.
9497 (BUS_OBJERR): Likewise.
9498 (BUS_MCEERR_AR): Likewise.
9499 (BUS_MCEERR_AO): Likewise.
9500 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9501 (TRAP_TRACE): Likewise.
9502 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9503 __USE_XOPEN2K8].
9504 (CLD_KILLED): Likewise.
9505 (CLD_DUMPED): Likewise.
9506 (CLD_TRAPPED): Likewise.
9507 (CLD_STOPPED): Likewise.
9508 (CLD_CONTINUED): Likewise.
9509 (POLL_IN): Likewise.
9510 (POLL_OUT): Likewise.
9511 (POLL_MSG): Likewise.
9512 (POLL_ERR): Likewise.
9513 (POLL_PRI): Likewise.
9514 (POLL_HUP): Likewise.
9515 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9516 Likewise.
9517 (ILL_ILLOPN): Likewise.
9518 (ILL_ILLADR): Likewise.
9519 (ILL_ILLTRP): Likewise.
9520 (ILL_PRVOPC): Likewise.
9521 (ILL_PRVREG): Likewise.
9522 (ILL_COPROC): Likewise.
9523 (ILL_BADSTK): Likewise.
9524 (ILL_BADIADDR): Likewise.
9525 (ILL_BREAK): Likewise.
9526 (FPE_INTDIV): Likewise.
9527 (FPE_INTOVF): Likewise.
9528 (FPE_FLTDIV): Likewise.
9529 (FPE_FLTOVF): Likewise.
9530 (FPE_FLTUND): Likewise.
9531 (FPE_FLTRES): Likewise.
9532 (FPE_FLTINV): Likewise.
9533 (FPE_FLTSUB): Likewise.
9534 (FPE_DECOVF): Likewise.
9535 (FPE_DECDIV): Likewise.
9536 (FPE_DECERR): Likewise.
9537 (FPE_INVASC): Likewise.
9538 (FPE_INVDEC): Likewise.
9539 (SEGV_MAPERR): Likewise.
9540 (SEGV_ACCERR): Likewise.
9541 (SEGV_PSTKOVF): Likewise.
9542 (BUS_ADRALN): Likewise.
9543 (BUS_ADRERR): Likewise.
9544 (BUS_OBJERR): Likewise.
9545 (BUS_MCEERR_AR): Likewise.
9546 (BUS_MCEERR_AO): Likewise.
9547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9548 (TRAP_TRACE): Likewise.
9549 (TRAP_BRANCH): Likewise.
9550 (TRAP_HWBKPT): Likewise.
9551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9552 __USE_XOPEN2K8].
9553 (CLD_KILLED): Likewise.
9554 (CLD_DUMPED): Likewise.
9555 (CLD_TRAPPED): Likewise.
9556 (CLD_STOPPED): Likewise.
9557 (CLD_CONTINUED): Likewise.
9558 (POLL_IN): Likewise.
9559 (POLL_OUT): Likewise.
9560 (POLL_MSG): Likewise.
9561 (POLL_ERR): Likewise.
9562 (POLL_PRI): Likewise.
9563 (POLL_HUP): Likewise.
9564 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9565 (ILL_ILLOPN): Likewise.
9566 (ILL_ILLADR): Likewise.
9567 (ILL_ILLTRP): Likewise.
9568 (ILL_PRVOPC): Likewise.
9569 (ILL_PRVREG): Likewise.
9570 (ILL_COPROC): Likewise.
9571 (ILL_BADSTK): Likewise.
9572 (FPE_INTDIV): Likewise.
9573 (FPE_INTOVF): Likewise.
9574 (FPE_FLTDIV): Likewise.
9575 (FPE_FLTOVF): Likewise.
9576 (FPE_FLTUND): Likewise.
9577 (FPE_FLTRES): Likewise.
9578 (FPE_FLTINV): Likewise.
9579 (FPE_FLTSUB): Likewise.
9580 (SEGV_MAPERR): Likewise.
9581 (SEGV_ACCERR): Likewise.
9582 (BUS_ADRALN): Likewise.
9583 (BUS_ADRERR): Likewise.
9584 (BUS_OBJERR): Likewise.
9585 (BUS_MCEERR_AR): Likewise.
9586 (BUS_MCEERR_AO): Likewise.
9587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9588 (TRAP_TRACE): Likewise.
9589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9590 __USE_XOPEN2K8].
9591 (CLD_KILLED): Likewise.
9592 (CLD_DUMPED): Likewise.
9593 (CLD_TRAPPED): Likewise.
9594 (CLD_STOPPED): Likewise.
9595 (CLD_CONTINUED): Likewise.
9596 (POLL_IN): Likewise.
9597 (POLL_OUT): Likewise.
9598 (POLL_MSG): Likewise.
9599 (POLL_ERR): Likewise.
9600 (POLL_PRI): Likewise.
9601 (POLL_HUP): Likewise.
9602 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9603 (ILL_ILLOPN): Likewise.
9604 (ILL_ILLADR): Likewise.
9605 (ILL_ILLTRP): Likewise.
9606 (ILL_PRVOPC): Likewise.
9607 (ILL_PRVREG): Likewise.
9608 (ILL_COPROC): Likewise.
9609 (ILL_BADSTK): Likewise.
9610 (FPE_INTDIV): Likewise.
9611 (FPE_INTOVF): Likewise.
9612 (FPE_FLTDIV): Likewise.
9613 (FPE_FLTOVF): Likewise.
9614 (FPE_FLTUND): Likewise.
9615 (FPE_FLTRES): Likewise.
9616 (FPE_FLTINV): Likewise.
9617 (FPE_FLTSUB): Likewise.
9618 (SEGV_MAPERR): Likewise.
9619 (SEGV_ACCERR): Likewise.
9620 (BUS_ADRALN): Likewise.
9621 (BUS_ADRERR): Likewise.
9622 (BUS_OBJERR): Likewise.
9623 (BUS_MCEERR_AR): Likewise.
9624 (BUS_MCEERR_AO): Likewise.
9625 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9626 (TRAP_TRACE): Likewise.
9627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9628 __USE_XOPEN2K8].
9629 (CLD_KILLED): Likewise.
9630 (CLD_DUMPED): Likewise.
9631 (CLD_TRAPPED): Likewise.
9632 (CLD_STOPPED): Likewise.
9633 (CLD_CONTINUED): Likewise.
9634 (POLL_IN): Likewise.
9635 (POLL_OUT): Likewise.
9636 (POLL_MSG): Likewise.
9637 (POLL_ERR): Likewise.
9638 (POLL_PRI): Likewise.
9639 (POLL_HUP): Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9641 (ILL_ILLOPN): Likewise.
9642 (ILL_ILLADR): Likewise.
9643 (ILL_ILLTRP): Likewise.
9644 (ILL_PRVOPC): Likewise.
9645 (ILL_PRVREG): Likewise.
9646 (ILL_COPROC): Likewise.
9647 (ILL_BADSTK): Likewise.
9648 (FPE_INTDIV): Likewise.
9649 (FPE_INTOVF): Likewise.
9650 (FPE_FLTDIV): Likewise.
9651 (FPE_FLTOVF): Likewise.
9652 (FPE_FLTUND): Likewise.
9653 (FPE_FLTRES): Likewise.
9654 (FPE_FLTINV): Likewise.
9655 (FPE_FLTSUB): Likewise.
9656 (SEGV_MAPERR): Likewise.
9657 (SEGV_ACCERR): Likewise.
9658 (BUS_ADRALN): Likewise.
9659 (BUS_ADRERR): Likewise.
9660 (BUS_OBJERR): Likewise.
9661 (BUS_MCEERR_AR): Likewise.
9662 (BUS_MCEERR_AO): Likewise.
9663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9664 (TRAP_TRACE): Likewise.
9665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9666 __USE_XOPEN2K8].
9667 (CLD_KILLED): Likewise.
9668 (CLD_DUMPED): Likewise.
9669 (CLD_TRAPPED): Likewise.
9670 (CLD_STOPPED): Likewise.
9671 (CLD_CONTINUED): Likewise.
9672 (POLL_IN): Likewise.
9673 (POLL_OUT): Likewise.
9674 (POLL_MSG): Likewise.
9675 (POLL_ERR): Likewise.
9676 (POLL_PRI): Likewise.
9677 (POLL_HUP): Likewise.
9678 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9679 (ILL_ILLOPN): Likewise.
9680 (ILL_ILLADR): Likewise.
9681 (ILL_ILLTRP): Likewise.
9682 (ILL_PRVOPC): Likewise.
9683 (ILL_PRVREG): Likewise.
9684 (ILL_COPROC): Likewise.
9685 (ILL_BADSTK): Likewise.
9686 (ILL_DBLFLT): Likewise.
9687 (ILL_HARDWALL): Likewise.
9688 (FPE_INTDIV): Likewise.
9689 (FPE_INTOVF): Likewise.
9690 (FPE_FLTDIV): Likewise.
9691 (FPE_FLTOVF): Likewise.
9692 (FPE_FLTUND): Likewise.
9693 (FPE_FLTRES): Likewise.
9694 (FPE_FLTINV): Likewise.
9695 (FPE_FLTSUB): Likewise.
9696 (SEGV_MAPERR): Likewise.
9697 (SEGV_ACCERR): Likewise.
9698 (BUS_ADRALN): Likewise.
9699 (BUS_ADRERR): Likewise.
9700 (BUS_OBJERR): Likewise.
9701 (BUS_MCEERR_AR): Likewise.
9702 (BUS_MCEERR_AO): Likewise.
9703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9704 (TRAP_TRACE): Likewise.
9705 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9706 __USE_XOPEN2K8].
9707 (CLD_KILLED): Likewise.
9708 (CLD_DUMPED): Likewise.
9709 (CLD_TRAPPED): Likewise.
9710 (CLD_STOPPED): Likewise.
9711 (CLD_CONTINUED): Likewise.
9712 (POLL_IN): Likewise.
9713 (POLL_OUT): Likewise.
9714 (POLL_MSG): Likewise.
9715 (POLL_ERR): Likewise.
9716 (POLL_PRI): Likewise.
9717 (POLL_HUP): Likewise.
9718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9719 (ILL_ILLOPN): Likewise.
9720 (ILL_ILLADR): Likewise.
9721 (ILL_ILLTRP): Likewise.
9722 (ILL_PRVOPC): Likewise.
9723 (ILL_PRVREG): Likewise.
9724 (ILL_COPROC): Likewise.
9725 (ILL_BADSTK): Likewise.
9726 (FPE_INTDIV): Likewise.
9727 (FPE_INTOVF): Likewise.
9728 (FPE_FLTDIV): Likewise.
9729 (FPE_FLTOVF): Likewise.
9730 (FPE_FLTUND): Likewise.
9731 (FPE_FLTRES): Likewise.
9732 (FPE_FLTINV): Likewise.
9733 (FPE_FLTSUB): Likewise.
9734 (SEGV_MAPERR): Likewise.
9735 (SEGV_ACCERR): Likewise.
9736 (BUS_ADRALN): Likewise.
9737 (BUS_ADRERR): Likewise.
9738 (BUS_OBJERR): Likewise.
9739 (BUS_MCEERR_AR): Likewise.
9740 (BUS_MCEERR_AO): Likewise.
9741 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9742 (TRAP_TRACE): Likewise.
9743 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9744 __USE_XOPEN2K8].
9745 (CLD_KILLED): Likewise.
9746 (CLD_DUMPED): Likewise.
9747 (CLD_TRAPPED): Likewise.
9748 (CLD_STOPPED): Likewise.
9749 (CLD_CONTINUED): Likewise.
9750 (POLL_IN): Likewise.
9751 (POLL_OUT): Likewise.
9752 (POLL_MSG): Likewise.
9753 (POLL_ERR): Likewise.
9754 (POLL_PRI): Likewise.
9755 (POLL_HUP): Likewise.
9756 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9757 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9758
bc61d27c
JM
9759 [BZ #16670]
9760 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9761 before #include of <time.h>.
9762 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9763 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9764 (test-xfail-UNIX98/sched.h/conform): Likewise.
9765
302949e2
MS
97662014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9767
9768 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9769 error absence of trapping exception support.
9770 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9771
a00f522a
JM
97722014-03-07 Joseph Myers <joseph@codesourcery.com>
9773
6f99f280
JM
9774 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9775 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9776 * timezone/Makefile (testdata): Move definition above include of
9777 Rules.
9778 (test-zones): New variable.
9779 (tests-special): Add zone files.
9780 (build-testdata): Use $(evaluate-test).
9781
0b20a9e8
JM
9782 * elf/Makefile (tests-special): Rename tests to end with .out.
9783 ($(objpfx)noload-mem): Likewise.
9784 ($(objpfx)tst-leaks1-mem): Likewise.
9785 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9786 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9787 $(objpfx)test-iconvconfig.out.
9788 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9789 set -e inside subshell and redirect output to file.
9790 * iconvdata/Makefile (generated): Rename tests to end with .out.
9791 Correct type.
9792 (tests-special): Rename tests to end with .out.
9793 ($(objpfx)mtrace-tst-loading): Likewise.
9794 * intl/Makefile (generated): Likewise.
9795 (tests-special): Likewise.
9796 ($(objpfx)mtrace-tst-gettext): Likewise.
9797 * misc/Makefile (generated): Likewise.
9798 (tests-special): Likewise.
9799 ($(objpfx)tst-error1-mem): Likewise.
9800 * nptl/Makefile (tests-special): Likewise.
9801 ($(objpfx)tst-stack3-mem): Likewise.
9802 (generated): Likewise.
9803 * posix/Makefile (generated): Likewise.
9804 (tests-special): Likewise.
9805 (xtests-special): Likewise.
9806 ($(objpfx)tst-fnmatch-mem): Likewise.
9807 ($(objpfx)bug-regex2-mem): Likewise.
9808 ($(objpfx)bug-regex14-mem): Likewise.
9809 ($(objpfx)bug-regex21-mem): Likewise.
9810 ($(objpfx)bug-regex31-mem): Likewise.
9811 ($(objpfx)tst-vfork3-mem): Likewise.
9812 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9813 ($(objpfx)tst-pcre-mem): Likewise.
9814 ($(objpfx)tst-boost-mem): Likewise.
9815 ($(objpfx)bug-ga2-mem): Likewise.
9816 ($(objpfx)bug-glob2-mem): Likewise.
9817 * resolv/Makefile (generate): Likewise.
9818 (tests-special): Likewise.
9819 (xtests-special): Likewise.
9820 (generated): Likewise.
9821 ($(objpfx)mtrace-tst-leaks): Likewise.
9822 ($(objpfx)mtrace-tst-leaks2): Likewise.
9823
265d52ab
JM
9824 * scripts/merge-test-results.sh: New file.
9825 * Makefile (tests-special-notdir): New variable.
9826 (tests): Run merge-test-results.sh.
9827 (xtests): Likewise.
9828 * Rules (tests-special-notdir): New variable.
9829 (xtests-special-notdir): Likewise.
9830 (tests): Run merge-test-results.sh
9831 (xtests): Likewise.
9832
54ee292d
JM
9833 * Makeconfig (test-xfail-name): New variable.
9834 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9835 compute variable name for expected failures.
9836 * conform/Makefile (conformtest-headers-data): New variable.
9837 (conformtest-standards): Likewise.
9838 (conformtest-headers-ISO): Likewise.
9839 (conformtest-headers-ISO99): Likewise.
9840 (conformtest-headers-ISO11): Likewise.
9841 (conformtest-headers-POSIX): Likewise.
9842 (conformtest-headers-XPG3): Likewise.
9843 (conformtest-headers-XPG4): Likewise.
9844 (conformtest-headers-UNIX98): Likewise.
9845 (conformtest-headers-XOPEN2K): Likewise.
9846 (conformtest-headers-POSIX2008): Likewise.
9847 (conformtest-headers-XOPEN2K8): Likewise.
9848 (conformtest-header-list-base): Likewise.
9849 (conformtest-header-list-tests): Likewise.
9850 (conformtest-header-base): Likewise.
9851 (conformtest-header-tests): Likewise.
9852 (tests-special): Add $(conformtest-header-list-tests). If
9853 [$(fast-check) && !$(cross-compiling)], add
9854 $(conformtest-header-tests) instead of
9855 $(objpfx)run-conformtest.out.
9856 (generated): Add $(conformtest-header-list-base). If
9857 [$(fast-check) && !$(cross-compiling)], add
9858 $(conformtest-header-base). Remove previous setting.
9859 ($(conformtest-header-list-tests)): New target.
9860 (test-xfail-run-conformtest): Remove variable.
9861 ($(objpfx)run-conformtest.out): Remove target.
9862 (test-xfail-ISO11/complex.h/conform): New variable.
9863 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9864 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9865 (test-xfail-XPG3/varargs.h/conform): Likewise.
9866 (test-xfail-XPG4/varargs.h/conform): Likewise.
9867 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9868 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9869 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9870 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9871 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9872 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9873 (test-xfail-XPG3/ftw.h/conform): Likewise.
9874 (test-xfail-XPG3/grp.h/conform): Likewise.
9875 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9876 (test-xfail-XPG3/limits.h/conform): Likewise.
9877 (test-xfail-XPG3/pwd.h/conform): Likewise.
9878 (test-xfail-XPG3/search.h/conform): Likewise.
9879 (test-xfail-XPG3/signal.h/conform): Likewise.
9880 (test-xfail-XPG3/stdio.h/conform): Likewise.
9881 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9882 (test-xfail-XPG3/string.h/conform): Likewise.
9883 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9884 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9885 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9886 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9887 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9888 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9889 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9890 (test-xfail-XPG3/termios.h/conform): Likewise.
9891 (test-xfail-XPG3/time.h/conform): Likewise.
9892 (test-xfail-XPG3/unistd.h/conform): Likewise.
9893 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9894 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9895 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9896 (test-xfail-XPG4/netdb.h/conform): Likewise.
9897 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9898 (test-xfail-XPG4/signal.h/conform): Likewise.
9899 (test-xfail-XPG4/stdio.h/conform): Likewise.
9900 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9901 (test-xfail-XPG4/stropts.h/conform): Likewise.
9902 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9903 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9904 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9905 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9906 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9907 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9908 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9909 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9910 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9911 (test-xfail-XPG4/termios.h/conform): Likewise.
9912 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9913 (test-xfail-XPG4/unistd.h/conform): Likewise.
9914 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9915 (test-xfail-POSIX/sched.h/conform): Likewise.
9916 (test-xfail-POSIX/signal.h/conform): Likewise.
9917 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9918 (test-xfail-POSIX/tar.h/conform): Likewise.
9919 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9920 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9921 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9922 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9923 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9924 (test-xfail-UNIX98/sched.h/conform): Likewise.
9925 (test-xfail-UNIX98/signal.h/conform): Likewise.
9926 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9927 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9928 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9929 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9930 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9931 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9932 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9933 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9934 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9935 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9936 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9937 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9938 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9939 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9940 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9941 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9942 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9943 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9944 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9945 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9946 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9947 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9948 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9949 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9950 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9951 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9952 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9953 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9954 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9955 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9956 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9957 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9958 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9959 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9960 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9961 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9962 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9963 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9964 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9965 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9966 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9967 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9968 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9969 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9970 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9971 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9972 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9973 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9974 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9975 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9976 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9977 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9978 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9979 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9980 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9981 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9982 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9983 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9984 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9985 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9986 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9987 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9988 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9989 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9990 (conformtest-cc-flags): Likewise.
9991 ($(conformtest-header-tests): New target.
9992 * conform/check-header-lists.sh: New file.
9993 * conform/run-conformtest.sh: Remove.
9994
a00f522a
JM
9995 * conform/conformtest.pl: Allow ' and \ in values given for
9996 constants.
9997 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9998 inclusion.
9999 [POSIX] (sys/types.h): Likewise.
10000 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10001 inclusion.
10002 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10003 inclusion.
10004 * conform/data/signal.h-data (SIGIO): Remove expectation.
10005 [XPG3] (SIGBUS): Do not expect.
10006 [POSIX || XPG3] (SIGPOLL): Likewise.
10007 [POSIX || XPG3] (SIGPROF): Likewise.
10008 [POSIX || XPG3] (SIGSYS): Likewise.
10009 [XPG3] (SIGTRAP): Likewise.
10010 [POSIX || XPG3] (SIGURG): Likewise.
10011 [POSIX || XPG3] (SIGVTALRM): Likewise.
10012 [POSIX || XPG3] (SIGXCPU): Likewise.
10013 [POSIX || XPG3] (SIGXFSZ): Likewise.
10014 [POSIX] (SA_SIGINFO): Expect.
10015 [XPG3] (siginfo_t): Do not expect type or contents.
10016 [POSIX] (si_pid): Do not expect element.
10017 [POSIX] (si_uid): Likewise.
10018 [POSIX] (si_addr): Likewise.
10019 [POSIX] (si_status): Likewise.
10020 [POSIX] (si_band): Likewise.
10021 [XPG4] (si_value): Likewise.
10022 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10023 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10024 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10025 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10026 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10027 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10028 [POSIX || XPG3] (ILL_COPROC): Likewise.
10029 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10030 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10031 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10032 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10033 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10034 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10035 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10036 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10037 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10038 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10039 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10040 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10041 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10042 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10043 [POSIX || XPG3] (CLD_EXITED): Likewise.
10044 [POSIX || XPG3] (CLD_KILLED): Likewise.
10045 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10046 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10047 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10048 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10049 [POSIX || XPG3] (POLL_IN): Likewise.
10050 [POSIX || XPG3] (POLL_OUT): Likewise.
10051 [POSIX || XPG3] (POLL_MSG): Likewise.
10052 [POSIX || XPG3] (POLL_ERR): Likewise.
10053 [POSIX || XPG3] (POLL_PRI): Likewise.
10054 [POSIX || XPG3] (POLL_HUP): Likewise.
10055 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10056 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10057 (SIG*): Do not allow.
10058 [XPG3] (si_*): Likewise.
10059 [XPG3] (SI_*): Likewise.
10060 [XPG3 || XPG4] (sigev_*): Likewise.
10061 [XPG3 || XPG4] (SIGEV_*): Likewise.
10062 [XPG3 || XPG4] (sival_*): Likewise.
10063 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10064 [POSIX || XPG3] (BUS_*): Likewise.
10065 [POSIX || XPG3] (CLD_*): Likewise.
10066 [POSIX || XPG3] (FPE_*): Likewise.
10067 [POSIX || XPG3] (ILL_*): Likewise.
10068 [POSIX || XPG3] (POLL_*): Likewise.
10069 [POSIX || XPG3] (SEGV_*): Likewise.
10070 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10071 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10072 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10073 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10074 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10075 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10076 Specify type and value.
10077 (TVERSLEN): Likewise.
10078 (REGTYPE): Likewise.
10079 (AREGTYPE): Likewise.
10080 (LNKTYPE): Likewise.
10081 (SYMTYPE): Likewise.
10082 (CHRTYPE): Likewise.
10083 (BLKTYPE): Likewise.
10084 (DIRTYPE): Likewise.
10085 (FIFOTYPE): Likewise.
10086 (CONTTYPE): Likewise.
10087 (TSUID): Likewise.
10088 (TSGID): Likewise.
10089 (TSVTX): Likewise.
10090 (TUREAD): Likewise.
10091 (TUWRITE): Likewise.
10092 (TUEXEC): Likewise.
10093 (TGREAD): Likewise.
10094 (TGWRITE): Likewise.
10095 (TGEXEC): Likewise.
10096 (TOREAD): Likewise.
10097 (TOWRITE): Likewise.
10098 (TOEXEC): Likewise.
10099 [POSIX] (TSVTX): Expect constant.
10100
aa97dee1
JM
101012014-03-06 Joseph Myers <joseph@codesourcery.com>
10102
f214606a
JM
10103 * Makefile (tests): Change dependencies to ....
10104 (tests-special): ... additions to this variable.
10105 (tests): Depend on $(tests-special).
10106 * Makerules (check-abi-list): New variable.
10107 (check-abi): Depend on $(check-abi-list).
10108 [$(subdir) = elf] (tests-special): Add
10109 $(objpfx)check-abi-libc.out.
10110 [$(build-shared) = yes && subdir] (tests-special): Add
10111 $(check-abi-list).
10112 [$(build-shared) = yes && subdir] (tests): Do not depend on
10113 check-abi.
10114 * Rules (tests): Depend on $(tests-special).
10115 (xtests): Depend on $(xtests-special).
10116 * catgets/Makefile (tests): Change dependencies to ....
10117 (tests-special): ... additions to this variable.
10118 * conform/Makefile (tests): Change dependencies to ....
10119 (tests-special): ... additions to this variable.
10120 * elf/Makefile (tests): Change dependencies to ....
10121 (tests-special): ... additions to this variable.
10122 * grp/Makefile (tests): Change dependencies to ....
10123 (tests-special): ... additions to this variable.
10124 * iconv/Makefile (xtests): Change dependencies to ....
10125 (xtests-special): ... additions to this variable.
10126 * iconvdata/Makefile (tests): Change dependencies to ....
10127 (tests-special): ... additions to this variable.
10128 * intl/Makefile (tests): Change dependencies to ....
10129 (tests-special): ... additions to this variable. Also add
10130 $(objpfx)tst-gettext.out.
10131 * io/Makefile (tests): Change dependencies to ....
10132 (tests-special): ... additions to this variable.
10133 * libio/Makefile (tests): Change dependencies to ....
10134 (tests-special): ... additions to this variable.
10135 * malloc/Makefile (tests): Change dependencies to ....
10136 (tests-special): ... additions to this variable.
10137 * misc/Makefile (tests): Change dependencies to ....
10138 (tests-special): ... additions to this variable.
10139 * nptl/Makefile (tests): Change dependencies to ....
10140 (tests-special): ... additions to this variable.
10141 * nptl_db/Makefile (tests): Change dependencies to ....
10142 (tests-special): ... additions to this variable.
10143 * posix/Makefile (tests): Change dependencies to ....
10144 (tests-special): ... additions to this variable.
10145 (xtests): Change dependencies to ....
10146 (xtests-special): ... additions to this variable.
10147 * resolv/Makefile (tests): Change dependencies to ....
10148 (tests-special): ... additions to this variable.
10149 (xtests): Change dependencies to ....
10150 (xtests-special): ... additions to this variable.
10151 * stdio-common/Makefile (tests): Change dependencies to ....
10152 (tests-special): ... additions to this variable.
10153 (do-tst-unbputc): Remove target.
10154 (do-tst-printf): Likewise.
10155 * stdlib/Makefile (tests): Change dependencies to ....
10156 (tests-special): ... additions to this variable.
10157 * string/Makefile (tests): Change dependencies to ....
10158 (tests-special): ... additions to this variable.
10159 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10160 (tests-special): ... additions to this variable.
10161
81700b53
JM
10162 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10163 whole file.
10164 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10165 whole file.
10166 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10167 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10168
2ea18461
JM
10169 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10170 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10171 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10172 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10173 * conform/data/libgen.h-data [XPG3]: Likewise.
10174 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10175 * conform/data/ndbm.h-data [XPG3]: Likewise.
10176 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10177 * conform/data/netdb.h-data [XPG3]: Likewise.
10178 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10179 * conform/data/poll.h-data [XPG3]: Likewise.
10180 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10181 * conform/data/strings.h-data [XPG3]: Likewise.
10182 * conform/data/stropts.h-data [XPG3]: Likewise.
10183 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10184 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10185 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10186 Likewise.
10187 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10188 * conform/data/sys/time.h-data [XPG3]: Likewise.
10189 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10190 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10191 * conform/data/sys/un.h-data [XPG3]: Likewise.
10192 * conform/data/syslog.h-data [XPG3]: Likewise.
10193 * conform/data/ucontext.h-data [XPG3]: Likewise.
10194 * conform/data/utmpx.h-data [XPG3]: Likewise.
10195 * conform/data/varargs.h-data [UNIX98]: Enable file.
10196
355bc986
JM
10197 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10198
215db402
JM
10199 * math/libm-test.inc (struct test_f_f_data): Move expected results
10200 into structure for each rounding mode.
10201 (struct test_ff_f_data): Likewise.
10202 (struct test_ff_f_data_nexttoward): Likewise.
10203 (struct test_fi_f_data): Likewise.
10204 (struct test_fl_f_data): Likewise.
10205 (struct test_if_f_data): Likewise.
10206 (struct test_fff_f_data): Likewise.
10207 (struct test_c_f_data): Likewise.
10208 (struct test_f_f1_data): Likewise.
10209 (struct test_fF_f1_data): Likewise.
10210 (struct test_ffI_f1_data): Likewise.
10211 (struct test_c_c_data): Likewise.
10212 (struct test_cc_c_data): Likewise.
10213 (struct test_f_i_data): Likewise.
10214 (struct test_ff_i_data): Likewise.
10215 (struct test_f_l_data): Likewise.
10216 (struct test_f_L_data): Likewise.
10217 (struct test_fFF_11_data): Likewise.
10218 (RM_): New macro.
10219 (RM_FE_DOWNWARD): Likewise.
10220 (RM_FE_TONEAREST): Likewise.
10221 (RM_FE_TOWARDZERO): Likewise.
10222 (RM_FE_UPWARD): Likewise.
10223 (RUN_TEST_LOOP_f_f): Update references to expected results.
10224 (RUN_TEST_LOOP_2_f): Likewise.
10225 (RUN_TEST_LOOP_fff_f): Likewise.
10226 (RUN_TEST_LOOP_c_f): Likewise.
10227 (RUN_TEST_LOOP_f_f1): Likewise.
10228 (RUN_TEST_LOOP_fF_f1): Likewise.
10229 (RUN_TEST_LOOP_fI_f1): Likewise.
10230 (RUN_TEST_LOOP_ffI_f1): Likewise.
10231 (RUN_TEST_LOOP_c_c): Likewise.
10232 (RUN_TEST_LOOP_cc_c): Likewise.
10233 (RUN_TEST_LOOP_f_i): Likewise.
10234 (RUN_TEST_LOOP_f_i_tg): Likewise.
10235 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10236 (RUN_TEST_LOOP_f_b): Likewise.
10237 (RUN_TEST_LOOP_f_b_tg): Likewise.
10238 (RUN_TEST_LOOP_f_l): Likewise.
10239 (RUN_TEST_LOOP_f_L): Likewise.
10240 (RUN_TEST_LOOP_fFF_11): Likewise.
10241 * math/gen-libm-test.pl (parse_args): Output four copies of
10242 expected results for each test.
10243
67737b8f
JM
10244 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10245 (__ASSUME_UTIMES): Remove.
10246 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10247 (__ASSUME_UTIMES): Likewise.
10248
aa97dee1
JM
10249 * math/gen-auto-libm-tests.c: Update comment on output format.
10250 (output_for_one_input_case): Generate before-rounding and
10251 after-rounding information as conditions on output flags not
10252 floating-point format.
10253 * math/auto-libm-test-out: Regenerated.
10254 * math/gen-libm-test.pl (cond_value): New function.
10255 (or_cond_value): Use cond_value.
10256 (generate_testfile): Handle conditional exceptions.
10257
e6b6a857
JM
102582014-03-05 Joseph Myers <joseph@codesourcery.com>
10259
2f0a0f44
JM
10260 * math/libm-test.inc (max_valid_error): New variable.
10261 (init_max_error): Take new argument specifying whether function
10262 results are exactly determined. Set max_valid_error and bound
10263 other variables for errors based on this argument.
10264 (set_max_error): Do not record results above max_valid_error.
10265 (check_float_internal): Only accept errors of up to 0.5ulps if
10266 also at most max_valid_error.
10267 (START): Take new argument EXACT and pass it to init_max_error.
10268 (acos_test): Update call to START.
10269 (acos_test_tonearest): Likewise.
10270 (acos_test_towardzero): Likewise.
10271 (acos_test_downward): Likewise.
10272 (acos_test_upward): Likewise.
10273 (acosh_test): Likewise.
10274 (asin_test): Likewise.
10275 (asin_test_tonearest): Likewise.
10276 (asin_test_towardzero): Likewise.
10277 (asin_test_downward): Likewise.
10278 (asin_test_upward): Likewise.
10279 (asinh_test): Likewise.
10280 (atan_test): Likewise.
10281 (atanh_test): Likewise.
10282 (atan2_test): Likewise.
10283 (cabs_test): Likewise.
10284 (cacos_test): Likewise.
10285 (cacosh_test): Likewise.
10286 (carg_test): Likewise.
10287 (casin_test): Likewise.
10288 (casinh_test): Likewise.
10289 (catan_test): Likewise.
10290 (catanh_test): Likewise.
10291 (cbrt_test): Likewise.
10292 (ccos_test): Likewise.
10293 (ccosh_test): Likewise.
10294 (ceil_test): Likewise.
10295 (cexp_test): Likewise.
10296 (cimag_test): Likewise.
10297 (clog_test): Likewise.
10298 (clog10_test): Likewise.
10299 (conj_test): Likewise.
10300 (copysign_test): Likewise.
10301 (cos_test): Likewise.
10302 (cos_test_tonearest): Likewise.
10303 (cos_test_towardzero): Likewise.
10304 (cos_test_downward): Likewise.
10305 (cos_test_upward): Likewise.
10306 (cosh_test): Likewise.
10307 (cosh_test_tonearest): Likewise.
10308 (cosh_test_towardzero): Likewise.
10309 (cosh_test_downward): Likewise.
10310 (cosh_test_upward): Likewise.
10311 (cpow_test): Likewise.
10312 (cproj_test): Likewise.
10313 (creal_test): Likewise.
10314 (csin_test): Likewise.
10315 (csinh_test): Likewise.
10316 (csqrt_test): Likewise.
10317 (ctan_test): Likewise.
10318 (ctan_test_tonearest): Likewise.
10319 (ctan_test_towardzero): Likewise.
10320 (ctan_test_downward): Likewise.
10321 (ctan_test_upward): Likewise.
10322 (ctanh_test): Likewise.
10323 (ctanh_test_tonearest): Likewise.
10324 (ctanh_test_towardzero): Likewise.
10325 (ctanh_test_downward): Likewise.
10326 (ctanh_test_upward): Likewise.
10327 (erf_test): Likewise.
10328 (erfc_test): Likewise.
10329 (exp_test): Likewise.
10330 (exp_test_tonearest): Likewise.
10331 (exp_test_towardzero): Likewise.
10332 (exp_test_downward): Likewise.
10333 (exp_test_upward): Likewise.
10334 (exp10_test): Likewise.
10335 (exp10_test_tonearest): Likewise.
10336 (exp10_test_towardzero): Likewise.
10337 (exp10_test_downward): Likewise.
10338 (exp10_test_upward): Likewise.
10339 (pow10_test): Likewise.
10340 (exp2_test): Likewise.
10341 (expm1_test): Likewise.
10342 (expm1_test_tonearest): Likewise.
10343 (expm1_test_towardzero): Likewise.
10344 (expm1_test_downward): Likewise.
10345 (expm1_test_upward): Likewise.
10346 (fabs_test): Likewise.
10347 (fdim_test): Likewise.
10348 (floor_test): Likewise.
10349 (fma_test): Likewise.
10350 (fma_test_towardzero): Likewise.
10351 (fma_test_downward): Likewise.
10352 (fma_test_upward): Likewise.
10353 (fmax_test): Likewise.
10354 (fmin_test): Likewise.
10355 (fmod_test): Likewise.
10356 (fpclassify_test): Likewise.
10357 (frexp_test): Likewise.
10358 (hypot_test): Likewise.
10359 (ilogb_test): Likewise.
10360 (isfinite_test): Likewise.
10361 (finite_test): Likewise.
10362 (isgreater_test): Likewise.
10363 (isgreaterequal_test): Likewise.
10364 (isinf_test): Likewise.
10365 (isless_test): Likewise.
10366 (islessequal_test): Likewise.
10367 (islessgreater_test): Likewise.
10368 (isnan_test): Likewise.
10369 (isnormal_test): Likewise.
10370 (issignaling_test): Likewise.
10371 (isunordered_test): Likewise.
10372 (j0_test): Likewise.
10373 (j1_test): Likewise.
10374 (jn_test): Likewise.
10375 (ldexp_test): Likewise.
10376 (lgamma_test): Likewise.
10377 (gamma_test): Likewise.
10378 (lrint_test): Likewise.
10379 (lrint_test_tonearest): Likewise.
10380 (lrint_test_towardzero): Likewise.
10381 (lrint_test_downward): Likewise.
10382 (lrint_test_upward): Likewise.
10383 (llrint_test): Likewise.
10384 (llrint_test_tonearest): Likewise.
10385 (llrint_test_towardzero): Likewise.
10386 (llrint_test_downward): Likewise.
10387 (llrint_test_upward): Likewise.
10388 (log_test): Likewise.
10389 (log10_test): Likewise.
10390 (log1p_test): Likewise.
10391 (log2_test): Likewise.
10392 (logb_test): Likewise.
10393 (logb_test_downward): Likewise.
10394 (lround_test): Likewise.
10395 (llround_test): Likewise.
10396 (modf_test): Likewise.
10397 (nearbyint_test): Likewise.
10398 (nextafter_test): Likewise.
10399 (nexttoward_test): Likewise.
10400 (pow_test): Likewise.
10401 (pow_test_tonearest): Likewise.
10402 (pow_test_towardzero): Likewise.
10403 (pow_test_downward): Likewise.
10404 (pow_test_upward): Likewise.
10405 (remainder_test): Likewise.
10406 (drem_test): Likewise.
10407 (remainder_test_tonearest): Likewise.
10408 (drem_test_tonearest): Likewise.
10409 (remainder_test_towardzero): Likewise.
10410 (drem_test_towardzero): Likewise.
10411 (remainder_test_downward): Likewise.
10412 (drem_test_downward): Likewise.
10413 (remainder_test_upward): Likewise.
10414 (drem_test_upward): Likewise.
10415 (remquo_test): Likewise.
10416 (rint_test): Likewise.
10417 (rint_test_tonearest): Likewise.
10418 (rint_test_towardzero): Likewise.
10419 (rint_test_downward): Likewise.
10420 (rint_test_upward): Likewise.
10421 (round_test): Likewise.
10422 (scalb_test): Likewise.
10423 (scalbn_test): Likewise.
10424 (scalbln_test): Likewise.
10425 (signbit_test): Likewise.
10426 (sin_test): Likewise.
10427 (sin_test_tonearest): Likewise.
10428 (sin_test_towardzero): Likewise.
10429 (sin_test_downward): Likewise.
10430 (sin_test_upward): Likewise.
10431 (sincos_test): Likewise.
10432 (sinh_test): Likewise.
10433 (sinh_test_tonearest): Likewise.
10434 (sinh_test_towardzero): Likewise.
10435 (sinh_test_downward): Likewise.
10436 (sinh_test_upward): Likewise.
10437 (sqrt_test): Likewise.
10438 (sqrt_test_tonearest): Likewise.
10439 (sqrt_test_towardzero): Likewise.
10440 (sqrt_test_downward): Likewise.
10441 (sqrt_test_upward): Likewise.
10442 (tan_test): Likewise.
10443 (tan_test_tonearest): Likewise.
10444 (tan_test_towardzero): Likewise.
10445 (tan_test_downward): Likewise.
10446 (tan_test_upward): Likewise.
10447 (tanh_test): Likewise.
10448 (tgamma_test): Likewise.
10449 (trunc_test): Likewise.
10450 (y0_test): Likewise.
10451 (y1_test): Likewise.
10452 (yn_test): Likewise.
10453 (significand_test): Likewise.
10454
e6b6a857
JM
10455 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10456 individual tests in comment.
10457 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10458 (prev_max_error): New variable.
10459 (prev_real_max_error): Likewise.
10460 (prev_imag_max_error): Likewise.
10461 (compare_ulp_data): Don't refer to test names in comment.
10462 (find_test_ulps): Remove function.
10463 (find_function_ulps): Likewise.
10464 (find_complex_function_ulps): Likewise.
10465 (init_max_error): Take function name as argument. Look up ulps
10466 for that function.
10467 (print_ulps): Remove function.
10468 (print_max_error): Use prev_max_error instead of calling
10469 find_function_ulps.
10470 (print_complex_max_error): Use prev_real_max_error and
10471 prev_imag_max_error instead of calling find_complex_function_ulps.
10472 (check_float_internal): Take max_ulp parameter instead of calling
10473 find_test_ulps. Don't call print_ulps.
10474 (check_float): Update call to check_float_internal.
10475 (check_complex): Update calls to check_float_internal.
10476 (START): Pass argument to init_max_error.
10477 * math/gen-libm-test.pl (%results): Don't include "kind"
10478 information.
10479 (parse_ulps): Don't handle ulps of individual tests.
10480 (print_ulps_file): Likewise.
10481 (output_ulps): Likewise.
10482 * math/README.libm-test: Update.
10483 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10484 individual tests.
10485 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10486 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10487 * sysdeps/arm/libm-test-ulps: Likewise.
10488 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10489 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10490 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10491 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10492 * sysdeps/microblaze/libm-test-ulps: Likewise.
10493 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10494 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10495 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10496 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10497 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10498 * sysdeps/sh/libm-test-ulps: Likewise.
10499 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10500 * sysdeps/tile/libm-test-ulps: Likewise.
10501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10502
45adef3c
JM
105032014-03-04 Joseph Myers <joseph@codesourcery.com>
10504
10505 * math/libm-test.inc (print_complex_max_error): Check separately
10506 whether real and imaginary errors are within allowed range and
10507 pass 0 to print_complex_function_ulps instead of value within
10508 allowed range.
10509
000232b9
SP
105102014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
d4b17258
SP
10512 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10513 formatting.
10514 (get_handles_fopen): Likewise.
10515 (do_write_test): Likewise.
10516
091eff71
SP
10517 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10518
fa3cd248
SP
10519 * libio/fileops.c (do_ftell): Use cached offset when
10520 available.
10521 * libio/iofwide.c (do_ftell_wide): Likewise.
10522 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10523 _IO_file_attach.
10524 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10525
000232b9
SP
10526 [BZ #16532]
10527 * libio/libioP.h (get_file_offset): New function.
10528 * libio/fileops.c (get_file_offset): Likewise.
10529 (do_ftell): Likewise.
10530 (_IO_new_file_seekoff): Split out ftell logic.
10531 * libio/wfileops.c (do_ftell_wide): Likewise.
10532 (_IO_wfile_seekoff): Split out ftell logic.
10533 * libio/tst-ftell-active-handler.c: New test case.
10534 * libio/Makefile (tests): Add it.
10535
116f4d1a
RM
105362014-03-03 Roland McGrath <roland@hack.frob.com>
10537
10538 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10539 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10540
532a6035
SP
105412014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10542
10543 [BZ #16639]
10544 * nscd/connections.c (nscd_init): Call do_exit.
10545 (start_threads): Call do_exit and notify_parent.
10546 (begin_drop_privileges): Call do_exit.
10547 (finish_drop_privileges): Likewise.
10548 * nscd/selinux.c (preserve_capabilities): Likewise.
10549 (install_real_capabilities): Likewise.
10550 (nscd_selinux_enabled): Likewise.
10551 (avc_create_thread): Likewise.
10552 (avc_alloc_lock): Likewise.
10553 (nscd_avc_init): Likewise.
10554 * nscd/nscd.c (parent_fd): New static variable.
10555 (main): Create a pipe between parent and child processes.
10556 Skip closing parent_fd.
10557 (monitor_child): New function.
10558 (do_exit): Likewise.
10559 (notify_parent): Likewise.
10560 * nscd/nscd.h (notify_parent): Likewise.
10561 (do_exit): Likewise.
10562
d6285c9f
CD
105632014-03-03 Carlos O'Donell <carlos@redhat.com>
10564
10565 * malloc/malloc.c (__libc_calloc): Revert last change.
10566
2b85d2a0
AZ
105672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10570
c7debbdf
RS
105712014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10572
10573 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10575 implementation.
10576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10577 (__libc_ifunc_impl_list): Likewise.
10578 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10579 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10580 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10581 * string/strrchr.c: Define STRRCHR.
10582
235eed86
OB
105832014-02-28 Ondřej Bílka <neleai@seznam.cz>
10584
10585 * benchtest/bench-strtok.c (simple_strtok): Delete.
10586 (strtok_string): Use as benchmark.
10587 * string/strtok (STRTOK): New macro.
10588
8e25d1e7
CD
105892014-02-28 Carlos O'Donell <carlos@redhat.com>
10590
ef563f92
CD
10591 * manual/threads.texi: Add header and standard comments to all
10592 functions.
10593
8e25d1e7
CD
10594 * elf/dl-lookup.c (check_match): New function.
10595 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10596 (do_lookup_x): Remove nested function check_match. Use non-nested
10597 function check_match.
10598
ff71cc37
RM
105992014-02-28 Roland McGrath <roland@hack.frob.com>
10600
f08e9a26
RM
10601 * csu/Makefile (generated, before-compile): Use += rather than =.
10602 * catgets/Makefile (generated, generated-dirs): Likewise.
10603 * debug/Makefile (generated): Likewise.
10604 * dlfcn/Makefile (generated): Likewise.
10605 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10606 * iconvdata/Makefile (before-compile, generated): Likewise.
10607 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10608 * libio/Makefile (generated): Likewise.
10609 * malloc/Makefile (generated): Likewise.
10610 * manual/Makefile (generated, generated-dirs): Likewise.
10611 * misc/Makefile (generated): Likewise.
10612 * posix/Makefile (generated): Likewise.
10613 * resolv/Makefile (generated): Likewise.
10614 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10615 * timezone/Makefile (generated, generated-dirs): Likewise.
10616
ff71cc37
RM
10617 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10618
fe13a20c
AZ
106192014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10620
57f41c40
AS
10621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10622 power8 implementation.
10623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10624 file: POWER8 llround ifunc implementation.
10625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10626 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
10627 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10628 POWER8 llround implementation.
10629
57f41c40
AS
10630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10631 power8 implementation.
10632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10633 file: POWER8 llrint ifunc implementation.
10634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10635 Add POWER8 implementation.
1ad8950a
AZ
10636 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10637 POWER8 llrint implementation.
10638
57f41c40
AS
10639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10640 power8 implementation.
10641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10642 file: POWER8 finite ifunc implementation.
10643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10644 Add POWER8 implementation.
cac626d6
AZ
10645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10646 Likewise.
10647 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10648 POWER8 finite implementation.
10649 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10650
57f41c40
AS
10651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10652 power8 implementation.
10653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10654 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
10655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10656 POWER8 implementation.
10657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10658 Likewise.
57f41c40
AS
10659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10660 isinf implementation.
4393fc11
AZ
10661 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10662
57f41c40
AS
10663 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10664 (INIT_ARCH): Add hwcap2 initialization.
10665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10666 power8 implementation.
10667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10668 file: POWER8 isnan ifunc implementation.
487972ae
AZ
10669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10670 POWER8 implementation.
10671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10672 Likewise.
57f41c40
AS
10673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10674 isnan implementation.
487972ae
AZ
10675 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10676
7d92b787
JY
106772014-02-27 Joey Ye <joey.ye@arm.com>
10678
10679 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10680 (_FP_NANFRAC_Q): Set to zero.
10681
1cadc858
SP
106822014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10683
10684 [BZ #16623]
10685 * math/auto-libm-test-in: New test inputs.
10686 * math/auto-libm-test-out: Regenerate.
10687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10688 and DA.
10689 (__cos): Likewise.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10691
f8c17e79
JM
106922014-02-27 Joseph Myers <joseph@codesourcery.com>
10693
10694 * scripts/evaluate-test.sh: Take new argument indicating whether
10695 failure is expected.
10696 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10697 indicating whether failure is expected.
10698 * conform/Makefile (test-xfail-run-conformtest): New variable.
10699 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10700 level.
10701 * posix/Makefile (test-xfail-annexc): New variable.
10702 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10703
a5f891ac
JM
107042014-02-26 Joseph Myers <joseph@codesourcery.com>
10705
10706 * argp/Makefile: Include Makeconfig immediately after defining
10707 subdir.
10708 * assert/Makefile: Likewise.
10709 * benchtests/Makefile: Likewise.
10710 * catgets/Makefile: Likewise.
10711 * conform/Makefile: Likewise.
10712 * crypt/Makefile: Likewise.
10713 * csu/Makefile: Likewise.
10714 (all): Remove target.
10715 * ctype/Makefile: Include Makeconfig immediately after defining
10716 subdir.
10717 * debug/Makefile: Likewise.
10718 * dirent/Makefile: Likewise.
10719 * dlfcn/Makefile: Likewise.
10720 * gmon/Makefile: Likewise.
10721 * gnulib/Makefile: Likewise.
10722 * grp/Makefile: Likewise.
10723 * gshadow/Makefile: Likewise.
10724 * hesiod/Makefile: Likewise.
10725 * hurd/Makefile: Likewise.
10726 (all): Remove target.
10727 * iconvdata/Makefile: Include Makeconfig immediately after
10728 defining subdir.
10729 * inet/Makefile: Likewise.
10730 * intl/Makefile: Likewise.
10731 * io/Makefile: Likewise.
10732 * libio/Makefile: Likewise.
10733 (all): Remove target.
10734 * locale/Makefile: Include Makeconfig immediately after defining
10735 subdir.
10736 * login/Makefile: Likewise.
10737 * mach/Makefile: Likewise.
10738 (all): Remove target.
10739 * malloc/Makefile: Include Makeconfig immediately after defining
10740 subdir.
10741 (all): Remove target.
10742 * manual/Makefile: Include Makeconfig immediately after defining
10743 subdir.
10744 * math/Makefile: Likewise.
10745 * misc/Makefile: Likewise.
10746 * nis/Makefile: Likewise.
10747 * nss/Makefile: Likewise.
10748 * po/Makefile: Likewise.
10749 (all): Remove target.
10750 * posix/Makefile: Include Makeconfig immediately after defining
10751 subdir.
10752 * pwd/Makefile: Likewise.
10753 * resolv/Makefile: Likewise.
10754 * resource/Makefile: Likewise.
10755 * rt/Makefile: Likewise.
10756 * setjmp/Makefile: Likewise.
10757 * shadow/Makefile: Likewise.
10758 * signal/Makefile: Likewise.
10759 * socket/Makefile: Likewise.
10760 * soft-fp/Makefile: Likewise.
10761 * stdio-common/Makefile: Likewise.
10762 * stdlib/Makefile: Likewise.
10763 * streams/Makefile: Likewise.
10764 * string/Makefile: Likewise.
10765 * sunrpc/Makefile: Likewise.
10766 (all): Remove target.
10767 * sysvipc/Makefile: Include Makeconfig immediately after defining
10768 subdir.
10769 * termios/Makefile: Likewise.
10770 * time/Makefile: Likewise.
10771 * timezone/Makefile: Likewise.
10772 (all): Remove target.
10773 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10774 subdir.
10775 * wctype/Makefile: Likewise.
10776
5b456e9d
SE
107772014-02-26 Steve Ellcey <sellcey@mips.com>
10778
10779 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10780 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10781 (libc_feholdexcept_setround_mips): Ditto.
10782 (libc_feholdsetround): New.
10783 (libc_feholdsetroundf): New.
10784 (libc_feholdsetroundl): New.
10785 (libc_feupdateenv_test_mips): New.
10786 (libc_feupdateenv_test): New.
10787 (libc_feupdateenv_testf): New.
10788 (libc_feupdateenv_testl): New.
10789 (libc_feresetround): New.
10790 (libc_feresetroundf): New.
10791 (libc_feresetroundl): New.
10792 (libc_fetestexcept_mips): New.
10793 (libc_fetestexcept): New.
10794 (libc_fetestexceptf): New.
10795 (libc_fetestexceptl): New.
10796 (HAVE_RM_CTX): New.
10797 (libc_feholdexcept_setround_mips_ctx): New.
10798 (libc_feholdexcept_setround_ctx): New.
10799 (libc_feholdexcept_setroundf_ctx): New.
10800 (libc_feholdexcept_setroundl_ctx): New.
10801 (libc_fesetenv_mips_ctx): New.
10802 (libc_fesetenv_ctx): New.
10803 (libc_fesetenv_ctxf): New.
10804 (libc_fesetenv_ctxl): New.
10805 (libc_feupdateenv_mips_ctx): New.
10806 (libc_feupdateenv_ctx): New.
10807 (libc_feupdateenvf_ctx): New.
10808 (libc_feupdateenvl_ctx): New.
10809 (libc_feholdsetround_mips_ctx): New.
10810 (libc_feholdsetround_ctx): New.
10811 (libc_feholdsetroundf_ctx): New.
10812 (libc_feholdsetroundl_ctx): New.
10813 (libc_feresetround_mips_ctx): New.
10814 (libc_feresetround_ctx): New.
10815 (libc_feresetroundf_ctx): New.
10816 (libc_feresetroundl_ctx): New.
10817
085d0e35
CD
108182014-02-26 Carlos O'Donell <carlos@redhat.com>
10819
f067bf1f
CD
10820 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10821
085d0e35
CD
10822 * manual/ipc.texi: New file.
10823 * manual/Makefile (chapters): Add ipc.
10824 * manual/job.texi: Add "Inter-Process Communication" to next.
10825 * manual/process.texi: Add "Inter-Process Communication" to prev.
10826
86e58c08
AZ
108272014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10828
10829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10830
4248f0da
OB
108312014-02-26 Ondřej Bílka <neleai@seznam.cz>
10832
10833 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10834
cf822e3c
OB
10835 * manual/arith.texi: Fix spaces after sentences.
10836 * manual/charset.texi: Likewise.
10837 * manual/errno.texi: Likewise.
10838 * manual/install.texi: Likewise.
10839 * manual/llio.texi: Likewise.
10840 * manual/locale.texi: Likewise.
10841 * manual/maint.texi: Likewise.
10842 * manual/math.texi: Likewise.
10843 * manual/memory.texi: Likewise.
10844 * manual/message.texi: Likewise.
10845 * manual/probes.texi: Likewise.
10846 * manual/resource.texi: Likewise.
10847 * manual/signal.texi: Likewise.
10848 * manual/socket.texi: Likewise.
10849 * manual/stdio.texi: Likewise.
10850 * manual/string.texi: Likewise.
10851 * manual/time.texi: Likewise.
10852 * manual/users.texi: Likewise.
10853
ade40b10
CD
108542014-02-25 Carlos O'Donell <carlos@redhat.com>
10855
10856 [BZ #16632]
10857 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10858 _DEFAULT_SOURCE is defined.
10859
d0503676
CD
108602014-02-25 Ulrich Drepper <drepper@gmail.com>
10861 Carlos O'Donell <carlos@redhat.com>
10862
10863 [BZ #16613]
10864 * elf/dl-tls.c (_dl_count_modids): New function.
10865 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10866 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10867 audit library and increment generation counter.
10868 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10869 * elf/tst-audit9.c: New file.
10870 * elf/tst-auditmod9a.c: New file.
10871 * elf/tst-auditmod9b.c: New file.
10872 * elf/Makefile: Add rules to build and run tst-audit9.
10873
4cbf380c
FW
108742014-02-25 Florian Weimer <fweimer@redhat.com>
10875
10876 [BZ #15347]
10877 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10878
80a56cc3
WN
108792014-02-25 Will Newton <will.newton@linaro.org>
10880
10881 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10882 (__longjmp): Restore sp and lr before restoring callee
10883 saved registers. Add longjmp and longjmp_target
10884 SystemTap probe point.
10885 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10886 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10887 Define to zero to match jmpbuf layout.
10888 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10889 (__sigsetjmp): Save sp and lr before saving callee
10890 saved registers. Add setjmp SystemTap probe point.
10891
3ea0f74e
SL
108922014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10893
10894 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10895
b04acb26
AS
108962014-02-24 Andreas Schwab <schwab@suse.de>
10897
10898 [BZ #15804]
10899 * elf/pldd.c (wait_for_ptrace_stop): New function.
10900 (main): Call it after attaching.
10901
098ad55c
RM
109022014-02-22 Roland McGrath <roland@hack.frob.com>
10903
d4ec6ae1
RM
10904 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10905 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10906 Versions files is now verboten.
10907 * hurd/Versions (libc: GLIBC_2.0):
10908 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10909 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10910 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10911 * mach/Versions: Likewise.
10912
098ad55c
RM
10913 * csu/Versions: Remove unused %include.
10914 * resolv/Versions: Likewise.
10915
acd7f096
JM
109162014-02-21 Joseph Myers <joseph@codesourcery.com>
10917
f0881698
JM
10918 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10919 ($(objpfx)check-local-headers.out): Likewise.
10920 ($(objpfx)begin-end-check.out): Likewise.
10921 * Makerules (check-abi-%.out): Likewise.
10922 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10923 ($(objpfx)test2.cat): Likewise.
10924 ($(objpfx)de/libc.cat): Likewise.
10925 ($(objpfx)test-gencat.out): Likewise.
10926 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10927 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10928 ($(objpfx)noload-mem): Likewise.
10929 ($(objpfx)tst-pathopt.out): Likewise.
10930 ($(objpfx)tst-rtld-load-self.out): Likewise.
10931 ($(objpfx)tst-array1-cmp.out): Likewise.
10932 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10933 ($(objpfx)tst-array2-cmp.out): Likewise.
10934 ($(objpfx)tst-array3-cmp.out): Likewise.
10935 ($(objpfx)tst-array4-cmp.out): Likewise.
10936 ($(objpfx)tst-array5-cmp.out): Likewise.
10937 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10938 ($(objpfx)check-textrel.out): Likewise.
10939 ($(objpfx)check-execstack.out): Likewise.
10940 ($(objpfx)check-localplt.out): Likewise.
10941 ($(objpfx)order2-cmp.out): Likewise.
10942 ($(objpfx)tst-leaks1-mem): Likewise.
10943 ($(objpfx)tst-leaks1-static-mem): Likewise.
10944 ($(objpfx)tst-initorder-cmp.out): Likewise.
10945 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10946 ($(objpfx)tst-unused-dep.out): Likewise.
10947 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10948 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10949 * iconv/Makefile (test-iconvconfig): Likewise.
10950 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10951 ($(objpfx)iconv-test.out): Likewise.
10952 ($(objpfx)tst-tables.out): Likewise.
10953 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10954 ($(objpfx)tst-gettext.out): Likewise.
10955 ($(objpfx)tst-translit.out): Likewise.
10956 ($(objpfx)tst-gettext2.out): Likewise.
10957 ($(objpfx)tst-gettext4.out): Likewise.
10958 ($(objpfx)tst-gettext6.out): Likewise.
10959 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10960 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10961 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10962 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10963 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10964 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10965 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10966 ($(objpfx)wordexp-tst.out): Likewise.
10967 ($(objpfx)annexc.out): Likewise.
10968 ($(objpfx)tst-fnmatch-mem): Likewise.
10969 ($(objpfx)bug-regex2-mem): Likewise.
10970 ($(objpfx)bug-regex14-mem): Likewise.
10971 ($(objpfx)bug-regex21-mem): Likewise.
10972 ($(objpfx)bug-regex31-mem): Likewise.
10973 ($(objpfx)tst-vfork3-mem): Likewise.
10974 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10975 ($(objpfx)tst-pcre-mem): Likewise.
10976 ($(objpfx)tst-boost-mem): Likewise.
10977 ($(objpfx)tst-getconf.out): Likewise.
10978 ($(objpfx)bug-ga2-mem): Likewise.
10979 ($(objpfx)bug-glob2-mem): Likewise.
10980 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10981 ($(objpfx)mtrace-tst-leaks2): Likewise.
10982 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10983 ($(objpfx)tst-printf.out): Likewise.
10984 ($(objpfx)tst-setvbuf1.out): Likewise.
10985 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10986 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10987 ($(objpfx)tst-fmtmsg.out): Likewise.
10988 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10989 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10990
acd7f096
JM
10991 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10992 * bits/sigaction.h [__USE_MISC]: Likewise.
10993 * bits/waitstatus.h: Update #endif comments.
10994 * ctype/ctype.h: Likewise.
10995 * dirent/dirent.h: Likewise.
10996 [__USE_MISC]: Remove redundant conditionals.
10997 * grp/grp.h: Update #endif comments.
10998 [__USE_GNU]: Remove redundant conditionals.
10999 [__USE_MISC]: Likewise.
11000 * inet/netinet/in.h [__USE_GNU]: Likewise.
11001 * io/sys/stat.h [__USE_MISC]: Likewise.
11002 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11003 * libio/bits/stdio.h: Update #endif comments.
11004 [__USE_MISC]: Remove redundant conditionals.
11005 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11006 * libio/stdio.h: Update #endif comments.
11007 [__USE_MISC]: Remove redundant conditionals.
11008 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11009 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11010 * math/math.h: Update #else and #endif comments.
11011 [__USE_MISC]: Remove redundant conditionals.
11012 * misc/sys/uio.h: Update #endif comments.
11013 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11014 * posix/glob.h [__USE_MISC]: Likewise.
11015 * posix/sys/types.h: Update #endif comments.
11016 [__USE_MISC]: Remove redundant conditionals.
11017 * posix/sys/wait.h: Update #endif comments.
11018 [__USE_MISC]: Remove redundant conditionals.
11019 * posix/unistd.h: Update #endif comments.
11020 [__USE_MISC]: Remove redundant conditionals.
11021 * pwd/pwd.h [__USE_GNU]: Likewise.
11022 [__USE_MISC]: Likewise.
11023 * resolv/netdb.h [__USE_GNU]: Likewise.
11024 * signal/signal.h: Update #endif comments.
11025 [__USE_MISC]: Remove redundant conditionals.
11026 * stdlib/stdlib.h: Update #else and #endif comments.
11027 [__USE_MISC]: Remove redundant conditionals.
11028 [__USE_GNU]: Likewise.
11029 * string/bits/string2.h [__USE_MISC]: Likewise.
11030 * string/string.h: Update #endif comments.
11031 [__USE_MISC]: Remove redundant conditionals.
11032 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11033 Likewise.
11034 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11035 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11036 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11037 Likewise.
11038 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11039 Likewise.
11040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11041 comments.
11042 [__USE_MISC]: Remove redundant conditionals.
11043 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11044 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11045 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11046 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11047 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11050 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11051 Likewise.
11052 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11054 Likewise.
11055 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11056 Likewise.
11057 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11058 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11059 Likewise.
11060 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11061 Likewise.
11062 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11063 * sysdeps/x86/bits/string.h: Update #endif comments.
11064 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11065 conditionals.
11066 * time/sys/time.h: Update #endif comments.
11067 * time/time.h: Likewise.
11068 [__USE_MISC]: Remove redundant conditionals.
11069
a5d82e4e
YG
110702014-02-21 Yury Gribov <y.gribov@samsung.com>
11071
11072 [BZ #16600]
11073 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11074
9a80491d
AS
110752014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11076
11077 * Versions.def (librt): Add GLIBC_2.17.
11078
105fa381
AC
110792014-02-21 Adam Conrad <adconrad@0c3.net>
11080
11081 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11082 synonym for _SYS_AUXV_H to allow direct inclusion.
11083 * sysdeps/sparc/bits/hwcap.h: Likewise.
11084 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11085 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11086 * sysdeps/sparc/sysdep.h: Likewise.
11087
b8cd1c4e
SP
110882014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11089
11090 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11091
bd939d23
RS
110922014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11093
11094 * benchtests/bench-strrchr.c: Print length instead of position.
11095
5d7b57ca
JM
110962014-02-20 Joseph Myers <joseph@codesourcery.com>
11097
bc688c10
JM
11098 [BZ #16611]
11099 * sysdeps/unix/sysv/linux/kernel-features.h
11100 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11101 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11102 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11103 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11104 Likewise.
11105 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11106 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11107 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11108 (__ASSUME_SENDMMSG): Define instead of using previous
11109 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11110 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11111 (__ASSUME_SENDMMSG_SYSCALL): Define.
11112 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11113 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11114 Likewise.
11115 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11116 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11117 Likewise.
11118 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11119 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11120 Likewise.
11121 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11122 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11123 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11124 [__ASSUME_SENDMMSG]: Change conditionals to
11125 [__ASSUME_SENDMMSG_SOCKETCALL].
11126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11127 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11128 Define.
11129 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11130 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11131 Likewise.
11132 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11133 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11134 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11135 [!__ASSUME_SENDMMSG]: Change conditional to
11136 [!__ASSUME_SENDMMSG_SOCKETCALL].
11137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11138 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11139 Define.
11140
0e31b18c
JM
11141 [BZ #16610]
11142 * sysdeps/unix/sysv/linux/kernel-features.h
11143 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11144 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11145 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11146 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11147 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11148 [__i386__ || __sparc__]
11149 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11150 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11151 (__ASSUME_RECVMMSG): Define instead of using previous
11152 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11153 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11154 (__ASSUME_RECVMMSG_SYSCALL): Define.
11155 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11156 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11157 Likewise.
11158 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11159 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11160 Likewise.
11161 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11162 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11163 Likewise.
11164 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11165 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11166 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11167 [__ASSUME_RECVMMSG]: Change condition to
11168 [__ASSUME_RECVMMSG_SOCKETCALL].
11169 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11170 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11171 Define.
11172 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11173 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11174 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11175 Likewise.
11176 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11177 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11178 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11179 [!__ASSUME_RECVMMSG]: Change condition to
11180 [!__ASSUME_RECVMMSG_SOCKETCALL].
11181 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11182 (__ASSUME_RECVMMSG_SYSCALL): Define.
11183
dd481ccf
JM
11184 [BZ #16609]
11185 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11186 __powerpc__ || __s390__ || __sh__ || __sparc__]
11187 (__ASSUME_SOCKETCALL): Define.
11188 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11189 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11190 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11191 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11192 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11193 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11194 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11195 (__ASSUME_ACCEPT4): Define instead of using previous
11196 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11197 __powerpc__ || __sparc__ || __s390__)] condition.
11198 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11199 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11200 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11201 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11202 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11203 [!__ASSUME_ACCEPT4]: Change condition to
11204 [!__ASSUME_ACCEPT4_SOCKETCALL].
11205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11206 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11207 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11209 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11210 __ASSUME_ACCEPT4_SYSCALL.
11211 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11212 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11213 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11214 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11215 __ASSUME_ACCEPT4_SYSCALL.
11216 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11217 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11218 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11219 [__ASSUME_ACCEPT4]: Change condition to
11220 [__ASSUME_ACCEPT4_SOCKETCALL].
11221 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11222 (__ASSUME_SOCKETCALL): Define.
11223 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11225 (__ASSUME_SOCKETCALL): Define.
11226 (__ASSUME_ACCEPT4): Remove.
11227 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11228 Define.
11229 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11230 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11231 Likewise.
11232 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11233 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11234
5d7b57ca
JM
11235 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11236 macro.
11237 (HWCAP_ARM_LPAE): Likewise.
11238 (HWCAP_ARM_EVTSTRM): Likewise.
11239 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11240 Add vpfd32, lpae and evtstrm.
11241 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11242 Increase to 22.
11243
63689d61
JM
112442014-02-19 Joseph Myers <joseph@codesourcery.com>
11245
11246 * math/auto-libm-test-in: Add tests of clog10.
11247 * math/auto-libm-test-out: Regenerated.
11248 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11249 * sysdeps/i386/fpu/libm-test-ulps: Update.
11250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11251
ab09bf61
AS
112522014-02-18 Andreas Schwab <schwab@suse.de>
11253
11254 [BZ #16574]
11255 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11256 Store non-zero if the second buffer was newly allocated.
11257 (send_dg): Likewise.
11258 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11259 to send_vc and send_dg.
11260 (res_nsend): Pass NULL for ansp2_malloced.
11261 * resolv/res_query.c (__libc_res_nquery): Add parameter
11262 answerp2_malloced and pass it down to __libc_res_nsend.
11263 (res_nquery): Pass additional NULL to __libc_res_nquery.
11264 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11265 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11266 second answer buffer if answerp2_malloced was set.
11267 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11268 (__libc_res_nquerydomain): Add parameter
11269 answerp2_malloced and pass it down to __libc_res_nquery.
11270 (res_nquerydomain): Pass additional NULL to
11271 __libc_res_nquerydomain.
11272 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11273 additional NULL to __libc_res_nsend and __libc_res_nquery.
11274 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11275 additional NULL to __libc_res_nsearch.
11276 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11277 parameter of __libc_res_nsearch to check for separately allocated
11278 second buffer.
11279 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11280 __libc_res_nquery.
11281 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11282 additional NULL to __libc_res_nquery.
11283 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11284 __libc_res_nsearch.
11285 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11286 * include/resolv.h: Update prototypes of __libc_res_nquery,
11287 __libc_res_nsearch, __libc_res_nsend.
11288
a4fb7861
JM
112892014-02-18 Joseph Myers <joseph@codesourcery.com>
11290
c6af2d89
JM
11291 * math/auto-libm-test-in: Add tests of fma.
11292 * math/auto-libm-test-out: Regenerated.
11293 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11294 (fma_towardzero_test_data): Likewise.
11295 (fma_downward_test_data): Likewise.
11296 (fma_upward_test_data): Likewise.
11297 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11298 mpc_mode.
11299 (rounding_modes): Add values for new field.
11300 (func_calc_method): Add value mpfr_fff_f.
11301 (func_calc_desc): Add mpfr_fff_f union field.
11302 (test_function): Add field exact_args.
11303 (FUNC): Add macro argument EXACT_ARGS.
11304 (FUNC_mpfr_f_f): Update call to FUNC.
11305 (FUNC_mpfr_f_f): Likewise.
11306 (FUNC_mpfr_ff_f): Likewise.
11307 (FUNC_mpfr_if_f): Likewise.
11308 (FUNC_mpc_c_f): Likewise.
11309 (FUNC_mpc_c_c): Likewise.
11310 (test_functions): Add fma. Update calls to FUNC.
11311 (handle_input_arg): Add argument exact_args.
11312 (add_test): Update call to handle_input_arg.
11313 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11314 (output_for_one_input_case): Update call to calc_generic_results.
11315 Recalculate exact zero results in each rounding mode.
11316
a4fb7861
JM
11317 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11318 non-negative before setting low bit.
11319 * math/auto-libm-test-in: Mark one asin test possibly having
11320 spurious underflow.
11321 * math/auto-libm-test-out: Regenerated.
11322 * sysdeps/i386/fpu/libm-test-ulps: Update.
11323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11324
ef114eaf
DH
113252014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11326
2b7f4f2c
SP
11327 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11328 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11329 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
11330 * README: Add missing listing for microblaze*-*-linux-gnu.
11331
8125aedc
AM
113322014-02-16 Ondřej Bílka <neleai@seznam.cz>
11333
11334 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11335 duplicate code
11336
c70a4b1d
MF
113372014-02-16 Mike Frysinger <vapier@gentoo.org>
11338
11339 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11340 * sysdeps/unix/sysv/linux/ia64: Move directory from
11341 ports/sysdeps/unix/sysv/linux/ia64.
11342 * README: Update listing for ia64-*-linux-gnu.
11343
591aeaf7
TD
113442014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11345 Joseph Myers <joseph@codesourcery.com>
11346
11347 * Makeconfig (test-name): New variable.
11348 (evaluate-test): Likewise.
11349 * Makerules (do-test-clean): Remove .test-result files.
11350 (common-mostlyclean): Likewise.
11351 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11352 * scripts/evaluate-test.sh: New file.
11353
6e89caf1
JM
113542014-02-14 Joseph Myers <joseph@codesourcery.com>
11355
7f98f180
JM
11356 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11357 separate $(objpfx)tst-fopenloc-cmp.out and
11358 $(objpfx)tst-fopenloc-mem.out targets.
11359 (tests): Update dependencies.
11360 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11361 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11362 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11363 (tst-rxspencer-no-utf8-ARGS): New variable.
11364 (tst-rxspencer-no-utf8-ENV): Likewise.
11365 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11366 instead of $(objpfx)tst-rxspencer-mem.
11367 ($(objpfx)tst-rxspencer-mem): Change target to
11368 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11369 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11370 * posix/tst-rxspencer-no-utf8.c: New file.
11371
6e89caf1
JM
11372 * elf/Makefile ($(objpfx)order.out): Remove rule.
11373 [$(run-built-tests) = yes] (tests): Depend on
11374 $(objpfx)order-cmp.out.
11375 ($(objpfx)order-cmp.out): New rule.
11376 [$(run-built-tests) = yes] (tests): Depend on
11377 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11378 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11379 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11380 $(objpfx)tst-array5-static-cmp.out.
11381 ($(objpfx)tst-array1.out): Remove rule.
11382 ($(objpfx)tst-array1-cmp.out): New rule.
11383 ($(objpfx)tst-array1-static.out): Remove rule.
11384 ($(objpfx)tst-array1-static-cmp.out): New rule.
11385 ($(objpfx)tst-array2.out): Remove rule.
11386 ($(objpfx)tst-array2-cmp.out): New rule.
11387 ($(objpfx)tst-array3.out): Remove rule.
11388 ($(objpfx)tst-array3-cmp.out): New rule.
11389 ($(objpfx)tst-array4.out): Remove rule.
11390 ($(objpfx)tst-array4-cmp.out): New rule.
11391 ($(objpfx)tst-array5.out): Remove rule.
11392 ($(objpfx)tst-array5-cmp.out): New rule.
11393 ($(objpfx)tst-array5-static.out): Remove rule.
11394 ($(objpfx)tst-array5-static-cmp.out): New rule.
11395 [$(run-built-tests) = yes] (tests): Depend on
11396 $(objpfx)order2-cmp.out.
11397 ($(objpfx)order2.out): Remove rule.
11398 ($(objpfx)order2-cmp.out): New rule.
11399 ($(objpfx)tst-initorder.out): Remove rule.
11400 [$(run-built-tests) = yes] (tests): Depend on
11401 $(objpfx)tst-initorder-cmp.out.
11402 ($(objpfx)tst-initorder-cmp.out): New rule.
11403 ($(objpfx)tst-initorder2.out): Remove rule.
11404 [$(run-built-tests) = yes] (tests): Depend on
11405 $(objpfx)tst-initorder2-cmp.out.
11406 ($(objpfx)tst-initorder2-cmp.out): New rule.
11407 [$(run-built-tests) = yes] (tests): Depend on
11408 $(objpfx)tst-unused-dep-cmp.out.
11409 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11410 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11411 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11412 on $(objpfx)tst-setvbuf1-cmp.out.
11413 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11414 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11415 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11416 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11417 ($(objpfx)tst-svc.out): Remove rule.
11418 ($(objpfx)tst-svc-cmp.out): New rule.
11419
ed9a38e2
JM
114202014-02-13 Joseph Myers <joseph@codesourcery.com>
11421
11422 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11423 * ctype/ctype.h [__USE_MISC]: Likewise.
11424 * dirent/dirent.h [__USE_MISC]: Likewise.
11425 * grp/grp.h [__USE_MISC]: Likewise.
11426 * io/fcntl.h [__USE_MISC]: Likewise.
11427 * io/sys/stat.h [__USE_MISC]: Likewise.
11428 * libio/stdio.h [__USE_MISC]: Likewise.
11429 * posix/unistd.h [__USE_MISC]: Likewise.
11430 * pwd/pwd.h [__USE_MISC]: Likewise.
11431 * stdlib.h [__USE_MISC]: Likewise.
11432 * string/bits/string2.h [__USE_MISC]: Likewise.
11433 * string/string.h [__USE_MISC]: Likewise.
11434 * time/time.h [__USE_MISC]: Likewise.
11435
d6680619
AS
114362014-02-13 Andreas Schwab <schwab@suse.de>
11437
11438 [BZ #16574]
11439 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11440 second answer buffer if it was separately allocated.
11441
ace614b8
JM
114422014-02-12 Joseph Myers <joseph@codesourcery.com>
11443
743151ae
JM
11444 * sysdeps/mips/math-tests.h: Include <features.h>.
11445 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11446 (ROUNDING_TESTS_long_double): Do not define.
11447 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11448 (EXCEPTION_TESTS_long_double): Likewise.
11449 * sysdeps/mips/mips64/libm-test-ulps: Update.
11450
498afc54
JM
11451 * include/features.h (__USE_BSD): Remove macro definitions.
11452 (__USE_SVID): Likewise.
11453 (_BSD_SOURCE): Likewise.
11454 (_SVID_SOURCE): Likewise.
11455 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11456 from definition of _DEFAULT_SOURCE.
11457 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11458 [_DEFAULT_SOURCE].
11459 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11460 * bits/mman.h [__USE_BSD]: Likewise.
11461 * bits/termios.h [__USE_BSD]: Likewise.
11462 * bits/waitstatus.h [__USE_BSD]: Likewise.
11463 * ctype/ctype.h [__USE_SVID]: Likewise.
11464 * dirent/dirent.h [__USE_BSD]: Likewise.
11465 * grp/grp.h [__USE_SVID]: Likewise.
11466 [__USE_BSD]: Likewise.
11467 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11468 * io/fcntl.h [__USE_BSD]: Likewise.
11469 * io/ftw.h [__USE_BSD]: Likewise.
11470 * io/sys/stat.h [__USE_BSD]: Likewise.
11471 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11472 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11473 * libio/stdio.h [__USE_SVID]: Likewise.
11474 [__USE_BSD]: Likewise.
11475 * math/math.h [__USE_SVID]: Likewise.
11476 [__USE_BSD]: Likewise.
11477 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11478 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11479 * misc/search.h [__USE_SVID]: Likewise.
11480 * misc/sys/mman.h [__USE_BSD]: Likewise.
11481 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11482 * misc/sys/uio.h [__USE_BSD]: Likewise.
11483 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11484 * posix/glob.h [__USE_BSD]: Likewise.
11485 * posix/regex.h [__USE_BSD]: Likewise.
11486 * posix/sys/types.h [__USE_BSD]: Likewise.
11487 [__USE_SVID]: Likewise.
11488 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11489 * posix/sys/wait.h [__USE_BSD]: Likewise.
11490 [__USE_SVID]: Likewise.
11491 * posix/unistd.h [__USE_BSD]: Likewise.
11492 [__USE_SVID]: Likewise.
11493 * pwd/pwd.h [__USE_SVID]: Likewise.
11494 * resolv/netdb.h [__USE_BSD]: Likewise.
11495 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11496 * signal/signal.h [__USE_BSD]: Likewise.
11497 [__USE_SVID]: Likewise.
11498 * socket/sys/socket.h [__USE_BSD]: Likewise.
11499 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11500 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11501 [__USE_SVID]: Likewise.
11502 * string/bits/string2.h [__USE_BSD]: Likewise.
11503 [__USE_SVID]: Likewise.
11504 * string/bits/string3.h [__USE_BSD]: Likewise.
11505 * string/endian.h [__USE_BSD]: Likewise.
11506 * string/string.h [__USE_SVID]: Likewise.
11507 [__USE_BSD]: Likewise.
11508 * string/strings.h [__USE_BSD]: Likewise.
11509 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11510 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11511 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11512 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11513 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11514 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11515 Likewise.
11516 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11517 Likewise.
11518 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11519 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11520 Likewise.
11521 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11522 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11523 Likewise.
11524 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11525 Likewise.
11526 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11527 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11529 Likewise.
11530 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11531 Likewise.
11532 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11533 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11534 * termios/termios.h [__USE_BSD]: Likewise.
11535 * time/sys/time.h [__USE_BSD]: Likewise.
11536 * time/time.h [__USE_BSD]: Likewise.
11537 [__USE_SVID]: Likewise.
11538
dd7b064c
JM
11539 * Makefile (subdir_targets): Remove subdir_lint.out.
11540
a2c4c199
JM
11541 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11542 (do-tst-printf): Likewise.
11543 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11544 $(objpfx)tst-printf.out.
11545
8756f740
JM
11546 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11547
1b6dd3f1
JM
11548 * Makerules (check-abi-%): Change target to
11549 $(objpfx)check-abi-%.out.
11550 (check-abi target): Update dependencies.
11551 (check-abi-pattern variable): Redirect output of diff to $@.
11552 (check-abi variable): Likewise.
11553 * elf/Makefile (check-abi): Update dependencies.
11554
ace614b8
JM
11555 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11556 unused.
11557 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11558 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11559 subnormal range.
11560 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11561 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11562 value has largest subnormal exponent.
11563 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11564 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11565 * sysdeps/aarch64/soft-fp/sfp-machine.h
11566 (_FP_TININESS_AFTER_ROUNDING): New macro.
11567 * sysdeps/alpha/soft-fp/sfp-machine.h
11568 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11569 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11570 Likewise.
11571 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11572 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11573 * sysdeps/mips/soft-fp/sfp-machine.h
11574 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11575 * sysdeps/powerpc/soft-fp/sfp-machine.h
11576 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11577 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11578 Likewise.
11579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11580 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11581 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11582 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11583 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11584 Likewise.
11585
fbfdf9cb
DAS
115862014-02-12 Dylan Alex Simon <dylan@dylex.net>
11587
11588 [BZ #16545]
11589 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11590 model 1.
11591
68b7efaa
RH
115922014-02-12 Richard Henderson <rth@redhat.com>
11593
c70a4b1d 11594 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
11595 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11596 * sysdeps/unix/sysv/linux/alpha: Move directory from
11597 ports/sysdeps/unix/sysv/linux/alpha.
11598 * README: Update listing for alpha-*-linux-gnu.
11599
cb4a2928
JM
116002014-02-11 Joseph Myers <joseph@codesourcery.com>
11601
c941736c
JM
11602 * include/features.h: Update comment documenting feature test
11603 macros.
11604 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11605 _DEFAULT_SOURCE.
11606 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11607 (_SVID_SOURCE): Likewise.
11608 (_DEFAULT_SOURCE): Update description of default features.
11609 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11610 with _GNU_SOURCE.
11611 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11612 (S_ISVTX): Likewise.
11613 * manual/math.texi (Mathematical Constants): Likewise.
11614 * manual/signal.texi (Interrupted Primitives): Likewise.
11615 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11616 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11617 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11618 Don't refer to _SVID_SOURCE in warning text.
11619
e8d8d7ec
JM
11620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11621
cb4a2928
JM
11622 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11623 already defined.
11624 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11625 * sysdeps/mips/dl-lookup.c: Remove.
11626 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11627
7e6424e3
AK
116282014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11629
11630 [BZ #16447]
11631 * math/auto-libm-test-in: Add testcase for expl.
11632 * math/auto-libm-test-out: Regenerate.
11633 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11634 calculation of unsafe.
11635 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11636
75eff3fe
MS
116372014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11638
11639 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11640 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11641 ports/sysdeps/unix/sysv/linux/aarch64.
11642 * README: Update listing for aarch64*-*-linux-gnu.
11643
d35f1e80
WN
116442014-02-11 Will Newton <will.newton@linaro.org>
11645
11646 * manual/probes.texi (Mathematical Function Probes): Use
11647 "triggered" instead of "hit".
11648
7b3436d4
WN
11649 * manual/probes.texi (Internal Probes): Add documentation
11650 of setjmp, longjmp and longjmp_target probes.
11651
b4f12ca3
WN
11652 * include/stap-probe.h: Add comment about probe argument
11653 format.
11654
c13a72b7
WN
11655 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11656 definition. (tr_where, tr_freehook, tr_mallochook,
11657 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11658
195b8165
DM
116592014-02-11 David S. Miller <davem@davemloft.net>
11660
11661 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11662 processing int_tests.
11663
2ad7600b
JM
116642014-02-10 Joseph Myers <joseph@codesourcery.com>
11665
11666 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11667 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11668 * sysdeps/unix/sysv/linux/mips: Move directory from
11669 ports/sysdeps/unix/sysv/linux/mips.
11670 * README: Update listing for mips-*-linux-gnu and
11671 mips64-*-linux-gnu.
11672
73588a72
AS
116732014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11674
11675 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11676 * sysdeps/unix/sysv/linux/m68k: Move directory from
11677 ports/sysdeps/unix/sysv/linux/m68k.
11678 * README: Update listing for m68k-*-linux-gnu.
11679
4372980f
CM
116802014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11681
11682 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11683 * sysdeps/unix/sysv/linux/generic: Move directory from
11684 ports/sysdeps/unix/sysv/linux/generic.
11685 * sysdeps/unix/sysv/linux/tile: Move directory from
11686 ports/sysdeps/unix/sysv/linux/tile.
11687 * README: Update listing for tile*-*-linux-gnu.
11688
a1ffb40e
OB
116892014-02-10 Ondřej Bílka <neleai@seznam.cz>
11690
57f41c40
AS
11691 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11692 __builtin_expect.
a1ffb40e
OB
11693 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11694 * catgets/open_catalog.c (__open_catalog): Likewise.
11695 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11696 * debug/confstr_chk.c: Likewise.
11697 * debug/fread_chk.c (__fread_chk): Likewise.
11698 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11699 * debug/getgroups_chk.c: Likewise.
11700 * debug/mbsnrtowcs_chk.c: Likewise.
11701 * debug/mbsrtowcs_chk.c: Likewise.
11702 * debug/mbstowcs_chk.c: Likewise.
11703 * debug/memcpy_chk.c: Likewise.
11704 * debug/memmove_chk.c: Likewise.
11705 * debug/mempcpy_chk.c: Likewise.
11706 * debug/memset_chk.c: Likewise.
11707 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11708 * debug/strcat_chk.c (__strcat_chk): Likewise.
11709 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11710 * debug/strncat_chk.c (__strncat_chk): Likewise.
11711 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11712 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11713 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11714 * debug/wcpncpy_chk.c: Likewise.
11715 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11716 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11717 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11718 * debug/wcsncpy_chk.c: Likewise.
11719 * debug/wcsnrtombs_chk.c: Likewise.
11720 * debug/wcsrtombs_chk.c: Likewise.
11721 * debug/wcstombs_chk.c: Likewise.
11722 * debug/wmemcpy_chk.c: Likewise.
11723 * debug/wmemmove_chk.c: Likewise.
11724 * debug/wmempcpy_chk.c: Likewise.
11725 * debug/wmemset_chk.c: Likewise.
11726 * dirent/scandirat.c (SCANDIRAT): Likewise.
11727 * dlfcn/dladdr1.c (dladdr1): Likewise.
11728 * dlfcn/dladdr.c (dladdr): Likewise.
11729 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11730 * dlfcn/dlerror.c (__dlerror): Likewise.
11731 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11732 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11733 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11734 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11735 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11736 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11737 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11738 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11739 Likewise.
11740 * elf/dl-conflict.c: Likewise.
11741 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11742 * elf/dl-dst.h: Likewise.
11743 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11744 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11745 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11746 * elf/dl-init.c (call_init, _dl_init): Likewise.
11747 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
11748 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11749 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11750 Likewise.
a1ffb40e
OB
11751 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11752 Likewise.
11753 * elf/dl-minimal.c (__libc_memalign): Likewise.
11754 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11755 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11756 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11757 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
11758 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11759 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
11760 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11761 * elf/dl-writev.h (_dl_writev): Likewise.
11762 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
11763 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11764 (dl_main): Likewise.
a1ffb40e
OB
11765 * elf/setup-vdso.h (setup_vdso): Likewise.
11766 * grp/compat-initgroups.c (compat_call): Likewise.
11767 * grp/fgetgrent.c (fgetgrent): Likewise.
11768 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11769 * grp/putgrent.c (putgrent): Likewise.
11770 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11771 Likewise.
11772 * hurd/hurdinit.c: Likewise.
11773 * iconvdata/8bit-gap.c (struct): Likewise.
11774 * iconvdata/ansi_x3.110.c : Likewise.
11775 * iconvdata/big5.c : Likewise.
11776 * iconvdata/big5hkscs.c : Likewise.
11777 * iconvdata/cp1255.c: Likewise.
11778 * iconvdata/cp1258.c : Likewise.
11779 * iconvdata/cp932.c : Likewise.
11780 * iconvdata/euc-cn.c: Likewise.
11781 * iconvdata/euc-jisx0213.c : Likewise.
11782 * iconvdata/euc-jp.c: Likewise.
11783 * iconvdata/euc-jp-ms.c : Likewise.
11784 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11785 * iconvdata/gb18030.c : Likewise.
11786 * iconvdata/gbbig5.c (const): Likewise.
11787 * iconvdata/gbgbk.c: Likewise.
11788 * iconvdata/gbk.c : Likewise.
11789 * iconvdata/ibm1364.c : Likewise.
11790 * iconvdata/ibm930.c : Likewise.
11791 * iconvdata/ibm932.c: Likewise.
11792 * iconvdata/ibm933.c : Likewise.
11793 * iconvdata/ibm935.c : Likewise.
11794 * iconvdata/ibm937.c : Likewise.
11795 * iconvdata/ibm939.c : Likewise.
11796 * iconvdata/ibm943.c: Likewise.
11797 * iconvdata/iso_11548-1.c: Likewise.
11798 * iconvdata/iso-2022-cn.c : Likewise.
11799 * iconvdata/iso-2022-cn-ext.c : Likewise.
11800 * iconvdata/iso-2022-jp-3.c: Likewise.
11801 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11802 * iconvdata/iso-2022-kr.c : Likewise.
11803 * iconvdata/iso646.c (gconv_end): Likewise.
11804 * iconvdata/iso_6937-2.c : Likewise.
11805 * iconvdata/iso_6937.c : Likewise.
11806 * iconvdata/iso8859-1.c: Likewise.
11807 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11808 * iconvdata/shift_jisx0213.c : Likewise.
11809 * iconvdata/sjis.c : Likewise.
11810 * iconvdata/t.61.c : Likewise.
11811 * iconvdata/tcvn5712-1.c : Likewise.
11812 * iconvdata/tscii.c: Likewise.
11813 * iconvdata/uhc.c : Likewise.
11814 * iconvdata/unicode.c (gconv_end): Likewise.
11815 * iconvdata/utf-16.c (gconv_end): Likewise.
11816 * iconvdata/utf-32.c (gconv_end): Likewise.
11817 * iconvdata/utf-7.c (base64): Likewise.
11818 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11819 * iconv/gconv_close.c (__gconv_close): Likewise.
11820 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
11821 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11822 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11823 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11824 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11825 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
11826 * iconv/iconv.c (iconv): Likewise.
11827 * iconv/iconv_close.c: Likewise.
11828 * iconv/loop.c (SINGLE): Likewise.
11829 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11830 * include/atomic.h: Likewise.
11831 * inet/inet6_option.c (option_alloc): Likewise.
11832 * intl/bindtextdom.c (set_binding_values): Likewise.
11833 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11834 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11835 * intl/localealias.c (read_alias_file): Likewise.
11836 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
11837 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11838 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
11839 * libio/fmemopen.c (fmemopen): Likewise.
11840 * libio/iofgets.c (_IO_fgets): Likewise.
11841 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11842 * libio/iofgetws.c (fgetws): Likewise.
11843 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11844 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
11845 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11846 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
11847 * locale/findlocale.c (_nl_find_locale): Likewise.
11848 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11849 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11850 Likewise.
11851 * locale/setlocale.c (setlocale): Likewise.
11852 * login/programs/pt_chown.c (main): Likewise.
11853 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11854 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
11855 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11856 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
11857 * math/e_exp2l.c: Likewise.
11858 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11859 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11860 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11861 * math/s_catan.c (__catan): Likewise.
11862 * math/s_catanf.c (__catanf): Likewise.
11863 * math/s_catanh.c (__catanh): Likewise.
11864 * math/s_catanhf.c (__catanhf): Likewise.
11865 * math/s_catanhl.c (__catanhl): Likewise.
11866 * math/s_catanl.c (__catanl): Likewise.
11867 * math/s_ccosh.c (__ccosh): Likewise.
11868 * math/s_ccoshf.c (__ccoshf): Likewise.
11869 * math/s_ccoshl.c (__ccoshl): Likewise.
11870 * math/s_cexp.c (__cexp): Likewise.
11871 * math/s_cexpf.c (__cexpf): Likewise.
11872 * math/s_cexpl.c (__cexpl): Likewise.
11873 * math/s_clog10.c (__clog10): Likewise.
11874 * math/s_clog10f.c (__clog10f): Likewise.
11875 * math/s_clog10l.c (__clog10l): Likewise.
11876 * math/s_clog.c (__clog): Likewise.
11877 * math/s_clogf.c (__clogf): Likewise.
11878 * math/s_clogl.c (__clogl): Likewise.
11879 * math/s_csin.c (__csin): Likewise.
11880 * math/s_csinf.c (__csinf): Likewise.
11881 * math/s_csinh.c (__csinh): Likewise.
11882 * math/s_csinhf.c (__csinhf): Likewise.
11883 * math/s_csinhl.c (__csinhl): Likewise.
11884 * math/s_csinl.c (__csinl): Likewise.
11885 * math/s_csqrt.c (__csqrt): Likewise.
11886 * math/s_csqrtf.c (__csqrtf): Likewise.
11887 * math/s_csqrtl.c (__csqrtl): Likewise.
11888 * math/s_ctan.c (__ctan): Likewise.
11889 * math/s_ctanf.c (__ctanf): Likewise.
11890 * math/s_ctanh.c (__ctanh): Likewise.
11891 * math/s_ctanhf.c (__ctanhf): Likewise.
11892 * math/s_ctanhl.c (__ctanhl): Likewise.
11893 * math/s_ctanl.c (__ctanl): Likewise.
11894 * math/w_pow.c: Likewise.
11895 * math/w_powf.c: Likewise.
11896 * math/w_powl.c: Likewise.
11897 * math/w_scalb.c (sysv_scalb): Likewise.
11898 * math/w_scalbf.c (sysv_scalbf): Likewise.
11899 * math/w_scalbl.c (sysv_scalbl): Likewise.
11900 * misc/error.c (error_tail): Likewise.
11901 * misc/pselect.c (__pselect): Likewise.
11902 * nis/nis_callback.c (__nis_create_callback): Likewise.
11903 * nis/nis_call.c (__nisfind_server): Likewise.
11904 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11905 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11906 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11907 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11908 * nis/nis_lookup.c (nis_lookup): Likewise.
11909 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
11910 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11911 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 11912 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
11913 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11914 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11915 * nis/nss_compat/compat-initgroups.c (add_group)
11916 (internal_getgrent_r): Likewise.
11917 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11918 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11919 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11920 (internal_getspnam_r): Likewise.
11921 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11922 (_nss_nis_getaliasbyname_r): Likewise.
11923 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11924 (_nss_nis_getntohost_r): Likewise.
11925 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11926 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11927 (_nss_nis_getgrgid_r): Likewise.
11928 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11929 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11930 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11931 (_nss_nis_gethostbyname4_r): Likewise.
11932 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11933 (initgroups_netid): Likewise.
a1ffb40e 11934 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
11935 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11936 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11937 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11938 (_nss_nis_getprotobynumber_r): Likewise.
11939 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11940 (_nss_nis_getsecretkey): Likewise.
11941 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11942 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11943 (_nss_nis_getpwuid_r): Likewise.
11944 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11945 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11946 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11947 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11948 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11949 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
11950 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11951 Likewise.
57f41c40
AS
11952 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11953 (_nss_nisplus_getntohost_r): Likewise.
11954 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11955 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11956 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11957 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 11958 Likewise.
57f41c40
AS
11959 * nis/nss_nisplus/nisplus-initgroups.c
11960 (_nss_nisplus_initgroups_dyn): Likewise.
11961 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11962 (_nss_nisplus_getnetbyaddr_r): Likewise.
11963 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11964 (_nss_nisplus_getprotobynumber_r): Likewise.
11965 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11966 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
11967 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11968 Likewise.
57f41c40
AS
11969 * nis/nss_nisplus/nisplus-service.c
11970 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11971 (_nss_nisplus_getservbyport_r): Likewise.
11972 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11973 (_nss_nisplus_getspnam_r): Likewise.
11974 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11975 Likewise.
a1ffb40e
OB
11976 * nscd/aicache.c (addhstaiX): Likewise.
11977 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
11978 * nscd/connections.c (register_traced_file, send_ro_fd)
11979 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11980 (main_loop_epoll): Likewise.
a1ffb40e
OB
11981 * nscd/grpcache.c (addgrbyX): Likewise.
11982 * nscd/hstcache.c (addhstbyX): Likewise.
11983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11984 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
11985 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11986 (addinnetgrX): Likewise.
11987 * nscd/nscd-client.h (__nscd_acquire_maplock)
11988 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
11989 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11990 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11991 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11992 Likewise.
11993 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
11995 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11996 (__nscd_get_map_ref): Likewise.
a1ffb40e 11997 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
11998 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11999 Likewise.
a1ffb40e
OB
12000 * nscd/pwdcache.c (addpwbyX): Likewise.
12001 * nscd/selinux.c (preserve_capabilities): Likewise.
12002 * nscd/servicescache.c (addservbyX): Likewise.
12003 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12004 * posix/fnmatch.c (fnmatch): Likewise.
12005 * posix/getopt.c (_getopt_internal_r): Likewise.
12006 * posix/glob.c (glob, glob_in_dir): Likewise.
12007 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
12008 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12009 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
12010 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12011 * resolv/res_init.c: Likewise.
12012 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12013 * resolv/res_query.c (__libc_res_nquery): Likewise.
12014 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12015 Likewise.
12016 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12017 * stdio-common/perror.c (perror): Likewise.
12018 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12019 * stdio-common/tmpnam.c (tmpnam): Likewise.
12020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12021 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
12022 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12023 Likewise.
a1ffb40e
OB
12024 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12025 * stdlib/putenv.c (putenv): Likewise.
12026 * stdlib/setenv.c (__add_to_environ): Likewise.
12027 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12028 * stdlib/strtol_l.c (INTERNAL): Likewise.
12029 * string/memmem.c (memmem): Likewise.
12030 * string/strerror.c (strerror): Likewise.
12031 * string/strnlen.c (__strnlen): Likewise.
12032 * string/test-memmem.c (simple_memmem): Likewise.
12033 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12034 * sunrpc/pm_getport.c (__get_socket): Likewise.
12035 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12036 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
12037 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12038 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
12039 Likewise.
12040 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12041 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12042 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12043 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12044 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
12045 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12046 Likewise.
12047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12048 Likewise.
a1ffb40e
OB
12049 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12050 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12052 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12053 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12056 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12057 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12058 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12059 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12060 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12061 Likewise.
12062 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12063 Likewise.
12064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12065 Likewise.
12066 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12069 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12070 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12071 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12072 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12076 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
12081 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12082 Likewise.
a1ffb40e
OB
12083 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12084 Likewise.
12085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12086 Likewise.
12087 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12088 Likewise.
12089 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12091 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12092 Likewise.
12093 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12094 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12095 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12096 * sysdeps/posix/sleep.c: Likewise.
12097 * sysdeps/posix/tempname.c: Likewise.
12098 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12099 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12100 Likewise.
57f41c40
AS
12101 * sysdeps/powerpc/powerpc32/dl-machine.h
12102 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
12103 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12105 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12106 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12107 Likewise.
12108 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12110 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12112 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12113 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12114 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12115 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12116 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12117 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12119 (elf_machine_lazy_rel): Likewise.
a1ffb40e 12120 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12122 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12123 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12124 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12125 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12126 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12127 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12128 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12129 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12130 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12131 Likewise.
12132 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12133 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12134 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12135 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12136 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12137 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12138 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12139 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12141 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12142 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12143 Likewise.
12144 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12145 (__posix_fallocate64_l64): Likewise.
12146 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12147 (posix_fallocate): Likewise.
57f41c40
AS
12148 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12149 Likewise.
a1ffb40e 12150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
12151 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12152 (getifaddrs_internal): Likewise.
a1ffb40e
OB
12153 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12154 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12155 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12156 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12157 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12158 (__posix_fallocate64_l64): Likewise.
12159 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12160 Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
12162 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12163 (__get_clockfreq): Likewise.
a1ffb40e
OB
12164 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12165 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12166 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12170 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12171 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12172 Likewise.
12173 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12174 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12175 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12176 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12177 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12178 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12179 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12180 Likewise.
12181 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12182 (posix_fallocate): Likewise.
12183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12184 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12185 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
12186 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12187 (elf_machine_rela, elf_machine_rela_relative)
12188 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
12189 * time/asctime.c (asctime_internal): Likewise.
12190 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12191 * time/tzset.c (__tzset_parse_tz): Likewise.
12192 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12193 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12194 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12195 * wcsmbs/wcsmbsload.h: Likewise.
12196
f3d338c9
OB
12197 [BZ #15894]
12198 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12199
57f41c40
AS
12200 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12201 (arena_get2): Remove THREAD_STATS conditionals.
12202 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12203 (__malloc_stats, int): Likewise.
bdfe308a 12204
d674667c
MF
122052014-02-08 Mike Frysinger <vapier@gentoo.org>
12206
12207 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12208 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12209
6349768c
MF
12210 * manual/setjmp.texi: Fix typos/grammar errors.
12211
0b7c7473
MF
12212 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12213 Only return early when n is <= 0. Delete unused return statement.
12214
ac8cc9e3
MF
12215 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12216 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12217 * debug/tst-longjmp_chk3.c: New file.
12218
c5bb8e23
MF
12219 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12220 (test_main): Replace code with set_fortify_handler call.
12221 * debug/test-strcpy_chk.c: Likewise.
12222 * debug/tst-chk1.c: Likewise.
12223 * debug/tst-longjmp_chk.c: Likewise.
12224 * test-skeleton.c: Include fcntl.h & paths.h
12225 (set_fortify_handler): Define.
12226
10444e42
MF
12227 * debug/tst-longjmp_chk.c: Add header comment and include
12228 ../test-skeleton.c.
12229 (do_test): Mark static.
12230 (TEST_FUNCTION): Define.
12231
1e805e8d
MF
12232 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12233 (IP_PMTUDISC_INTERFACE): Likewise.
12234 (IP_MULTICAST_IF): Likewise.
12235 (IP_MULTICAST_TTL): Likewise.
12236 (IP_MULTICAST_LOOP): Likewise.
12237 (IP_ADD_MEMBERSHIP): Likewise.
12238 (IP_DROP_MEMBERSHIP): Likewise.
12239 (IP_UNBLOCK_SOURCE): Likewise.
12240 (IP_BLOCK_SOURCE): Likewise.
12241 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12242 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12243 (IP_MSFILTER): Likewise.
12244 (MCAST_JOIN_GROUP): Likewise.
12245 (MCAST_BLOCK_SOURCE): Likewise.
12246 (MCAST_UNBLOCK_SOURCE): Likewise.
12247 (MCAST_LEAVE_GROUP): Likewise.
12248 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12249 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12250 (MCAST_MSFILTER): Likewise.
12251 (IP_MULTICAST_ALL): Likewise.
12252 (IP_UNICAST_IF): Likewise.
12253
73f79bb7
MF
12254 * timezone/Makefile: Delete $(have-ksh) check.
12255 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12256 * timezone/tzselect.ksh: Add +x mode bits.
12257
8da79b60
MF
12258 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12259 (ANON_INODE_FS_MAGIC): Likewise.
12260 (BDEVFS_MAGIC): Likewise.
12261 (BINFMTFS_MAGIC): Likewise.
12262 (BTRFS_TEST_MAGIC): Likewise.
12263 (CRAMFS_MAGIC_WEND): Likewise.
12264 (DEBUGFS_MAGIC): Likewise.
12265 (ECRYPTFS_SUPER_MAGIC): Likewise.
12266 (EXT3_SUPER_MAGIC): Likewise.
12267 (EXT4_SUPER_MAGIC): Likewise.
12268 (FUTEXFS_SUPER_MAGIC): Likewise.
12269 (HOSTFS_SUPER_MAGIC): Likewise.
12270 (HUGETLBFS_MAGIC): Likewise.
12271 (MINIX3_SUPER_MAGIC): Likewise.
12272 (MTD_INODE_FS_MAGIC): Likewise.
12273 (NILFS_SUPER_MAGIC): Likewise.
12274 (OPENPROM_SUPER_MAGIC): Likewise.
12275 (PIPEFS_MAGIC): Likewise.
12276 (PSTOREFS_MAGIC): Likewise.
12277 (QNX6_SUPER_MAGIC): Likewise.
12278 (RAMFS_MAGIC): Likewise.
12279 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12280 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12281 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12282 (SECURITYFS_MAGIC): Likewise.
12283 (SELINUX_MAGIC): Likewise.
12284 (SMACK_MAGIC): Likewise.
12285 (SOCKFS_MAGIC): Likewise.
12286 (SQUASHFS_MAGIC): Likewise.
12287 (STACK_END_MAGIC): Likewise.
12288 (TMPFS_MAGIC): Likewise.
12289 (USBDEVICE_SUPER_MAGIC): Likewise.
12290 (V9FS_MAGIC): Likewise.
12291 (XENFS_SUPER_MAGIC): Likewise.
12292 (CRAMFS_MAGIC): Fix typo in comment.
12293 (EXT2_SUPER_MAGIC): Update comment.
12294 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12295
464263cc
JM
122962014-02-08 Joseph Myers <joseph@codesourcery.com>
12297
c6bfe5c4
JM
12298 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12299 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12300 * sysdeps/unix/sysv/linux/arm: Move directory from
12301 ports/sysdeps/unix/sysv/linux/arm.
12302 * README: Update listing for arm-*-linux-gnueabi.
12303
464263cc
JM
12304 * README: Remove mention of am33.
12305
32749f6c
RM
123062014-02-07 Roland McGrath <roland@hack.frob.com>
12307
12308 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12309 than the comma operator, to avoid "rhs of comma has no effect"
12310 compiler warnings.
12311 (__sigfillset, __sigandset, __sigorset): Likewise.
12312 * include/signal.h (__sigemptyset): Likewise.
12313 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12314
d5b396c1
AM
123152014-02-07 Allan McRae <allan@archlinux.org>
12316
12317 * version.h (RELEASE): Set to "development".
12318 (VERSION): Set to "2.19.90"
12319 * NEWS: Add 2.20 section.
12320
3bfff2ed
CD
123212014-02-06 Carlos O'Donell <carlos@redhat.com>
12322
12323 [BZ #16529]
12324 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12325
ee7cc385
SP
123262014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12327
12328 * manual/contrib.texi: Update entry for Carlos O'Donell,
12329 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12330
f877c4f2
CD
123312014-02-05 Carlos O'Donell <carlos@rehdat.com>
12332
27e839f6
CD
12333 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12334
f877c4f2
CD
12335 * sysdeps/unix/sysv/linux/kernel-features.h
12336 [__LINUX_KERNEL_VERSION >= 0x020621]
12337 (__ASSUME_PROC_PID_TASK_COMM): Define.
12338
68159946
SP
123392014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12340
ba17cdbd
SP
12341 [BZ #16398]
12342 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12343 conversion when destination buffer does not have enough space.
12344 * libio/tst-ftell-partial-wide.c: New test case.
12345 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12346
68159946
SP
12347 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12348 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12349 Leonard and Allan McRae.
12350
2b528732
DM
123512014-02-04 David S. Miller <davem@davemloft.net>
12352
12353 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12354 32-bit.
12355
0ff82463
AZ
123562014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12357
57f41c40
AS
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12359 New file
c01603f7
AZ
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12361 New file
57f41c40
AS
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12363 New file.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12365 New file.
c01603f7
AZ
12366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12367 New file.
57f41c40
AS
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12369 New file.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12371 New file.
c01603f7
AZ
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12373 New file.
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12375 New file.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12377 New file.
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12379 New file.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12381 New file.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12383 New file.
12384
123852014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386
0ff82463
AZ
12387 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12388 * shlib-versions: Likewise.
12389
1695c773
AZ
123902014-02-04 Roland McGrath <roland@hack.frob.com>
12391 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12392
12393 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12394 (abilist-pattern): New variable, set to %-le.abilist.
12395
12396 * Makerules (abilist-pattern): New variable.
12397 (vpath): Use $(abilist-pattern) in place of %.abilist.
12398 (check-abi-% pattern rule): Likewise.
12399 (check-abi, update-abi): Likewise.
12400
6c0ce4b4
EW
124012014-02-04 Eric Wong <normalperson@yhbt.net>
12402
12403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12404
481e3524
CD
124052014-02-03 Carlos O'Donell <carlos@redhat.com>
12406
12407 * manual/startup.texi: Add next, previous, and top entries for
12408 the `Program Arguments' and `Environment Variables' nodes.
12409
375592d3
AO
124102014-02-03 Alexandre Oliva <aoliva@redhat.com>
12411
12412 * manual/macros.texi: Add comments before MTASC-safety macros.
12413
f54838ba
AO
12414 * manual/users.texi: Document MTASC-safety properties.
12415
57f41c40
AS
12416 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12417 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
12418 @deftypefun, and add @safety note.
12419 * manual/signal.texi: Move comments that analyze the above
12420 functions to their home place.
12421
fd3daba4
AM
124222014-02-03 Allan McRae <allan@archlinux.org>
12423
12424 * po/sl.po: Update Slovenian translation from translation project.
12425
597636d7
AO
124262014-02-02 Alexandre Oliva <aoliva@redhat.com>
12427
12428 * manual/time.texi (timegm): Add missing blank after @c.
12429 Reported by Joseph Myers <joseph@codesourcery.com>.
12430
ee196e3c
AO
124312014-02-01 Alexandre Oliva <aoliva@redhat.com>
12432
12433 * manual/check-safety.sh: New.
12434 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12435
f8d529d5
AO
12436 * manual/terminal.texi: Document MTASC-safety properties.
12437
de55fdf4
AO
12438 * manual/filesys.texi: Document MTASC-safety properties.
12439
c3299c08
AO
12440 * manual/errno.texi: Document MTASC-safety properties.
12441
06e90b14
AO
12442 * manual/intro.texi: Document safety identifiers and
12443 conditionals.
12444
1acd4371
AO
12445 * manual/string.texi (wcstok): Fix prototype.
12446 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12447
23e5b8cb
AO
12448 * manual/time.texi: Document MTASC-safety properties.
12449
11087373
AO
12450 * manual/string.texi: Document MTASC-safety properties.
12451
5da2c93d
AO
12452 * manual/threads.texi: Document MTASC-safety properties.
12453
171e9210
AO
12454 * manual/stdio.texi: Document MTASC-safety properties.
12455
d9e02532
AO
12456 * manual/syslog.texi: Document MTASC-safety properties.
12457
6af8bab7
AO
12458 * manual/sysinfo.texi: Document MTASC-safety properties.
12459
663b02d7
AO
12460 * manual/startup.texi: Document MTASC-safety properties.
12461
973f180b
AO
12462 * manual/socket.texi: Document MTASC-safety properties.
12463
8f3c25c8
AO
12464 * manual/signal.texi: Document MTASC-safety properties.
12465
542210fb
AO
124662014-01-31 Alexandre Oliva <aoliva@redhat.com>
12467
12468 * manual/setjmp.texi: Document MTASC-safety properties.
12469
433c45a2
AO
12470 * manual/search.texi: Document MTASC-safety properties.
12471
c8ce789c
AO
12472 * manual/resource.texi: Document MTASC-safety properties.
12473
19f5d29c
AO
12474 * manual/process.texi: Document MTASC-safety properties.
12475
e2dfb7f4
AO
12476 * manual/platform.texi: Document MTASC-safety properties.
12477
8c1413f5
AO
12478 * manual/pipe.texi: Document MTASC-safety properties.
12479
03483ada
AO
12480 * manual/pattern.texi: Document MTASC-safety properties.
12481
29e7e2df
AO
12482 * manual/message.texi: Document MTASC-safety properties.
12483
9f529d7c
AO
12484 [BZ #12751]
12485 * manual/memory.texi: Document MTASC-safety properties.
12486
27aaa791
AO
12487 * manual/math.texi: Document MTASC-safety properties.
12488
f2d58726
AO
12489 * manual/locale.texi: Document MTASC-safety properties.
12490
2cc3615c
AO
12491 * manual/llio.texi: Document MTASC-safety properties.
12492
d9f0ec97
AO
12493 * manual/libdl.texi: New.
12494
e7c4409a
AO
12495 * manual/lang.texi: Document MTASC-safety properties.
12496
27bdc63c
AO
12497 * manual/job.texi: Document MTASC-safety properties.
12498
a7b90ea9
AO
12499 * manual/getopt.texi: Document MTASC-safety properties.
12500
c49130e3
AO
12501 * manual/ctype.texi: Document MTASC-safety properties.
12502
0d23a5c1
MR
125032014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12504
12505 [BZ #16046]
12506 * csu/libc-tls.c (static_map): Remove variable.
12507 (__libc_setup_tls): Use main executable's link map for TLS data.
12508 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12509 casing for LM_ID_BASE and GL(dl_nns).
12510 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12511 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12512 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12513 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12514 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12515 member.
12516 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12517 l_phnum members.
12518
0037bb60
AO
125192014-01-30 Alexandre Oliva <aoliva@redhat.com>
12520
12521 * manual/debug.texi: Document MTASC-safety properties.
12522
409e00bd
L
125232014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12524
12525 [BZ #16510]
12526 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12527 of __x86_64__ when disabling x87 inline functions.
12528
86e60666
AO
125292014-01-29 Alexandre Oliva <aoliva@redhat.com>
12530
12531 * manual/charset.texi: Document MTASC-safety properties.
12532
76167637
AO
12533 * manual/crypt.texi: Document MTASC-safety properties.
12534
e567f2a0
AO
12535 * manual/conf.texi: Document MTASC-safety properties.
12536
b719dafd
AO
12537 * manual/arith.texi: Document MTASC-safety properties.
12538
4a16c662
AO
12539 * manual/argp.texi: Document MTASC-safety properties.
12540
0a57b83e
AO
12541 * manual/macros.texi: Introduce macros to document multi
12542 thread, asynchronous signal and asynchronous cancellation
12543 safety properties.
12544 * manual/intro.texi: Introduce the properties themselves.
12545
feab2397
KK
125462014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12547
12548 * sysdeps/sh/sh4/Makefile: New file.
12549
1c0d11bc
AS
125502014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12551
12552 * math/gen-libm-test.pl ($srcdir): New variable.
12553 ($auto_input): Use it.
12554
af37a8a3
SP
125552014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12556
d7b00f98
SP
12557 [BZ #16506]
12558 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12559 access beyond array bounds when parsing netgroups file.
12560
af37a8a3
SP
12561 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12562 the old buffer before realloc.
12563
0c00f062
AM
125642014-01-27 Allan McRae <allan@archlinux.org>
12565
12566 * po/fr.po: Update French translation from translation project.
12567
7d69a1b0
KK
125682014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12569
12570 * sysdeps/sh/libm-test-ulps: Regenerate.
12571
6e697ff7
DM
125722014-01-24 David S. Miller <davem@davemloft.net>
12573
12574 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12575
9cadb35c
KK
125762014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12577
12578 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12579 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12580
5d41dadf
SP
125812013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12582
12583 [BZ #16474]
12584 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12585 string pointers after reallocation.
12586
0bad441c
KK
125872014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12588
12589 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12590 __SH4A__ instead of __SH_FPU_ANY__.
12591
7007c661
KK
125922014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12593
12594 * sysdeps/sh/fpu_control.h: New file.
12595 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12596 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12597 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12598 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12599 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12600 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12601 * sysdeps/sh/sys/ucontext.h: Remove.
12602 * sysdeps/sh/sys: Remove directory.
12603
0f0c35e4
AK
126042014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12605
12606 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12607 s390/sys/ucontext.h.
12608 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12609 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12610
4959e284
L
126112014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 [BZ #15605]
12614 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12615
d98720e0
AZ
126162014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12617
12618 [BZ#16431]
12619 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12620 Adjust the vDSO correctly for internal calls.
12621 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12622
91cbd0bc
AM
126232014-01-20 Allan McRae <allan@archlinux.org>
12624
12625 * po/ca.po: Update Catalan translation from translation project.
12626
7a02cfad
MF
126272014-01-16 Mike Frysinger <vapier@gentoo.org>
12628
12629 * sysdeps/s390/sotruss-lib.c: New file.
12630
736c304a
AZ
126312014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12632
12633 [BZ#16430]
6e077ee5 12634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
12635 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12636 local calls issues by not having a PLT stub required for IFUNC calls.
12637 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12638
94d0cea0
JM
126392014-01-16 Joseph Myers <joseph@codesourcery.com>
12640
12641 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12642 * math/test-fpucw-static.c: Likewise.
12643
980cb518
SP
126442013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12645
12646 [BZ #16453]
12647 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12648
2393fc01
AZ
126492014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12650
12651 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12652 implementation for powerpc.
12653
d359bcc2
OB
126542014-01-15 Ondřej Bílka <neleai@seznam.cz>
12655
12656 [BZ #14782]
12657 * sysdeps/posix/system.c (__libc_system): Do not enable
12658 asynchronous cancellation.
12659
7beb48cb
AK
126602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12661
12662 [BZ #16427]
12663 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12664 handling only for numbers special also in the IEEE case.
12665
c20d5bf5
AK
126662014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12667
12668 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12669
e83bd4ee
AM
126702014-01-11 Allan McRae <allan@archlinux.org>
12671
76d0ea69
AM
12672 * po/bg.po: Update Bulgarian translation from translation project.
12673
e83bd4ee
AM
12674 * po/de.po: Update German translation from translation project.
12675
bc2ba20a
RM
126762014-01-10 Roland McGrath <roland@hack.frob.com>
12677
12678 * sysdeps/generic/gcc-compat.h: New file.
12679
649ecea2
SP
126802014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12681
12682 * benchtests/asin-inputs: Correct slow inputs.
12683 * benchtests/acos-inputs: Likewise.
12684
1b19c006
AM
126852014-01-10 Allan McRae <allan@archlinux.org>
12686
a46dab08
AM
12687 * po:sv.po: Update Swedish translation from translation project.
12688
421df74a
AM
12689 * po/vi.po: Update Vietnamese translation from translation project.
12690
d61c51a7
AM
12691 * po/eo.po: Update Esperanto translation from translation project.
12692
0339a319
AM
12693 * po/cs.po: Update Czech translation from translation project.
12694
94ad3e99
AM
12695 * po/nl.po: Update Dutch translation from translation project.
12696
e349ca71
AM
12697 * po/pl.po: Update Polish translation from translation project.
12698
ddf930c1
AM
12699 * po/ru.po: Update Russian translation from translation project.
12700
1b19c006
AM
12701 * po/uk.po: Update Ukrainian translation from translation project.
12702
9f236c49
BM
127032014-01-08 Brooks Moses <bmoses@google.com>
12704
12705 * elf/dl-load.c: Fix comment typo.
12706
cd6701cf
CD
127072014-01-08 Carlos O'Donell <carlos@redhat.com>
12708
12709 * po/header.pot: Rename to...
12710 * po/pot.header: ... this.
12711 * po/Makefile: Use pot.header.
12712
66671c84
YK
127132014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12714 Maxim Kuvyrkov <maxim@kugelworks.com>
12715
12716 [BZ #16394]
cd6701cf
CD
12717 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12718 SRC and DEST against LEN.
66671c84 12719
38f34581
AZ
127202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12721
12722 [BZ #16414]
12723 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12724 implementation.
12725 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12726
127272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
12728
12729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12730
4c327f2a
JM
127312014-01-08 Joseph Myers <joseph@codesourcery.com>
12732
12733 [BZ #16408]
12734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12735 for large positive arguments.
12736
b821f414
JM
127372014-01-07 Joseph Myers <joseph@codesourcery.com>
12738
1f0f2067
JM
12739 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12740
a5a326f6
JM
12741 * math/auto-libm-test-in: Mark various tests with
12742 xfail-rounding:ldbl-128ibm.
12743 * math/auto-libm-test-out: Regenerated.
12744
b821f414
JM
12745 [BZ #16407]
12746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12747 Increase overflow threshold.
12748
94c8a4bc
OB
127492014-01-07 Ondřej Bílka <neleai@seznam.cz>
12750
12751 [BZ #14286]
12752 * stdio-common/vfprintf.c: Check for integer overflow.
12753
87ded0c3
AK
127542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12755
12756 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12757 the first argument and return value of __tls_get_addr_internal.
12758
c5eebdd0
AK
127592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12760
12761 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12762 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12763
05d138ef
AK
127642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12765
12766 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12767 * sysdeps/s390/rtld-global-offsets.sym: New file.
12768 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12769 GLIBC_2.19 symbol.
12770 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12771 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12773 ... this.
12774 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12775 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12776 ... this.
12777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12778 Regenerate.
12779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12780 Regenerate.
12781 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12782 halfs of GPRs for high_gprs contexts.
12783 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12784 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12785 field.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12787 uc_flags field.
12788 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12789 64 bit versions:
12790 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12791 for high GPRs (uc_high_gprs) and for future extensions
12792 (__reserved).
12793 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12794 for future extensions (__reserved).
12795 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12796 64 bit versions:
12797 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12798 SC_HIGHGPRS offset definition.
12799 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12800 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12801
93a45ff1
AK
12802 * Versions.def: Add GLIBC_2.19 for libpthread.
12803 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12804 siglongjmp for libpthread with GLIBC_2.19 symver.
12805 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12806 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12807 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12808 * sysdeps/s390/__longjmp.c: New file.
12809 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12810 * sysdeps/s390/longjmp.c: New file.
12811 * sysdeps/s390/setjmp.S: New file.
12812 * sysdeps/s390/sigjmp.S: New file.
12813 * sysdeps/s390/v1-longjmp.c: New file.
12814 * sysdeps/s390/v1-setjmp.h: New file.
12815 * sysdeps/s390/v1-sigjmp.c: New file.
12816 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12817 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12818 GLIBC_2.19 version.
12819 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12820 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12821 versioned symbols for ____longjmp_chk.
12822 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12823 Likewise.
12824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12825 Regenerate.
12826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12827 Regenerate.
12828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12829 Regenerate.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12831 Regenerate.
12832 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12833 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12834 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12835 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12836 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12837 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12838 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12839 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12840 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12841 * sysdeps/s390/rtld-__longjmp.c: New file.
12842 * sysdeps/s390/rtld-setjmp.S: New file.
12843
eb3fc44b
JM
128442014-01-06 Joseph Myers <joseph@codesourcery.com>
12845
12846 [BZ #16400]
12847 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12848 Return -__logl (x) for small positive arguments without evaluating
12849 a polynomial.
12850
9341dde4
MF
128512014-01-06 Mike Frysinger <vapier@gentoo.org>
12852
12853 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12854 Rename to ...
12855 (__ptrace_peeksiginfo_args): ... this.
12856 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12857 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12859
4cff0293
AM
128602014-01-06 Allan McRae <allan@archlinux.org>
12861
12862 * inet/netinet/in.h: Fix typo in comment.
12863
75595dcf
AJ
128642014-01-05 Andreas Jaeger <aj@suse.de>
12865
12866 * sysdeps/i386/fpu/libm-test-ulps: Update.
12867
79c1e109
AM
128682014-01-05 Allan McRae <allan@archlinux.org>
12869
dd804818
AM
12870 * po/libc.pot: Regenerated.
12871
79c1e109
AM
12872 * malloc/memusagestat.c: Fix gettext call formatting.
12873
0c813d1f
SK
128742014-01-04 Sami Kerola <kerolasa@iki.fi>
12875
12876 * nscd/nscd.c: Improve usage() output.
12877
20f4a8d9
MF
128782014-01-04 Mike Frysinger <vapier@gentoo.org>
12879
12880 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12881 * sysdeps/unix/sysv/linux/configure: Regenerated.
12882 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12883 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12884
22562bb2
JM
128852014-01-03 Joseph Myers <joseph@codesourcery.com>
12886
12887 [BZ #16390]
12888 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12889 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12890
d7ad2d9b
AZ
128912014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892
12893 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12894 extra tokens at end of #undef directive.
12895 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12897 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12898
7dd009d8
JM
128992014-01-03 Joseph Myers <joseph@codesourcery.com>
12900
24db925a
JM
12901 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12902
7dd009d8
JM
12903 * math/auto-libm-test-in: Mark various tests with
12904 xfail-rounding:ldbl-128ibm.
12905 * math/auto-libm-test-out: Regenerated.
12906
396e3ecf
JM
129072014-01-02 Joseph Myers <joseph@codesourcery.com>
12908
819e5d50
JM
12909 [BZ #16386]
12910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12911 numbers with subnormal high part when calculating exponent.
12912
90b6a1e5
JM
12913 [BZ #16385]
12914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12915 fabs.
12916
396e3ecf
JM
12917 [BZ #16384]
12918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12919 M_LN2l.
12920 (__ieee754_acoshl): Use __log1pl not __log1p.
12921
6c8dbf00
OB
129222013-01-02 Ondřej Bílka <neleai@seznam.cz>
12923
57f41c40
AS
12924 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12925 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12926 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12927 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12928 (reused_arena, arena_get2): Convert to GNU style.
12929 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12930 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12931 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 12932 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
12933 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12934 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12935 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12936 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12937 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12938 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 12939 * malloc/malloc.h: Likewise.
57f41c40
AS
12940 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12941 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 12942 * malloc/mcheck.h: Likewise.
57f41c40
AS
12943 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12944 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
12945 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12946 * malloc/morecore.c (__default_morecore): Likewise.
12947 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
12948 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12949 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12950 (print_and_abort): Likewise.
6c8dbf00
OB
12951 * malloc/obstack.h: Likewise.
12952 * malloc/set-freeres.c (__libc_freeres): Likewise.
12953 * malloc/tst-mallocstate.c (main): Likewise.
12954 * malloc/tst-mtrace.c (main): Likewise.
12955 * malloc/tst-realloc.c (do_test): Likewise.
12956
d4124212
SP
129572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12958
9a3c6a6f
SP
12959 [BZ #16366]
12960 * nscd/netgroupcache.c (do_notfound): New function.
12961 (addgetnetgrentX): Use it.
12962
d4124212
SP
12963 [BZ # 16365]
12964 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12965 NSS_STATUS_NOTFOUND.
12966
97b9a009
JM
129672014-01-01 Joseph Myers <joseph@codesourcery.com>
12968
12969 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12971
d4697bc9
AM
129722014-01-01 Allan McRae <allan@archlinux.org>
12973
ddb3687f
AM
12974 * scripts/update-copyrights: Update configure input file suffix.
12975
88726d48
AM
12976 * NEWS: Update copyright year.
12977 * catgets/gencat.c: Likewise.
12978 * csu/version.c: Likewise.
12979 * debug/catchsegv.sh: Likewise.
12980 * debug/pcprofiledump.c: Likewise.
12981 * debug/xtrace.sh: Likewise.
12982 * elf/ldconfig.c: Likewise.
12983 * elf/ldd.bash.in: Likewise.
12984 * elf/pldd.c: Likewise.
12985 * elf/sotruss.ksh: Likewise.
12986 * elf/sprof.c: Likewise.
12987 * iconv/iconv_prog.c: Likewise.
12988 * iconv/iconvconfig.c: Likewise.
12989 * locale/programs/locale.c: Likewise.
12990 * locale/programs/localedef.c: Likewise.
12991 * login/programs/pt_chown.c: Likewise.
12992 * malloc/memusage.sh: Likewise.
12993 * malloc/memusagestat.c: Likewise.
12994 * malloc/mtrace.pl: Likewise.
12995 * manual/libc.texinfo: Likewise.
12996 * nscd/nscd.c: Likewise.
12997 * nss/getent.c: Likewise.
12998 * nss/makedb.c: Likewise.
12999 * posix/getconf.c: Likewise.
13000 * scripts/test-installation.pl: Likewise.
13001
d4697bc9
AM
13002 * All files with FSF copyright notices: Update copyright dates
13003 using scripts/update-copyrights.
13004 * intl/plural.c: Regenerated.
13005 * locale/programs/charmap-kw.h: Likewise.
13006 * locale/programs/locfile-kw.h: Likewise.
13007
c8590f9d
MF
130082013-12-31 Mike Frysinger <vapier@gentoo.org>
13009
13010 * sysdeps/unix/sysv/linux/configure: Regenerated.
13011 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13012 the linux/fanotify.h header.
13013 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13014 HAVE_LINUX_FANOTIFY_H is defined.
13015
b19221b9
SP
130162013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13017
dd1d85e5
SP
13018 * benchtests/cos-inputs: New inputs.
13019 * benchtests/sin-inputs: Likewise.
13020
1acbb90f
SP
13021 * benchtests/atan-inputs: New inputs. Fix name of multiple
13022 precision fallback inputs.
13023
4c012ed3
SP
13024 * benchtests/atanh-inputs: New inputs.
13025 * benchtests/tanh-inputs: Likewise.
13026
eff98324
SP
13027 * benchtests/acosh-inputs: New inputs.
13028 * benchtests/asinh-inputs: Likewise.
13029
ce641152
SP
13030 * benchtests/cosh-inputs: New inputs.
13031 * benchtests/sinh-inputs: Likewise.
13032
b19221b9
SP
13033 * benchtests/acos-inputs: Add more inputs.
13034 * benchtests/asin-inputs: Likewise.
13035
030a4976 130362013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 13037
030a4976 13038 [BZ #16375]
9dcc8f11
VS
13039 * manual/arith.texi: Fix spelling.
13040 * manual/charset.texi: Likewise.
13041 * manual/errno.texi: Likewise.
13042 * manual/filesys.texi: Likewise.
13043 * manual/lang.texi: Likewise.
13044 * manual/llio.texi: Likewise.
13045 * manual/locale.texi: Likewise.
13046 * manual/message.texi: Likewise.
13047 * manual/resource.texi: Likewise.
13048 * manual/search.texi: Likewise.
13049 * manual/setjmp.texi: Likewise.
13050 * manual/stdio.texi: Likewise.
13051 * manual/string.texi: Likewise.
13052 * manual/sysinfo.texi: Likewise.
13053 * manual/time.texi: Likewise.
13054
11520a57
CD
130552013-12-27 Carlos O'Donell <carlos@redhat.com>
13056
13057 * po/sl.po: New file.
13058
471103ae
MF
130592013-12-27 Mike Frysinger <vapier@gentoo.org>
13060
13061 * .gitignore: Add core/.gdbinit/.gdb_history.
13062
6c9642ed
AM
130632013-12-27 Allan McRae <allan@archlinux.org>
13064
13065 [BZ #16369]
13066 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13067 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13068
3f637079
BM
130692013-12-24 Brooks Moses <bmoses@google.com>
13070
13071 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13072 all compilers that claim C++98 compliance, not just GCC.
13073 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13074 Likewise.
13075
abc26e99
MK
130762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13077
13078 * NEWS: Restore accidentally deleted bug-fix entries.
13079
362b47fe
MK
130802013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13081 Ondřej Bílka <neleai@seznam.cz>
13082
13083 [BZ #15073]
13084 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 13085 have_lock.
362b47fe 13086
b9bcbbcb
OB
130872013-12-23 Ondřej Bílka <neleai@seznam.cz>
13088
13089 [BZ #12986]
13090 * manual/stdio.texi (String Input Conversions): Clarify that character
13091 classes are not supported.
13092
fb55fcd2
AZ
130932013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13094
13095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13096
ef7344f0
JM
130972013-12-22 Joseph Myers <joseph@codesourcery.com>
13098
4f40e4b3
JM
13099 [BZ #16337]
13100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13101 Calculate results for small negative arguments directly rather
13102 than using reflection formula with special underflow handling.
13103
ef7344f0
JM
13104 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13105 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13106 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13107 (fchflags): Likewise.
13108 (revoke): Likewise.
13109 (setlogin): Likewise.
13110 (sigaltstack): Likewise.
13111 (wait4): Likewise.
13112 (sigblock): Remove.
13113 (sigsetmask): Likewise.
13114 (wait3): Likewise.
13115 (waitpid): Likewise.
13116 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13117 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13118 file.
13119 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13120 * sysdeps/unix/bsd/Makefile: ... here.
13121 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13122 * sysdeps/unix/bsd/Versions: ... here.
13123 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13124 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13125 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13126 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13127 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13128 * sysdeps/unix/bsd/sigblock.c: ... here.
13129 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13130 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13131 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13132 * sysdeps/unix/bsd/sigvec.c: ... here.
13133 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13134 * sysdeps/unix/bsd/tcdrain.c: ... here.
13135 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13136 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13137 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13138 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13139 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13140 * sysdeps/unix/bsd/wait.c: ... here.
13141 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13142 * sysdeps/unix/bsd/wait3.c: ... here.
13143 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13144 * sysdeps/unix/bsd/waitpid.c: ... here.
13145
5b0626b9
JM
131462013-12-21 Joseph Myers <joseph@codesourcery.com>
13147
13148 [BZ #16356]
13149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13150 round-to-nearest for [!USE_AS_EXPM1L].
13151 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13152 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13153 more tests of exp and exp10. Expect some exp10 tests to miss
13154 exceptions or fail in directed rounding modes.
13155 * math/auto-libm-test-out: Regenerated.
13156 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13157 (exp10_test_tonearest): New function.
13158 (exp10_towardzero_test_data): New array.
13159 (exp10_test_towardzero): New function.
13160 (exp10_downward_test_data): New array.
13161 (exp10_test_downward): New function.
13162 (exp10_upward_test_data): New array.
13163 (exp10_test_upward): New function.
13164 (main): Call the new functions.
13165 * sysdeps/i386/fpu/libm-test-ulps: Update.
13166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13167
7fda5682
JM
131682013-12-20 Joseph Myers <joseph@codesourcery.com>
13169
31e3a405
JM
13170 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13171 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13172 * math/auto-libm-test-out: Regenerated.
13173 * math/libm-test.inc (acosh_test_data): Add more tests.
13174 (atanh_test_data): Likewise.
13175 (ceil_test_data): Likewise.
13176 (copysign_test_data): Likewise.
13177 * sysdeps/i386/fpu/libm-test-ulps: Update.
13178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13179
85bff96a
JM
13180 * timezone/checktab.awk: Update from tzcode 2013i.
13181 * timezone/private.h: Likewise.
13182 * timezone/scheck.c: Likewise.
13183 * timezone/tzfile.h: Likewise.
13184 * timezone/tzselect.ksh: Likewise.
13185 * timezone/zdump.c: Likewise.
13186 * timezone/zic.c: Likewise.
13187
b7867a3b
JM
13188 * math/auto-libm-test-in: Add tests of cpow.
13189 * math/auto-libm-test-out: Regenerated.
13190 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 13191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
13192 mpc_cc_c.
13193 (func_calc_desc): Add mpc_cc_c union field.
13194 (test_functions): Add cpow.
13195 (special_fill_2pi): New function.
13196 (special_real_inputs): Add 2pi.
13197 (calc_generic_results): Handle mpc_cc_c.
13198 * sysdeps/i386/fpu/libm-test-ulps: Update.
13199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13200
7fda5682
JM
13201 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13202 csqrt, ctan and ctanh.
13203 * math/auto-libm-test-out: Regenerated.
13204 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13205 (TEST_COND_x86): Likewise.
13206 (ccos_test_data): Use AUTO_TESTS_c_c.
13207 (ccosh_test_data): Likewise.
13208 (cexp_test_data): Likewise.
13209 (clog_test_data): Likewise.
13210 (csqrt_test_data): Likewise.
13211 (ctan_test_data): Likewise.
13212 (ctan_tonearest_test_data): Likewise.
13213 (ctan_towardzero_test_data): Likewise.
13214 (ctan_downward_test_data): Likewise.
13215 (ctan_upward_test_data): Likewise.
13216 (ctanh_test_data): Likewise.
13217 (ctanh_tonearest_test_data): Likewise.
13218 (ctanh_towardzero_test_data): Likewise.
13219 (ctanh_downward_test_data): Likewise.
13220 (ctanh_upward_test_data): Likewise.
13221 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13222 mpc_c_c.
13223 (func_calc_desc): Add mpc_c_c union field.
13224 (FUNC_mpc_c_c): New macro.
13225 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13226 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13227 ctanh.
13228 (special_fill_min_subnorm_p120): New function.
13229 (special_real_inputs): Add min_subnorm_p120.
13230 (calc_generic_results): Handle mpc_c_c.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13233
5ff8d60e
SP
132342013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
57f41c40
AS
13236 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13237 (do_sin_slow): New functions.
13238 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13239 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 13240
84ba214c
SP
13241 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13242 Use M to change sign of result instead of X. Assume X is
13243 positive.
13244 (csloww1): Likewise.
13245 (__sin): Adjust.
13246 (__cos): Adjust.
13247
975195e4
SP
13248 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13249 arguments A and DA.
13250 (__sin): Adjust.
13251 (__cos): Likewise.
13252
5ff8d60e
SP
13253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13254 (__cos): Likewise.
13255 (sloww1): Don't adjust sign of DX.
13256 (csloww1): Likewise.
13257 (sloww2): Use X directly and don't adjust sign of DX.
13258 (csloww2): Likewise.
13259
eb983568
JM
132602013-12-19 Joseph Myers <joseph@codesourcery.com>
13261
64a17f1a
JM
13262 * math/auto-libm-test-in: Add tests of cabs and carg.
13263 * math/auto-libm-test-out: Regenerated.
13264 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13265 (carg_test_data): Likewise.
13266 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13267 mpc_c_f.
13268 (func_calc_desc): Add mpc_c_f union field.
13269 (test_functions): Add cabs and carg.
13270 (calc_generic_results): Handle mpc_c_f.
13271
eb983568
JM
13272 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13273 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13274 as a macro and a compat symbol.
13275 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13276 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13277 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13278 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13279 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13280 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13281 not use .hidden.
13282 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13283 Likewise.
13284 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13285 Likewise.
13286 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13287 Likewise.
13288 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13289 Likewise.
13290 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13291 Likewise.
13292 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13293 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13294 from GLIBC_2.3.2.
13295
6eeb678a
AZ
132962013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13297
13298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13299
6f6fc482
JM
133002013-12-19 Joseph Myers <joseph@codesourcery.com>
13301
21fea2e2
JM
13302 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13303 trailing whitespace removed.
13304 * scripts/config.guess: Update to version 2013-11-29.
13305 * scripts/config.sub: Update to version 2013-10-01.
13306
6f6fc482
JM
13307 * math/auto-libm-test-in: Add tests of sincos.
13308 * math/auto-libm-test-out: Regenerated.
13309 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13310 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13311 mpfr_f_11.
13312 (func_calc_desc): Add mpfr_f_11 union field.
13313 (test_functions): Add sincos.
13314 (calc_generic_results): Handle mpfr_f_11.
13315 * sysdeps/i386/fpu/libm-test-ulps: Update.
13316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13317
83f5c32d
AS
133182013-12-19 Andreas Schwab <schwab@suse.de>
13319
13320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13321 CALL_MCOUNT.
13322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13323 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13324 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13325
c688b419
JM
133262013-12-19 Joseph Myers <joseph@codesourcery.com>
13327
335ee092
JM
13328 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13329 * sysdeps/i386/fpu/libm-test-ulps: Update.
13330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13331
f88acd39
JM
13332 [BZ #16293]
13333 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13334 round-to-nearest mode when using frndint.
13335 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13336 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13338 Likewise.
13339 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13340 sinh test to fail.
13341 * math/auto-libm-test-out: Regenerated.
13342 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13343 (TEST_COND_x86): Likewise.
13344 (expm1_tonearest_test_data): New array.
13345 (expm1_test_tonearest): New function.
13346 (expm1_towardzero_test_data): New array.
13347 (expm1_test_towardzero): New function.
13348 (expm1_downward_test_data): New array.
13349 (expm1_test_downward): New function.
13350 (expm1_upward_test_data): New array.
13351 (expm1_test_upward): New function.
13352 (main): Run the new test functions.
13353 * sysdeps/i386/fpu/libm-test-ulps: Update.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13355
c688b419
JM
13356 * include/features.h: Update comment documenting feature test
13357 macros. Mention _DEFAULT_SOURCE in comment.
13358 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13359 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13360 _BSD_SOURCE and _SVID_SOURCE.
13361 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13362 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13363 !_SVID_SOURCE]: Likewise.
13364 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13365 (__USE_POSIX_IMPLICITLY): Define.
13366 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13367 (_POSIX_SOURCE): Undefine and redefine.
13368 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13369 (_POSIX_C_SOURCE): Likewise.
13370 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13371 (Feature Test Macros): Update documentation of default features.
13372
9f6e964c
RS
133732013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13374
13375 * benchtests/Makefile: Add bench-strtok.
13376 * benchtests/bench-strtok.c: New file: strtok benchtest.
13377
ee0a148a
AM
133782013-12-19 Allan McRae <allan@archlinux.org>
13379
13380 * manual/install.texi: Suppress menu for plain text output.
13381 * INSTALL: Regenerated.
13382
b9ab448f
BM
133832013-12-18 Brooks Moses <bmoses@google.com>
13384
13385 [BZ #15846]
13386 * misc/getauxval.c: Include errno.h.
13387 (__getauxval): Set errno to ENOENT if the requested type is not
13388 found.
13389 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13390 don't declare with __attribute_const__.
13391 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13392 * manual/startup.texi: Document that getauxval sets errno.
13393
23776487
JM
133942013-12-18 Joseph Myers <joseph@codesourcery.com>
13395
f889953b
JM
13396 * math/auto-libm-test-in: Add tests of jn and yn.
13397 * math/auto-libm-test-out: Regenerated.
13398 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13399 (yn_test_data): Likewise.
13400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13401 mpfr_if_f.
13402 (func_calc_desc): Add mpfr_if_f union field.
13403 (FUNC_mpfr_if_f): New macro.
13404 (test_functions): Add jn and yn.
13405 (calc_generic_results): Assert type of second input for
13406 mpfr_ff_f. Handle mpfr_if_f.
13407 (output_for_one_input_case): Disable all checking for arguments
13408 fitting floating-point types in case of an integer argument.
13409 * sysdeps/i386/fpu/libm-test-ulps: Update.
13410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13411
23776487
JM
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13413 Don't expect fegetround reference in libm.so.
13414
cb756c6d
MS
134152013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13416
13417 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13418 $(config-cflags-nofma).
13419
2dec468f
JM
134202013-12-18 Joseph Myers <joseph@codesourcery.com>
13421
5953eb3a
JM
13422 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13423 * math/auto-libm-test-out: Regenerated.
13424
2dec468f
JM
13425 [BZ #16338]
13426 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13427 to determine exponent and adjust argument to have exponent of -1.
13428 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13429 log2.
13430 * math/auto-libm-test-out: Regenerated.
13431 * sysdeps/i386/fpu/libm-test-ulps: Update.
13432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13433
4d84e6ad
OB
134342013-12-18 Ondřej Bílka <neleai@seznam.cz>
13435
13436 * manual/probes.texi: Remove cases when per-thread arenas are
13437 disabled.
13438
1818483b
AS
134392013-12-18 Andreas Schwab <schwab@suse.de>
13440
13441 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13442 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13443 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13444 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13445 * sysdeps/i386/i686/multiarch/Makefile: Update.
13446 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13447
25de95bf
JM
134482013-12-17 Joseph Myers <joseph@codesourcery.com>
13449
13450 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13451 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13452
674762d9
PE
134532013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13454
ed27ed83 13455 [BZ #15968]
0748546f
PE
13456 Support TZ transition times < 00:00:00.
13457 This is needed for version-3 tz-format files; it supports time
13458 stamps past 2037 for America/Godthab (the only entry in the tz
13459 database for which this change is relevant).
13460 * manual/time.texi (TZ Variable): Document transition times
13461 from -167:59:59 through -00:00:01.
13462 * time/tzset.c (tz_rule): Time of day is now signed.
13463 (__tzset_parse_tz): Parse negative time of day.
13464
4480e934
PE
13465 Document TZ transition times >= 25:00:00.
13466 * manual/time.texi (TZ Variable): Document transition times from
13467 25:00:00 through 167:59:59. These are already supported, and this
13468 support will help with version-3 tz-format files.
13469
69947401
PE
13470 * manual/time.texi (TZ Variable): Modernize North America example
13471 to reflect current (i.e., 2007-and-later) daylight saving rules.
13472
674762d9
PE
13473 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13474
7011c262
JM
134752013-12-17 Joseph Myers <joseph@codesourcery.com>
13476
2fc6557e
JM
13477 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13478 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13481 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13482 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13483 * sysdeps/unix/bsd/clock.c: Likewise.
13484 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13485 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13486 * sysdeps/unix/bsd/init-posix.c: Likewise.
13487 * sysdeps/unix/bsd/poll.c: Likewise.
13488 * sysdeps/unix/bsd/ptsname.c: Likewise.
13489 * sysdeps/unix/bsd/seekdir.c: Likewise.
13490 * sysdeps/unix/bsd/setegid.c: Likewise.
13491 * sysdeps/unix/bsd/seteuid.c: Likewise.
13492 * sysdeps/unix/bsd/setgid.c: Likewise.
13493 * sysdeps/unix/bsd/setrgid.c: Likewise.
13494 * sysdeps/unix/bsd/setruid.c: Likewise.
13495 * sysdeps/unix/bsd/setsid.c: Likewise.
13496 * sysdeps/unix/bsd/setuid.c: Likewise.
13497 * sysdeps/unix/bsd/sigaction.c: Likewise.
13498 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13499 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13500 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13501 * sysdeps/unix/bsd/telldir.c: Likewise.
13502 * sysdeps/unix/bsd/times.c: Likewise.
13503 * sysdeps/unix/bsd/usleep.c: Likewise.
13504
029c7b25
JM
13505 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13506 ($(objpfx)libbsd-compat.a): Remove rule.
13507
7011c262
JM
13508 * include/features.h (__FAVOR_BSD): Do not define.
13509 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13510 features conflicting with POSIX.
13511 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13512 (_BSD_SOURCE): Remove description of not being a subset of other
13513 feature test macros.
13514 * manual/job.texi (getpgrp): Do not document BSD version.
13515 (getpgid): Do not document by reference to BSD getpgrp.
13516 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13517 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13518 * signal/signal.h [__FAVOR_BSD]: Likewise.
13519 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13520 instead of making contents conditional on [__FAVOR_BSD].
13521 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13522
affb6f78
AZ
135232013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13524
13525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13526
c88769dd
JM
135272013-12-17 Joseph Myers <joseph@codesourcery.com>
13528
6432a540
JM
13529 [BZ #16314]
13530 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13531 values below 2**-450, not 2**-500.
13532 * math/auto-libm-test-in: Don't allow spurious underflow from
13533 hypot.
13534 * math/auto-libm-test-out: Regenerated.
13535
c88769dd
JM
13536 [BZ #16316]
13537 [BZ #16330]
13538 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13539 values of ha and hb and sort them after adjusting subnormal
13540 arguments.
13541 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13542 Likewise.
13543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13544 values of ea and eb and sort them after adjusting subnormal
13545 arguments.
13546 * math/auto-libm-test-in: Do not expect some hypot tests of
13547 subnormals to fail. Add more hypot tests.
13548 * math/auto-libm-test-out: Regenerated.
13549
29618f6b
KK
135502013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13551
13552 [BZ #13304]
13553 * sysdeps/sh/s_fma.c: New file.
13554 * sysdeps/sh/s_fmaf.c: New file.
13555 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13556 version.
13557 * sysdeps/sh/Implies: Add sh/soft-fp.
13558
eacfdfbf
RM
135592013-12-16 Roland McGrath <roland@hack.frob.com>
13560
13561 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13562 level of indirection to members `objname', `errstring', `malloced'.
13563 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13564 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13565 it as the __longjmp argument (just pass 1 instead).
13566 (_dl_catch_error): Initialize C with argument pointers and address of
13567 volatile local ERRCODE rather than copying values out of C at return.
13568
ff362e5b
JM
135692013-12-16 Joseph Myers <joseph@codesourcery.com>
13570
13571 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13572 * math/auto-libm-test-out: Regenerated.
13573 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13574 (hypot_test_data): Likewise.
13575 (pow_test_data): Likewise.
13576 (pow_tonearest_test_data): Likewise.
13577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13578 mpfr_ff_f.
13579 (func_calc_desc): Add mpfr_ff_f union field.
13580 (FUNC_mpfr_ff_f): New macro.
13581 (test_functions): Add atan2, hypot and pow.
13582 (special_fill_min): New function.
13583 (special_fill_minus_min): Likewise.
13584 (special_fill_min_subnorm): Likewise.
13585 (special_fill_minus_min_subnorm): Likewise.
13586 (special_real_inputs): Add min, -min, min_subnorm and
13587 -min_subnorm.
13588 (calc_generic_results): Handle mpfr_ff_f.
13589 * sysdeps/i386/fpu/libm-test-ulps: Update.
13590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13591
5764c27f
WN
135922013-12-16 Will Newton <will.newton@linaro.org>
13593
13594 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13595 (Aligned Memory Blocks): Add documentation for aligned_alloc
13596 and suggest it as an alternative to posix_memalign.
13597 (Hooks for Malloc): Document __memalign_hook is also called
13598 for aligned_alloc. (Summary of Malloc): Add summary for
13599 aligned alloc. Document __memalign_hook is also called
13600 for aligned_alloc.
13601
0a096e44
WN
136022013-12-16 Will Newton <will.newton@linaro.org>
13603
13604 * manual/memory.texi (Malloc Examples): Clarify default
13605 alignment documentation. Suggest posix_memalign rather
13606 than memalign or valloc.
13607 (Aligned Memory Blocks): Remove suggestion to use memalign
13608 or valloc. Remove obsolete comment about BSD.
13609 Document memalign errno values and mark the function obsolete.
13610 Document posix_memalign returned error codes. Mark valloc
13611 as obsolete. (Hooks for Malloc): __memalign_hook is also
13612 called for posix_memalign and valloc.
13613 (Summary of Malloc): Add posix_memalign to function summary.
13614 __memalign_hook is also called for posix_memalign and valloc.
13615
8d561986
SP
136162013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13617
13618 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13619 TAYLOR_SIN.
13620 (__sin): Adjust.
13621 (__cos): Likewise.
13622 (sloww): Use mynumber union. Expand ternary operator into
13623 if-else statements.
13624 (cslow): use mynumber union.
13625
73616a74
AM
136262013-12-16 Allan McRae <allan@archlinux.org>
13627
9e8ac24b
AM
13628 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13629 * configure: Regenerated.
13630
6f8e37eb
AM
13631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13632
8894bad3
AM
13633 [BZ #14120]
13634 * configure.ac: Added --enable-maintainer-mode. Check for
13635 autoconf when enabled.
13636 * configure: Regenerated.
13637
73616a74
AM
13638 * nscd/nscd.service: New file.
13639 * nscd/nscd.tmpfiles: New file.
13640
584b18eb
OB
136412013-12-14 Ondřej Bílka <neleai@seznam.cz>
13642
13643 [BZ #12100]
13644 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13645 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13646 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13647 (strstr): Add __strstr_sse2_unaligned ifunc.
13648 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13649 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13650 (strcasestr): Remove __strcasestr_sse42 ifunc.
13651 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13654
8a5c7897
KK
136552013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13656
13657 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13658 * sysdeps/sh/bits/fenv.h: ... here.
13659 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13660
fd712ef3
AZ
136612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13662
13663 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13664
42fcb46c
AZ
13665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13666 hypotf multiarch implementations.
13667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13670 multiarch hypot for PPC64.
13671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13672 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13674 multiarch hypotf for PPC64.
13675
83efded4
AZ
13676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13677 modff multiarch implementations.
13678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13681 multiarch modf for PPC64.
13682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13685 multiarch modff for PPC64.
13686
43e246d2
AZ
13687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13688 and logl multiarch implementations.
13689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13692 multiarch logb for PPC64.
13693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13696 multiarch logb for PPC64.
13697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13700 multiarch logb for PPC64.
13701
8fdad123
AZ
13702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13703 isinff multiarch implementation.
13704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13705 file.
13706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13708 multiarch isinf for PPC64.
13709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13710 file.
13711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13712 multiarch isinff for PPC64.
13713
1481d706
AZ
13714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13715 finitef multiarch implementation.
13716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13717 file.
13718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13720 multiarch finite for PPC64.
13721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13722 file.
13723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13724 multiarch finitef for PPC64.
13725
5ccd5fc8
AZ
13726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13727 lrint multiarch implementation.
13728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13729 file.
13730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13732 multiarch llrint for PPC64.
13733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13734 multiarch lrint for PPC64.
13735
2568f3fa
AZ
13736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13737 copysignf multiarch implementation.
13738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13739 file.
13740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13741 file.
13742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13743 multiarch copysign for PPC64.
13744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13745 multiarch copysignf for PPC64.
13746
1cb341fd
AZ
13747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13748 multiarch implementation.
13749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13750 file.
13751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13752 file.
13753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13754 file.
13755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13756 file.
13757 multiarch llround for PPC64.
13758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13759 multiarch trunc for PPC64.
13760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13761 multiarch truncf for PPC64.
13762
59a3e194
AZ
13763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13764 multiarch implementation.
13765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13766 file.
13767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13768 file.
13769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13770 file.
13771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13772 file.
13773 multiarch llround for PPC64.
13774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13775 multiarch round for PPC64.
13776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13777 multiarch roundf for PPC64.
13778
357fd3b4
AZ
13779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13780 multiarch implementation.
13781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13782 file.
13783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13784 file.
13785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13786 file.
13787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13788 file.
13789 multiarch llround for PPC64.
13790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13791 multiarch floor for PPC64.
13792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13793 multiarch floorf for PPC64.
13794
96770f12
AZ
13795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13796 multiarch implementation.
13797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13798 file.
13799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13800 file.
13801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13802 file.
13803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13804 file.
13805 multiarch llround for PPC64.
13806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13807 multiarch ceil for PPC64.
13808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13809 multiarch ceilf for PPC64.
13810
c3627f6e
AZ
13811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13812 multiarch implementation.
13813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13814 file.
13815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13816 file.
13817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13818 file.
13819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13820 multiarch llround for PPC64.
13821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13822 multiarch lround for PPC64.
13823
b2284ad7
AZ
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13825 multiarch implementation.
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13829 file.
13830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13833 multiarch isnan for PPC64.
13834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13835 multiarch isnanf for PPC64.
13836
69bbc63d
AZ
13837 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13838 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13839 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13840 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13841 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13843
c24517c9
AZ
13844 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13845 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13848
a52374e8
AZ
13849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13850 multiarch implementations.
13851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13852 (__libc_ifunc_impl_list): Likewise.
13853 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13854 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13855 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13856 multiarch stpcpy for PPC64.
13857
7f5ec113
AZ
13858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13859 multiarch implementations.
13860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13861 (__libc_ifunc_impl_list): Likewise.
13862 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13863 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13864 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13865 multiarch strcpy for PPC64.
13866
e28bcd42
AZ
13867 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13868 redefine function name.
13869 (_wordcopy_fwd_dest_aligned): Likewise.
13870 (_wordcopy_bwd_aligned): Likewise.
13871 (_wordcopy_bwd_dest_aligned): Likewise.
13872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13873 multiarch implementations.
13874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13875 (__libc_ifunc_impl_list): Likewise.
13876 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13879 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13880 multiarch wcscpy for PPC64.
13881
92cacfce
AZ
13882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13883 multiarch implementations.
13884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13885 (__libc_ifunc_impl_list): Likewise.
13886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13887 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13888 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13889 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13890 multiarch wcscpy for PPC64.
13891
7b714620
AZ
13892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13893 multiarch implementations.
13894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13895 (__libc_ifunc_impl_list): Likewise.
13896 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13897 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13898 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13900 multiarch wcsrchr for PPC64.
13901
16fd2ae3
AZ
13902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13903 multiarch implementations.
13904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13905 (__libc_ifunc_impl_list): Likewise.
13906 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13907 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13908 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13909 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13910 multiarch wcschr for PPC64.
13911
9ee2969b
AZ
13912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13913 multiarch implementations.
13914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13915 (__libc_ifunc_impl_list): Likewise.
13916 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13917 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13918 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13919 multiarch strchrnul for PPC64.
13920
372dc060
AZ
13921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13922 implementations.
13923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13924 (__libc_ifunc_impl_list): Likewise.
13925 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13926 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13927 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13928 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13929 strchr for PPC64.
13930
24c2c3b9
AZ
13931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13932 implementations.
13933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13934 (__libc_ifunc_impl_list): Likewise.
13935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13937 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13938 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13939 strncmp for PPC64.
13940
1c92d9a0
AZ
13941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13942 multiarch implementations.
13943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13944 (__libc_ifunc_impl_list): Likewise.
13945 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13946 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13947 strncasecmp for PPC64.
13948 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13949 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13950 multiarch strncasecmp_l for PPC64.
13951
17de3ee3
AZ
13952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13953 multiarch implementations.
13954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13955 (__libc_ifunc_impl_list): Likewise.
13956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13958 multiarch strcasecmp for PPC64.
13959 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13960 file.
13961 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13962 multiarch strcasecmp_l for PPC64.
13963
62982bf9
AZ
13964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13965 implementations.
13966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13967 (__libc_ifunc_impl_list): Likewise.
13968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13969 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13970 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13971 strnlen for PPC64.
13972
a65f4904
AZ
13973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13974 implementations.
13975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13976 (__libc_ifunc_impl_list): Likewise.
13977 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13978 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13979 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13980 strlen for PPC64.
13981
1fd005ad
AZ
13982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13983 implementations.
13984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13985 (__libc_ifunc_impl_list): Likewise.
13986 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13987 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13988 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13989 rawmemrchr for PPC64.
13990
cd05ba91
AZ
13991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13992 implementation.
13993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13994 (__libc_ifunc_impl_list): Likewise.
13995 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13996 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13997 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13998 memrchr for PPC64.
13999
870f8676
AZ
14000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14001 implementation.
14002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14003 (__libc_ifunc_impl_list): Likewise.
14004 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14005 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14006 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14007 memchr for PPC64.
14008
f00be62b
AZ
14009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14010 implementation.
14011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14012 (__libc_ifunc_impl_list): Likewise.
14013 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14014 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14015 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14016 mempcpy for PPC64.
14017
8a29a3d0
AZ
14018 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14019 avoid cretion of __bzero symbol.
14020 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14021 Likewise.
14022 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14023 Likewise.
14024 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14025 Likewise.
14026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14027 multiarch implementations.
14028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14029 (__libc_ifunc_impl_list): Likewise.
14030 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14031 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14032 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14033 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14034 bzero for PPC32.
14035 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14036 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14037 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14038 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14039 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14040 memset for PPC64.
14041 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14042
07253fcf
AZ
14043 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14045 implementations.
14046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14047 (__libc_ifunc_impl_list): Likewise.
14048 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14049 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14050 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14051 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14052 memcmp for PPC64.
14053
b5beafbc
AZ
14054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14055 multiarch for POWER/PPC64.
14056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14057 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14061 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14062 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14063 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14064 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14065 memcpy for PPC64.
14066
5e6a4d4b
AZ
14067 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14068 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14069 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14071 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14072 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14073 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14074 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14075 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14076 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14077 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14078 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14079 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14080 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14081 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14089
ddfab6dc
KK
140902013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14091
14092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14093
19b5525e
SP
140942013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14095
14096 * benchtests/Makefile (bench): Add exp2 and log2.
14097 (LDLIBS-bench-exp2): Add -lm.
14098 (LDLIBS-bench-log2): Likewise.
14099 * benchtests/exp2-inputs: New inputs file.
14100 * benchtests/log2-inputs: New inputs file.
14101 * benchtests/log-inputs: Add new inputs.
14102 * benchtests/tan-inputs: Likewise.
14103
196f7f5d
SP
141042013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14105
7a74607f
SP
14106 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14107 definition...
57f41c40
AS
14108 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14109 (csloww2): ... from here.
7a74607f 14110
196f7f5d
SP
14111 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14112 instead of structures.
14113 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14114 (POLYNOMIAL): Likewise.
14115 (TAYLOR_SLOW): Likewise.
14116 (__sin): Likewise.
14117 (__cos): Likewise.
14118 (slow1): Likewise.
14119 (slow2): Likewise.
14120 (sloww): Likewise.
14121 (sloww1); Likewise.
14122 (sloww2): Likewise.
14123 (bsloww1): Likewise.
14124 (bsloww2): Likewise.
14125 (cslow2): Likewise.
14126 (csloww): Likewise.
14127 (csloww1): Likewise.
14128 (csloww2): Likewise.
14129
0dfa665c
OB
141302013-12-10 Ondřej Bílka <neleai@seznam.cz>
14131
14132 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
14133 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14134 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
14135 * malloc/hooks.c (realloc_check): Likewise.
14136
5782a80f
OB
14137 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14138 * malloc/arena.c: Remove PER_THREAD conditional.
14139 [!PER_THREAD]: Remove code.
14140 (ptmalloc_unlock_all2): Likewise.
14141 (ptmalloc_init): Likewise.
14142 (_int_new_arena): Likewise.
14143 (arena_get2): Likewise.
14144 * malloc/hooks.c (__malloc_get_state): Likewise.
14145 (__malloc_set_state): Likewise.
14146 * malloc/malloc.c: Likewise.
14147 (struct malloc_state): Likewise.
14148 (struct malloc_par): Likewise.
14149 (__libc_realloc): Likewise.
14150 (__libc_mallopt): Likewise.
14151
aeb95445
AZ
141522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153
14154 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14155
e8349efd
OB
141562013-12-09 Ondřej Bílka <neleai@seznam.cz>
14157
14158 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14159 macro to a function. Check for zero perturb_byte.
14160 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14161
f3eeb3fc 14162 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
14163 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14164 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
14165 force_reg by atomic_forced_read.
14166 * malloc/arena.c (ptmalloc_init): Likewise.
14167 * malloc/hooks.c (top_check): Likewise.
14168
be2f9009
AZ
141692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14170
14171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14172
e7b914bd
MT
141732013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14174
14175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14176
9f0be4f8
JM
141772013-12-08 Joseph Myers <joseph@codesourcery.com>
14178
14179 * math/auto-libm-test-in: Add tests of lgamma.
14180 * math/auto-libm-test-out: Regenerated.
14181 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14182 (M_LOG_2_SQRT_PIl): Likewise.
14183 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14184 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14185 mpfr_f_f1.
14186 (func_calc_desc): Add mpfr_f_f1 union field.
14187 (ARGS1): New macro.
14188 (ARGS2): Likewise.
14189 (ARGS3): Likewise.
14190 (ARGS4): Likewise.
14191 (RET1): Likewise.
14192 (RET2): Likewise.
14193 (CALC): Likewise.
14194 (FUNC): Likewise.
14195 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14196 (test_functions): Add lgamma.
14197 (calc_generic_results): Handle mpfr_f_f1.
14198 * sysdeps/i386/fpu/libm-test-ulps: Update.
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14200
24eeafdb
AZ
142012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14202
14203 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14204 __mpn_add_n for PowerPC64/POWER7.
14205 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14206 __mpn_sub_n for PowerPC64/POWER7.
14207
4a2c0fd4
AZ
14208 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14209 __mpn_addmul_1 for PowerPC64.
14210 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14211 __mpn_submul_1 for PowerPC64.
14212 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14213 for PowerPC64.
14214 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14215 for PowerPC64.
14216
4b5b548c
FS
142172013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14218
14219 [BZ #15089]
14220 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14221
0a3ac0aa
AZ
142222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14223
14224 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14225
ccdc8438
AZ
14226 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14227 add multiarch folders.
14228 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14229 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14230 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14231 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14232 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14233 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14234 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14235 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14236 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14237 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14238 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14245
2e973d99
AZ
14246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14247 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14249 New file.
14250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14251 New file.
14252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14253 multiarch __ieee754_hypot for PowerPC32.
14254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14255 New file.
14256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14257 New file.
14258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14259 multiarch __ieee754_hypotf for PowerPC32.
14260
2d9470b2
AZ
14261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14262 long_double_symbol only if __logbl is defined.
14263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14264 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14266 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14268 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14270 path for implementation.
14271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14274 logb, and logbl multiarch implementations for PowerPC32.
14275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14276 file.
14277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14278 file.
14279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14280 multiarch logb for PowerPC32.
14281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14282 file.
14283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14284 file.
14285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14286 multiarch logbf for PowerPC32.
14287 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14289 file.
14290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14291 multiarch logbl implementation for PowerPC32.
14292
5212ffce
AZ
14293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14294 and modff multiarch implementations.
14295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14296 New file.
14297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14298 New file.
14299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14300 multiarch modf for PowerPC32.
14301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14302 New file.
14303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14304 New file.
14305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14306 multiarch modff for PowerPC32.
14307
79dccf31
AZ
14308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14309 and lrintf multiarch implementations.
14310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14311 New file.
14312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14313 New file.
14314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14315 multiarch lrint for PowerPC32.
14316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14317 file: multiarch lrintf for PowerPC32.
14318
deb66480
AZ
14319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14320 and lroundf multiarch implementations.
14321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14322 New file.
14323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14324 New file.
14325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14326 New file.
14327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14328 multiarch lround for PowerPC32.
14329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14330 file: multiarch lroundf for PowerPC32.
14331
264b036b
AZ
14332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14333 copysign and copysignf multiarch implementations.
14334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14335 New file.
14336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14337 New file.
14338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14339 file: multiarch copysign for PowerPC32.
14340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14341 file: multiarch copysignf for PowerPC32.
14342
d47db6c9
AZ
14343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14344 and truncf multiarch implementations.
14345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14346 New file.
14347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14348 file.
14349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14350 multiarch trunc for PowerPC32.
14351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14352 New file.
14353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14354 New file.
14355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14356 multiarch truncf for PowerPC32.
14357
ddb60b5a
AZ
14358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14359 and roundf multiarch implementations.
14360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14361 New file.
14362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14363 file.
14364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14365 multiarch round for PowerPC32.
14366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14367 New file.
14368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14369 New file.
14370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14371 multiarch roundf for PowerPC32.
14372
bedcf49b
AZ
14373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14374 and floorf multiarch implementations.
14375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14376 New file.
14377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14378 file.
14379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14380 multiarch floor for PowerPC32.
14381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14382 New file.
14383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14384 New file.
14385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14386 multiarch floorf for PowerPC32.
14387
35ae5b40
AZ
14388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14389 and ceilf multiarch implementations.
14390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14391 New file.
14392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14393 file.
14394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14395 multiarch ceil for PowerPC32.
14396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14397 New file.
14398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14399 file.
14400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14401 multiarch ceilf for PowerPC32.
14402
ae1a4cd9
AZ
14403 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14404 is defined.
14405 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14406 FINITEF is defined.
14407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14408 and finitef multiarch implementations.
14409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14410 New file.
14411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14412 file.
14413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14414 multiarch finite for PowerPC32.
14415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14416 New file.
14417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14418 file: multiarch finitef for PowerPC32.
14419
64fffd65
AZ
14420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14421 and isinff multiarch implementations.
14422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14423 file.
14424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14425 file.
14426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14427 multiarch isinf for PowerPC32.
14428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14429 New file.
14430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14431 multiarch isinff for PowerPC32.
14432
8e4e7ba2
AZ
14433 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14434 alias when __isnan is defined.
14435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14436 and isnanf multiarch implementations.
14437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14438 file.
14439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14440 file.
14441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14442 file.
14443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14444 file.
14445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14446 multiarch isnan for PowerPC32.
14447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14448 New file.
14449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14450 New file.
14451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14452 multiarch isnanf for PowerPC32.
14453
ddba588e
AZ
14454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14455 and sqrtf multiarch implementations.
14456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14457 file.
14458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14459 file.
14460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14461 multiarch sqrt for PowerPC32.
14462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14463 file.
14464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14465 file.
14466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14467 multiarch sqrtf for PowerPC32.
14468
0f96a2f0
AZ
14469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14470 and llroundf multiarch implementations.
14471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14472 New file.
14473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14474 New file.
14475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14476 New file.
14477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14478 file: multiarch llround for PowerPC32.
14479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14480 file: multiarch llroundf for PowerPC32.
14481
c9b5d79e
AZ
14482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14483 multiarch PowerPC32 fpu implementations.
14484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14485 New file.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14487 New file.
14488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14489 multiarch llrint for PowerPC32.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14491 New file.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14493 New file.
14494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14495 file.
14496
9cbb3aab
AZ
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14498
ea5a72f8
AZ
14499 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14500 file.
14501 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14502 file.
14503 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14504 file.
14505 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14506 multiarch wordcopy for PPC32.
14507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14508 wordcopy objects.
14509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14510 (__libc_ifunc_impl_list): Likewise.
14511 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14512 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14513 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14514 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14515 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14516 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14517
93be09e7
AZ
14518 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14520 file.
14521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14522 file.
14523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14524 file.
14525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14526 multiarch wcscpy for PPC32.
14527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14528 multiarch objects.
14529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14530 (__libc_ifunc_impl_list): Likewise.
14531 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14532 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14533 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14534 sysdeps/powerpc/power6/wcscpy.c.
14535
bb04e529
AZ
14536 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14538 file.
14539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14540 file.
14541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14542 file.
14543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14544 multiarch wcsrchr for PPC32.
14545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14546 multiarch objects.
14547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14548 (__libc_ifunc_impl_list): Likewise.
14549 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14550 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14551 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14552 sysdeps/powerpc/power6/wcsrchr.c.
14553
05b5cd1c
AZ
14554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14555 file.
14556 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14557 file.
14558 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14560 multiarch wcschr for PPc32.
14561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14562 multiarch objects.
14563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14564 (__libc_ifunc_impl_list): Likewise.
14565 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14566 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14567 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14568 sysdeps/powerpc/power6/wcschr.c.
14569
ba964147
AZ
14570 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14571 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14572 file.
14573 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14574 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14575 file: multiarch strchr for PPC32.
14576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14577 multiarch objects.
14578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14579 (__libc_ifunc_impl_list): Likewise.
14580
31c81aaa
AZ
14581 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14582 name.
14583 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14584 file.
14585 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14586 file.
14587 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14588 multiarch strchrnul for PPC32.
14589 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14590 multiarch objects.
14591 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14592 (__libc_ifunc_impl_list): Likewise.
14593
0d0607d9
AZ
14594 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14595 file.
14596 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14597 multiarch strncasecmp for PPC32.
14598 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14599 file.
14600 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14601 multiarch strncasecmp_l for PPC32.
14602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14603 strncasecmp multiarch objects.
14604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14605 (__libc_ifunc_impl_list): Likewise.
14606
4dfd5c86
AZ
14607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14608 file.
14609 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14610 multiarch strncasecmp for PPC32.
14611 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14612 New file.
14613 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14614 multiarch strcasecmp_l for PPC32.
14615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14616 multiarch objects.
14617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14618 (__libc_ifunc_impl_list): Likewise.
14619
a19e01a3
AZ
14620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14621 file.
14622 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14623 file.
14624 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14625 multiarch strncmp for PPC32.
14626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14627 multiarch objects.
14628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14629 (__libc_ifunc_impl_list): Likewise.
14630
ae9cf7a2
AZ
14631 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14632 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14633 file.
14634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14635 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14637 multiarch objects.
14638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14639 (__libc_ifunc_impl_list): Likewise.
14640
3148bb7d
AZ
14641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14642 file.
14643 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14644 file.
14645 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14647 multiarch objects.
14648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14649 (__libc_ifunc_impl_list): Likewise.
14650
7af8b946
AZ
14651 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14652 file.
14653 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14654 file.
14655 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14656 multiarch rawmemchr for PPC32.
14657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14658 multiarch objects.
14659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14660 (__libc_ifunc_impl_list): Likewise.
14661
03a6aa6a
AZ
14662 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14663 file.
14664 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14665 file.
14666 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14667 file: memrchr multiarch for PPC32.
14668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14669 multiarch objects.
14670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14671 (__libc_ifunc_impl_list): Likewise.
14672
1c62e6d9
AZ
14673 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14674 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14675 file.
14676 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14677 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14678 multiarch memchr for PPC32.
14679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14680 multiarch objects.
14681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14682 (__libc_ifunc_impl_list): Likewise.
14683
87da8bdb
AZ
14684 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14685 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14686 file.
14687 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14688 file.
14689 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14690 file: multiarch mempcpy for PPC32.
14691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14692 multiarch objects.
14693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14694 (__libc_ifunc_impl_list): Likewise.
14695
20ed4714
AZ
14696 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14699 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14700 multiarch bzero for PPC32.
14701 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14702 file.
14703 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14704 file.
14705 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14706 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14707 file: multiarch memset for PPC32.
14708 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14710 memset multiarch objects.
14711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14712 (__libc_ifunc_impl_list): Likewise.
14713
ab3e3a46
AZ
14714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14715 file.
14716 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14718 memcmp for PPC32.
14719 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14721 multiarch objects.
14722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14723 (__libc_ifunc_impl_list): Likewise.
14724
930de6f0
AZ
14725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14728 file.
14729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14730 file.
14731 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14732 file.
14733 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14734 multiarch memcpy for PPC32.
14735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14736 multiarch objects.
14737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14738 (__libc_ifunc_impl_list): Likewise.
14739
4c628e00
AZ
14740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14741 support multiarch for POWER/PPC32.
14742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14743 Likewise.
14744 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14746 Implies file to make multiarch folder appers before the fpu and
14747 default folder for power4 configuration.
14748
f4479220
SP
147492013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14750
14751 * scripts/bench.pl: Append volatile keyword to type.
14752
8517800f
KK
147532013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14754
14755 * sysdeps/sh/sotruss-lib.c: New file.
14756 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14757
180138f1
AZ
147582013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14759
14760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14761
bbf37bdc
JM
147622013-12-05 Joseph Myers <joseph@codesourcery.com>
14763
e47cc4e0
JM
14764 [BZ #6810]
14765 * math/w_tgamma.c: Include <errno.h>.
14766 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14767 * math/w_tgammaf.c: Include <errno.h>.
14768 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14769 * math/w_tgammal.c: Include <errno.h>.
14770 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14771 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14772 underflow. Add more tgamma tests.
14773 * math/auto-libm-test-out: Regenerated.
14774 * sysdeps/i386/fpu/libm-test-ulps: Update.
14775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14776
bbf37bdc
JM
14777 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14778 sin, sinh, tan, tanh, tgamma, y0 and y1.
14779 * math/auto-libm-test-out: Regenerated.
14780 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14781 (TEST_COND_x86): Likewise.
14782 (M_E2l): Remove macro.
14783 (M_E3l): Likewise.
14784 (M_2_SQRT_PIl): Likewise.
14785 (M_SQRT_PIl): Likewise.
14786 (M_1_DIV_El): Likewise.
14787 (log_test_data): Use AUTO_TESTS_f_f.
14788 (log10_test_data): Likewise.
14789 (log1p_test_data): Likewise.
14790 (log2_test_data): Likewise.
14791 (sin_test_data): Likewise.
14792 (sin_tonearest_test_data): Likewise.
14793 (sin_towardzero_test_data): Likewise.
14794 (sin_downward_test_data): Likewise.
14795 (sin_upward_test_data): Likewise.
14796 (sinh_test_data): Likewise.
14797 (sinh_tonearest_test_data): Likewise.
14798 (sinh_towardzero_test_data): Likewise.
14799 (sinh_downward_test_data): Likewise.
14800 (sinh_upward_test_data): Likewise.
14801 (tan_test_data): Likewise.
14802 (tan_tonearest_test_data): Likewise.
14803 (tan_towardzero_test_data): Likewise.
14804 (tan_downward_test_data): Likewise.
14805 (tan_upward_test_data): Likewise.
14806 (tanh_test_data): Likewise.
14807 (tgamma_test_data): Likewise.
14808 (y0_test_data): Likewise.
14809 (y1_test_data): Likewise.
14810 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14811 (special_real_inputs): Add pi/4.
14812 * sysdeps/i386/fpu/libm-test-ulps: Update.
14813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14814
eb5ad6b9
AZ
148152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14816
14817 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14818 "longjmp_target" static probes.
14819 (__longjmp): Rename to __longjmp_symbol.
14820 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14821 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14822 on which longjmp to generate.
14823 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14825 probe.
14826 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14827 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14830 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14831 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14833 __longjmp_symbol based on which __longjmp to generate.
14834 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14835 probe.
14836 (setjmp): Rename to setjmp_symbol.
14837 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14838 (_setjmp): Rename to _setjmp_symbol.
14839 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14840 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14841 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14842 which setjmp to generate.
14843 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14844 "longjmp_target" static probes.
14845
d136c6dc
SP
148462013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14847
9298ecba
SP
14848 * benchtests/README: Add note about output arguments.
14849 * benchtests/bench-sincos.c: Remove file.
14850 * benchtests/sincos-inputs: New file.
14851 * scripts/bench.pl: Identify output arguments and define
14852 static variables for them.
14853
232983e9
SP
14854 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14855
d136c6dc
SP
14856 [BZ #15941]
14857 * Makefile (INSTALL): Add install-plain.texi as the primary
14858 dependency.
14859 * manual/install-plain.texi: New file.
14860 * manual/install.texi: Include node directive only for
14861 non-plaintext output.
14862
699ff837
JM
148632013-12-04 Joseph Myers <joseph@codesourcery.com>
14864
ab07cea8
JM
14865 * stdlib/longlong.h: Update from GCC.
14866
699ff837
JM
14867 [BZ #6807]
14868 [BZ #15901]
14869 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14870 * math/w_j0f.c (y0f): Likewise.
14871 * math/w_j0l.c (__y0l): Likewise.
14872 * math/w_j1.c (y1): Likewise.
14873 * math/w_j1f.c (y1f): Likewise.
14874 * math/w_j1l.c (__y1l): Likewise
14875 * math/w_jn.c (yn): Likewise.
14876 * math/w_jnf.c (ynf): Likewise.
14877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14878 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14879 value for Bessel function domain errors outside _SVID_ mode.
14880 Adjust sign of return value for yn (negative integer, 0).
14881 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14882 by zero in return for negative x and set sign appropriately for
14883 negative n.
14884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14885 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14886 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14887 expectations in error cases.
14888 (y1_test_data): Likewise.
14889 (yn_test_data): Likewise.
14890 * sysdeps/i386/fpu/libm-test-ulps: Update.
14891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14892
5b118558
UW
148932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14894
14895 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14896 "64" to "64-v1". Add "64-v2".
14897 (abi-64-options): Rename to ...
14898 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14899 (abi-64-condition): Rename to ...
14900 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14901 (abi-64-ld-soname): Rename to ...
14902 (abi-64-v1-ld-soname): ... this.
14903 (abi-64-v2-options): Define.
14904 (abi-64-v2-condition): Likewise.
14905 (abi-64-v2-ld-soname): Likewise.
14906 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14907 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14911
61cd8fe4
UW
149122013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14913 Alan Modra <amodra@gmail.com>
14914
14915 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14916 New versions for use with the ELFv2 ABI.
14917 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14918 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14919 declaration.
14920 (struct La_ppc64v2_retval): Likewise.
14921 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14922 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14923 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14924 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14925 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14926 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14927 Do not save or restore CR.
14928 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14929 (_dl_profile_resolve): Do no save or restore CR. Support extended
14930 return values for ELFv2 ABI. Fix location of FPR return registers.
14931 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14932 updated values for _CALL_ELF == 2.
14933 (La_regs, La_retval, int_retval): Likewise.
14934
8b8a692c
UW
149352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14936
14937 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14938 (FRAME_MIN_SIZE_PARM): Likewise.
14939 (FRAME_BACKCHAIN): Likewise.
14940 (FRAME_CR_SAVE): Likewise.
14941 (FRAME_LR_SAVE): Likewise.
14942 (FRAME_TOC_SAVE): Likewise.
14943 (FRAME_PARM_SAVE): Likewise.
14944 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14945 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14946 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14947 (call_mcount_parm_offset): New macro.
14948 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14949 (PROF): Use symbolic stack frame offsets.
14950 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14952 Redefine in terms of FRAME_MIN_SIZE.
14953 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14954 (_dl_profile_resolve): Likewise. Update comment.
14955 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14956 symbols stack frame offsets.
14957 (__sigsetjmp): Likewise.
14958 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14959 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14960 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14961 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14962
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14964 (FRAME_BACKCHAIN): Remove.
14965 (FRAME_CR_SAVE): Likewise.
14966 (FRAME_LR_SAVE): Likewise.
14967 (FRAME_COMPILER_DW): Likewise.
14968 (FRAME_LINKER_DW): Likewise.
14969 (FRAME_TOC_SAVE): Likewise.
14970 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
14971 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14972 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14973 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14975 (CHECK_SP): Use symbolic stack frame offsets.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14977 zone" instead of caller's parameter save area for temp storage.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14979 Likewise. Also, use symbolic stack frame offsets.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14981 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14982 our own stack frame instead of the caller's.
14983 (__socket): Use symbolic stack frame offsets.
14984
122b66de
UW
149852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14986 Alan Modra <amodra@gmail.com>
14987
14988 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14989 Define.
57f41c40
AS
14990 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14991 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
14992 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14993 New function.
14994 (elf_machine_fixup_plt): Call it.
14995 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14996 reloc arguments.
14997 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
14998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14999 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
15000 r2 before calling target.
15001
696caf1d
UW
150022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15003 Alan Modra <amodra@gmail.com>
15004
15005 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15006 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15007 versions of macros to support ELFv2 ABI.
15008 (LOCALENTRY): New macro.
15009 (ENTRY, EALIGN): Use it.
15010 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15011 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15012 fall through into ENTRY entry point.
15013 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15014 Only define if _CALL_ELF != 2.
15015
15016 (elf_machine_matches_host): Verify ABI version matches.
15017 (RTLD_START): Use LOCALENTRY.
15018 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15019 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15020 (PLT_ENTRY_WORDS): New macro.
15021 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15022 (elf_machine_runtime_setup): Support ELFv2 ABI.
15023 (elf_machine_fixup_plt): Likewise.
15024 (elf_machine_plt_conflict): Likewise.
15025 (resolve_ifunc): Likewise.
15026 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15027 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15028 Likewise.
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15030 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15032 (makecontext): Support ELFv2 ABI.
15033 * elf/elf.h (EF_PPC64_ABI): Define.
15034
d31beafa
UW
150352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15036
57f41c40
AS
15037 * sysdeps/powerpc/powerpc64/sysdep.h
15038 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15039 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15040 (ENTRY) [ASSEMBLER]: ... but instead here ...
15041 (EALIGN) [ASSEMBLER]: ... and here.
15042 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15043 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15044 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
15045 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15046 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
15047 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15048 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
15049 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15051 Use PPC64_LOAD_FUNCPTR.
15052
b525166b
UW
15053 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15054
7ec07d9a
AM
150552013-12-04 Alan Modra <amodra@gmail.com>
15056
15057 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15058 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15059 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15060 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15061
15062 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15063 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15064 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15065 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15066 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15067 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15068
5162e7dd
UW
150692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15070
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15072 (__makecontext): Fix incorrect CFI when backtracing out of
15073 context created via makecontext.
15074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15075 (__setcontext): Fix incorrect CFI during switch to new context.
15076 (__novec_setcontext): Likewise.
15077
19e3372b
OB
150782013-12-04 Ondřej Bílka <neleai@seznam.cz>
15079
15080 [BZ #4772]
15081 * time/strptime_l.c (__strptime_internal): Allow modifiers
15082 in strptime.
15083 * time/tst-strptime.c (day_tests): Add testcase.
15084
ecaf142d
SP
150852013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15086
15087 * scripts/bench.pl: Skip over blank lines.
15088
fbf964ae
PE
150892013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15090
15091 [BZ #926]
15092 * manual/time.texi (Calendar Time): Clarify what timezone functions
15093 use.
15094
fa60a674
AZ
150952013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15096
15097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15098
d674f0ef
OB
150992013-12-04 Ondřej Bílka <neleai@seznam.cz>
15100
15101 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15102 implementation.
15103 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15104 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15105 * debug/memset_chk.c (__memset_chk): Likewise.
15106 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15107 * debug/strncpy_chk.c: Likewise.
15108
17dea188
JM
151092013-12-03 Joseph Myers <joseph@codesourcery.com>
15110
749008ff
JM
15111 [BZ #15268]
15112 [BZ #15425]
15113 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15114 (__ieee754_exp): For possibly underflowing results, check size of
15115 result and force underflow exception if required.
15116 * math/auto-libm-test-in: Add more tests of exp.
15117 * math/auto-libm-test-out: Regenerated.
15118 * sysdeps/i386/fpu/libm-test-ulps: Update.
15119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15120
17dea188
JM
15121 [BZ #16283]
15122 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15123 * math/w_exp2f.c (__exp2f): Likewise.
15124 * math/w_exp2l.c (__exp2l): Likewise.
15125 * math/auto-libm-test-in: Do not allow missing errno on exp2
15126 underflow.
15127 * math/auto-libm-test-out: Regenerated.
15128
b20de2c3
OB
151292013-12-03 Ondřej Bílka <neleai@seznam.cz>
15130
15131 [BZ #16274]
15132 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15133 handle filename validation.
15134 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15135 (do_open): Delete.
15136
d8e2dbe3
JM
151372013-12-03 Joseph Myers <joseph@codesourcery.com>
15138
34e16df5
JM
15139 [BZ #6786]
15140 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15141 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15142 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15143 <float.h>.
15144 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15146 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15148 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15149 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15150 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15151 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15152 Add more erfc tests.
15153 * math/auto-libm-test-out: Regenerated.
15154 * sysdeps/i386/fpu/libm-test-ulps: Update.
15155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15156
d8e2dbe3
JM
15157 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15158 exp2, expm1, j0 and j1.
15159 * math/auto-libm-test-out: Regenerated.
15160 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15161 (erfc_test_data): Likewise.
15162 (exp_test_data): Likewise.
15163 (exp_tonearest_test_data): Likewise.
15164 (exp_towardzero_test_data): Likewise.
15165 (exp_downward_test_data): Likewise.
15166 (exp_upward_test_data): Likewise.
15167 (exp10_test_data): Likewise.
15168 (exp2_test_data): Likewise.
15169 (expm1_test_data): Likewise.
15170 (j0_test_data): Likewise.
15171 (j1_test_data): Likewise.
15172 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15173 (input_flag_type): Add flag_xfail_rounding.
15174 (input_flags): Add xfail-rounding.
15175 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15176 (output_for_one_input_case): Handle flag_xfail_rounding.
15177 * sysdeps/i386/fpu/libm-test-ulps: Update.
15178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15179
18d14251
AJ
151802013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15181
3d2e6075 15182 [BZ #16289]
18d14251
AJ
15183 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15184 division by 0.
15185
520d437b
SP
151862013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15187
15188 [BZ #16195]
15189 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15190 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15191 (STAP_PROBE0): New macro.
15192 (STAP_PROBE1): Likewise.
15193 (STAP_PROBE2): Likewise.
15194 (STAP_PROBE3): Likewise.
15195 (STAP_PROBE4): Likewise.
15196
416e0145
OB
151972013-12-02 Ondřej Bílka <neleai@seznam.cz>
15198
15199 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15200
9d17796a
SE
152012013-12-02 Steve Ellcey <sellcey@mips.com>
15202
15203 * benchtests/Makefile (bench): Add sqrt.
15204 (LDLIBS-bench-sqrt): New.
15205 * benchtests/sqrt-input: New.
15206
f524d6a8
PS
152072013-12-02 Pavel Simerda <psimerda@redhat.com>
15208
639a0ef8
PS
15209 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15210 (GAIH_EAI): Likewise.
15211 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15212 (gaih_inet): Likewise.
15213 (getaddrinfo): Don't use GAIH_EAI.
15214
f524d6a8
PS
15215 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15216 (struct gaih): Remove definition.
15217
df3aedaf
SP
152182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15219
15220 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15221 Use HERRNOP directly.
15222
1ab19dec
AZ
152232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15224
b42ad38d 15225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 15226
176b0c79
JM
152272013-11-30 Joseph Myers <joseph@codesourcery.com>
15228
15229 * math/gen-auto-libm-tests.c (test_functions): Add more
15230 single-argument functions.
15231 (special_fill_pi_2): New function.
15232 (special_fill_minus_pi_2): Likewise.
15233 (special_fill_pi_6): Likewise.
15234 (special_fill_minus_pi_6): Likewise.
15235 (special_fill_pi_3): Likewise.
15236 (special_fill_2pi_3): Likewise.
15237 (special_fill_e): Likewise.
15238 (special_fill_1_e): Likewise.
15239 (special_fill_e_minus_1): Likewise.
15240 (special_real_inputs): Add more special inputs.
15241 (output_for_one_input_case): Do not require ERANGE on underflow to
15242 zero if round-to-nearest result does not underflow to zero, unless
15243 exact results required.
15244 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15245 atan, atanh, cbrt, cos and cosh.
15246 * math/auto-libm-test-out: Regenerated.
15247 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15248 (acos_tonearest_test_data): Likewise.
15249 (acos_towardzero_test_data): Likewise.
15250 (acos_downward_test_data): Likewise.
15251 (acos_upward_test_data): Likewise.
15252 (acosh_test_data): Likewise.
15253 (asin_test_data): Likewise.
15254 (asin_tonearest_test_data): Likewise.
15255 (asin_towardzero_test_data): Likewise.
15256 (asin_upward_test_data): Likewise.
15257 (asinh_test_data): Likewise.
15258 (atan_test_data): Likewise.
15259 (atanh_test_data): Likewise.
15260 (cbrt_test_data): Likewise.
15261 (cos_test_data): Likewise.
15262 (cos_tonearest_test_data): Likewise.
15263 (cos_towardzero_test_data): Likewise.
15264 (cos_downward_test_data): Likewise.
15265 (cos_upward_test_data): Likewise.
15266 (cosh_test_data): Likewise.
15267 (cosh_tonearest_test_data): Likewise.
15268 (cosh_towardzero_test_data): Likewise.
15269 (cosh_downward_test_data): Likewise.
15270 (cosh_upward_test_data): Likewise.
15271 * sysdeps/i386/fpu/libm-test-ulps: Update.
15272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15273
ffb536d0
JM
152742013-11-29 Joseph Myers <joseph@codesourcery.com>
15275
2a77a467
JM
15276 [BZ #6787]
15277 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15278 * math/w_exp10f.c (__exp10f): Likewise.
15279 * math/w_exp10l.c (__exp10l): Likewise.
15280 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15281 errno settings in existing tests.
15282
ea3bc4e8
JM
15283 [BZ #14032]
15284 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15285 precision control set to double precision.
15286 * sysdeps/i386/fpu/w_sqrt.c: New file.
15287 * math/auto-libm-test-in: Add more tests.
15288 * math/auto-libm-test-out: Update.
15289
0712c9d8
JM
15290 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15291 (sqrt_test_tonearest): New function.
15292 (sqrt_towardzero_test_data): New variable.
15293 (sqrt_test_towardzero): New function.
15294 (sqrt_downward_test_data): New variable.
15295 (sqrt_test_downward): New function.
15296 (sqrt_upward_test_data): New variable.
15297 (sqrt_test_upward): New function.
15298 (main): Call the new functions.
15299
ffb536d0
JM
15300 * math/gen-auto-libm-tests.c: New file.
15301 * math/auto-libm-test-in: Likewise.
15302 * math/auto-libm-test-out: New generated file.
15303 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15304 variables.
15305 (%beautify): Add generated representations of zero.
15306 (top level): Set $auto_input and call parse_auto_input.
15307 (beautify): Remove trailing "f" from hex float constants.
15308 (parse_args): Handle XFAIL_TEST.
15309 (convert_condition): New function.
15310 (or_value): Likewise.
15311 (or_cond_value): Likewise.
15312 (generate_testfile): Handle AUTO_TESTS_* lines.
15313 (parse_auto_input): New function.
15314 * math/libm-test.inc (XFAIL_TEST): New macro.
15315 (ERRNO_UNCHANGED): Update value.
15316 (ERRNO_EDOM): Likewise.
15317 (ERRNO_ERANGE): Likewise.
15318 (IGNORE_RESULT): Likewise.
15319 (TEST_COND_flt_32): New macro.
15320 (TEST_COND_dbl_64): Likewise.
15321 (TEST_COND_ldbl_96_intel): Likewise.
15322 (TEST_COND_ldbl_96_m68k): Likewise.
15323 (TEST_COND_ldbl_128): Likewise.
15324 (TEST_COND_ldbl_128ibm): Likewise.
15325 (TEST_COND_long32): Likewise.
15326 (TEST_COND_long64): Likewise.
15327 (TEST_COND_before_rounding): Likewise.
15328 (TEST_COND_after_rounding): Likewise.
15329 (enable_test): Handle XFAIL_TEST flag.
15330 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15331 with finite results.
15332 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15333 auto-libm-test-out.
15334
acd98a8e
AK
153352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15336 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15337
15338 [BZ #16214]
15339 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15340 __tls_get_addr_internal instead of __tls_get_offset in order to
15341 avoid GOT pointer dependency. Make rtld export
15342 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15343 __tls_get_addr since we are a __tls_get_offset platform.
15344 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15345 GOT pointer being set up before.
15346 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15347
3c1c46a6
JM
153482013-11-28 Joseph Myers <joseph@codesourcery.com>
15349
7475aef5
JM
15350 * manual/math.texi (Errors in Math Functions): Document accuracy
15351 goals.
15352
8bca7cd8
JM
15353 [BZ #15004]
15354 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15355 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15358 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15360 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15364 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15368 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15370
91a1f3fe
JM
15371 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15372 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15373 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15374 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15375 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15376 Likewise.
15377 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15378 Likewise.
15379 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15380 Likewise.
15381 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15382 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15383 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15384 atomic-feupdateenv and flt-rounds.
15385 * sysdeps/powerpc/nofpu/Versions (libc): Add
15386 __atomic_feholdexcept, __atomic_feclearexcept,
15387 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15388 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15389 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15390 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15391 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15392 here.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15394 Update.
15395
c5df7609
JM
15396 * manual/arith.texi (FP Exceptions): Document that exceptions may
15397 not be raised when matherr is used.
15398 (Math Error Reporting): Document overflow in directed rounding
15399 modes. Document that errno may not be set when finite values are
15400 returned on overflow. Document intent to set errno on underflow
15401 only for underflow to zero.
15402
3c1c46a6
JM
15403 [BZ #16271]
15404 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15405 round-to-nearest then adjust result for other rounding modes.
15406 * include/fenv.h (fegetround): Use libm_hidden_proto.
15407 * math/fegetround.c (fegetround): Use libm_hidden_def.
15408 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15409 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15410 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15411 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15412 Likewise.
15413 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15414 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15415 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15416 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15417
5a4c6d53
SP
154182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15419
15420 [BZ #16077]
15421 * nss/Versions (libnss_files): Add
15422 _nss_files_gethostbyname3_r.
15423 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15424 New function.
15425 (HOST_DB_LOOKUP): Remove macro.
15426 (_nss_files_gethostbyname_r): Implement function without the
15427 HOST_DB_LOOKUP macro.
15428 (_nss_files_gethostbyname2_r): Likewise.
15429
897b98ba
OB
154302013-11-28 Ondřej Bílka <neleai@seznam.cz>
15431
15432 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15433
6f476861
UB
154342013-11-26 Uros Bizjak <ubizjak@gmail.com>
15435
15436 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15437 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15438 warning.
15439
bd12ab55
AZ
154402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15441
15442 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15443 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15444 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15445 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15446 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15447 __fe_nomask_env_priv and attribute_hidden.
15448 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15449 (libc_feupdateenv_test_ppc): Likewise.
15450 (libc_feresetround_ppc): Likewise.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15452 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15453 compat_symbol macro.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15455 (__fe_nomask_env): Likewise.
15456 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15457
52bb6543
OB
154582013-11-26 Ondřej Bílka <neleai@seznam.cz>
15459
15460 * string/Makefile: Remove ifunc tests.
15461 * string/test-string.h: Define TEST_IFUNC.
15462 * string/test-bcopy-ifunc.c: Remove.
15463 * string/test-bzero-ifunc.c: Likewise.
15464 * string/test-memccpy-ifunc.c: Likewise.
15465 * string/test-memchr-ifunc.c: Likewise.
15466 * string/test-memcmp-ifunc.c: Likewise.
15467 * string/test-memcpy-ifunc.c: Likewise.
15468 * string/test-memmem-ifunc.c: Likewise.
15469 * string/test-memmove-ifunc.c: Likewise.
15470 * string/test-mempcpy-ifunc.c: Likewise.
15471 * string/test-memrchr-ifunc.c: Likewise.
15472 * string/test-memset-ifunc.c: Likewise.
15473 * string/test-rawmemchr-ifunc.c: Likewise.
15474 * string/test-stpcpy-ifunc.c: Likewise.
15475 * string/test-stpncpy-ifunc.c: Likewise.
15476 * string/test-strcasecmp-ifunc.c: Likewise.
15477 * string/test-strcasestr-ifunc.c: Likewise.
15478 * string/test-strcat-ifunc.c: Likewise.
15479 * string/test-strchr-ifunc.c: Likewise.
15480 * string/test-strchrnul-ifunc.c: Likewise.
15481 * string/test-strcmp-ifunc.c: Likewise.
15482 * string/test-strcpy-ifunc.c: Likewise.
15483 * string/test-strcspn-ifunc.c: Likewise.
15484 * string/test-strlen-ifunc.c: Likewise.
15485 * string/test-strncasecmp-ifunc.c: Likewise.
15486 * string/test-strncat-ifunc.c: Likewise.
15487 * string/test-strncmp-ifunc.c: Likewise.
15488 * string/test-strncpy-ifunc.c: Likewise.
15489 * string/test-strnlen-ifunc.c: Likewise.
15490 * string/test-strpbrk-ifunc.c: Likewise.
15491 * string/test-strrchr-ifunc.c: Likewise.
15492 * string/test-strspn-ifunc.c: Likewise.
15493 * string/test-strstr-ifunc.c: Likewise.
15494
ab260039 154952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
15496
15497 * benchtests/Makefile: Remove ifunc tests.
15498 * benchtests/bench-string.h: Define TEST_IFUNC.
15499 * benchtests/bench-bcopy-ifunc.c: Remove.
15500 * benchtests/bench-bzero-ifunc.c: Likewise.
15501 * benchtests/bench-memccpy-ifunc.c: Likewise.
15502 * benchtests/bench-memchr-ifunc.c: Likewise.
15503 * benchtests/bench-memcmp-ifunc.c: Likewise.
15504 * benchtests/bench-memcpy-ifunc.c: Likewise.
15505 * benchtests/bench-memmem-ifunc.c: Likewise.
15506 * benchtests/bench-memmove-ifunc.c: Likewise.
15507 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15508 * benchtests/bench-memrchr-ifunc.c: Likewise.
15509 * benchtests/bench-memset-ifunc.c: Likewise.
15510 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15511 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15512 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15513 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15514 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15515 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15516 * benchtests/bench-strcat-ifunc.c: Likewise.
15517 * benchtests/bench-strchr-ifunc.c: Likewise.
15518 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15519 * benchtests/bench-strcmp-ifunc.c: Likewise.
15520 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15521 * benchtests/bench-strcpy-ifunc.c: Likewise.
15522 * benchtests/bench-strcspn-ifunc.c: Likewise.
15523 * benchtests/bench-strlen-ifunc.c: Likewise.
15524 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15525 * benchtests/bench-strncat-ifunc.c: Likewise.
15526 * benchtests/bench-strncmp-ifunc.c: Likewise.
15527 * benchtests/bench-strncpy-ifunc.c: Likewise.
15528 * benchtests/bench-strnlen-ifunc.c: Likewise.
15529 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15530 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 15531 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
15532 * benchtests/bench-strspn-ifunc.c: Likewise.
15533 * benchtests/bench-strstr-ifunc.c: Likewise.
15534
155352013-11-26 Ondřej Bílka <neleai@seznam.cz>
15536
ab260039
OB
15537 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15538
d1d9eaf4 155392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 15540
d1d9eaf4
OB
15541 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15542 * rt/aio.h: Likewise.
15543 * sysdeps/gnu/bits/utmp.h: Likewise.
15544 * sysdeps/gnu/bits/utmpx.h: Likewise.
15545 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15546 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15547 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15548 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15549 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15550 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15551 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15552 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15553 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15554 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15555 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15556 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15559 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15560 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15561 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15562 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15563 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15564 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15566 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15567 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15568 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15569 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15572 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15573 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15574 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15575 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15576 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15577 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15578 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15580 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15581 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15582 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15583 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15584 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15585 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15586 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15587
a7624ed9
CD
155882013-11-25 Carlos O'Donell <carlos@redhat.com>
15589
15590 [BZ #16245]
15591 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15592 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15593
63cfe52b
JM
155942013-11-25 Joseph Myers <joseph@codesourcery.com>
15595
15596 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15597 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15598 Likewise.
15599
41e8926a
AZ
156002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15601
15602 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15603 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15604 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15605 (__fesetround): Remove define.
15606 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15607 rounding and exceptions handling.
15608 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15609 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15610 (__fe_nomask_env): Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15612 __fegetround instead of fegetround.
15613 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15615
6851bd4d
RM
156162013-11-21 Roland McGrath <roland@hack.frob.com>
15617
070906ff
RM
15618 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15619 it's there.
15620
6851bd4d
RM
15621 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15622
84ae135d
MI
156232013-11-21 Meador Inge <meadori@codesourcery.com>
15624
15625 [BZ #11157]
15626 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15627 (encrypt_r): Likewise.
15628 * malloc/obstack.h (obstack_free): Likewise.
15629 * posix/unistd.h (encrypt): Likewise.
15630
daf75146
GM
156312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15632
15633 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15634 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15635 DL_CALL_DT_FINI() that call the functions directly.
15636 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15637 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15638 * elf/dl-fini.c: Likewise.
15639
10ad46bc
OB
156402013-11-20 Ondřej Bílka <neleai@seznam.cz>
15641
15642 * malloc/hooks.c (memalign_check): Add alignment rounding.
15643 * malloc/malloc.c (_mid_memalign): New function.
15644 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15645 Implement by calling _mid_memalign.
15646 * manual/probes.texi (Memory Allocation Probes): Remove
15647 memory_valloc_retry and memory_pvalloc_retry.
15648
f3fd2628
SP
156492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15650
4712799f
SP
15651 * locale/programs/locarchive.c (open_archive): Add const
15652 qualifier to ARCHIVEFNAME and copy default fname to
15653 DEFAULT_FNAME.
15654
0417b20f
SP
15655 [BZ #15601]
15656 * libio/tst-widetext.input: Rename Oriya to Odia.
15657 * locale/iso-639.def: Likewise.
15658
f3fd2628
SP
15659 * manual/probes.texi (Mathematical Function Probes): Add
15660 documentation for sin, cos, asin and acos probes.
15661 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15662 (__sin32): Add slowasin probe.
15663 (__cos32): Add slowacos probe.
15664 (__mpsin): Add slowsin probe.
15665 (__mpcos): Add slowcos probe.
15666
73c1ce4f
JM
156672013-11-19 Joseph Myers <joseph@codesourcery.com>
15668
15669 [BZ #15483]
15670 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15671 thread-local __sim_exceptions_thread and global
15672 __sim_exceptions_global.
15673 (__sim_disabled_exceptions): Change to thread-local
15674 __sim_disabled_exceptions_thread and global
15675 __sim_disabled_exceptions_global.
15676 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15677 and global __sim_round_mode_global.
15678 (__simulate_exceptions): Use thread-local floating-point state and
15679 set global state from it as needed.
15680 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15681 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15682 __sim_round_mode_thread.
15683 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15684 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15685 and global __sim_exceptions_global.
15686 (__sim_disabled_exceptions): Change to thread-local
15687 __sim_disabled_exceptions_thread and global
15688 __sim_disabled_exceptions_global.
15689 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15690 and global __sim_round_mode_global.
15691 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15692 (SIM_SET_GLOBAL): Likewise.
15693 * sysdeps/powerpc/soft-fp/sfp-machine.h
15694 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15695 __sim_round_mode_thread.
15696 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15697 __sim_disabled_exceptions_thread.
15698 (__sim_exceptions): Change to __sim_exceptions_thread.
15699 (__sim_disabled_exceptions): Change to
15700 __sim_disabled_exceptions_thread.
15701 (__sim_round_mode): Change to __sim_round_mode_thread.
15702 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15703 thread-local floating-point state and set global state from it as
15704 needed.
15705 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15706 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15707 (__sim_disabled_exceptions): Remove extern declaration.
15708 (feenableexcept): Use thread-local floating-point state and set
15709 global state from it as needed.
15710 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15711 extern declaration.
15712 (__sim_disabled_exceptions): Likewise.
15713 (__sim_round_mode): Likewise.
15714 (__fegetenv): Use thread-local floating-point state.
15715 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15716 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15717 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15718 floating-point state and set global state from it as needed.
15719 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15720 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15721 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15722 Likewise.
15723 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15724 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15725 Likewise.
15726 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15727 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15728 Use __sim_round_mode_thread.
15729 * math/test-fenv-tls.c: New file.
15730 * math/Makefile (tests): Add test-fenv-tls.
15731 ($(objpfx)test-fenv-tls): Depend on
15732 $(common-objpfx)nptl/libpthread.so.
15733
b5449b12
AS
157342013-11-19 Andreas Schwab <schwab@suse.de>
15735
15736 * locale/programs/locale.c (show_info): Decode wordarray elements.
15737 * locale/categories.def (LC_MONETARY): Add element for
15738 _NL_MONETARY_CRNCYSTR.
15739 * locale/C-monetary.c (conversion_rate): New variable.
15740 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15741 element.
15742
e186536b
CM
157432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15744
15745 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15746 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15747
5c349950
PP
157482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15749
15750 * elf/Makefile (tst-auxv): New test.
15751 * elf/tst-auxv.c: New
15752 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15753
699df45b
JM
157542013-11-18 Joseph Myers <joseph@codesourcery.com>
15755
15756 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15757 (hidden_proto): Caller changed.
15758 (hidden_tls_proto): New macro.
15759 (libc_hidden_tls_proto): Likewise.
15760 (rtld_hidden_tls_proto): Likewise.
15761 (libm_hidden_tls_proto): Likewise.
15762 (libresolv_hidden_tls_proto): Likewise.
15763 (librt_hidden_tls_proto): Likewise.
15764 (libdl_hidden_tls_proto): Likewise.
15765 (libnss_files_hidden_tls_proto): Likewise.
15766 (libnsl_hidden_tls_proto): Likewise.
15767 (libnss_nisplus_hidden_tls_proto): Likewise.
15768 (libutil_hidden_tls_proto): Likewise.
15769
b7589107
OB
157702013-11-18 Ondřej Bílka <neleai@seznam.cz>
15771
15772 [BZ #10253]
15773 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15774 (decompose_rpath): Defer expansion to fillin_rpath.
15775 (_dl_init_paths): Pass linkmap to fillin_rpath.
15776
250c23bd
RS
157772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15778
15779 * benchtests/Makefile: Add strsep.
15780 * benchtests/bench-strsep.c: New file: strsep benchtest.
15781 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15782
a7931fcf
AS
157832013-11-18 Andreas Schwab <schwab@suse.de>
15784
15785 * locale/programs/locale.c (show_info) [case byte]: Check for
15786 '\377' instead of '\177'.
15787 * locale/C-monetary.c (not_available): Always use "\377".
15788 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15789 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15790 detect unavailable sign_posn locale elements.
15791 * locale/localeconv.c (__localeconv): For grouping and
15792 mon_grouping handle "\177" and "\377" like no grouping.
15793 (INT_ELEM): New macro. Use it to set all numeric members.
15794 * locale/programs/ld-monetary.c (monetary_read)
15795 <tok_mon_grouping>: Normalize single -1 to the empty string.
15796 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15797 Likewise.
15798
728dab0e
OB
157992013-11-07 Ondřej Bílka <neleai@seznam.cz>
15800
15801 [BZ #16055]
15802 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15803 when we match (nil).
15804 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15805
66294491
JM
158062013-11-16 Joseph Myers <joseph@codesourcery.com>
15807
ce665817
JM
15808 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15809 (NO_TEST_INLINE): Update value.
15810 (ERRNO_UNCHANGED): Likewise.
15811 (ERRNO_EDOM): Likewise.
15812 (ERRNO_ERANGE): Likewise.
15813 (IGNORE_RESULT): Likewise.
15814 (check_float_internal): Check signs of NaN results if
15815 TEST_NAN_SIGN used.
15816 (check_complex): Pass TEST_NAN_SIGN flag through to second
15817 check_float_internal call.
15818 (copysign_test_data): Add tests with quiet NaNs as second
15819 argument. Use TEST_NAN_SIGN.
15820 (fabs_test_data): Add test of negative quiet NaN argument. Use
15821 TEST_NAN_SIGN.
15822 (signbit_test_data): Add tests of quiet NaN argument.
15823 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15824
ee1466a9
JM
15825 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15826 $ignore_result.
15827 (parse_args): Handle function results specified as IGNORE.
15828 * math/libm-test.inc (IGNORE_RESULT): New macro.
15829 (check_float_internal): Do not check numerical result if flag
15830 IGNORE_RESULT set.
15831 (check_complex): Pass through IGNORE_RESULT to second
15832 check_float_internal call.
15833 (check_int): Do not check numerical result if flag IGNORE_RESULT
15834 set.
15835 (check_long): Likewise.
15836 (check_bool): Likewise.
15837 (check_longlong): Likewise.
15838 (lrint_test_data): Add tests of infinite and NaN arguments.
15839 (lrint_tonearest_test_data): Likewise.
15840 (lrint_towardzero_test_data): Likewise.
15841 (lrint_downward_test_data): Likewise.
15842 (lrint_upward_test_data): Likewise.
15843 (llrint_test_data): Likewise.
15844 (llrint_tonearest_test_data): Likewise.
15845 (llrint_towardzero_test_data): Likewise.
15846 (llrint_downward_test_data): Likewise.
15847 (llrint_upward_test_data): Likewise.
15848 (lround_test_data): Likewise.
15849 (llround_test_data): Likewise.
15850
14407b7e
JM
15851 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15852 (ERRNO_UNCHANGED): Update value.
15853 (ERRNO_EDOM): Likewise.
15854 (ERRNO_ERANGE): Likewise.
15855 (NO_TEST_INLINE_FLOAT): New macro.
15856 (NO_TEST_INLINE_DOUBLE): Likewise.
15857 (enable_test): New function.
15858 (RUN_TEST_f_f): Check enable_test before running test.
15859 (RUN_TEST_2_f): Likewise.
15860 (RUN_TEST_fff_f): Likewise.
15861 (RUN_TEST_c_f): Likewise.
15862 (RUN_TEST_f_f1): Likewise.
15863 (RUN_TEST_fF_f1): Likewise.
15864 (RUN_TEST_fI_f1): Likewise.
15865 (RUN_TEST_ffI_f1): Likewise.
15866 (RUN_TEST_c_c): Likewise.
15867 (RUN_TEST_cc_c): Likewise.
15868 (RUN_TEST_f_i): Likewise.
15869 (RUN_TEST_f_i_tg): Likewise.
15870 (RUN_TEST_ff_i_tg): Likewise.
15871 (RUN_TEST_f_b): Likewise.
15872 (RUN_TEST_f_b_tg): Likewise.
15873 (RUN_TEST_f_l): Likewise.
15874 (RUN_TEST_f_L): Likewise.
15875 (RUN_TEST_fFF_11): Likewise.
15876 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15877 conditionals.
15878 (cosh_test_data): Likewise.
15879 (exp_test_data): Likewise.
15880 (expm1_test_data): Likewise.
15881 (hypot_test_data): Likewise.
15882 (pow_test_data): Likewise.
15883 (sinh_test_data): Likewise.
15884 (tanh_test_data): Likewise.
15885 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15886 flags argument.
15887
ca07f197
JM
15888 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15889 tests with quiet NaN input and output.
15890 (acosh_test_data): Likewise.
15891 (asin_test_data): Likewise.
15892 (asinh_test_data): Likewise.
15893 (atan_test_data): Likewise.
15894 (atanh_test_data): Likewise.
15895 (atan2_test_data): Likewise.
15896 (cbrt_test_data): Likewise.
15897 (cos_test_data): Likewise.
15898 (cosh_test_data): Likewise.
15899 (erf_test_data): Likewise.
15900 (erfc_test_data): Likewise.
15901 (exp_test_data): Likewise.
15902 (exp10_test_data): Likewise.
15903 (exp2_test_data): Likewise.
15904 (expm1_test_data): Likewise.
15905 (hypot_test_data): Likewise.
15906 (j0_test_data): Likewise.
15907 (j1_test_data): Likewise.
15908 (jn_test_data): Likewise.
15909 (lgamma_test_data): Likewise.
15910 (log_test_data): Likewise.
15911 (log10_test_data): Likewise.
15912 (log1p_test_data): Likewise.
15913 (log2_test_data): Likewise.
15914 (pow_test_data): Likewise.
15915 (scalb_test_data): Likewise.
15916 (sin_test_data): Likewise.
15917 (sincos_test_data): Likewise.
15918 (sinh_test_data): Likewise.
15919 (tan_test_data): Likewise.
15920 (tanh_test_data): Likewise.
15921 (tgamma_test_data): Likewise.
15922 (y0_test_data): Likewise.
15923 (y1_test_data): Likewise.
15924 (yn_test_data): Likewise.
15925
66294491
JM
15926 [BZ #16167]
15927 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15928 argument being NaN and avoid computations with second argument in
15929 that case.
15930 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15931 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15932 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15933
1820b143
CL
159342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15935
15936 * locale/iso-639.def: Add Chitwani Tharu (the).
15937
714bd261
AS
159382013-11-14 Andreas Schwab <schwab@suse.de>
15939
15940 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15941 word instead of empty string.
15942
7ab44563
AZ
159432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15944
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15946 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15948 (__fe_nomask_env): Likewise.
15949
e8470ea2
SE
159502013-11-13 Steve Ellcey <sellcey@mips.com>
15951
15952 * benchtests/bench-timing.h: Include time.h.
15953
17c1d9f0
L
159542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15955
15956 [BZ #15997]
15957 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15958 to 3.4.0 for x32.
15959 * sysdeps/unix/sysv/linux/configure: Regenerated.
15960
9310c284
JM
159612013-11-13 Joseph Myers <joseph@codesourcery.com>
15962
15963 [BZ #16151]
15964 * stdlib/strtod_l.c (round_and_return): Do not consider
15965 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15966 exponent one less than half the least subnormal exponent.
15967 * stdlib/test-strtod-round-data: Add more tests.
15968 * stdlib/tst-strtod-round.c (tests): Regenerated.
15969
7a2ad8cf
AZ
159702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15971
15972 [BZ #14143]
15973 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15974 (__fe_mask_env): Likewise.
15975 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15976 libm_hidden_proto and add function prototype.
15977 (__fe_mask_env): Add function prototype.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15979 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15981 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15983 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15984
50727aa7
MS
159852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15986
b2f386c1 15987 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
15988 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15989
a615be46
MS
159902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15991
15992 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15993 of htab_find_slot().
15994
7ddace62
DM
159952013-11-11 David S. Miller <davem@davemloft.net>
15996
15997 [BZ #16150]
15998 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15999 symbol in the non-vis3 case in static builds.
16000 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16001 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16002 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16003 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16004
9182aa67
JK
160052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16006
16007 [BZ #387]
16008 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16009 it is empty.
16010
450a2e2d
AZ
160112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16012
b2f386c1
SP
16013 * benchtests/Makefile: Add bench-strtod.
16014 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 16015
8ec3f656
AS
160162013-11-11 Andreas Schwab <schwab@suse.de>
16017
16018 [BZ #16153]
16019 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16020 terminating NUL in key length.
16021
76a9b998
AZ
160222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16023
16024 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16025 Add artificial ODP entry for vDSO symbol for PPC64.
16026 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16027 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16028
e4368156
OB
160292013-11-07 Ondřej Bílka <neleai@seznam.cz>
16030
16031 [BZ #15374]
16032 * nss/getent.c (services_keys): Recognize services starting with digit.
16033
8d6bb57c
DM
160342013-11-06 David S. Miller <davem@davemloft.net>
16035
16036 [BZ #15985]
16037 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16038 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16039
e256c421
WN
160402013-11-06 Will Newton <will.newton@linaro.org>
16041
16042 * manual/memory.texi (Malloc Examples): Remove register
16043 keyword from examples.
16044
f6e12daa 160452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 16046
f6e12daa 16047 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 16048
9d880655
AS
160492013-11-04 Joseph Myers <joseph@codesourcery.com>
16050
fd2f9486 16051 [BZ #6981]
9d880655
AS
16052 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16053 depending on [__GCC_IEC_559 > 0].
16054 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16055 depending on [__GCC_IEC_559_COMPLEX > 0].
16056
ae129d3c
CL
160572013-11-03 Chris Leonard <cjl@sugarlabs.org>
16058
16059 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16060 to iso-639.def.
16061
4a15c2a4 160622013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
16063
16064 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16065
8b35e35d
OB
160662013-11-01 Ondřej Bílka <neleai@seznam.cz>
16067
16068 [BZ #16112]
16069 * malloc/malloc (malloc_info): Do not handle first bin as
16070 special case.
16071
1d70fd6c
CL
160722013-11-01 Chris Leonard <cjl@sugarlabs.org>
16073
16074 * locale/iso-639.def: Add Central Nahuatl (nhn).
16075
8c5c2600
BH
160762013-11-01 Bruno Haible <bruno@clisp.org>
16077
16078 [BZ #7003]
16079 * manual/math.texi (BSD Random): Specify range upper bound as
16080 in POSIX.
16081
da5579c2
CL
160822013-10-31 Chris Leonard <cjl@sugarlabs.org>
16083
16084 * locale/iso-639.def: Add Meadow Mari (mhr).
16085
5d30d853
OB
160862013-10-31 Ondřej Bílka <neleai@seznam.cz>
16087
16088 [BZ #14752], [BZ #15763]
16089 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16090 Validate name.
16091 * rt/tst_shm.c: Add test for escaping directory.
16092
a4966c61
AS
160932013-10-31 Andreas Schwab <schwab@suse.de>
16094
8a43e768 16095 [BZ #15917]
a4966c61
AS
16096 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16097 followed by 'x' as part of digit sequence.
16098 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16099
28d708c4
MAP
161002013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16101
16102 [BZ #16037]
16103 * configure.ac: allow GNU Make 4.0 and greater.
16104 * configure: Regenerated.
16105
a56ee40b
WN
161062013-10-30 Will Newton <will.newton@linaro.org>
16107
16108 [BZ #16038]
16109 * malloc/hooks.c (memalign_check): Limit alignment to the
16110 maximum representable power of two.
16111 * malloc/malloc.c (__libc_memalign): Likewise.
16112 * malloc/tst-memalign.c (do_test): Add test for very
16113 large alignment values.
16114 * malloc/tst-posix_memalign.c (do_test): Likewise.
16115
c6e4925d
OB
161162013-10-30 Ondřej Bílka <neleai@seznam.cz>
16117
16118 [BZ #11087]
16119 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16120 (munmap_chunk): Likewise.
16121 (mremap_chunk): Likewise.
16122
161232013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 16124
8a43e768 16125 [BZ #15799]
bbea82f7
OB
16126 * stdlib/div.c (div): Remove obsolete code.
16127 * stdlib/ldiv.c (ldiv): Likewise.
16128 * stdlib/lldiv.c (lldiv): Likewise.
16129
977f4b31
SP
161302013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16131
16132 [BZ #16071]
16133 * nss/nss_files/files-XXX.c (get_contents_ret): New
16134 enumerator.
16135 (get_contents): New function.
16136 (internal_getent): Use it. Expand size of LINEBUFLEN.
16137
cb8a6dbd
MF
161382013-10-30 Mike Frysinger <vapier@gentoo.org>
16139
16140 * configure.in: Moved to ...
16141 * configure.ac: ... here. Change reference to configure.in
16142 to configure.ac.
16143 * sysdeps/arm/preconfigure.ac: ... here.
16144 configure.in to configure.ac.
16145 * sysdeps/gnu/configure.in: Moved to ...
16146 * sysdeps/gnu/configure.ac: ... here.
16147 * sysdeps/i386/configure.in: Moved to ...
16148 * sysdeps/i386/configure.ac: ... here.
16149 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16150 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16151 * sysdeps/mach/configure.in: Moved to ...
16152 * sysdeps/mach/configure.ac: ... here.
16153 * sysdeps/mach/hurd/configure.in: Moved to ...
16154 * sysdeps/mach/hurd/configure.ac: ... here.
16155 * sysdeps/powerpc/configure.in: Moved to ...
16156 * sysdeps/powerpc/configure.ac: ... here.
16157 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16158 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16159 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16160 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16161 * sysdeps/s390/s390-32/configure.in: Moved to ...
16162 * sysdeps/s390/s390-32/configure.ac: ... here.
16163 * sysdeps/s390/s390-64/configure.in: Moved to ...
16164 * sysdeps/s390/s390-64/configure.ac: ... here.
16165 * sysdeps/sh/configure.in: Moved to ...
16166 * sysdeps/sh/configure.ac: ... here.
16167 * sysdeps/sparc/configure.in: Moved to ...
16168 * sysdeps/sparc/configure.ac: ... here.
16169 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16170 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16171 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16172 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16173 * sysdeps/x86_64/configure.in: Moved to ...
16174 * sysdeps/x86_64/configure.ac: ... here.
16175 * sysdeps/x86_64/preconfigure.in: Moved to ...
16176 * sysdeps/x86_64/preconfigure.ac: ... here.
16177 * aclocal.m4: Change reference to configure.in to configure.ac.
16178 * config.h.in: Likewise.
16179 * manual/install.texi: Likewise.
16180 * manual/maint.texi: Likewise.
16181 * Makefile: Likewise.
16182 * malloc/Makefile: Likewise.
16183 * nscd/Makefile: Likewise.
16184 * Makeconfig: Change reference to configure.in and
16185 preconfigure.in to configure.ac and preconfigure.ac
16186 respectively.
16187 * INSTALL: Regenerated.
16188 * configure: Likewise.
16189 * sysdeps/gnu/configure: Likewise.
16190 * sysdeps/i386/configure: Likewise.
16191 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16192 * sysdeps/mach/configure: Likewise.
16193 * sysdeps/mach/hurd/configure: Likewise.
16194 * sysdeps/powerpc/configure: Likewise.
16195 * sysdeps/powerpc/powerpc32/configure: Likewise.
16196 * sysdeps/powerpc/powerpc64/configure: Likewise.
16197 * sysdeps/s390/s390-32/configure: Likewise.
16198 * sysdeps/s390/s390-64/configure: Likewise.
16199 * sysdeps/sh/configure: Likewise.
16200 * sysdeps/sparc/configure: Likewise.
16201 * sysdeps/unix/sysv/linux/configure: Likewise.
16202 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16203 * sysdeps/x86_64/configure: Likewise.
16204 * sysdeps/x86_64/preconfigure: Likewise.
16205
36a4953a
AS
162062013-10-29 Andreas Schwab <schwab@suse.de>
16207
16208 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16209
c79a1204
SP
162102013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16211
dfa1b402
SP
16212 * benchtests/pow-inputs: Add new inputs.
16213
54f73d9c
SP
16214 * benchtests/exp-inputs: Add new inputs.
16215
c79a1204
SP
16216 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16217 conditional check for return value.
16218 (__cos32): Likewise.
16219
67beb545 162202013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
16221
16222 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16223 to provide a boost for large inputs with word alignment.
16224 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16225 implementation based on optimized PPC64 strcpy.
16226 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16227 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16228 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16229 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16230
151659f6
OB
162312013-10-25 Ondřej Bílka <neleai@seznam.cz>
16232
482a077e 16233 [BZ #2801]
151659f6
OB
16234 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16235
10b0f26b
OB
162362013-10-25 Ondřej Bílka <neleai@seznam.cz>
16237
16238 [BZ #14876]
16239 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16240 * time/tst-strptime.c (day_tests): Add testcase.
16241
ca42d35e
OB
162422013-10-25 Ondřej Bílka <neleai@seznam.cz>
16243
482a077e 16244 [BZ #14029]
ca42d35e
OB
16245 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16246
52e6d801
FB
162472013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16248
16249 [BZ #16074]
16250 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16251 MAP_FAILED on error.
16252
7cbcdb36
SP
162532013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16254
16255 [BZ #16072]
16256 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16257 heap for large requests.
16258
894f3f10
AM
162592013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16260
16261 [BZ #9954]
16262 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16263 result if the result has no associated interface.
16264 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16265 interface for all 127.X.Y.Z addresses.
16266
b85545a6
CL
162672013-10-24 Chris Leonard <cjl@sugarlabs.org>
16268
16269 * locale/iso-639.def: Add Ligurian (lij)
16270
d1f23d46
OB
162712013-10-21 Ondřej Bílka <neleai@seznam.cz>
16272
16273 [BZ #15825]
16274 * sunrpc/rpc_main.c: Document rpcgen -5.
16275
4db5b08f
MS
162762013-10-19 Michael Stahl <mstahl@redhat.com>
16277
16278 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16279
a471e96a
OB
162802013-10-19 Ondřej Bílka <neleai@seznam.cz>
16281
d1f23d46 16282 [BZ #10278]
a471e96a
OB
16283 * posix/glob.c: Match only directories when trailing slash is present.
16284 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16285 (main): Add testcase.
16286
45c30c61
OB
162872013-10-19 Ondřej Bílka <neleai@seznam.cz>
16288
16289 [BZ #15670]
16290 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16291
484c12fb
CD
162922013-10-18 Carlos O'Donell <carlos@redhat.com>
16293
3d7dc513
CD
16294 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16295 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16296 AUTH_DES and cindex for FIPS 140-2.
16297 (DES Encryption): Add cindex FIPS 46-3.
16298
484c12fb
CD
16299 * locale/locarchive.h (struct locarhandle): Add fname.
16300 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16301 if an optional argument was specified to --list-archive,
16302 otherwise NULL.
16303 * locale/programs/locarchive.c (show_archive_content): Take new
16304 argument fname and pass it via ah.fname to open_archive.
16305 * locale/programs/localedef.h: Update decl.
16306 (open_archive): If AH->fname is non-null, open that file
16307 rather than the default file name, and don't ignore ENOENT.
16308 (create_archive): Set AH.fname to NULL.
16309 (delete_locales_from_archive): Likewise.
16310 (add_locales_to_archive): Likewise.
16311 * locale/programs/locfile.c (write_all_categories): Likewise.
16312
3c8325fb
JM
163132013-10-18 Joseph Myers <joseph@codesourcery.com>
16314 Aldy Hernandez <aldyh@redhat.com>
16315
16316 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16317 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16318 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16319 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16320 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16321 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16322 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16323 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16324 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16325 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16326 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16327 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16328 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16329 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16330 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16331 Likewise.
16332 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16333 Likewise.
16334 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16335 Likewise.
16336 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16337 Likewise.
16338 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16339 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16340 Likewise.
16341 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16342 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16343 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16344 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16345 Likewise.
16346 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16347 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16348 * sysdeps/powerpc/preconfigure: Likewise.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16350 Likewise.
16351 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16352 Replace contents of file by #include of <fenv_libc.h>.
16353 * sysdeps/powerpc/soft-fp/sfp-machine.h
16354 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16355 and <sys/prctl.h>.
16356 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16358 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16364 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16365 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16366 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16367 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16369 Allow copysignl PLT reference to be missing.
16370
5abe0682
RS
163712013-10-18 Richard Sandiford <richard@codesourcery.com>
16372 Joseph Myers <joseph@codesourcery.com
16373
16374 [BZ #15948]
16375 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16376 single character.
16377 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16378
c7738d08
SP
163792013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16380
16381 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16382 * elf/tst-tls1.c: Likewise.
16383 * elf/tst-tls10.h: Likewise.
16384 * elf/tst-tls14.c: Likewise.
16385 * elf/tst-tls2.c: Likewise.
16386 * elf/tst-tls3.c: Likewise.
16387 * elf/tst-tls4.c: Likewise.
16388 * elf/tst-tls5.c: Likewise.
16389 * elf/tst-tls6.c: Likewise.
16390 * elf/tst-tls7.c: Likewise.
16391 * elf/tst-tls8.c: Likewise.
16392 * elf/tst-tls9.c: Likewise.
16393 * elf/tst-tlsmod1.c: Likewise.
16394 * elf/tst-tlsmod13.c: Likewise.
16395 * elf/tst-tlsmod13a.c: Likewise.
16396 * elf/tst-tlsmod14a.c: Likewise.
16397 * elf/tst-tlsmod16a.c: Likewise.
16398 * elf/tst-tlsmod16b.c: Likewise.
16399 * elf/tst-tlsmod2.c: Likewise.
16400 * elf/tst-tlsmod3.c: Likewise.
16401 * elf/tst-tlsmod4.c: Likewise.
16402 * elf/tst-tlsmod5.c: Likewise.
16403 * elf/tst-tlsmod6.c: Likewise.
16404
0bfcf2c7
OB
164052013-10-18 Ondřej Bílka <neleai@seznam.cz>
16406
16407 [BZ #12486]
16408 * malloc/malloc.c: remove checks for statistics.
16409
264aad1e
OB
164102013-10-17 Ondřej Bílka <neleai@seznam.cz>
16411
16412 [BZ #15277]
16413 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16414 * inet/tst-network.c: Add testcase.
16415
b957ced8
AS
164162013-10-17 Andreas Schwab <schwab@suse.de>
16417
16418 [BZ #15218]
16419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16420 to determine canonical name.
16421
c5d5d574
OB
164222013-10-17 Ondřej Bílka <neleai@seznam.cz>
16423
16424 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16425 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16427 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16429 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16430 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16431 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16432 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16433 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16434 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16435 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16437 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16439 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16442 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16443 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16446 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16447 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16448 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16449 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16450 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16452 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16454 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16456 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16457 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16462 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16464 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16465 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16466 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16467 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16468 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16469 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16470 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16471 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16472 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16473 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16474 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16475 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16476 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16477 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16478 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16479 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16481 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16482
e5c2c2d0
JM
164832013-10-17 Joseph Myers <joseph@codesourcery.com>
16484
16485 [BZ #16041]
16486 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16487 make result into a quiet NaN.
16488
51ca9e29
JM
164892013-10-16 Joseph Myers <joseph@codesourcery.com>
16490
16491 * soft-fp/adddf3.c: Fix horizontal whitespace.
16492 * soft-fp/addsf3.c: Likewise.
16493 * soft-fp/addtf3.c: Likewise.
16494 * soft-fp/divdf3.c: Likewise.
16495 * soft-fp/divsf3.c: Likewise.
16496 * soft-fp/divtf3.c: Likewise.
16497 * soft-fp/double.h: Likewise.
16498 * soft-fp/eqdf2.c: Likewise.
16499 * soft-fp/eqsf2.c: Likewise.
16500 * soft-fp/eqtf2.c: Likewise.
16501 * soft-fp/extenddftf2.c: Likewise.
16502 * soft-fp/extended.h: Likewise.
16503 * soft-fp/extendsfdf2.c: Likewise.
16504 * soft-fp/extendsftf2.c: Likewise.
16505 * soft-fp/extendxftf2.c: Likewise.
16506 * soft-fp/fixdfdi.c: Likewise.
16507 * soft-fp/fixdfsi.c: Likewise.
16508 * soft-fp/fixdfti.c: Likewise.
16509 * soft-fp/fixsfdi.c: Likewise.
16510 * soft-fp/fixsfsi.c: Likewise.
16511 * soft-fp/fixsfti.c: Likewise.
16512 * soft-fp/fixtfdi.c: Likewise.
16513 * soft-fp/fixtfsi.c: Likewise.
16514 * soft-fp/fixtfti.c: Likewise.
16515 * soft-fp/fixunsdfdi.c: Likewise.
16516 * soft-fp/fixunsdfsi.c: Likewise.
16517 * soft-fp/fixunsdfti.c: Likewise.
16518 * soft-fp/fixunssfdi.c: Likewise.
16519 * soft-fp/fixunssfsi.c: Likewise.
16520 * soft-fp/fixunssfti.c: Likewise.
16521 * soft-fp/fixunstfdi.c: Likewise.
16522 * soft-fp/fixunstfsi.c: Likewise.
16523 * soft-fp/fixunstfti.c: Likewise.
16524 * soft-fp/floatdidf.c: Likewise.
16525 * soft-fp/floatdisf.c: Likewise.
16526 * soft-fp/floatditf.c: Likewise.
16527 * soft-fp/floatsidf.c: Likewise.
16528 * soft-fp/floatsisf.c: Likewise.
16529 * soft-fp/floatsitf.c: Likewise.
16530 * soft-fp/floattidf.c: Likewise.
16531 * soft-fp/floattisf.c: Likewise.
16532 * soft-fp/floattitf.c: Likewise.
16533 * soft-fp/floatundidf.c: Likewise.
16534 * soft-fp/floatundisf.c: Likewise.
16535 * soft-fp/floatunditf.c: Likewise.
16536 * soft-fp/floatunsidf.c: Likewise.
16537 * soft-fp/floatunsisf.c: Likewise.
16538 * soft-fp/floatunsitf.c: Likewise.
16539 * soft-fp/floatuntidf.c: Likewise.
16540 * soft-fp/floatuntisf.c: Likewise.
16541 * soft-fp/floatuntitf.c: Likewise.
16542 * soft-fp/fmadf4.c: Likewise.
16543 * soft-fp/fmasf4.c: Likewise.
16544 * soft-fp/fmatf4.c: Likewise.
16545 * soft-fp/gedf2.c: Likewise.
16546 * soft-fp/gesf2.c: Likewise.
16547 * soft-fp/getf2.c: Likewise.
16548 * soft-fp/ledf2.c: Likewise.
16549 * soft-fp/lesf2.c: Likewise.
16550 * soft-fp/letf2.c: Likewise.
16551 * soft-fp/muldf3.c: Likewise.
16552 * soft-fp/mulsf3.c: Likewise.
16553 * soft-fp/multf3.c: Likewise.
16554 * soft-fp/negdf2.c: Likewise.
16555 * soft-fp/negsf2.c: Likewise.
16556 * soft-fp/negtf2.c: Likewise.
16557 * soft-fp/op-1.h: Likewise.
16558 * soft-fp/op-2.h: Likewise.
16559 * soft-fp/op-4.h: Likewise.
16560 * soft-fp/op-8.h: Likewise.
16561 * soft-fp/op-common.h: Likewise.
16562 * soft-fp/quad.h: Likewise.
16563 * soft-fp/single.h: Likewise.
16564 * soft-fp/soft-fp.h: Likewise.
16565 * soft-fp/sqrtdf2.c: Likewise.
16566 * soft-fp/sqrtsf2.c: Likewise.
16567 * soft-fp/sqrttf2.c: Likewise.
16568 * soft-fp/subdf3.c: Likewise.
16569 * soft-fp/subsf3.c: Likewise.
16570 * soft-fp/subtf3.c: Likewise.
16571 * soft-fp/truncdfsf2.c: Likewise.
16572 * soft-fp/trunctfdf2.c: Likewise.
16573 * soft-fp/trunctfsf2.c: Likewise.
16574 * soft-fp/trunctfxf2.c: Likewise.
16575 * soft-fp/unorddf2.c: Likewise.
16576 * soft-fp/unordsf2.c: Likewise.
16577 * soft-fp/unordtf2.c: Likewise.
16578
9ebb0332
JM
165792013-10-15 Joseph Myers <joseph@codesourcery.com>
16580
16581 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16582 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16583
4b1a6d8b
OB
165842013-10-15 Ondřej Bílka <neleai@seznam.cz>
16585
16586 * elf/dl-libc.c: Clear initfini list after freeing.
16587
1e145589
JM
165882013-10-14 Joseph Myers <joseph@codesourcery.com>
16589
16590 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16591 * soft-fp/addsf3.c: Likewise.
16592 * soft-fp/addtf3.c: Likewise.
16593 * soft-fp/divdf3.c: Likewise.
16594 * soft-fp/divsf3.c: Likewise.
16595 * soft-fp/divtf3.c: Likewise.
16596 * soft-fp/double.h: Likewise.
16597 * soft-fp/eqdf2.c: Likewise.
16598 * soft-fp/eqsf2.c: Likewise.
16599 * soft-fp/eqtf2.c: Likewise.
16600 * soft-fp/extenddftf2.c: Likewise.
16601 * soft-fp/extended.h: Likewise.
16602 * soft-fp/extendsfdf2.c: Likewise.
16603 * soft-fp/extendsftf2.c: Likewise.
16604 * soft-fp/extendxftf2.c: Likewise.
16605 * soft-fp/fixdfdi.c: Likewise.
16606 * soft-fp/fixdfsi.c: Likewise.
16607 * soft-fp/fixdfti.c: Likewise.
16608 * soft-fp/fixsfdi.c: Likewise.
16609 * soft-fp/fixsfsi.c: Likewise.
16610 * soft-fp/fixsfti.c: Likewise.
16611 * soft-fp/fixtfdi.c: Likewise.
16612 * soft-fp/fixtfsi.c: Likewise.
16613 * soft-fp/fixtfti.c: Likewise.
16614 * soft-fp/fixunsdfdi.c: Likewise.
16615 * soft-fp/fixunsdfsi.c: Likewise.
16616 * soft-fp/fixunsdfti.c: Likewise.
16617 * soft-fp/fixunssfdi.c: Likewise.
16618 * soft-fp/fixunssfsi.c: Likewise.
16619 * soft-fp/fixunssfti.c: Likewise.
16620 * soft-fp/fixunstfdi.c: Likewise.
16621 * soft-fp/fixunstfsi.c: Likewise.
16622 * soft-fp/fixunstfti.c: Likewise.
16623 * soft-fp/floatdidf.c: Likewise.
16624 * soft-fp/floatdisf.c: Likewise.
16625 * soft-fp/floatditf.c: Likewise.
16626 * soft-fp/floatsidf.c: Likewise.
16627 * soft-fp/floatsisf.c: Likewise.
16628 * soft-fp/floatsitf.c: Likewise.
16629 * soft-fp/floattidf.c: Likewise.
16630 * soft-fp/floattisf.c: Likewise.
16631 * soft-fp/floattitf.c: Likewise.
16632 * soft-fp/floatundidf.c: Likewise.
16633 * soft-fp/floatundisf.c: Likewise.
16634 * soft-fp/floatunsidf.c: Likewise.
16635 * soft-fp/floatunsisf.c: Likewise.
16636 * soft-fp/floatuntidf.c: Likewise.
16637 * soft-fp/floatuntisf.c: Likewise.
16638 * soft-fp/floatuntitf.c: Likewise.
16639 * soft-fp/fmadf4.c: Likewise.
16640 * soft-fp/fmasf4.c: Likewise.
16641 * soft-fp/fmatf4.c: Likewise.
16642 * soft-fp/gedf2.c: Likewise.
16643 * soft-fp/gesf2.c: Likewise.
16644 * soft-fp/getf2.c: Likewise.
16645 * soft-fp/ledf2.c: Likewise.
16646 * soft-fp/lesf2.c: Likewise.
16647 * soft-fp/letf2.c: Likewise.
16648 * soft-fp/muldf3.c: Likewise.
16649 * soft-fp/mulsf3.c: Likewise.
16650 * soft-fp/multf3.c: Likewise.
16651 * soft-fp/negdf2.c: Likewise.
16652 * soft-fp/negsf2.c: Likewise.
16653 * soft-fp/negtf2.c: Likewise.
16654 * soft-fp/op-1.h: Likewise.
16655 * soft-fp/op-2.h: Likewise.
16656 * soft-fp/op-4.h: Likewise.
16657 * soft-fp/op-8.h: Likewise.
16658 * soft-fp/op-common.h: Likewise.
16659 * soft-fp/quad.h: Likewise.
16660 * soft-fp/single.h: Likewise.
16661 * soft-fp/soft-fp.h: Likewise.
16662 * soft-fp/sqrtdf2.c: Likewise.
16663 * soft-fp/sqrtsf2.c: Likewise.
16664 * soft-fp/sqrttf2.c: Likewise.
16665 * soft-fp/subdf3.c: Likewise.
16666 * soft-fp/subsf3.c: Likewise.
16667 * soft-fp/subtf3.c: Likewise.
16668 * soft-fp/truncdfsf2.c: Likewise.
16669 * soft-fp/trunctfdf2.c: Likewise.
16670 * soft-fp/trunctfsf2.c: Likewise.
16671 * soft-fp/trunctfxf2.c: Likewise.
16672 * soft-fp/unorddf2.c: Likewise.
16673 * soft-fp/unordsf2.c: Likewise.
16674 * soft-fp/unordtf2.c: Likewise.
16675
17c48a60
OB
166762013-10-14 Ondřej Bílka <neleai@seznam.cz>
16677
16678 [BZ #15672]
16679 * misc/error.c (error_tail): Fix possible buffer overflow.
16680
cabba934
OB
166812013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16682
16683 [BZ #13028]
16684 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16685 address.
16686
94bf958a
PM
166872013-10-14 P. J. McDermott <pj@pehjota.net>
16688
16689 [BZ #832]
16690 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16691 testing pipefail option.
16692
71b4dea7
JM
166932013-10-12 Joseph Myers <joseph@codesourcery.com>
16694
16695 * soft-fp/double.h: Indent preprocessor directives inside #if.
16696 * soft-fp/extended.h: Likewise.
16697 * soft-fp/op-2.h: Likewise.
16698 * soft-fp/op-4.h: Likewise.
16699 * soft-fp/op-common.h: Likewise.
16700 * soft-fp/quad.h: Likewise.
16701 * soft-fp/single.h: Likewise.
16702 * soft-fp/soft-fp.h: Likewise.
16703
55602758
YC
167042013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16705
16706 * iconv/iconv_prog.c: Fix typos.
16707 * stdio-common/psiginfo-data.h: Likewise.
16708
9cd83302
RT
167092013-10-12 Reuben Thomas <rrt@sc3d.org>
16710
16711 [BZ #15764]
16712 * locale/setlocale.c: Fix typo.
16713
99fd9f47
JM
167142013-10-12 Joseph Myers <joseph@codesourcery.com>
16715
b7ea74f0
JM
16716 [BZ #16036]
16717 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16718 signaling NaN arguments.
16719 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16720 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16721
8a509447
JM
16722 [BZ #14910]
16723 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16724 unordered operands.
16725 * soft-fp/gesf2.c (__gesf2): Likewise.
16726 * soft-fp/getf2.c (__getf2): Likewise.
16727 * soft-fp/ledf2.c (__ledf2): Likewise.
16728 * soft-fp/lesf2.c (__lesf2): Likewise.
16729 * soft-fp/letf2.c (__letf2): Likewise.
16730
98998e9f
JM
16731 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16732 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16733 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16734 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16735 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16736 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16737 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16738 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16739 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16740 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16741 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16742 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16743 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16744 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16745 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16746 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16747 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16748 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16749 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16750 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16751 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16752 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16753 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16754 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16755 * soft-fp/floattidf.c (__floattidf): Likewise.
16756 * soft-fp/floattisf.c (__floattisf): Likewise.
16757 * soft-fp/floattitf.c (__floattitf): Likewise.
16758 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16759 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16760 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16761 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16762 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16763 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16764 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16765 * soft-fp/gesf2.c (__gesf2): Likewise.
16766 * soft-fp/getf2.c (__getf2): Likewise.
16767 * soft-fp/ledf2.c (__ledf2): Likewise.
16768 * soft-fp/lesf2.c (__lesf2): Likewise.
16769 * soft-fp/letf2.c (__letf2): Likewise.
16770
8edc4a11
JM
16771 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16772 Undefine and redefine.
16773 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16774 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16775 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16776 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16777 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16778 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16779 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16780 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16781 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16782 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16783 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16784 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16785 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16786 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16787 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16788
8399acaf
JM
16789 [BZ #16032]
16790 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16791 without decrementing exponent if mantissa >= that for the
16792 denominator, not >.
16793 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16794 denominator, not >. Decrement exponent in < case instead of
16795 incrementing in >= case.
16796 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16797 without decrementing exponent if mantissa >= that for the
16798 denominator, not >.
16799
99fd9f47
JM
16800 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16801 computing saturated result for unsigned overflow.
16802
10e1cf6b
SP
168032013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16804 Jeff Law <law@redhat.com>
16805
16806 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16807 (atan2Mp): Add systemtap probe marker.
16808 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16809 (__ieee754_log): Add systemtap probe marker.
16810 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16811 (atanMp): Add systemtap probe marker.
16812 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16813 (tanMp): Add systemtap probe marker.
16814 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16815 (__slowexp): Add systemtap probe marker.
16816 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16817 (__slowpow): Add systemtap probe marker.
16818 * manual/probes.texi: Document probes.
16819
3d110c7c
EB
168202013-10-11 Eric Biggers <ebiggers3@gmail.com>
16821
16822 [BZ #15362]
16823 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16824 written.
16825 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16826 written.
16827 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16828 written to buffer but not flushed.
16829 * libio/iofwrite_u.c: Likewise.
16830 * libio/iopadn.c: Return bytes returned even if EOF was
16831 encountered.
16832 * libio/iowpadn.c: Likewise.
16833 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16834 if _IO_padn does not write the whole buffer.
16835 [!COMPILE_WPRINTF] (PAD): Likewise.
16836
75b4202a
DM
168372013-10-10 David S. Miller <davem@davemloft.net>
16838
16839 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16840 directory block.
16841
6c6352e6
JM
168422013-10-10 Joseph Myers <joseph@codesourcery.com>
16843
33b853c3
JM
16844 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16845 instead of FSF address.
16846 * soft-fp/fixdfti.c: Likewise.
16847 * soft-fp/fixsfti.c: Likewise.
16848 * soft-fp/fixtfti.c: Likewise.
16849 * soft-fp/fixunsdfti.c: Likewise.
16850 * soft-fp/fixunssfti.c: Likewise.
16851 * soft-fp/fixunstfti.c: Likewise.
16852 * soft-fp/floattidf.c: Likewise.
16853 * soft-fp/floattisf.c: Likewise.
16854 * soft-fp/floattitf.c: Likewise.
16855 * soft-fp/floatuntidf.c: Likewise.
16856 * soft-fp/floatuntisf.c: Likewise.
16857 * soft-fp/floatuntitf.c: Likewise.
16858 * soft-fp/trunctfxf2.c: Likewise.
16859
6c6352e6
JM
16860 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16861 * soft-fp/fixdfti.c: Likewise.
16862 * soft-fp/fixsfti.c: Likewise.
16863 * soft-fp/fixtfti.c: Likewise.
16864 * soft-fp/fixunsdfti.c: Likewise.
16865 * soft-fp/fixunssfti.c: Likewise.
16866 * soft-fp/fixunstfti.c: Likewise.
16867 * soft-fp/floattidf.c: Likewise.
16868 * soft-fp/floattisf.c: Likewise.
16869 * soft-fp/floattitf.c: Likewise.
16870 * soft-fp/floatuntidf.c: Likewise.
16871 * soft-fp/floatuntisf.c: Likewise.
16872 * soft-fp/floatuntitf.c: Likewise.
16873 * soft-fp/trunctfxf2.c: Likewise.
16874
3bf78b71
DM
168752013-10-10 David S. Miller <davem@davemloft.net>
16876
16877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16878
6f10289e
JM
168792013-10-10 Joseph Myers <joseph@codsourcery.com>
16880
bd878fc0
JM
16881 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16882 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16883 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16884 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16885 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16886 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16887 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16888
6f10289e
JM
16889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16890 for NaNs before doing comparisons on argument.
16891 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16892 Likewise.
16893
321e2684
WN
168942013-10-10 Will Newton <will.newton@linaro.org>
16895
16896 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16897 passed to _int_memalign does not overflow.
16898
40fefba1
TR
168992013-10-10 Torvald Riegel <triegel@redhat.com>
16900
16901 * scripts/bench.pl: Add include-sources directive.
16902 * benchtests/README: Update documentation.
16903
2ae21ed2
JM
169042013-10-10 Joseph Myers <joseph@codesourcery.com>
16905
dcc2dd3f
JM
16906 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16907 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16908 instead of FP_INIT_ROUNDMODE.
16909 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16910 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16911
2ae21ed2
JM
16912 [BZ #16034]
16913 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16914 copy class of input value.
16915 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16916 not handle exceptions.
16917 * soft-fp/negsf2.c (__negsf2): Likewise.
16918 * soft-fp/negtf2.c (__negtf2): Likewise.
16919 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16920
cb8f9562
JM
169212013-10-09 Joseph Myers <joseph@codesourcery.com>
16922
16923 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16924 semicolon. From Linux kernel.
16925
5b60c59d
AB
169262013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16927
16928 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16929
b86835ca
YC
169302013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16931
16932 [BZ #156]
16933 * manual/socket.texi: Added statement about buffer
16934 for gethostbyname2_r.
16935
e7044ea7
OB
169362013-10-08 Ondřej Bílka <neleai@seznam.cz>
16937
16938 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16939 Use .p2align directive instead, throughout.
16940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16941 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16942 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16944 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16945 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16946 * sysdeps/x86_64/strchr.S: Likewise.
16947 * sysdeps/x86_64/strrchr.S: Likewise.
16948
09544cbc
SP
169492013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16950
88576635
SP
16951 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16952
e7b2d1dd
SP
16953 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16954
09544cbc
SP
16955 * sysdeps/generic/math_private.h (__mpsin1): Remove
16956 declaration.
16957 (__mpcos1): Likewise.
16958 (__mpsin): New argument __range_reduce.
16959 (__mpcos): Likewise.
16960 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16961 (slow): Use __mpsin and __mpcos.
16962 (slow1): Likewise.
16963 (slow2): Likewise.
16964 (sloww): Likewise.
16965 (sloww1): Likewise.
16966 (sloww2): Likewise.
16967 (bsloww): Likewise.
16968 (bsloww1): Likewise.
16969 (bsloww2): Likewise.
16970 (cslow2): Likewise.
16971 (csloww): Likewise.
16972 (csloww1): Likewise.
16973 (csloww2): Likewise.
16974 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16975 range_reduce. Merge in __mpsin1.
16976 (__mpcos): Likewise.
16977 (__mpsin1): Remove.
16978 (__mpcos1): Likewise.
16979
7602d070
JM
169802013-10-07 Joseph Myers <joseph@codesourcery.com>
16981
16982 * locale/loadlocale.c (_nl_intern_locale_data): Use
16983 LOCFILE_ALIGNED_P.
16984 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16985 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16986 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16987 obstack data is appropriately aligned.
16988 (obstack_int32_grow_fast): Likewise.
16989 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16990 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16991 (add_locale_uint32_array): Likewise.
16992
a357259b
SP
169932013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16994
16995 * benchtests/Makefile: Remove ARGLIST and RET variables.
16996 ($(objpfx)bench-%.c): Pass only function name to the script.
16997 * benchtests/README: Update documentation.
16998 * benchtests/acos-inputs: Add new directives.
16999 * benchtests/acosh-inputs: Likewise.
17000 * benchtests/asin-inputs: Likewise.
17001 * benchtests/asinh-inputs: Likewise.
17002 * benchtests/atan-inputs: Likewise.
17003 * benchtests/atanh-inputs: Likewise.
17004 * benchtests/cos-inputs: Likewise.
17005 * benchtests/cosh-inputs: Likewise.
17006 * benchtests/exp-inputs: Likewise.
17007 * benchtests/log-inputs: Likewise.
17008 * benchtests/pow-inputs: Likewise.
17009 * benchtests/rint-inputs: Likewise.
17010 * benchtests/sin-inputs: Likewise.
17011 * benchtests/sinh-inputs: Likewise.
17012 * benchtests/tan-inputs: Likewise.
17013 * benchtests/tanh-inputs: Likewise.
17014 * scripts/bench.pl: Add support for new directives.
17015
9ec1b13d
AM
170162013-10-07 Alan Modra <amodra@gmail.com>
17017
17018 * README: Fix careless merge.
17019
8b7d57cd
AM
170202013-10-05 Alan Modra <amodra@gmail.com>
17021
17022 * NEWS: Mention powerpc64le support and bugs fixed.
17023 * README: Both big-endian and little-endian powerpc64 supported.
17024
7b7bab13
ST
170252013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17026
57f41c40
AS
17027 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17028 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
17029 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17030 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17031
d39baad1
RA
170322013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17033
17034 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17035 match prototype.
17036
cd78f7e7
JM
170372013-10-04 Joseph Myers <joseph@codesourcery.com>
17038
29d73d86
JM
17039 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17040 Move -mhard-float appending from
17041 ports/sysdeps/powerpc/powerpc32/Makefile.
17042 [$(with-fp) = yes] (ASFLAGS): Likewise.
17043 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17044 * sysdeps/powerpc/nofpu: Move directory from
17045 ports/sysdeps/powerpc/nofpu.
17046 * sysdeps/powerpc/soft-fp: Move directory from
17047 ports/sysdeps/powerpc/soft-fp.
17048 * sysdeps/powerpc/powerpc32/405: Move directory from
17049 ports/sysdeps/powerpc/powerpc32/405.
17050 * sysdeps/powerpc/powerpc32/440: Move directory from
17051 ports/sysdeps/powerpc/powerpc32/440.
17052 * sysdeps/powerpc/powerpc32/464: Move directory from
17053 ports/sysdeps/powerpc/powerpc32/464.
17054 * sysdeps/powerpc/powerpc32/476: Move directory from
17055 ports/sysdeps/powerpc/powerpc32/476.
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17057 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17059 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17061 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17063 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17065 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17066 * README: Update for powerpc-*-linux-gnu software floating point
17067 support in libc.
17068
e246b347
JM
17069 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17070 case to powerpc/powerpc32*.
17071 * sysdeps/unix/sysv/linux/configure: Regenerated.
17072
89c2003e
JM
17073 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17074 (_FPU_MASK_OM): Define as 0x04.
17075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17077 0x00c10080.
17078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17079 0x0000003c.
17080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17081
cd78f7e7
JM
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17083 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17084 getcontext_e500.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17086 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17087 setcontext_e500.
17088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17089 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17090 and setcontext_e500.
17091
c755294d
CL
170922013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17093
17094 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17095
e16d221c
SP
170962013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 * manual/threads.texi (Default Thread Attributes): Fix typo.
17099
215c7d43
WN
171002013-10-04 Will Newton <will.newton@linaro.org>
17101
17102 * malloc/Makefile: Add tst-memalign.
17103 * malloc/tst-memalign.c: New file.
17104
27d0461b
WN
17105 * malloc/tst-posix_memalign.c: Add comments.
17106 (do_test): Add comments and call free on all potentially
17107 allocated pointers. Add space after cast.
17108
1bc92709
WN
17109 * malloc/tst-pvalloc.c: Add comments.
17110 (do_test): Add comments and call free on all potentially
17111 allocated pointers. Remove duplicate check for NULL pointer.
17112 Add space after cast.
17113
66a9be9d
WN
17114 * malloc/tst-valloc.c: Add comments.
17115 (do_test): Add comments and call free on all potentially
17116 allocated pointers. Remove duplicate check for NULL pointer.
17117 Add space after cast.
17118
4cb81307
AM
171192013-10-04 Alan Modra <amodra@gmail.com>
17120
17121 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17122 Use stdint types in rather than __attribute__((mode())).
17123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17124
f8e3e9f3
AM
171252013-10-04 Alan Modra <amodra@gmail.com>
17126
17127 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17128 Correct handling of unaligned relocs for little-endian.
17129 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17130
8f9ebb08
AM
171312013-10-04 Alan Modra <amodra@gmail.com>
17132
17133 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17134 * configure: Regenerate.
17135 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17136 * shlib-versions: Likewise.
17137
0edf96c2
AM
171382013-10-04 Alan Modra <amodra@gmail.com>
17139
17140 * string/tester.c (test_memrchr): Increment reported test cycle.
17141
e0f7a380
AM
171422013-10-04 Alan Modra <amodra@gmail.com>
17143
17144 * string/test-memcpy.c (do_one_test): When reporting errors, print
17145 string address and don't overrun end of string.
17146
466b0393
AM
171472013-10-04 Alan Modra <amodra@gmail.com>
17148
17149 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17150 insrdi. Make better use of reg selection to speed exit slightly.
17151 Schedule entry path a little better. Remove useless "are we done"
17152 checks on entry to main loop. Handle wrapping around zero address.
17153 Correct main loop count. Handle single left-over word from main
17154 loop inline rather than by using loop_small. Remove extra word
17155 case in loop_small caused by wrong loop count. Add little-endian
17156 support.
17157 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17158 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17159 cache hint.
17160 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17161 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17162 support. Avoid rlwimi.
17163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17164
3be87c77
AM
171652013-10-04 Alan Modra <amodra@gmail.com>
17166
17167 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 17168 insrdi. Formatting.
3be87c77
AM
17169 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17170 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17171 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17172 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17173 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17174 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17175
759cfef3
AM
171762013-10-04 Alan Modra <amodra@gmail.com>
17177
17178 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17179 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17180 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17182 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17184 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17185 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17186 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17187 use of regs. Use power7 mtocrf. Tidy function tails.
17188
fe6e95d7
AM
171892013-10-04 Alan Modra <amodra@gmail.com>
17190
17191 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17192 Formatting. Consistently use rXXX register defines or rN defines.
17193 Use early exit labels that avoid restoring unused non-volatile regs.
17194 Make cr field use more consistent with rWORDn compares. Rename
17195 regs used as shift registers for unaligned loop, using rN defines
17196 for short lifetime/multiple use regs.
17197 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17198 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17199 addi 1,1,64 to pop stack frame. Simplify return value code.
17200 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17201
664318c3
AM
172022013-10-04 Alan Modra <amodra@gmail.com>
17203
17204 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17205 support. Correct typos, formatting. Optimize tail. Use insrdi
17206 rather than rlwimi.
17207 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17208 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17209 little-endian support. Correct typos.
17210 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17211 rather than rlwimi.
17212 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17213 in loop and entry code to keep "and." results.
17214 (strchr): Add little-endian support. Comment. Move cntlzd
17215 earlier in tail.
17216 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17217
43b84013
AM
172182013-10-04 Alan Modra <amodra@gmail.com>
17219
17220 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17221 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17222 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17223 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17224
8a7413f9
AM
172252013-10-04 Alan Modra <amodra@gmail.com>
17226
17227 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17228 (rTMP): Define as r11.
17229 (strcmp): Add little-endian support. Optimise tail.
17230 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17231 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17232 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17234 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17235 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17237
33ee81de
AM
172382013-10-04 Alan Modra <amodra@gmail.com>
17239
17240 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17241 little-endian support. Remove unnecessary "are we done" tests.
17242 Handle "s" wrapping around zero and extremely large "size".
17243 Correct main loop count. Handle single left-over word from main
17244 loop inline rather than by using small_loop. Correct comments.
17245 Delete "zero" tail, use "end_max" instead.
17246 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17247
db9b4570
AM
172482013-10-04 Alan Modra <amodra@gmail.com>
17249
17250 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17251 support. Don't branch over align.
17252 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17253 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17254 support. Rearrange tmp reg use to suit. Comment.
17255 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17256
f7c399cf
AM
172572013-10-04 Alan Modra <amodra@gmail.com>
17258
17259 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17260
0b2c2ace
AM
172612013-10-04 Alan Modra <amodra@gmail.com>
17262
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17264 conditional form of branch and link when obtaining pc.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17266
02f04a6c
AM
172672013-10-04 Alan Modra <amodra@gmail.com>
17268
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17270 HIWORD/LOWORD.
17271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17273
9b874b2f
AM
172742013-10-04 Alan Modra <amodra@gmail.com>
17275
17276 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17277 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17278 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17279 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17280 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17281 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17282 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17283 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17284 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17285 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17286
be1e5d31
AB
172872013-10-04 Anton Blanchard <anton@au1.ibm.com>
17288 Alistair Popple <alistair@ozlabs.au.ibm.com>
17289 Alan Modra <amodra@gmail.com>
17290
17291 [BZ #15723]
17292 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17294 _dl_hwcap access for little-endian.
17295 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17296 destroy vmx regs when saving unaligned.
17297 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17298 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17299 destroy vmx regs when saving unaligned.
17300
fef13a78
AM
173012013-10-04 Alan Modra <amodra@gmail.com>
17302
17303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17304 Don't use a union to pack hi/low value.
17305
76a66d51
AB
173062013-10-04 Anton Blanchard <anton@au1.ibm.com>
17307
17308 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17309 for little-endian.
17310 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17312 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17313 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17314 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17315
6a31fe7f
AM
173162013-10-04 Alan Modra <amodra@gmail.com>
17317
17318 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17319 constants to usual value for .cst8 section, and remove redundant
17320 high address load.
17321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17322 constant for 0x1p52. Load little-endian words of double from
17323 correct stack offsets.
17324
7b88401f
AM
173252013-10-04 Alan Modra <amodra@gmail.com>
17326
17327 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17328 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17329 words of double from correct stack offsets.
17330 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17331 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17332 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17333 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17334 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17337 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17338 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17341 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17342 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17343 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17344 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17345 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17346 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17347
9c008155
AM
173482013-10-04 Alan Modra <amodra@gmail.com>
17349
17350 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17351 64-bit int/double union.
17352 (_FPU_SETCW): Likewise.
17353 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17354 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17355
da13146d
AM
173562013-10-04 Alan Modra <amodra@gmail.com>
17357
17358 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17359 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17360
603e8410
AM
173612013-10-04 Alan Modra <amodra@gmail.com>
17362
17363 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17364 use vector int constants.
17365 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17366
4a28b3ca
AB
173672013-10-04 Anton Blanchard <anton@au1.ibm.com>
17368
17369 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17370 array with long long.
17371 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17372 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17373 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17374 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17375 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17376 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17377 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17378 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17379 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17380 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17381 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17382 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17383 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17384
2ca85d2b
AB
173852013-10-04 Anton Blanchard <anton@au1.ibm.com>
17386
17387 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17388 (__signbit): Likewise. Correct for little-endian.
17389 (__signbitl): Call __signbit.
17390 (lrint): Correct for little-endian.
17391 (lrintf): Call lrint.
17392
62a728ae
AM
173932013-10-04 Alan Modra <amodra@gmail.com>
17394
17395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17396 union 32-bit int array member with 64-bit int array.
17397 (t515, tm256): Double rather than long double.
17398 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17399
32c301df
AM
174002013-10-04 Alan Modra <amodra@gmail.com>
17401
17402 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17403 Delete.
17404 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17406 version of math_ldbl.h.
17407
650ef4bd
AM
174082013-10-04 Alan Modra <amodra@gmail.com>
17409
17410 [BZ #15734], [BZ #15735]
17411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17412 all uses of ieee875 long double macros and unions. Simplify test
17413 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17414 ldbl_extract_mantissa value for ix,iy exponents. Properly
17415 normalize after ldbl_extract_mantissa, and don't add hidden bit
17416 already handled. Don't treat low word of ieee854 mantissa like
17417 low word of IBM long double and mask off bit when testing for
17418 zero.
17419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17420 all uses of ieee875 long double macros and unions. Simplify tests
17421 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17422 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17423 two1022, instead use their values. Recognise that tests for large
17424 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17425 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17426 Rewrite all uses of ieee875 long double macros and unions. Simplify
17427 test for 0.0L and nan. Correct negation.
17428 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17429 ieee875 long double macros and unions. Correct output for large
17430 magnitude x. Correct absolute value calculation.
17431 (__erfcl): Likewise.
17432 * math/libm-test.inc: Add tests for errors discovered in IBM long
17433 double versions of fmodl, remainderl, erfl and erfcl.
17434
765714ca
AM
174352013-10-04 Alan Modra <amodra@gmail.com>
17436
17437 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17438 all uses of ieee854 long double macros and unions. Simplify tests
17439 for long doubles that are fully specified by the high double.
17440 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17441 Likewise.
17442 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17443 Remove dead code too.
17444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17445 (__ieee754_ynl): Likewise.
17446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17449 Remove dead code too.
17450 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17452 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17453 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17454 Simplify.
17455 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17456 Simplify.
17457 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17458 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17460 Comment on variable precision.
17461 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17462 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17463 Likewise.
17464 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17465 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17466 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17467 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17468 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17469
4ebd120c
AM
174702013-10-04 Alan Modra <amodra@gmail.com>
17471
17472 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17474 all uses of ieee854 long double macros and unions.
17475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17481 Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17488 Simplify sign and nan test too.
17489 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17493 Likewise.
17494 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17496 Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17500 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17501 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17503
1b6adf88
AM
175042013-10-04 Alan Modra <amodra@gmail.com>
17505
17506 * stdio-common/printf_size.c (__printf_size): Don't use
17507 union ieee854_long_double in fpnum union.
17508 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17509 signbit macro to retrieve sign from long double.
17510 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17511 retrieve sign from long double.
17512 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17513 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17516 * math/test-misc.c (main): Don't use union ieee854_long_double.
17517
4cf69995
AM
175182013-10-04 Alan Modra <amodra@gmail.com>
17519
17520 [BZ #15680]
17521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17522 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17523 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17524 calculation. Remove unnecessary test for denormal exponent.
17525 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17526 Correct handling of denormals. Avoid undefined shift behaviour.
17527 Correct normalisation of low mantissa when low double is denormal.
17528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17529 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17530 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17531 Correct normalisation of low mantissa. Test for overflow of high
17532 mantissa and normalise.
17533 (ldbl_nearbyint): Use more readable constant for two52.
17534 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17535 (__mpn_construct_long_double): Fix test for overflow of high
17536 mantissa and correct normalisation. Avoid undefined shift.
17537
9605ca6c
AM
175382013-10-04 Alan Modra <amodra@gmail.com>
17539
17540 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17541 (union ibm_extended_long_double): Define as an array of ieee754_double.
17542 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17543 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17544 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17545 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17549 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17551 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17552 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17553
975569d0
JM
175542013-10-03 Joseph Myers <joseph@codesourcery.com>
17555
d3d23756
JM
17556 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17557 page size instead of calling getpagesize.
17558
975569d0
JM
17559 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17560 (LOCFILE_ALIGN_MASK): Likewise.
17561 (LOCFILE_ALIGN_UP): Likewise.
17562 (LOCFILE_ALIGNED_P): Likewise.
17563 * locale/programs/ld-collate.c (collate_output): Use the new
17564 macros instead of __alignof__ (int32_t).
17565 * locale/weight.h (findidx): Likewise.
17566
b1fe1f2b
OB
175672013-10-03 Ondřej Bílka <neleai@seznam.cz>
17568
17569 [BZ #431]
17570 * manual/string.texi: Fix strncat and wcsncat.
17571
5f855e35
BM
175722013-10-03 Brooks Moses <bmoses@google.com>
17573
17574 [BZ #15915]
17575 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17576 * Makerules: ...here, and adjust associated comments.
17577
3cef6009
WN
175782013-10-02 Will Newton <will.newton@linaro.org>
17579
17580 * malloc/Makefile: Add tst-pvalloc.
17581 * malloc/tst-pvalloc.c: New file.
17582
7815420b
WN
175832013-10-02 Will Newton <will.newton@linaro.org>
17584
17585 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17586 improve test coverage.
17587
4868b204
WN
175882013-10-02 Will Newton <will.newton@linaro.org>
17589
17590 * malloc/Makefile: Add tst-posix_memalign.
17591 * malloc/tst-posix_memalign.c: New file.
17592
29c793b3
EB
175932013-10-01 Eric Blake <eblake@redhat.com>
17594
17595 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17596 Use __THROWNL rather than __THROW on static functions.
17597
fd967522
PM
175982013-09-30 Petr Machata <pmachata@redhat.com>
17599
17600 * elf/elf.h (R_AARCH64_ABS16): New macro.
17601 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17602 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17603 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17604 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17605 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17606 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17607 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17608 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17609 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17610 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17611 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17612 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17613 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17614 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17615 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17616 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17617 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17618 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17619 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17620 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17621 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17622 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17623 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17624 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17625 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17626 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17627 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17628 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17629 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17630 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17631 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17632 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17633 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17634 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17635 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17636 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17637 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17638 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17639 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17640 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17641 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17642 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17643 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17644 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17645 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17646 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17647 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17648 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17649 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17650 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17651 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17652 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17653 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17654 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17655 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17656 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17657 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17658 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17659 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17660 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17661 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17662 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17663 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17664 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17665 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17666 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17667 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17668 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17669 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17670 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17671 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17672 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17673 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17674 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17675 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17676 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17677 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17678 (R_AARCH64_TLSDESC_LDR): Likewise.
17679 (R_AARCH64_TLSDESC_ADD): Likewise.
17680 (R_AARCH64_TLSDESC_CALL): Likewise.
17681
b2179107
AS
176822013-09-30 Andreas Schwab <schwab@suse.de>
17683
17684 [BZ #15048]
17685 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17686 the nss database lookup.
17687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17689
47f28d0a
MF
176902013-09-28 Mike Frysinger <vapier@gentoo.org>
17691
17692 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17693
176942013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
17695
17696 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17697 ${Bash-specific parameter/pattern/string} parameter expansion.
17698 * sysdeps/unix/make-syscalls.sh: Likewise.
17699
f4518a17
KK
177002013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17701
17702 * sysdeps/sh/stackguard-macros.h: New file.
17703
dc1a95c7
OB
177042013-09-26 Ondřej Bílka <neleai@seznam.cz>
17705
17706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17708 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17709 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17710 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17711 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17712
5ebbff8f
AZ
177132013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17714
17715 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17716 Fix thread ID register.
17717
4fd2cf9f
JM
177182013-09-25 Joseph Myers <joseph@codesourcery.com>
17719
17720 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17721 [POSIX || UNIX98]: Require rather than permitting all symbols from
17722 <time.h>.
17723 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17724 element of struct sched_param.
17725 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17726 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17727 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17728 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17729 constant.
17730
12c22bc4
OL
177312013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17732
17733 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17734 argument calculation.
17735
a03d8ea7
JM
177362013-09-24 Joseph Myers <joseph@codesourcery.com>
17737
17738 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17739 Expect macro.
17740 [POSIX] (pthread_attr_t): Do not require type.
17741 [POSIX] (pthread_cond_t): Likewise.
17742 [POSIX] (pthread_condattr_t): Likewise.
17743 [POSIX] (pthread_key_t): Likewise.
17744 [POSIX] (pthread_mutex_t): Likewise.
17745 [POSIX] (pthread_mutexattr_t): Likewise.
17746 [POSIX] (pthread_once_t): Likewise.
17747 [POSIX] (pthread_t): Likewise.
17748 [POSIX-based standards] (pthread_atfork): Expect function.
17749
6055173a
JM
177502013-09-24 Joseph Myers <joseph@codesourcery.com>
17751 Richard Sandiford <richard@codesourcery.com>
17752
17753 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17754 (swap_endianness_p): New extern variable.
17755 (set_big_endian): New inline function.
17756 (maybe_swap_uint32): Likewise.
17757 (maybe_swap_uint32_array): Likewise.
17758 (maybe_swap_uint32_obstack): Likewise.
17759 * locale/programs/locfile.c: Include <stdbool.h>.
17760 (swap_endianness_p): New variable.
17761 (add_locale_uint32): Call maybe_swap_uint32.
17762 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17763 (write_locale_data): Call maybe_swap_uint32_array.
17764 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17765 maybe_swap_uint32.
17766 (obstack_int32_grow_fast): Likewise.
17767 (output_weightwc): Call maybe_swap_uint32_obstack.
17768 (collate_output): Likewise.
17769 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17770 (OPT_LITTLE_ENDIAN): Likewise.
17771 (options): Add --little-endian and --big-endian options.
17772 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17773 * locale/programs/locarchive.c: Include "locfile.h".
17774 (GET): New macro.
17775 (SET): Likewise.
17776 (INC): Likewise.
17777 (create_archive): Use the new macros to access fields of
17778 structures directly mapped from or written to locale archives.
17779 (oldlocrecentcmp): Likewise.
17780 (enlarge_archive): Likewise.
17781 (insert_name): Likewise.
17782 (add_alias): Likewise.
17783 (add_locale): Likewise.
17784 (delete_locales_from_archive): Likewise.
17785 (show_archive_content): Likewise.
17786 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17787 locale data.
17788
39bf0bb4
RM
177892013-09-24 Roland McGrath <roland@hack.frob.com>
17790
17791 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17792 http://www.gnu.org/doc/freemanuals.texi.
17793 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17794
f02eed10
WN
177952013-09-24 Will Newton <will.newton@linaro.org>
17796
17797 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17798 macro.
17799
a3a6c312
JM
178002013-09-23 Joseph Myers <joseph@codesourcery.com>
17801
17802 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17803 unsigned char.
17804
107375ac
MR
178052013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17806
17807 * manual/threads.texi (POSIX Threads): Fix a typo.
17808
141f3a77
SP
178092013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17810
303e567a
SP
17811 [BZ #14547]
17812 * string/tst-strcoll-overflow.c: New test case.
17813 * string/Makefile (xtests): Add tst-strcoll-overflow.
17814 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17815 cache if string sizes may cause integer overflow.
17816
141f3a77
SP
17817 [BZ #14547]
17818 * string/strcoll_l.c (coll_seq): New members rule, idx,
17819 save_idx and back_us.
17820 (get_next_seq_nocache): New function.
17821 (do_compare_nocache): New function.
17822 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17823 when malloc fails.
17824
c61b4d41
CD
178252013-09-23 Carlos O'Donell <carlos@redhat.com>
17826
0b1f8e35
CD
17827 [BZ #15754]
17828 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17829 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17830 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17831
c61b4d41
CD
17832 [BZ #15754]
17833 * elf/Makefile (tests): Add tst-ptrguard1.
17834 (tests-static): Add tst-ptrguard1-static.
17835 (tst-ptrguard1-ARGS): Define.
17836 (tst-ptrguard1-static-ARGS): Define.
17837 * elf/tst-ptrguard1.c: New file.
17838 * elf/tst-ptrguard1-static.c: New file.
17839 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17840 * sysdeps/i386/stackguard-macros.h: Likewise.
17841 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17842 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17843 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17844 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17845 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17846 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17847
178482013-09-23 Hector Marco <hecmargi@upv.es>
17849 Ismael Ripoll <iripoll@disca.upv.es>
17850 Carlos O'Donell <carlos@redhat.com>
17851
17852 [BZ #15754]
17853 * sysdeps/generic/stackguard-macros.h: Define
17854 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17855 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17856 Define __pointer_chk_guard_local.
17857 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17858 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17859
f5f4e7b4
VV
178602013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17861
17862 [BZ #15859]
17863 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17864
5bb43a43
AS
178652013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17866
17867 * include/string.h (__ffs): Declare as hidden.
17868 * string/ffs.c (__ffs): Define as hidden.
17869 * sysdeps/i386/ffs.c (__ffs): Likewise.
17870 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17871 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17872 * sysdeps/s390/ffs.c (__ffs): Likewise.
17873 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17874
3ea5be54
AO
178752013-09-20 Alexandre Oliva <aoliva@redhat.com>
17876
ffb89e53
AO
17877 * NEWS: Mention malloc probes.
17878
322dea08
AO
17879 * malloc/arena.c (new_heap): New memory_heap_new probe.
17880 (grow_heap): New memory_heap_more probe.
17881 (shrink_heap): New memory_heap_less probe.
17882 (heap_trim): New memory_heap_free probe.
17883 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17884 (systrim): New memory_sbrk_less probe.
17885 * manual/probes.texi: Document them.
17886
655673f3
AO
17887 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17888 * manual/probes.texi: Document it.
17889
35fed6f1
AO
17890 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17891 (__libc_realloc): Add memory_realloc_retry probe.
17892 (__libc_memalign): Add memory_memalign_retry probe.
17893 (__libc_valloc): Add memory_valloc_retry probe.
17894 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17895 (__libc_calloc): Add memory_calloc_retry probe.
17896 * manual/probes.texi: Document them.
17897
6999d38c
AO
17898 * malloc/arena.c (get_free_list): Add probe
17899 memory_arena_reuse_free_list.
17900 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17901 and memory_arena_reuse.
17902 (arena_get2) [!PER_THREAD]: Likewise.
17903 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17904 memory_arena_reuse_realloc.
17905 * manual/probes.texi: Document them.
17906
0653427f
AO
17907 * malloc/malloc.c (__libc_free): Add
17908 memory_mallopt_free_dyn_thresholds probe.
17909 (__libc_mallopt): Add multiple memory_mallopt probes.
17910 * manual/probes.texi: Document them.
17911
3ea5be54
AO
17912 * malloc/malloc.c: Include stap-probe.h.
17913 (__libc_mallopt): Add memory_mallopt probe.
17914 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17915 * manual/probes.texi: New.
17916 * manual/Makefile (chapters): Add probes.
17917 * manual/threads.texi: Set next node.
17918
e35696c3 179192013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 17920
e35696c3
CL
17921 [BZ #15963, #13985]
17922 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17923 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17924 Add `Chinese' to `nan' entry name.
17925
4aafb73c
SP
179262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17927
17928 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17929 (POLYNOMIAL): Likewise.
17930 (TAYLOR_SINCOS): Likewise.
17931 (TAYLOR_SLOW): Likewise.
17932 (__sin): Use TAYLOR_SINCOS.
17933 (__cos): Likewise.
17934 (slow): Use TAYLOR_SLOW.
17935 (sloww): Likewise.
17936 (bsloww): Likewise.
17937 (csloww): Likewise.
17938
d84f25c7
LD
179392013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17940
17941 * stdlib/strtod_l.c: Fix buffer overrun.
17942
5eea0404
SP
179432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
7849ff93
SP
17945 * benchtests/Makefile (bench): Add sincos.
17946 * benchtests/bench-sincos.c: New file.
17947
cfa3c886
SP
17948 * math/libm-test.inc (cos_test_data): New test inputs.
17949 (sin_test_data): Likewise.
17950
b348e1e3
SP
17951 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17952 macro.
17953 (__sin): Use it.
17954 (__cos): Likewise.
17955 (slow1): Likewise.
17956 (slow2): Likewise.
17957 (sloww1): Likewise.
17958 (sloww2): Likewise.
17959 (bsloww1): Likewise.
17960 (bsloww2): Likewise.
17961 (cslow2): Likewise.
17962 (csloww1): Likewise.
17963 (csloww2): Likewise.
17964
6cce25f8
SP
17965 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17966 function.
17967 (__sin): Use it.
17968 (__cos): Likewise.
17969
5eea0404
SP
17970 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17971 gotos.
17972 (__cos): Likewise.
17973
9c21573c
MR
179742013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17975
17976 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17977 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17978 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17979 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17980 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17981 * elf/cache.c (print_entry): Handle the new cache flags.
17982
24d22e65
JM
179832013-09-18 Joseph Myers <joseph@codesourcery.com>
17984 Aldy Hernandez <aldyh@redhat.com>
17985
17986 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17987 Change condition to [_SOFT_FLOAT].
17988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17996 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17999 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18000 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18001 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18002 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18003 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18004 declaration.
18005
d13ef066
JM
180062013-09-18 Joseph Myers <joseph@codesourcery.com>
18007
2e071de0
JM
18008 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18009 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18010 (__longjmp): Use LOAD_GP to load saved GPRs.
18011 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18012 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18013 (__sigsetjmp): Use SAVE_GP to save GPRs.
18014
d13ef066
JM
18015 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18016 Do not append -msoft-float.
18017 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18018
97a0650b
SP
180192013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18020
18021 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18022
11ca09e9
JM
180232013-09-17 Joseph Myers <joseph@codesourcery.com>
18024
18025 [BZ #15966]
18026 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18027 (_FPU_GETCW): Use initial "__" on variable and field names but not
18028 on macro parameter name.
18029 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18030 parentheses around reference to macro parameter.
18031
08ffcf34
RS
180322013-09-13 Richard Sandiford <richard@codesourcery.com>
18033
18034 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18035 prototype.
18036 (ctype_startup): Use uint32_t in cast and sizeof for
18037 ctype->charnames.
18038
ae7080d3
JL
180392013-09-11 Jia Liu <proljc@gmail.com>
18040
18041 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18042 __daddr_t_defined.
18043 [__FreeBSD__]: Likewise.
18044
5905e7b3
OB
180452013-09-11 Ondřej Bílka <neleai@seznam.cz>
18046
18047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18048 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18049 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18050 (strchr): Remove __strchr_sse42 ifunc selection.
18051 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18052 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18053
b987c776
WN
180542013-09-11 Will Newton <will.newton@linaro.org>
18055
18056 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18057 parameter to RES. Remove hardcoded 1000 value.
18058 * benchtests/bench-skeleton.c (main): Pass RES parameter
18059 to TIMING_INIT and multiply result by 1000.
18060
ddf985af
AZ
180612013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18062
18063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18064
ffdd3181
AS
180652013-09-11 Andreas Schwab <schwab@suse.de>
18066
18067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18068 if not defined.
18069 (O_TMPFILE) [__USE_GNU]: Define.
18070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18071 Define.
18072
b73ed247
WN
180732013-09-11 Will Newton <will.newton@linaro.org>
18074
18075 [BZ #15857]
18076 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18077 does not overflow.
18078
55e17aad
WN
180792013-09-11 Will Newton <will.newton@linaro.org>
18080
18081 [BZ #15856]
18082 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18083 does not overflow.
18084
1159a193
WN
180852013-09-11 Will Newton <will.newton@linaro.org>
18086
18087 [BZ #15855]
18088 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18089 does not overflow.
18090
5905e7b3 180912013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
18092
18093 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18098
cdfc721b
AM
180992013-09-10 Allan McRae <allan@archlinux.org>
18100
aa04af00
AM
18101 [BZ #15748]
18102 * manual/arith.texi (Parsing of Floats): Clarify
18103 cross-reference.
18104
cdfc721b
AM
18105 [BZ #15849]
18106 * manual/install.texi (Running make install): Mention
18107 --enable-pt-chown.
18108 * INSTALL: Regenerated.
18109
95e7cf29
MR
181102013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18111
18112 * csu/init-first.c (_init): Remove the !SHARED condition around
18113 FPU control word initialization.
18114 * elf/dl-support.c (_dl_fpu_control): New variable.
18115 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18116 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18117 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18118 * math/test-fpucw-static.c: New file.
18119 * math/test-fpucw-ieee.c: New file.
18120 * math/test-fpucw-ieee-static.c: New file.
18121 * math/Makefile (tests): Add `test-fpucw-ieee' and
18122 `$(tests-static)'.
18123 (tests-static): New variable.
18124 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18125 dependency to...
18126 [($(build-shared),yes)]
18127 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18128 ... this.
18129 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18130 New dependency.
18131
83e43bf0
AM
181322013-09-09 Allan McRae <allan@archlinux.org>
18133
a9f5ce09
AM
18134 [BZ #15939]
18135 * manual/string.texi (Collation Functions): Fix typo in
18136 strcoll example.
18137 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18138
34829bc2
AM
18139 [BZ #15893]
18140 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18141
3932737d
AM
18142 [BZ #15892]
18143 * libio/memstream.c (open_memstream): Fix memory leak.
18144 * libio/wmemstream.c (open_wmemstream): Likewise.
18145
83e43bf0
AM
18146 [BZ #15895]
18147 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18148
0c66b8e9
WN
181492013-09-09 Will Newton <will.newton@linaro.org>
18150
18151 * malloc/Makefile: Add tst-realloc to tests.
18152 * malloc/tst-realloc.c: New file.
18153
f6b00fd1
AM
181542013-09-09 Allan McRae <allan@archlinux.org>
18155
18156 [BZ #15844]
18157 * COPYING: Update from GNU website to fix FSF address.
18158 * COPYING.LIB: Likewise.
18159
eec55e16
DM
181602013-09-06 David S. Miller <davem@davemloft.net>
18161
18162 * po/zh_TW.po: Update Chinese (traditional) translation from
18163 translation project.
18164
1ecbb381
RS
181652013-09-06 Richard Sandiford <richard@codesourcery.com>
18166 Joseph Myers <joseph@codesourcery.com>
18167
18168 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18169 "localeinfo.h".
18170 (obstack_chunk_alloc): New macro.
18171 (obstack_chunk_free): Likewise.
18172 (record_offset): New function.
18173 (init_locale_data): Likewise.
18174 (align_locale_data): Likewise.
18175 (add_locale_empty): Likewise.
18176 (add_locale_raw_data): Likewise.
18177 (add_locale_raw_obstack): Likewise.
18178 (add_locale_string): Likewise.
18179 (add_locale_wstring): Likewise.
18180 (add_locale_uint32): Likewise.
18181 (add_locale_uint32_array): Likewise.
18182 (add_locale_char): Likewise.
18183 (start_locale_structure): Likewise.
18184 (end_locale_structure): Likewise.
18185 (start_locale_prelude): Likewise.
18186 (end_locale_prelude): Likewise.
18187 (write_locale_data): Take locale_file structure rather than an
18188 iovec.
18189 * locale/programs/locfile.h: Include "obstack.h".
18190 (struct locale_file): Change to store locale file contents instead
18191 of header.
18192 (init_locale_data): New prototype.
18193 (align_locale_data): Likewise.
18194 (add_locale_empty): Likewise.
18195 (add_locale_raw_data): Likewise.
18196 (add_locale_raw_obstack): Likewise.
18197 (add_locale_string): Likewise.
18198 (add_locale_wstring): Likewise.
18199 (add_locale_uint32): Likewise.
18200 (add_locale_uint32_array): Likewise.
18201 (add_locale_char): Likewise.
18202 (start_locale_structure): Likewise.
18203 (end_locale_structure): Likewise.
18204 (start_locale_prelude): Likewise.
18205 (end_locale_prelude): Likewise.
18206 (write_locale_data): Update prototype.
18207 * locale/programs/3level.h (struct TABLE): Remove result field.
18208 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18209 Use new locale_file interface.
18210 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18211 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18212 * locale/programs/ld-address.c (address_output): Use new
18213 locale_file interface.
18214 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18215 NO_ADD_LOCALE.
18216 (collate_finish): Don't call collseq_table_finalize.
18217 (collate_output): Use new locale_file interface.
18218 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18219 in file.
18220 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18221 (TABLE): Move defines earlier in file.
18222 (ELEMENT): Likewise.
18223 (DEFAULT): Likewise.
18224 (wctrans_table_add): Move macro and inline function earlier in
18225 file.
18226 (struct wctype_table): Move type earlier in file.
18227 (add_locale_wctype_table): New static prototype.
18228 (struct locale_ctype_t): Use logical types instead of struct iovec
18229 pointers for members.
18230 (ctype_output): Use new locale_file interface.
18231 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18232 new locale_file interface.
18233 (allocate_arrays): Update for use of new locale_file interface.
18234 * locale/programs/ld-identification.c (identification_output): Use
18235 new locale_file interface.
18236 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18237 * locale/programs/ld-messages.c (messages_output): Likewise.
18238 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18239 * locale/programs/ld-name.c (name_output): Likewise.
18240 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18241 * locale/programs/ld-paper.c (paper_output): Likewise.
18242 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18243 * locale/programs/ld-time.c (time_output): Likewise.
18244
e029e2e5
AZ
182452013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18246
18247 * benchtests/Makefile: Add memrchr benchmark.
18248 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18249 benchmark as memrchr.
18250 * benchtests/bench-memrchr-ifunc.c: New file.
18251 * benchtests/bench-memrchr.c: New file.
18252
bbf6e8e4
WN
182532013-09-06 Will Newton <will.newton@linaro.org>
18254
18255 * benchtests/Makefile (string-bench): Add memcpy.
18256
6c82a2f8
CD
182572013-09-05 Carlos O'Donell <carlos@redhat.com>
18258 Cong Wang <amwang@redhat.com>
18259
e732c5f0 18260 [BZ #15850]
6c82a2f8
CD
18261 * sysdeps/unix/sysv/linux/bits/in.h
18262 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18263 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18264 before __USE_KERNEL_IPV6_DEFS uses.
18265 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18266 IPPROTO_BEETPH.
18267 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18268 sockaddr_in6, or ipv6_mreq.
18269
5430fc65
AZ
182702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18271
18272 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18273 memory access for final bytes in some large inputs.
18274 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18275
4660856c
AZ
182762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18277
18278 * string/test-memrchr.c: New file.
18279 * string/test-memrchr-ifunc.c: New file.
18280 * string/Makefile: Add new memrchr testcase.
18281
bb8ea713
MF
182822013-09-05 Mike Frysinger <vapier@gentoo.org>
18283
18284 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18285 fanotify_init returns EPERM.
18286
b92a20b5
JM
182872013-09-04 Joseph Myers <joseph@codesourcery.com>
18288
18289 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18290 errors.
18291 (top level): Treat second token from macro or constant entries for
18292 allowed headers as allowed.
18293 * include/complex.h: Condition internal declarations on
18294 [!_ISOMAC].
18295 * include/fenv.h: Condition include of <stdbool.h> and internal
18296 declarations on [!_ISOMAC].
7447ccd9
CL
18297
182982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18299
3e181dda 18300 [BZ #15923]
7447ccd9
CL
18301 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18302
3f2e46a4
JM
183032013-09-04 Joseph Myers <joseph@codesourcery.com>
18304
18305 * configure.in (--enable-versioning): Remove configure option.
18306 (libc_cv_asm_symver_directive): Remove configure test.
18307 (libc_cv_ld_version_script_option): Likewise.
18308 (VERSIONING): Remove variable and AC_SUBST.
18309 (DO_VERSIONING): Remove AC_DEFINE.
18310 * configure: Regenerated.
18311 * config.h.in (DO_VERSIONING): Remove macro.
18312 * Makerules [$(versioning) = yes]: Change conditionals to
18313 [$(build-shared) = yes].
18314 * config.make.in (versioning): Remove variable.
18315 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18316 [$(build-shared) = yes].
18317 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18318 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18319 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18320 [$(build-shared) = yes].
18321 * extra-lib.mk [$(versioning) = yes]: Likewise.
18322 * hurd/Makefile [$(versioning) = yes]: Likewise.
18323 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18324 [SHARED].
18325 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18326 [SHARED].
18327 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18328 [SHARED && !NO_HIDDEN].
18329 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18330 [SHARED].
18331 [SHARED && DO_VERSIONING]: Likewise..
18332 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18333 [$(build-shared) = yes].
18334 * manual/install.texi (--disable-versioning): Remove
18335 documentation.
18336 * INSTALL: Regenerated.
18337 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18338 to [SHARED].
18339 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18340 [$(build-shared) = yes].
18341 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18342 * sysdeps/i386/i686/multiarch/strstr-c.c
18343 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18344 [SHARED && !NO_HIDDEN].
18345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18346 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18347 * sysdeps/powerpc/powerpc32/dl-machine.c
18348 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18349 * sysdeps/powerpc/powerpc32/sysdep.h
18350 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18351 to [SHARED && PIC && !NO_HIDDEN].
18352 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18353 conditional to [SHARED].
18354
44558701
WN
183552013-09-04 Will Newton <will.newton@linaro.org>
18356
18357 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18358 * benchtests/bench-string.h: Include bench-timing.h instead
18359 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18360 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18361 call to HP_TIMING_DIFF_INIT.
18362 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18363 instead of hp-timing.h macros.
18364 * benchtests/bench-memchr.c: Likewise.
18365 * benchtests/bench-memcmp.c: Likewise.
18366 * benchtests/bench-memcpy.c: Likewise.
18367 * benchtests/bench-memmem.c: Likewise.
18368 * benchtests/bench-memmove.c: Likewise.
18369 * benchtests/bench-memset.c: Likewise.
18370 * benchtests/bench-rawmemchr.c: Likewise.
18371 * benchtests/bench-strcasecmp.c: Likewise.
18372 * benchtests/bench-strcasestr.c: Likewise.
18373 * benchtests/bench-strcat.c: Likewise.
18374 * benchtests/bench-strchr.c: Likewise.
18375 * benchtests/bench-strcmp.c: Likewise.
18376 * benchtests/bench-strcpy.c: Likewise.
18377 * benchtests/bench-strcpy_chk.c: Likewise.
18378 * benchtests/bench-strlen.c: Likewise.
18379 * benchtests/bench-strncasecmp.c: Likewise.
18380 * benchtests/bench-strncat.c: Likewise.
18381 * benchtests/bench-strncmp.c: Likewise.
18382 * benchtests/bench-strncpy.c: Likewise.
18383 * benchtests/bench-strnlen.c: Likewise.
18384 * benchtests/bench-strpbrk.c: Likewise.
18385 * benchtests/bench-strrchr.c: Likewise.
18386 * benchtests/bench-strspn.c: Likewise.
18387 * benchtests/bench-strstr.c: Likewise.
18388
cae16d66
WN
183892013-09-04 Will Newton <will.newton@linaro.org>
18390
18391 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18392
ffa3cd7f
JM
183932013-09-03 Joseph Myers <joseph@codesourcery.com>
18394
18395 [BZ #15427]
18396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18397 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18398 * math/libm-test.inc (lgamma_test_data): Add more tests.
18399 * sysdeps/i386/fpu/libm-test-ulps: Update.
18400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18401
8f02859f
OB
184022013-09-03 Ondřej Bílka <neleai@seznam.cz>
18403
18404 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18406 Add ifunc.
18407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18408 Add strcmp-sse2-unaligned
18409 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18410
18d43716
MF
184112013-09-02 Mike Frysinger <vapier@gentoo.org>
18412
18413 * Versions.def (libc): Add GLIBC_2.19.
18414
ac444012
MF
184152013-09-02 Mike Frysinger <vapier@gentoo.org>
18416
18417 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18418 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18419
b7835e32
JM
184202013-09-02 Joseph Myers <joseph@codesourcery.com>
18421
18422 [BZ #14155]
18423 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18424 intermediate calculations in recurrence.
18425 (__ieee754_ynf): Likewise.
18426 * math/libm-test.inc (jn_test_data): Do not allow spurious
18427 underflow exception. Add more tests.
18428 (yn_test_data): Add more tests.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
8220f4f0
OB
184322013-09-02 Ondřej Bílka <neleai@seznam.cz>
18433
18434 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18435
f24a6d08
OB
184362013-08-30 Ondřej Bílka <neleai@seznam.cz>
18437
18438 * csu/init-first.c: Fix then/than typos.
18439 * locale/programs/ld-collate.c: Likewise.
18440 * locale/programs/linereader.h: Likewise.
18441 * manual/charset.texi: Likewise.
18442 * manual/filesys.texi: Likewise.
18443 * manual/stdio.texi: Likewise.
18444 * manual/string.texi: Likewise.
18445 * stdlib/fmtmsg.c: Likewise.
18446 * sysdeps/i386/stpncpy.S: Likewise.
18447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18448 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18449 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18450 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18451
382466e0
OB
184522013-08-30 Ondřej Bílka <neleai@seznam.cz>
18453
18454 * elf/dl-open.c: Fix typos.
18455 * iconvdata/gbbig5.c: Likewise.
18456 * iconvdata/iso-2022-jp.c: Likewise.
18457 * iconv/gconv_int.h: Likewise.
18458 * iconv/loop.c: Likewise.
18459 * nis/rpcsvc/nis.h: Likewise.
18460 * resolv/ns_name.c: Likewise.
18461 * stdio-common/vfscanf.c: Likewise.
18462 * streams/stropts.h: Likewise.
18463 * sunrpc/rpc_thread.c: Likewise.
18464 * sysdeps/i386/strpbrk.S: Likewise.
18465 * sysdeps/ieee754/k_standard.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18468 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18469 * sysdeps/mach/hurd/profil.c: Likewise.
18470 * sysdeps/s390/dl-procinfo.h: Likewise.
18471 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18473 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18474 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18476
0186c6e9
OB
184772013-08-30 Ondřej Bílka <neleai@seznam.cz>
18478
18479 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18481
d4e16af1
OB
184822013-08-29 Ondřej Bílka <neleai@seznam.cz>
18483
18484 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18485 aix specific files.
18486 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18487 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18488 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18490 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18491 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18492 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18493 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18494
88335980
TS
184952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18496 Roland McGrath <roland@hack.frob.com>
18497
18498 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18499 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18500
ed479b02
ST
185012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18502
18503 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18504 __executable_start symbol instead of _start.
18505
f1cc4c86
TS
185062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18507
d821f07c
TS
18508 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18509 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18510 Move macros to...
18511 * sysdeps/gnu/ldsodefs.h: ... this new file.
18512
c54290cf
TS
18513 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18514 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18515 instead of ELFOSABI_LINUX.
18516
0007fc9b 18517 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
18518 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18519 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18520 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18521 Likewise.
18522 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18523 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18525 Likewise.
18526 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18527 (ibm_extended_long_double): Add ieee_nan member.
18528 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18529 (do_test): New function.
18530
f1cc4c86
TS
18531 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18532 TEST_TRUNC.
18533 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18534 functions, renamed from truncdfsf_test, trunctfsf_test,
18535 trunctfdf_test.
18536 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18537 functions.
18538 (do_test): Run all these.
18539
6f65e668
OB
185402013-08-29 Ondřej Bílka <neleai@seznam.cz>
18541
18542 * argp/argp-help.c: Fix typos.
18543 * argp/argp-parse.c: Likewise.
18544 * debug/backtracesyms.c: Likewise.
18545 * elf/elf.h: Likewise.
18546 * malloc/malloc.c: Likewise.
18547 * nis/nis_print.c: Likewise.
18548 * resolv/res_comp.c: Likewise.
18549 * stdlib/stdlib.h: Likewise.
18550 * sunrpc/clnt_tcp.c: Likewise.
18551 * sunrpc/clnt_udp.c: Likewise.
18552 * sunrpc/clnt_unix.c: Likewise.
18553 * sysdeps/unix/bsd/ptsname.c: Likewise.
18554 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18555 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
18556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18557 Likewise.
18558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18559 Likewise.
18560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18561 Likewise.
6f65e668
OB
18562 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18563
3a309239
SP
185642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18565
18566 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18568
3b813b29
MF
185692013-08-27 Mike Frysinger <vapier@gentoo.org>
18570
18571 [BZ #15897]
18572 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18573 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18574 ($(objpfx)bug-dl-leaf): New rule.
18575 ($(objpfx)bug-dl-leaf.so): Likewise.
18576 ($(objpfx)bug-dl-leaf.out): Likewise.
18577 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18578 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18579 * dlfcn/bug-dl-leaf.c: New test.
18580 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18581 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18582 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18583 (dlclose): Likewise.
18584 (dlmopen): Likewise.
18585
8cc3269f
RM
185862013-08-27 Roland McGrath <roland@hack.frob.com>
18587
7f9d0034
RM
18588 * include/netdb.h [!_ISOMAC]:
18589 Don't include <tls.h>.
18590 (h_errno, __libc_h_errno): Move declaration and macros out of
18591 [_LIBC_REENTRANT].
18592
fb431262
RM
18593 * include/resolv.h [_RESOLV_H_]:
18594 Don't include <tls.h>.
18595 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18596 * resolv/res_libc.c: Don't include <tls.h>.
18597 (_res): Use __attribute__ ((nocommon)) in place of
18598 __attribute__ ((section (".bss"))).
18599
bd81123a
RM
18600 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18601 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18602
c4e42566
RM
18603 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18604
f890a59b
RM
18605 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18606 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18607
18608 * resolv/res_mkquery.c: Include <sys/time.h>.
18609
5d1f0a09
RM
18610 * inet/ifreq.c: Moved to ...
18611 * sysdeps/unix/ifreq.c: ... here.
18612 * inet/ifreq.c: New file, true stub version.
18613
6fcf28b3
RM
18614 * socket/sa_len.c: New file.
18615 * socket/Makefile (aux): Add it.
18616 * sysdeps/unix/sysv/linux/Makefile
18617 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18618 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18619 and #include <socket/sa_len.c>.
18620 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18621 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18622
e041fb8b
RM
18623 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18624 * bits/socket.h: ... here.
18625
8cc3269f
RM
18626 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18627 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18628 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18629
5d228a43
AS
186302013-08-27 Andreas Schwab <schwab@suse.de>
18631
45b8accc
AS
18632 [BZ #15736]
18633 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18634 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18635 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18636 * string/test-strcasecmp.c (test_main): Run tests in several
18637 locales.
18638 * string/test-strncasecmp.c (test_main): Likewise.
18639
5d228a43
AS
18640 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18641 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18642 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18644 (__strncasecmp_ssse3) [PIC]: Likewise.
18645
59d112a4
RM
186462013-08-26 Roland McGrath <roland@hack.frob.com>
18647
53234cc3
RM
18648 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18649
59d112a4
RM
18650 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18651 instead of explicitly declaring xdecrypt.
18652 * nis/nss_nis/nis-publickey.c: Likewise.
18653
595aba70
SP
186542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18655
18656 [BZ #15890]
18657 * nscd/aicache.c: Include res_hconf.h.
18658 (addhstaiX): Initialize res_hconf.
18659
ffabd393
AS
186602013-08-26 Andreas Schwab <schwab@suse.de>
18661
18662 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18663 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18664
e0a69f5c
SP
186652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18666
18667 * nscd/aicache.c (addhstaiX): Fix indentation.
18668
8c12f01d
MF
186692013-08-25 Mike Frysinger <vapier@gentoo.org>
18670
18671 * configure.ac: Quote $build_pt_chown test.
18672 * configure: Regenerated.
18673
8fe89494
JM
186742013-08-23 Joseph Myers <joseph@codesourcery.com>
18675
18676 [BZ #15532]
18677 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18678 * math/s_cexpf.c (__cexpf): Likewise.
18679 * math/s_cexpl.c (__cexpl): Likewise.
18680 * math/libm-test.inc (cexp_test_data): Correct expected return
18681 value for NaN + i0. Add another test.
18682
75b181d6
DM
186832013-08-22 David S. Miller <davem@davemloft.net>
18684
18685 * po/ca.po: Update Catalan translation from translation project.
936241e4 18686 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 18687
acd06bb1
JM
186882013-08-21 Joseph Myers <joseph@codesourcery.com>
18689
18690 [BZ #15797]
18691 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18692 is infinite, not alongside NaN test.
18693 * math/s_fdimf.c (__fdimf): Likewise.
18694 * math/s_fdiml.c (__fdiml): Likewise.
18695 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18696 errno is unchanged.
18697
c0c3f78a
OB
186982013-08-21 Ondřej Bílka <neleai@seznam.cz>
18699
18700 * argp/argp-help.c: Fix typos.
18701 * crypt/speeds.c: Likewise.
18702 * csu/check_fds.c: Likewise.
18703 * elf/dl-load.c: Likewise.
18704 * elf/dl-open.c: Likewise.
18705 * elf/reldep3.c: Likewise.
18706 * elf/reldep.c: Likewise.
18707 * elf/sprof.c: Likewise.
18708 * iconv/iconv_charmap.c: Likewise.
18709 * iconv/skeleton.c: Likewise.
18710 * iconv/strtab.c: Likewise.
18711 * io/lockf64.c: Likewise.
18712 * libio/libioP.h: Likewise.
18713 * resolv/gai_notify.c: Likewise.
18714 * resolv/ns_name.c: Likewise.
18715 * resolv/ns_samedomain.c: Likewise.
18716 * resolv/res_send.c: Likewise.
18717 * stdlib/random.c: Likewise.
18718 * sunrpc/rpc/xdr.h: Likewise.
18719 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18720 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18721 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18722 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18723 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18724 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18727 * sysdeps/mach/hurd/check_fds.c: Likewise.
18728 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18729 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18731 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18732 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18733 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18734 * sysdeps/pthread/aio_notify.c: Likewise.
18735 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18736 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18737 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18739 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18740
46ed1038
LD
187412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18742
18743 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18744 version if bit_Slow_SSE4_2 is set.
18745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18746 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18747
d400dcac
AZ
187482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18749
18750 [BZ #15867]
18751 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18752 trampoline stack frame information.
18753 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18755 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18756 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18757 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18758 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18759 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18760 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18761 sa_flags value.
18762 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18763 interrupting a syscall and set with option SA_SIGINFO.
18764
42c8fdd8
JM
187652013-08-20 Joseph Myers <joseph@codesourcery.com>
18766
c980f2f4
JM
18767 [BZ #15531]
18768 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18769 argument is infinite.
18770 * math/s_cprojf.c (__cprojf): Likewise.
18771 * math/s_cprojl.c (__cprojl): Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18773 * math/libm-test.inc (cproj_test_data): Add more tests.
18774
0716c4fc
JM
18775 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18776
42c8fdd8
JM
18777 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18778 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18779 size. Use __ffs to determine corresponding shift.
18780
b31469d0
JM
187812013-08-20 Joseph Myers <joseph@codesourcery.com>
18782 Roland McGrath <roland@hack.frob.com>
18783
18784 * Makefile (INSTALL): Remove trailing blank lines from output of
18785 makeinfo.
18786
4e39af6e
AK
187872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18788
18789 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18790 Align 32 bit compat elf_greg to 8 bytes.
18791
f315524e
AA
187922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18793
18794 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18795
1326ba1a
SP
187962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18797
18798 * string/strcoll_l.c (coll_seq): New structure.
18799 (get_next_seq_cached): New function.
18800 (get_next_seq): New function.
18801 (do_compare): New function.
18802 (STRCOLL): Use GNU style definition. Simplify implementation
18803 by using get_next_seq, get_next_seq_cached and do_compare.
18804
91ce4085
FW
188052013-08-16 Florian Weimer <fweimer@redhat.com>
18806
18807 [BZ #14699]
18808 CVE-2013-4237
18809 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18810 member.
18811 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18812 member.
18813 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18814 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18815 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18816 conditional.
18817 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18818 GETDENTS_64BIT_ALIGNED.
18819 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18820 * manual/filesys.texi (Reading/Closing Directory): Document
18821 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18822 strongly.
18823 * manual/conf.texi (Limits for Files): Add portability note to
18824 NAME_MAX, PATH_MAX.
18825 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18826
ca0a6bc4
AS
188272013-08-13 Andreas Schwab <schwab@suse.de>
18828
18829 [BZ #15749]
18830 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18831 of fabs.
18832 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18833 LDBL_MAX_EXP >= 16384]: Add tests for it.
18834
6c1fd795
DM
188352013-08-12 David S. Miller <davem@davemloft.net>
18836
18837 * version.h (RELEASE): Set to "development".
18838 (VERSION): Set to "2.18.90".
18839 * NEWS: Add 2.19 section.
18840
31ad488d
DM
188412013-08-03 David S. Miller <davem@davemloft.net>
18842
18843 * po/ko.po: Update Korean translation from translation project.
18844
db24e684
DM
188452013-08-01 David S. Miller <davem@davemloft.net>
18846
18847 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18848 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18849 Bilka.
18850
f723285b
DM
188512013-07-30 David S. Miller <davem@davemloft.net>
18852
18853 * po/fr.po: Update French translation from translation project.
18854
3cbc52db
DM
188552013-07-28 David S. Miller <davem@davemloft.net>
18856
30bbc0cc
DM
18857 * po/cs.po: Update Czech translation from translation project.
18858
3cbc52db
DM
18859 * po/sv.po: Update Swedish translation from translation project.
18860
d492e6d0
DM
188612013-07-27 David S. Miller <davem@davemloft.net>
18862
f1a7f492
DM
18863 * po/eo.po: Update Esperanto translation from translation project.
18864
90e62a4a
DM
18865 * po/vi.po: Update Vietnamese translation from translation project.
18866
d492e6d0
DM
18867 * po/de.po: Update German translation from translation project.
18868
d4baa62d
DM
188692013-07-26 David S. Miller <davem@davemloft.net>
18870
641aa7b4
DM
18871 * po/bg.po: Update Bulgarian translation from translation project.
18872
d4baa62d
DM
18873 * po/nl.po: Update Dutch translation from translation project.
18874 * po/pl.po: Update Polish translation from translation project.
18875 * po/ru.po: Update Russian translation from translation project.
18876
61a9dcb9
DM
188772013-07-24 David S. Miller <davem@davemloft.net>
18878
18879 * po/libc.pot: Update.
18880
7b1f8b58
AZ
188812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882
18883 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18884 variable page size.
18885 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18886 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18887 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18888
a8fc7a03
AK
188892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18890
18891 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18892
e4608715
CD
188932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18894 Andreas Schwab <schwab@suse.de>
18895 Roland McGrath <roland@hack.frob.com>
18896 Joseph Myers <joseph@codesourcery.com>
18897 Carlos O'Donell <carlos@redhat.com>
18898
18899 [BZ #15755]
18900 * config.h.in: Define HAVE_PT_CHOWN.
18901 * config.make.in (build-pt-chown): New variable.
18902 * configure.in (--enable-pt_chown): New configure option.
18903 * configure: Regenerate.
18904 * login/Makefile: Include Makeconfig. Build pt_chown only if
18905 build-pt-chown is enabled.
18906 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18907 pt_chown to fix pty ownership.
18908 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18909 CLOSE_ALL_FDS.
18910 * manual/install.texi (Configuring and compiling): Mention
18911 --enable-pt_chown. Add @findex for grantpt.
18912 * INSTALL: Regenerate.
18913
da2d62df
DM
189142013-07-20 David S. Miller <davem@davemloft.net>
18915
18916 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18917 difference between 32-bit and 64-bit.
18918
d7e06450
CD
189192013-07-15 Carlos O'Donell <carlos@redhat.com>
18920
18921 [BZ #15711]
18922 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18923 Avoid system header dependency with -ffreestanding.
18924 ($(objpfx)bits/syscall%d): Likewise.
18925
f959cfd7
DM
189262013-07-13 David S. Miller <davem@davemloft.net>
18927
18928 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18929 underflows from atanl/atan2l due to bug 15319.
18930 (casinh_test_data): Likewise.
18931
c61f8513
DM
189322013-07-07 David S. Miller <davem@davemloft.net>
18933
18934 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18935
72c90ed0
JA
189362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18937
18938 * sysdeps/i386/fpu/libm-test-ulps: Update.
18939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18940
52dfbe13
SP
189412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18942
18943 * configure.in (--enable-lock-elision): Fix message text.
18944 * INSTALL: Regenerate.
18945 * configure: Regenerate.
18946
3f169543
AZ
189472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18948
18949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18950
521c6785
AJ
189512013-07-03 Andreas Jaeger <aj@suse.de>
18952
18953 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18954 define.
18955 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18956 (ptrace_peeksiginfo_args): Add.
18957 (__ptrace_peeksiginfo_flags): Add.
18958 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18959 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18961
d2cc15cb
AM
189622013-07-03 Allan McRae <allan@archlinux.org>
18963
18964 * sysdeps/i386/fpu/libm-test-ulps: Update.
18965
3aaeeca7
DM
189662013-07-02 David S. Miller <davem@davemloft.net>
18967
18968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18969
5314ed1a
MT
189702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18971
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18973
67338156
JM
189742013-07-02 Joseph Myers <joseph@codesourcery.com>
18975
18976 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18978
1717da59
AK
189792013-07-02 Andi Kleen <ak@linux.intel.com>
18980
18981 * config.h.in (ENABLE_LOCK_ELISION): Add.
18982 * configure.in (--enable-lock-elision): Add option.
18983 * manual/install.texi: Document --enable lock elision.
18984 * configure: Regenerate
18985 * INSTALL: Regenerate.
18986
1c81621c
L
189872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18988
18989 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18990 SSE4.2 strcasecmp for libc.a.
18991 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18992
77f01ab5
JM
189932013-07-02 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #13304]
18996 * soft-fp/op-common.h (_FP_FMA): New macro.
18997 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18998 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18999 (_FP_MUL_MEAT_1_imm): ... here.
19000 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19001 (_FP_MUL_MEAT_1_wide): ... here.
19002 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19003 (_FP_MUL_MEAT_1_hard): ... here.
19004 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19005 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19006 (_FP_MUL_MEAT_2_wide): ... here.
19007 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19008 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19009 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19010 (_FP_MUL_MEAT_2_gmp): ... here.
19011 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19012 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19013 (_FP_MUL_MEAT_4_wide): ... here.
19014 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19015 (_FP_MUL_MEAT_4_gmp): ... here.
19016 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19017 (_FP_WFRACBITS_DW_S): Likewise.
19018 (_FP_WFRACXBITS_DW_S): Likewise.
19019 (_FP_HIGHBIT_DW_S): Likewise.
19020 (FP_FMA_S): Likewise.
19021 (_FP_FRAC_HIGH_DW_S): Likewise.
19022 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19023 (_FP_WFRACBITS_DW_D): Likewise.
19024 (_FP_WFRACXBITS_DW_D): Likewise.
19025 (_FP_HIGHBIT_DW_D): Likewise.
19026 (FP_FMA_D): Likewise.
19027 (_FP_FRAC_HIGH_DW_D): Likewise.
19028 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19029 (_FP_WFRACBITS_DW_E): Likewise.
19030 (_FP_WFRACXBITS_DW_E): Likewise.
19031 (_FP_HIGHBIT_DW_E): Likewise.
19032 (FP_FMA_E): Likewise.
19033 (_FP_FRAC_HIGH_DW_E): Likewise.
19034 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19035 (_FP_WFRACBITS_DW_Q): Likewise.
19036 (_FP_WFRACXBITS_DW_Q): Likewise.
19037 (_FP_HIGHBIT_DW_Q): Likewise.
19038 (FP_FMA_Q): Likewise.
19039 (_FP_FRAC_HIGH_DW_Q): Likewise.
19040 * soft-fp/fmasf4.c: New file.
19041 * soft-fp/fmadf4.c: Likewise.
19042 * soft-fp/fmatf4.c: Likewise.
19043
6308fd9a
LD
190442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19045
19046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19047 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19048 Silvermont.
19049 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19050 macro.
19051 (index_Slow_SSE4_2): Likewise.
19052 (index_Prefer_PMINUB_for_stringop): Likewise.
19053 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19054 bit_Slow_SSE4_2 is set.
19055 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19056 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19057
89cd9569
RA
190582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19059
19060 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19061 rtld_global._dl_hwcap2.
19062 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19063 POWER8.
19064 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19065 POWER8 feature descriptions defined in _dl_hwcap2.
19066 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19067 string handling for POWER8 feature bits.
19068 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19069 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19070 _dl_powerpc_cap_flags.
19071 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19072 * sysdeps/powerpc/rtld-global-offsets.sym
19073 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19074 _dl_hwcap2 in the rtld_global_ro structure.
19075
1ae8bfe0
RA
190762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19077
19078 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19079 hardware capabilities in support of AT_HWCAP2.
19080 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19081 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19082 GLRO(dl_hwcap2).
19083 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19084 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19085 explicitly the unknown a_type display mechanism is used.
19086 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19087 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19088 struct member.
19089 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19090 to macro prototype for AT_HWCAP2 support.
19091 * sysdeps/i386/dl-procinfo.h: Likewise.
19092 * sysdeps/s390/dl-procinfo.h: Likewise.
19093 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19094 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19095 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19096 return -1 for unknown a_type display fallback.
19097 * sysdeps/sparc/dl-procinfo.h: Likewise.
19098 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19099 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19100
8fbec010
JM
191012013-06-28 Joseph Myers <joseph@codesourcery.com>
19102
19103 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19104 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19105
0432680e
PY
191062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19107
19108 [BZ #12492]
19109 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19110 mprotect making __stack_prot writable.
19111
ce61a2ad
NF
191122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19113 Joseph Myers <joseph@codesourcery.com>
19114
19115 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19116 as being properly aligned.
19117
f91f1c0f
MR
191182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19119
3d0f5d0c
MR
19120 * dlfcn/modstatic5.c: New file.
19121 * dlfcn/tststatic5.c: New file.
19122 * dlfcn/Makefile (tests): Add tststatic5.
19123 (tests-static): Likewise.
19124 (modules-names): Add modstatic5.
19125 (tststatic5-ENV): New variable.
19126 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19127
f91f1c0f
MR
19128 [BZ #15022]
19129 * elf/dl-support.c (_dl_main_map): New variable.
19130 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19131 (_dl_nns, _dl_load_adds): Set to 1.
19132 (_dl_initial_searchlist): Refer to _dl_main_map.
19133 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19134 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19135 call to _dl_get_origin.
19136 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19137 around call_map.
19138 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19139 * dlfcn/modstatic3.c: New file.
19140 * dlfcn/tststatic3.c: New file.
19141 * dlfcn/tststatic4.c: New file.
19142 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19143 (tests-static): Likewise.
19144 (modules-names): Add modstatic3.
19145 (tststatic3-ENV, tststatic4-ENV): New variables.
19146 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19147 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19148
cbe7d24b
JM
191492013-06-26 Joseph Myers <joseph@codesourcery.com>
19150
19151 * configure.in (CC): Require GCC version 4.4 or later.
19152 * configure: Regenerated.
19153 * manual/install.texi (Tools for Compilation): Update GCC version
19154 requirement.
19155 * INSTALL: Regenerated.
19156
11b8a0e1
LD
191572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19158
19159 [BZ #15674]
bb5bb87c
L
19160 * string/test-memcmp.c (check2): New.
19161 (main): Call check2.
19162
11b8a0e1
LD
19163 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19164
b0037103
MR
191652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19166
19167 [BZ #15022]
19168 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19169 over to...
19170 (dl_open_worker) [!SHARED]: ... here.
19171
c18c701d
RA
191722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19173
19174 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19175
1d17fa5f
RH
191762013-06-25 Richard Henderson <rth@redhat.com>
19177
19178 * locale/programs/locarchive.c: Include <libc-internal.h>
19179
8fcb833a
JM
191802013-06-25 Joseph Myers <joseph@codesourcery.com>
19181
19182 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19183 trailing whitespace removed.
19184
17db6e8d
MF
191852013-06-24 Mike Frysinger <vapier@gentoo.org>
19186
19187 [BZ #10283]
17db6e8d
MF
19188 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19189 * locale/programs/locarchive.c: Include libc-mmap.h.
19190 (prepare_address_space): Take two new outputs (the mmap base and len).
19191 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19192 values.
19193 (create_archive): Declare new mmap base and len values for
19194 prepare_address_space, and store the result in ah.
19195 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19196 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19197 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19198 Declare new mmap base and len values for
19199 prepare_address_space, and store the result in new_ah.
19200 (open_archive): Declare new mmap base and len values for
19201 prepare_address_space, and store the result in ah.
19202 (close_archive): If ah->mmap_base is not NULL, use that and
19203 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19204 * sysdeps/generic/libc-mmap.h: New file.
19205
d605071e
MF
192062013-06-24 Mike Frysinger <vapier@gentoo.org>
19207
19208 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19209 (ALIGN_UP): Likewise.
19210 (PTR_ALIGN_DOWN): Likewise.
19211 (PTR_ALIGN_UP): Likewise.
19212
2f063a6e
RA
192132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19214
19215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19216 entry mapped to PPC_PLATFORM_POWER8.
19217 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19218 POWER8.
19219 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19220 (_dl_string_platform): Add case for exporting platform position for
19221 POWER8.
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19223 search path to sysdeps/powerpc/powerpc32/power8 directory.
19224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19225 search path to sysdeps/powerpc/powerpc64/power8 directory.
19226 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19227 power7 directories.
19228 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19229 power7 directories.
19230
a31ee4b3
SP
192312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19232
a74ca98f
SP
19233 * INSTALL: Regenerate.
19234
a31ee4b3
SP
19235 * nscd/connections.c (nscd_init): Fix comment.
19236
695c378f
JM
192372013-06-22 Joseph Myers <joseph@codesourcery.com>
19238
d8412221
JM
19239 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19240
695c378f
JM
19241 [BZ #15667]
19242 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19243 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19244
d1d54715
MR
192452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19246
19247 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19248 DL_DST_REQ_STATIC.
19249 (DL_DST_REQ_STATIC): Remove macro.
19250
8fdda7af
JM
192512013-06-21 Joseph Myers <joseph@codesourcery.com>
19252
19253 [BZ #7006]
19254 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19255 with a shift of 0 bits.
19256
f3bc5e5a
MR
192572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19258
19259 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19260 $(tststatic-ENV).
19261
be09e8c9
KK
192622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19263
19264 [BZ #15655]
19265 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19266
85c2e611
AZ
192672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19268
19269 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19270 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19271 accepts -fno-tree-loop-distribute-patterns.
19272 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19273 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19274 recursive call.
19275 * string/memset.c (memset): Likewise.
19276 * string/test-memmove.c (simple_memmove): Disable loop transformation
19277 to library calls.
19278 * string/test-memset.c (simple_memset): Likewise.
19279 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19280 * benchtests/bench-memset.c (simple_memset): Likewise.
19281 * configure: Regenerated.
19282
c91e0825
JM
192832013-06-20 Joseph Myers <joseph@codesourcery.com>
19284
b8c792af
JM
19285 * math/test-misc.c (main): Ignore fesetround failure when failures
19286 of subsequent rounding tests would be ignored.
19287
c91e0825
JM
19288 [BZ #15654]
19289 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19290 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19291 * math/fegetenv.c (__fegetenv): Return 0.
19292 * math/fegetexcept.c (fegetexcept): Return 0.
19293 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19294 FE_TONEAREST.
19295 * math/feholdexcpt.c (feholdexcept): Return 0.
19296 * math/fesetenv.c (__fesetenv): Return 0.
19297 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19298 argument FE_TONEAREST.
19299 * math/feupdateenv.c (__feupdateenv): Return 0.
19300 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19301
bfcacbde
RM
193022013-06-18 Roland McGrath <roland@hack.frob.com>
19303
19304 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19305 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19306 ($(objpfx)rtld-%.os rules): Use them.
19307
e55a9b25
AZ
193082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19309
19310 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19311 fields.
19312
346d65b3
RM
193132013-06-17 Roland McGrath <roland@hack.frob.com>
19314
12086fb4
RM
19315 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19316 length of target pattern, then descending length of dependency pattern.
19317 * configure.in (AWK): Require gawk 3.1.2 or newer.
19318 * manual/install.texi (Tools for Compilation): Say that we do.
19319 * configure: Regenerated.
19320
346d65b3
RM
19321 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19322 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19323 * scripts/sysd-rules.awk: ... this new script.
19324 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19325 than a glob-style pattern.
19326
1a846317
JM
193272013-06-17 Joseph Myers <joseph@codesourcery.com>
19328
19329 * math/test-misc.c (main): Do not treat incorrectly rounded
19330 conversions as failure unless ROUNDING_TESTS passes.
19331
8fc75e6f
JM
193322013-06-15 Joseph Myers <joseph@codesourcery.com>
19333
3711a167
JM
19334 [BZ #15631]
19335 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19336 restore exception state around main square root computation, then
19337 check for inexactness explicitly.
19338
8fc75e6f
JM
19339 * math/libm-test.inc (fma_test_data): Add another test.
19340
61dd6208
SP
193412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19342
adf23d2c
SP
19343 * manual/threads.texi (Non-POSIX Extensions): New document
19344 node. Document pthread_getattr_default_np and
19345 pthread_setattr_default_np.
19346
61dd6208
SP
19347 * Versions.def (libpthread): Add GLIBC_2.18.
19348 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19350 Likewise.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19352 Likewise.
19353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19354 Likewise.
19355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19356 Likewise.
19357 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19358 Likewise.
19359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19360 Likewise.
19361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19362 Likewise.
19363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19364 Likewise.
19365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19366 Likewise.
19367
d086fc7b
LD
193682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19369
19370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19371 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19372
747ef469
SP
193732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 H.J. Lu <hjl.tools@gmail.com>
19375
19376 [BZ #15627]
19377 * sysdeps/x86_64/rtld-memset.c: Remove file.
19378 * sysdeps/x86_64/rtld-memset.S: New file.
19379
1b2feed2
JM
193802013-06-14 Joseph Myers <joseph@codesourcery.com>
19381
19382 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19383 (test_in_one_mode): Take arguments for whether the rounding mode
19384 is supported for each floating-point type.
19385 (do_test): Pass new arguments to test_in_one_mode using
19386 ROUNDING_TESTS.
19387
a58ad3f8
RM
193882013-06-13 Roland McGrath <roland@hack.frob.com>
19389
19390 * posix/tst-waitid.c (do_test): Distinguish different instances of
19391 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19392 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19393 before entering the kernel for waitpid.
19394
c204ab28
SP
193952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19396
19397 * NEWS: Fix note on clock function precision. Text by Roland
19398 McGrath.
19399
f4a29fba
RM
194002013-06-13 Roland McGrath <roland@hack.frob.com>
19401
19402 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19403 it into place only when and if the sanity check passes.
19404
1f24b9ad
JM
194052013-06-13 Joseph Myers <joseph@codesourcery.com>
19406
19407 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19408 output for whether conversion result is exact. Take argument
19409 indicating whether type is IBM long double.
19410 (round_for_all): Change need_exact field to ibm_ld.
19411 * stdlib/tst-strtod-round.c (struct exactness): New type.
19412 (struct test): Change bool ld_ok field to struct exactness exact.
19413 (TEST): Update all definitions for change to field.
19414 (tests): Regenerate array contents.
19415 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19416 field value. Check for IBM long double here.
19417 (do_test): Update calls to test_in_one_mode.
19418
58206c68
SP
194192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19420
19421 [BZ #12515]
19422 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19423 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19424
2d6f4c5b 194252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
19426
19427 [BZ #15605]
19428 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19429 generated by the compiler on loop optimizations.
19430 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19431 general definitions.
19432
94f2c076
JM
194332013-06-12 Joseph Myers <joseph@codesourcery.com>
19434
19435 * math/bug-nextafter.c: Include <math-tests.h>.
19436 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19437 the relevant type.
19438 * math/bug-nexttoward.c: Include <math-tests.h>.
19439 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19440 the relevant type.
19441 * math/test-misc.c: Include <math-tests.h>.
19442 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19443 the relevant type.
19444
e0e50a0a
AJ
194452013-06-12 Andreas Jaeger <aj@suse.de>
19446
19447 * po/ia.po: Update Interlingua translation from translation
19448 project.
19449
25061094
SP
194502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19451
19452 * include/fenv.h: Include stdbool.h.
19453 (struct rm_ctx): New structure.
19454 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19455 Define macro.
19456 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19457 (SET_RESTORE_ROUNDF): Likewise.
19458 (SET_RESTORE_ROUNDL): Likewise.
19459 (SET_RESTORE_ROUND_NOEX): Likewise.
19460 (SET_RESTORE_ROUND_NOEXF): Likewise.
19461 (SET_RESTORE_ROUND_NOEXL): Likewise.
19462 (SET_RESTORE_ROUND_53BIT): Likewise.
19463 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19464 (libc_feresetround_noexf_ctx): Likewise.
19465 (libc_feresetround_noexl_ctx): Likewise.
19466 (libc_feholdsetround_53bit_ctx): Likewise.
19467 (libc_feresetround_53bit_ctx): Likewise.
19468 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19469 (libc_feholdexcept_setround_sse_ctx): New function.
19470 (libc_fesetenv_sse_ctx): Likewise.
19471 (libc_feupdateenv_sse_ctx): Likewise.
19472 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19473 (libc_feholdexcept_setround_387_ctx): Likewise.
19474 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19475 (libc_feholdsetround_387_prec_ctx): Likewise.
19476 (libc_feholdsetround_387_ctx): Likewise.
19477 (libc_feholdsetround_387_53bit_ctx): Likewise.
19478 (libc_feholdsetround_sse_ctx): Likewise.
19479 (libc_feresetround_sse_ctx): Likewise.
19480 (libc_feresetround_387_ctx): Likewise.
19481 (libc_feupdateenv_387_ctx): Likewise.
19482 (libc_feholdexcept_setroundf_ctx): Define macro.
19483 (libc_fesetenvf_ctx): Likewise.
19484 (libc_feupdateenvf_ctx): Likewise.
19485 (libc_feholdsetroundf_ctx): Likewise.
19486 (libc_feresetroundf_ctx): Likewise.
19487 (libc_feholdexcept_setround_ctx): Likewise.
19488 (libc_fesetenv_ctx): Likewise.
19489 (libc_feupdateenv_ctx): Likewise.
19490 (libc_feholdsetround_ctx): Likewise.
19491 (libc_feresetround_ctx): Likewise.
19492 (libc_feholdexcept_setroundl_ctx): Likewise.
19493 (libc_feupdateenvl_ctx): Likewise.
19494 (libc_feholdsetroundl_ctx): Likewise.
19495 (libc_feresetroundl_ctx): Likewise.
19496 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19497 (libc_feresetround_53bit_ctx): Likewise.
19498
59b30555
SP
194992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19500
19501 * locale/iso-639.def: Convert to UTF-8.
19502
f1d73d30
JM
195032013-06-11 Joseph Myers <joseph@codesourcery.com>
19504
19505 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19506 (EXCEPTION_TESTS_double): Likewise.
19507 (EXCEPTION_TESTS_long_double): Likewise.
19508 (EXCEPTION_TESTS): Likewise.
19509 * math/libm-test.inc (test_exceptions): Only test exceptions if
19510 EXCEPTION_TESTS (FLOAT).
19511
94aca5e7
SP
195122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19513
19514 * benchtests/Makefile (string-bench): Add strcpy_chk and
19515 stpcpy_chk.
19516 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19517 * benchtests/bench-stpcpy_chk.c: New file.
19518 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19519 * benchtests/bench-strcpy_chk.c: New file.
19520 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19521 code.
19522 (do_test): Likewise.
19523
fac0c5f2
RA
195242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19525
19526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19527 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19528 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19529 with tabs where appropriate.
19530 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19531 dl-procinfo.h.
19532 [PPC_PLATFORM_PPC440]: Likewise.
19533 [PPC_PLATFORM_PPC464]: Likewise.
19534 [PPC_PLATFORM_PPC476]: Likewise.
19535 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19536 ppc464, and ppc476 platform strings merging from ports/
19537 dl-procinfo.h.
19538
f22bc486
AS
195392013-06-11 Andreas Schwab <schwab@suse.de>
19540
19541 [BZ #14991]
19542 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19543 (from_ucs4_idx): Regenerate.
19544 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19545 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19546 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19547 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19548 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19549 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19550 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19551 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19552 from FROM_LOOP and TO_LOOP specific macros.
19553 (BODY): Handle combining characters.
19554 * iconvdata/BIG5HKSCS.irreversible: Update.
19555 * iconvdata/BIG5HKSCS.precomposed: New file.
19556 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19557 characters.
19558 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19559
c1f75dc3
SP
195602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19561
4eacded2
SP
19562 * include/sys/time.h: Fix indentation and add copyright header.
19563
fec799f8
SP
19564 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19565 (do_test): Likewise.
19566 * string/test-memchr.c (do_one_test): Likewise.
19567 (do_test): Likewise.
19568 * string/test-memcmp.c (do_one_test): Likewise.
19569 (do_test): Likewise.
19570 * string/test-memcpy.c (do_one_test): Likewise.
19571 (do_test): Likewise.
19572 * string/test-memmem.c (do_one_test): Likewise.
19573 (do_test): Likewise.
19574 (do_random_tests): Likewise.
19575 * string/test-memmove.c (do_one_test): Likewise.
19576 (do_test): Likewise.
19577 * string/test-memset.c (do_one_test): Likewise.
19578 (do_test): Likewise.
19579 * string/test-rawmemchr.c (do_one_test): Likewise.
19580 (do_test): Likewise.
19581 * string/test-strcasecmp.c (do_one_test): Likewise.
19582 (do_test): Likewise.
19583 * string/test-strcasestr.c (do_one_test): Likewise.
19584 (do_test): Likewise.
19585 * string/test-strcat.c (do_one_test): Likewise.
19586 (do_test): Likewise.
19587 * string/test-strchr.c (do_one_test): Likewise.
19588 (do_test): Likewise.
19589 * string/test-strcmp.c (do_one_test): Likewise.
19590 (do_test): Likewise.
19591 * string/test-strcpy.c (do_one_test): Likewise.
19592 (do_test): Likewise.
19593 * string/test-string.h: Likewise.
19594 (test_init): Likewise.
19595 * string/test-strlen.c (do_one_test): Likewise.
19596 (do_test): Likewise.
19597 * string/test-strncasecmp.c (do_one_test): Likewise.
19598 (do_test): Likewise.
19599 * string/test-strncat.c (do_one_test): Likewise.
19600 (do_test): Likewise.
19601 * string/test-strncmp.c (do_one_test): Likewise.
19602 (do_test_limit): Likewise.
19603 (do_test): Likewise.
19604 * string/test-strncpy.c (do_one_test): Likewise.
19605 (do_test): Likewise.
19606 * string/test-strnlen.c (do_one_test): Likewise.
19607 (do_test): Likewise.
19608 * string/test-strpbrk.c (do_one_test): Likewise.
19609 (do_test): Likewise.
19610 * string/test-strrchr.c (do_one_test): Likewise.
19611 (do_test): Likewise.
19612 * string/test-strspn.c (do_one_test): Likewise.
19613 (do_test): Likewise.
19614 * string/test-strstr.c (do_one_test): Likewise.
19615 (do_test): Likewise.
19616
97020474
SP
19617 * benchtests/Makefile (string-bench): Add string benchmarks.
19618 * benchtests/bench-bcopy-ifunc.c: New file.
19619 * benchtests/bench-bcopy.c: New file.
19620 * benchtests/bench-bzero-ifunc.c: New file.
19621 * benchtests/bench-bzero.c: New file.
19622 * benchtests/bench-memccpy-ifunc.c: New file.
19623 * benchtests/bench-memccpy.c: New file.
19624 * benchtests/bench-memchr-ifunc.c: New file.
19625 * benchtests/bench-memchr.c: New file.
19626 * benchtests/bench-memcmp-ifunc.c: New file.
19627 * benchtests/bench-memcmp.c: New file.
19628 * benchtests/bench-memmem-ifunc.c: New file.
19629 * benchtests/bench-memmem.c: New file.
19630 * benchtests/bench-memmove-ifunc.c: New file.
19631 * benchtests/bench-memmove.c: New file.
19632 * benchtests/bench-mempcpy-ifunc.c: New file.
19633 * benchtests/bench-mempcpy.c: New file.
19634 * benchtests/bench-memset-ifunc.c: New file.
19635 * benchtests/bench-memset.c: New file.
19636 * benchtests/bench-rawmemchr-ifunc.c: New file.
19637 * benchtests/bench-rawmemchr.c: New file.
19638 * benchtests/bench-stpcpy-ifunc.c: New file.
19639 * benchtests/bench-stpcpy.c: New file.
19640 * benchtests/bench-stpncpy-ifunc.c: New file.
19641 * benchtests/bench-stpncpy.c: New file.
19642 * benchtests/bench-strcasecmp-ifunc.c: New file.
19643 * benchtests/bench-strcasecmp.c: New file.
19644 * benchtests/bench-strcasestr-ifunc.c: New file.
19645 * benchtests/bench-strcasestr.c: New file.
19646 * benchtests/bench-strcat-ifunc.c: New file.
19647 * benchtests/bench-strcat.c: New file.
19648 * benchtests/bench-strchr-ifunc.c: New file.
19649 * benchtests/bench-strchr.c: New file.
19650 * benchtests/bench-strchrnul-ifunc.c: New file.
19651 * benchtests/bench-strchrnul.c: New file.
19652 * benchtests/bench-strcmp-ifunc.c: New file.
19653 * benchtests/bench-strcmp.c: New file.
19654 * benchtests/bench-strcpy-ifunc.c: New file.
19655 * benchtests/bench-strcpy.c: New file.
19656 * benchtests/bench-strcspn-ifunc.c: New file.
19657 * benchtests/bench-strcspn.c: New file.
19658 * benchtests/bench-strlen-ifunc.c: New file.
19659 * benchtests/bench-strlen.c: New file.
19660 * benchtests/bench-strncasecmp-ifunc.c: New file.
19661 * benchtests/bench-strncasecmp.c: New file.
19662 * benchtests/bench-strncat-ifunc.c: New file.
19663 * benchtests/bench-strncat.c: New file.
19664 * benchtests/bench-strncmp-ifunc.c: New file.
19665 * benchtests/bench-strncmp.c: New file.
19666 * benchtests/bench-strncpy-ifunc.c: New file.
19667 * benchtests/bench-strncpy.c: New file.
19668 * benchtests/bench-strnlen-ifunc.c: New file.
19669 * benchtests/bench-strnlen.c: New file.
19670 * benchtests/bench-strpbrk-ifunc.c: New file.
19671 * benchtests/bench-strpbrk.c: New file.
19672 * benchtests/bench-strrchr-ifunc.c: New file.
19673 * benchtests/bench-strrchr.c: New file.
19674 * benchtests/bench-strspn-ifunc.c: New file.
19675 * benchtests/bench-strspn.c: New file.
19676 * benchtests/bench-strstr-ifunc.c: New file.
19677 * benchtests/bench-strstr.c: New file.
19678
c1f75dc3
SP
19679 * benchtests/Makefile: Disable parallel execution of targets.
19680 (string-bench): Add memcpy.
19681 (benchset): New variable to store a list of benchmark sets.
19682 (bench-func): Renamed from bench.
19683 (bench-set): New target.
19684 (bench): Depend on bench-func and bench-set.
19685 * benchtests/README: Add section on benchmark sets.
19686 * benchtests/bench-memcpy-ifunc.c: New file.
19687 * benchtests/bench-memcpy.c: New file.
19688 * benchtests/bench-string.h: New file.
19689
50fd745b
AS
196902013-06-11 Andreas Schwab <schwab@suse.de>
19691
19692 [BZ #15577]
19693 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19694 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19695 values in the triple.
19696 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19697 terminator in the group key.
19698
3ee7e9fe
AJ
196992013-06-11 Andreas Jaeger <aj@suse.de>
19700
19701 * po/zh_TW.po: Update Chinese (traditional) translation from
19702 translation project.
19703
89fb6835
SP
197042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19705
19706 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19707 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19708 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19710 (clock_getcpuclockid): Likewise.
19711 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19712 Add weak_alias and libc_hidden_def.
19713 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19714 * rt/clock_gettime.c (clock_gettime): Rename to
19715 __clock_gettime. Add weak_alias and libc_hidden_def.
19716 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19717 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19718 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19719 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19720 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19721 Likewise.
19722 * rt/clock_settime.c (clock_settime): Rename to
19723 __clock_settime. Add weak_alias and libc_hidden_def.
19724 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19725
0efa6f8b
JM
197262013-06-10 Joseph Myers <joseph@codesourcery.com>
19727
b8c61b4b
JM
19728 * mach/err_boot.sub: Remove trailing whitespace.
19729 * mach/err_ipc.sub: Likewise.
19730 * mach/err_mach.sub: Likewise.
19731
0efa6f8b
JM
19732 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19733 (ROUNDING_TESTS_double): Likewise.
19734 (ROUNDING_TESTS_long_double): Likewise.
19735 (ROUNDING_TESTS): Likewise.
19736 * math/libm-test.inc: Include <math-tests.h>.
19737 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19738 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19739 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19740 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19741
50b818bf
SP
197422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19743
19744 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19745 of assigning.
19746
60d2f8f3
JM
197472013-06-08 Joseph Myers <joseph@codesourcery.com>
19748
4902d2c3
JM
19749 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19750 otherwise empty TRANS lines.
19751 * sysdeps/gnu/errlist.c: Regenerated.
19752
60d2f8f3
JM
19753 * catgets/gencat.c (error_print): Use (void) in function
19754 definition.
19755 * crypt/crypt_util.c (__init_des): Likewise.
19756 * crypt/speeds.c (Stop): Likewise.
19757 (main): Likewise.
19758 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19759 * inet/ruserpass.c (token): Likewise.
19760 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19761 * intl/localealias.c (extend_alias_table): Likewise.
19762 * intl/plural-exp.c (init_germanic_plural): Likewise.
19763 * libio/fcloseall.c (__fcloseall): Likewise.
19764 * libio/genops.c (_IO_flush_all): Likewise.
19765 (_IO_flush_all_linebuffered): Likewise.
19766 (_IO_cleanup): Likewise.
19767 (_IO_iter_begin): Likewise.
19768 (_IO_iter_end): Likewise.
19769 (_IO_list_lock): Likewise.
19770 (_IO_list_unlock): Likewise.
19771 (_IO_list_resetlock): Likewise.
19772 * libio/getchar.c (getchar): Likewise.
19773 * libio/getchar_u.c (getchar_unlocked): Likewise.
19774 * libio/getwchar.c (getwchar): Likewise.
19775 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19776 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19777 * login/getpt.c (__getpt): Likewise.
19778 * login/tst-utmp.c (main): Likewise.
19779 * malloc/hooks.c (__malloc_check_init): Likewise.
19780 * malloc/malloc.c (__malloc_stats): Likewise.
19781 * malloc/mtrace.c (tr_break): Likewise.
19782 (mtrace): Likewise.
19783 (muntrace): Likewise.
19784 * misc/fstab.c (endfsent): Likewise.
19785 * misc/getclktck.c (__getclktck): Likewise.
19786 * misc/getdtsz.c (__getdtablesize): Likewise.
19787 * misc/gethostid.c (gethostid): Likewise.
19788 * misc/getpagesize.c (__getpagesize): Likewise.
19789 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19790 (__get_nprocs): Likewise.
19791 (__get_phys_pages): Likewise.
19792 (__get_avphys_pages): Likewise.
19793 * misc/getttyent.c (getttyent): Likewise.
19794 (setttyent): Likewise.
19795 (endttyent): Likewise.
19796 * misc/getusershell.c (getusershell): Likewise.
19797 (endusershell): Likewise.
19798 (setusershell): Likewise.
19799 (initshells): Likewise.
19800 * misc/hsearch.c (__hdestroy): Likewise.
19801 * misc/sync.c (sync): Likewise.
19802 * misc/syslog.c (closelog_internal): Likewise.
19803 (closelog): Likewise.
19804 * misc/ttyslot.c (ttyslot): Likewise.
19805 * misc/vhangup.c (vhangup): Likewise.
19806 * posix/fork.c (__fork): Likewise.
19807 * posix/getegid.c (__getegid): Likewise.
19808 * posix/geteuid.c (__geteuid): Likewise.
19809 * posix/getgid.c (__getgid): Likewise.
19810 * posix/getpid.c (__getpid): Likewise.
19811 * posix/getppid.c (__getppid): Likewise.
19812 * posix/getuid.c (__getuid): Likewise.
19813 * posix/pause.c (pause): Likewise.
19814 * posix/setpgrp.c (setpgrp): Likewise.
19815 * posix/setsid.c (__setsid): Likewise.
19816 * posix/test-vfork.c (noop): Likewise.
19817 * resolv/gethnamaddr.c (_endhtent): Likewise.
19818 (_gethtent): Likewise.
19819 (ht_endhostent): Likewise.
19820 (gethostent): Likewise.
19821 (dns_service): Likewise.
19822 * stdlib/drand48.c (drand48): Likewise.
19823 * stdlib/lrand48.c (lrand48): Likewise.
19824 * stdlib/mrand48.c (mrand48): Likewise.
19825 * stdlib/rand.c (rand): Likewise.
19826 * stdlib/random.c (__random): Likewise.
19827 * stdlib/setenv.c (clearenv): Likewise.
19828 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19829 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19830 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19831 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19832 (__get_nprocs): Likewise.
19833 (__get_phys_pages): Likewise.
19834 (__get_avphys_pages): Likewise.
19835 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19836 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19837 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19838 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19839 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19840 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19841 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19842 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19843 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19844 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19845 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19846 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19847 * sysdeps/posix/clock.c (clock): Likewise.
19848 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19849 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19850 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19851 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19852 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19854 (__get_nprocs_conf): Likewise.
19855 (__get_phys_pages): Likewise.
19856 (__get_avphys_pages): Likewise.
19857 * time/clock.c (clock): Likewise.
19858 * time/tzset.c (__tzname_max): Likewise.
19859
2e09a79a
JM
198602013-06-07 Joseph Myers <joseph@codesourcery.com>
19861
19862 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19863 (__bswap_32): Do not use "register".
19864 * crypt/crypt.c (_ufc_doit_r): Likewise.
19865 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19867 * gmon/gmon.c (__monstartup): Likewise.
19868 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19869 * hurd/hurdmalloc.c (more_memory): Likewise.
19870 (malloc): Likewise.
19871 (free): Likewise.
19872 (realloc): Likewise.
19873 (malloc_fork_prepare): Likewise.
19874 (malloc_fork_parent): Likewise.
19875 (malloc_fork_child): Likewise.
19876 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19877 (_svcauth_des): Likewise.
19878 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19879 * inet/inet_net.c (inet_network): Likewise.
19880 * inet/inet_netof.c (inet_netof): Likewise.
19881 * inet/rcmd.c (__validuser2_sa): Likewise.
19882 * io/fts.c (fts_open): Likewise.
19883 (fts_load): Likewise.
19884 (fts_close): Likewise.
19885 (fts_read): Likewise.
19886 (fts_children): Likewise.
19887 (fts_build): Likewise.
19888 (fts_stat): Likewise.
19889 (fts_sort): Likewise.
19890 (fts_alloc): Likewise.
19891 (fts_lfree): Likewise.
19892 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19893 (_IO_file_xsgetn): Likewise.
19894 (_IO_file_xsgetn_mmap): Likewise.
19895 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19896 (_IO_cookie_write): Likewise.
19897 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19898 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19899 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19900 * malloc/obstack.c (_obstack_begin): Likewise.
19901 (_obstack_begin_1): Likewise.
19902 (_obstack_newchunk): Likewise.
19903 (_obstack_allocated_p): Likewise.
19904 (obstack_free): Likewise.
19905 (_obstack_memory_used): Likewise.
19906 * misc/getttyent.c (getttynam): Likewise.
19907 (getttyent): Likewise.
19908 (skip): Likewise.
19909 (value): Likewise.
19910 * misc/getusershell.c (initshells): Likewise.
19911 * misc/syslog.c (__vsyslog_chk): Likewise.
19912 * misc/ttyslot.c (ttyslot): Likewise.
19913 * nis/nis_hash.c (__nis_hash): Likewise.
19914 * posix/fnmatch_loop.c (FCT): Likewise.
19915 * posix/getconf.c (print_all): Likewise.
19916 (main): Likewise.
19917 * posix/getopt.c (exchange): Likewise.
19918 * posix/glob.c (globfree): Likewise.
19919 (prefix_array): Likewise.
19920 (__glob_pattern_type): Likewise.
19921 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19922 (NS_GET32): Likewise.
19923 (NS_PUT16): Likewise.
19924 (NS_PUT32): Likewise.
19925 * resolv/gethnamaddr.c (getanswer): Likewise.
19926 (gethostbyname2): Likewise.
19927 (gethostbyaddr): Likewise.
19928 (_gethtent): Likewise.
19929 (_gethtbyname2): Likewise.
19930 (_gethtbyaddr): Likewise.
19931 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19932 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19933 * resolv/res_init.c (__res_vinit): Likewise.
19934 (net_mask): Likewise.
19935 * resolv/res_mkquery.c (outchar): Likewise.
19936 (PRINT): Likewise.
19937 * stdio-common/printf_fp.c (outchar): Likewise.
19938 (PRINT): Likewise.
19939 * stdio-common/printf_fphex.c (outchar): Likewise.
19940 (PRINT): Likewise.
19941 * stdio-common/printf_size.c (outchar): Likewise.
19942 (PRINT): Likewise.
19943 * stdio-common/test_rdwr.c (main): Likewise.
19944 * stdio-common/tfformat.c (matches): Likewise.
19945 * stdio-common/vfprintf.c (outchar): Likewise.
19946 (printf_unknown): Likewise.
19947 (buffered_vfprintf): Likewise.
19948 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19949 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19950 (ReadFile): Likewise.
19951 * stdlib/qsort.c (SWAP): Likewise.
19952 (_quicksort): Likewise.
19953 * stdlib/setenv.c (__add_to_environ): Likewise.
19954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19955 * stdlib/strtol_l.c (__strtol_l): Likewise.
19956 * stdlib/tst-strtod.c (main): Likewise.
19957 * stdlib/tst-strtol.c (main): Likewise.
19958 * stdlib/tst-strtoll.c (main): Likewise.
19959 * string/bits/string2.h (__strcmp_cc): Likewise.
19960 (__strcmp_cg): Likewise.
19961 (__strcspn_c1): Likewise.
19962 (__strcspn_c2): Likewise.
19963 (__strcspn_c3): Likewise.
19964 (__strspn_c1): Likewise.
19965 (__strspn_c2): Likewise.
19966 (__strspn_c3): Likewise.
19967 (__strsep_1c): Likewise.
19968 (__strsep_2c): Likewise.
19969 (__strsep_3c): Likewise.
19970 * string/memccpy.c (__memccpy): Likewise.
19971 * string/stpcpy.c (__stpcpy): Likewise.
19972 * string/strcmp.c (strcmp): Likewise.
19973 * string/strrchr.c (strrchr): Likewise.
19974 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19975 Likewise.
19976 * sysdeps/mach/hurd/getcwd.c
19977 (_hurd_canonicalize_directory_name_internal): Likewise.
19978 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19979 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19980 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19981 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19982 Likewise, in both definitions.
19983 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19984 definitions.
19985 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19986 64] (__bswap_64): Likewise.
19987 * time/test_time.c (main): Likewise.
19988 * time/tzfile.c (__tzfile_read): Likewise.
19989 (__tzfile_compute): Likewise.
19990 * time/tzset.c (__tzset_parse_tz): Likewise.
19991 (tzset_internal): Likewise.
19992 (compute_change): Likewise.
19993 * wcsmbs/wcscat.c (__wcscat): Likewise.
19994 * wcsmbs/wcschr.c (wcschr): Likewise.
19995 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19996 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19997 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19998 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19999 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20000 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20001 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20002 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20003 * wcsmbs/wmemset.c (wmemset): Likewise.
20004
9e54314b
JM
200052013-06-06 Joseph Myers <joseph@codesourcery.com>
20006
20007 * scripts/config.guess: Update to version 2013-05-16.
20008 * scripts/config.sub: Update to version 2013-04-24.
20009 * scripts/install-sh: Update to version 2011-11-20.07.
20010 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20011 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20012
350635a5
OB
200132013-06-06 Ondřej Bílka <neleai@seznam.cz>
20014
20015 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20016 * elf/sln.c: Likewise.
20017 * hurd/hurd/ioctl.h: Likewise.
20018 * hurd/hurdmalloc.c: Likewise.
20019 * hurd/xattr.c: Likewise.
20020 * include/shlib-compat.h: Likewise.
20021 * inet/ruserpass.c: Likewise.
20022 * libio/iofgets_u.c: Likewise.
20023 * libio/iofgetws_u.c: Likewise.
20024 * locale/programs/ld-identification.c: Likewise.
20025 * locale/programs/ld-time.c: Likewise.
20026 * mach/msg-destroy.c: Likewise.
20027 * nss/nss_files/files-netgrp.c: Likewise.
20028 * resolv/res_data.c: Likewise.
20029 * soft-fp/op-1.h: Likewise.
20030 * soft-fp/op-2.h: Likewise.
20031 * soft-fp/op-4.h: Likewise.
20032 * soft-fp/op-common.h: Likewise.
20033 * stdio-common/printf_fphex.c: Likewise.
20034 * stdlib/strtod_l.c: Likewise.
20035 * sunrpc/rpc/clnt.h: Likewise.
20036 * sysdeps/generic/framestate.c: Likewise.
20037 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20038 * sysdeps/i386/bsd-setjmp.S: Likewise.
20039 * sysdeps/i386/__longjmp.S: Likewise.
20040 * sysdeps/i386/setjmp.S: Likewise.
20041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20042 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20044 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20048 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20050 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20053 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20057 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20058 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20059 * sysdeps/ieee754/support.c: Likewise.
20060 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20061 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20062 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20063 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20064 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20065 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20066 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20067 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20068 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20069 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20070 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20071 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20072 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20073 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20074 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20075 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20076 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20078
44a988af
OB
200792013-06-05 Ondřej Bílka <neleai@seznam.cz>
20080
25506f09 20081 * posix/transbug.c: Remove executable mode.
44a988af 20082
9c84384c
JM
200832013-06-05 Joseph Myers <joseph@codesourcery.com>
20084
20085 * crypt/speeds.c: Remove trailing whitespace.
20086 * dlfcn/default.c: Likewise.
20087 * elf/ifuncdep2.c: Likewise.
20088 * elf/ifuncmain1.c: Likewise.
20089 * elf/ifuncmain1vis.c: Likewise.
20090 * elf/testobj.h: Likewise.
20091 * elf/tst-stackguard1.c: Likewise.
20092 * gmon/sys/gmon.h: Likewise.
20093 * hurd/hurdmsg.c: Likewise.
20094 * hurd/new-fd.c: Likewise.
20095 * hurd/ports-get.c: Likewise.
20096 * iconvdata/ibm1008_420.c: Likewise.
20097 * inet/tst-getni1.c: Likewise.
20098 * inet/tst-getni2.c: Likewise.
20099 * libio/ioungetc.c: Likewise.
20100 * libio/wfiledoalloc.c: Likewise.
20101 * manual/libm-err-tab.pl: Likewise.
20102 * math/w_dremf.c: Likewise.
20103 * misc/ftruncate.c: Likewise.
20104 * posix/bug-glob2.c: Likewise.
20105 * posix/tst-pcre.c: Likewise.
20106 * posix/wait4.c: Likewise.
20107 * resolv/README: Likewise.
20108 * resolv/res_debug.h: Likewise.
20109 * resolv/tst-inet_ntop.c: Likewise.
20110 * setjmp/bug269-setjmp.c: Likewise.
20111 * soft-fp/extended.h: Likewise.
20112 * soft-fp/op-1.h: Likewise.
20113 * soft-fp/op-2.h: Likewise.
20114 * soft-fp/op-4.h: Likewise.
20115 * soft-fp/op-8.h: Likewise.
20116 * soft-fp/testit.c: Likewise.
20117 * stdio-common/bug16.c: Likewise.
20118 * stdlib/random.c: Likewise.
20119 * sunrpc/rpcsvc/rquota.x: Likewise.
20120 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20121 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20122 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20123 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20124 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20126 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20127 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20128 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20130 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20131 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20132 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20133 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20135 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20137 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20138 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20141 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20142 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20148 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20149 * sysdeps/ieee754/s_lib_version.c: Likewise.
20150 * sysdeps/mach/hurd/check_fds.c: Likewise.
20151 * sysdeps/mach/hurd/getsockname.c: Likewise.
20152 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20153 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20154 * sysdeps/powerpc/bits/link.h: Likewise.
20155 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20156 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20157 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20158 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20159 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20160 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20161 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20162 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20163 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20164 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20165 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20166 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20167 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20168 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20169 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20170 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20173 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20174 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20175 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20176 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20178 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20179 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20180 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20182 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20183 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20185 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20186 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20188 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20189 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20190 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20191 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20192 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20193 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20194 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20195 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20196 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20197 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20198 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20199 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20200 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20201 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20202 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20203 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20204 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20207 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20208 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20209 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20210 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20211 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20212 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20213 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20214 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20215 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20216 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20217 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20218 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20219 * sysdeps/powerpc/sysdep.h: Likewise.
20220 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20221 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20222 * sysdeps/sh/dl-trampoline.S: Likewise.
20223 * sysdeps/sh/memset.S: Likewise.
20224 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20225 * sysdeps/sh/strlen.S: Likewise.
20226 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20227 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20228 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20229 * sysdeps/sparc/sparc32/rem.S: Likewise.
20230 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20231 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20232 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20233 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20234 * sysdeps/sparc/sparc32/urem.S: Likewise.
20235 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20236 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20237 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20238 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20240 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20241 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20242 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20243 * sysdeps/unix/bsd/times.c: Likewise.
20244 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20245 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20249 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20250 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20251 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20252 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20253 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20254 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20255 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20256 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20257 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20258 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20259 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20260 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20261 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20262 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20263 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20264 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20265 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20266 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20269 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20270 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20272 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20273 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20274 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20275 * sysdeps/x86_64/strcspn.S: Likewise.
20276
869378a5
RA
202772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20278
20279 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20280 generated file. Regenerate properly from gen-translit.pl.
20281 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20282 locale/C-translit.h.
20283
840e2943
AS
202842013-06-05 Andreas Schwab <schwab@suse.de>
20285
20286 [BZ #15100]
20287 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20288 week as 6 instead of -1.
20289 * time/tst-strptime.c (day_tests): Add test case.
20290
4c60cb0c
SP
202912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20292
20293 * sysdeps/generic/math_private.h
20294 (libc_feholdexcept_setround_53bit): Replace with
20295 libc_feholdsetround_53bit.
20296 (libc_feupdateenv_53bit): Replace with
20297 libc_feresetround_53bit.
20298 (SET_RESTORE_ROUND_53BIT): Adjust.
20299
d180203e
SP
203002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20301
96df079a
SP
20302 * string/test-strchrnul.c: Add copyright header.
20303
d180203e
SP
20304 * posix/tst-getaddrinfo4.c: Increase test timeout.
20305
8b0ccb2d
CD
203062013-06-03 Carlos O'Donell <carlos@redhat.com>
20307
20308 [BZ #15536]
20309 * math/libm-test.inc (MAX_EXP): Remove
20310 (MIN_EXP): Define.
20311 (ulp): Use MIN_EXP - MANT_DIG.
20312 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20313
3b3c4d40
CD
203142013-05-31 Carlos O'Donell <carlos@redhat.com>
20315
20316 * po/be.po: Revert last change.
20317 * po/zh_CN.po: Likewise.
20318 * po/header.pot: Likewise.
20319
fab7ce3f
JM
203202013-05-31 Joseph Myers <joseph@codesourcery.com>
20321
20322 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20323 link-libc-deps to empty as target-specific variable.
20324 * Makerules (link-libc-args): New variable.
20325 (libc-for-link): Likewise.
20326 (link-libc-deps): Likewise.
20327 (lib%.so): Depend on $(link-libc-deps). Link with
20328 $(link-libc-args).
20329 (build-module): Link with $(link-libc-args).
20330 (build-module-asneeded): Likewise.
20331 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20332 list of objects.
20333 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20334 target-specific variable.
20335 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20336 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20337 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20338 libc.
20339 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20340 libc and ld.so.
20341 ($(objpfx)libpcprofile.so): Likewise.
20342 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20343 libc_nonshared.a.
20344 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20345 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20346 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20347 $(link-libc-deps).
20348 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20349 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20350 * login/Makefile ($(objpfx)libutil.so): Likewise.
20351 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20352 * math/Makefile ($(objpfx)libm.so): Likewise.
20353 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20354 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20355 variable instead of depending directly on libc.
20356 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20357 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20358 $(link-libc-deps).
20359 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20360 libc.
20361 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20362 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20363 ($(objpfx)libanl.so): Likewise.
20364 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20365 ld.so.
20366 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20367 $(link-libc-deps).
20368 * sysdeps/i386/fpu/Makefile: Remove file.
20369 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20370 ($(objpfx)libm.so): Remove dependency on ld.so.
20371
eca5920c
PF
203722013-05-30 Patsy Franklin <pfrankli@redhat.com>
20373
20374 [BZ # 15553]
20375 * nis/yp_xdr.c (XDRMAXNAME): Define.
20376 (XDRMAXRECORD): Define.
20377 (xdr_domainname): Use XDRMAXNAME.
20378 (xdr_mapname): Likewise.
20379 (xdr_peername): Likewise.
20380 (xdr_keydat): Use XDRMAXRECORD.
20381 (xdr_valdat): Likewise.
20382
203832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
20384
20385 [BZ #14256]
20386 * manual/errno.texi (ESTALE): Update to account for more than
20387 just NFS file systems.
20388 * sysdeps/gnu/errlist.c: Regenerated.
20389
b9375348
SP
203902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20391
20392 [BZ #15465]
20393 * elf/Makefile (tests): Add tst-null-argv.
20394 (modules-names): Add tst-null-argv-lib.
20395 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20396 (tst-null-argv-ENV): Set environment for tst-null-argv.
20397 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20398 (RTLD_PROGNAME): New macro.
20399 * elf/tst-null-argv.c: New test case.
20400 * elf/tst-null-argv-lib.c: Library for test case.
20401 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20402 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20403 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20404 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20405 * elf/dl-init.c (call_init): Likewise.
20406 (_dl_init): Likewise.
20407 * elf/dl-load.c (print_search_path): Likewise.
20408 (_dl_map_object): Likewise.
20409 * elf/dl-lookup.c (do_lookup_x): Likewise.
20410 (add_dependency): Likewise.
20411 (_dl_lookup_symbol_x): Likewise.
20412 (_dl_debug_bindings): Likewise.
20413 * elf/dl-open.c (_dl_show_scope): Likewise.
20414 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20415 * elf/dl-version.c (match_symbol): Likewise.
20416 (_dl_check_map_versions): Likewise.
20417 * elf/rtld.c (dl_main): Likewise.
20418 (print_unresolved): Use RTLD_PROGNAME.
20419 (print_missing_version): Likewise.
20420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20421 (elf_machine_rela): Likewise.
20422 * sysdeps/powerpc/powerpc32/dl-machine.c
20423 (__process_machine_rela): Likewise.
20424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20425 Likewise.
20426 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20427 Likewise.
20428 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20429 Likewise.
20430 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20432 Likewise.
20433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20434 Likewise.
20435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20436
8a9f20c8
CD
204372013-05-28 Carlos O'Donell <carlos@redhat.com>
20438
20439 * po/be.po: Add descriptive title.
20440 * po/zh_CN.po: Likewise.
20441 * po/header.pot: Likewise.
20442
0e60d68e
MF
204432013-05-28 Mike Frysinger <vapier@gentoo.org>
20444
20445 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20446 error message.
20447 (enlarge_archive): Likewise.
20448
56b672e9
BN
204492013-05-28 Ben North <ben@redfrontdoor.org>
20450
20451 * manual/arith.texi (frexp): It is the magnitude of the return
20452 value which lies in [0.5, 1), not the return value itself.
20453
5e056687
AZ
204542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20455
20456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20457
2b66ef5d
TS
204582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20459
528c2405
TS
20460 * stdio-common/bug26.c (main): Correct fscanf template.
20461
07b4c13d
TS
20462 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20463 declare _dl_skip_args.
20464
ec9dd97c
TS
20465 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20466 Don't declare.
20467
2b66ef5d
TS
20468 * manual/platform.texi: Add missing @end deftypefun.
20469
4f8dfe27
JM
204702013-05-24 Joseph Myers <joseph@codesourcery.com>
20471
0323d086
JM
20472 [BZ #15529]
20473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20474 bit of mantissa of 2^16382.
20475 * math/libm-test.inc (hypot_test_data): Add more tests.
20476
dd4259b9
JM
20477 * math/libm-test.inc: Add drem and pow10 to list of tested
20478 functions.
20479 (pow10_test): New function.
20480 (drem_test): Likewise.
20481 (drem_test_tonearest): Likewise.
20482 (drem_test_towardzero): Likewise.
20483 (drem_test_downward): Likewise.
20484 (drem_test_upward): Likewise.
20485 (main): Call the new functions.
20486
4f8dfe27
JM
20487 * math/libm-test.inc (finite_test_data): Remove.
20488 (finite_test): Run tests from isfinite_test_data.
20489 (gamma_test_data): Remove.
20490 (gamma_test): Run tests from lgamma_test_data.
20491 * sysdeps/i386/fpu/libm-test-ulps: Update.
20492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20493
d116b7c4
AZ
204942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20495
20496 * manual/platform.texi: Add PowerPC PPR function set documentation.
20497 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20498 implementation.
20499
e96e3767
CD
205002013-05-24 Carlos O'Donell <carlos@redhat.com>
20501
20502 * math/libm-test.inc (MAX_EXP): Define.
20503 (ULPDIFF): Define.
20504 (ulp): New function.
20505 (check_float_internal): Use ULPDIFF.
20506 (cpow_test): Disable failing test.
20507 (check_ulp): Test ulp() implemetnation.
20508 (main): Call check_ulp before starting tests.
20509
b679a606
JM
205102013-05-24 Joseph Myers <joseph@codesourcery.com>
20511
e8bdba36
JM
20512 * math/gen-libm-test.pl (generate_testfile): Do not handle
20513 START_DATA and END_DATA.
20514 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20515 END_DATA.
20516 (acos_tonearest_test_data): Likewise.
20517 (acos_towardzero_test_data): Likewise.
20518 (acos_downward_test_data): Likewise.
20519 (acos_upward_test_data): Likewise.
20520 (acosh_test_data): Likewise.
20521 (asin_test_data): Likewise.
20522 (asin_tonearest_test_data): Likewise.
20523 (asin_towardzero_test_data): Likewise.
20524 (asin_downward_test_data): Likewise.
20525 (asin_upward_test_data): Likewise.
20526 (asinh_test_data): Likewise.
20527 (atan_test_data): Likewise.
20528 (atanh_test_data): Likewise.
20529 (atan2_test_data): Likewise.
20530 (cabs_test_data): Likewise.
20531 (cacos_test_data): Likewise.
20532 (cacosh_test_data): Likewise.
20533 (carg_test_data): Likewise.
20534 (casin_test_data): Likewise.
20535 (casinh_test_data): Likewise.
20536 (catan_test_data): Likewise.
20537 (catanh_test_data): Likewise.
20538 (cbrt_test_data): Likewise.
20539 (ccos_test_data): Likewise.
20540 (ccosh_test_data): Likewise.
20541 (ceil_test_data): Likewise.
20542 (cexp_test_data): Likewise.
20543 (cimag_test_data): Likewise.
20544 (clog_test_data): Likewise.
20545 (clog10_test_data): Likewise.
20546 (conj_test_data): Likewise.
20547 (copysign_test_data): Likewise.
20548 (cos_test_data): Likewise.
20549 (cos_tonearest_test_data): Likewise.
20550 (cos_towardzero_test_data): Likewise.
20551 (cos_downward_test_data): Likewise.
20552 (cos_upward_test_data): Likewise.
20553 (cosh_test_data): Likewise.
20554 (cosh_tonearest_test_data): Likewise.
20555 (cosh_towardzero_test_data): Likewise.
20556 (cosh_downward_test_data): Likewise.
20557 (cosh_upward_test_data): Likewise.
20558 (cpow_test_data): Likewise.
20559 (cproj_test_data): Likewise.
20560 (creal_test_data): Likewise.
20561 (csin_test_data): Likewise.
20562 (csinh_test_data): Likewise.
20563 (csqrt_test_data): Likewise.
20564 (ctan_test_data): Likewise.
20565 (ctan_tonearest_test_data): Likewise.
20566 (ctan_towardzero_test_data): Likewise.
20567 (ctan_downward_test_data): Likewise.
20568 (ctan_upward_test_data): Likewise.
20569 (ctanh_test_data): Likewise.
20570 (ctanh_tonearest_test_data): Likewise.
20571 (ctanh_towardzero_test_data): Likewise.
20572 (ctanh_downward_test_data): Likewise.
20573 (ctanh_upward_test_data): Likewise.
20574 (erf_test_data): Likewise.
20575 (erfc_test_data): Likewise.
20576 (exp_test_data): Likewise.
20577 (exp_tonearest_test_data): Likewise.
20578 (exp_towardzero_test_data): Likewise.
20579 (exp_downward_test_data): Likewise.
20580 (exp_upward_test_data): Likewise.
20581 (exp10_test_data): Likewise.
20582 (exp2_test_data): Likewise.
20583 (expm1_test_data): Likewise.
20584 (fabs_test_data): Likewise.
20585 (fdim_test_data): Likewise.
20586 (finite_test_data): Likewise.
20587 (floor_test_data): Likewise.
20588 (fma_test_data): Likewise.
20589 (fma_towardzero_test_data): Likewise.
20590 (fma_downward_test_data): Likewise.
20591 (fma_upward_test_data): Likewise.
20592 (fmax_test_data): Likewise.
20593 (fmin_test_data): Likewise.
20594 (fmod_test_data): Likewise.
20595 (fpclassify_test_data): Likewise.
20596 (frexp_test_data): Likewise.
20597 (gamma_test_data): Likewise.
20598 (hypot_test_data): Likewise.
20599 (ilogb_test_data): Likewise.
20600 (isfinite_test_data): Likewise.
20601 (isgreater_test_data): Likewise.
20602 (isgreaterequal_test_data): Likewise.
20603 (isinf_test_data): Likewise.
20604 (isless_test_data): Likewise.
20605 (islessequal_test_data): Likewise.
20606 (islessgreater_test_data): Likewise.
20607 (isnan_test_data): Likewise.
20608 (isnormal_test_data): Likewise.
20609 (issignaling_test_data): Likewise.
20610 (isunordered_test_data): Likewise.
20611 (j0_test_data): Likewise.
20612 (j1_test_data): Likewise.
20613 (jn_test_data): Likewise.
20614 (ldexp_test_data): Likewise.
20615 (lgamma_test_data): Likewise.
20616 (lrint_test_data): Likewise.
20617 (lrint_tonearest_test_data): Likewise.
20618 (lrint_towardzero_test_data): Likewise.
20619 (lrint_downward_test_data): Likewise.
20620 (lrint_upward_test_data): Likewise.
20621 (llrint_test_data): Likewise.
20622 (llrint_tonearest_test_data): Likewise.
20623 (llrint_towardzero_test_data): Likewise.
20624 (llrint_downward_test_data): Likewise.
20625 (llrint_upward_test_data): Likewise.
20626 (log_test_data): Likewise.
20627 (log10_test_data): Likewise.
20628 (log1p_test_data): Likewise.
20629 (log2_test_data): Likewise.
20630 (logb_test_data): Likewise.
20631 (logb_downward_test_data): Likewise.
20632 (lround_test_data): Likewise.
20633 (llround_test_data): Likewise.
20634 (modf_test_data): Likewise.
20635 (nearbyint_test_data): Likewise.
20636 (nextafter_test_data): Likewise.
20637 (nexttoward_test_data): Likewise.
20638 (pow_test_data): Likewise.
20639 (pow_tonearest_test_data): Likewise.
20640 (pow_towardzero_test_data): Likewise.
20641 (pow_downward_test_data): Likewise.
20642 (pow_upward_test_data): Likewise.
20643 (remainder_test_data): Likewise.
20644 (remainder_tonearest_test_data): Likewise.
20645 (remainder_towardzero_test_data): Likewise.
20646 (remainder_downward_test_data): Likewise.
20647 (remainder_upward_test_data): Likewise.
20648 (remquo_test_data): Likewise.
20649 (rint_test_data): Likewise.
20650 (rint_tonearest_test_data): Likewise.
20651 (rint_towardzero_test_data): Likewise.
20652 (rint_downward_test_data): Likewise.
20653 (rint_upward_test_data): Likewise.
20654 (round_test_data): Likewise.
20655 (scalb_test_data): Likewise.
20656 (scalbn_test_data): Likewise.
20657 (scalbln_test_data): Likewise.
20658 (signbit_test_data): Likewise.
20659 (sin_test_data): Likewise.
20660 (sin_tonearest_test_data): Likewise.
20661 (sin_towardzero_test_data): Likewise.
20662 (sin_downward_test_data): Likewise.
20663 (sin_upward_test_data): Likewise.
20664 (sincos_test_data): Likewise.
20665 (sinh_test_data): Likewise.
20666 (sinh_tonearest_test_data): Likewise.
20667 (sinh_towardzero_test_data): Likewise.
20668 (sinh_downward_test_data): Likewise.
20669 (sinh_upward_test_data): Likewise.
20670 (sqrt_test_data): Likewise.
20671 (tan_test_data): Likewise.
20672 (tan_tonearest_test_data): Likewise.
20673 (tan_towardzero_test_data): Likewise.
20674 (tan_downward_test_data): Likewise.
20675 (tan_upward_test_data): Likewise.
20676 (tanh_test_data): Likewise.
20677 (tgamma_test_data): Likewise.
20678 (trunc_test_data): Likewise.
20679 (y0_test_data): Likewise.
20680 (y1_test_data): Likewise.
20681 (yn_test_data): Likewise.
20682 (significand_test_data): Likewise.
20683
b679a606
JM
20684 * math/gen-libm-test.pl (@functions): Remove variable.
20685 (generate_testfile): Don't handle START and END lines.
20686 * math/libm-test.inc (START): New macro.
20687 (END): Likewise.
20688 (END_COMPLEX): Likewise.
20689 (acos_test): Use END macro without arguments.
20690 (acos_test_tonearest): Likewise.
20691 (acos_test_towardzero): Likewise.
20692 (acos_test_downward): Likewise.
20693 (acos_test_upward): Likewise.
20694 (acosh_test): Likewise.
20695 (asin_test): Likewise.
20696 (asin_test_tonearest): Likewise.
20697 (asin_test_towardzero): Likewise.
20698 (asin_test_downward): Likewise.
20699 (asin_test_upward): Likewise.
20700 (asinh_test): Likewise.
20701 (atan_test): Likewise.
20702 (atanh_test): Likewise.
20703 (atan2_test): Likewise.
20704 (cabs_test): Likewise.
20705 (cacos_test): Use END_COMPLEX macro without arguments.
20706 (cacosh_test): Likewise.
20707 (carg_test): Use END macro without arguments.
20708 (casin_test): Use END_COMPLEX macro without arguments.
20709 (casinh_test): Likewise.
20710 (catan_test): Likewise.
20711 (catanh_test): Likewise.
20712 (cbrt_test): Use END macro without arguments.
20713 (ccos_test): Use END_COMPLEX macro without arguments.
20714 (ccosh_test): Likewise.
20715 (ceil_test): Use END macro without arguments.
20716 (cexp_test): Use END_COMPLEX macro without arguments.
20717 (cimag_test): Use END macro without arguments.
20718 (clog_test): Use END_COMPLEX macro without arguments.
20719 (clog10_test): Likewise.
20720 (conj_test): Likewise.
20721 (copysign_test): Use END macro without arguments.
20722 (cos_test): Likewise.
20723 (cos_test_tonearest): Likewise.
20724 (cos_test_towardzero): Likewise.
20725 (cos_test_downward): Likewise.
20726 (cos_test_upward): Likewise.
20727 (cosh_test): Likewise.
20728 (cosh_test_tonearest): Likewise.
20729 (cosh_test_towardzero): Likewise.
20730 (cosh_test_downward): Likewise.
20731 (cosh_test_upward): Likewise.
20732 (cpow_test): Use END_COMPLEX macro without arguments.
20733 (cproj_test): Likewise.
20734 (creal_test): Use END macro without arguments.
20735 (csin_test): Use END_COMPLEX macro without arguments.
20736 (csinh_test): Likewise.
20737 (csqrt_test): Likewise.
20738 (ctan_test): Likewise.
20739 (ctan_test_tonearest): Likewise.
20740 (ctan_test_towardzero): Likewise.
20741 (ctan_test_downward): Likewise.
20742 (ctan_test_upward): Likewise.
20743 (ctanh_test): Likewise.
20744 (ctanh_test_tonearest): Likewise.
20745 (ctanh_test_towardzero): Likewise.
20746 (ctanh_test_downward): Likewise.
20747 (ctanh_test_upward): Likewise.
20748 (erf_test): Use END macro without arguments.
20749 (erfc_test): Likewise.
20750 (exp_test): Likewise.
20751 (exp_test_tonearest): Likewise.
20752 (exp_test_towardzero): Likewise.
20753 (exp_test_downward): Likewise.
20754 (exp_test_upward): Likewise.
20755 (exp10_test): Likewise.
20756 (exp2_test): Likewise.
20757 (expm1_test): Likewise.
20758 (fabs_test): Likewise.
20759 (fdim_test): Likewise.
20760 (finite_test): Likewise.
20761 (floor_test): Likewise.
20762 (fma_test): Likewise.
20763 (fma_test_towardzero): Likewise.
20764 (fma_test_downward): Likewise.
20765 (fma_test_upward): Likewise.
20766 (fmax_test): Likewise.
20767 (fmin_test): Likewise.
20768 (fmod_test): Likewise.
20769 (fpclassify_test): Likewise.
20770 (frexp_test): Likewise.
20771 (gamma_test): Likewise.
20772 (hypot_test): Likewise.
20773 (ilogb_test): Likewise.
20774 (isfinite_test): Likewise.
20775 (isgreater_test): Likewise.
20776 (isgreaterequal_test): Likewise.
20777 (isinf_test): Likewise.
20778 (isless_test): Likewise.
20779 (islessequal_test): Likewise.
20780 (islessgreater_test): Likewise.
20781 (isnan_test): Likewise.
20782 (isnormal_test): Likewise.
20783 (issignaling_test): Likewise.
20784 (isunordered_test): Likewise.
20785 (j0_test): Likewise.
20786 (j1_test): Likewise.
20787 (jn_test): Likewise.
20788 (ldexp_test): Likewise.
20789 (lgamma_test): Likewise.
20790 (lrint_test): Likewise.
20791 (lrint_test_tonearest): Likewise.
20792 (lrint_test_towardzero): Likewise.
20793 (lrint_test_downward): Likewise.
20794 (lrint_test_upward): Likewise.
20795 (llrint_test): Likewise.
20796 (llrint_test_tonearest): Likewise.
20797 (llrint_test_towardzero): Likewise.
20798 (llrint_test_downward): Likewise.
20799 (llrint_test_upward): Likewise.
20800 (log_test): Likewise.
20801 (log10_test): Likewise.
20802 (log1p_test): Likewise.
20803 (log2_test): Likewise.
20804 (logb_test): Likewise.
20805 (logb_test_downward): Likewise.
20806 (lround_test): Likewise.
20807 (llround_test): Likewise.
20808 (modf_test): Likewise.
20809 (nearbyint_test): Likewise.
20810 (nextafter_test): Likewise.
20811 (nexttoward_test): Likewise.
20812 (pow_test): Likewise.
20813 (pow_test_tonearest): Likewise.
20814 (pow_test_towardzero): Likewise.
20815 (pow_test_downward): Likewise.
20816 (pow_test_upward): Likewise.
20817 (remainder_test): Likewise.
20818 (remainder_test_tonearest): Likewise.
20819 (remainder_test_towardzero): Likewise.
20820 (remainder_test_downward): Likewise.
20821 (remainder_test_upward): Likewise.
20822 (remquo_test): Likewise.
20823 (rint_test): Likewise.
20824 (rint_test_tonearest): Likewise.
20825 (rint_test_towardzero): Likewise.
20826 (rint_test_downward): Likewise.
20827 (rint_test_upward): Likewise.
20828 (round_test): Likewise.
20829 (scalb_test): Likewise.
20830 (scalbn_test): Likewise.
20831 (scalbln_test): Likewise.
20832 (signbit_test): Likewise.
20833 (sin_test): Likewise.
20834 (sin_test_tonearest): Likewise.
20835 (sin_test_towardzero): Likewise.
20836 (sin_test_downward): Likewise.
20837 (sin_test_upward): Likewise.
20838 (sincos_test): Likewise.
20839 (sinh_test): Likewise.
20840 (sinh_test_tonearest): Likewise.
20841 (sinh_test_towardzero): Likewise.
20842 (sinh_test_downward): Likewise.
20843 (sinh_test_upward): Likewise.
20844 (sqrt_test): Likewise.
20845 (tan_test): Likewise.
20846 (tan_test_tonearest): Likewise.
20847 (tan_test_towardzero): Likewise.
20848 (tan_test_downward): Likewise.
20849 (tan_test_upward): Likewise.
20850 (tanh_test): Likewise.
20851 (tgamma_test): Likewise.
20852 (trunc_test): Likewise.
20853 (y0_test): Likewise.
20854 (y1_test): Likewise.
20855 (yn_test): Likewise.
20856 (significand_test): Likewise.
20857
bae143d2
OB
208582013-05-24 Ondřej Bílka <neleai@seznam.cz>
20859
20860 [BZ #15381]
20861 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20862
9323d39b
EM
208632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20864
d4ea44a0 20865 [BZ #14894]
9323d39b
EM
20866 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20867 __ppc_mdoio and __ppc_mdoom.
20868 * manual/platform.texi: Document new functions __ppc_yield,
20869 __ppc_mdoio and __ppc_mdoom.
20870
13e23af7
CD
208712013-05-22 Carlos O'Donell <carlos@redhat.com>
20872
20873 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20874 (main): Mention "tls" pseudo-hwcap is legacy.
20875 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20876
351fe550
JM
208772013-05-22 Joseph Myers <joseph@codesourcery.com>
20878
20879 * math/gen-libm-test.pl (parse_args): Output only string of
20880 arguments as text for test name, not full call or descriptions of
20881 tests for extra outputs.
20882 (generate_testfile): Do not pass function name to parse_args.
20883 Generate this_func variable from START.
20884 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20885 field to arg_str.
20886 (struct test_ff_f_data): Likewise.
20887 (test_ff_f_data_nexttoward): Likewise.
20888 (struct test_fi_f_data): Likewise.
20889 (struct test_fl_f_data): Likewise.
20890 (struct test_if_f_data): Likewise.
20891 (struct test_fff_f_data): Likewise.
20892 (struct test_c_f_data): Likewise.
20893 (struct test_f_f1_data): Likewise. Remove field extra_name.
20894 (struct test_fF_f1_data): Likewise.
20895 (struct test_ffI_f1_data): Likewise.
20896 (struct test_c_c_data): Rename test_name field to arg_str.
20897 (struct test_cc_c_data): Likewise.
20898 (struct test_f_i_data): Likewise.
20899 (struct test_ff_i_data): Likewise.
20900 (struct test_f_l_data): Likewise.
20901 (struct test_f_L_data): Likewise.
20902 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20903 and extra2_name.
20904 (COMMON_TEST_SETUP): New macro.
20905 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20906 (COMMON_TEST_CLEANUP): Likewise.
20907 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20908 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20909 macros.
20910 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20911 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20912 macros.
20913 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20914 (RUN_TEST_fff_f): Take argument string. Call new setup and
20915 cleanup macros.
20916 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20917 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20918 macros.
20919 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20920 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20921 macros.
20922 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20923 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20924 cleanup macros.
20925 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20926 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20927 cleanup macros.
20928 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20929 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20930 cleanup macros.
20931 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20932 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20933 macros.
20934 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20935 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20936 macros.
20937 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20938 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20939 macros.
20940 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20941 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20942 cleanup macros.
20943 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20944 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20945 cleanup macros.
20946 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20947 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20948 macros.
20949 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20950 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20951 cleanup macros.
20952 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20953 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20954 macros.
20955 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20956 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20957 macros.
20958 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20959 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20960 cleanup macros.
20961 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20962
85118d4d
EBM
209632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20964
20965 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20966 to _sifields.sigfault.
20967 (si_addr_lsb): Define new macro.
20968 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20970 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20971
7a44c18f
CD
209722013-05-03 Carlos O'Donell <carlos at redhat.com>
20973
20974 [BZ #15441]
20975 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20976 returns -1.
20977 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20978 null return -1.
20979 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20980 loading the domain.
20981
b50a7181
JM
209822013-05-22 Joseph Myers <joseph@codesourcery.com>
20983
20984 * math/gen-libm-test.pl (parse_args): Do not include expected
20985 result in test name.
20986 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20988 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20989 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20990 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20992
051063c8
SP
209932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20994
3ce9e010
SP
20995 * benchtests/Makefile: Sort function entries.
20996
051063c8
SP
20997 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20998 tanh, asinh, acosh, atanh.
20999 * benchtests/acos-inputs: New file.
21000 * benchtests/acosh-inputs: New file.
21001 * benchtests/asin-inputs: New file.
21002 * benchtests/asinh-inputs: New file.
21003 * benchtests/atanh-inputs: New file.
21004 * benchtests/cosh-inputs: New file.
21005 * benchtests/log-inputs: New file.
21006 * benchtests/sinh-inputs: New file.
21007 * benchtests/tanh-inputs: New file.
21008
47c22455
DL
210092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21010
21011 [BZ #15339]
21012 * posix/tst-getaddrinfo4.c: New test.
21013 * posix/Makefile (tests): Add it.
21014
3d04f5db
SP
210152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21016
21017 [BZ #15339]
21018 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21019 when no services were used.
21020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21021 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21022
d5dd6189
AS
210232013-05-21 Andreas Schwab <schwab@suse.de>
21024
21025 [BZ #15014]
21026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21027 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21028 successful.
21029 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21030 redundant variable declarations and reallocation of buffer when
21031 parsing as IPv6 address. Always set NSS status when called from
21032 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21033 buffer too small. Correct computation of needed size.
21034 * nss/Makefile (tests): Add test-digits-dots.
21035 * nss/test-digits-dots.c: New test.
21036
fef94eab
SP
210372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21038
21039 * benchtests/Makefile: Remove instructions for adding
21040 benchmark tests.
21041 * benchtests/README: New file to explain how to execute and
21042 enhance the benchmark tests.
21043
e39adf43
AS
210442013-05-21 Andreas Schwab <schwab@suse.de>
21045
21046 [BZ #15493]
21047 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21048 * setjmp/tst-sigsetjmp.c: New test.
21049
b2b671b6
OB
210502013-05-20 Ondřej Bílka <neleai@seznam.cz>
21051
21052 * sysdeps/x86_64/memset.S (memset): New implementation.
21053 (__bzero): Likewise.
21054 (__memset_tail): New function.
21055
2d48b41c
OB
210562013-05-20 Ondřej Bílka <neleai@seznam.cz>
21057
21058 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21059 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21060 __memcpy_sse2_unaligned ifunc selection.
21061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21062 Add memcpy-sse2-unaligned.S.
21063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21064 Add: __memcpy_sse2_unaligned.
21065
f16cc3eb
JM
210662013-05-19 Joseph Myers <joseph@codesourcery.com>
21067
3e694268
JM
21068 [BZ #15490]
21069 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21070 math_force_eval before restoring floating-point envrionment.
21071 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21073 Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21075 <math_private.h>.
21076 (__nearbyintl): Use math_force_eval before restoring
21077 floating-point environment.
21078 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21079
db62a907
JM
21080 * math/gen-libm-test.pl (special_functions): Remove.
21081 (parse_args): Don't handle TEST_extra. Handle functions with no
21082 return value.
21083 * math/libm-test.inc (struct test_sincos_data): Replace with
21084 struct test_fFF_11_data.
21085 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21086 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21087 (sincos_test_data): Change element type to struct
21088 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21089 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21090 RUN_TEST_LOOP_sincos.
21091 * math/README.libm-test: Don't mention special handling of
21092 individual functions.
21093 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21095 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21096 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21097 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21099
f16cc3eb
JM
21100 * math/gen-libm-test.pl (get_variable): Remove function.
21101 (parse_args): Don't show pointer parameters to call in test
21102 names. Use "extra output N" in test names for extra outputs
21103 rather than naming variables.
21104
3779b5b6
JM
211052013-05-18 Joseph Myers <joseph@codesourcery.com>
21106
2ee094ff
JM
21107 [BZ #15488]
21108 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21109 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21110 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21111 double tests.
21112 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21113 disable.
21114 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21115 check_long_double.
21116
3779b5b6
JM
21117 * math/gen-libm-test.pl (@tests): Remove variable.
21118 ($count): Likewise.
21119 (new_test): Remove function.
21120 (show_exceptions): New function.
21121 (special_functions): Use show_exceptions instead of new_test.
21122 (parse_args): Likewise.
21123 (generate_testfile): Pass only function name in generated call to
21124 print_max_error or print_complex_max_error.
21125 (get_ulps): Do not handle complex tests specially.
21126 (output_test): Rename to ...
21127 (get_all_ulps_for_test): ... this. Return a string rather than
21128 printing to a file. Require ulps to be present.
21129 (output_ulps): Generate arrays rather than #defines.
21130 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21131 (struct ulp_data): New type.
21132 (BUILD_COMPLEX_ULP): Remove macro.
21133 (compare_ulp_data): New function.
21134 (find_ulps): Likewise.
21135 (find_test_ulps): Likewise.
21136 (find_function_ulps): Likewise.
21137 (find_complex_function_ulps): Likewise.
21138 (print_max_error): Determine allowed ulps using
21139 find_function_ulps.
21140 (print_complex_max_error): Determine allowed ulps using
21141 find_complex_function_ulps.
21142 (check_float_internal): Determine max ulps using find_test_ulps.
21143 (check_float): Do not take max_ulp parameter. Update call to
21144 check_float_internal.
21145 (check_complex): Likewise.
21146 (check_int): Do not take max_ulp parameter.
21147 (check_long): Likewise.
21148 (check_bool): Likewise.
21149 (check_longlong): Likewise.
21150 (struct test_f_f_data): Remove max_ulp field.
21151 (struct test_ff_f_data): Likewise.
21152 (struct test_ff_f_data_nexttoward): Likewise.
21153 (struct test_fi_f_data): Likewise.
21154 (struct test_fl_f_data): Likewise.
21155 (struct test_if_f_data): Likewise.
21156 (struct test_fff_f_data): Likewise.
21157 (struct test_c_f_data): Likewise.
21158 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21159 (struct test_fF_f1_data): Likewise.
21160 (struct test_ffI_f1_data): Likewise.
21161 (struct test_c_c_data): Remove max_ulp field.
21162 (struct test_cc_c_data): Likewise.
21163 (struct test_f_i_data): Likewise.
21164 (struct test_ff_i_data): Likewise.
21165 (struct test_f_l_data): Likewise.
21166 (struct test_f_L_data): Likewise.
21167 (struct test_sincos_data): Likewise.
21168 (RUN_TEST_f_f): Do not handle ulps.
21169 (RUN_TEST_LOOP_f_f): Likewise.
21170 (RUN_TEST_2_f): Likewise.
21171 (RUN_TEST_LOOP_2_f): Likewise.
21172 (RUN_TEST_fff_f): Likewise.
21173 (RUN_TEST_LOOP_fff_f): Likewise.
21174 (RUN_TEST_c_f): Likewise.
21175 (RUN_TEST_LOOP_c_f): Likewise.
21176 (RUN_TEST_f_f1): Likewise.
21177 (RUN_TEST_LOOP_f_f1): Likewise.
21178 (RUN_TEST_fF_f1): Likewise.
21179 (RUN_TEST_LOOP_fF_f1): Likewise.
21180 (RUN_TEST_fI_f1): Likewise.
21181 (RUN_TEST_LOOP_fI_f1): Likewise.
21182 (RUN_TEST_ffI_f1): Likewise.
21183 (RUN_TEST_LOOP_ffI_f1): Likewise.
21184 (RUN_TEST_c_c): Likewise.
21185 (RUN_TEST_LOOP_c_c): Likewise.
21186 (RUN_TEST_cc_c): Likewise.
21187 (RUN_TEST_LOOP_cc_c): Likewise.
21188 (RUN_TEST_f_i): Likewise.
21189 (RUN_TEST_LOOP_f_i): Likewise.
21190 (RUN_TEST_f_i_tg): Likewise.
21191 (RUN_TEST_LOOP_f_i_tg): Likewise.
21192 (RUN_TEST_ff_i_tg): Likewise.
21193 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21194 (RUN_TEST_f_b): Likewise.
21195 (RUN_TEST_LOOP_f_b): Likewise.
21196 (RUN_TEST_f_b_tg): Likewise.
21197 (RUN_TEST_LOOP_f_b_tg): Likewise.
21198 (RUN_TEST_f_l): Likewise.
21199 (RUN_TEST_LOOP_f_l): Likewise.
21200 (RUN_TEST_f_L): Likewise.
21201 (RUN_TEST_LOOP_f_L): Likewise.
21202 (RUN_TEST_sincos): Likewise.
21203 (RUN_TEST_LOOP_sincos): Likewise.
21204
8269107f
JM
212052013-05-17 Joseph Myers <joseph@codesourcery.com>
21206
bb38759d
JM
21207 [BZ #15480]
21208 [BZ #15485]
21209 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21210 main case of finite arguments, set rounding mode to FE_TONEAREST
21211 and discard exceptions.
21212 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21213 exceptions.
21214 (remainder_tonearest_test_data): New variable.
21215 (remainder_test_tonearest): New function.
21216 (remainder_towardzero_test_data): New variable.
21217 (remainder_test_towardzero): New function.
21218 (remainder_downward_test_data): New variable.
21219 (remainder_test_downward): New function.
21220 (remainder_upward_test_data): New variable.
21221 (remainder_test_upward): New function.
21222 (main): Call the new test functions.
21223
a00bdcf0
JM
21224 * math/libm-test.inc (struct test_f_f1_data): Remove field
21225 extra_init.
21226 (struct test_fF_f1_data): Likewise.
21227 (struct test_ffI_f1_data): Likewise.
21228 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21229 based on value of EXTRA_EXPECTED.
21230 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21231 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21232 EXTRA_VAR based on value of EXTRA_EXPECTED.
21233 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21234 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21235 EXTRA_VAR based on value of EXTRA_EXPECTED.
21236 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21237 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21238 EXTRA_VAR based on value of EXTRA_EXPECTED.
21239 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21240 * math/gen-libm-test.pl (parse_args): Don't output initializers
21241 for extra output values.
21242
de407f79
JM
21243 * math/libm-test.inc (check_int): Expect result to be exactly
21244 equal to expected value and do not handle ulps.
21245 (check_long): Likewise.
21246 (check_longlong): Likewise.
21247
8269107f
JM
21248 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21249 exceptions.
21250 (cimag_test_data): Likewise.
21251 (conj_test_data): Likewise.
21252 (copysign_test_data): Likewise.
21253 (cproj_test_data): Likewise.
21254 (creal_test_data): Likewise.
21255 (fabs_test_data): Likewise.
21256 (fdim_test_data): Likewise.
21257 (finite_test_data): Likewise.
21258 (floor_test_data): Likewise.
21259 (fmax_test_data): Likewise.
21260 (fmin_test_data): Likewise.
21261 (fmod_test_data): Likewise.
21262 (fpclassify_test_data): Likewise.
21263 (frexp_test_data): Likewise.
21264 (ilogb_test_data): Likewise.
21265 (isfinite_test_data): Likewise.
21266 (isgreater_test_data): Likewise.
21267 (isgreaterequal_test_data): Likewise.
21268 (isinf_test_data): Likewise.
21269 (isless_test_data): Likewise.
21270 (islessequal_test_data): Likewise.
21271 (islessgreater_test_data): Likewise.
21272 (isnan_test_data): Likewise.
21273 (isnormal_test_data): Likewise.
21274 (issignaling_test_data): Likewise.
21275 (isunordered_test_data): Likewise.
21276 (ldexp_test_data): Likewise.
21277 (lrint_test_data): Likewise.
21278 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21279 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21280 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21281 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21282 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21283 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21284 test input.
21285 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21286 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21287 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21288 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21289 that test input.
21290 (lrint_downward_test_data): Test for "inexact" exceptions.
21291 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21292 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21293 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21294 test input.
21295 (lrint_upward_test_data): Test for "inexact" exceptions.
21296 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21297 test input.
21298 (llrint_test_data): Test for "inexact" exceptions.
21299 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21300 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21301 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21302 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21303 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21304 (llrint_downward_test_data): Test for "inexact" exceptions.
21305 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21306 (llrint_upward_test_data): Test for "inexact" exceptions.
21307 (logb_test_data): Likewise.
21308 (logb_downward_test_data): Likewise.
21309 (nextafter_test_data): Likewise.
21310 (nexttoward_test_data): Likewise.
21311 (remainder_test_data): Likewise.
21312 (remquo_test_data): Likewise.
21313 (scalbn_test_data): Likewise.
21314 (scalbln_test_data): Likewise.
21315 (signbit_test_data): Likewise.
21316 (sqrt_test_data): Likewise.
21317 (significand_test_data): Likewise.
21318
48a18de1
SP
213192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21320
21321 [BZ #15424]
21322 * benchtests/bench-modf.c (struct args): Mark arg0 as
21323 volatile.
21324 * scripts/bench.pl: Mark members of struct args as volatile.
21325
13d3b41a
AZ
213262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21327
68191c1d 21328 [BZ # 15497]
13d3b41a
AZ
21329 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21330 negative infinity on POWER6 or lower.
21331 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21332
2848b105
MR
213332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21334
21335 [BZ #15442]
21336 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21337 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21338 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21339 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21340 (_FP_SETQNAN): New macro.
21341 (_FP_SETQNAN_SEMIRAW): Likewise.
21342 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21343 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21344 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21345 (FP_EXTEND): Use _FP_FRAC_SNANP.
21346 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21347 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21348 into account.
21349 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21350 New macro.
21351 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21352 Likewise.
21353
323e5cb7
JM
213542013-05-16 Joseph Myers <joseph@codesourcery.com>
21355
c58b274f
JM
21356 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21357 with DIVIDE_BY_ZERO_EXCEPTION.
21358 (gamma_test_data): Likewise.
21359 (lgamma_test_data): Likewise.
21360 (log_test_data): Likewise.
21361 (log10_test_data): Likewise.
21362 (log2_test_data): Likewise.
21363 (tgamma_test_data): Likewise.
21364
0ab34904
JM
21365 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21366 (acos_test_tonearest): Likewise.
21367 (acos_test_towardzero): Likewise.
21368 (acos_test_downward): Likewise.
21369 (acos_test_upward): Likewise.
21370 (acosh_test): Likewise.
21371 (asin_test): Likewise.
21372 (asin_test_tonearest): Likewise.
21373 (asin_test_towardzero): Likewise.
21374 (asin_test_downward): Likewise.
21375 (asin_test_upward): Likewise.
21376 (asinh_test): Likewise.
21377 (atan_test): Likewise.
21378 (atanh_test): Likewise.
21379 (atan2_test): Likewise.
21380 (cabs_test): Likewise.
21381 (cacos_test): Likewise.
21382 (cacosh_test): Likewise.
21383 (casin_test): Likewise.
21384 (casinh_test): Likewise.
21385 (catan_test): Likewise.
21386 (catanh_test): Likewise.
21387 (cbrt_test): Likewise.
21388 (ccos_test): Likewise.
21389 (ccosh_test): Likewise.
21390 (cexp_test): Likewise.
21391 (clog_test): Likewise.
21392 (clog10_test): Likewise.
21393 (cos_test): Likewise.
21394 (cos_test_tonearest): Likewise.
21395 (cos_test_towardzero): Likewise.
21396 (cos_test_downward): Likewise.
21397 (cos_test_upward): Likewise.
21398 (cosh_test): Likewise.
21399 (cosh_test_tonearest): Likewise.
21400 (cosh_test_towardzero): Likewise.
21401 (cosh_test_downward): Likewise.
21402 (cosh_test_upward): Likewise.
21403 (cpow_test): Likewise.
21404 (csin_test): Likewise.
21405 (csinh_test): Likewise.
21406 (csqrt_test): Likewise.
21407 (ctan_test): Likewise.
21408 (ctan_test_tonearest): Likewise.
21409 (ctan_test_towardzero): Likewise.
21410 (ctan_test_downward): Likewise.
21411 (ctan_test_upward): Likewise.
21412 (ctanh_test): Likewise.
21413 (ctanh_test_tonearest): Likewise.
21414 (ctanh_test_towardzero): Likewise.
21415 (ctanh_test_downward): Likewise.
21416 (ctanh_test_upward): Likewise.
21417 (erf_test): Likewise.
21418 (erfc_test): Likewise.
21419 (exp_test): Likewise.
21420 (exp_test_tonearest): Likewise.
21421 (exp_test_towardzero): Likewise.
21422 (exp_test_downward): Likewise.
21423 (exp_test_upward): Likewise.
21424 (exp10_test): Likewise.
21425 (exp2_test): Likewise.
21426 (expm1_test): Likewise.
21427 (fmod_test): Likewise.
21428 (gamma_test): Likewise.
21429 (hypot_test): Likewise.
21430 (j0_test): Likewise.
21431 (j1_test): Likewise.
21432 (jn_test): Likewise.
21433 (lgamma_test): Likewise.
21434 (log_test): Likewise.
21435 (log10_test): Likewise.
21436 (log1p_test): Likewise.
21437 (log2_test): Likewise.
21438 (logb_test_downward): Likewise.
21439 (pow_test): Likewise.
21440 (pow_test_tonearest): Likewise.
21441 (pow_test_towardzero): Likewise.
21442 (pow_test_downward): Likewise.
21443 (pow_test_upward): Likewise.
21444 (remainder_test): Likewise.
21445 (remquo_test): Likewise.
21446 (sin_test): Likewise.
21447 (sin_test_tonearest): Likewise.
21448 (sin_test_towardzero): Likewise.
21449 (sin_test_downward): Likewise.
21450 (sin_test_upward): Likewise.
21451 (sincos_test): Likewise.
21452 (sinh_test): Likewise.
21453 (sinh_test_tonearest): Likewise.
21454 (sinh_test_towardzero): Likewise.
21455 (sinh_test_downward): Likewise.
21456 (sinh_test_upward): Likewise.
21457 (sqrt_test): Likewise.
21458 (tan_test): Likewise.
21459 (tan_test_tonearest): Likewise.
21460 (tan_test_towardzero): Likewise.
21461 (tan_test_downward): Likewise.
21462 (tan_test_upward): Likewise.
21463 (tanh_test): Likewise.
21464 (tgamma_test): Likewise.
21465 (y0_test): Likewise.
21466 (y1_test): Likewise.
21467 (yn_test): Likewise.
21468
323e5cb7
JM
21469 * math/gen-libm-test.pl (adjust_arg): Remove function.
21470 (special_function): Remove argument $in_func. Only handle
21471 generating output for tables of tests, not inside functions.
21472 (parse_args): Likewise.
21473 (generate_testfile): Remove variable $in_func. Update call to
21474 parse_args.
21475 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21476 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21477 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21478 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21479 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21480 (MAX_VALUE_INIT): Rename macro to max_value.
21481 (MIN_VALUE_INIT): Rename macro to min_value.
21482 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21483 (plus_zero): Remove variable.
21484 (minus_zero): Likewise.
21485 (plus_infty): Likewise.
21486 (minus_infty): Likewise.
21487 (qnan_value): Likewise.
21488 (max_value): Likewise.
21489 (min_value): Likewise.
21490 (min_subnorm_value): Likewise.
21491
e054f494
RA
214922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21493
21494 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21495 uint64_t or uint32_t usage.
21496 * crypt/sha256-block.c: Likewise.
21497 * crypt/sha256-crypt.c: Likewise.
21498 * crypt/sha256.c: Likewise.
21499 * crypt/sha512-block.c: Likewise.
21500 * crypt/sha512-crypt.c: Likewise.
21501 * crypt/sha512.c: Likewise.
21502 * debug/backtrace-tst.c: Likewise.
21503 * debug/pcprofiledump.c: Likewise.
21504 * elf/cache.c: Likewise.
21505 * elf/dl-cache.c: Likewise.
21506 * elf/dl-misc.c: Likewise.
21507 * elf/dl-profile.c: Likewise.
21508 * elf/dl-support.c: Likewise.
21509 * elf/ldconfig.c: Likewise.
21510 * elf/sprof.c: Likewise.
21511 * iconv/dummy-repertoire.c: Likewise.
21512 * iconv/iconv_charmap.c: Likewise.
21513 * iconv/skeleton.c: Likewise.
21514 * iconvdata/8bit-generic.c: Likewise.
21515 * iconvdata/cp737.h: Likewise.
21516 * iconvdata/cp775.h: Likewise.
21517 * iconvdata/ibm1008.h: Likewise.
21518 * iconvdata/ibm1025.h: Likewise.
21519 * iconvdata/ibm1046.h: Likewise.
21520 * iconvdata/ibm1097.h: Likewise.
21521 * iconvdata/ibm1112.h: Likewise.
21522 * iconvdata/ibm1122.h: Likewise.
21523 * iconvdata/ibm1123.h: Likewise.
21524 * iconvdata/ibm1124.h: Likewise.
21525 * iconvdata/ibm1129.h: Likewise.
21526 * iconvdata/ibm1130.h: Likewise.
21527 * iconvdata/ibm1132.h: Likewise.
21528 * iconvdata/ibm1133.h: Likewise.
21529 * iconvdata/ibm1137.h: Likewise.
21530 * iconvdata/ibm1140.h: Likewise.
21531 * iconvdata/ibm1141.h: Likewise.
21532 * iconvdata/ibm1142.h: Likewise.
21533 * iconvdata/ibm1143.h: Likewise.
21534 * iconvdata/ibm1144.h: Likewise.
21535 * iconvdata/ibm1145.h: Likewise.
21536 * iconvdata/ibm1146.h: Likewise.
21537 * iconvdata/ibm1147.h: Likewise.
21538 * iconvdata/ibm1148.h: Likewise.
21539 * iconvdata/ibm1149.h: Likewise.
21540 * iconvdata/ibm1153.h: Likewise.
21541 * iconvdata/ibm1154.h: Likewise.
21542 * iconvdata/ibm1155.h: Likewise.
21543 * iconvdata/ibm1156.h: Likewise.
21544 * iconvdata/ibm1157.h: Likewise.
21545 * iconvdata/ibm1158.h: Likewise.
21546 * iconvdata/ibm1160.h: Likewise.
21547 * iconvdata/ibm1161.h: Likewise.
21548 * iconvdata/ibm1162.h: Likewise.
21549 * iconvdata/ibm1163.h: Likewise.
21550 * iconvdata/ibm1164.h: Likewise.
21551 * iconvdata/ibm1166.h: Likewise.
21552 * iconvdata/ibm1167.h: Likewise.
21553 * iconvdata/ibm12712.h: Likewise.
21554 * iconvdata/ibm1390.h: Likewise.
21555 * iconvdata/ibm1399.h: Likewise.
21556 * iconvdata/ibm16804.h: Likewise.
21557 * iconvdata/ibm4517.h: Likewise.
21558 * iconvdata/ibm4899.h: Likewise.
21559 * iconvdata/ibm4909.h: Likewise.
21560 * iconvdata/ibm4971.h: Likewise.
21561 * iconvdata/ibm5347.h: Likewise.
21562 * iconvdata/ibm803.h: Likewise.
21563 * iconvdata/ibm856.h: Likewise.
21564 * iconvdata/ibm901.h: Likewise.
21565 * iconvdata/ibm902.h: Likewise.
21566 * iconvdata/ibm9030.h: Likewise.
21567 * iconvdata/ibm9066.h: Likewise.
21568 * iconvdata/ibm921.h: Likewise.
21569 * iconvdata/ibm922.h: Likewise.
21570 * iconvdata/ibm9448.h: Likewise.
21571 * iconvdata/isiri-3342.h: Likewise.
21572 * iconvdata/jis0201.h: Likewise.
21573 * include/link.h: Likewise.
21574 * include/netdb.h: Likewise.
21575 * inet/check_native.c: Likewise.
21576 * inet/check_pf.c: Likewise.
21577 * inet/getipv4sourcefilter.c: Likewise.
21578 * inet/getnameinfo.c: Likewise.
21579 * inet/getsourcefilter.c: Likewise.
21580 * inet/htonl.c: Likewise.
21581 * inet/setipv4sourcefilter.c: Likewise.
21582 * inet/setsourcefilter.c: Likewise.
21583 * inet/test-inet6_opt.c: Likewise.
21584 * inet/tst-network.c: Likewise.
21585 * locale/C-collate.c: Likewise.
21586 * locale/C-ctype.c: Likewise.
21587 * locale/C-time.c: Likewise.
21588 * locale/C-translit.h: Likewise.
21589 * locale/loadarchive.c: Likewise.
21590 * locale/programs/3level.h: Likewise.
21591 * locale/programs/charmap.c: Likewise.
21592 * locale/programs/charmap.h: Likewise.
21593 * locale/programs/ld-address.c: Likewise.
21594 * locale/programs/ld-collate.c: Likewise.
21595 * locale/programs/ld-ctype.c: Likewise.
21596 * locale/programs/ld-identification.c: Likewise.
21597 * locale/programs/ld-measurement.c: Likewise.
21598 * locale/programs/ld-messages.c: Likewise.
21599 * locale/programs/ld-monetary.c: Likewise.
21600 * locale/programs/ld-name.c: Likewise.
21601 * locale/programs/ld-numeric.c: Likewise.
21602 * locale/programs/ld-paper.c: Likewise.
21603 * locale/programs/ld-telephone.c: Likewise.
21604 * locale/programs/ld-time.c: Likewise.
21605 * locale/programs/linereader.c: Likewise.
21606 * locale/programs/locale.c: Likewise.
21607 * locale/programs/locarchive.c: Likewise.
21608 * locale/programs/locfile.h: Likewise.
21609 * locale/programs/repertoire.c: Likewise.
21610 * locale/programs/simple-hash.c: Likewise.
21611 * locale/programs/simple-hash.h: Likewise.
21612 * malloc/memusage.c: Likewise.
21613 * malloc/memusagestat.c: Likewise.
21614 * nis/nis_defaults.c: Likewise.
21615 * nis/nis_hash.c: Likewise.
21616 * nis/nis_print.c: Likewise.
21617 * nis/nis_xdr.c: Likewise.
21618 * nscd/connections.c: Likewise.
21619 * nscd/hstcache.c: Likewise.
21620 * nscd/nscd_gethst_r.c: Likewise.
21621 * nscd/nscd_getserv_r.c: Likewise.
21622 * nscd/nscd_helper.c: Likewise.
21623 * nscd/servicescache.c: Likewise.
21624 * nss/makedb.c: Likewise.
21625 * nss/nss_db/db-XXX.c: Likewise.
21626 * nss/nss_db/db-initgroups.c: Likewise.
21627 * nss/nss_db/db-netgrp.c: Likewise.
21628 * nss/nss_files/files-network.c: Likewise.
21629 * nss/nss_files/files-parse.c: Likewise.
21630 * posix/bug-regex5.c: Likewise.
21631 * posix/fnmatch_loop.c: Likewise.
21632 * posix/regcomp.c: Likewise.
21633 * posix/regexec.c: Likewise.
21634 * posix/tst-rfc3484-2.c: Likewise.
21635 * posix/tst-rfc3484-3.c: Likewise.
21636 * posix/tst-rfc3484.c: Likewise.
21637 * resolv/nss_dns/dns-canon.c: Likewise.
21638 * resolv/nss_dns/dns-network.c: Likewise.
21639 * resolv/res_init.c: Likewise.
21640 * resolv/res_mkquery.c: Likewise.
21641 * resolv/tst-aton.c: Likewise.
21642 * stdlib/cxa_atexit.c: Likewise.
21643 * stdlib/cxa_finalize.c: Likewise.
21644 * stdlib/gen-fpioconst.c: Likewise.
21645 * stdlib/strtol_l.c: Likewise.
21646 * string/tst-endian.c: Likewise.
21647 * sunrpc/auth_des.c: Likewise.
21648 * sunrpc/clnt_udp.c: Likewise.
21649 * sunrpc/rtime.c: Likewise.
21650 * sunrpc/svcauth_des.c: Likewise.
21651 * sunrpc/xdr.c: Likewise.
21652 * sunrpc/xdr_intXX_t.c: Likewise.
21653 * sunrpc/xdr_rec.c: Likewise.
21654 * sysdeps/generic/ldconfig.h: Likewise.
21655 * sysdeps/generic/ldsodefs.h: Likewise.
21656 * sysdeps/generic/memusage.h: Likewise.
21657 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21667 * sysdeps/posix/getaddrinfo.c: Likewise.
21668 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21669 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21670 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21671 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21672 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21673 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21674 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21675 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21676 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21677 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21678 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21679 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21680 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21681 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21682 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21683 * sysdeps/x86_64/dl-tls.h: Likewise.
21684 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21685 * time/alt_digit.c: Likewise.
21686 * time/era.c: Likewise.
21687 * wcsmbs/tst-c16c32-1.c: Likewise.
21688
8c75f674
JM
216892013-05-16 Joseph Myers <joseph@codesourcery.com>
21690
21691 * math/libm-test.inc (struct test_sincos_data): New type.
21692 (RUN_TEST_LOOP_sincos): New macro.
21693 (sincos_test_data): New variable.
21694 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21695
e6e49e59
RH
216962013-05-16 Richard Henderson <rth@redhat.com>
21697
21698 * math/atest-exp2.c (LIMB64): New macro.
21699 (CONSTSZ): New macro.
21700 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21701 (hexdig): Move ...
21702 (print_mpn_fp): ... to function scope.
21703 (read_mpn_hex): Remove.
21704 (get_log2): Remove.
21705 (exp2_mpn): Use mp_log2.
21706 (main): Use mp_exp1.
21707
15c7c18d
JM
217082013-05-16 Joseph Myers <joseph@codesourcery.com>
21709
105a07df
JM
21710 * math/libm-test.inc: Remove comment about not testing "inexact"
21711 exceptions.
21712 (INEXACT_EXCEPTION): New macro.
21713 (NO_INEXACT_EXCEPTION): Likewise.
21714 (INVALID_EXCEPTION_OK): Update value.
21715 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21716 (OVERFLOW_EXCEPTION_OK): Likewise.
21717 (UNDERFLOW_EXCEPTION_OK): Likewise.
21718 (IGNORE_ZERO_INF_SIGN): Likewise.
21719 (ERRNO_UNCHANGED): Likewise.
21720 (ERRNO_EDOM): Likewise.
21721 (ERRNO_ERANGE): Likewise.
21722 (test_exceptions): Handle testing "inexact" exceptions.
21723 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21724 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21725 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21726 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21727 INEXACT_EXCEPTION.
21728 (rint_towardzero_test_data): Likewise.
21729 (rint_downward_test_data): Likewise.
21730 (rint_upward_test_data): Likewise.
21731
e9eee333
JM
21732 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21733 with OVERFLOW_EXCEPTION.
21734 (exp10_test_data): Likewise.
21735 (exp2_test_data): Likewise.
21736 (expm1_test_data): Likewise.
21737 (lgamma_test_data): Likewise.
21738 (pow_test_data): Likewise.
21739 (tgamma_test_data): Likewise.
21740 (yn_test_data): Remove duplicate test of overflow.
21741
1c38ff73
JM
21742 * math/libm-test.inc (struct test_cc_c_data): New type.
21743 (RUN_TEST_LOOP_cc_c): New macro.
21744 (cpow_test_data): New variable.
21745 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21746
15c7c18d
JM
21747 * math/libm-test.inc (struct test_f_L_data): New type.
21748 (RUN_TEST_LOOP_f_L): New macro.
21749 (llrint_test_data): New variable.
21750 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21751 (llrint_tonearest_test_data): New variable.
21752 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21753 (llrint_towardzero_test_data): New variable.
21754 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21755 (llrint_downward_test_data): New variable.
21756 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21757 (llrint_upward_test_data): New variable.
21758 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21759 (llround_test_data): New variable.
21760 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21761
f137ff13
PC
217622013-05-13 Peter Collingbourne <pcc@google.com>
21763
21764 * math/atest-exp2.c (get_log2): Remove const attribute.
21765
3608cb24
JM
217662013-05-15 Joseph Myers <joseph@codesourcery.com>
21767
21768 * math/libm-test.inc (struct test_f_l_data): New type.
21769 (RUN_TEST_LOOP_f_l): New macro.
21770 (lrint_test_data): New variable.
21771 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21772 (lrint_tonearest_test_data): New variable.
21773 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21774 (lrint_towardzero_test_data): New variable.
21775 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21776 (lrint_downward_test_data): New variable.
21777 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21778 (lrint_upward_test_data): New variable.
21779 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21780 (lround_test_data): New variable.
21781 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21782
39b1f617
PC
217832013-05-15 Peter Collingbourne <pcc@google.com>
21784
1deff3dc
PC
21785 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21786 (EXTRACT_WORDS64) Use where appropriate.
21787 (INSERT_WORDS64) Likewise.
21788
791f3ba0
PC
21789 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21790 constraints with x constraints.
21791 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21792
39b1f617
PC
21793 * malloc/obstack.c (_obstack_compat): Add initializer.
21794
12fba011
EM
217952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21796
21797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21798 si_trapno and add si_addr_lsb to _sifields.sigfault.
21799 (si_trapno): Remove macro.
21800 (si_addr_lsb): Define new macro.
21801 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21802
d369f531
JM
218032013-05-15 Joseph Myers <joseph@codesourcery.com>
21804
b861c6c4
JM
21805 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21806 instead of TEST_f_l.
21807 (llrint_test_tonearest): Likewise.
21808 (llrint_test_towardzero): Likewise.
21809 (llrint_test_downward): Likewise.
21810 (llrint_test_upward): Likewise.
21811 (llround_test): Likewise.
21812
7abeee12
JM
21813 * math/libm-test.inc (struct test_f_i_data): Add comment.
21814 (RUN_TEST_LOOP_f_b): New macro.
21815 (RUN_TEST_LOOP_f_b_tg): Likewise.
21816 (finite_test_data): New variable.
21817 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21818 (isfinite_test_data): New variable.
21819 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21820 (isinf_test_data): New variable.
21821 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21822 (isnan_test_data): New variable.
21823 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21824 (isnormal_test_data): New variable.
21825 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21826 (issignaling_test_data): New variable.
21827 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21828 (signbit_test_data): New variable.
21829 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21830
cbe8c4d3
JM
21831 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21832 with INVALID_EXCEPTION.
21833 (acosh_test_data): Likewise.
21834 (asin_test_data): Likewise.
21835 (atanh_test_data): Likewise.
21836 (fmod_test_data): Likewise.
21837 (log_test_data): Likewise.
21838 (log10_test_data): Likewise.
21839 (log2_test_data): Likewise.
21840 (pow_test_data): Likewise.
21841 (sqrt_test_data): Likewise.
21842 (y0_test_data): Likewise.
21843 (y1_test_data): Likewise.
21844 (yn_test_data): Likewise.
21845
5575c0e5
JM
21846 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21847 function contents.
21848
d369f531
JM
21849 * math/libm-test.inc (struct test_ff_i_data): New type.
21850 (RUN_TEST_LOOP_ff_i_tg): New macro.
21851 (isgreater_test_data): New variable.
21852 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21853 (isgreaterequal_test_data): New variable.
21854 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21855 (isless_test_data): New variable.
21856 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21857 (islessequal_test_data): New variable.
21858 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21859 (islessgreater_test_data): New variable.
21860 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21861 (isunordered_test_data): New variable.
21862 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21863
781fd748
DM
218642013-05-14 David S. Miller <davem@davemloft.net>
21865
21866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21867
87aa21df
JM
218682013-05-14 Joseph Myers <joseph@codesourcery.com>
21869
5e908270
JM
21870 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21871
f71172e5
JM
21872 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21873 extra_test to int.
21874 (struct test_f_i_data): Change type of max_ulp to int.
21875
8cfa635a
JM
21876 * math/libm-test.inc (test_ffI_f1_data): New type.
21877 (RUN_TEST_LOOP_ffI_f1): New macro.
21878 (remquo_test_data): New variable.
21879 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21880
2bcb36b2
JM
21881 * setjmp/tst-setjmp-fp.c: New file.
21882 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21883 (link-libm): New variable.
21884 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21885
acbd839a
JM
21886 * math/libm-test.inc (struct test_f_i_data): New type.
21887 (RUN_TEST_LOOP_f_i): New macro.
21888 (RUN_TEST_LOOP_f_i_tg): Likewise.
21889 (fpclassify_test_data): New variable.
21890 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21891 (ilogb_test_data): New variable.
21892 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21893
e414d745
JM
21894 * math/libm-test.inc (scalbln_test): Correct function name in END
21895 call.
21896
d9c2a0fd
JM
21897 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21898 (RUN_TEST_LOOP_fI_f1): New macro.
21899 (frexp_test_data): New variable.
21900 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21901
9dc9095d
JM
21902 * math/libm-test.inc (struct test_fF_f1_data): New type.
21903 (RUN_TEST_LOOP_fF_f1): New macro.
21904 (modf_test_data): New variable.
21905 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21906
87aa21df
JM
21907 * math/libm-test.inc (struct test_f_f1_data): New type.
21908 (RUN_TEST_LOOP_f_f1): New macro.
21909 (gamma_test_data): New variable.
21910 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21911 (lgamma_test_data): New variable.
21912 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21913
141af660
CD
219142013-05-13 Carlos O'Donell <carlos@redhat.com>
21915
21916 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21917 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21918 (main): Comment "tls" pseudo-hwcap.
21919
6d33265c
JM
219202013-05-13 Joseph Myers <joseph@codesourcery.com>
21921
68fc074c
JM
21922 * math/libm-test.inc (struct test_fl_f_data): New type.
21923 (RUN_TEST_LOOP_fl_f): New variable.
21924 (scalbln_test_data): New variable.
21925 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21926
243216e1
JM
21927 * math/libm-test.inc (struct test_fi_f_data): New type.
21928 (RUN_TEST_LOOP_fi_f): New macro.
21929 (ldexp_test_data): New variable.
21930 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21931 (scalbn_test_data): New variable.
21932 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21933
6a1992e2
JM
21934 * math/libm-test.inc (struct test_c_f_data): New type.
21935 (RUN_TEST_LOOP_c_f): New macro.
21936 (cabs_test_data): New variable.
21937 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21938 (carg_test_data): New variable.
21939 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21940 (cimag_test_data): New variable.
21941 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21942 (creal_test_data): New variable.
21943 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21944
0e400df5
JM
21945 * math/libm-test.inc (struct test_if_f_data): New type.
21946 (RUN_TEST_LOOP_if_f): New macro.
21947 (jn_test_data): New variable.
21948 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21949 (yn_test_data): New variable.
21950 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21951
6d33265c
JM
21952 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21953
f98ece5f
AZ
219542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21955
21956 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21957 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21958
0f7d347b
SP
219592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21960
43fe811b
SP
21961 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21962 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21963 (bench-deps): Add bench-timing.h.
21964 * benchtests-bench-skeleton.c: Include bench-timing.h.
21965 (main): Use TIMING_* macros instead of clock_gettime.
21966 * benchtests/bench-timing.h: New file.
21967
0f7d347b
SP
21968 [BZ #14582]
21969 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21970 Renamed from _LIB_VERSION.
21971 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21972
601a3a5f
JM
219732013-05-12 Joseph Myers <joseph@codesourcery.com>
21974
4f184d30
JM
21975 * math/libm-test.inc (struct test_fff_f_data): New type.
21976 (RUN_TEST_LOOP_fff_f): New macro.
21977 (fma_test_data): New variable.
21978 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21979 (fma_towardzero_test_data): New variable.
21980 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21981 (fma_downward_test_data): New variable.
21982 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21983 (fma_upward_test_data): New variable.
21984 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21985
08198877
JM
21986 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21987 (struct test_c_c_data): New type.
21988 (RUN_TEST_LOOP_c_c): New macro.
21989 (cacos_test_data): New variable.
21990 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21991 (cacosh_test_data): New variable.
21992 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21993 (casin_test_data): New variable.
21994 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21995 (casinh_test_data): New variable.
21996 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21997 (catan_test_data): New variable.
21998 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21999 (catanh_test_data): New variable.
22000 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22001 (ccos_test_data): New variable.
22002 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22003 (ccosh_test_data): New variable.
22004 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22005 (cexp_test_data): New variable.
22006 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22007 (clog_test_data): New variable.
22008 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22009 (clog10_test_data): New variable.
22010 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22011 (conj_test_data): New variable.
22012 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22013 (cproj_test_data): New variable.
22014 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22015 (csin_test_data): New variable.
22016 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22017 (csinh_test_data): New variable.
22018 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22019 (csqrt_test_data): New variable.
22020 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22021 (ctan_test_data): New variable.
22022 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22023 (ctan_tonearest_test_data): New variable.
22024 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22025 (ctan_towardzero_test_data): New variable.
22026 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22027 (ctan_downward_test_data): New variable.
22028 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22029 (ctan_upward_test_data): New variable.
22030 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22031 (ctanh_test_data): New variable.
22032 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22033 (ctanh_tonearest_test_data): New variable.
22034 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22035 (ctanh_towardzero_test_data): New variable.
22036 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22037 (ctanh_downward_test_data): New variable.
22038 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22039 (ctanh_upward_test_data): New variable.
22040 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22041 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22042 of BUILD_COMPLEX.
22043
601a3a5f
JM
22044 * math/libm-test.inc (struct test_ff_f_data): New type.
22045 (struct test_ff_f_data_nexttoward): Likewise.
22046 (RUN_TEST_LOOP_2_f): New macro.
22047 (RUN_TEST_LOOP_ff_f): Likewise.
22048 (atan2_test_data): New variable.
22049 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22050 (copysign_test_data): New variable.
22051 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22052 (fdim_test_data): New variable.
22053 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22054 (fmax_test_data): New variable.
22055 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22056 (fmin_test_data): New variable.
22057 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22058 (fmod_test_data): New variable.
22059 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22060 (hypot_test_data): New variable.
22061 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22062 (nextafter_test_data): New variable.
22063 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22064 (nexttoward_test_data): New variable.
22065 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22066 (pow_test_data): New variable.
22067 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22068 (pow_tonearest_test_data): New variable.
22069 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22070 (pow_towardzero_test_data): New variable.
22071 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22072 (pow_downward_test_data): New variable.
22073 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22074 (pow_upward_test_data): New variable.
22075 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22076 (remainder_test_data): New variable.
22077 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22078 (scalb_test_data): New variable.
22079 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22080 * sysdeps/i386/fpu/libm-test-ulps: Update.
22081
74c57478
JM
220822013-05-11 Joseph Myers <joseph@codesourcery.com>
22083
8329e4da
JM
22084 * math/libm-test.inc (fma_test): Use max_value instead of local
22085 variable fltmax.
22086 (nextafter_test): Likewise.
22087
74c57478
JM
22088 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22089 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22090 (acos_downward_test_data): New variable.
22091 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22092 (acos_upward_test_data): New variable.
22093 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22094 (acosh_test_data): New variable.
22095 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22096 (asin_test_data): New variable.
22097 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22098 (asin_tonearest_test_data): New variable.
22099 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22100 (asin_towardzero_test_data): New variable.
22101 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22102 (asin_downward_test_data): New variable.
22103 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22104 (asin_upward_test_data): New variable.
22105 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22106 (asinh_test_data): New variable.
22107 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22108 (atan_test_data): New variable.
22109 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22110 (atanh_test_data): New variable.
22111 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22112 (cbrt_test_data): New variable.
22113 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22114 (ceil_test_data): New variable.
22115 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22116 (cos_test_data): New variable.
22117 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22118 (cos_tonearest_test_data): New variable.
22119 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22120 (cos_towardzero_test_data): New variable.
22121 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22122 (cos_downward_test_data): New variable.
22123 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22124 (cos_upward_test_data): New variable.
22125 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22126 (cosh_test_data): New variable.
22127 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22128 (cosh_tonearest_test_data): New variable.
22129 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22130 (cosh_towardzero_test_data): New variable.
22131 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22132 (cosh_downward_test_data): New variable.
22133 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22134 (cosh_upward_test_data): New variable.
22135 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22136 (erf_test_data): New variable.
22137 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22138 (erfc_test_data): New variable.
22139 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22140 (exp_test_data): New variable.
22141 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22142 (exp_tonearest_test_data): New variable.
22143 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22144 (exp_towardzero_test_data): New variable.
22145 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22146 (exp_downward_test_data): New variable.
22147 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22148 (exp_upward_test_data): New variable.
22149 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22150 (exp10_test_data): New variable.
22151 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22152 (exp2_test_data): New variable.
22153 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22154 (expm1_test_data): New variable.
22155 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22156 (fabs_test_data): New variable.
22157 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22158 (floor_test_data): New variable.
22159 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22160 (j0_test_data): New variable.
22161 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22162 (j1_test_data): New variable.
22163 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22164 (log_test_data): New variable.
22165 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22166 (log10_test_data): New variable.
22167 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22168 (log1p_test_data): New variable.
22169 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22170 (log2_test_data): New variable.
22171 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22172 (logb_test_data): New variable.
22173 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22174 (logb_downward_test_data): New variable.
22175 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22176 (nearbyint_test_data): New variable.
22177 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22178 (rint_test_data): New variable.
22179 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22180 (rint_tonearest_test_data): New variable.
22181 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22182 (rint_towardzero_test_data): New variable.
22183 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22184 (rint_downward_test_data): New variable.
22185 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22186 (rint_upward_test_data): New variable.
22187 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22188 (round_test_data): New variable.
22189 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22190 (sin_test_data): New variable.
22191 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22192 (sin_tonearest_test_data): New variable.
22193 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22194 (sin_towardzero_test_data): New variable.
22195 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22196 (sin_downward_test_data): New variable.
22197 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22198 (sin_upward_test_data): New variable.
22199 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22200 (sinh_test_data): New variable.
22201 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22202 (sinh_tonearest_test_data): New variable.
22203 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22204 (sinh_towardzero_test_data): New variable.
22205 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22206 (sinh_downward_test_data): New variable.
22207 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22208 (sinh_upward_test_data): New variable.
22209 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22210 (sqrt_test_data): New variable.
22211 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22212 (tan_test_data): New variable.
22213 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22214 (tan_tonearest_test_data): New variable.
22215 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22216 (tan_towardzero_test_data): New variable.
22217 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22218 (tan_downward_test_data): New variable.
22219 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22220 (tan_upward_test_data): New variable.
22221 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22222 (tanh_test_data): New variable.
22223 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22224 (tgamma_test_data): New variable.
22225 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22226 (trunc_test_data): New variable.
22227 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22228 (y0_test_data): New variable.
22229 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22230 (y1_test_data): New variable.
22231 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22232 (significand_test_data): New variable.
22233 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22234
7187d844
CG
222352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22236
22237 [BZ #12387]
22238 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22239
f63fae73
PT
222402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22241
22242 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22243
8a67a4b3
AJ
222442013-05-10 Andreas Jaeger <aj@suse.de>
22245
22246 [BZ #15448]
22247 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22248 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22249
51df539d
JM
222502013-05-10 Joseph Myers <joseph@codesourcery.com>
22251
22252 * math/gen-libm-test.pl (adjust_arg): New function.
22253 (special_functions): Handle generating output in both functions
22254 and arrays.
22255 (parse_args): Likewise.
22256 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22257 $in_func argument to parse_args.
22258 * math/libm-test.inc (struct test_f_f_data): New type.
22259 (IF_ROUND_INIT_): New macro.
22260 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22261 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22262 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22263 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22264 (ROUND_RESTORE_): Likewise.
22265 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22266 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22267 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22268 (ROUND_RESTORE_FE_UPWARD): Likewise.
22269 (RUN_TEST_LOOP_f_f): New macro.
22270 (acos_test_data): New variable.
22271 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22272 (acos_tonearest_test_data): New variable.
22273 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22274
5c637fe5
SP
222752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22276
22277 * benchtests/bench-skeleton.c (startup): Fix coding style.
22278
ab2b9461
JM
222792013-05-10 Joseph Myers <joseph@codesourcery.com>
22280
22281 [BZ #6809]
22282 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22283 negative infinity argument.
22284 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22285 negative infinity argument.
22286 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22287 negative infinity argument.
22288 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22289 domain errors.
22290
4c0fe6fe
FW
222912013-05-10 Florian Weimer <fweimer@redhat.com>
22292
22293 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22294 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22295 * iconv/iconv_prog.c (main): Likewise.
22296 * locale/programs/charmap-dir.c (charmap_readdir)
22297 (fopen_uncompressed): Likewise.
22298 * locale/programs/locfile.c (siblings_uncached)
22299 (write_locale_data): Use lstat64 instead of lstat.
22300 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22301 stat.
22302
a3375d29
AJ
223032013-05-10 Andreas Jaeger <aj@suse.de>
22304
22305 [BZ #15395]
22306 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22307 localization.
22308 Include <locale.h>.
22309
36129722
CD
223102013-05-09 Carlos O'Donell <carlos@redhat.com>
22311
22312 * elf/dl-close.c (_dl_close_worker): Add comments.
22313
faa7f811
JM
223142013-05-09 Joseph Myers <joseph@codesourcery.com>
22315
ed41ffef
JM
22316 [BZ #15359]
22317 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22318 high part of pi/2.
22319 (__ieee754_rem_pio2l): Update comments.
22320
d0213cd0
JM
22321 [BZ #15429]
22322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22323 high part of pi/2.
22324 (__ieee754_rem_pio2l): Update comments.
22325
0d3e777a
JM
22326 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22327 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22328
24f56066
JM
22329 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22330 M_PI_4l.
22331
faa7f811
JM
22332 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22333 (M_PI_34_LOG10El): Likewise.
22334 (M_PI2_LOG10El): Likewise.
22335 (M_PI4_LOG10El): Likewise.
22336 (M_PI_LOG10El): Likewise.
22337
e9a5e0fd
AZ
223382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22339
22340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22341
d8cd06db
JM
223422013-05-08 Joseph Myers <joseph@codesourcery.com>
22343
a0d9f9d7
JM
22344 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22345 (MINUS_ZERO_INIT): Likewise.
22346 (PLUS_INFTY_INIT): Likewise.
22347 (MINUS_INFTY_INIT): Likewise.
22348 (QNAN_VALUE_INIT): Likewise.
22349 (MAX_VALUE_INIT): Likewise.
22350 (MIN_VALUE_INIT): Likewise.
22351 (MIN_SUBNORM_VALUE_INIT): Likewise.
22352 (plus_zero): Initialize with PLUS_ZERO_INIT.
22353 (minus_zero): Initialize with MINUS_ZERO_INIT.
22354 (plus_infty): Initialize with PLUS_INFTY_INIT.
22355 (minus_infty): Initialize with MINUS_INFTY_INIT.
22356 (qnan_value): Initialize with QNAN_VALUE_INIT.
22357 (max_value): Initialize with MAX_VALUE_INIT.
22358 (min_value): Initialize with MIN_VALUE_INIT.
22359 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22360
ae08db3b
JM
22361 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22362 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22363 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22364 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22365
f44bf14a
JM
22366 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22367 (RUN_TEST_2_f): Likewise.
22368 (RUN_TEST_ff_f): Likewise.
22369 (RUN_TEST_fi_f): Likewise.
22370 (RUN_TEST_fl_f): Likewise.
22371 (RUN_TEST_fff_f): Likewise.
22372 (RUN_TEST_c_f): Likewise.
22373 (RUN_TEST_f_f1): Likewise.
22374 (RUN_TEST_fF_f1): Likewise.
22375 (RUN_TEST_fI_f1): Likewise.
22376 (RUN_TEST_ffI_f1): Likewise.
22377 (RUN_TEST_c_c): Likewise.
22378 (RUN_TEST_cc_c): Likewise.
22379 (RUN_TEST_f_i): Likewise.
22380 (RUN_TEST_f_i_tg): Likewise.
22381 (RUN_TEST_ff_i_tg): Likewise.
22382 (RUN_TEST_f_b): Likewise.
22383 (RUN_TEST_f_b_tg): Likewise.
22384 (RUN_TEST_f_l): Likewise.
22385 (RUN_TEST_f_L): Likewise.
22386 (RUN_TEST_sincos): Likewise.
22387 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22388 whether to show exceptions. Do not include ");\n" in return
22389 value.
22390 (special_functions): Output call to RUN_TEST_sincos instead of
22391 check_float calls. Update calls to new_test.
22392 (parse_args): Output call to single RUN_TEST_* macro instead of
22393 check_* calls and other assignments. Update calls to new_test.
22394
d8cd06db
JM
22395 [BZ #2546]
22396 [BZ #2560]
22397 [BZ #5159]
22398 [BZ #15426]
22399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22400 input to result for tgamma overflow.
22401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22402 (gamma_coeff): New variable.
22403 (NCOEFF): New macro.
22404 (gamma_positive): New function.
22405 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22406 underflow here. Use gamma_positive instead of exp (lgamma) for
22407 other arguments.
22408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22409 (gamma_coeff): New variable.
22410 (NCOEFF): New macro.
22411 (gammaf_positive): New function.
22412 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22413 underflow here. Use gamma_positive instead of exp (lgamma) for
22414 other arguments.
22415 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22416 (gamma_coeff): New variable.
22417 (NCOEFF): New macro.
22418 (gammal_positive): New function.
22419 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22420 underflow here. Use gamma_positive instead of exp (lgamma) for
22421 other arguments.
22422 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22423 (gamma_coeff): New variable.
22424 (NCOEFF): New macro.
22425 (gammal_positive): New function.
22426 (__ieee754_gammal_r): Handle positive infinity, overflow and
22427 underflow here. Handle NaN the same as positive infinity. Remove
22428 check x < 0xffffffff for negative integers. Use gamma_positive
22429 instead of exp (lgamma) for other arguments.
22430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22431 (gamma_coeff): New variable.
22432 (NCOEFF): New macro.
22433 (gammal_positive): New function.
22434 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22435 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22436 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22439 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22440 * sysdeps/generic/math_private.h (__gamma_productf): New
22441 prototype.
22442 (__gamma_product): Likewise.
22443 (__gamma_productl): Likewise.
22444 * math/Makefile (libm-calls): Add gamma_product.
22445 * math/libm-test.inc (tgamma_test): Add more tests.
22446 * sysdeps/i386/fpu/libm-test-ulps: Update.
22447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22448
bb7cf681
OB
224492013-05-08 Ondřej Bílka <neleai@seznam.cz>
22450
22451 * benchtests/bench-skeleton.c (main): Preheat CPU.
22452
ba853947
AJ
224532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22454
22455 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22456
8347c74c
RM
224572013-05-07 Roland McGrath <roland@hack.frob.com>
22458
22459 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22460 and _dl_skip_args_internal.
22461
e8dd4791
CD
224622013-05-07 Carlos O'Donell <carlos@redhat.com>
22463
22464 * manual/message.texi (Message Translation): Talk about users.
22465 Message to key mapping impacts design.
22466
c7405830
RM
224672013-05-06 Roland McGrath <roland@hack.frob.com>
22468
a9173057
RM
22469 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22470
976e2f03
RM
22471 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22472
9723ffc5
RM
22473 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22474 * sysdeps/wordsize-64/glob64.c: ... here.
22475
962e6658
RM
22476 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22477 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22478 New macros.
22479
ee586a6d
RM
22480 * debug/getlogin_r_chk.c: Moved to ...
22481 * login/getlogin_r_chk.c: ... here.
22482 * debug/Makefile (routines): Move getlogin_r_chk to ...
22483 * login/Makefile (routines): ... here.
22484 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22485 * login/Versions (libc: GLIBC_2.4): ... here.
22486
355f9165
RM
22487 * io/poll.c (__poll): Renamed from poll.
22488 Add libc_hidden_def.
22489 (poll): Define as weak alias.
22490
bd9ffde6
RM
22491 * debug/ptsname_r_chk.c: Moved to ...
22492 * login/ptsname_r_chk.c: ... here.
22493 * debug/Makefile (routines): Move ptsname_r_chk to ...
22494 * login/Makefile (routines): ... here.
22495 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22496 * login/Versions (libc: GLIBC_2.4): ... here.
22497
8fb16a04
RM
22498 * posix/getlogin.c: Moved to ...
22499 * login/getlogin.c: ... here.
22500 * posix/getlogin_r.c: Moved to ...
22501 * login/getlogin_r.c: ... here.
22502 * posix/getlogin_r.c: Moved to ...
22503 * login/getlogin_r.c: ... here.
22504 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22505 * login/Makefile (routines): ... here.
22506 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22507 * login/Versions (libc: GLIBC_2.0): ... here.
22508
b99b892f
RM
22509 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22510 (setrlimit): Define as weak alias.
22511
c7405830
RM
22512 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22513 Call __ names for open, ftruncate, and close.
22514 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22515 (truncate): Define as weak alias.
22516
5bf96de5
JM
225172013-05-06 Joseph Myers <joseph@codesourcery.com>
22518
9ea3513c
JM
22519 * math/gen-libm-test.pl (parse_args): Initialize x before each
22520 test of frexp, modf and remquo.
22521
5bf96de5
JM
22522 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22523 test signgam value.
22524
16e616a7
AZ
225252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22526
22527 [BZ #15418]
22528 [BZ #15419]
22529 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22530 internal tests.
22531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22532
d5e82754
RM
225332013-05-06 Roland McGrath <roland@hack.frob.com>
22534
22535 * elf/dl-writev.h: New file.
22536 * elf/dl-misc.c: Include it.
22537 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22538 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22539
a7548d41
JM
225402013-05-04 Joseph Myers <joseph@codesourcery.com>
22541
b7dab1e4
JM
22542 * math/libm-test.inc (noXFails): Remove variable.
22543 (noXPasses): Likewise.
22544 (BUILD_COMPLEX_INT): Remove macro.
22545 (print_screen): Remove xfail argument.
22546 (print_screen_max_error): Likewise.
22547 (update_stats): Likewise.
22548 (print_max_error): Likewise. Update calls to other affected
22549 functions.
22550 (print_complex_max_error): Likewise.
22551 (test_single_exception): Update calls to print_screen.
22552 (test_single_errno): Likewise.
22553 (check_float_internal): Remove xfail argument. Update calls to
22554 other affected functions.
22555 (check_float): Likewise.
22556 (check_complex): Likewise.
22557 (check_int): Likewise.
22558 (check_long): Likewise.
22559 (check_bool): Likewise.
22560 (check_longlong): Likewise.
22561 (main): Don't print noXFails and noXPasses.
22562 * math/gen-libm-test.pl (top level): Don't mention expected
22563 failure handling in comment.
22564 (new_test): Don't handle expected failures.
22565 (parse_args): Don't mention expected failure handling in comment.
22566 (generate_testfile): Don't handle expected failures.
22567 (parse_ulps): Likewise.
22568 (print_ulps_file): Likewise.
22569 (get_failure): Remove function.
22570 (output_test): Don't handle expected failures.
22571 * make/README.libm-test: Don't mention expected failure handling.
22572
a7548d41
JM
22573 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22574 (minus_zero): Likewise.
22575 (plus_infty): Likewise.
22576 (minus_infty): Likewise.
22577 (qnan_value): Likewise.
22578 (max_value): Likewise.
22579 (min_value): Likewise.
22580 (min_subnorm_value): Likewise.
22581 (initialize): Do not initialize those variables dynamically.
22582
60bfd54c
RM
225832013-05-03 Roland McGrath <roland@hack.frob.com>
22584
cc0e6ed8
RM
22585 * io/open.c (__open_2): Moved to ...
22586 * io/open_2.c: ... this new file.
22587 * io/open64.c (__open64_2): Moved to ...
22588 * io/open64_2.c: ... this new file.
22589 * io/openat.c (__openat_2): Moved to ...
22590 * io/openat_2.c: ... this new file.
22591 * io/openat64.c (__openat64_2): Moved to ...
22592 * io/openat64_2.c: ... this new file.
22593 * io/Makefile (routines): Add them.
22594 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22595 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22596 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22597 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22598 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22599 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22600 (__openat64): Add hidden_ver.
22601 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22602 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22603
60bfd54c
RM
22604 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22605 Separately conditionalize setting of GLRO(dl_sysinfo) so
22606 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22607 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22608
83e7640f
AZ
226092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22610
22611 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22613 definition.
22614 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22615 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22616 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22617 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22618 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22619
d5dc2af3
JM
226202013-05-03 Joseph Myers <joseph@codesourcery.com>
22621
c31a5b1e
JM
22622 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22623 test signgam value.
22624
d5dc2af3
JM
22625 * math/libm-test.inc (hypot_test): Do not use
22626 IGNORE_ZERO_INF_SIGN.
22627
164fd39d
AJ
226282013-05-03 Andreas Jaeger <aj@suse.de>
22629
22630 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22631 Linux 3.9.
22632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22633 (PF_MAX): Adjust for VSOCK change.
22634
8237f48c
AZ
226352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22636
22637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22638
9df02941
CD
226392013-05-02 Carlos O'Donell <carlos@redhat.com>
22640
22641 [BZ #15264]
22642 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22643 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22644 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22645
d422395e
DM
226462013-05-02 David S. Miller <davem@davemloft.net>
22647
22648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22649
a07c5731
OB
226502013-05-01 Ondřej Bílka <neleai@seznam.cz>
22651
22652 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22653
1324e37f
RM
226542013-05-01 Roland McGrath <roland@hack.frob.com>
22655
22656 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22657
0695940b
RS
226582013-05-01 Richard Smith <richard@metafoo.co.uk>
22659
bb5f27ad 22660 [BZ #14952]
0695940b
RS
22661 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22662 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22663 Use __attribute__ ((__gnu_inline__)).
22664 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22665 Don't use __attribute__ ((__gnu_inline__)).
22666
10de07f5
JM
226672013-05-01 Joseph Myers <joseph@codesourcery.com>
22668
22669 [BZ #15423]
22670 * math/s_catan.c (__catan): Handle small real or imaginary part of
22671 input specially to avoid spurious underflow.
22672 * math/s_catanf.c (__catanf): Likewise.
22673 * math/s_catanh.c (__catanh): Likewise.
22674 * math/s_catanhf.c (__catanhf): Likewise.
22675 * math/s_catanhl.c (__catanhl): Likewise.
22676 * math/s_catanl.c (__catanl): Likewise.
22677 * math/libm-test.inc (catan_test): Add more tests.
22678 (catanh_test): Likewise.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22681
cb4d5414
AZ
226822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22683
22684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22685
caf84319
JM
226862013-04-30 Joseph Myers <joseph@codesourcery.com>
22687
22688 [BZ #15416]
22689 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22690 accurately for denominator in atan2.
22691 * math/s_catanf.c (__catanf): Likewise.
22692 * math/s_catanh.c (__catanh): Likewise.
22693 * math/s_catanhf.c (__catanhf): Likewise.
22694 * math/s_catanhl.c (__catanhl): Likewise.
22695 * math/s_catanl.c (__catanl): Likewise.
22696 * math/libm-test.inc (catan_test): Add more tests.
22697 (catanh_test): Likewise.
22698 * sysdeps/i386/fpu/libm-test-ulps: Update.
22699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22700
d569c6ee
SP
227012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22702
6dbe713d
SP
22703 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22704
f0ee064b
SP
22705 * benchtests/Makefile (bench): Remove slow benchmarks.
22706 * benchtests/atan-inputs: Add slow benchmark inputs.
22707 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22708 (BENCH_FUNC): Accept variant offset.
22709 (VARIANT): Define.
22710 * benchtests/bench-skeleton.c (main): Run benchmark for each
22711 variant.
22712 * benchtests/cos-inputs: Add slow benchmark inputs.
22713 * benchtests/exp-inputs: Likewise.
22714 * benchtests/pow-inputs: Likewise.
22715 * benchtests/sin-inputs: Likewise.
22716 * benchtests/slowatan-inputs: Remove.
22717 * benchtests/slowatan.c: Remove.
22718 * benchtests/slowcos-inputs: Remove.
22719 * benchtests/slowcos.c: Remove.
22720 * benchtests/slowexp-inputs: Remove.
22721 * benchtests/slowexp.c: Remove.
22722 * benchtests/slowpow-inputs: Remove.
22723 * benchtests/slowpow.c: Remove.
22724 * benchtests/slowsin-inputs: Remove.
22725 * benchtests/slowsin.c: Remove.
22726 * benchtests/slowtan-inputs: Remove.
22727 * benchtests/slowtan.c: Remove.
22728 * benchtests/tan-inputs: Add slow benchmark inputs.
22729 * scripts/bench.pl: Parse comments and directives.
22730
d569c6ee
SP
22731 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22732 in CPPFLAGS.
22733 ($(objpfx)bench-%.c): Remove *-ITER.
22734 * benchtests/bench-modf.c: Remove definition of ITER.
22735 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22736 (main): Loop for DURATION seconds instead of fixed number of
22737 iterations.
22738 * scripts/bench.pl: Don't expect iterations in parameters.
22739
a6a242fe
RM
227402013-04-29 Roland McGrath <roland@hack.frob.com>
22741
22742 * io/fchdir.c (__fchdir): Renamed from fchdir.
22743 (fchdir): Define as weak alias.
22744
f2da7793
JM
227452013-04-29 Joseph Myers <joseph@codesourcery.com>
22746
22747 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22748 (ERRNO_EDOM): Likewise.
22749 (ERRNO_ERANGE): Likewise.
22750 (noErrnoTests): New variable.
22751 (init_max_error): Set errno to 0.
22752 (test_single_errno): New function.
22753 (test_errno): Likewise.
22754 (check_float_internal): Call test_errno. Set errno to 0.
22755 (check_complex): Refer to errno tests in comment.
22756 (check_int): Call test_errno. Set errno to 0.
22757 (check_long): Likewise.
22758 (check_bool): Likewise.
22759 (check_longlong): Likewise.
22760 (cos_test): Use ERRNO_* flags for errno tests instead of
22761 check_int.
22762 (expm1_test): Likewise.
22763 (fmod_test): Likewise.
22764 (ilogb_test): Likewise.
22765 (lgamma_test): Likewise.
22766 (pow_test): Likewise.
22767 (remainder_test): Likewise.
22768 (sin_test): Likewise.
22769 (tan_test): Likewise.
22770 (yn_test): Likewise.
22771 (initialize): Set errno to 0.
22772 (main): Print number of errno tests.
22773 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22774
b1a36ceb
AJ
227752013-04-29 Andreas Jaeger <aj@suse.de>
22776
c3ed8088
AJ
22777 [BZ #15084]
22778 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22779 and RES_USEVC.
22780
f1a24198
AJ
22781 [BZ #15085]
22782 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22783 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22784 unimplemented.
22785
9ce3b2cb
AJ
22786 [BZ #15380]
22787 * stdlib/random.c (__initstate): Return NULL if
22788 __initstate fails.
22789
f1a24198 22790 [BZ #15086]
b1a36ceb
AJ
22791 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22792 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22793 RES_SNGLKUPREOP.
22794
7e7b6f36
AZ
227952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22796
22797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22798
4d14f449
JM
227992013-04-29 Joseph Myers <joseph@codesourcery.com>
22800
22801 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22802 of individual tests.
22803 (casin_test): Likewise.
22804 (casinh_test): Likewise.
22805
5b4217d7
JM
228062013-04-27 Joseph Myers <joseph@codesourcery.com>
22807
22808 [BZ #15409]
22809 * math/s_catan.c (__catan): Handle arguments with large real or
22810 imaginary part separately without squaring.
22811 * math/s_catanf.c (__catanf): Likewise.
22812 * math/s_catanh.c (__catanh): Likewise.
22813 * math/s_catanhf.c (__catanhf): Likewise.
22814 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22815 and redefine.
22816 (__catanhl): Handle arguments with large real or imaginary part
22817 separately without squaring.
22818 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22819 and redefine.
22820 (__catanl): Handle arguments with large real or imaginary part
22821 separately without squaring.
22822 * math/libm-test.inc (catan_test): Add more tests.
22823 (catanh_test): Likewise.
22824 * sysdeps/i386/fpu/libm-test-ulps: Update.
22825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22826
4220c3ef
AJ
228272013-04-27 Andreas Jaeger <aj@suse.de>
22828
22829 [BZ #15007]
22830 * stdlib/stdlib.h: Update guards for qecvt.
22831 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22832 <stdlib.h>.
22833
4721b2d1
AM
228342013-04-27 Allan McRae <allan@archlinux.org>
22835
22836 * sysdeps/i386/fpu/libm-test-ulps: Update.
22837
f0302940
JM
228382013-04-26 Joseph Myers <joseph@codesourcery.com>
22839
9457fd95
JM
22840 [BZ #15406]
22841 * math/s_catan.c: Include <float.h>.
22842 (__catan): Ensure underflow exception occurs for underflowed
22843 result.
22844 * math/s_catanf.c: Include <float.h>.
22845 (__catanf): Ensure underflow exception occurs for underflowed
22846 result.
22847 * math/s_catanh.c: Include <float.h>.
22848 (__catanh): Ensure underflow exception occurs for underflowed
22849 result.
22850 * math/s_catanhf.c: Include <float.h>.
22851 (__catanhf): Ensure underflow exception occurs for underflowed
22852 result.
22853 * math/s_catanhl.c: Include <float.h>.
22854 (__catanhl): Ensure underflow exception occurs for underflowed
22855 result.
22856 * math/s_catanl.c: Include <float.h>.
22857 (__catanl): Ensure underflow exception occurs for underflowed
22858 result.
22859 * math/libm-test.inc (catan_test): Add more tests.
22860 (catanh_test): Likewise.
22861
f0302940
JM
22862 [BZ #15405]
22863 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22864 underflowed result.
22865 * math/s_ccoshf.c (__ccoshf): Likewise.
22866 * math/s_ccoshl.c (__ccoshl): Likewise.
22867 * math/s_csin.c (__csin): Likewise.
22868 * math/s_csinf.c (__csinf): Likewise.
22869 * math/s_csinh.c (__csinh): Likewise.
22870 * math/s_csinhf.c (__csinhf): Likewise.
22871 * math/s_csinhl.c (__csinhl): Likewise.
22872 * math/s_csinl.c (__csinl): Likewise.
22873 * math/libm-test.inc (ccos_test): Add more tests.
22874 (ccosh_test): Likewise.
22875 (csin_test): Likewise.
22876 (csinh_test): Likewise.
22877
aa630f59
AZ
228782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22879
22880 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22881 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22882 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22883 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22884 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22885 powerpc/power5+/fpu folders.
22886 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22887
22888
1b835983
MT
228892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22890
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22892
73709b26
JM
228932013-04-25 Joseph Myers <joseph@codesourcery.com>
22894
22895 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22896 additions to variable.
22897 [$(config-machine) = x86_64] (modules-names): Likewise.
22898 ($(objpfx)tst-audit3): Remove dependency.
22899 ($(objpfx)tst-audit3.out): Likewise.
22900 ($(objpfx)tst-audit4): Likewise.
22901 ($(objpfx)tst-audit4.out): Likewise.
22902 ($(objpfx)tst-audit5): Likewise.
22903 ($(objpfx)tst-audit5.out): Likewise.
22904 ($(objpfx)tst-audit6): Likewise.
22905 ($(objpfx)tst-audit6.out): Likewise.
22906 ($(objpfx)tst-audit7): Likewise.
22907 ($(objpfx)tst-audit7.out): Likewise.
22908 (tst-audit3-ENV): Remove variable.
22909 (tst-audit4-ENV): Likewise.
22910 (tst-audit5-ENV): Likewise.
22911 (tst-audit6-ENV): Likewise.
22912 (tst-audit7-ENV): Likewise.
22913 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22914 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22915 addition to variable.
22916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22917 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22918 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22919 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22920 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22921 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22922 tst-audit3, tst-audit4 and tst-audit5.
22923 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22924 tst-audit6 and tst-audit7.
22925 [$(subdir) = elf] (modules-names): Add audit modules for those
22926 tests.
22927 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22928 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22929 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22930 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22931 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22932 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22933 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22934 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22935 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22936 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22937 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22938 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22939 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22940 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22941 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22942 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22943 Likewise.
22944 [$(subdir) = elf && $(config-cflags-avx) = yes]
22945 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22946 [$(subdir) = elf && $(config-cflags-avx) = yes]
22947 (CFLAGS-tst-auditmod4a.c): Likewise.
22948 [$(subdir) = elf && $(config-cflags-avx) = yes]
22949 (CFLAGS-tst-auditmod4b.c): Likewise.
22950 [$(subdir) = elf && $(config-cflags-avx) = yes]
22951 (CFLAGS-tst-auditmod6b.c): Likewise.
22952 [$(subdir) = elf && $(config-cflags-avx) = yes]
22953 (CFLAGS-tst-auditmod6c.c): Likewise.
22954 [$(subdir) = elf && $(config-cflags-avx) = yes]
22955 (CFLAGS-tst-auditmod7b.c): Likewise.
22956 * elf/tst-audit3.c: Move to ...
22957 * sysdeps/x86_64/tst-audit3.c: ... here.
22958 * elf/tst-audit4.c: Move to ...
22959 * sysdeps/x86_64/tst-audit4.c: ... here.
22960 * elf/tst-audit5.c: Move to ...
22961 * sysdeps/x86_64/tst-audit5.c: ... here.
22962 * elf/tst-audit6.c: Move to ...
22963 * sysdeps/x86_64/tst-audit6.c: ... here.
22964 * elf/tst-audit7.c: Move to ...
22965 * sysdeps/x86_64/tst-audit7.c: ... here.
22966 * elf/tst-auditmod3a.c: Move to ...
22967 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22968 * elf/tst-auditmod3b.c: Move to ...
22969 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22970 * elf/tst-auditmod4a.c: Move to ...
22971 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22972 * elf/tst-auditmod4b.c: Move to ...
22973 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22974 * elf/tst-auditmod5a.c: Move to ...
22975 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22976 * elf/tst-auditmod5b.c: Move to ...
22977 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22978 * elf/tst-auditmod6a.c: Move to ...
22979 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22980 * elf/tst-auditmod6b.c: Move to ...
22981 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22982 * elf/tst-auditmod6c.c: Move to ...
22983 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22984 * elf/tst-auditmod7a.c: Move to ...
22985 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22986 * elf/tst-auditmod7b.c: Move to ...
22987 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22988
1ef74943
PP
229892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22990
22991 [BZ #15366]
22992 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22993 define unconditionally.
22994 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22995 define unconditionally.
22996 (INT8_C, INT16_C, etc.): Likewise.
22997
93fd48c5
MR
229982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22999
ae9552cf
MR
23000 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23001 __ehdr_start with hidden visibility.
23002
93fd48c5
MR
23003 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23004
418601aa
CD
230052013-04-24 Carlos O'Donell <carlos@redhat.com>
23006
23007 * math/libm-test.inc (cos_test): Use accurate hex constants.
23008 (sincost_test): Likewise.
23009
2f38fbfe
JM
230102013-04-24 Joseph Myers <joseph@codesourcery.com>
23011
5e221800
JM
23012 * math/libm-test.inc (catan_test): Add more tests.
23013 (catanh_test): Likewise.
23014
77f143fd
JM
23015 * math/s_catanf.c (__catanf): Use suffixed floating-point
23016 constants.
23017 * math/s_catanhf.c (__catanhf): Likewise.
23018 * math/s_catanhl.c (__catanhl): Likewise.
23019 * math/s_catanl.c (__catanl): Likewise.
23020
2f38fbfe
JM
23021 [BZ #15394]
23022 * math/s_catan.c (__catan): Calculate imaginary part of result
23023 with log1p not log unless computing log of number close to 0.
23024 * math/s_catanf.c (__catanf): Likewise.
23025 * math/s_catanl.c (__catanl): Likewise.
23026 * math/s_catanh.c (__catanh): Calculate real part of result with
23027 log1p not log unless computing log of number close to 0.
23028 * math/s_catanhf.c (__catanhf): Likewise.
23029 * math/s_catanhl.c (__catanhl): Likewise.
23030 * math/libm-test.inc (catan_test): Add more tests.
23031 (catanh_test): Likewise.
23032 * sysdeps/i386/fpu/libm-test-ulps: Update.
23033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034
45d69176
SP
230352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23036
23037 * benchtests/Makefile: Mention files in which fast and slow
23038 paths of math functions are implemented.
23039
87f51853
RM
230402013-04-23 Roland McGrath <roland@hack.frob.com>
23041
23042 * sysdeps/posix/timespec_get.c: New file.
23043
3c026539
AZ
230442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23045
23046 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23047 POWER.
23048 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23049 for POWER.
23050 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23051 powerpc/power5/fpu folders.
23052 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23053 * benchtests/Makefile: Add modf testcase.
23054 * benchtests/bench-modf.c: New file: Benchmark test for mo
23055
ff491d14
SP
230562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23057
23058 [BZ #14888]
23059 * time/Makefile (tests): Add tst-strptime-whitespace.
23060 * time/strptime_l.c (get_number): Use ISSPACE.
23061 (__strptime_internal): Likewise.
23062 * time/tst-strptime-whitespace.c: New test case.
23063
7ed3f4e8
AS
230642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23065
23066 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23067 member.
23068 (_nss_files_init): Set it here.
23069
5c95f7b6
HC
230702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23071
23072 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23073 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23074 unsigned.
23075
d34c9158
JBG
230762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23077
23078 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23079
2169712d
SP
230802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23081
23082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23083 size just once.
23084
29c5de99
DM
230852013-04-21 David S. Miller <davem@davemloft.net>
23086
23087 * po/ru.po: Update Russion translation from translation project.
23088
ccdad15d
AC
230892013-04-17 Adam Conrad <adconrad@0c3.net>
23090
23091 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23092 and setfsgid.
23093
0f122b8d
CD
230942013-04-17 Carlos O'Donell <carlos@redhat.com>
23095
5c5b07da 23096 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 23097 * configure: Regenerate.
5c5b07da 23098 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
23099 Add example to error message.
23100 * sysdeps/i386/configure: Regenerate.
23101
037714dd
SP
231022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23103
23104 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23105 slowtan.
23106 * benchtests/cos-inputs: New file.
23107 * benchtests/slowcos-inputs: New file.
23108 * benchtests/slowcos.c: New file.
23109 * benchtests/slowtan-inputs: New file.
23110 * benchtests/slowtan.c: New file.
23111 * benchtests/tan-inputs: New file.
23112
e913141d
RM
231132013-04-16 Roland McGrath <roland@hack.frob.com>
23114
23115 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23116 considered kosher.
23117
a2964074
SP
231182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23119
4856bcd2
SP
23120 * benchtests/Makefile: Include cppflags-iterator.mk to add
23121 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23122
a2964074
SP
23123 * Makefile.in (bench-clean): New target.
23124 * benchtests/Makefile (bench-clean): Likewise.
23125
9fbf9aca
DH
231262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23127
23128 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23129
207d1e2a
TS
231302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23131
23132 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23133
306dfba9
AS
231342013-04-15 Andreas Schwab <schwab@suse.de>
23135
23136 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23138 * nscd/pwdcache.c (cache_addpw): Likewise.
23139 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23140 more than recsize.
23141
206a6699
SP
231422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23143
23144 * benchtests/Makefile (bench): Write all output to
23145 bench-out.tmp together.
23146
0582f6b3
AS
231472013-04-15 Andreas Schwab <schwab@suse.de>
23148
23149 * nscd/nscd.c (main): Don't fork again after closing files.
23150
acb4325f
SP
231512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23152
5cb26d0a
SP
23153 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23154
acb4325f
SP
23155 * benchtests/Rules (bench-deps): Collect dependencies into a
23156 single variable. Add Makefile to dependencies.
23157 ($(objpfx)bench-%.c): Depend on bench-deps.
23158
47792506
RM
231592013-04-12 Roland McGrath <roland@hack.frob.com>
23160 Xavier Roche <roche+kml2@exalead.com>
23161
23162 [BZ #15361]
23163 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23164 just that it's a file descriptor.
23165 * manual/llio.texi (Synchronizing AIO Operations): Update description
23166 for EBADF error from aio_fsync.
23167
8fc1bee5
SP
231682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23169
23170 * Rules (bench): Move target definition...
23171 * benchtests/Makefile: ... here.
23172
aba5e333
CD
231732013-04-11 Carlos O'Donell <carlos@redhat.com>
23174
23175 * math/libm-test.inc (cos_test): Fix PI/2 test.
23176 (sincos_test): Likewise.
23177 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23178 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23179
273cdee8
AS
231802013-04-11 Andreas Schwab <schwab@suse.de>
23181
6ecec3b6
AS
23182 [BZ #13988]
23183 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23184 accept exponent character only when digits were seen.
23185 * stdio-common/Makefile (tests): Add bug26.
23186 * stdio-common/bug26.c: New file.
23187
273cdee8
AS
23188 [BZ #14293]
23189 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23190 non-freeable.
23191
8da491f5
SP
231922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23193
01dc6df9
SP
23194 * Makeconfig (rtld-prefix): Define built linker prefix.
23195 * Rules (run-bench): Use it.
23196 * math/Makefile (run-regen-ulps): Likewise.
23197
8da491f5
SP
23198 * Rules (bench): Remove eval.
23199
abe7f530
SP
232002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23201 Roland McGrath <roland@hack.frob.com>
23202 Ondrej Bilka <neleai@seznam.cz>
23203
23204 [BZ #15346]
23205 * time/getdate.c: Include ctype.h and alloca.h.
23206 (__getdate_r): Trim leading and trailing spaces of input.
23207 * time/tst-getdate.c (tests): Add tests with leading and
23208 trailing spaces.
23209
61c23e62
RM
232102013-04-08 Roland McGrath <roland@hack.frob.com>
23211
23212 [BZ #14280]
23213 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23214 when computing value.
23215
7208a313
CD
232162013-04-06 Carlos O'Donell <carlos@redhat.com>
23217
085b2d41
CD
23218 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23219 Use testrun.sh to run libm tests.
23220
7208a313
CD
23221 [BZ #15309]
23222 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23223
872c0acd
MM
232242013-04-06 Marko Myllynen <myllynen@redhat.com>
23225
23226 [BZ #15264]
23227 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23228
26510bdd
CD
232292013-04-06 Carlos O'Donell <carlos@redhat.com>
23230
23231 * Makefile.in (regen-ulps): New target.
23232 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23233 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23234 [ifneq (no,$(PERL)] (regen-ulps): New target.
23235 [ifeq (no,$(PERL)] (regen-ulps): New target.
23236 * math/libm-test.inc (ulps_file_name): Define.
23237 (output_dir): New variable.
23238 (options): Add "output-dir" option.
23239 (parse_opt): Handle 'o' case.
23240 (main): If output_dir is non-NULL use it as a prefix
23241 otherwise use "".
23242 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23243
a01f19c8
CD
232442013-04-06 Carlos O'Donell <carlos@redhat.com>
23245
23246 [BZ #10060, #10062]
23247 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23248 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23249 fail configure if __sync_val_compare_and_swap is not inlined.
23250 * sysdeps/i386/configure: Regenerate.
23251 * configure.in: Build for i686 when configured for i386.
23252 * configure: Regenerate.
23253 * README: Remove i386 reference.
23254
b7a329a5
CD
232552013-04-06 Carlos O'Donell <carlos@redhat.com>
23256
23257 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23258 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23259
bf0f50df
TS
232602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23261
ee091edf
TS
23262 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23263 (lmsnanval): New variables.
23264 (F): Add conversion tests.
23265 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23266 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23267
a8b792d6
TS
23268 * stdio-common/tstdiomisc.c (F): Properly collect individual
23269 tests' results.
23270
a1cbf437
TS
23271 [BZ #14686, #15336]
23272 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23273 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23274 Instead, use input NaN values or generate a qNaN by arithmetic
23275 operation. Also fix bugs to comply with the standard.
23276 * math/libm-test.inc (remainder_test): Add more tests.
23277
8b43a0c9
TS
23278 [BZ #15335, #15342]
23279 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23281 input NaN values or generate a qNaN by arithmetic operation.
23282
d91da4ce
TS
23283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23284 unreachable code.
23285
bf0f50df
TS
23286 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23287 definitions.
23288
05e166c8
JM
232892013-04-03 Joseph Myers <joseph@codesourcery.com>
23290
23291 [BZ #14478]
23292 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23293 underflowed result.
23294 * math/s_cexpf.c (__cexpf): Likewise.
23295 * math/s_cexpl.c (__cexpl): Likewise.
23296 * math/libm-test.inc (cexp_test): Add more tests.
23297
1cef1b19
AS
232982013-04-03 Andreas Schwab <schwab@suse.de>
23299
23300 [BZ #15330]
23301 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23302 order arrays from heap if bigger than alloca cutoff.
23303
74d87055
TS
233042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23305
23306 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23307 (SNAN_TESTS_double): Refer to GCC PR56831.
23308 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23309 GCC PR56828.
23310
d755bba4
SP
233112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23312
90d5d5bb
SP
23313 * Rules (bench): Move bench.out after the run is complete.
23314
73e0cd5d
SP
23315 * Rules (bench): Echo currently running benchmark.
23316
64aabd4b
SP
23317 * benchtests/Makefile (bench): Add atan and slowatan.
23318 * benchtests/atan-inputs: New file.
23319 * benchtests/slowatan-inputs: New file.
23320 * benchtests/slowatan.c: New file.
23321
c871eccd
SP
23322 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23323 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23324 its value.
23325
d755bba4
SP
23326 [BZ #15305]
23327 * sysdeps/unix/sysv/linux/kernel-features.h
23328 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23329 __ASSUME_XFS_RESTRICTED_CHOWN.
23330 * sysdeps/unix/sysv/linux/pathconf.c
23331 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23332 Save and restore errno.
23333
52ce4860
JM
233342013-04-02 Joseph Myers <joseph@codesourcery.com>
23335
23336 [BZ #15327]
23337 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23338 arguments using __kernel_casinh.
23339 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23340 arguments using __kernel_casinhf.
23341 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23342 arguments using __kernel_casinhl.
23343 * math/libm-test.inc (cacosh_test): Add more tests.
23344 * sysdeps/i386/fpu/libm-test-ulps: Update.
23345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23346
81f311c2
SP
233472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23348
e7906a47
SP
23349 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23351
92e3664b
SP
23352 * bench/Makefile (bench): Add sin and slowsin.
23353 * benchtests/sin-inputs: New file.
23354 * benchtests/slowsin-inputs: New file.
23355 * benchtests/slowsin.c: New file.
23356
81f311c2
SP
23357 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23358 (bench): Add slowexp and slowpow.
23359 (exp-ITER): Increase iterations.
23360 (pow-ITER): Likewise.
23361 * benchtests/exp-inputs: Change input.
23362 * benchtests/pow-inputs: Likewise.
23363 * benchtests/slowexp-inputs: New file.
23364 * benchtests/slowexp.c: New file.
23365 * benchtests/slowpow-inputs: New file.
23366 * benchtests/slowpow.c: New file.
23367
ab0f1aa9
AZ
233682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369
23370 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23371 instructions.
23372 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23373 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23375 * benchtests/Makefile: Add rint benchtest.
23376 * benchtests/rint-inputs: Input for rint benchtest.
23377
57267616
TS
233782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23379
23380 * Versions.def (libm): Add GLIBC_2.18.
23381 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23382 hidden libm prototypes.
23383 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23384 * math/Makefile (libm-calls): Add s_issignaling.
23385 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23386 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23387 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23388 declaration.
23389 * math/math.h [__USE_GNU] (issignaling): New macro.
23390 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23391 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23396 * manual/arith.texi (issignaling): New section.
23397 * manual/libm-err-tab.pl (@all_functions): Update comment.
23398 * math/gen-libm-test.pl (parse_args): Apply special handling for
23399 issignaling.
23400 * math/libm-test.inc (print_float, issignaling_test): New
23401 functions.
23402 (check_float_internal): Add issignaling checks.
23403 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23404 default definition.
23405 * sysdeps/powerpc/math-tests.h: New file.
23406 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23407 tests.
23408 * math/test-snan.c (TEST_FUNC): Likewise.
23409
6142896d
DM
234102013-03-30 David S. Miller <davem@davemloft.net>
23411
23412 * po/de.po: Update from translation team.
23413
ccc8cadf
JM
234142013-03-30 Joseph Myers <joseph@codesourcery.com>
23415
23416 [BZ #10357]
23417 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23418 imaginary part less than 1.0 and real part less than 0.5
23419 specially.
23420 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23421 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23422 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23423 (cacos_test): Add more tests.
23424 (casin_test): Likewise.
23425 (casinh_test): Likewise.
23426 * sysdeps/i386/fpu/libm-test-ulps: Update.
23427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23428
0f6a8d4b
SP
234292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23430
0d1029de
SP
23431 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23432 ONE with its value.
23433
c2d94018
SP
23434 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23435 (__pow_mp): Replace ONE and MONE with their values.
23436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23438 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23439 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23440 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23442
27ec37f1
SP
23443 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23444
a64d7e0e
SP
23445 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23446 (__pow_mp): Replace ZERO and MZERO with their values.
23447 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23448 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23449 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23450 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23451 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23452 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23453 (__sqr): Likewise.
23454
d26dd3eb
SP
23455 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23456
0f6a8d4b
SP
23457 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23458
e57b0c61
RM
234592013-03-28 Roland McGrath <roland@hack.frob.com>
23460
23461 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23462 Declare with __attribute__ ((weak)).
23463 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23464 Call __call_tls_dtors only if it's not NULL.
23465
356b3480
RM
234662013-03-28 Roland McGrath <roland@hack.frob.com>
23467
288f7d79
RM
23468 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23469 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23470 magic __ehdr_start linker symbol if it's defined.
23471 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23472 them up here if it was already done.
23473
dc0a0263
RM
23474 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23475 (_dl_aux_init): Use const in cast when setting it.
23476 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23477 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23478 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23479
3d3436ae
RM
23480 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23481 Declare them here.
23482 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23483 * csu/libc-tls.c: Nor here.
23484 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23485
356b3480
RM
23486 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23487 (__libc_message): Never call vsyslog.
23488
b0f1246a
AM
234892013-03-28 Alan Modra <amodra@gmail.com>
23490
23491 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23492 Define as empty.
23493 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23494 Likewise.
23495
fbbe2b9a
AZ
234962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23497
23498 [BZ #15214]
23499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23500 underflow.
23501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23502
1728ab37
SP
235032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23504
7a86be6e
SP
23505 [BZ #15304]
23506 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23507 Don't add gid passed as argument.
23508
1728ab37
SP
23509 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23510
3a7182a1
JM
235112013-03-27 Joseph Myers <joseph@codesourcery.com>
23512
23513 [BZ #15307]
23514 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23515 imaginary part between 1.0 and 1.5 and real part less than 0.5
23516 specially.
23517 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23518 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23519 * math/libm-test.inc (cacos_test): Add more tests.
23520 (casin_test): Likewise.
23521 (casinh_test): Likewise.
23522 * sysdeps/i386/fpu/libm-test-ulps: Update.
23523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23524
6f2e90e7
SP
235252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23526
5739f705
SP
23527 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23528 constants.
23529 (norm): Likewise.
23530 (denorm): Likewise.
23531 (__dbl_mp): Likewise.
23532 (add_magnitudes): Likewise.
23533 (sub_magnitudes): Likewise.
23534 (__add): Likewise.
23535 (__sub): Likewise.
23536 (__mul): Likewise.
23537 (__sqr): Likewise.
23538 (__inv): Likewise.
23539 (__dvd): Likewise.
23540
e375e83d
SP
23541 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23542 commented code.
23543 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23544 (__dubcos): Likewise.
23545 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23546 (__ieee754_acos): Likewise.
23547 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23548 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23549 (__exp1): Likewise.
23550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23552 (log1): Likewise.
23553 (my_log2): Likewise.
23554 (checkint): Likewise.
23555 * sysdeps/ieee754/dbl-64/e_remainder.c
23556 (__ieee754_remainder): Likewise.
23557 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23559 (bsloww): Likewise.
23560 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23561
6f2e90e7
SP
23562 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23563 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23564 MANTISSA_STORE_T to store computations on mantissa. Use
23565 macros for rounding and division.
23566 (denorm): Likewise.
23567 (__dbl_mp): Likewise.
23568 (add_magnitudes): Likewise.
23569 (sub_magnitudes): Likewise.
23570 (__mul): Likewise.
23571 (__sqr): Likewise.
23572 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23573 powers of two in terms of TWOPOW macro.
23574 (mp_no): Make type of mantissa as MANTISSA_T.
23575 [!RADIXI]: Define RADIXI.
23576 [!TWO52]: Define TWO52.
23577 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23578
fce14d4e
AZ
235792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23580
23581 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23582 llroundl symbol when building for PPC32.
23583
9ad027fb
MW
235842013-03-24 Mark H Weaver <mhw@netris.org>
23585
23586 * manual/arith.texi (Normalization Functions): Fix prototypes for
23587 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23588
e42a38dd
AZ
235892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23590
23591 [BZ #13889]
23592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23593 high value to check if expl overflow.
23594 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23595 to check for underflow and overflow.
23596 * math/libm-test.inc: Add exp test.
23597
2e0fb521
DL
235982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23599
23600 [BZ #11120]
23601 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23602 with NOT_IN_libc.
23603
b5784d95
AZ
236042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23605
23606 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23607 symbol.
23608
5aa4a1a1
TS
236092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23610
bdef0be7
TS
23611 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23612 wrap blocks consisting of several statements.
23613
5aa4a1a1
TS
23614 * sysdeps/generic/math-tests.h: New file.
23615 * sysdeps/i386/fpu/math-tests.h: Likewise.
23616 * math/test-snan.c: Include it.
23617 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23618
98c48fe5
JM
236192013-03-21 Joseph Myers <joseph@codesourcery.com>
23620
23621 [BZ #15285]
23622 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23623 (__ieee754_j0l): Do not improve calculations using cos of twice
23624 input for inputs above LDBL_MAX / 2.0L.
23625 (__ieee754_y0l): Likewise.
23626 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23627 (__ieee754_j1l): Do not improve calculations using cos of twice
23628 input for inputs above LDBL_MAX / 2.0L.
23629 (__ieee754_y1l): Likewise.
23630 * math/libm-test.inc (j0_test): Add another test.
23631 (j1_test): Likewise.
23632 (y0_test): Likewise.
23633 (y1_test): Likewise.
23634 * sysdeps/i386/fpu/libm-test-ulps: Update.
23635
3775a8bc
SP
236362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23637
23638 * Rules ($(objpfx)bench-%.c): Include code from a C source
23639 file.
23640
0a1b2ae6
JM
236412013-03-21 Joseph Myers <joseph@codesourcery.com>
23642
23643 [BZ #15287]
23644 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23645 imaginary part 1.0 and real part less than 0.5 specially.
23646 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23647 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23648 * math/libm-test.inc (cacos_test): Add more tests.
23649 (casin_test): Likewise.
23650 (casinh_test): Likewise.
23651 * sysdeps/i386/fpu/libm-test-ulps: Update.
23652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23653
b33d4ce4
SP
236542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23655
23656 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23657 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23658
bef0b507
JM
236592013-03-20 Joseph Myers <joseph@codesourcery.com>
23660
23661 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23662 * config.make.in (config-cflags-sse4): Remove variable.
23663 (config-cflags-avx): Likewise.
23664 (config-cflags-sse2avx): Likewise.
23665 (config-cflags-novzeroupper): Likewise.
23666 (config-asflags-i686): Likewise.
23667 (have-mfma4): Likewise.
23668 (have-as-vis3): Likewise.
23669 (MIG): Likewise.
23670 * configure.in (MIG): Do not AC_SUBST.
23671 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23672 (libc_cv_cc_sse4): Do not AC_SUBST.
23673 (libc_cv_cc_avx): Likewise.
23674 (libc_cv_cc_sse2avx): Likewise.
23675 (libc_cv_cc_novzeroupper): Likewise.
23676 (libc_cv_cc_fma4): Likewise.
23677 (libc_cv_as_i686): Likewise.
23678 (libc_cv_sparc_as_vis3): Likewise.
23679 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23680 LIBC_CONFIG_VAR.
23681 (config-asflags-i686): Likewise.
23682 (config-cflags-avx): Likewise.
23683 (config-cflags-sse2avx): Likewise.
23684 (have-mfma4): Likewise.
23685 (config-cflags-novzeroupper): Likewise.
23686 * sysdeps/mach/configure.in (MIG): Likewise.
23687 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23688 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23689 LIBC_CONFIG_VAR.
23690 (config-cflags-avx): Likewise.
23691 (config-cflags-sse2avx): Likewise.
23692 (have-mfma4): Likewise.
23693 (config-cflags-novzeroupper): Likewise.
23694 * configure: Regenerated.
23695 * sysdeps/i386/configure: Likewise.
23696 * sysdeps/mach/configure: Likewise.
23697 * sysdeps/sparc/configure: Likewise.
23698 * sysdeps/x86_64/configure: Likewise.
23699
912cc4b3
RM
237002013-03-20 Roland McGrath <roland@hack.frob.com>
23701
23702 [BZ #14812]
23703 * locale/programs/localedef.c (options): Put N_ translation marker
23704 on argument names, not just descriptions.
23705
04eed2b0
MS
237062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23707
23708 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23709
a065ceff
OB
237102013-03-20 Ondřej Bílka <neleai@seznam.cz>
23711
9bb2a810 23712 [BZ #14176]
a065ceff
OB
23713 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23714
a600e5ce
RM
237152013-03-19 Roland McGrath <roland@hack.frob.com>
23716
23717 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23718 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23719 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23720 [!BEFORE_ABORT] (before_abort): New function.
23721 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23722 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23723 (writev_for_fatal): New function.
23724 (WRITEV_FOR_FATAL): New macro; call that.
23725 (backtrace_and_maps): New function.
23726 (BEFORE_ABORT): New macro; call that.
23727 (struct str_list): Type removed.
23728 (__libc_message, __libc_fatal): Functions removed.
23729 Include <sysdeps/posix/libc_fatal.c> instead.
23730
6b18bea6
JM
237312013-03-19 Joseph Myers <joseph@codesourcery.com>
23732
23733 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23734 constants.
23735 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23736 double constants.
23737
aaa8cb4b
AS
237382013-03-19 Andreas Schwab <schwab@suse.de>
23739
44673770
AS
23740 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23741 * sysdeps/gnu/configure: Regenerate.
23742
aaa8cb4b
AS
23743 * configure.in: Substitute libc_cv_rtlddir.
23744 * configure: Regenerate.
23745 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23746 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23747 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23748 * elf/Makefile (install-others, CFLAGS-interp.c)
23749 (ldso_install, common-ldd-rewrite): Likewise.
23750 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23751 $(inst_slibdir)/$(rtld-installed-name).
23752 * scripts/rellns-sh: Add -p option.
23753 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23754 for source.
23755
d3cfc668
SP
237562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23757
23758 * manual/nptl.texi: Renamed to ...
23759 * manual/threads.texi: ... this.
23760 * manual/Makefile (chapters): Update.
23761
0e2b9cdd
RM
237622013-03-18 Roland McGrath <roland@hack.frob.com>
23763
23764 [BZ #14812]
23765 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23766 on argument names, not just descriptions.
0e2b9cdd
RM
23767 * malloc/memusagestat.c (options): Likewise.
23768 * nss/getent.c (options): Likewise.
63270c24
RM
23769
237702013-03-18 Benno Schulenberg <bensberg@justemail.net>
23771
23772 [BZ #14812]
23773 * iconv/iconv_prog.c (options): Put N_ translation marker
23774 on argument names, not just descriptions.
23775 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 23776
b2e1393c
OB
237772013-03-18 Ondrej Bilka <neleai@seznam.cz>
23778
23779 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23780 implementation which is faster on all x86_64 architectures.
23781 Tested on AMD, Intel Nehalem, SNB, IVB.
23782 * sysdeps/x86_64/strnlen.S: Likewise.
23783
23784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23785 Remove all multiarch strlen and strnlen versions.
23786 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23787 Remove strlen and strnlen related parts.
23788
23789 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23790 Inline strlen part.
23791 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23792
23793 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23794 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23795 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23796 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23797 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23798 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23799
ec4ff04d
CD
238002013-03-17 Carlos O'Donell <carlos@redhat.com>
23801
23802 * manual/memory.texi (Malloc Tunable Parameters):
23803 Sort parameters alphabetically. Add comments for missing entries.
23804
cd18e90a
DM
238052013-03-17 David S. Miller <davem@davemloft.net>
23806
23807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23808
2a185d32
JM
238092013-03-16 Joseph Myers <joseph@codesourcery.com>
23810
d2f9799e
JM
23811 [BZ #15283]
23812 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23813 for arguments at most half maximum finite value.
23814 * math/libm-test.inc (j0_test): Add more tests.
23815 (j1_test): Likewise.
23816 (y0_test): Likewise.
23817 (y1_test): Likewise.
23818 * sysdeps/i386/fpu/libm-test-ulps: Update.
23819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23820
2a185d32
JM
23821 [BZ #14155]
23822 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23823 1 / x and functions P and Q for arguments above 0x1p256L.
23824 (__ieee754_y0l): Likewise.
23825 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23826 (__ieee754_y1l): Likewise.
23827 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23828 (j1_test): Likewise.
23829 (y0_test): Likewise.
23830 (y1_test): Likewise.
23831
6cbec759
TS
238322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23833
23834 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23835 variable.
23836
bc16e260
RM
238372013-03-15 Roland McGrath <roland@hack.frob.com>
23838
aefc9b8c
RM
23839 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23840 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23841 zero since it's initialized to EXEC_PAGESIZE.
23842
bc16e260
RM
23843 * sysdeps/unix/sysv/linux/ldsodefs.h
23844 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23845 * sysdeps/generic/ldsodefs.h: ... here.
23846
a57da955
TS
238472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23848
af00a34d
TS
23849 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23850
495ded2c
TS
23851 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23852 math/test-snan.c.
23853 * math/test-snan.c: Renamed from
23854 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23855 * math/Makefile (tests): Add test-snan.
23856 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23857 test-powerpc-snan.
23858
777b0332
TS
23859 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23860 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23861 functions.
23862 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23863 __builtin_nan family of functions.
23864 * math/libm-test.inc (initialize): Initialize qnan_value with
23865 __builtin_nan family of functions.
23866 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23867 Remove variables.
23868 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23869 Remove functions.
23870 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23871 storage class. Initialize qNaN_var and sNaN_var with
23872 __builtin_nan and __builtin_nans families of functions,
23873 respectively.
23874
64d063b8
TS
23875 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23876 (sqrt_test): Remove duplicate test with qNaN input.
23877 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23878 (round_test, signbit_test, significand_test): Note missing +/-Inf
23879 as well as qNaN tests.
23880
67e971f1
TS
23881 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23882 qNaN_var. Fix a few strings, too.
23883 * math/libm-test.inc (nan_value): Rename to qnan_value.
23884 * math/gen-libm-test.pl (%beautify): Adjust to that.
23885 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23886 * math/test-misc.c (main): Likewise.
23887 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23888 to __qnan_bytes, and __qnan_union, respectively.
23889 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23890 Likewise.
23891 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23892 and lqnanval, respectively.
23893 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23894 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23896 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23897
64487e12
TS
23898 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23899 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23900 doubles.
23901
e015e27b
TS
23902 * math/test-misc.c (main): Fix copy'n'pastos.
23903 * misc/tst-efgcvt.c (special): Likewise.
23904
a57da955
TS
23905 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23906 Remove declarations.
23907
1e380345
SP
239082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23909
23910 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23911 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23912 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23913 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23914
ef26eece
AZ
239152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23916
23917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23918 macro to return vdso values correctly in IFUNC implementations.
23919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23920 Optimization by using IFUNC.
23921
8cfdb7e0
SP
239222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23923 Richard Henderson <rth@redhat.com>
23924 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23925
23926 * Makefile.in (bench): New target.
23927 * NEWS: Mention the benchmark framework.
23928 * Rules (bench): Likewise.
23929 (binaries-bench): Generate binaries for functions to
23930 benchmark.
23931 * benchtests/Makefile: New makefile for benchmark tests.
23932 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23933 programs.
23934 * benchtests/exp-inputs: New input file for EXP function.
23935 * benchtests/pow-inputs: New input file for POW function.
23936 * scripts/bench.pl: New script to generate source files for
23937 benchmark programs.
23938
bcda9880
SP
239392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23940
d22ca8cd
SP
23941 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23942 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23943 computations on mantissa. Use macros for rounding and
23944 division.
23945 (denorm): Likewise.
23946 (__dbl_mp): Likewise.
23947 (add_magnitudes): Likewise.
23948 (sub_magnitudes): Likewise.
23949 (__mul): Likewise.
23950 (__sqr): Likewise.
23951 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23952 powers of two in terms of TWOPOW macro.
23953 (mp_no): Make type of mantissa as MANTISSA_T.
23954 [!RADIXI]: Define RADIXI.
23955 [!TWO52]: Define TWO52.
23956 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23957
bcda9880
SP
23958 * manual/nptl.texi (cindex): Modify threads to pthreads.
23959
06d5adfb
JM
239602013-03-15 Joseph Myers <joseph@codesourcery.com>
23961
23962 * sysdeps/x86_64/preconfigure: Regenerated.
23963
41c7328e
JM
239642013-03-14 Joseph Myers <joseph@codesourcery.com>
23965
23966 [BZ #14155]
23967 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23968 0x1p28 and above.
23969 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23970 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23971 0x1p28 and above.
23972 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23973 * math/libm-test.inc (j0_test): Do not allow one spurious
23974 underflow exception.
23975 (y1_test): Likewise.
23976
e25cfa60
SP
239772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23978
0409959c
SP
23979 * manual/Makefile (chapters): Add nptl.
23980 * manual/debug.texi (Debugging Support): Add link to Threads
23981 chapter.
23982 * manual/nptl.texi: New file.
23983
e25cfa60
SP
23984 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23985
58a1335e
PB
239862013-03-14 Petr Baudis <pasky@ucw.cz>
23987
23988 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23989 for non-NULL pointer before the memory validity test. Pointed
23990 out by Holger Brunck <holger.brunck@keymile.com>.
23991
9dc7c64f
AS
239922013-03-13 Andreas Schwab <schwab@suse.de>
23993
23994 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23995 instead of .os.
23996
54206aa6
JM
239972013-03-13 Joseph Myers <joseph@codesourcery.com>
23998
23999 * timezone/zic.c: Update from tzcode 2013b.
24000
e98cdb38
CD
240012013-03-12 Carlos O'Donell <carlos@redhat.com>
24002
24003 * manual/install.texi (Configuring and compiling):
24004 Mention i686 and i586.
24005 * INSTALL: Regenerate.
24006
9967e003
RM
240072013-03-12 Roland McGrath <roland@hack.frob.com>
24008
24009 * sysdeps/init_array/elf-init.c: New file.
24010 * csu/elf-init.c
24011 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24012 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24013
24014 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24015 __gmon_start__ as global, but as static with a .preinit_array pointer.
24016 * sysdeps/init_array/gmon-start.c: New file. Use that.
24017 * sysdeps/init_array/crti.S: New file, empty except for comments.
24018 * sysdeps/init_array/crtn.S: Likewise.
24019
e6b5a293 240202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
24021
24022 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24023 definining bcopy.
80f844c9
OB
24024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24025 Remove Prefer_SSE_for_memop.
24026 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24027 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24028 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
24029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24030 memset-x86-64.
80f844c9 24031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 24032 Remove bzero, memset ifunc support.
80f844c9
OB
24033 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24034 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24035 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24036 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24037
fb6b0fcb
AS
240382013-03-11 Andreas Schwab <schwab@suse.de>
24039
24040 [BZ #15234]
24041 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24042 by SHLIB_COMPAT.
24043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24044 (GLIBC_2.16): Remove pthread_atfork.
24045
3e6bd4b1
PP
240462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24047
24048 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24049 (ptestcases.h): Likewise.
24050
222d7f00
RM
240512013-03-08 Roland McGrath <roland@hack.frob.com>
24052
24053 * Makeconfig ($(common-objpfx)config.status): Depend on
24054 sysdeps/*/preconfigure{,.in} too.
24055
1ba4f030
JM
240562013-03-08 Joseph Myers <joseph@codesourcery.com>
24057
a222d91a
JM
24058 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24059 (__free_hook): Use void * instead of __malloc_ptr_t.
24060 (__malloc_hook): Likewise.
24061 (__realloc_hook): Likewise.
24062 (__memalign_hook): Likewise.
24063 (__after_morecore_hook): Likewise.
24064 * malloc/arena.c (save_malloc_hook): Likewise.
24065 (save_free_hook): Likewise.
24066 * malloc/hooks.c (malloc_hook_ini): Likewise.
24067 (realloc_hook_ini): Likewise.
24068 (memalign_hook_ini): Likewise.
24069 * malloc/malloc.c (malloc_hook_ini): Likewise.
24070 (realloc_hook_ini): Likewise.
24071 (memalign_hook_ini): Likewise.
24072 (__free_hook): Likewise.
24073 (__malloc_hook): Likewise.
24074 (__realloc_hook): Likewise.
24075 (__memalign_hook): Likewise.
24076 (__libc_malloc): Likewise.
24077 (__libc_free): Likewise.
24078 (__libc_realloc): Likewise.
24079 (__libc_memalign): Likewise.
24080 (__libc_valloc): Likewise.
24081 (__libc_pvalloc): Likewise.
24082 (__libc_calloc): Likewise.
24083 (__posix_memalign): Likewise.
24084 * malloc/morecore.c (__sbrk): Likewise.
24085 (__default_morecore): Likewise.
24086
5cc45e10
JM
24087 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24088
dd54b864
JM
24089 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24090 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24091 __malloc_ptrdiff_t.
24092
1ba4f030
JM
24093 * malloc/malloc.h (__malloc_size_t): Remove macro.
24094 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24095 __malloc_size_t.
24096 (old_memalign_hook): Likewise.
24097 (old_realloc_hook): Likewise.
24098 (struct hdr): Likewise.
24099 (flood): Likewise.
24100 (mallochook): Likewise.
24101 (memalignhook): Likewise.
24102 (reallochook): Likewise.
24103 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24104 (tr_old_realloc_hook): Likewise.
24105 (tr_old_memalign_hook): Likewise.
24106 (tr_mallochook): Likewise.
24107 (tr_reallochook): Likewise.
24108 (tr_memalignhook): Likewise.
24109
edf66e57
AZ
241102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24111
24112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24113 default_ldbl_pack and using as default implementation.
24114 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24115 implementation.
24116 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24117 redundant definition.
24118 (ldbl_insert_mantissa): Likewise.
24119 (ldbl_canonicalize): Likewise.
24120 (ldbl_nearbyint): Likewise.
24121 (ldbl_pack): Rename to ldbl_pack_ppc.
24122 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24123 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24124 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24125
6d9145d8
SP
241262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24127
24128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24129 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24130 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24131 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24133 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24134 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24135 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24136
4dd4e157
AJ
241372013-03-07 Andreas Jaeger <aj@suse.de>
24138
24139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24140 bits/mman-linux.h.
24141
adbb8027
SP
241422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24143
ce544b5b
SP
24144 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24145 Include mpa.h and declare __MPEXP.
24146 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24147 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24148 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24149 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24150 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24151 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24152 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24153
4cc149fd
SP
24154 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24155 (__slowpow): Use long double EXPL and LOGL functions to
24156 compute POW.
24157 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24158 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24159 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24160 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24161 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24163
e6ebd4a7
SP
24164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24165 intermediate variable to calculate exponent.
24166 (__sqr): Likewise.
24167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24168 Likewise.
24169 (__sqr): Likewise.
24170
82a9811d
SP
24171 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24172 [!NO__SQR]: Define __sqr.
24173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24174 and NO__SQR. Remove all code except __mul and __sqr. Include
24175 sysdeps/ieee754/dbl-64/mpa.c.
24176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24177
adbb8027
SP
24178 [BZ #12723]
24179 * posix/Makefile (tests): Add tst-pathconf.
24180 * posix/tst-pathconf.c: New test case.
24181 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24182 _PC_PIPE_BUF.
24183 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24184
39120df9
PF
241852013-03-06 Patsy Franklin <pfrankli@redhat.com>
24186
24187 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24188
67525cb8
AJ
241892013-03-06 Andreas Jaeger <aj@suse.de>
24190
664a9ce4
AJ
24191 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24192 definition via __MAP_ANONYMOUS.
24193
8e39047d
AJ
24194 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24195 it's not part of Linux headers.
24196
67525cb8
AJ
24197 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24198 (MAP_HUGE_MASK): Define.
24199
24200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24201 Define.
24202 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24204 Define.
24205 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24207 Define.
24208 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24209 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24210 Define.
24211 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24212
24213 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24214 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24215 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24216 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24217 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24218 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24219
24220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24221 Handle f2fs.
24222
24223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24224 Handle f2fs and efivarfs.
24225
24226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24227 f2fs.
24228
24229 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24230 (EFIVARFS_MAGIC): Add.
24231 (F2FS_LINK_MAX): Add.
24232
e1b42695
PP
242332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24234
24235 * stdio-common/vfprintf.c: Replace __builtin_expect with
24236 __glibc_unlikely.
24237
2d67d91a
JM
242382013-03-06 Joseph Myers <joseph@codesourcery.com>
24239
24240 [BZ #13550]
24241 * sysdeps/generic/bp-sym.h: Remove file.
24242 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24243 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24244 <bp-sym.h> and <bp-asm.h>.
24245 (__longjmp): Don't use BP_SYM.
24246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24247 and <bp-asm.h>.
24248 (memcpy): Don't use BP_SYM.
24249 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24250 <bp-sym.h> and <bp-asm.h>.
24251 (memcpy): Don't use BP_SYM.
24252 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24253 <bp-asm.h>.
24254 (memcpy): Don't use BP_SYM.
24255 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24256 <bp-asm.h>.
24257 (memset): Don't use BP_SYM.
24258 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24259 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24260 (__bzero): Don't use BP_SYM.
24261 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24262 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24264 <bp-sym.h> and <bp-asm.h>.
24265 (memcmp): Don't use BP_SYM. Remove comment about bounded
24266 pointers.
24267 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24268 <bp-sym.h> and <bp-asm.h>.
24269 (memcpy): Don't use BP_SYM.
24270 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24271 <bp-sym.h> and <bp-asm.h>.
24272 (memset): Don't use BP_SYM.
24273 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24274 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24275 (__bzero): Don't use BP_SYM.
24276 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24277 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24278 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24279 <bp-sym.h> and <bp-asm.h>.
24280 (strncmp): Don't use BP_SYM. Remove comment about bounded
24281 pointers.
24282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24283 <bp-sym.h> and <bp-asm.h>.
24284 (memcpy): Don't use BP_SYM.
24285 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24286 <bp-sym.h> and <bp-asm.h>.
24287 (memset): Don't use BP_SYM.
24288 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24289 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24290 (__bzero): Don't use BP_SYM.
24291 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24292 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24293 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24294 <bp-sym.h> and <bp-asm.h>.
24295 (__memchr): Don't use BP_SYM.
24296 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24297 <bp-sym.h> and <bp-asm.h>.
24298 (memcmp): Don't use BP_SYM. Remove comment about bounded
24299 pointers.
24300 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24301 <bp-sym.h> and <bp-asm.h>.
24302 (memcpy): Don't use BP_SYM.
24303 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24304 <bp-sym.h> and <bp-asm.h>.
24305 (__mempcpy): Don't use BP_SYM.
24306 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24307 <bp-sym.h> and <bp-asm.h>.
24308 (__memrchr): Don't use BP_SYM.
24309 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24310 <bp-sym.h> and <bp-asm.h>.
24311 (memset): Don't use BP_SYM.
24312 (__bzero): Likewise.
24313 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24314 <bp-sym.h> and <bp-asm.h>.
24315 (__rawmemchr): Don't use BP_SYM.
24316 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24317 <bp-sym.h> and <bp-asm.h>.
24318 (__STRCMP): Don't use BP_SYM.
24319 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24320 <bp-sym.h> and <bp-asm.h>.
24321 (strchr): Don't use BP_SYM.
24322 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24323 <bp-sym.h> and <bp-asm.h>.
24324 (__strchrnul): Don't use BP_SYM.
24325 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24326 <bp-sym.h> and <bp-asm.h>.
24327 (strlen): Don't use BP_SYM.
24328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24329 <bp-sym.h> and <bp-asm.h>.
24330 (strncmp): Don't use BP_SYM. Remove comment about bounded
24331 pointers.
24332 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24333 <bp-sym.h> and <bp-asm.h>.
24334 (__strnlen): Don't use BP_SYM.
24335 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24336 <bp-sym.h> and <bp-asm.h>.
24337 (__GI__setjmp): Don't use BP_SYM.
24338 (_setjmp): Likewise.
24339 (__sigsetjmp): Likewise.
24340 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24341 (L(start_addresses)): Don't use BP_SYM.
24342 (_start): Likewise.
24343 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24344 <bp-asm.h>.
24345 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24346 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24347 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24348 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24349 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24350 <bp-asm.h>.
24351 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24352 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24353 about bounded pointers.
24354 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24355 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24356 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24357 <bp-asm.h>.
24358 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24359 about bounded pointers. Remove GKM FIXME comments.
24360 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24361 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24362 <bp-asm.h>.
24363 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24364 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24365 Remove GKM FIXME comments.
24366 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24367 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24368 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24369 <bp-asm.h>.
24370 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24371 about bounded pointers. Remove GKM FIXME comment.
24372 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24373 and <bp-asm.h>.
24374 (strncmp): Don't use BP_SYM. Remove comment about bounded
24375 pointers.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24377 <bp-sym.h> and <bp-asm.h>.
24378 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24380 <bp-sym.h> and <bp-asm.h>.
24381 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24382 comment.
24383
cdcf361f
PP
243842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24385
24386 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24387 call free(NULL).
24388
3c4a2b15
DM
243892013-03-05 David S. Miller <davem@davemloft.net>
24390
24391 * po/es.po: Update from translation team.
24392
cdcf361f 243932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
24394
24395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24396 <bits/mman-linux.h>.
24397 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24398 is fine.
24399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24400 <bits/mman-linux.h> to end of file.
24401 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24402 is fine.
24403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24404 <bits/mman-linux.h> to end of file.
24405 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24406 is fine.
24407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24408 <bits/mman-linux.h> to end of file.
24409
24410 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24411 (MCL_CURRENT, MCL_FUTURE): Define here.
24412
5f67c04f
AK
244132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24414
8a4473cc 24415 [BZ #15232]
5f67c04f
AK
24416 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24417 attribute_hidden.
24418 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24419
c3e94a95
AK
244202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24421
24422 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24423 fourth parameter needed for rt_sigprocmask syscall.
24424 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24425 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24426 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24427 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24428 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24429 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24430
cfb6382a
JM
244312013-03-04 Joseph Myers <joseph@codesourcery.com>
24432
24433 [BZ #13550]
24434 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24435 comment about bounded pointers.
24436 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24437 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24438
539d8e01
AJ
244392013-03-04 Andreas Jaeger <aj@suse.de>
24440
24441 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24442 common definitions.
24443
24444 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24445 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24446 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24447 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24448 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
24449 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24450
2e167a70 244512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
24452
24453 [BZ #15055]
24454 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24455 __ieee754_sqrl instead of __sqrl.
24456
68508633
JM
244572013-03-01 Joseph Myers <joseph@codesourcery.com>
24458
24459 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24460 * sysdeps/powerpc/fpu_control.h: ... here.
24461 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24462 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24463 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24464 * sysdeps/powerpc/bits/mathinline.h: ... here.
24465
7775448e
RM
244662013-03-01 Roland McGrath <roland@hack.frob.com>
24467
24468 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24469 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24470 to just [NEED_DL_SYSINFO_DSO].
24471 * elf/dl-support.c: Likewise.
24472 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24473 * elf/rtld.c (dl_main): Likewise.
24474 * elf/setup-vdso.h (setup_vdso): Likewise.
24475 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24476 * sysdeps/unix/sysv/linux/dl-sysdep.c
24477 (_dl_discover_osversion): Likewise.
24478
4e9b5995
CD
244792013-03-01 Carlos O'Donell <carlos@redhat.com>
24480
24481 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24482 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24483
e23872c8
SP
244842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24485
e5c74c63
SP
24486 * NEWS: Mention libm performance improvements and non-x86 PI
24487 futex support.
24488
e23872c8
SP
24489 * csu/libc-start.c (__pthread_initialize_minimal): Change
24490 function arguments.
24491 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24492
b5510883
JM
244932013-02-28 Joseph Myers <joseph@codesourcery.com>
24494
24495 [BZ #13550]
24496 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24497 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24498 <bp-sym.h> and <bp-asm.h>.
24499 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24501 and <bp-asm.h>.
24502 (memcpy): Don't use BP_SYM.
24503 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24504 <bp-asm.h>.
24505 (__mpn_add_n): Don't use BP_SYM.
24506 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24507 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24508 and <bp-asm.h>.
24509 (__mpn_addmul_1): Don't use BP_SYM.
24510 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24511 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24512 <bp-sym.h>.
24513 (_setjmp): Don't use BP_SYM.
24514 (__novmx_setjmp): Likewise.
24515 (__GI__setjmp): Likewise.
24516 (__vmx_setjmp): Likewise.
24517 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24518 <bp-sym.h>.
24519 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24520 (__bzero): Don't use BP_SYM.
24521 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24522 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24523 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24524 <bp-sym.h> and <bp-asm.h>.
24525 (memcpy): Don't use BP_SYM.
24526 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24527 <bp-sym.h> and <bp-asm.h>.
24528 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24530 <bp-sym.h> and <bp-asm.h>.
24531 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24532 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24533 <bp-asm.h>.
24534 (__mpn_lshift): Don't use BP_SYM.
24535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24536 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24537 <bp-asm.h>.
24538 (memset): Don't use BP_SYM.
24539 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24540 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24541 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24542 <bp-asm.h>.
24543 (__mpn_mul_1): Don't use BP_SYM.
24544 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24545 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24546 <bp-sym.h> and <bp-asm.h>.
24547 (memcmp): Don't use BP_SYM.
24548 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24549 <bp-sym.h> and <bp-asm.h>.
24550 (memcpy): Don't use BP_SYM.
24551 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24552 <bp-sym.h> and <bp-asm.h>.
24553 (memset): Don't use BP_SYM.
24554 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24555 <bp-sym.h> and <bp-asm.h>.
24556 (strncmp): Don't use BP_SYM.
24557 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24558 <bp-sym.h> and <bp-asm.h>.
24559 (memcpy): Don't use BP_SYM.
24560 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24561 <bp-sym.h> and <bp-asm.h>.
24562 (memset): Don't use BP_SYM.
24563 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24564 <bp-sym.h> and <bp-asm.h>.
24565 (__memchr): Don't use BP_SYM.
24566 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24567 <bp-sym.h> and <bp-asm.h>.
24568 (memcmp): Don't use BP_SYM.
24569 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24570 <bp-sym.h> and <bp-asm.h>.
24571 (memcpy): Don't use BP_SYM.
24572 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24573 <bp-sym.h> and <bp-asm.h>.
24574 (__mempcpy): Don't use BP_SYM.
24575 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24576 <bp-sym.h> and <bp-asm.h>.
24577 (__memrchr): Don't use BP_SYM.
24578 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24579 <bp-sym.h> and <bp-asm.h>.
24580 (memset): Don't use BP_SYM.
24581 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24582 <bp-sym.h> and <bp-asm.h>.
24583 (__rawmemchr): Don't use BP_SYM.
24584 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24585 <bp-sym.h> and <bp-asm.h>.
24586 (__STRCMP): Don't use BP_SYM.
24587 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24588 <bp-sym.h> and <bp-asm.h>.
24589 (strchr): Don't use BP_SYM.
24590 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24591 <bp-sym.h> and <bp-asm.h>.
24592 (__strchrnul): Don't use BP_SYM.
24593 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24594 <bp-sym.h> and <bp-asm.h>.
24595 (strlen): Don't use BP_SYM.
24596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24597 <bp-sym.h> and <bp-asm.h>.
24598 (strncmp): Don't use BP_SYM.
24599 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24600 <bp-sym.h> and <bp-asm.h>.
24601 (__strnlen): Don't use BP_SYM.
24602 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24603 <bp-asm.h>.
24604 (__mpn_rshift): Don't use BP_SYM.
24605 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24606 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24607 <bp-sym.h> and <bp-asm.h>.
24608 (__sigsetjmp): Don't use BP_SYM.
24609 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24610 (L(start_addresses)): Don't use BP_SYM.
24611 (_start): Likewise.
24612 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24613 <bp-asm.h>.
24614 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24615 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24616 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24617 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24618 <bp-asm.h>.
24619 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24620 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24621 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24622 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24623 <bp-asm.h>.
24624 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24625 comments.
24626 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24627 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24628 <bp-asm.h>.
24629 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24630 FIXME comments.
24631 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24632 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24633 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24634 <bp-asm.h>.
24635 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24636 comment.
24637 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24638 and <bp-asm.h>.
24639 (strncmp): Don't use BP_SYM,
24640 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24641 <bp-asm.h>.
24642 (__mpn_sub_n): Don't use BP_SYM.
24643 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24644 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24645 and <bp-asm.h>.
24646 (__mpn_submul_1): Don't use BP_SYM.
24647 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24649 <bp-sym.h> and <bp-asm.h>.
24650 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24652 <bp-sym.h> and <bp-asm.h>.
24653 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24654 comment.
24655
8d19fe64
SP
246562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24657
24658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24659 Use ZK to minimize writes to Z.
24660 (sub_magnitudes): Simplify code a bit.
24661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24662 Use ZK to minimize writes to Z.
24663 (sub_magnitudes): Simplify code a bit.
24664
85bd816a
RM
246652013-02-27 Roland McGrath <roland@hack.frob.com>
24666
24667 * csu/gmon-start.c: Add special exception to license text.
24668
b5977bf2
RH
246692013-02-27 Richard Henderson <rth@redhat.com>
24670
24671 * scripts/config.guess: Update from config.git.
24672 * scripts/config.sub: Likewise.
24673
11d6e2f2
SP
246742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24675
09c14ed2
SP
24676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24677
a688864e
SP
24678 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24679
6295157a
SP
24680 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24681
b8de2202
SP
24682 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24683
11d6e2f2
SP
24684 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24685
7e80ddb8
RM
246862013-02-26 Roland McGrath <roland@hack.frob.com>
24687
24688 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24689 [$(build-shared = yes].
7e80ddb8 24690
7da6d9ed
SP
246912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24692
45f05884
SP
24693 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24694 (__mul): Reduce iterations for calculating mantissa.
24695
2236d359
SP
24696 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24697 MPTWO.
24698 (__mpranred): Likewise.
24699
7da6d9ed
SP
24700 [BZ #15160]
24701 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24702 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24703
b7688c42
PE
247042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24705
24706 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24707 Define __attribute__.
24708
53a5c423
SP
247092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24710
24711 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24712 unused.
24713 * posix/regex_internal.h (__attribute): Remove.
24714 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24715 (re_string_context_at): Likewise.
24716 (bitset_not): Use __attribute__ and mark function as possibly
24717 unused.
24718 (bitset_merge): Likewise.
24719 (bitset_mask): Likewise.
24720 (re_string_char_size_at): Likewise.
24721 (re_string_wchar_at): Likewise.
24722 (re_string_elem_size_at): Likewise.
24723
60f5a8b5
SP
247242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24725
2a983a2e
SP
24726 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24727 code.
24728 (cc32): Likewise.
24729
e69804d1
SP
24730 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24731 (__acr): Likewise.
24732 (__cpy): Likewise.
24733 (norm): Likewise.
24734 (denorm): Likewise.
24735 (__dbl_mp): Likewise.
24736 (add_magnitudes): Likewise.
24737 (sub_magnitudes): Likewise.
24738 (__mul): Likewise.
24739 (__inv): Likewise.
24740
2f22a1e8
SP
24741 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24742 style.
24743
8930ddc7
SP
24744 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24745 style.
24746
dc60cb11
SP
24747 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24748 code.
24749
60f5a8b5
SP
24750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24751 up changes with default code.
24752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24753 Likewise.
24754
b4d1fd33
AM
247552013-02-24 Allan McRae <allan@archlinux.org>
24756
faf6f8bc
AM
24757 * manual/socket.texi (The Internet Namespace): Order menu items
24758 to match that in the file.
24759
b4d1fd33
AM
24760 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24761 node listing of the info page menu.
24762
2366713d
JM
247632013-02-21 Joseph Myers <joseph@codesourcery.com>
24764
24765 [BZ #13550]
24766 * sysdeps/i386/bp-asm.h: Remove file.
24767 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24768 (PARMS): Do not use macros from bp-asm.h.
24769 (S1): Likewise.
24770 (S2): Likewise.
24771 (SIZE): Likewise.
24772 (__mpn_add_n): Do not use BP_SYM
24773 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24774 "bp-asm.h".
24775 (PARMS): Do not use macros from bp-asm.h.
24776 (S1): Likewise.
24777 (SIZE): Likewise.
24778 (__mpn_addmul_1): Do not use BP_SYM
24779 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24780 "bp-asm.h".
24781 (PARMS): Do not use macros from bp-asm.h.
24782 (SIGMSK): Likewise.
24783 (_setjmp): Likewise. Do not use BP_SYM.
24784 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24785 "bp-asm.h".
24786 (PARMS): Do not use macros from bp-asm.h.
24787 (SIGMSK): Likewise.
24788 (setjmp): Likewise. Do not use BP_SYM.
24789 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24790 "bp-asm.h".
24791 (PARMS): Do not use macros from bp-asm.h.
24792 (__frexp): Do not use BP_SYM.
24793 (frexp): Likewise.
24794 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24795 "bp-asm.h".
24796 (PARMS): Do not use macros from bp-asm.h.
24797 (__frexpf): Do not use BP_SYM.
24798 (frexpf): Likewise.
24799 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24800 "bp-asm.h".
24801 (PARMS): Do not use macros from bp-asm.h.
24802 (__frexpl): Do not use BP_SYM.
24803 (frexpl): Likewise.
24804 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24805 "bp-asm.h".
24806 (PARMS): Do not use macros from bp-asm.h.
24807 (__remquo): Do not use BP_SYM.
24808 (remquo): Likewise.
24809 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24810 "bp-asm.h".
24811 (PARMS): Do not use macros from bp-asm.h.
24812 (__remquof): Do not use BP_SYM.
24813 (remquof): Likewise.
24814 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24815 "bp-asm.h".
24816 (PARMS): Do not use macros from bp-asm.h.
24817 (__remquol): Do not use BP_SYM.
24818 (remquol): Likewise.
24819 * sysdeps/i386/i486/strcat.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 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24825 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24826 "bp-asm.h".
24827 (PARMS): Do not use macros from bp-asm.h.
24828 (strlen): Do not use BP_SYM.
24829 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24830 "bp-asm.h".
24831 (PARMS): Do not use macros from bp-asm.h.
24832 (S1): Likewise.
24833 (S2): Likewise.
24834 (SIZE): Likewise.
24835 (__mpn_add_n): Do not use BP_SYM.
24836 * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
24842 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24843 weak_alias.
24844 (bzero): Likewise.
24845 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24846 "bp-asm.h".
24847 (PARMS): Do not use macros from bp-asm.h.
24848 (S): Likewise.
24849 (SIZE): Likewise.
24850 (__mpn_lshift): Do not use BP_SYM.
24851 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24852 "bp-asm.h".
24853 (PARMS): Do not use macros from bp-asm.h.
24854 (DEST): Likewise.
24855 (SRC): Likewise.
24856 (LEN): Likewise.
24857 (memcpy): Likewise. Do not use BP_SYM.
24858 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24859 libc_hidden_def and weak_alias.
24860 (mempcpy): Do not use BP_SYM in weak_alias.
24861 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24862 "bp-asm.h".
24863 (PARMS): Do not use macros from bp-asm.h.
24864 (DEST): Likewise.
24865 (LEN): Likewise.
24866 [!BZERO_P] (CHR): Likewise.
24867 (memset): Likewise. Do not use BP_SYM.
24868 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24869 "bp-asm.h".
24870 (PARMS): Do not use macros from bp-asm.h.
24871 (S1): Likewise.
24872 (SIZE): Likewise.
24873 (__mpn_mul_1): Do not use BP_SYM.
24874 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24875 "bp-asm.h".
24876 (PARMS): Do not use macros from bp-asm.h.
24877 (S): Likewise.
24878 (SIZE): Likewise.
24879 (__mpn_rshift): Do not use BP_SYM.
24880 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24881 "bp-asm.h".
24882 (PARMS): Do not use macros from bp-asm.h.
24883 (STR): Likewise.
24884 (CHR): Likewise.
24885 (strchr): Likewise. Do not use BP_SYM.
24886 (index): Do not use BP_SYM in weak_alias.
24887 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24888 "bp-asm.h".
24889 (PARMS): Do not use macros from bp-asm.h.
24890 (DEST): Likewise.
24891 (SRC): Likewise.
24892 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24893 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24894 "bp-asm.h".
24895 (PARMS): Do not use macros from bp-asm.h.
24896 (strlen): Do not use BP_SYM.
24897 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24898 "bp-asm.h".
24899 (PARMS): Do not use macros from bp-asm.h.
24900 (S1): Likewise.
24901 (S2): Likewise.
24902 (SIZE): Likewise.
24903 (__mpn_sub_n): Do not use BP_SYM.
24904 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24905 "bp-asm.h".
24906 (PARMS): Do not use macros from bp-asm.h.
24907 (S1): Likewise.
24908 (SIZE): Likewise.
24909 (__mpn_submul_1): Do not use BP_SYM.
24910 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24911 "bp-asm.h".
24912 (PARMS): Do not use macros from bp-asm.h.
24913 (S1): Likewise.
24914 (S2): Likewise.
24915 (SIZE): Likewise.
24916 (__mpn_add_n): Do not use BP_SYM.
24917 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24918 weak_alias.
24919 (bzero): Likewise.
24920 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24921 "bp-asm.h".
24922 (PARMS): Do not use macros from bp-asm.h.
24923 (BLK2): Likewise.
24924 (LEN): Likewise.
24925 (memcmp): Do not use BP_SYM.
24926 (bcmp): Do not use BP_SYM in weak_alias.
24927 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24928 "bp-asm.h".
24929 (PARMS): Do not use macros from bp-asm.h.
24930 (DEST): Likewise.
24931 (SRC): Likewise.
24932 (LEN): Likewise.
24933 (memcpy): Likewise. Do not use BP_SYM.
24934 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24935 "bp-asm.h".
24936 (PARMS): Do not use macros from bp-asm.h.
24937 (DEST): Likewise.
24938 (SRC): Likewise.
24939 (LEN): Likewise.
24940 (memmove): Likewise. Do not use BP_SYM.
24941 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24942 "bp-asm.h".
24943 (PARMS): Do not use macros from bp-asm.h.
24944 (DEST): Likewise.
24945 (SRC): Likewise.
24946 (LEN): Likewise.
24947 (__mempcpy): Likewise. Do not use BP_SYM.
24948 (mempcpy): Do not use BP_SYM in weak_alias.
24949 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24950 "bp-asm.h".
24951 (PARMS): Do not use macros from bp-asm.h.
24952 (DEST): Likewise.
24953 (LEN): Likewise.
24954 [!BZERO_P] (CHR): Likewise.
24955 (memset): Likewise. Do not use BP_SYM.
24956 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24957 "bp-asm.h".
24958 (PARMS): Do not use macros from bp-asm.h.
24959 (STR2): Likewise.
24960 (strcmp): Do not use BP_SYM.
24961 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24962 "bp-asm.h".
24963 (PARMS): Do not use macros from bp-asm.h.
24964 (STR): Likewise.
24965 (DELIM): Likewise.
24966 [USE_AS_STRTOK_R] (SAVE): Likewise.
24967 (FUNCTION): Likewise. Do not use BP_SYM.
24968 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24969 aliases.
24970 (strtok_r): Likewise.
24971 (__GI___strtok_r): Likewise.
24972 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24973 (PARMS): Do not use macros from bp-asm.h.
24974 (S): Likewise.
24975 (SIZE): Likewise.
24976 (__mpn_lshift): Do not use BP_SYM.
24977 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24978 (PARMS): Do not use macros from bp-asm.h.
24979 (STR): Likewise.
24980 (CHR): Likewise.
24981 (__memchr): Do not use BP_SYM.
24982 (memchr): Do not use BP_SYM in weak_alias.
24983 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24984 (PARMS): Do not use macros from bp-asm.h.
24985 (BLK2): Likewise.
24986 (LEN): Likewise.
24987 (memcmp): Do not use BP_SYM.
24988 (bcmp): Do not use BP_SYM in weak_alias.
24989 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24990 (PARMS): Do not use macros from bp-asm.h.
24991 (S1): Likewise.
24992 (SIZE): Likewise.
24993 (__mpn_mul_1): Do not use BP_SYM.
24994 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24995 "bp-asm.h".
24996 (PARMS): Do not use macros from bp-asm.h.
24997 (STR): Likewise.
24998 (CHR): Likewise.
24999 (__rawmemchr): Do not use BP_SYM.
25000 (rawmemchr): Do not use BP_SYM in weak_alias.
25001 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25002 (PARMS): Do not use macros from bp-asm.h.
25003 (S): Likewise.
25004 (SIZE): Likewise.
25005 (__mpn_rshift): Do not use BP_SYM.
25006 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25007 (PARMS): Do not use macros from bp-asm.h.
25008 (SIGMSK): Likewise.
25009 (__sigsetjmp): Likewise. Do not use BP_SYM.
25010 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25011 (_start): Do not use BP_SYM.
25012 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25013 (PARMS): Do not use macros from bp-asm.h.
25014 (DEST): Likewise.
25015 (SRC): Likewise.
25016 (__stpcpy): Likewise. Do not use BP_SYM.
25017 (stpcpy): Do not use BP_SYM in weak_alias.
25018 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25019 "bp-asm.h".
25020 (PARMS): Do not use macros from bp-asm.h.
25021 (DEST): Likewise.
25022 (SRC): Likewise.
25023 (LEN): Likewise.
25024 (__stpncpy): Likewise. Do not use BP_SYM.
25025 (stpncpy): Do not use BP_SYM in weak_alias.
25026 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25027 (PARMS): Do not use macros from bp-asm.h.
25028 (STR): Likewise.
25029 (CHR): Likewise.
25030 (strchr): Likewise. Do not use BP_SYM.
25031 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25032 "bp-asm.h".
25033 (PARMS): Do not use macros from bp-asm.h.
25034 (STR): Likewise.
25035 (CHR): Likewise.
25036 (__strchrnul): Likewise. Do not use BP_SYM.
25037 (strchrnul): Do not use BP_SYM in weak_alias.
25038 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25039 "bp-asm.h".
25040 (PARMS): Do not use macros from bp-asm.h.
25041 (STOP): Likewise.
25042 (strcspn): Do not use BP_SYM.
25043 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25044 "bp-asm.h".
25045 (PARMS): Do not use macros from bp-asm.h.
25046 (STR): Likewise.
25047 (STOP): Likewise.
25048 (strpbrk): Likewise. Do not use BP_SYM.
25049 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25050 "bp-asm.h".
25051 (PARMS): Do not use macros from bp-asm.h.
25052 (STR): Likewise.
25053 (CHR): Likewise.
25054 (strrchr): Likewise. Do not use BP_SYM.
25055 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25056 (PARMS): Do not use macros from bp-asm.h.
25057 (SKIP): Likewise.
25058 (strspn): Do not use BP_SYM.
25059 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25060 (PARMS): Do not use macros from bp-asm.h.
25061 (STR): Likewise.
25062 (DELIM): Likewise.
25063 (SAVE): Likewise.
25064 (FUNCTION): Likewise. Do not use BP_SYM.
25065 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25066 aliases.
25067 (strtok_r): Likewise.
25068 (__GI___strtok_r): Likewise.
25069 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25070 (PARMS): Do not use macros from bp-asm.h.
25071 (S1): Likewise.
25072 (S2): Likewise.
25073 (SIZE): Likewise.
25074 (__mpn_sub_n): Do not use BP_SYM.
25075 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25076 "bp-asm.h".
25077 (PARMS): Do not use macros from bp-asm.h.
25078 (S1): Likewise.
25079 (SIZE): Likewise.
25080 (__mpn_submul_1): Do not use BP_SYM.
25081 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25082 <bp-sym.h>.
25083 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25084 and <bp-asm.h>.
25085 (PARMS): Do not use macros from bp-asm.h.
25086 (FLAGS): Likewise.
25087 (PTID): Likewise.
25088 (TLS): Likewise.
25089 (CTID): Likewise.
25090 (__clone): Do not use BP_SYM.
25091 (clone): Do not use BP_SYM in weak_alias.
25092 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25093 and <bp-asm.h>.
25094 (PARMS): Do not use macros from bp-asm.h.
25095 (LEN): Likewise.
25096 (__mmap64): Do not use BP_SYM.
25097 (mmap64): Do not use BP_SYM in weak_alias.
25098 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25099 <bp-sym.h> and <bp-asm.h>.
25100 (PARMS): Do not use macros from bp-asm.h.
25101 (__posix_fadvise64_l64): Do not use BP_SYM.
25102 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25103 (PARMS): Do not use macros from bp-asm.h.
25104 (NSOPS): Likewise.
25105 (semtimedop): Do not use BP_SYM.
25106 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25107 and <bp-asm.h>.
25108
582a3cff
AM
251092013-02-21 Allan McRae <allan@archlinux.org>
25110
25111 * manual/message.texi (Charset conversion in gettext):
25112 Move @end statement to beginning of line.
25113
bab8a695
SP
251142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25115
80945231
SP
25116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25117 static.
25118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25119 Likewise.
25120
bab8a695
SP
25121 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25122 (denorm): Likewise.
25123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25125
e21d7aa7
AK
251262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25127
25128 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25129 tail-call to the resolved function if pltexit isn't needed.
25130
4c7a4263
SP
251312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25132
25133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25134 or Y being zero as being unlikely.
25135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25136 Likewise.
25137
41f49342
CD
251382013-02-20 Carlos O'Donell <carlos@redhat.com>
25139
25140 * manual/nss.texi (System Databases and Name Service Switch):
25141 Remove frobnicate @pxref.
25142
50022a93
TS
251432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25144
25145 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25146 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25147
08cbd996
PM
251482013-02-20 Petr Machata <pmachata@redhat.com>
25149
25150 * elf/elf.h (R_ARM_TARGET1): New macro.
25151 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25152 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25153 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25154 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25155 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25156 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25157 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25158 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25159 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25160 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25161 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25162 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25163 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25164 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25165 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25166 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25167 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25168 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25169 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25170 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25171 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25172 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25173 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25174 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25175 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25176 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25177 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25178 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25179 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25180 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25181 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25182 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25183 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25184 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25185 (R_ARM_THM_GOT_BREL12): Likewise.
25186 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25187 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25188 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25189 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25190 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25191 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25192 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25193 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25194 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25195
c7b275d6
TS
251962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25197
25198 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25199 __attribute_used__ to __attribute__ ((unused)).
25200
20cd7fb3
SP
252012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25202
25203 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25204 powerpc mpa.c.
25205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25206 comment formatting.
25207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25208
92945b52
JM
252092013-02-19 Joseph Myers <joseph@codesourcery.com>
25210
25211 [BZ #13550]
25212 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25213 Remove macro.
25214 (ENTER): Remove both macro definitions.
25215 (LEAVE): Likewise.
25216 (CHECK_BOUNDS_LOW): Likewise.
25217 (CHECK_BOUNDS_HIGH): Likewise.
25218 (CHECK_BOUNDS_BOTH): Likewise.
25219 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25220 (RETURN_BOUNDED_POINTER): Likewise.
25221 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25222 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25223 (POP_ERRNO_LOCATION_RETURN): Likewise.
25224 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25225 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25226 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25227 macros.
25228 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25229 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25230 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25231 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25232 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25233 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25234 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25235 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25236 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25237 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25238 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25239 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25240 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25241 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25242 removed macros.
25243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25244 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25245 macros.
25246 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25247 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25248 * sysdeps/i386/i586/memset.S (memset): Likewise.
25249 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25250 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25251 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25252 macros.
25253 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25254 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25255 Change uses of L(2) to L(out).
25256 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25257 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25258 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25259 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25260 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25261 removed macros.
25262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25263 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25264 macros.
25265 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25266 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25267 (RETURN): Do not use macro LEAVE.
25268 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25269 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25270 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25271 * sysdeps/i386/i686/memset.S (memset): Likewise.
25272 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25273 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25274 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25275 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25276 Likewise.
25277 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25278 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25279 L(1_2) and L(1_3) into L(1).
25280 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25281 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25282 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25283 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25284 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25285 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25286 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25287 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25288 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25289 macros.
25290 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25291 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25292 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25293 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25294 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25295 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25296 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25297 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25298 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25299 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25300 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25301 * sysdeps/i386/strspn.S (strspn): Likewise.
25302 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25303 conditional code.
25304 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25305 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25306 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25307 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25308 L(1_3) into L(1_1).
25309 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25310 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25311 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25312 macros.
25313 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25314
2389741a
JJ
253152013-02-19 Jakub Jelinek <jakub@redhat.com>
25316
25317 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25318 macro.
25319
2016b3cd
SP
253202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25321
e4f22324
SP
25322 * math/atest-exp.c (exp_mpn): Remove ROUND.
25323 * math/atest-exp2.c (exp_mpn): Likewise.
25324 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25325
2016b3cd
SP
25326 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25327 * stdlib/tst-tls-atexit-lib.c: Likewise.
25328 * stdlib/tst-tls-atexit.c: Likewise.
25329
4be9b544
MF
253302013-02-18 Mike Frysinger <vapier@gentoo.org>
25331
25332 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25333 and __attribute_alloc_size__.
25334
2f62b9ee
MF
253352013-02-18 Mike Frysinger <vapier@gentoo.org>
25336
25337 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25338 __attribute_alloc_size__.
25339 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25340 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25341
6ff444c4
MF
253422013-02-18 Mike Frysinger <vapier@gentoo.org>
25343
25344 * include/programs/xmalloc.h: New file.
25345 * catgets/gencat.c: Include it.
25346 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25347 * elf/pldd.c: Likewise.
25348 * iconv/iconv_charmap.c: Likewise.
25349 * iconv/iconvconfig.c: Likewise.
25350 * iconv/strtab.c: Likewise.
25351 * locale/programs/locale.c: Likewise.
25352 * locale/programs/localedef.h: Likewise.
25353 * locale/programs/simple-hash.c: Likewise.
25354 * nscd/nscd.h: Likewise.
25355 * nss/makedb.c: Likewise.
25356 * sysdeps/generic/ldconfig.h: Likewise.
25357
be179c8a
SP
253582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25359
ba384f6e
SP
25360 * Versions.def: Add GLIBC_2.18.
25361 * include/link.h (struct link_map): New member l_tls_dtor_count.
25362 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25363 (__call_tls_dtors): Likewise.
25364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25365 __cxa_thread_atexit_impl.
25366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25367 Likewise.
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25369 Likewise.
25370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25371 Likewise.
25372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25373 Likewise.
25374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25376 Likewise.
25377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25378 Likewise.
25379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25381 Likewise.
25382 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25383 (tests): Add test case tst-tls-atexit.
25384 (modules-names): Add shared library for tst-tls-atexit.
85891aca 25385 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
25386 (GLIBC_PRIVATE): Add __call_tls_dtors.
25387 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25388 for libstdc++.
25389 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25390 * stdlib/tst-tls-atexit.c: New test case.
25391 * stdlib/tst-tls-atexit-lib.c: New test case.
25392
ffaa74cf 25393 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 25394
be179c8a
SP
25395 * elf/Versions (ld): Add _dl_find_dso_for_object.
25396 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25397 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25398 (dl_open_worker): Use _dl_find_dso_for_object.
25399 * elf/dl-sym.c (do_sym): Likewise.
25400 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25401
f78b5caa
AK
254022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25403
25404 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25405 Syntactic changes only.
25406 (_dl_runtime_profile): Do a tail-call to the resolved function.
25407
29691210
JM
254082013-02-17 Joseph Myers <joseph@codesourcery.com>
25409
25410 [BZ #13550]
25411 * sysdeps/x86_64/bp-asm.h: Remove file.
25412 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25413 <bp-sym.h> and <bp-asm.h>.
25414 (__clone): Do not use BP_SYM.
25415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25416 <bp-sym.h> and <bp-asm.h>.
25417 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25418 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25419 "bp-asm.h".
25420 (_setjmp): Do not use BP_SYM.
25421 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25422 "bp-asm.h".
25423 (setjmp): Do not use BP_SYM.
25424 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25425 libc_hidden_def.
25426 (mempcpy): Do not use BP_SYM in weak_alias.
25427 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25428 "bp-asm.h".
25429 (strchr): Do not use BP_SYM.
25430 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25431 "bp-asm.h".
25432 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25433 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25434 (_start): Do not use BP_SYM.
25435 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25436 "bp-asm.h".
25437 (strcat): Do not use BP_SYM.
25438 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25439 "bp-asm.h".
25440 (STRCMP): Do not use BP_SYM.
25441 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25442 "bp-asm.h".
25443 (STRCPY): Do not use BP_SYM.
25444 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25445 "bp-asm.h".
25446 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25447 "bp-asm.h".
25448 (FUNCTION): Do not use BP_SYM.
25449 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25450 weak_alias.
25451 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25452
f238fd19
AJ
254532013-02-17 Andreas Jaeger <aj@suse.de>
25454
25455 * time/Versions: Sort entries.
25456 * string/Versions: Likewise.
25457 * resolv/Versions: Likewise.
25458 * posix/Versions: Likewise.
25459 * iconv/Versions: Likewise.
25460 * elf/Versions: Likewise.
25461 * wcsmbs/Versions: Likewise.
25462
bd07f23c 254632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 25464
22af19f9
SP
25465 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25466 loop termination condition.
25467
4709fe76
SP
25468 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25469 variable to calculate EZ.
25470 (__sqr): Likewise.
2d0e0f29
SP
25471
25472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25473 the lower precision input.
25474
daaa7713
JM
254752013-02-15 Joseph Myers <joseph@codesourcery.com>
25476
25477 [BZ #13550]
25478 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25479 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25480 (run-via-rtld-prefix): Do not handle %-bp tests.
25481 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25482 (all-object-suffixes): Remove .ob.
25483 (bppfx): Remove variable.
25484 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25485 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25486 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25487 [$(build-bounded) = yes] (libtype.ob): Likewise.
25488 * Makerules (elide-routines.ob): Remove variable.
25489 (do-tests-clean): Do not handle *-bp.out.
25490 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25491 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25492 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25493 (tests): Do not include $(tests-bp.out).
25494 (xtests): Do not include $(xtests-bp.out).
25495 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25496 [$(build-bounded) = yes] ($(addprefix
25497 $(objpfx),$(binaries-bounded))): Remove rule.
25498 ($(objpfx)%-bp.out): Remove rule.
25499 * config.make.in (build-bounded): Remove variable.
25500 * crypt/Makefile [$(build-bounded) = yes]
25501 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25502 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25503 append to variable.
25504 [$(build-bounded) = yes] (install-lib): Likewise.
25505 [$(build-bounded) = yes] (generated): Likewise.
25506 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25507 Remove rule.
25508 * intl/Makefile [$(build-bounded) = yes]
25509 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25510 * math/Makefile [$(build-bounded) = yes]
25511 ($(tests:%=$(objpfx)%-bp): Likewise.
25512 * misc/Makefile [$(build-bounded) = yes]
25513 ($(objpfx)tst-tsearch-bp): Likewise.
25514 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25515 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25516 Remove dependency.
25517 * string/Makefile (o-objects.ob): Remove variable.
25518 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25519 (CFLAGS-.ob): Remove variable.
25520 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25521 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25522 both definitions of variable.
25523 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25524 (ASFLAGS-.ob): Remove variable.
25525
e97ed6dd
JM
255262013-02-14 Joseph Myers <joseph@codesourcery.com>
25527
2bdd4ca6
JM
25528 [BZ #13550]
25529 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25530 Remove __BOUNDED_POINTERS__ from condition.
25531 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25532 * string/bits/string2.h [!__NO_STRING_INLINES &&
25533 !__BOUNDED_POINTERS__]: Likewise.
25534 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25535 Likewise.
25536 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25537 Remove conditional code.
25538 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25539 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25540 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25541 condition.
25542
e97ed6dd
JM
25543 [BZ #13550]
25544 * csu/libc-start.c: Do not include <bp-sym.h>.
25545 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25546 * elf/dl-open.c: Do not include <bp-sym.h>.
25547 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25548 * math/fegetenv.c: Do not include <bp-sym.h>.
25549 (fegetenv): Do not use BP_SYM in versioned symbols.
25550 * nptl/sysdeps/pthread/bits/libc-lockP.h
25551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25552 <bp-sym.h>.
25553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25554 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25556 (__pthread_mutex_destroy): Likewise.
25557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25558 (__pthread_mutex_lock): Likewise.
25559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25560 (__pthread_mutex_trylock): Likewise.
25561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25562 (__pthread_mutex_unlock): Likewise.
25563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25564 (__pthread_mutexattr_init): Likewise.
25565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25566 (__pthread_mutexattr_destroy): Likewise.
25567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25568 (__pthread_mutexattr_settype): Likewise.
25569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25570 (__pthread_rwlock_init): Likewise.
25571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25572 (__pthread_rwlock_destroy): Likewise.
25573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25574 (__pthread_rwlock_rdlock): Likewise.
25575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25576 (__pthread_rwlock_tryrdlock): Likewise.
25577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25578 (__pthread_rwlock_wrlock): Likewise.
25579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25580 (__pthread_rwlock_trywrlock): Likewise.
25581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25582 (__pthread_rwlock_unlock): Likewise.
25583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25584 (__pthread_key_create): Likewise.
25585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25586 (__pthread_setspecific): Likewise.
25587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25588 (__pthread_getspecific): Likewise.
25589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25590 Likewise.
25591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25592 (_pthread_cleanup_push_defer): Likewise.
25593 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25594 (_pthread_cleanup_pop_restore): Likewise.
25595 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25596 (pthread_setcancelstate): Likewise.
25597 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25598 <bp-sym.h>.
25599 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25600 (memchr): Do not use BP_SYM in weak_alias.
25601 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25602 (fegetenv): Do not use BP_SYM in versioned symbols.
25603 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25604 (fesetenv): Do not use BP_SYM in versioned symbols.
25605 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25606 (feupdateenv): Do not use BP_SYM in versioned symbols.
25607 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25608 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25609 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25610 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25611 (open64): Do not use BP_SYM in weak_alias.
25612 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25613 (fegetenv): Do not use BP_SYM in versioned symbols.
25614 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25615 (fesetenv): Do not use BP_SYM in versioned symbols.
25616 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25617 (feupdateenv): Do not use BP_SYM in versioned symbols.
25618 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25619 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25620 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25621 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25622 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25623 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25624 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25625 <bp-sym.h>.
25626 (__libc_start_main): Do not use BP_SYM.
25627
d6752ccd
SP
256282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25629
cb57ce60
SP
25630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25631 redundant return line.
25632 (norm): Likewise.
25633 (denorm): Likewise.
25634 (dbl_mp): Likewise.
25635 (sub_magnitudes): Likewise.
25636 (__add): Likewise.
25637 (__sub): Likewise.
25638 (__mul): Likewise.
25639 (__inv): Likewise.
25640 (__dvd): Likewise.
25641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25642 (norm): Likewise.
25643 (denorm): Likewise.
25644 (dbl_mp): Likewise.
25645 (sub_magnitudes): Likewise.
25646 (__add): Likewise.
25647 (__sub): Likewise.
25648 (__mul): Likewise.
25649 (__inv): Likewise.
25650 (__dvd): Likewise.
25651
f414520d
SP
25652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25653 instead of __mul.
25654 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25655 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25656 (cc32): Likewise.
25657
d6752ccd
SP
25658 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25659 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25661 of __mul for squares.
25662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25663 function
25664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25665 Likewise.
25666 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25667 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25668
70d9946a
JM
256692013-02-13 Joseph Myers <joseph@codesourcery.com>
25670
25671 [BZ #13550]
25672 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25673 code.
25674 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25675 prototype or function definition. Rename ubp_* variables and
25676 parameters. Remove argv definitions conditional on
25677 [__BOUNDED_POINTERS__].
25678 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25679 * elf/dl-runtime.c (_dl_fixup): Likewise.
25680 * include/set-hooks.h (RUN_HOOK): Likewise.
25681 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25682 definition.
25683 * string/strcpy.c (strcpy): Do not use __unbounded.
25684 * sysdeps/generic/frame.h (struct layout): Likewise.
25685 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25686 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25687 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25688 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25689 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25690 (__backtrace): Likewise.
25691 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25692 use __ptrvalue.
25693 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25694 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25695 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25696 Likewise.
25697 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25698 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25699 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25700 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25701 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25702 Do not use __unbounded.
25703 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25704 Rename __unboundedrlimits parameter to rlimits in prototype.
25705 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25706 Do not use __unbounded.
25707 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25708 not use __ptrvalue.
25709 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25710 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25711 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25712 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25713 __ptrvalue or __unbounded.
25714 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25715 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25716 use __unbounded.
25717 (__new_msgctl): Do not use __ptrvalue.
25718 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25719 __unbounded.
25720 (__libc_msgrcv): Do not use __ptrvalue.
25721 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25722 startup_info): Do not use __unbounded.
25723 (__libc_start_main): Likewise. Rename ubp_* variables and
25724 parameters. Remove argv definitions conditional on
25725 [__BOUNDED_POINTERS__].
25726 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25727 __ptrvalue.
25728 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25729 use __unbounded.
25730 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25731 or __ptrvalue.
25732 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25733 use __unbounded.
25734 (__new_shmctl): Do not use __ptrvalue.
25735 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25736 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25737 Likewise.
25738 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25739 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25740 (__libc_sigaction): Likewise.
25741 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25742 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25743 Likewise.
25744 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25745
cc7834d6
OB
257462013-02-13 Ondřej Bílka <neleai@seznam.cz>
25747
ffb1ec7b 25748 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
25749
25750 * string/mempcpy.c: Implement by calling memcpy.
25751
bdf02814
SP
257522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25753
c2af38aa
SP
25754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25755
4e92d59e
SP
25756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25757 evaluation.
25758
909279a5
SP
25759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25760 values in the mantissa.
25761
bdf02814
SP
25762 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25763 minimize writes to Z.
25764 (sub_magnitudes): Simplify code a bit.
25765
cd525923
RM
257662013-02-12 Roland McGrath <roland@hack.frob.com>
25767
25768 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25769 from the message. The linker prefixes all warnings with that already.
25770
7e2f0d2d
AS
257712013-02-12 Andreas Schwab <schwab@suse.de>
25772
a445af0b
AS
25773 [BZ #15078]
25774 * posix/regexec.c (extend_buffers): Add parameter min_len.
25775 (check_matching): Pass minimum needed length.
25776 (clean_state_log_if_needed): Likewise.
25777 (get_subexp): Likewise.
25778 * posix/Makefile (tests): Add bug-regex34.
25779 (bug-regex34-ENV): Define.
25780 * posix/bug-regex34.c: New file.
25781
7e2f0d2d
AS
25782 [BZ #11561]
25783 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25784 elements compare against the byte sequence of it, not its name.
25785 * posix/Makefile (tests): Add bug-regex35.
25786 (bug-regex35-ENV): Define.
25787 * posix/bug-regex35.c: New file.
25788
a175b684
TV
257892013-02-11 Tom de Vries <tom@codesourcery.com>
25790
25791 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25792 comment.
25793 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25794 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25795 (CHECK_EOL): Add undef.
25796
310998fe 257972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
25798
25799 * bits/stdlib-bsearch.h: New file.
25800 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 25801 * stdlib/stdlib.h: Likewise.
41eda41d 25802
8ded91fb
RM
258032013-02-11 Roland McGrath <roland@hack.frob.com>
25804
25805 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25806 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25807 declaration.
25808 * manual/search.texi (Array Search Function): Add missing const in
25809 lfind prototype.
25810 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25811 declaration to use rlim_t.
25812 (Basic Scheduling Functions): Remove erroneous const from
25813 sched_getparam prototype. Remove erroneous * from
25814 sched_get_priority_max and sched_get_priority_min prototypes.
25815 (Resource Usage): Fix summary @comment on vtimes to refer to
25816 sys/vtimes.h rather than vtimes.h.
25817 Add missing *s in vtimes prototype.
25818 (Limits on Resources): Fix ulimit prototype to return long int.
25819 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25820 prototypes to use long int rather than double.
25821 (BSD Random): Fix initstate and setstate to use char *, not void *.
25822 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25823 prototype to make second argument 'struct aiocb64 *const[]'.
25824 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25825 (Status of AIO Operations): Remove erroneous const in aio_return and
25826 aio_return64 prototypes.
25827 (Synchronizing I/O): Fix sync prototype to return void.
25828 * manual/startup.texi (Suboptions): Remove an erroneous const in
25829 getsubopt prototype.
25830 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25831 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25832 use size_t rather than int.
25833 (Scanning All Users): Likewise for getpwent_r.
25834 (Setting Groups): Add missing const to setgroups prototype.
25835 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25836 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25837 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25838 'const void *' rather than 'const char *'.
25839 (Host Address Functions): Likewise for inet_ntop.
25840 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25841 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25842 ssize_t for return value.
25843 (Sending Data): Likewise for send, sendto, sendmsg.
25844 (Socket Option Functions): Add a missing const in setsockopt prototype.
25845 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25846 use wchar_t for the argument.
25847 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25848 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25849 take no arguments.
25850 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25851 double/float/long double for second argument.
25852 Fix return types of significand, significandf, significandl.
25853 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25854 argument in fchmod prototype.
25855 (File Owner): Use uid_t and gid_t in fchown prototype.
25856 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25857 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25858 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25859 use 'const struct dirent **' as argument types to CMP function pointer
25860 argument.
25861 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25862 (File Times): Fix summary magic @comment for struct utimbuf and utime
25863 to refer to utime.h, not time.h.
25864 * manual/string.texi (Argz Functions): Add missing const in
25865 argz_extract and argz_next prototypes.
25866 (Finding Tokens in a String): Likewise for basename.
25867 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25868 (Copying and Concatenation): Fix typo in wmemmove prototype.
25869 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25870 (Signal Stack): Remove erroneous const in sigstack prototype.
25871 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25872 prototype.
25873 (Simple Calendar Time): Likewise for stime.
25874 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25875 prototype.
25876 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25877 say sys/sysctl.h instead.
25878 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25879 and vsyslog prototypes.
25880
fe77fe6d
TV
258812013-02-11 Tom de Vries <tom@codesourcery.com>
25882
25883 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25884 Remove.
25885
3a09b620
RM
258862013-02-11 Roland McGrath <roland@hack.frob.com>
25887
25888 * misc/sys/mman.h: Fix typo in mremap comment.
25889
550a0b89
RM
258902013-02-08 Roland McGrath <roland@hack.frob.com>
25891
25892 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25893 the '\0' terminator.
25894
a2da1673
JM
258952013-02-08 Joseph Myers <joseph@codesourcery.com>
25896
25897 [BZ #13550]
25898 * debug/segfault.c: Don't include <bp-checks.h>.
25899 * sysdeps/generic/bp-checks.h: Remove file.
25900 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25901 (__GETDENTS): Don't use CHECK_N.
25902 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25903 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25904 (__getgroups): Don't use CHECK_N.
25905 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25906 (setgroups): Don't use CHECK_N.
25907 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25908 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25909 (__libc_msgrcv): Don't use CHECK_N.
25910 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25911 (__libc_msgsnd): Don't use CHECK_N.
25912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25913 <bp-checks.h>.
25914 (__libc_pread): Don't use CHECK_N.
25915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25916 include <bp-checks.h>.
25917 (__libc_pread64): Don't use CHECK_N.
25918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25919 include <bp-checks.h>.
25920 (__libc_pwrite): Don't use CHECK_N.
25921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25922 include <bp-checks.h>.
25923 (__libc_pwrite64): Don't use CHECK_N.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25925 <bp-checks.h>.
25926 (__libc_pread): Don't use CHECK_N.
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25928 include <bp-checks.h>.
25929 (__libc_pread64): Don't use CHECK_N.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25931 include <bp-checks.h>.
25932 (__libc_pwrite): Don't use CHECK_N.
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25934 include <bp-checks.h>.
25935 (__libc_pwrite64): Don't use CHECK_N.
25936 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25937 (do_pread): Don't use CHECK_N.
25938 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25939 (do_pread64): Don't use CHECK_N.
25940 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25941 (do_pwrite): Don't use CHECK_N.
25942 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25943 (do_pwrite64): Don't use CHECK_N.
25944 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25945 (__libc_readv): Don't use CHECK_N.
25946 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25947 (semop): Don't use CHECK_N.
25948 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25949 <bp-checks.h>.
25950 (semtimedop): Don't use CHECK_N.
25951 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25952 (__libc_pread): Don't use CHECK_N.
25953 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25954 <bp-checks.h>.
25955 (__libc_pread64): Don't use CHECK_N.
25956 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25957 <bp-checks.h>.
25958 (__libc_pwrite): Don't use CHECK_N.
25959 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25960 <bp-checks.h>.
25961 (__libc_pwrite64): Don't use CHECK_N.
25962 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25963 <bp-checks.h>.
25964 (__libc_msgrcv): Don't use CHECK_N.
25965 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25966 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25967 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25968 (__libc_writev): Don't use CHECK_N.
25969
b84660a8
RM
259702013-02-08 Roland McGrath <roland@hack.frob.com>
25971
7f3e75f8
RM
25972 * string/strcpy.c: Removed unused variable.
25973
b84660a8
RM
25974 * Makeconfig (+sysdep-includes): Define with := rather than =.
25975 Use an existing include/ subdir of each sysdeps dir before it.
25976
471514d3
CD
259772013-02-08 Carlos O'Donell <carlos@redhat.com>
25978
25979 * nscd/connection.c (register_traced_file): Comment function.
25980 [HAVE_INOTIFY] (union __inev): Define.
25981 [HAVE_INOTIFY] (inotify_check_files): New function.
25982 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25983 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25984 clear_db_cache.
25985 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25986
b2d3c3be
CD
259872013-02-08 Carlos O'Donell <carlos@redhat.com>
25988
25989 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25990 loaded if not already and that a failure is permanent.
25991
b39949d2
CD
259922013-02-08 Carlos O'Donell <carlos@redhat.com>
25993
ddacd1db 25994 [BZ #15006]
b39949d2
CD
25995 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25996 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25997
b2c9eff4
JM
259982013-02-08 Joseph Myers <joseph@codesourcery.com>
25999
f3aae3f3
JM
26000 [BZ #13550]
26001 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26002 (CHECK_1_NULL_OK): Likewise.
26003 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26004 (__fxstat): Do not use CHECK_1.
26005 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26006 <bp-checks.h>.
26007 (___fxstat64): Do not use CHECK_1.
26008 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26009 <bp-checks.h>.
26010 (__fxstatat): Do not use CHECK_1.
26011 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26012 <bp-checks.h>.
26013 (__fxstatat64): Do not use CHECK_1.
26014 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26015 <bp-checks.h>.
26016 (__fxstat): Do not use CHECK_1.
26017 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26018 <bp-checks.h>.
26019 (__fxstatat): Do not use CHECK_1.
26020 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26021 <bp-checks.h>.
26022 (__getresgid): Do not use CHECK_1.
26023 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26024 <bp-checks.h>.
26025 (__getresuid): Do not use CHECK_1.
26026 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26027 <bp-checks.h>.
26028 (__lxstat): Do not use CHECK_1.
26029 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26030 <bp-checks.h>.
26031 (__old_msgctl): Do not use CHECK_1.
26032 (__new_msgctl): Likewise.
26033 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26034 <bp-checks.h>.
26035 (__new_setrlimit): Do not use CHECK_1.
26036 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26037 <bp-checks.h>.
26038 (__old_shmctl): Do not use CHECK_1.
26039 (__new_shmctl): Likewise.
26040 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26041 <bp-checks.h>.
26042 (__xstat): Do not use CHECK_1.
26043 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26044 (__lxstat): Do not use CHECK_1.
26045 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26046 <bp-checks.h>.
26047 (___lxstat64): Do not use CHECK_1.
26048 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26049 (__old_msgctl): Do not use CHECK_1.
26050 (__new_msgctl): Likewise.
26051 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26052 <bp-checks.h>.
26053 (__gettimeofday): Do not use CHECK_1.
26054 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26055 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26056 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26057 <bp-checks.h>.
26058 (__gettimeofday): Do not use CHECK_1.
26059 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26060 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26061 (__new_shmctl): Do not use CHECK_1.
26062 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26063 <bp-checks.h>.
26064 (do_sigtimedwait): Do not use CHECK_1.
26065 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26066 <bp-checks.h>.
26067 (do_sigwaitinfo): Do not use CHECK_1.
26068 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26069 <bp-checks.h>.
26070 (msgctl): Do not use CHECK_1.
26071 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26072 <bp-checks.h>.
26073 (shmctl): Do not use CHECK_1.
26074 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26075 (ustat): Do not use CHECK_1.
26076 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26077 <bp-checks.h>.
26078 (__fxstat): Do not use CHECK_1.
26079 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26080 <bp-checks.h>.
26081 (__fxstatat): Do not use CHECK_1.
26082 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26083 <bp-checks.h>.
26084 (__lxstat): Do not use CHECK_1.
26085 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26086 <bp-checks.h>.
26087 (__xstat): Do not use CHECK_1.
26088 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26089 (__xstat): Do not use CHECK_1.
26090 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26091 (___xstat64): Do not use CHECK_1.
26092
b2c9eff4
JM
26093 [BZ #13550]
26094 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26095 definitions.
26096 (CHECK_BOUNDS_HIGH): Likewise.
26097 * string/strcpy.c: Do not include <bp-checks.h>.
26098 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26099
f1d70dad
RM
261002013-02-07 Roland McGrath <roland@hack.frob.com>
26101
26102 * nscd/nscd-client.h (__nscd_drop_map_ref):
26103 Add __attribute__ ((unused)).
26104 * nis/nss-nisplus.h (niserr2nss): Likewise.
26105
26106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26107 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26108
26109 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26110 Remove inline keyword.
26111 * include/rounding-mode.h (round_away): Likewise.
26112 * libio/wfileops.c (adjust_wide_data): Likewise.
26113 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26114 (__m128i_strloadu_tolower): Likewise.
26115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26116 (__m128i_strloadu_tolower): Likewise.
26117 * time/mktime.c (ydhms_diff): Likewise.
26118 * locale/elem-hash.h (elem_hash): Likewise.
26119 * locale/setlocale.c (setdata): Likewise.
26120 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26121 (re_string_wchar_at): Likewise.
26122 (bitset_not, bitset_merge, bitset_mask): Likewise.
26123 [!(__GNUC__ > 3)] (inline): Remove macro.
26124 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26125 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26126 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26127 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26128 * string/memcmp.c (memcmp_bytes): Likewise.
26129 * locale/programs/locarchive.c (compute_hashval): Likewise.
26130 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26131 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26132 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26133 * nss/getent.c (print_rpc, print_protocols): Likewise.
26134 (print_passwd, print_group, print_aliases): Likewise.
26135 * nis/nss-nisplus.h (niserr2nss): Likewise.
26136 * nscd/connections.c (restart_p): Likewise.
26137 Change return type to bool.
26138
eab55bfb
RM
261392013-02-05 Roland McGrath <roland@hack.frob.com>
26140
7bd642f5
RM
26141 * Makeconfig (all-Depend-files): Add existing
26142 $(sorted-subdirs:=/Depend) files.
26143 (all-subdirs): Remove nss.
26144 * sysdeps/unix/inet/Subdirs: Add it here instead.
26145 * hesiod/Depend: New file.
26146
573c29b2
RM
26147 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26148 instead of calling alloca.
26149
b2e25af0
RM
26150 * io/lseek.c (__lseek): Rename to __libc_lseek.
26151 Define __lseek as an alias.
26152
eab55bfb
RM
26153 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26154
9a0d1941
CD
261552013-02-04 Carlos O'Donell <carlos@redhat.com>
26156
26157 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26158 else clause and remove check for non-standard endianness.
26159
b83bbec4
DM
261602013-02-04 David S. Miller <davem@davemloft.net>
26161
26162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26163
6277fdab
JM
261642013-02-04 Joseph Myers <joseph@codesourcery.com>
26165
26166 [BZ #13550]
26167 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26168 (__ubp_memchr): Remove prototype.
26169 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26170 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26171 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26172 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26173 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26174 Remove alias.
26175 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26176 (__ubp_memchr): Likewise.
26177 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26178 (__ubp_memchr): Likewise.
26179 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26180 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26181 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26183 CHECK_STRING.
26184 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26185 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26186 (__getcwd): Do not use CHECK_STRING.
26187 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26188 <bp-checks.h>.
26189 (__real_chown): Do not use CHECK_STRING.
26190 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26191 <bp-checks.h>.
26192 (fchownat): Do not use CHECK_STRING.
26193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26194 CHECK_STRING.
26195 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26196 <bp-checks.h>.
26197 (__lchown): Do not use CHECK_STRING.
26198 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26199 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26200 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26201 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26203 include <bp-checks.h>.
26204 (truncate64): Do not use CHECK_STRING.
26205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26206 <bp-checks.h>.
26207 (__real_chown): Do not use CHECK_STRING.
26208 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26209 <bp-checks.h>.
26210 (__lchown): Do not use CHECK_STRING.
26211 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26212 <bp-checks.h>.
26213 (__chown): Do not use CHECK_STRING.
26214 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26215 <bp-checks.h>.
26216 (truncate64): Do not use CHECK_STRING.
26217 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26218 Likewise.
26219 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26220 (__xmknod): Do not use CHECK_STRING.
26221 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26222 <bp-checks.h>.
26223 (__xmknodat): Do not use CHECK_STRING.
26224 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26225 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26226
903ae060
AS
262272013-02-04 Andreas Schwab <schwab@suse.de>
26228
26229 [BZ #14142]
26230 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26231 * include/netdb.h: Likewise for h_errno.
26232 * elf/tst-stackguard1.c: Include <tls.h>.
26233
542f9466
JK
262342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26235
26236 * elf/link.h (struct link_map): Extend the l_addr comment.
26237 * include/link.h (struct link_map): Likewise.
26238
e782a927
JM
262392013-02-01 Joseph Myers <joseph@codesourcery.com>
26240
26241 [BZ #13550]
26242 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26243 (BOUNDED_1): Remove macro.
26244 * debug/backtrace.c: Don't include <bp-checks.h>.
26245 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26246 (__backtrace): Likewise.
26247 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26248 <bp-checks.h>.
26249 (__backtrace): Don't use BOUNDED_1.
26250 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26251 <bp-checks.h>.
26252 (__backtrace): Don't use BOUNDED_1.
26253 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26254 (__backtrace): Don't use BOUNDED_1.
26255 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26256 (shmat): Don't use BOUNDED_N.
26257
8cf28c5e
JM
262582013-01-31 Joseph Myers <joseph@codesourcery.com>
26259
3a7ac8a0
JM
26260 [BZ #13550]
26261 * sysdeps/generic/bp-start.h: Remove file.
26262 * csu/libc-start.c: Don't include <bp-start.h>.
26263 (LIBC_START_MAIN): Set up __environ directly instead of using
26264 INIT_ARGV_and_ENVIRON.
26265 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26266 <bp-start.h>.
26267
f3499f95
JM
26268 [BZ #13550]
26269 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26270 definitions.
26271 (CHECK_FCNTL): Likewise.
26272 (CHECK_N_PAGES): Likewise.
26273
32a45bea
JM
26274 [BZ #13550]
26275 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26276 definitions.
26277 (CHECK_SIGSET_NULL_OK): Likewise.
26278 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26279 <bp-checks.h>.
26280 (sigpending): Don't use CHECK_SIGSET.
26281 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26282 <bp-checks.h>.
26283 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26284 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26285 <bp-checks.h>.
26286 (do_sigsuspend): Don't use CHECK_SIGSET.
26287 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26288 use CHECK_SIGSET.
26289 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26290 (do_sigwait): Don't use CHECK_SIGSET.
26291 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26292 use CHECK_SIGSET.
26293 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26294 include <bp-checks.h>.
26295 (sigpending): Don't use CHECK_SIGSET.
26296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26297 include <bp-checks.h>.
26298 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26299 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26300 <bp-checks.h>.
26301 (sigpending): Don't use CHECK_SIGSET.
26302 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26303 <bp-checks.h>.
26304 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26305
2e8a5c8c
JM
26306 [BZ #13550]
26307 * sysdeps/generic/bp-semctl.h: Remove file.
26308 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26309 <bp-checks.h> and <bp-semctl.h>.
26310 (__old_semctl): Don't use CHECK_SEMCTL.
26311 (__new_semctl): Likewise.
26312 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26313 and <bp-semctl.h>.
26314 (__old_semctl): Don't use CHECK_SEMCTL.
26315 (__new_semctl): Likewise.
26316 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26317 <bp-checks.h> and <bp-semctl.h>.
26318 (__old_semctl): Don't use CHECK_SEMCTL.
26319 (__new_semctl): Likewise.
26320 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26321 <bp-checks.h> and <bp-semctl.h>.
26322 (semctl): Don't use CHECK_SEMCTL.
26323
c2d54929
JM
26324 [BZ #13550]
26325 * Makerules (elide-bp-thunks): Remove variable.
26326 (elide-routines.oS): Don't use $(elide-bp-thunks).
26327 (elide-routines.os): Likewise.
26328 (elide-routines.o): Likewise.
26329 (elide-routines.op): Likewise.
26330 (elide-routines.og): Likewise.
26331 (objects): Don't use $(bp-thunks).
26332 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26333 include.
26334 (common-generated): Do not add s-proto-bp.d.
26335 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26336 (int): Likewise.
26337 (typ): Likewise.
26338 Do not generate makefile rules for bounded-pointer thunks.
26339 * sysdeps/generic/bp-thunks.h: Remove file.
26340 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26341 * sysdeps/unix/s-proto-bp.S: Likewise.
26342
8cf28c5e
JM
26343 [BZ #15062]
26344 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26345 parts of result separately when argument is not close to line from
26346 -i to i and one part of argument is small.
26347 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26348 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26349 * math/libm-test.inc (cacos_test): Add more tests.
26350 (casin_test): Likewise.
26351 (casinh_test): Likewise.
26352 * sysdeps/i386/fpu/libm-test-ulps: Update.
26353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26354
c4e33b8d
DM
263552013-01-31 David S. Miller <davem@davemloft.net>
26356
26357 * po/de.po: Update from translation team.
26358
3b60b421
MK
263592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26360
26361 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26362
bb931195
TS
263632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26364
b5a5da23
TS
26365 * configure.in (_AC_PROG_CC_C89): New definition.
26366 * configure: Regenerate.
26367
bb931195
TS
26368 * configure.in (AC_PROG_CPP): New definition.
26369 * configure: Regenerate.
26370
8c53a12c
JM
263712013-01-23 Joseph Myers <joseph@codesourcery.com>
26372
26373 * debug/tst-backtrace.h: New file.
26374 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26375 (ret): Remove variable.
26376 (x): Likewise.
26377 (FAIL): Remove macro.
26378 (NO_INLINE): Likewise.
26379 (fn1): Use match function instead of strstr.
26380 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26381 (ret): Remove variable.
26382 (x): Likewise.
26383 (FAIL): Remove macro.
26384 (NO_INLINE): Likewise.
26385 (fn): Use match function instead of strstr.
26386 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26387 (ret): Remove variable.
26388 (x): Likewise.
26389 (FAIL): Remove macro.
26390 (NO_INLINE): Likewise.
26391 (handle_signal): Use match function instead of strstr.
26392 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26393 (ret): Remove variable.
26394 (x): Likewise.
26395 (FAIL): Remove macro.
26396 (NO_INLINE): Likewise.
26397 (handle_signal): Use match function instead of strstr.
26398
4858fa2a
RM
263992013-01-23 Roland McGrath <roland@hack.frob.com>
26400
26401 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26402
bae8e7f5
DM
264032013-01-23 David S. Miller <davem@davemloft.net>
26404
26405 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26406 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26407 argument of CAS if possible.
26408 * sysdeps/sparc/sparc64/bits/atomic.h
26409 (__arch_compare_and_exchange_val_32_acq): Likewise.
26410 (__arch_compare_and_exchange_val_64_acq): Likewise.
26411
9cbbc4ae
PT
264122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26413
26414 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26415 * sysdeps/posix/ulimit.c: ... this.
92a601b8 26416 Include <limits.h>.
67b3f58c 26417 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 26418
5655a0b5
AC
264192013-01-23 Adam Conrad <adconrad@0c3.net>
26420
26421 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26422 (LDFLAGS-tst-array5): Likewise.
26423
052aff95
JM
264242013-01-23 Joseph Myers <joseph@codesourcery.com>
26425
26426 [BZ #15036]
26427 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26428 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26429 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26430 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26431
7c1e01aa
DM
264322013-01-21 David S. Miller <davem@davemloft.net>
26433
26434 * sysdeps/sparc/backtrace.c: New file.
26435 * sysdeps/sparc/sparc32/backtrace.h: New file.
26436 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26437 * sysdeps/sparc/sparc64/backtrace.h: New file.
26438 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26439 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26440 -funwind-tables.
26441
ab087e0a
AS
264422013-01-21 Andreas Schwab <schwab@suse.de>
26443
26444 [BZ #15020]
26445 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26446 closed its stdout.
26447
ed689c2f
AS
264482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26449
26450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26451 "mpa2.h".
26452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26453
31d470ac
JM
264542013-01-18 Joseph Myers <joseph@codesourcery.com>
26455 Mark Mitchell <mark@codesourcery.com>
26456 Tom de Vries <tom@codesourcery.com>
26457 Paul Pluzhnikov <ppluzhnikov@google.com>
26458
26459 * debug/tst-backtrace2.c: New file.
26460 * debug/tst-backtrace3.c: Likewise.
26461 * debug/tst-backtrace4.c: Likewise.
26462 * debug/tst-backtrace5.c: Likewise.
26463 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26464 (CFLAGS-tst-backtrace3.c): Likewise.
26465 (CFLAGS-tst-backtrace4.c): Likewise.
26466 (CFLAGS-tst-backtrace5.c): Likewise.
26467 (LDFLAGS-tst-backtrace2): Likewise.
26468 (LDFLAGS-tst-backtrace3): Likewise.
26469 (LDFLAGS-tst-backtrace4): Likewise.
26470 (LDFLAGS-tst-backtrace5): Likewise.
26471 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26472 tst-backtrace4 and tst-backtrace5.
26473
90567f30 264742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
26475 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26476
26477 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26478 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26479 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26480 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26482 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26483 "+r" and remove output regs list as redundant. Add explicit inline
26484 asm to specify register of return val to work around compiler codegen
26485 bug. Remove (int) cast on return value. Add return type parameter to
26486 use in macro so that this macro does not truncate return value for
26487 64-bit values.
26488 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26489 pass to INTERNAL_VSYSCALL_NCS.
26490 (INLINE_VSYSCALL): Add 'long int' as return type to
26491 INTERNAL_VSYSCALL_NCS macro invocation.
26492 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26493 INTERNAL_VSYSCALL_NCS macro invocation.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26495
d3b9ea61
SP
264962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26497
0b57daeb
SP
26498 [BZ #14496]
26499 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26500 Fix application of SIMD FP exception mask.
26501
caa99d06
SP
26502 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26503 mp_no from a power of two.
26504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26505 __mpexp_twomm1. Use __pow_mp.
26506
d3b9ea61
SP
26507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26508 multiplication.
26509
1dbaee3c
DM
265102013-01-17 David S. Miller <davem@davemloft.net>
26511
26512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26513
728d7b43
JM
265142013-01-17 Joseph Myers <joseph@codesourcery.com>
26515
26516 [BZ #15023]
26517 * include/complex.h: Condition contents on [!_COMPLEX_H].
26518 (__kernel_casinhf): New prototype.
26519 (__kernel_casinh): Likewise.
26520 (__kernel_casinhl): Likewise.
26521 * math/Makefile (libm_calls): Add k_casinh.
26522 * math/k_casinh.c: New file.
26523 * math/k_casinhf.c: Likewise.
26524 * math/k_casinhl.c: Likewise.
26525 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26526 finite nonzero arguments.
26527 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26528 finite nonzero arguments.
26529 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26530 finite nonzero arguments.
26531 * math/s_casinh.c: Do not include <float.h>.
26532 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26533 * math/s_casinhf.c: Do not include <float.h>.
26534 (__casinhf): Move code for finite nonzero arguments to
26535 k_casinhf.c.
26536 * math/s_casinhl.c: Do not include <float.h>.
26537 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26538 redefine.
26539 (__casinhl): Move code for finite nonzero arguments to
26540 k_casinhl.c.
26541 * math/libm-test.inc (cacos_test): Add more tests.
26542 * sysdeps/i386/fpu/libm-test-ulps: Update.
26543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26544
2a26ef3a
PT
265452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26546
26547 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26548 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26549 [!HAVE_MREMAP]: Remove [defined linux] case.
26550 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26551
a897655d
SP
265522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26553
26554 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26555
881ebe89 265562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
26557
26558 * elf/elf.h (R_386_SIZE32): New relocation.
26559 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26560 R_386_SIZE32.
26561 (elf_machine_rela): Likewise.
26562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26563 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26564
59981e9b
JM
265652013-01-17 Joseph Myers <joseph@codesourcery.com>
26566
26567 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26568 (FP_FAST_FMA): Do not define.
26569 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26570 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26571 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26572 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26573 !_SOFT_FLOAT]: Likewise.
26574 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26575 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26576 value.
26577 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26578 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26579 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26580 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26581 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26582 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26583 file.
26584
cfa8054f
AS
265852013-01-16 Andreas Schwab <schwab@suse.de>
26586
26587 [BZ #14327]
26588 * include/stdlib.h (__mktemp): Add declaration.
26589 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26590 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26591
dd930cc5
SP
265922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26593
881ebe89
SP
26594 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26595 definitions.
26596 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26597 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26598 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26599 definitions here.
26600 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26601 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26602 definitions.
26603 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26604 and ONE.
26605 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26606 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26607 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26608 definitions.
26609 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26610 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26611 definitions.
26612 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 26613
dd930cc5
SP
26614 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26615
c19a9f89
DM
266162013-01-15 David S. Miller <davem@davemloft.net>
26617
1aa61767
DM
26618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26619 trunc{,f} to libm-sysdep_routes.
26620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26622 file.
26623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26625 file.
26626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26627 file.
26628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26630 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26631 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26632 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26633 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26634 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26635 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26636
c42d5e98
DM
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26638 nearbyint{,f} to libm-sysdep_routes.
26639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26641 New file.
26642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26643 file.
26644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26645 New file.
26646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26647 file.
26648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26650 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26651 file.
26652 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26653 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26654 file.
26655 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26656 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26657 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26658
c19a9f89
DM
26659 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26660 libc_feholdexcept and libc_fesetenv.
26661
357679d2
MF
266622013-01-15 Mike Frysinger <vapier@gentoo.org>
26663
26664 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26665
65a82e3d
DM
266662013-01-14 David S. Miller <davem@davemloft.net>
26667
8b954ab9
DM
26668 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26669 (SPARC_ASM_VIS2_IFUNC): Likewise.
26670 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26672 use of 'siam' instruction.
26673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26674 Likewise.
26675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26676 Likewise.
26677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26678 Likewise.
26679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26684 file.
26685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26686 file.
26687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26688 file.
26689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26690 file.
26691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26696 new VIS2 routines.
26697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26700 Likewise.
26701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26706 routines to libm-sysdep_routines.
26707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26708
65a82e3d
DM
26709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26710 fdim/fdimf to libm-sysdep_routines.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26712 file.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26715 file.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26719 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26720 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26722 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26723
e34ab705
SP
267242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26725
2a91b573
SP
26726 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26727 to optimize copies.
26728
1066a534
SP
26729 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26732
e34ab705
SP
26733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26734 local variable MPTWO.
26735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26736 Likewise.
26737
aba5e596
MF
267382013-01-13 Mike Frysinger <vapier@gentoo.org>
26739
26740 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26741 GLOB_NOESCAPE.
26742
e557e9e5
MF
267432013-01-13 Mike Frysinger <vapier@gentoo.org>
26744
26745 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26746
0428cec9
MF
267472013-01-13 Mike Frysinger <vapier@gentoo.org>
26748
26749 * manual/pattern.texi (glob_t): Document gl_flags.
26750 (glob64_t): Likewise.
26751
8794a964
DM
267522013-01-11 David S. Miller <davem@davemloft.net>
26753
66438c3f
RM
26754 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26755 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26756 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
26757 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26758 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26759 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26760 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26761 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26762 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26763 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26764 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26765 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26766 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26767
4ae4244d
DM
26768 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26769 sparc V9 rather than using V8 code.
26770 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26771 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26772
8794a964
DM
26773 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26774 Move to...
26775 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26776 Here.
26777
6270516e
RM
267782013-01-11 Roland McGrath <roland@hack.frob.com>
26779
26780 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26781 not in the main loop.
26782 * configure: Regenerated.
26783
6a57d931
JM
267842013-01-11 Joseph Myers <joseph@codesourcery.com>
26785
26786 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26787 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26788 to just #else.
26789 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26790 [!__GLIBC_HAVE_LONG_LONG] case.
26791 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26792 condition to just #else.
26793 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26794 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26795 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26796 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26797 unconditional.
26798 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26799 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26800 #elif condition to just #else.
26801 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26802 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26803 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26804 #elif condition to just #else.
26805
0e8529e9
SE
268062013-01-11 Steve Ellcey <sellcey@mips.com>
26807
26808 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26809 (EF_MIPS_ARCH_64): Fix value.
26810 (EF_MIPS_ARCH_32R2): New.
26811 (EF_MIPS_ARCH_64R2): New.
26812
740b3dbe
L
268132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26814
26815 * Makeconfig (+link-pie-before-libc): New.
26816 (+link-pie-after-libc): Likewise.
26817 (+link-pie-tests): Likewise.
26818 (+link-pie): Rewritten.
26819 (link-before-libc): Remove $(config-LDFLAGS).
26820 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26821 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26822 (config-LDFLAGS): Renamed to ...
26823 (rtld-LDFLAGS): This.
26824 (rtld-tests-LDFLAGS): New macro.
26825 (link-libc-rpath-link): Likewise.
26826 (link-libc-tests-rpath-link): Likewise.
26827 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26828 (link-libc): Prepand $(link-libc-rpath-link).
26829 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26830 (test-program-prefix): New macro.
26831 (test-via-rtld-prefix): Likewise.
26832 (test-program-cmd): Likewise.
26833 (host-test-program-cmd): Likewise.
26834 * Makefile ($(common-objpfx)testrun.sh): Replace
26835 $(run-program-prefix) with $(test-program-prefix).
26836 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26837 $(rtld-LDFLAGS).
26838 ($(common-objpfx)shlib.lds): Likewise.
26839 (build-module-helper): Likewise.
26840 ($(common-objpfx)format.lds): Likewise.
26841 * Rules (binaries-pie-tests): New.
26842 (binaries-pie-notests): Likewise.
26843 (binaries-pie): Rewritten.
26844 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26845 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26846 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26847 (make-test-out): Replace $(host-built-program-cmd) with
26848 $(host-test-program-cmd).
26849 * config.make.in (build-hardcoded-path-in-tests): New variable.
26850 * configure.in (--enable-hardcoded-path-in-tests): New configure
26851 option.
26852 (hardcoded_path_in_tests): New AC_SUBST.
26853 * configure: Regenerated.
26854 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26855 $(built-program-cmd) with $(test-program-cmd).
26856 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26857 (test_program_cmd): This.
26858 * elf/Makefile ($(objpfx)order.out): Run test with
26859 $(test-program-prefix).
26860 ($(objpfx)order2.out): Likewise.
26861 ($(objpfx)tst-initorder.out): Likewise.
26862 ($(objpfx)tst-initorder2.out): Likewise.
26863 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26864 $(test-program-cmd).
26865 ($(objpfx)tst-array1-static.out): Likewise.
26866 ($(objpfx)tst-array2.out): Likewise.
26867 ($(objpfx)tst-array3.out): Likewise.
26868 ($(objpfx)tst-array4.out): Likewise.
26869 ($(objpfx)tst-array5.out): Likewise.
26870 ($(objpfx)tst-array5-static.out): Likewise.
26871 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26872 $(test-program-cmd).
26873 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26874 $(run-program-prefix) with $(test-program-prefix).
26875 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26876 (test_program_prefix): This.
26877 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26878 $(run-program-prefix) with $(test-program-prefix).
26879 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26880 (test_program_prefix): This.
26881 * iconvdata/tst-tables.sh: Likewise.
26882 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26883 $(run-program-prefix) with $(test-program-prefix).
26884 ($(objpfx)tst-translit.out): Likewise.
26885 ($(objpfx)tst-gettext2.out): Likewise.
26886 ($(objpfx)tst-gettext4.out): Likewise.
26887 ($(objpfx)tst-gettext6.out): Likewise.
26888 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26889 (test_program_prefix): This.
26890 * intl/tst-gettext2.sh: Likewise.
26891 * intl/tst-gettext4.sh Likewise.
26892 * intl/tst-gettext6.sh: Likewise.
26893 * intl/tst-translit.sh: Likewise.
26894 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26895 with $(test-program-cmd).
26896 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26897 $(run-program-prefix) with $(test-program-prefix).
26898 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26899 (test_program_prefix): This.
26900 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26901 $(run-program-prefix) with $(test-program-prefix).
26902 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26903 (test_program_prefix): This.
26904 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26905 * posix/Makefile ($(objpfx)globtest.out): Replace
26906 $(run-via-rtld-prefix) and $(test-wrapper) with
26907 $(test-program-prefix) and $(test-via-rtld-prefix).
26908 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26909 $(test-program-prefix).
26910 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26911 $(host-test-program-cmd).
26912 (tst-spawn-ARGS): Likewise.
26913 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26914 $(test-program-prefix).
26915 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26916 (test_via_rtld_prefix): This.
26917 (test_wrapper): Renamed to ...
26918 (test_program_prefix): This.
26919 (run_program_prefix): Replaced by test_program_prefix.
26920 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26921 (test_program_prefix): This.
26922 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26923 with $(host-test-program-cmd).
26924 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26925 $(run-program-prefix) with $(test-program-prefix).
26926 ($(objpfx)tst-printf.out): Likewise.
26927 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26928 $(test-program-cmd).
26929 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26930 (test_program_prefix): This.
26931 * stdio-common/tst-unbputc.sh: Likewise.
26932 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26933 $(run-program-prefix) with $(test-program-prefix).
26934 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26935 (test_program_prefix): This.
26936 * string/Makefile ($(objpfx)tst-svc.out): Replace
26937 $(built-program-cmd) with $(test-program-cmd).
26938
c6fe55cf
AJ
269392013-01-11 Andreas Jaeger <aj@suse.de>
26940
26941 [BZ #15003]
26942 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26943 value. Sync with Linux 3.7.
26944
9e6919c8
DM
269452013-01-10 David S. Miller <davem@davemloft.net>
26946
26947 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26948 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26949 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26950
1c9f1a02
RM
269512013-01-10 Roland McGrath <roland@hack.frob.com>
26952
26953 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26954 never set.
26955 * configure: Regenerated.
26956
b9de2dde
DM
269572013-01-10 David S. Miller <davem@davemloft.net>
26958
26959 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26960 sparc V9 rather than using V8 code.
26961 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26962 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26963
e7f68ef4
RM
269642013-01-10 Roland McGrath <roland@hack.frob.com>
26965
26966 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26967 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26968 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26969 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26970 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26971 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26972 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26973 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26974 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26975 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26976 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26977 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26978 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26979 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26980 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26981 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26982 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26983 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26984 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26985 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26986 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26987 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26988 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26989 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26990 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26991 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26992 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26993
5a47cc9c
DM
269942013-01-10 David S. Miller <davem@davemloft.net>
26995
26996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26997
4cf8f209
L
269982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26999
27000 * posix/Makefile (tests-static): New variable.
27001 (tests): Add $(tests-static).
27002 (tst-exec-static-ARGS): New variable.
27003 (tst-spawn-static-ARGS): Likewise.
27004 * posix/tst-exec-static.c: New file.
27005 * posix/tst-spawn-static.c: Likewise.
27006 * posix/tst-exec.c: Support run directly.
27007 * posix/tst-spawn.c: Likewise.
27008
fed0faa1
JM
270092013-01-10 Joseph Myers <joseph@codesourcery.com>
27010
828beb13
JM
27011 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27012 long.
27013 * math/bits/mathcalls.h (llrint): Likewise.
27014 (llround): Likewise.
27015 * stdlib/stdlib.h (struct drand48_data): Likewise.
27016 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27017 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27018 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27019 Likewise.
27020 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27021 Likewise.
27022 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27023 (elf_greg_t): Likewise.
27024 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27025 (__jmp_buf): Likewise.
27026 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27027 definitions.
27028 (llrint): Likewise, for all definitions.
27029 (llrintl): Likewise.
27030
fed0faa1
JM
27031 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27032 Remove [__GNUC__] condition.
27033 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27034 condition to just [__USE_ISOC99].
27035 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27036
1a20cb20
L
270372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 [BZ #14200]
27040 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27041 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27042 defined.
27043 (_POSIX_V6_ILP32_OFF32): Likewise.
27044 (_XBS5_ILP32_OFF32): Likewise.
27045 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27046 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27047
751b85f7
SP
270482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27049
7490eb81
SP
27050 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27051
751b85f7
SP
27052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27053 doubles __mpexp_twomm1. Adjust usage.
27054 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27055 Remove.
27056
988197f0
AS
270572013-01-10 Andreas Schwab <schwab@suse.de>
27058
27059 [BZ #14964]
27060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27061 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27062
e83d7298
DM
270632013-01-09 David S. Miller <davem@davemloft.net>
27064
034ed64b 27065 [BZ #15003]
57f41c40
AS
27066 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27067 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27068 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27069 (TCP_FASTOPEN): Define.
e83d7298
DM
27070 (tcp_repair_opt): New structure.
27071 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27072 enum values.
57f41c40
AS
27073 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27074 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27075 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
27076 (tcp_cookie_transactions): New structure.
27077
d5e0b9bd
AB
270782013-01-09 Anton Blanchard <anton@samba.org>
27079
27080 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27081 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27083 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27084
0c07e3ea
JM
270852013-01-09 Joseph Myers <joseph@codesourcery.com>
27086
27087 * include/features.h (__USE_ANSI): Remove.
27088
232f7002
RM
270892013-01-09 Roland McGrath <roland@hack.frob.com>
27090
ad98e30c
RM
27091 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27092
232f7002
RM
27093 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27094
950c99ca
SP
270952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27096
b5792741
SP
27097 * sysdeps/s390/fpu/libm-test-ulps: Update.
27098
47cf2278
SP
27099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27100
950c99ca
SP
27101 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27102 (__acr): Likewise.
27103 (__cpy): Likewise.
27104 (norm): Likewise.
27105 (denorm): Likewise.
27106 (__mp_dbl): Likewise.
27107 (__dbl_mp): Likewise.
27108 (add_magnitudes): Likewise.
27109 (sub_magnitudes): Likewise.
27110 (__add): Likewise.
27111 (__sub): Likewise.
27112 (__mul): Likewise.
27113 (__inv): Likewise.
27114 (__dvd): Likewise.
27115 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27116 (__acr): Likewise.
27117 (__cpy): Likewise.
27118 (norm): Likewise.
27119 (denorm): Likewise.
27120 (__mp_dbl): Likewise.
27121 (__dbl_mp): Likewise.
27122 (add_magnitudes): Likewise.
27123 (sub_magnitudes): Likewise.
27124 (__add): Likewise.
27125 (__sub): Likewise.
27126 (__mul): Likewise.
27127 (__inv): Likewise.
27128 (__dvd): Likewise.
27129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27130 (__acr): Likewise.
27131 (__cpy): Likewise.
27132 (norm): Likewise.
27133 (denorm): Likewise.
27134 (__mp_dbl): Likewise.
27135 (__dbl_mp): Likewise.
27136 (add_magnitudes): Likewise.
27137 (sub_magnitudes): Likewise.
27138 (__add): Likewise.
27139 (__sub): Likewise.
27140 (__mul): Likewise.
27141 (__inv): Likewise.
27142 (__dvd): Likewise.
27143
eede9df9
JM
271442013-01-08 Joseph Myers <joseph@codesourcery.com>
27145
27146 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27147 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27148 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27149 2 && __USE_EXTERN_INLINES]: Likewise.
27150
c40ea3d9
AJ
271512013-01-08 Andreas Jaeger <aj@suse.de>
27152
27153 [BZ# 14985]
27154 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27155 Remove.
27156 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27157 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27158
2ccdea26
AB
271592013-01-07 Anton Blanchard <anton@samba.org>
27160
27161 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27162 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27163 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27164 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27165 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27166 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27167 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27168 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27170 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27172 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27173 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27174 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27176 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27177 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27178 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27179 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27180 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27181 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27182 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27184 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27185 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27186 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27187 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27188 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27189 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27190 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27191 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27193 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27194 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27195 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27196 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27197 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27199 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27200 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27204
a9708fed
JM
272052013-01-07 Joseph Myers <joseph@codesourcery.com>
27206
375607b9
JM
27207 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27208 (__MALLOC_PMT): Likewise.
27209 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27210 [__GNUC__], only on [_LIBC].
27211 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27212 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27213 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27214 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27215 forward declaration.
27216 (realloc_hook_ini): Likewise.
27217 (memalign_hook_ini): Likewise.
27218 (__libc_memalign): Do not use __MALLOC_PMT in variable
27219 declaration.
27220 (__libc_valloc): Likewise.
27221 (__libc_pvalloc): Likewise.
27222 (__libc_calloc): Likewise.
27223 (__posix_memalign): Likewise.
27224
a9708fed
JM
27225 [BZ #14996]
27226 * math/s_casinh.c: Include <float.h>.
27227 (__casinh): Do not do computation with squaring and square root
27228 for large arguments.
27229 * math/s_casinhf.c: Include <float.h>.
27230 (__casinhf): Do not do computation with squaring and square root
27231 for large arguments.
27232 * math/s_casinhl.c: Include <float.h>.
27233 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27234 (__casinhl): Do not do computation with squaring and square root
27235 for large arguments.
27236 * math/libm-test.inc (casin_test): Add more tests.
27237 (casinh_test): Likewise.
27238 * sysdeps/i386/fpu/libm-test-ulps: Update.
27239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27240
afec409a
L
272412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27242
27243 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27244 (__x86_64_raw_data_cache_size): Likewise.
27245 (__x86_64_data_cache_size_half): Likewise.
27246 (__x86_64_raw_data_cache_size_half): Likewise.
27247 (__x86_64_shared_cache_size): Likewise.
27248 (__x86_64_raw_shared_cache_size): Likewise.
27249 (__x86_64_shared_cache_size_half): Likewise.
27250 (__x86_64_raw_shared_cache_size_half): Likewise.
27251 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27252 to ...
27253 (__x86_data_cache_size): This.
27254 (__x86_64_raw_data_cache_size): Renamed to ...
27255 (__x86_raw_data_cache_size): This.
27256 (__x86_64_data_cache_size_half): Renamed to ...
27257 (__x86_data_cache_size_half): This.
27258 (__x86_64_raw_data_cache_size_half): Renamed to ...
27259 (__x86_raw_data_cache_size_half): This.
27260 (__x86_64_shared_cache_size): Renamed to ...
27261 (__x86_shared_cache_size): This.
27262 (__x86_64_raw_shared_cache_size): Renamed to ...
27263 (__x86_raw_shared_cache_size): This.
27264 (__x86_64_shared_cache_size_half): Renamed to ...
27265 (__x86_shared_cache_size_half): This.
27266 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27267 (__x86_raw_shared_cache_size_half): This.
27268 * sysdeps/x86_64/memcpy.S: Updated.
27269 * sysdeps/x86_64/memset.S: Likewise.
27270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27271 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27273
0b3986d0
DM
272742013-01-04 David S. Miller <davem@davemloft.net>
27275
27276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27277
e47686e9
AS
272782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27279
d643bac1
AS
27280 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27281 1 to avoid redefinition warning.
27282 (__USE_GNU): Don't define.
27283 (init_signaling_nan): Protoize.
27284
e47686e9
AS
27285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27286
b18decba
SP
272872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27288
fffb407f
SP
27289 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27291 (__cpymn): Likewise.
27292 (norm): Remove commented code.
27293 (denorm): Likewise.
27294 (__mp_dbl): Likewise.
27295 (__inv): Likewise.
27296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27297 (__cpymn): Likewise.
27298 (norm): Remove commented code.
27299 (denorm): Likewise.
27300 (__mp_dbl): Likewise.
27301 (__inv): Likewise.
27302
b18decba
SP
27303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27304 mp_no value for 1.0 and 2.0.
27305 (norm): Use RADIXI instead of radixi.d.
27306 (denorm): Likewise.
27307 (__mul): Use 0.0 instead of zero.d.
27308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27309 mp_no value for 1.0 and 2.0.
27310 (norm): Use RADIXI instead of radixi.d.
27311 (denorm): Likewise.
27312 (__mul): Use 0.0 instead of zero.d.
27313
cdc1c96f
JM
273142013-01-04 Joseph Myers <joseph@codesourcery.com>
27315
27316 [BZ #14994]
27317 * math/s_casinh.c (__casinh): Reduce finite argument to first
27318 quadrant then set signs of results at the end.
27319 * math/s_casinhf.c (__casinhf): Likewise.
27320 * math/s_casinhl.c (__casinhl): Likewise.
27321 * math/libm-test.inc (casin_test): Add more tests.
27322 (casinh_test): Likewise.
27323 * sysdeps/i386/fpu/libm-test-ulps: Update.
27324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325
302913e1
SP
273262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27327
6420d207
SP
27328 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27329
a9e48ab4
SP
27330 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27331
b7837264
SP
27332 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27333 declarations.
27334 (denorm): Likewise.
27335 (__mp_dbl): Likewise.
27336 (__inv): Likewise.
27337
f8af25d2
SP
27338 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27339 and adjust the header comment.
27340
302913e1
SP
27341 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27342 variable name from declaration.
27343
5d7dd1ca
L
273442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27347 Initialize COMMON_CPUID_INDEX_7 element.
27348 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27349 (CPUID_RTM): Likewise.
27350 (HAS_RTM): Likewise.
27351 (COMMON_CPUID_INDEX_7): New enum.
27352
2f5f40f4
AS
273532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27354
27355 [BZ #14981]
27356 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27357 size is zero, record memory as freed.
27358
4056f4a0
AJ
273592013-01-03 Andreas Jaeger <aj@suse.de>
27360
27361 * po/ia.po: Add new Interlingua translation.
27362
ab15736f 273632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
27364
27365 * locale/programs/localedef.c: Fix description of '--posix' flag.
27366
568035b7
JM
273672013-01-02 Joseph Myers <joseph@codesourcery.com>
27368
e6898b8d
JM
27369 * NEWS: Update dates in second copyright notice.
27370 * README: Update copyright dates in example.
27371 * manual/libc.texinfo: Update copyright dates.
27372 * scripts/test-installation.pl: Update copyright date in --version
27373 output.
27374
0e2f9562
JM
27375 * hurd/ctty-input.c: Fix copyright notice formatting.
27376 * hurd/ctty-output.c: Likewise.
27377 * hurd/dtable.c: Likewise.
27378 * hurd/hurd-raise.c: Likewise.
27379 * hurd/hurdprio.c: Likewise.
27380 * hurd/msgportdemux.c: Likewise.
27381 * misc/sys/file.h: Likewise.
27382 * misc/sys/ioctl.h: Likewise.
27383 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27384 * sysdeps/mach/hurd/chdir.c: Likewise.
27385 * sysdeps/mach/hurd/fchdir.c: Likewise.
27386 * sysdeps/mach/hurd/rename.c: Likewise.
27387 * sysdeps/mach/hurd/rmdir.c: Likewise.
27388 * sysdeps/mach/hurd/seekdir.c: Likewise.
27389 * sysdeps/mach/hurd/setsid.c: Likewise.
27390 * sysdeps/posix/wait3.c: Likewise.
27391
568035b7
JM
27392 * All files with FSF copyright notices: Update copyright dates
27393 using scripts/update-copyrights.
27394 * intl/plural.c: Regenerated.
27395 * locale/programs/charmap-kw.h: Likewise.
27396 * locale/programs/locfile-kw.h: Likewise.
27397
da08f647
SP
273982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27399
0f5477af
SP
27400 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27401 four values.
27402
44e0d4c2
SP
27403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27404 calculation loop and add branch prediction.
27405
4d55b4e5
SP
27406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27407 check access beyond bounds of m1np.
27408
da08f647
SP
27409 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27410 MPTWO.
27411 (__inv): Remove local variable MPTWO to use the global
27412 constant.
27413 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27415 variable MPTWO.
27416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27417 MP3HALFS static const.
27418
8e051029
DM
274192013-01-01 David S. Miller <davem@davemloft.net>
27420
27421 * po/ca.po: Update from translation team.
27422
f4cf5f2d
JM
274232013-01-01 Joseph Myers <joseph@codesourcery.com>
27424
27425 * scripts/update-copyrights: New file.
27426 * Makeconfig: Reformat copyright notice.
27427 * ctype/ctype.h: Likewise.
27428 * debug/swprintf_chk.c: Likewise.
27429 * elf/dl-cache.c: Likewise.
27430 * elf/dl-debug.c: Likewise.
27431 * elf/dl-object.c: Likewise.
27432 * grp/initgroups.c: Likewise.
27433 * hurd/Makefile: Likewise.
27434 * hurd/hurd/signal.h: Likewise.
27435 * hurd/hurdfault.c: Likewise.
27436 * hurd/hurdioctl.c: Likewise.
27437 * hurd/hurdlookup.c: Likewise.
27438 * hurd/intr-msg.c: Likewise.
27439 * iconv/gconv_open.c: Likewise.
27440 * libio/swprintf.c: Likewise.
27441 * locale/lc-ctype.c: Likewise.
27442 * locale/nl_langinfo.c: Likewise.
27443 * mach/Machrules: Likewise.
27444 * mach/Makefile: Likewise.
27445 * malloc/obstack.h: Likewise.
27446 * manual/Makefile: Likewise.
27447 * manual/tsort.awk: Likewise.
27448 * misc/bits/stab.def: Likewise.
27449 * nis/nis_print_group_entry.c: Likewise.
27450 * nis/nis_table.c: Likewise.
27451 * nis/nss_compat/compat-pwd.c: Likewise.
27452 * nis/nss_compat/compat-spwd.c: Likewise.
27453 * po/Makefile: Likewise.
27454 * posix/fnmatch.c: Likewise.
27455 * posix/regex.h: Likewise.
27456 * resolv/Makefile: Likewise.
27457 * resolv/nss_dns/dns-network.c: Likewise.
27458 * resolv/res_hconf.c: Likewise.
27459 * scripts/gen-sorted.awk: Likewise.
27460 * soft-fp/soft-fp.h: Likewise.
27461 * stdio-common/printf.h: Likewise.
27462 * stdlib/monetary.h: Likewise.
27463 * stdlib/random.c: Likewise.
27464 * stdlib/random_r.c: Likewise.
27465 * sysdeps/generic/Makefile: Likewise.
27466 * sysdeps/gnu/Makefile: Likewise.
27467 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27495 * sysdeps/mach/hurd/errnos.awk: Likewise.
27496 * sysdeps/mach/hurd/fork.c: Likewise.
27497 * sysdeps/mach/hurd/getcwd.c: Likewise.
27498 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27499 * sysdeps/mach/hurd/mmap.c: Likewise.
27500 * sysdeps/mach/hurd/utimes.c: Likewise.
27501 * sysdeps/mach/hurd/xmknod.c: Likewise.
27502 * sysdeps/posix/profil.c: Likewise.
27503 * sysdeps/posix/readdir_r.c: Likewise.
27504 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27505 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27506 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27507 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27509 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27510 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27511 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27513 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27515 * sysdeps/pthread/lio_listio.c: Likewise.
27516 * sysdeps/sparc/dl-procinfo.h: Likewise.
27517 * sysdeps/unix/i386/sysdep.S: Likewise.
27518 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27519 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27520 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27521 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27523 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27524 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27525 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27526 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27527 * sysdeps/wordsize-32/divdi3.c: Likewise.
27528 * time/sys/time.h: Likewise.
27529 * wcsmbs/Makefile: Likewise.
27530
0549fbba
DM
275312013-01-01 David S. Miller <davem@davemloft.net>
27532
a141f1a7
DM
27533 * po/fr.po: Update from translation team.
27534
0549fbba
DM
27535 * catgets/gencat.c: Update copyright year.
27536 * csu/version.c: Likewise.
27537 * debug/catchsegv.sh: Likewise.
27538 * debug/pcprofiledump.c: Likewise.
27539 * debug/xtrace.sh: Likewise.
27540 * elf/ldconfig.c: Likewise.
27541 * elf/ldd.bash.in: Likewise.
27542 * elf/pldd.c: Likewise.
27543 * elf/sotruss.ksh: Likewise.
27544 * elf/sprof.c: Likewise.
27545 * iconv/iconv_prog.c: Likewise.
27546 * iconv/iconvconfig.c: Likewise.
27547 * locale/programs/locale.c: Likewise.
27548 * locale/programs/localedef.c: Likewise.
27549 * login/programs/pt_chown.c: Likewise.
27550 * malloc/memusage.sh: Likewise.
27551 * malloc/memusagestat.c: Likewise.
27552 * malloc/mtrace.pl: Likewise.
27553 * nscd/nscd.c: Likewise.
27554 * nss/getent.c: Likewise.
27555 * nss/makedb.c: Likewise.
27556 * posix/getconf.c: Likewise.
27557
18ea052c
SP
275582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27559
27560 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27561 numbers.
27562
9c89fca6
MF
275632012-12-30 Mike Frysinger <vapier@gentoo.org>
27564
27565 * math/bits/mathcalls.h (modf): Use __nonnull.
27566
085ec079
SP
275672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27568
27569 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27570 (split): Use macro CN instead of the bare value.
27571 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27572 could be used.
27573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27574 instead of the bare value.
27575 (power1): Likewise.
27576
6d9f97e1
SP
275772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27578
d63f73be
SP
27579 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27580 __ATAN_TWOM.
27581 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27582
6d9f97e1
SP
27583 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27584 their values.
27585 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27586 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27587 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27588 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27589
4c4febf5
AJ
275902012-12-28 Andreas Jaeger <aj@suse.de>
27591
af5843ef
AJ
27592 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27593 values are from Linux 3.7.
27594
4c4febf5
AJ
27595 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27596 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27597
99136f82
SP
275982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27599
2f216c3c 27600 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
27601 TRUE case.
27602
99136f82
SP
27603 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27604 (norm): Likewise.
27605 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27606 variables with preprocessor constants.
27607 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27608 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27609 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27610
7fffbdff
BH
276112012-12-27 Bruno Haible <bruno@clisp.org>
27612
27613 [BZ #14317]
27614 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27615 only if needed.
27616
b76eb5f0
SP
276172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27618
31a7fe5c
SP
27619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27620 and use variable directly.
27621 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27622
b76eb5f0
SP
27623 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27624 MPONE.
27625 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27626 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27627 variable MPONE.
27628 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27630 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27631 include directive. Remove local variable MPONE.
27632 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27633 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27634 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27635
2c8bfe7d
DM
276362012-12-25 David S. Miller <davem@davemloft.net>
27637
27638 * version.h (RELEASE): Set to "development".
27639 (VERSION): Set to "2.17.90".
27640 * NEWS: Add 2.18 section.
27641
147d03b0
DM
276422012-12-21 David S. Miller <davem@davemloft.net>
27643
27644 * po/hr.po: Update from translation team.
27645
a8ebb2b9
AK
276462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27647
27648 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27649
95b4f1b6
SE
276502012-12-19 Steve Ellcey <sellcey@mips.com>
27651
b2d94007 27652 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 27653
cedb2a90
MS
276542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27655
27656 * manual/contrib.texi (Contributors): Spelling correction.
27657
bbf527d6
DM
276582012-12-15 David S. Miller <davem@davemloft.net>
27659
27660 * po/ru.po: Update from translation team.
27661
bc38c906
DM
276622012-12-13 David S. Miller <davem@davemloft.net>
27663
85429b1a
DM
27664 * NEWS: Mention IFUNC testsuite enhancements.
27665
d283e353
DM
27666 * po/pl.po: Update from translation team.
27667 * po/bg.po: Likewise.
27668
bc38c906
DM
27669 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27670 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27671
a181b0d7
DM
276722012-12-11 David S. Miller <davem@davemloft.net>
27673
4641d57e
DM
27674 * po/sv.po: Update from translation team.
27675
f7bc6495
DM
27676 * po/vi.po: Update from translation team.
27677
6fc9048f
DM
27678 * po/cs.po: Update from translation team.
27679
a181b0d7
DM
27680 * po/de.po: Update from translation team.
27681 * po/eo.po: Likewise.
27682 * po/nl.po: Likewise.
27683
f70bfe80
SP
276842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27685
3c8b4190
SP
27686 [BZ #14246]
27687 * manual/argp.texi (Argp Helper Functions): Move node to follow
27688 Argp Parsing State.
27689
f70bfe80
SP
27690 [BZ #14872]
27691 * manual/conf.texi (Limits on File System Capacity): Mention if
27692 terminating null is included in the max size.
27693
188f0adf
AJ
276942012-12-10 Andreas Jaeger <aj@suse.de>
27695
27696 * po/cs.po: Update from translation team.
27697
56e7d3ad
SP
276982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27699
27700 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27701 void pointer and cast to uintptr_t.
27702 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27703 path.
27704 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27705 * sysdeps/s390/s390-64/memset.S: Likewise.
27706
76f2d2ea 277072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
27708
27709 [BZ #14833]
27710 * menual/message.texi (Message Translation): Fix typos.
27711 (Helper programs for gettext): Likewise.
27712
67cbf9a2
AS
277132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27714
27715 [BZ #14898]
27716 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27717 Change to -1.
27718
682d0e9a
DM
277192012-12-07 David S. Miller <davem@davemloft.net>
27720
27721 * po/libc.pot: Update.
27722
573cd484
RH
277232012-12-07 Richard Henderson <rth@redhat.com>
27724
7e9da188 27725 [BZ #10114]
573cd484
RH
27726 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27727 normal/normal case to before the switch.
27728 (_FP_DIV): Likewise.
27729
e933a943
MF
277302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27731 Mike Frysinger <vapier@gentoo.org>
27732
27733 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27734 check for __NR_fadvise64_64.
27735
82123268
CM
277362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27737
27738 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27739 0, not just to plain "0" as a statement.
27740 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27741 with cw.
27742
d9814526
JM
277432012-12-06 Joseph Myers <joseph@codesourcery.com>
27744
27745 * NEWS: Use sourceware.org in Bugzilla URL.
27746
7728c574
SP
277472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27748
f16946dd
SP
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27750 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27751
5704bbcb
SP
27752 * stdio-common/tst-put-error.c (do_test): Add newline to the
27753 padded test to ensure flush.
27754
17aa0516
JL
277552012-12-05 Jeff Law <law@redhat.com>
27756
27757 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27758
363313b5
JM
277592012-12-05 Joseph Myers <joseph@codesourcery.com>
27760
effbd42a
JM
27761 * README: Don't refer to ports add-on as distributed separately.
27762 Mention AArch64 in list of systems supported in the ports add-on.
27763
87600365
JM
27764 * LICENSES: Add more non-FSF copyright and license notices.
27765
a0d7066a
JM
27766 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27767 ((unused)).
27768
66ca5a5b
JM
27769 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27770
363313b5
JM
27771 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27772 10000 as width of padded output.
27773
b37984ad
JM
277742012-12-04 Joseph Myers <joseph@codesourcery.com>
27775
9003570a
JM
27776 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27777
b37984ad
JM
27778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27779 variable LX with __attribute__ ((unused)).
27780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27781 Likewise.
27782 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27784 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27785 with __attribute__ ((unused)).
27786
c8df52ec
DM
277872012-12-04 David S. Miller <davem@abraco.davemloft.net>
27788
27789 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27790
b3b099af
JM
277912012-12-04 Joseph Myers <joseph@codesourcery.com>
27792
c33aa6e3
JM
27793 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27794 (CFLAGS-nldbl-acos.c): New variable.
27795 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27796 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27797 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27798 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27799 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27800 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27801 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27802 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27803 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27804 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27805 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27806 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27807 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27808 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27809 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27810 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27811 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27812 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27813 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27814 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27815 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27816 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27817 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27818 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27819 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27820 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27821 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27822 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27823 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27824 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27825 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27826 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27827 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27828 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27829 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27830 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27831 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27832 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27833 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27834 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27835 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27836 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27837 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27838 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27839 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27840 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27841 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27842 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27843 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27844 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27845 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27846 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27847 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27848 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27849 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27850 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27851 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27852 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27853 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27854 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27855 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27856 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27857 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27858 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27859 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27860 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27861 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27862 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27863 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27864 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27865 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27866 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27867 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27868 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27869 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27870 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27871 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27872 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27873 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27874 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27875 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27876 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27877 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27878 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27879 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27880 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27881 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27882 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27883 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27884 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27885 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27886 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27887 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27888 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27889 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27890 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27891 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27892
20f0018d
JM
27893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27894 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27895
b3b099af
JM
27896 [BZ #14914]
27897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27898 whole low double instead of just low 47 bits when splitting values
27899 into two parts.
27900
029264d1
AM
279012012-12-03 Allan McRae <allan@archlinux.org>
27902
27903 * manual/stdio.texi (Predefined Printf Handlers): Remove
27904 @hsep and @vsep usage.
27905
c9d6789e
MF
279062012-12-03 Mike Frysinger <vapier@gentoo.org>
27907
27908 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27909 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27910
4b7634a5
JL
279112012-12-03 Jeff Law <law@redhat.com>
27912
27913 * time/sys/time.h (settimeofday): Do not mark TV argument
27914 as __nonnull.
27915
eb6cbd24
MF
279162012-12-01 Mike Frysinger <vapier@gentoo.org>
27917
27918 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27919 when currently writing and seek to current position when not.
27920 * libio/Makefile (tests): Remove bug-fclose1.
27921 * libio/bug-fclose1.c: Delete.
27922
f638872a
JM
279232012-12-01 Joseph Myers <joseph@codesourcery.com>
27924
27925 * manual/arith.texi (feenableexcept): Fix typo.
27926 (fedisableexcept): Likewise.
27927
48085d14
RM
279282012-11-30 Roland McGrath <roland@hack.frob.com>
27929
27930 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27931 second, differently-typed declaration, rather than a cast.
27932
1a538b9f
SP
279332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27934
27935 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27936 * include/rpc/svc.h: ... here.
27937
d07f2ff1 279382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
27939
27940 [BZ #13013]
27941 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27942 depending n and resplen2 to catch cases where answer
27943 equals answerp2.
27944
c93ec1f0
CD
279452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27946
27947 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27948 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27949
37db69de
MF
279502012-11-29 Mike Frysinger <vapier@gentoo.org>
27951
27952 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27953
e10c4e4f
RM
279542012-11-29 Roland McGrath <roland@hack.frob.com>
27955
27956 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27957
2af1b328
JL
279582012-11-28 Jeff Law <law@redhat.com>
27959
27960 [BZ #13761]
27961 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27962 dataset_temporary. Track alloca usage into alloca_used.
27963 If dataset is large allocate and release it via malloc/free.
27964
111db5b1
FW
279652012-06-04 Florian Weimer <fweimer@redhat.com>
27966
f06cc227 27967 [BZ #14197]
111db5b1
FW
27968 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27969
dd694abd
DM
279702012-11-28 David S. Miller <davem@davemloft.net>
27971
27972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27973
9984dd01
JM
279742012-11-28 Joseph Myers <joseph@codesourcery.com>
27975
27976 [BZ #14803]
27977 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27978 of pi/2 rounded to nearest to 64 bits.
27979 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27980 nearest to 64 bits.
27981 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27982 bits.
27983
14bc93a9
JL
279842012-11-28 Jeff Law <law@redhat.com>
27985 Martin Osvald <mosvald@redhat.com>
27986
27987 [BZ #14889]
27988 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27989 * sunrpc/svc.c: Include time.h.
27990 (__svc_accept_failed): New function.
27991 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27992 any reason other than EINTR, call __svc_accept_failed.
27993 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27994 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27995
e3c6aa3a
AS
279962012-11-28 Andreas Schwab <schwab@suse.de>
27997
27998 * scripts/abilist.awk: Also handle indirect functions in .opd
27999 section.
28000
1bead169
JM
280012012-11-28 Joseph Myers <joseph@codesourcery.com>
28002
28003 [BZ #13881]
28004 * sysdeps/x86/fpu/powl_helper.c: New file.
28005 * sysdeps/x86/fpu/Makefile: Likewise.
28006 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28007 (p3): New object.
28008 (__ieee754_powl): Use __powl_helper for finite arguments except
28009 integer exponents below 8.
28010 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28011 (p3): New object.
28012 (__ieee754_powl): Use __powl_helper for finite arguments except
28013 integer exponents below 8.
28014 * math/libm-test.inc (pow_test): Add more tests and enable some
28015 previously disabled tests.
28016 * sysdeps/i386/fpu/libm-test-ulps: Update.
28017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018
0817d63d
SP
280192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28020 Carlos O'Donell <carlos_odonell@mentor.com>
28021
28022 * nss/makedb.c (is_prime): Assert that input is odd and greater
28023 than 4. Note that fact in a comment too.
28024 (next_prime): Add 4 to input.
28025
de2fd463
SP
280262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28027
28028 [BZ #11741]
28029 * libio/Makefile (tests): Add test case tst-fwrite-error.
28030 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28031 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28032 * libio/tst-fwrite-error.c: New test case.
28033
c515fb51
L
280342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28037 before casting to void *.
28038 * include/libc-internal.h (__pointer_type): New macro.
28039 (__integer_if_pointer_type_sub): Likewise.
28040 (__integer_if_pointer_type): Likewise.
28041 (cast_to_integer): Likewise.
28042 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28043 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28044 before casting to atomic64_t.
28045 (atomic_exchange_acq): Likewise.
28046 (__arch_exchange_and_add_body): Likewise.
28047 (__arch_add_body): Likewise.
28048 (atomic_add_negative): Likewise.
28049 (atomic_add_zero): Likewise.
28050
4cf77aa9
JM
280512012-11-26 Joseph Myers <joseph@codesourcery.com>
28052
28053 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28054 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28055 (add_fdes): Likewise.
28056 (linear_search_fdes): Likewise.
28057 (binary_search_unencoded_fdes): Likewise.
28058
d260b3b4
AS
280592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28060
28061 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28062
67060746
AC
280632012-11-24 Adam Conrad <adconrad@0c3.net>
28064
28065 * configure.in: Autodetect C++ header directories.
28066 * configure: Regenerated.
28067
800938a1
MF
280682012-11-23 Mike Frysinger <vapier@gentoo.org>
28069
28070 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28071
4e6e34e6
AS
280722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28073
28074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28075
7c7feb47
JM
280762012-11-22 Joseph Myers <joseph@codesourcery.com>
28077
7184dcdf
JM
28078 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28079 LDBL_MANT_DIG == 106]: Disable some tests.
28080 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28081 Likewise.
28082 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28083 Likewise.
28084
0a42601f
JM
28085 [BZ #14871]
28086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28087 input for small inputs. Return +/- pi/2 for large inputs.
28088 * math/libm-test.inc (atan_test): Add more tests.
28089
79c9b9fe
JM
28090 * sysdeps/generic/unwind-dw2-fde-glibc.c
28091 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28092 __attribute__ ((unused)).
28093
c60d3bf2
JM
28094 [BZ #14645]
28095 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28096 x * y if x and y are nonzero and z is zero.
28097
ef1e0867
JM
28098 [BZ #14811]
28099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28100 nonzero exponents with absolute value below 0x1p-117 to +/-
28101 0x1p-117.
28102
1468ded3
JM
28103 [BZ #14869]
28104 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28105 up arguments below 2**-450, not just those below 2**-500.
28106 * math/libm-test.inc (hypot_test): Add another test.
28107
8e27e3cc
JM
28108 [BZ #14868]
28109 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28110 Return a+b for ratio over 2**120, not 2**60.
28111 * math/libm-test.inc (hypot_test): Add another test.
28112
c9c0279b
JM
28113 * math/libm-test.inc (clog_test): Use
28114 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28115 (clog10_test): Likewise.
28116
7c7feb47
JM
28117 [BZ #6778]
28118 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28119
fff1530e
AS
281202012-11-22 Andreas Schwab <schwab@suse.de>
28121
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123
94558d30
PT
281242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28125
28126 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28127 printf output with newline.
28128
7e1be741
L
281292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28130
6bfea974
L
28131 [BZ #14865]
28132 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28133 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28134 -z nodlopen, -z initfirst and -z execstack support.
28135 * configure: Regenerated.
28136
7e1be741
L
28137 * elf/elf.h (DF_1_NODIRECT): New macro.
28138 (DF_1_IGNMULDEF): Likewise.
28139 (DF_1_NOKSYMS): Likewise.
28140 (DF_1_NOHDR): Likewise.
28141 (DF_1_EDITED): Likewise.
28142 (DF_1_NORELOC): Likewise.
28143 (DF_1_SYMINTPOSE): Likewise.
28144 (DF_1_GLOBAUDIT): Likewise.
28145 (DF_1_SINGLETON): Likewise.
28146 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28147 DT_1_SUPPORTED_MASK bits.
28148 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28149
105ce2ce
CD
281502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28151
28152 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28153
123be9de
TS
281542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28155
d072f3f7
TS
28156 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28157 macro.
28158
123be9de
TS
28159 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28160 (sendmmsg): Move declarations...
28161 * socket/sys/socket.h: ... here.
28162 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28163 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28164 include it from...
28165 * socket/recvmmsg.c: ... this new file.
28166 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28167 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28168 definition of __sendmmsg hidden.
28169 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28170 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28171 Move ENOSYS stub into and include it from...
28172 * socket/sendmmsg.c: ... this new file.
28173 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28174 (sysdep_routines): Move recvmmsg and sendmmsg...
28175 * socket/Makefile (routines): ... here.
28176 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28177 (GLIBC_PRIVATE): Add __sendmmsg.
28178 * include/sys/socket.h (__sendmmsg): Add declarations.
28179 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28180 sendmmsg.
28181
cf9a5d18
JM
281822012-11-20 Joseph Myers <joseph@codesourcery.com>
28183
28184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28185 variable I1 with __attribute__ ((unused)).
28186 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28187
ecd4caf9
JM
281882012-11-19 Joseph Myers <joseph@codesourcery.com>
28189
be14d48f
JM
28190 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28191 DUMMY variables with __attribute__ ((unused)).
28192
ecd4caf9
JM
28193 * bits/byteswap.h: Include <bits/types.h>.
28194 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28195
986cab95
PT
281962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28197
28198 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28199 string_t. Do not manually set errno.
28200 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28201 length with __strnlen. Make sure to both set errno and return it on
28202 failure.
28203
6d33cc9d
DM
282042012-11-19 David S. Miller <davem@davemloft.net>
28205
28206 With help from Joseph Myers.
28207 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28208 very large arguments properly.
28209 * math/libm-test.inc (atan_test): New tests.
28210 (atan2_test): New tests.
28211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28213
ee663277
JM
282142012-11-19 Joseph Myers <joseph@codesourcery.com>
28215
877f2d8e
JM
28216 [BZ #14856]
28217 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28218 Define to 3.
28219
116fc08a
JM
28220 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28221 [POSIX] (EADDRNOTAVAIL): Likewise.
28222 [POSIX] (EAFNOSUPPORT): Likewise.
28223 [POSIX] (EALREADY): Likewise.
28224 [POSIX] (ECONNABORTED): Likewise.
28225 [POSIX] (ECONNREFUSED): Likewise.
28226 [POSIX] (ECONNRESET): Likewise.
28227 [POSIX] (EDESTADDRREQ): Likewise.
28228 [POSIX] (EDQUOT): Likewise.
28229 [POSIX] (EHOSTUNREACH): Likewise.
28230 [POSIX] (EIDRM): Likewise.
28231 [POSIX] (EISCONN): Likewise.
28232 [POSIX] (ELOOP): Likewise.
28233 [POSIX] (EMULTIHOP): Likewise.
28234 [POSIX] (ENETDOWN): Likewise.
28235 [POSIX] (ENETUNREACH): Likewise.
28236 [POSIX] (ENOBUFS): Likewise.
28237 [POSIX] (ENODATA): Likewise.
28238 [POSIX] (ENOLINK): Likewise.
28239 [POSIX] (ENOMSG): Likewise.
28240 [POSIX] (ENOPROTOOPT): Likewise.
28241 [POSIX] (ENOSR): Likewise.
28242 [POSIX] (ENOSTR): Likewise.
28243 [POSIX] (ENOTCONN): Likewise.
28244 [POSIX] (ENOTSOCK): Likewise.
28245 [POSIX] (EOPNOTSUPP): Likewise.
28246 [POSIX] (EOVERFLOW): Likewise.
28247 [POSIX] (EPROTO): Likewise.
28248 [POSIX] (EPROTONOSUPPORT): Likewise.
28249 [POSIX] (EPROTOTYPE): Likewise.
28250 [POSIX] (ESTALE): Likewise.
28251 [POSIX] (ETIME): Likewise.
28252 [POSIX] (ETXTBSY): Likewise.
28253 [POSIX] (EWOULDBLOCK): Likewise.
28254 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28255 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28256 [POSIX] (SEEK_CUR): Likewise.
28257 [POSIX] (SEEK_END): Likewise.
28258 [POSIX || UNIX98] (mode_t): Do not require.
28259 [POSIX] (off_t): Likewise.
28260 [POSIX] (pid_t): Likewise.
28261 [POSIX] (sys/stat.h): Do not allow header.
28262 [POSIX] (unistd.h): Likewise.
28263 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28264 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28265 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28266 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28267 require.
28268 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28269 sigevent): Specify elements.
28270 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28271 entry.
28272 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28273 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28274
a483863f
JM
28275 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28276 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28277 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28278 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28279 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28280 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28281 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28282 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28283 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28284 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28285 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28286 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28287 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28288 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28289 Likewise.
28290 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28291 Likewise.
28292 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28293 Likewise.
28294 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28295 Likewise.
28296 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28297 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28298 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28299 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28300 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28301 Specify lower bound on value.
28302 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28303 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28304 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28305 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28306 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28307 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28308 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28309 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28310 value.
28311 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28312 as optional.
28313 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28314 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28315 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28316 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28317 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28318 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28319 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28320 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28321 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28322 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28323 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28324 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28325 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28326 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28327 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28328 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28329 entry.
28330 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28331 optional.
28332 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28333 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28334 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28335 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28336 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28337 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28338 Likewise.
28339 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28340 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28341 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28342 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28343 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28344 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28345 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28346 as optional.
28347 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28348 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28349 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28350 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28351 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28352 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28353 specify as optional.
28354 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28355 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28356 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28357 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28358 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28359 [XPG3] (NL_LANGMAX): Likewise.
28360 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28361 [POSIX || XPG3] (NL_NMAX): Likewise.
28362 [POSIX || XPG3] (NL_SETMAX): Likewise.
28363 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28364 [XPG3] (NZERO): Likewise.
28365 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28366 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28367 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28368 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28369 (REG_ERANGE): Expect.
28370 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28371 optional-constant.
28372 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28373 Use (void) in prototype.
28374 [POSIX] (*_t): Allow.
28375 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28376 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28377 (WRDE_BADVAL): Expect.
28378
5ba924e3
JM
28379 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28380 expect.
28381 [XPG3 || XPG4] (O_RSYNC): Likewise.
28382 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28383 Likewise.
28384 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28385 [XPG3 || XPG4] (sigqueue): Likewise.
28386 [XPG3 || XPG4] (sigtimedwait): Likewise.
28387 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28388 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28389 [XPG3 || XPG4] (vsnprintf): Likewise.
28390 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28391 Likewise.
28392 [XPG3 || XPG4] (blksize_t): Likewise.
28393 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28394 Likewise.
28395 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28396 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28397 [XPG3 || XPG4] (struct itimerspec): Likewise.
28398 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28399 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28400 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28401 [XPG3 || XPG4] (clockid_t): Likewise.
28402 [XPG3 || XPG4] (timer_t): Likewise.
28403 [XPG3 || XPG4] (clock_getres): Likewise.
28404 [XPG3 || XPG4] (clock_gettime): Likewise.
28405 [XPG3 || XPG4] (clock_settime): Likewise.
28406 [XPG3 || XPG4] (nanosleep): Likewise.
28407 [XPG3 || XPG4] (timer_create): Likewise.
28408 [XPG3 || XPG4] (timer_delete): Likewise.
28409 [XPG3 || XPG4] (timer_gettime): Likewise.
28410 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28411 [XPG3 || XPG4] (timer_settime): Likewise.
28412 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28413 [XPG3 || XPG4] (getlogin_r): Likewise.
28414 [XPG3 || XPG4] (pread): Likewise.
28415 [XPG3 || XPG4] (pthread_atfork): Likewise.
28416 [XPG3 || XPG4] (pwrite): Likewise.
28417
ee663277
JM
28418 [BZ #14835]
28419 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28420 <bits/siginfo.h>.
28421
942caa16
PT
284222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28423
e19af380
PT
28424 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28425 finalizing MALLSTREAM.
28426
942caa16
PT
28427 * sysdeps/mach/hurd/syncfs.c: New file.
28428
cfde9b46
SP
284292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28430
28431 [BZ #14719]
28432 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28433 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28434 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28435 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28436 (_nss_dns_gethostbyname4_r): Likewise.
28437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28438 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28439
f6da27e5
PH
284402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28441
28442 [BZ #13763]
28443 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28444
6665d4a2
SM
284452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28446
1f51ee92
SM
28447 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28448 * elf/cache.c (print_entry): Print ",AArch64" for
28449 FLAG_AARCH64_LIB64
28450
6665d4a2
SM
28451 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28452 * elf/cache.c (print_entry): Print ",hard-float" for
28453 FLAG_ARM_LIBHF.
28454
05b227bd
DM
284552012-11-18 David S. Miller <davem@davemloft.net>
28456
28457 With help from Joseph Myers.
28458 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28459 cutoff to 2**-13.
28460 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28461 cutoff to 2**-25.
28462 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28463 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28464 small.
28465 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28466 * math/libm-test.inc (y0_test): New tests.
28467 (y1_test): New tests.
28468 * sysdeps/i386/fpu/libm-test-ulps: Update.
28469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28471
786b0b67
AS
284722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28473
28474 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28475 64-bit targets.
28476 * configure: Regenerated.
28477
8e18b86d
DM
284782012-11-17 David S. Miller <davem@davemloft.net>
28479
28480 [BZ #14811]
28481 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28482 nonzero exponents with absolute value below 0x1p-128 to +/-
28483 0x1p-128.
28484
531f1ae0
JM
284852012-11-17 Joseph Myers <joseph@codesourcery.com>
28486
12df29e2
JM
28487 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28488
150dc1a0
JM
28489 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28490
531f1ae0
JM
28491 * posix/getconf-speclist.c: New file.
28492 * posix/posix-envs.def: Likewise.
28493 * posix/confstr.c (START_ENV_GROUP): New macro.
28494 (END_ENV_GROUP): Likewise.
28495 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28496 (KNOWN_PRESENT_ENV_STRING): Likewise.
28497 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28498 (UNKNOWN_ENVIRONMENT): Likewise.
28499 (confstr): Include posix-envs.def instead of handling
28500 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28501 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28502 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28503 (END_ENV_GROUP): Likewise.
28504 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28505 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28506 (UNKNOWN_ENVIRONMENT): Likewise.
28507 (__sysconf): Include posix-envs.def instead of handling associated
28508 cases directly here.
28509 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28510 preprocessing getconf-speclist.c rather than running getconf or
28511 generating empty file.
28512
a93f9cbc
PT
285132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28514
28515 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28516
d64d9f87
AL
285172012-11-16 Andrej Lajovic <natrij@gmail.com>
28518
28519 [BZ #14672]
28520 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28521
447885eb
DM
285222012-11-16 David S. Miller <davem@davemloft.net>
28523
28524 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28525 smaller than LDBL_EPSILON/2.0L, just return xm1.
28526
bcbf9830
L
285272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28528
28529 * elf/tst-array1.c (init): Set constructor priority to 1000.
28530 (fini): Set destructor priority to 1000.
28531 * elf/tst-array2dep.c: Likewise.
28532
2b766585
SP
285332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28534
28535 [BZ #11741]
28536 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28537 (_IO_new_file_xsputn): Also return EOF if none of the input
28538 data was written when overflow failed.
28539 * libio/iopadn.c (_IO_padn): Likewise.
28540 * libio/iowpadn.c (_IO_wpadn): Likewise.
28541 * stdio-common/tst-put-error.c: Add copyright notice.
28542 (do_test): Add case for printing padded string.
28543 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28544 _IO_padn returned error.
28545 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28546 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28547 return EOF.
28548
b1848fde
SP
285492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28550
28551 * libio/libioP.h: Add comment note that the references to C++
28552 bits are now obsolete.
28553
2fd89785
MS
285542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28555
28556 * math/libm-test.inc (check_complex): Use asprintf.
28557
e3ea5409
JM
285582012-11-14 Joseph Myers <joseph@codesourcery.com>
28559
28560 * debug/pcprofiledump.c (print_version): Update copyright year.
28561 * malloc/memusagestat.c (print_version): Likewise.
28562
2e64d265
L
285632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28564
28565 [BZ #14831]
28566 * elf/Makefile (tests): Add tst-audit8.
28567 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28568 ($(objpfx)tst-audit8.out): New target.
28569 (tst-audit8-ENV): New variable.
28570 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28571 audit if l_reloc_result is NULL.
28572 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28573 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28574 * elf/tst-audit8.c: New file.
28575
c485e4d2
MS
285762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28577
28578 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28579 * misc/Makefile (CFLAGS-select.c): Define.
28580 * posix/Makefile (CFLAGS-pause.c): Define.
28581
3a0d900a
DM
285822012-11-13 David S. Miller <davem@davemloft.net>
28583
28584 * crypt/Makefile: Move test targets after toplevel Rules
28585 inclusion. Grab any necessary sysdep routines when linking.
28586 * crypt/md5.c (md5_process_block): Remove define, we will always
28587 name it __md5_process_block.
28588 (md5_finish_ctx): Update md5_process_block call.
28589 (md5_stream): Likewise.
28590 (md5_process_bytes): Likewise.
28591 (md5_process_block): Rename to __md5_process_block and move to ...
28592 * crypt/md5-block.c: ... here.
28593 * crypt/sha256.c (sha256_process_block): Move to ...
28594 * crypt/sha256-block.c: ... here.
28595 * crypt/sha512.c (sha512_process_block): Move to ...
28596 * crypt/sha512-block.c: ... here.
28597 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28598 path.
28599 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28600 * sysdeps/sparc/sparc64/multiarch/Makefile
28601 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28602 crypt subdir.
28603 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28604 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28605 multiarch changes.
28606 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28607 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28608 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28609 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28610 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28611 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28612 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28613 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28614 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28615 file.
28616 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28617 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28618 file.
28619 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28620
8ca89318
JM
286212012-11-13 Joseph Myers <joseph@codesourcery.com>
28622
e27d476a
JM
28623 * timezone/tzselect.ksh: Update from tzcode git revision
28624 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28625 * timezone/zdump.c: Likewise.
28626 * timezone/zic.c: Likewise.
28627 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28628 in TZVERSION setting, not $(PKGVERSION).
28629 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28630 REPORT_BUGS_TO settings.
28631
8ca89318
JM
28632 [BZ #14838]
28633 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28634 macro.
28635
47594329
MS
286362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28637
28638 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28639 detection to immediately after _FP_ROUND().
28640 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28641 bits are 0.
28642
640ac3f1
DM
286432012-11-11 David S. Miller <davem@davemloft.net>
28644
28645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28646 inttypes.h
28647 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28648 __close rather than their public counterparts.
28649
3d2577bb
JM
286502012-11-10 Joseph Myers <joseph@codesourcery.com>
28651
28652 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28653 file.
28654 [UNIX98] (sem_timedwait): Do not expect.
28655 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28656 [XPG4 || UNIX98] (sockatmark): Do not expect.
28657 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28658 (clock_getcpuclockid): Do not expect.
28659 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28660 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28661 Do not expect.
28662 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28663 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28664 [UNIX98] (vwscanf): Likewise.
28665 [UNIX98] (vswscanf): Likewise.
28666
fb1ae1ee
JM
286672012-11-09 Joseph Myers <joseph@codesourcery.com>
28668
9ec6f8bd
JM
28669 * timezone/version.h: Remove file.
28670 * timezone/README: Do not refer to version.h.
28671 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28672 $(objpfx)version.h.
28673 ($(objpfx)zdump.o): Likewise.
c3f81911 28674 ($(objpfx)version.h): New target.
9ec6f8bd 28675
0aa8f8a1
JM
28676 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28677 2012i.
28678 * timezone/README: Don't mention modification to tzselect.ksh.
28679 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28680 work on unmodified tzselect.ksh. Substitute version numbers in
28681 tzselect.ksh.
28682
4e87147f
JM
28683 * Makefile (format-me): Remove.
28684 (INSTALL): Adjust indentation. Use commands directly instead of
28685 using $(format-me).
28686
8b748aed
JM
28687 * aclocal.m4 (ACX_PKGVERSION): New macro.
28688 (ACX_BUGURL): Likewise.
28689 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28690 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28691 (REPORT_BUGS_TO): Likewise.
28692 * configure: Regenerated.
28693 * config.h.in (PKGVERSION): New macro.
28694 (REPORT_BUGS_TO): Likewise.
28695 * config.make.in (PKGVERSION): New variable.
28696 (PKGVERSION_TEXI): Likewise.
28697 (REPORT_BUGS_TO): Likewise.
28698 (REPORT_BUGS_TEXI): Likewise.
28699 * Makefile (format-me): Use -I$(common-objpfx)manual.
28700 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28701 ($(common-objpfx)manual/%): New target.
28702 (manual/%): Remove target.
28703 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28704 (print_version): Use PKGVERSION.
28705 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28706 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28707 and REPORT_BUGS_TO.
28708 ($(objpfx)xtrace): Likewise.
28709 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28710 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28711 (print_version): Use PKGVERSION.
28712 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28713 (do_version): Use PKGVERSION.
28714 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28715 REPORT_BUGS_TO.
28716 (common-ldd-rewrite): Likewise.
28717 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28718 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28719 (print_version): Use PKGVERSION.
28720 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28721 * elf/pldd.c (argp_program_bug_address): Remove variable.
28722 (more_help): New function.
28723 (argp): Use more_help.
28724 (print_version): Use PKGVERSION.
28725 * elf/sln.c (main): Use PKGVERSION.
28726 (usage): Use REPORT_BUGS_TO.
28727 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28728 (top level): Use PKGVERSION.
28729 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28730 (print_version): Use PKGVERSION.
28731 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28732 (print_version): Use PKGVERSION.
28733 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28734 (print_version): Use PKGVERSION.
28735 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28736 (print_version): Use PKGVERSION.
28737 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28738 (print_version): Use PKGVERSION.
28739 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28740 (print_version): Use PKGVERSION.
28741 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28742 and BUGURL.
28743 ($(objpfx)memusage): Likewise.
28744 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28745 (do_version): Use PKGVERSION.
28746 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28747 (print_version): Use PKGVERSION.
28748 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28749 ($PKGVERSION): New variable.
28750 ($REPORT_BUGS_TO): Likewise.
28751 (usage): Use $REPORT_BUGS_TO.
28752 (top level): Use $PKGVERSION.
28753 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28754 ($(objpfx)pkgvers.texi): New rule.
28755 ($(objpfx)stamp-pkgvers): Likewise.
28756 * manual/install.texi: Include pkgvers.texi.
28757 (--with-pkgversion): Document new configure option.
28758 (--with-bugurl): Likewise.
28759 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28760 than necessarily for this particular distribution. Use
28761 REPORT_BUGS_TO for where to report bugs.
28762 * INSTALL: Regenerated.
28763 * manual/libc.texinfo: Include pkgvers.texi.
28764 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28765 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28766 (print_version): Use PKGVERSION.
28767 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28768 (print_version): Use PKGVERSION.
28769 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28770 (print_version): Use PKGVERSION.
28771 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28772 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28773 macro.
28774 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28775 (print_version): Use PKGVERSION.
28776 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28777 (print_version): Use PKGVERSION.
28778 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28779 and PKGVERSION.
28780
92e4b6a9
JM
28781 * timezone/checktab.awk: Update from tzcode 2012i.
28782 * timezone/ialloc.c: Likewise.
28783 * timezone/private.h: Likewise.
28784 * timezone/scheck.c: Likewise.
28785 * timezone/tzfile.h: Likewise.
28786 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28787 (TZVERSION): Hardcode tzcode version number.
28788 * timezone/zdump.c: Update from tzcode 2012i.
28789 * timezone/zic.c: Likewise.
28790 * timezone/version.h: New file.
28791 * timezone/README: Describe version.h. Update upstream location.
28792
9bde902c
JM
28793 [BZ #14824]
28794 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28795 (mktemp): Enable declaration.
28796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28800 Likewise.
28801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28802 Likewise.
28803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28804 Likewise.
28805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28806 Likewise.
28807 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28808 Likewise.
28809 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28810 Likewise.
28811
fb1ae1ee
JM
28812 [BZ #14821]
28813 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28814 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28815 for copies of such integer values.
28816 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28817 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28818
2c1adbcb
AJ
288192012-11-09 Andreas Jaeger <aj@suse.de>
28820
28821 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28822 definitions and declarations that are provided by
28823 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28824
d0f8457e
AK
288252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28826
3a235abb 28827 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
28828 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28829 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28830 definition.
28831
57241e26
MS
288322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28833
28834 * elf/elf.h: Update comment before AArch64 relocations.
28835
60e8270d
DM
288362012-11-07 David S. Miller <davem@davemloft.net>
28837
28838 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28839 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28840 (__start_context): Declare.
28841 (__makecontext_ret): Delete.
28842 (__makecontext): Hook up __start_context instead of
28843 __makecontext_ret.
28844 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28845 (sysdep_routines): Add __start_context when in stdlib.
28846
0fbb0fbc
JM
288472012-11-07 Joseph Myers <joseph@codesourcery.com>
28848
28849 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28850 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28851 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28852 hardcoded "nm".
28853 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28854 (READELF): New variable. Use it instead of hardcoded "readelf".
28855
eb48db7e
L
288562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28857
28858 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28859 * sysdeps/x86/Makefile: Here.
28860 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28861 * sysdeps/x86/tst-xmmymm.sh: This.
28862
05bcf62a
JM
288632012-11-07 Joseph Myers <joseph@codesourcery.com>
28864
c4b6cf53
JM
28865 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28866 expectations.
28867 [UNIX98] (pthread_barrier_t): Do not expect.
28868 [UNIX98] (pthread_barrierattr_t): Likewise.
28869 [UNIX98] (pthread_spinlock_t): Likewise.
28870 [UNIX98] (pthread_barrier_destroy): Likewise.
28871 [UNIX98] (pthread_barrier_init): Likewise.
28872 [UNIX98] (pthread_barrier_wait): Likewise.
28873 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28874 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28875 [UNIX98] (pthread_barrierattr_init): Likewise.
28876 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28877 [UNIX98] (pthread_getcpuclockid): Likewise.
28878 [UNIX98] (pthread_mutex_timedlock): Likewise.
28879 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28880 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28881 [UNIX98] (pthread_sigmask): Likewise.
28882 [UNIX98] (pthread_spin_destroy): Likewise.
28883 [UNIX98] (pthread_spin_init): Likewise.
28884 [UNIX98] (pthread_spin_lock): Likewise.
28885 [UNIX98] (pthread_spin_trylock): Likewise.
28886 [UNIX98] (pthread_spin_unlock): Likewise.
28887 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28888 Do not expect.
28889 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28890 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28891 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28892 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28893 [XPG3 || XPG4] (pthread_key_t): Likewise.
28894 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28895 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28896 [XPG3 || XPG4] (pthread_once_t): Likewise.
28897 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28898 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28899 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28900 [XPG3 || XPG4] (pthread_t): Likewise.
28901
cbe6e120
JM
28902 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28903 not expect.
28904 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28905
1b126443
JM
28906 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28907 Change function return type to int.
28908
b961a573
JM
28909 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28910 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28911 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28912 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28913 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28914 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28915 [!POSIX] (posix_madvise): Likewise.
28916 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28917 && !UNIX98].
28918 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28919 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28920 (mode_t): Likewise.
28921 (posix_mem_offset): Likewise.
28922 (posix_typed_mem_get_info): Likewise.
28923 (posix_typed_mem_open): Likewise.
28924
9e188909
JM
28925 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28926 Change condition to [XOPEN2K8].
28927
05bcf62a
JM
28928 * conform/conformtest.pl: Preprocess allow-header data with -x c
28929 instead of from stdin.
28930 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28931 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28932 [C99-based standards] (cerfc): Likewise.
28933 [C99-based standards] (cexp2): Likewise.
28934 [C99-based standards] (cexpm1): Likewise.
28935 [C99-based standards] (clog10): Likewise.
28936 [C99-based standards] (clog1p): Likewise.
28937 [C99-based standards] (clog2): Likewise.
28938 [C99-based standards] (clgamma): Likewise.
28939 [C99-based standards] (ctgamma): Likewise.
28940 [C99-based standards] (cerff): Likewise.
28941 [C99-based standards] (cerfcf): Likewise.
28942 [C99-based standards] (cexp2f): Likewise.
28943 [C99-based standards] (cexpm1f): Likewise.
28944 [C99-based standards] (clog10f): Likewise.
28945 [C99-based standards] (clog1pf): Likewise.
28946 [C99-based standards] (clog2f): Likewise.
28947 [C99-based standards] (clgammaf): Likewise.
28948 [C99-based standards] (ctgammaf): Likewise.
28949 [C99-based standards] (cerfl): Likewise.
28950 [C99-based standards] (cerfcl): Likewise.
28951 [C99-based standards] (cexp2l): Likewise.
28952 [C99-based standards] (cexpm1l): Likewise.
28953 [C99-based standards] (clog10l): Likewise.
28954 [C99-based standards] (clog1pl): Likewise.
28955 [C99-based standards] (clog2l): Likewise.
28956 [C99-based standards] (clgammal): Likewise.
28957 [C99-based standards] (ctgammal): Likewise.
28958 * conform/data/inttypes.h-data [C99-based standards]: Include
28959 stdint.h-data. Remove all expectations for stdint.h contents.
28960 [C99-based standards] (PRI*): Do not allow.
28961 [C99-based standards] (SCN*): Likewise.
28962 [C99-based standards] (*_t): Likewise.
28963 [C99-based-standards] (PRId8): Expect macro.
28964 [C99-based-standards] (PRIi8): Likewise.
28965 [C99-based-standards] (PRIo8): Likewise.
28966 [C99-based-standards] (PRIu8): Likewise.
28967 [C99-based-standards] (PRIx8): Likewise.
28968 [C99-based-standards] (PRIX8): Likewise.
28969 [C99-based-standards] (SCNd8): Likewise.
28970 [C99-based-standards] (SCNi8): Likewise.
28971 [C99-based-standards] (SCNo8): Likewise.
28972 [C99-based-standards] (SCNu8): Likewise.
28973 [C99-based-standards] (SCNx8): Likewise.
28974 [C99-based-standards] (PRIdLEAST8): Likewise.
28975 [C99-based-standards] (PRIiLEAST8): Likewise.
28976 [C99-based-standards] (PRIoLEAST8): Likewise.
28977 [C99-based-standards] (PRIuLEAST8): Likewise.
28978 [C99-based-standards] (PRIxLEAST8): Likewise.
28979 [C99-based-standards] (PRIXLEAST8): Likewise.
28980 [C99-based-standards] (SCNdLEAST8): Likewise.
28981 [C99-based-standards] (SCNiLEAST8): Likewise.
28982 [C99-based-standards] (SCNoLEAST8): Likewise.
28983 [C99-based-standards] (SCNuLEAST8): Likewise.
28984 [C99-based-standards] (SCNxLEAST8): Likewise.
28985 [C99-based-standards] (PRIdFAST8): Likewise.
28986 [C99-based-standards] (PRIiFAST8): Likewise.
28987 [C99-based-standards] (PRIoFAST8): Likewise.
28988 [C99-based-standards] (PRIuFAST8): Likewise.
28989 [C99-based-standards] (PRIxFAST8): Likewise.
28990 [C99-based-standards] (PRIXFAST8): Likewise.
28991 [C99-based-standards] (SCNdFAST8): Likewise.
28992 [C99-based-standards] (SCNiFAST8): Likewise.
28993 [C99-based-standards] (SCNoFAST8): Likewise.
28994 [C99-based-standards] (SCNuFAST8): Likewise.
28995 [C99-based-standards] (SCNxFAST8): Likewise.
28996 [C99-based-standards] (PRId16): Likewise.
28997 [C99-based-standards] (PRIi16): Likewise.
28998 [C99-based-standards] (PRIo16): Likewise.
28999 [C99-based-standards] (PRIu16): Likewise.
29000 [C99-based-standards] (PRIx16): Likewise.
29001 [C99-based-standards] (PRIX16): Likewise.
29002 [C99-based-standards] (SCNd16): Likewise.
29003 [C99-based-standards] (SCNi16): Likewise.
29004 [C99-based-standards] (SCNo16): Likewise.
29005 [C99-based-standards] (SCNu16): Likewise.
29006 [C99-based-standards] (SCNx16): Likewise.
29007 [C99-based-standards] (PRIdLEAST16): Likewise.
29008 [C99-based-standards] (PRIiLEAST16): Likewise.
29009 [C99-based-standards] (PRIoLEAST16): Likewise.
29010 [C99-based-standards] (PRIuLEAST16): Likewise.
29011 [C99-based-standards] (PRIxLEAST16): Likewise.
29012 [C99-based-standards] (PRIXLEAST16): Likewise.
29013 [C99-based-standards] (SCNdLEAST16): Likewise.
29014 [C99-based-standards] (SCNiLEAST16): Likewise.
29015 [C99-based-standards] (SCNoLEAST16): Likewise.
29016 [C99-based-standards] (SCNuLEAST16): Likewise.
29017 [C99-based-standards] (SCNxLEAST16): Likewise.
29018 [C99-based-standards] (PRIdFAST16): Likewise.
29019 [C99-based-standards] (PRIiFAST16): Likewise.
29020 [C99-based-standards] (PRIoFAST16): Likewise.
29021 [C99-based-standards] (PRIuFAST16): Likewise.
29022 [C99-based-standards] (PRIxFAST16): Likewise.
29023 [C99-based-standards] (PRIXFAST16): Likewise.
29024 [C99-based-standards] (SCNdFAST16): Likewise.
29025 [C99-based-standards] (SCNiFAST16): Likewise.
29026 [C99-based-standards] (SCNoFAST16): Likewise.
29027 [C99-based-standards] (SCNuFAST16): Likewise.
29028 [C99-based-standards] (SCNxFAST16): Likewise.
29029 [C99-based-standards] (PRId32): Likewise.
29030 [C99-based-standards] (PRIi32): Likewise.
29031 [C99-based-standards] (PRIo32): Likewise.
29032 [C99-based-standards] (PRIu32): Likewise.
29033 [C99-based-standards] (PRIx32): Likewise.
29034 [C99-based-standards] (PRIX32): Likewise.
29035 [C99-based-standards] (SCNd32): Likewise.
29036 [C99-based-standards] (SCNi32): Likewise.
29037 [C99-based-standards] (SCNo32): Likewise.
29038 [C99-based-standards] (SCNu32): Likewise.
29039 [C99-based-standards] (SCNx32): Likewise.
29040 [C99-based-standards] (PRIdLEAST32): Likewise.
29041 [C99-based-standards] (PRIiLEAST32): Likewise.
29042 [C99-based-standards] (PRIoLEAST32): Likewise.
29043 [C99-based-standards] (PRIuLEAST32): Likewise.
29044 [C99-based-standards] (PRIxLEAST32): Likewise.
29045 [C99-based-standards] (PRIXLEAST32): Likewise.
29046 [C99-based-standards] (SCNdLEAST32): Likewise.
29047 [C99-based-standards] (SCNiLEAST32): Likewise.
29048 [C99-based-standards] (SCNoLEAST32): Likewise.
29049 [C99-based-standards] (SCNuLEAST32): Likewise.
29050 [C99-based-standards] (SCNxLEAST32): Likewise.
29051 [C99-based-standards] (PRIdFAST32): Likewise.
29052 [C99-based-standards] (PRIiFAST32): Likewise.
29053 [C99-based-standards] (PRIoFAST32): Likewise.
29054 [C99-based-standards] (PRIuFAST32): Likewise.
29055 [C99-based-standards] (PRIxFAST32): Likewise.
29056 [C99-based-standards] (PRIXFAST32): Likewise.
29057 [C99-based-standards] (SCNdFAST32): Likewise.
29058 [C99-based-standards] (SCNiFAST32): Likewise.
29059 [C99-based-standards] (SCNoFAST32): Likewise.
29060 [C99-based-standards] (SCNuFAST32): Likewise.
29061 [C99-based-standards] (SCNxFAST32): Likewise.
29062 [C99-based-standards] (PRId64): Likewise.
29063 [C99-based-standards] (PRIi64): Likewise.
29064 [C99-based-standards] (PRIo64): Likewise.
29065 [C99-based-standards] (PRIu64): Likewise.
29066 [C99-based-standards] (PRIx64): Likewise.
29067 [C99-based-standards] (PRIX64): Likewise.
29068 [C99-based-standards] (SCNd64): Likewise.
29069 [C99-based-standards] (SCNi64): Likewise.
29070 [C99-based-standards] (SCNo64): Likewise.
29071 [C99-based-standards] (SCNu64): Likewise.
29072 [C99-based-standards] (SCNx64): Likewise.
29073 [C99-based-standards] (PRIdLEAST64): Likewise.
29074 [C99-based-standards] (PRIiLEAST64): Likewise.
29075 [C99-based-standards] (PRIoLEAST64): Likewise.
29076 [C99-based-standards] (PRIuLEAST64): Likewise.
29077 [C99-based-standards] (PRIxLEAST64): Likewise.
29078 [C99-based-standards] (PRIXLEAST64): Likewise.
29079 [C99-based-standards] (SCNdLEAST64): Likewise.
29080 [C99-based-standards] (SCNiLEAST64): Likewise.
29081 [C99-based-standards] (SCNoLEAST64): Likewise.
29082 [C99-based-standards] (SCNuLEAST64): Likewise.
29083 [C99-based-standards] (SCNxLEAST64): Likewise.
29084 [C99-based-standards] (PRIdFAST64): Likewise.
29085 [C99-based-standards] (PRIiFAST64): Likewise.
29086 [C99-based-standards] (PRIoFAST64): Likewise.
29087 [C99-based-standards] (PRIuFAST64): Likewise.
29088 [C99-based-standards] (PRIxFAST64): Likewise.
29089 [C99-based-standards] (PRIXFAST64): Likewise.
29090 [C99-based-standards] (SCNdFAST64): Likewise.
29091 [C99-based-standards] (SCNiFAST64): Likewise.
29092 [C99-based-standards] (SCNoFAST64): Likewise.
29093 [C99-based-standards] (SCNuFAST64): Likewise.
29094 [C99-based-standards] (SCNxFAST64): Likewise.
29095 [C99-based-standards] (PRIdMAX): Likewise.
29096 [C99-based-standards] (PRIiMAX): Likewise.
29097 [C99-based-standards] (PRIoMAX): Likewise.
29098 [C99-based-standards] (PRIuMAX): Likewise.
29099 [C99-based-standards] (PRIxMAX): Likewise.
29100 [C99-based-standards] (PRIXMAX): Likewise.
29101 [C99-based-standards] (SCNdMAX): Likewise.
29102 [C99-based-standards] (SCNiMAX): Likewise.
29103 [C99-based-standards] (SCNoMAX): Likewise.
29104 [C99-based-standards] (SCNuMAX): Likewise.
29105 [C99-based-standards] (SCNxMAX): Likewise.
29106 [C99-based-standards] (PRIdPTR): Likewise.
29107 [C99-based-standards] (PRIiPTR): Likewise.
29108 [C99-based-standards] (PRIoPTR): Likewise.
29109 [C99-based-standards] (PRIuPTR): Likewise.
29110 [C99-based-standards] (PRIxPTR): Likewise.
29111 [C99-based-standards] (PRIXPTR): Likewise.
29112 [C99-based-standards] (SCNdPTR): Likewise.
29113 [C99-based-standards] (SCNiPTR): Likewise.
29114 [C99-based-standards] (SCNoPTR): Likewise.
29115 [C99-based-standards] (SCNuPTR): Likewise.
29116 [C99-based-standards] (SCNxPTR): Likewise.
29117 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29118 allow.
29119 * conform/data/stdint.h-data: Update comments to clarify
29120 requirements.
29121 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29122 type.
29123 [C99-based standards] (INT8_MAX): Likewise.
29124 [C99-based standards] (INT16_MIN): Likewise.
29125 [C99-based standards] (INT16_MAX): Likewise.
29126 [C99-based standards] (INT32_MIN): Likewise.
29127 [C99-based standards] (INT32_MAX): Likewise.
29128 [C99-based standards] (INT64_MIN): Likewise.
29129 [C99-based standards] (INT64_MAX): Likewise.
29130 [C99-based standards] (UINT8_MAX): Likewise.
29131 [C99-based standards] (UINT16_MAX): Likewise.
29132 [C99-based standards] (UINT32_MAX): Likewise.
29133 [C99-based standards] (UINT64_MAX): Likewise.
29134 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29135 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29136 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29137 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29138 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29139 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29140 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29141 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29142 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29143 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29144 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29145 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29146 [C99-based standards] (INT_FAST8_MIN): Likewise.
29147 [C99-based standards] (INT_FAST8_MAX): Likewise.
29148 [C99-based standards] (INT_FAST16_MIN): Likewise.
29149 [C99-based standards] (INT_FAST16_MAX): Likewise.
29150 [C99-based standards] (INT_FAST32_MIN): Likewise.
29151 [C99-based standards] (INT_FAST32_MAX): Likewise.
29152 [C99-based standards] (INT_FAST64_MIN): Likewise.
29153 [C99-based standards] (INT_FAST64_MAX): Likewise.
29154 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29155 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29156 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29157 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29158 [C99-based standards] (INTPTR_MIN): Likewise.
29159 [C99-based standards] (INTPTR_MAX): Likewise.
29160 [C99-based standards] (UINTPTR_MAX): Likewise.
29161 [C99-based standards] (INTMAX_MIN): Likewise.
29162 [C99-based standards] (INTMAX_MAX): Likewise.
29163 [C99-based standards] (UINTMAX_MAX): Likewise.
29164 [C99-based standards] (PTRDIFF_MIN): Likewise.
29165 [C99-based standards] (PTRDIFF_MAX): Likewise.
29166 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29167 [C99-based standards] (SIZE_MAX): Likewise.
29168 [C99-based standards] (WCHAR_MAX): Likewise.
29169 [C99-based standards] (WINT_MAX): Likewise.
29170 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29171 constraint on value.
29172 [C99-based standards] (WCHAR_MIN): Likewise.
29173 [C99-based standards] (WINT_MIN): Likewise.
29174 [C99-based standards] (*_t): Allow.
29175 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29176 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29177 Include math.h-data and complex.h-data. Remove all expectations
29178 of math.h and complex.h contents.
29179 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29180 at end of line.
29181 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29182 (struct tm): Expect tag.
29183 [C99-based-standards] (wcstof): Expect function.
29184 [C99-based-standards] (wcstold): Likewise.
29185 [C99-based-standards] (wcstoll): Likewise.
29186 [C99-based-standards] (wcstoull): Likewise.
29187 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29188 macro-int-constant. Specify type.
29189 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29190 constraint on value.
29191 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29192 Specify type.
29193 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29194 Specify value.
29195 [ISO C standards]: Do not allow headers.
29196 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29197 wcs[abcdefghijklmnopqrstuvwxyz]*.
29198 [ISO C standards] (*_t): Do not allow.
29199 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29200 Expect function.
29201 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29202 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29203 Specify type.
29204 [ISO C standards]: Do not allow headers.
29205 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29206 is[abcdefghijklmnopqrstuvwxyz]*.
29207 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29208 to[abcdefghijklmnopqrstuvwxyz]*.
29209 [ISO C standards] (*_t): Do not allow.
29210 * conform/data/stdalign.h-data: New file.
29211 * conform/data/stdbool.h-data: Likewise.
29212 * conform/data/stdnoreturn.h-data: Likewise.
29213
7514feb8
RM
292142012-11-07 Roland McGrath <roland@hack.frob.com>
29215
29216 [BZ #14815]
29217 * manual/filesys.texi (Directory Entries): Typo fix.
29218 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29219
19b2ecfc
MS
292202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29221
29222 * elf/elf.h (EM_AARCH64): New macro.
29223 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29224 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29225 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29226 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29227 (R_AARCH64_TLSDESC): Likewise.
29228 (NT_ARM_TLS): Likewise.
29229 (NT_ARM_HW_BREAK): Likewise.
29230 (NT_ARM_HW_WATCH): Likewise.
29231
60e235ee
JM
292322012-11-07 Joseph Myers <joseph@codesourcery.com>
29233
29234 [BZ #14811]
29235 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29236 (__ieee754_powl): Saturate nonzero exponents with absolute value
29237 below 0x1p-79 to +/- 0x1p-79.
29238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29239 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29240 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29241 nonzero exponents with absolute value below 0x1p-32 to +/-
29242 0x1p-32.
29243 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29244 (__ieee754_powl): Saturate nonzero exponents with absolute value
29245 below 0x1p-79 to +/- 0x1p-79.
29246 * math/libm-test.inc (pow_test): Add more tests.
29247
0ab234b7
AK
292482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29249
29250 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29251 _dl_s390_cap_flags with kernel. Increase string length.
29252 (_dl_s390_platforms): Add z196 and zEC12.
29253
45832f74
JM
292542012-11-07 Joseph Myers <joseph@codesourcery.com>
29255
29256 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29257 Change XOPEN21K to XOPEN2K.
29258
19218757
MK
292592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29260
29261 * string/memmove.c: Use memcpy when possible.
29262
c5f45721
AJ
292632012-11-06 Andreas Jaeger <aj@suse.de>
29264
29265 * po/eo.po: Update from translation team.
29266
82477c28
JM
292672012-11-06 Joseph Myers <joseph@codesourcery.com>
29268
29269 [BZ #14793]
29270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29271 exponent and small x and y exponents, scale x or y up. Increase
29272 by 2 the exponent used in scaling up.
29273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29275 * math/libm-test.inc (fma_test): Add more tests.
29276 (fma_test_towardzero): Likewise.
29277 (fma_test_downward): Likewise.
29278 (fma_test_upward): Likewise.
29279
99252c8c
JM
292802012-11-05 Joseph Myers <joseph@codesourcery.com>
29281
acfa885f
JM
29282 [BZ #14805]
29283 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29284 fenv_t *.
29285
99252c8c
JM
29286 [BZ #14801]
29287 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29288 namespace for names of struct fields.
29289 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29290 fenv_t fields.
29291 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29292 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29293
d6d98dea
ST
292942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29295
29296 [BZ #3665]
29297 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29298
e10bb107
TS
292992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29300
29301 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29302 PTR_DEMANGLE.
29303
29304 [BZ #5246]
29305 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29306 PTR_DEMANGLE.
29307
a0c2940d
JM
293082012-11-04 Joseph Myers <joseph@codesourcery.com>
29309
29310 [BZ #14797]
29311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29312 definitely overflow as x * y not x * y + z.
29313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29315 * math/libm-test.inc (fma_test): Add more tests.
29316 (fma_test_towardzero): Likewise.
29317 (fma_test_downward): Likewise.
29318 (fma_test_upward): Likewise.
29319
b830319d
TS
293202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29321
29322 [BZ #157]
29323
29324 * include/stub-tag.h: Remove file.
29325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29326 '#include' of it.
29327 * manual/maint.texi (Porting): Don't reference it.
29328 * Makerules ($(objpfx)stubs): Likewise.
29329 * dirent/closedir.c: Don't include <stub-tag.h>.
29330 * dirent/dirfd.c: Likewise.
29331 * dirent/fdopendir.c: Likewise.
29332 * dirent/getdents.c: Likewise.
29333 * dirent/getdents64.c: Likewise.
29334 * dirent/opendir.c: Likewise.
29335 * dirent/readdir.c: Likewise.
29336 * dirent/readdir64.c: Likewise.
29337 * dirent/readdir64_r.c: Likewise.
29338 * dirent/readdir_r.c: Likewise.
29339 * dirent/rewinddir.c: Likewise.
29340 * dirent/seekdir.c: Likewise.
29341 * dirent/telldir.c: Likewise.
29342 * gmon/profil.c: Likewise.
29343 * grp/setgroups.c: Likewise.
29344 * inet/if_index.c: Likewise.
29345 * io/access.c: Likewise.
29346 * io/chdir.c: Likewise.
29347 * io/chmod.c: Likewise.
29348 * io/chown.c: Likewise.
29349 * io/close.c: Likewise.
29350 * io/dup.c: Likewise.
29351 * io/dup2.c: Likewise.
29352 * io/dup3.c: Likewise.
29353 * io/euidaccess.c: Likewise.
29354 * io/faccessat.c: Likewise.
29355 * io/fchdir.c: Likewise.
29356 * io/fchmod.c: Likewise.
29357 * io/fchmodat.c: Likewise.
29358 * io/fchown.c: Likewise.
29359 * io/fchownat.c: Likewise.
29360 * io/fcntl.c: Likewise.
29361 * io/flock.c: Likewise.
29362 * io/fstatfs.c: Likewise.
29363 * io/fstatfs64.c: Likewise.
29364 * io/fstatvfs.c: Likewise.
29365 * io/fstatvfs64.c: Likewise.
29366 * io/futimens.c: Likewise.
29367 * io/fxstat.c: Likewise.
29368 * io/fxstat64.c: Likewise.
29369 * io/fxstatat.c: Likewise.
29370 * io/fxstatat64.c: Likewise.
29371 * io/getcwd.c: Likewise.
29372 * io/isatty.c: Likewise.
29373 * io/lchmod.c: Likewise.
29374 * io/lchown.c: Likewise.
29375 * io/link.c: Likewise.
29376 * io/linkat.c: Likewise.
29377 * io/lseek.c: Likewise.
29378 * io/lseek64.c: Likewise.
29379 * io/lxstat64.c: Likewise.
29380 * io/mkdir.c: Likewise.
29381 * io/mkdirat.c: Likewise.
29382 * io/mkfifo.c: Likewise.
29383 * io/mkfifoat.c: Likewise.
29384 * io/open.c: Likewise.
29385 * io/open64.c: Likewise.
29386 * io/openat.c: Likewise.
29387 * io/openat64.c: Likewise.
29388 * io/pipe.c: Likewise.
29389 * io/pipe2.c: Likewise.
29390 * io/poll.c: Likewise.
29391 * io/posix_fadvise.c: Likewise.
29392 * io/posix_fadvise64.c: Likewise.
29393 * io/posix_fallocate.c: Likewise.
29394 * io/posix_fallocate64.c: Likewise.
29395 * io/read.c: Likewise.
29396 * io/readlink.c: Likewise.
29397 * io/readlinkat.c: Likewise.
29398 * io/rmdir.c: Likewise.
29399 * io/sendfile.c: Likewise.
29400 * io/sendfile64.c: Likewise.
29401 * io/statfs.c: Likewise.
29402 * io/statfs64.c: Likewise.
29403 * io/statvfs.c: Likewise.
29404 * io/statvfs64.c: Likewise.
29405 * io/symlink.c: Likewise.
29406 * io/symlinkat.c: Likewise.
29407 * io/ttyname.c: Likewise.
29408 * io/ttyname_r.c: Likewise.
29409 * io/umask.c: Likewise.
29410 * io/unlink.c: Likewise.
29411 * io/unlinkat.c: Likewise.
29412 * io/utime.c: Likewise.
29413 * io/utimensat.c: Likewise.
29414 * io/write.c: Likewise.
29415 * io/xmknod.c: Likewise.
29416 * io/xmknodat.c: Likewise.
29417 * io/xstat.c: Likewise.
29418 * io/xstat64.c: Likewise.
29419 * login/getpt.c: Likewise.
29420 * login/grantpt.c: Likewise.
29421 * login/unlockpt.c: Likewise.
29422 * math/e_acoshl.c: Likewise.
29423 * math/e_acosl.c: Likewise.
29424 * math/e_asinl.c: Likewise.
29425 * math/e_atan2l.c: Likewise.
29426 * math/e_atanhl.c: Likewise.
29427 * math/e_coshl.c: Likewise.
29428 * math/e_expl.c: Likewise.
29429 * math/e_fmodl.c: Likewise.
29430 * math/e_gammal_r.c: Likewise.
29431 * math/e_hypotl.c: Likewise.
29432 * math/e_j0l.c: Likewise.
29433 * math/e_j1l.c: Likewise.
29434 * math/e_jnl.c: Likewise.
29435 * math/e_lgammal_r.c: Likewise.
29436 * math/e_log10l.c: Likewise.
29437 * math/e_log2l.c: Likewise.
29438 * math/e_logl.c: Likewise.
29439 * math/e_powl.c: Likewise.
29440 * math/e_rem_pio2l.c: Likewise.
29441 * math/e_sinhl.c: Likewise.
29442 * math/e_sqrtl.c: Likewise.
29443 * math/fclrexcpt.c: Likewise.
29444 * math/fedisblxcpt.c: Likewise.
29445 * math/feenablxcpt.c: Likewise.
29446 * math/fegetenv.c: Likewise.
29447 * math/fegetexcept.c: Likewise.
29448 * math/fegetround.c: Likewise.
29449 * math/feholdexcpt.c: Likewise.
29450 * math/fesetenv.c: Likewise.
29451 * math/fesetround.c: Likewise.
29452 * math/feupdateenv.c: Likewise.
29453 * math/fgetexcptflg.c: Likewise.
29454 * math/fraiseexcpt.c: Likewise.
29455 * math/fsetexcptflg.c: Likewise.
29456 * math/ftestexcept.c: Likewise.
29457 * math/k_cosl.c: Likewise.
29458 * math/k_rem_pio2l.c: Likewise.
29459 * math/k_sinl.c: Likewise.
29460 * math/k_tanl.c: Likewise.
29461 * math/s_asinhl.c: Likewise.
29462 * math/s_atanl.c: Likewise.
29463 * math/s_cbrtl.c: Likewise.
29464 * math/s_erfl.c: Likewise.
29465 * math/s_expm1l.c: Likewise.
29466 * math/s_log1pl.c: Likewise.
29467 * math/s_tanhl.c: Likewise.
29468 * misc/acct.c: Likewise.
29469 * misc/brk.c: Likewise.
29470 * misc/chflags.c: Likewise.
29471 * misc/chroot.c: Likewise.
29472 * misc/fchflags.c: Likewise.
29473 * misc/fgetxattr.c: Likewise.
29474 * misc/flistxattr.c: Likewise.
29475 * misc/fremovexattr.c: Likewise.
29476 * misc/fsetxattr.c: Likewise.
29477 * misc/fsync.c: Likewise.
29478 * misc/ftruncate.c: Likewise.
29479 * misc/futimes.c: Likewise.
29480 * misc/futimesat.c: Likewise.
29481 * misc/getdomain.c: Likewise.
29482 * misc/getdtsz.c: Likewise.
29483 * misc/gethostid.c: Likewise.
29484 * misc/gethostname.c: Likewise.
29485 * misc/getloadavg.c: Likewise.
29486 * misc/getpagesize.c: Likewise.
29487 * misc/getsysstats.c: Likewise.
29488 * misc/getxattr.c: Likewise.
29489 * misc/gtty.c: Likewise.
29490 * misc/ioctl.c: Likewise.
29491 * misc/lgetxattr.c: Likewise.
29492 * misc/listxattr.c: Likewise.
29493 * misc/llistxattr.c: Likewise.
29494 * misc/lremovexattr.c: Likewise.
29495 * misc/lsetxattr.c: Likewise.
29496 * misc/lutimes.c: Likewise.
29497 * misc/madvise.c: Likewise.
29498 * misc/mincore.c: Likewise.
29499 * misc/mlock.c: Likewise.
29500 * misc/mlockall.c: Likewise.
29501 * misc/mmap.c: Likewise.
29502 * misc/mprotect.c: Likewise.
29503 * misc/msync.c: Likewise.
29504 * misc/munlock.c: Likewise.
29505 * misc/munlockall.c: Likewise.
29506 * misc/munmap.c: Likewise.
29507 * misc/preadv.c: Likewise.
29508 * misc/preadv64.c: Likewise.
29509 * misc/ptrace.c: Likewise.
29510 * misc/pwritev.c: Likewise.
29511 * misc/pwritev64.c: Likewise.
29512 * misc/readv.c: Likewise.
29513 * misc/reboot.c: Likewise.
29514 * misc/remap_file_pages.c: Likewise.
29515 * misc/removexattr.c: Likewise.
29516 * misc/revoke.c: Likewise.
29517 * misc/select.c: Likewise.
29518 * misc/setdomain.c: Likewise.
29519 * misc/setegid.c: Likewise.
29520 * misc/seteuid.c: Likewise.
29521 * misc/sethostid.c: Likewise.
29522 * misc/sethostname.c: Likewise.
29523 * misc/setregid.c: Likewise.
29524 * misc/setreuid.c: Likewise.
29525 * misc/setxattr.c: Likewise.
29526 * misc/sstk.c: Likewise.
29527 * misc/stty.c: Likewise.
29528 * misc/swapoff.c: Likewise.
29529 * misc/swapon.c: Likewise.
29530 * misc/sync.c: Likewise.
29531 * misc/syncfs.c: Likewise.
29532 * misc/syscall.c: Likewise.
29533 * misc/truncate.c: Likewise.
29534 * misc/ualarm.c: Likewise.
29535 * misc/usleep.c: Likewise.
29536 * misc/ustat.c: Likewise.
29537 * misc/utimes.c: Likewise.
29538 * misc/vhangup.c: Likewise.
29539 * misc/writev.c: Likewise.
29540 * posix/_exit.c: Likewise.
29541 * posix/alarm.c: Likewise.
29542 * posix/execve.c: Likewise.
29543 * posix/fexecve.c: Likewise.
29544 * posix/fork.c: Likewise.
29545 * posix/fpathconf.c: Likewise.
29546 * posix/getaddrinfo.c: Likewise.
29547 * posix/getegid.c: Likewise.
29548 * posix/geteuid.c: Likewise.
29549 * posix/getgid.c: Likewise.
29550 * posix/getgroups.c: Likewise.
29551 * posix/getlogin.c: Likewise.
29552 * posix/getlogin_r.c: Likewise.
29553 * posix/getpgid.c: Likewise.
29554 * posix/getpid.c: Likewise.
29555 * posix/getppid.c: Likewise.
29556 * posix/getresgid.c: Likewise.
29557 * posix/getresuid.c: Likewise.
29558 * posix/getsid.c: Likewise.
29559 * posix/getuid.c: Likewise.
29560 * posix/glob64.c: Likewise.
29561 * posix/nanosleep.c: Likewise.
29562 * posix/pathconf.c: Likewise.
29563 * posix/pause.c: Likewise.
29564 * posix/posix_madvise.c: Likewise.
29565 * posix/pread.c: Likewise.
29566 * posix/pread64.c: Likewise.
29567 * posix/pwrite.c: Likewise.
29568 * posix/pwrite64.c: Likewise.
29569 * posix/sched_getaffinity.c: Likewise.
29570 * posix/sched_getp.c: Likewise.
29571 * posix/sched_gets.c: Likewise.
29572 * posix/sched_primax.c: Likewise.
29573 * posix/sched_primin.c: Likewise.
29574 * posix/sched_rr_gi.c: Likewise.
29575 * posix/sched_setaffinity.c: Likewise.
29576 * posix/sched_setp.c: Likewise.
29577 * posix/sched_sets.c: Likewise.
29578 * posix/sched_yield.c: Likewise.
29579 * posix/setgid.c: Likewise.
29580 * posix/setlogin.c: Likewise.
29581 * posix/setpgid.c: Likewise.
29582 * posix/setresgid.c: Likewise.
29583 * posix/setresuid.c: Likewise.
29584 * posix/setsid.c: Likewise.
29585 * posix/setuid.c: Likewise.
29586 * posix/sleep.c: Likewise.
29587 * posix/spawni.c: Likewise.
29588 * posix/sysconf.c: Likewise.
29589 * posix/times.c: Likewise.
29590 * posix/wait.c: Likewise.
29591 * posix/wait3.c: Likewise.
29592 * posix/wait4.c: Likewise.
29593 * posix/waitpid.c: Likewise.
29594 * resolv/gai_sigqueue.c: Likewise.
29595 * resource/getpriority.c: Likewise.
29596 * resource/getrlimit.c: Likewise.
29597 * resource/getrusage.c: Likewise.
29598 * resource/nice.c: Likewise.
29599 * resource/setpriority.c: Likewise.
29600 * resource/setrlimit.c: Likewise.
29601 * resource/ulimit.c: Likewise.
29602 * rt/aio_cancel.c: Likewise.
29603 * rt/aio_fsync.c: Likewise.
29604 * rt/aio_read.c: Likewise.
29605 * rt/aio_sigqueue.c: Likewise.
29606 * rt/aio_suspend.c: Likewise.
29607 * rt/aio_write.c: Likewise.
29608 * rt/clock_getres.c: Likewise.
29609 * rt/clock_gettime.c: Likewise.
29610 * rt/clock_nanosleep.c: Likewise.
29611 * rt/clock_settime.c: Likewise.
29612 * rt/lio_listio.c: Likewise.
29613 * rt/mq_close.c: Likewise.
29614 * rt/mq_getattr.c: Likewise.
29615 * rt/mq_notify.c: Likewise.
29616 * rt/mq_open.c: Likewise.
29617 * rt/mq_receive.c: Likewise.
29618 * rt/mq_send.c: Likewise.
29619 * rt/mq_setattr.c: Likewise.
29620 * rt/mq_timedreceive.c: Likewise.
29621 * rt/mq_timedsend.c: Likewise.
29622 * rt/mq_unlink.c: Likewise.
29623 * rt/shm_open.c: Likewise.
29624 * rt/shm_unlink.c: Likewise.
29625 * rt/timer_create.c: Likewise.
29626 * rt/timer_delete.c: Likewise.
29627 * rt/timer_getoverr.c: Likewise.
29628 * rt/timer_gettime.c: Likewise.
29629 * rt/timer_settime.c: Likewise.
29630 * setjmp/__longjmp.c: Likewise.
29631 * setjmp/setjmp.c: Likewise.
29632 * signal/kill.c: Likewise.
29633 * signal/killpg.c: Likewise.
29634 * signal/raise.c: Likewise.
29635 * signal/sigaction.c: Likewise.
29636 * signal/sigaltstack.c: Likewise.
29637 * signal/sigblock.c: Likewise.
29638 * signal/sigignore.c: Likewise.
29639 * signal/sigintr.c: Likewise.
29640 * signal/signal.c: Likewise.
29641 * signal/sigpause.c: Likewise.
29642 * signal/sigpending.c: Likewise.
29643 * signal/sigqueue.c: Likewise.
29644 * signal/sigreturn.c: Likewise.
29645 * signal/sigset.c: Likewise.
29646 * signal/sigsetmask.c: Likewise.
29647 * signal/sigstack.c: Likewise.
29648 * signal/sigsuspend.c: Likewise.
29649 * signal/sigtimedwait.c: Likewise.
29650 * signal/sigvec.c: Likewise.
29651 * signal/sigwait.c: Likewise.
29652 * signal/sigwaitinfo.c: Likewise.
29653 * signal/sysv_signal.c: Likewise.
29654 * socket/accept.c: Likewise.
29655 * socket/accept4.c: Likewise.
29656 * socket/bind.c: Likewise.
29657 * socket/connect.c: Likewise.
29658 * socket/getpeername.c: Likewise.
29659 * socket/getsockname.c: Likewise.
29660 * socket/getsockopt.c: Likewise.
29661 * socket/isfdtype.c: Likewise.
29662 * socket/listen.c: Likewise.
29663 * socket/recv.c: Likewise.
29664 * socket/recvfrom.c: Likewise.
29665 * socket/recvmsg.c: Likewise.
29666 * socket/send.c: Likewise.
29667 * socket/sendmsg.c: Likewise.
29668 * socket/sendto.c: Likewise.
29669 * socket/setsockopt.c: Likewise.
29670 * socket/shutdown.c: Likewise.
29671 * socket/sockatmark.c: Likewise.
29672 * socket/socket.c: Likewise.
29673 * socket/socketpair.c: Likewise.
29674 * stdio-common/ctermid.c: Likewise.
29675 * stdio-common/cuserid.c: Likewise.
29676 * stdio-common/remove.c: Likewise.
29677 * stdio-common/rename.c: Likewise.
29678 * stdio-common/renameat.c: Likewise.
29679 * stdio-common/tempname.c: Likewise.
29680 * stdlib/getcontext.c: Likewise.
29681 * stdlib/makecontext.c: Likewise.
29682 * stdlib/setcontext.c: Likewise.
29683 * stdlib/swapcontext.c: Likewise.
29684 * stdlib/system.c: Likewise.
29685 * streams/fattach.c: Likewise.
29686 * streams/fdetach.c: Likewise.
29687 * streams/getmsg.c: Likewise.
29688 * streams/getpmsg.c: Likewise.
29689 * streams/putmsg.c: Likewise.
29690 * streams/putpmsg.c: Likewise.
29691 * sysdeps/unix/bsd/getpt.c: Likewise.
29692 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29693 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29694 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29696 Likewise.
29697 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29698 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29699 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29700 * sysvipc/msgctl.c: Likewise.
29701 * sysvipc/msgget.c: Likewise.
29702 * sysvipc/msgrcv.c: Likewise.
29703 * sysvipc/msgsnd.c: Likewise.
29704 * sysvipc/semctl.c: Likewise.
29705 * sysvipc/semget.c: Likewise.
29706 * sysvipc/semop.c: Likewise.
29707 * sysvipc/semtimedop.c: Likewise.
29708 * sysvipc/shmat.c: Likewise.
29709 * sysvipc/shmctl.c: Likewise.
29710 * sysvipc/shmdt.c: Likewise.
29711 * sysvipc/shmget.c: Likewise.
29712 * termios/tcdrain.c: Likewise.
29713 * termios/tcflow.c: Likewise.
29714 * termios/tcflush.c: Likewise.
29715 * termios/tcgetattr.c: Likewise.
29716 * termios/tcgetpgrp.c: Likewise.
29717 * termios/tcsendbrk.c: Likewise.
29718 * termios/tcsetattr.c: Likewise.
29719 * termios/tcsetpgrp.c: Likewise.
29720 * time/adjtime.c: Likewise.
29721 * time/clock.c: Likewise.
29722 * time/getitimer.c: Likewise.
29723 * time/gettimeofday.c: Likewise.
29724 * time/setitimer.c: Likewise.
29725 * time/settimeofday.c: Likewise.
29726 * time/stime.c: Likewise.
29727 * time/time.c: Likewise.
29728
297292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 29730
a20492cf
PT
29731 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29732 /usr/old/bin.
29733
72e182e3
PT
29734 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29735 instead of spaces.
29736 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29737
fbeafede
JM
297382012-11-03 Joseph Myers <joseph@codesourcery.com>
29739
5b5b04d6
JM
29740 [BZ #14796]
29741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29742 FE_TONEAREST before applying Dekker multiplication and Knuth
29743 addition. Clear inexact exceptions and check for exact zero
29744 results afterwards.
29745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29748 * math/libm-test.inc (fma_test): Add more tests.
29749 (fma_test_towardzero): Likewise.
29750 (fma_test_downward): Likewise.
29751 (fma_test_upward): Likewise.
29752 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29753 function.
29754 (libc_fesetround): New macro.
29755 (libc_fesetroundf): Likewise.
29756 (libc_fesetroundl): Likewise.
29757 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29758 function.
29759 (libc_fesetround_387): Likewise.
29760 (libc_fesetroundf): New macro.
29761 (libc_fesetround): Likewise.
29762 (libc_fesetroundl): Likewise.
29763 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29764 function.
29765 (libc_fesetroundf): New macro.
29766 (libc_fesetround): Likewise.
29767 (libc_fesetroundl): Likewise.
29768 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29769 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29770 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29771 libm_hidden_ver.
29772 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29773 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29774 libm_hidden_def.
29775 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29776 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29777 libm_hidden_ver.
29778 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29779 libm_hidden_def.
29780
fbeafede
JM
29781 [BZ #3439]
29782 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29783 integer constant usable in #if and use that to give value to enum
29784 constant.
29785 (FE_DIVBYZERO): Likewise.
29786 (FE_UNDERFLOW): Likewise.
29787 (FE_OVERFLOW): Likewise.
29788 (FE_INVALID): Likewise.
29789 (FE_INVALID_SNAN): Likewise.
29790 (FE_INVALID_ISI): Likewise.
29791 (FE_INVALID_IDI): Likewise.
29792 (FE_INVALID_ZDZ): Likewise.
29793 (FE_INVALID_IMZ): Likewise.
29794 (FE_INVALID_COMPARE): Likewise.
29795 (FE_INVALID_SOFTWARE): Likewise.
29796 (FE_INVALID_SQRT): Likewise.
29797 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29798 (FE_TONEAREST): Likewise.
29799 (FE_TOWARDZERO): Likewise.
29800 (FE_UPWARD): Likewise.
29801 (FE_DOWNWARD): Likewise.
29802 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29803 (FE_DIVBYZERO): Likewise.
29804 (FE_OVERFLOW): Likewise.
29805 (FE_UNDERFLOW): Likewise.
29806 (FE_INEXACT): Likewise.
29807 (FE_TONEAREST): Likewise.
29808 (FE_DOWNWARD): Likewise.
29809 (FE_UPWARD): Likewise.
29810 (FE_TOWARDZERO): Likewise.
29811 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29812 (FE_UNDERFLOW): Likewise.
29813 (FE_OVERFLOW): Likewise.
29814 (FE_DIVBYZERO): Likewise.
29815 (FE_INVALID): Likewise.
29816 (FE_TONEAREST): Likewise.
29817 (FE_TOWARDZERO): Likewise.
29818 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29819 (FE_OVERFLOW): Likewise.
29820 (FE_UNDERFLOW): Likewise.
29821 (FE_DIVBYZERO): Likewise.
29822 (FE_INEXACT): Likewise.
29823 (FE_TONEAREST): Likewise.
29824 (FE_TOWARDZERO): Likewise.
29825 (FE_UPWARD): Likewise.
29826 (FE_DOWNWARD): Likewise.
29827 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29828 (FE_DIVBYZERO): Likewise.
29829 (FE_OVERFLOW): Likewise.
29830 (FE_UNDERFLOW): Likewise.
29831 (FE_INEXACT): Likewise.
29832 (FE_TONEAREST): Likewise.
29833 (FE_DOWNWARD): Likewise.
29834 (FE_UPWARD): Likewise.
29835 (FE_TOWARDZERO): Likewise.
29836
105ca950
CM
298372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29838
29839 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29840
a542b389
AS
298412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29842
29843 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29844 commands. Quote $PWD.
29845 (blacklist_exports): Don't use remove_newlines. Replace "declare
29846 -x" by "export".
29847 (remove_newlines): Remove.
29848
f62c8abc
L
298492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29850
29851 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29852 * stdlib/stdlib.h (atof): Moved to ...
29853 * include/bits/stdlib-float.h: Here. New file.
29854 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29855 * stdlib/bits/stdlib-float.h: New file.
29856 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29857 -mno-sse -mno-mmx.
29858 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29859 <xmmintrin.h>.
29860
0155d5b2
JM
298612012-11-02 Joseph Myers <joseph@codesourcery.com>
29862
a68d0680
JM
29863 * conform/conformtest.pl (@headers): Add fenv.h.
29864 * conform/data/fenv.h-data: New file.
29865 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29866 include of <math/fenv.h>.
29867
caf7f573
JM
29868 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29869 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29870 && !UNIX98]. Enables tests for XOPEN2K8.
29871 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29872 POSIX2008]: Likewise.
29873
6c073ad6
JM
29874 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29875 (struct rusage): Do not expect type or its members.
29876
0155d5b2
JM
29877 [BZ #3439]
29878 * math/math.h (FP_NAN): Define macro to integer constant usable in
29879 #if and use that to give value to enum constant.
29880 (FP_INFINITE): Likewise.
29881 (FP_ZERO): Likewise.
29882 (FP_SUBNORMAL): Likewise.
29883 (FP_NORMAL): Likewise.
29884
b5dcacb4
AS
298852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29886
29887 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29888 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29889 arguments.
29890
f7934be8
RM
298912012-11-02 Roland McGrath <roland@hack.frob.com>
29892
29893 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29894 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29895 autoconf-time if not.
29896 * configure.in: Remove AC_PREREQ.
29897
d7d08bde
TMQMF
298982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29899
29900 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29901 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29902 of the internal implementation.
29903
dcdae19a
JM
299042012-11-02 Joseph Myers <joseph@codesourcery.com>
29905
29906 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29907 except include of <misc/sys/syslog.h>.
29908
d6cffd3e
AS
299092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29910
29911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29912 function returns with a NULL context exit with zero.
29913
b3563932
TMQMF
299142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29915
29916 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29917
b288a93d
L
299182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29919
29920 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29921 (run_program_cmd): This.
29922 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29923 (tst_langinfo): New variable. Use it.
29924
a2421a68
SAS
299252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29926
29927 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29928 floating point opcodes.
29929
6f796e1b
TS
299302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29931
7402596b
TS
29932 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29933 variable.
29934
d0d4f868
TS
29935 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29936
6f796e1b
TS
29937 * sysdeps/mach/hurd/powerpc: Remove directory.
29938 * sysdeps/mach/powerpc: Likewise.
29939
4da224a2
AS
299402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29941
29942 * scripts/check-local-headers.sh: Ignore c++ headers.
29943
341dd673
TS
299442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29945
29946 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29947 __libc_cleanup_region_start argument.
29948
473611b2
JM
299492012-11-01 Joseph Myers <joseph@codesourcery.com>
29950
29951 [BZ #14784]
29952 [BZ #14785]
29953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29954 x * y using scaling, not as x * y + z.
29955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29957 * math/libm-test.inc (fma_test): Add more tests.
29958 (fma_test_towardzero): Likewise.
29959 (fma_test_downward): Likewise.
29960 (fma_test_upward): Likewise.
29961
4078da3d
TS
299622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29963
29964 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29965
903252aa
JM
299662012-10-31 Joseph Myers <joseph@codesourcery.com>
29967
29968 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29969 New variable.
29970
cbc818d0
TS
299712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29972
29973 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29974
5a03cb1e
AS
299752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29976
29977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29978 Fix sort order.
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29980 Likewise.
29981
90aff2ff
TMQMF
299822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29983
29984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29985 Fix the order of the list for glibc 2.17.
29986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29987 Likewise.
29988
1818fcb7
AS
299892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29990
29991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29992
ef82f4da
JM
299932012-10-31 Joseph Myers <joseph@codesourcery.com>
29994
16a0e2ec
JM
29995 [BZ #14610]
29996 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29997 for low part of x being zero before using __atanl (y).
29998 * math/libm-test.inc (atan2_test): Add another test.
29999
0eb69512
JM
30000 * manual/install.texi (Configuring and compiling): Document
30001 general use of test-wrapper and test-wrapper-env.
30002 * INSTALL: Regenerated.
30003
ef82f4da
JM
30004 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30005 (__fma): Do not extract and scale down low bits on after-rounding
30006 systems when result rounded to normal precision would have normal
30007 exponent.
30008 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30009 (__fmal): Do not extract and scale down low bits on after-rounding
30010 systems when result rounded to normal precision would have normal
30011 exponent.
30012 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30013 (__fmal): Do not extract and scale down low bits on after-rounding
30014 systems when result rounded to normal precision would have normal
30015 exponent.
30016 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30017 macro.
30018 (fma_test): Add more tests.
30019 (fma_test_towardzero): Likewise.
30020 (fma_test_downward): Likewise.
30021 (fma_test_upward): Likewise.
30022
954ef0d9
L
300232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 * sysdeps/i386/tininess.h: Renamed to ...
30026 * sysdeps/x86/tininess.h: This.
30027 * sysdeps/x86_64/tininess.h: Removed.
30028
df61ffb2
JM
300292012-10-30 Joseph Myers <joseph@codesourcery.com>
30030
30031 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30032 input. Use $(build-program-cmd).
30033 ($(objpfx)tst-array1-static.out): Likewise.
30034 ($(objpfx)tst-array2.out): Likewise.
30035 ($(objpfx)tst-array3.out): Likewise.
30036 ($(objpfx)tst-array4.out): Likewise.
30037 ($(objpfx)tst-array5.out): Likewise.
30038 ($(objpfx)tst-array5-static.out): Likewise.
30039
01767843
CM
300402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30041
47cc1490
CM
30042 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30043 if defined.
30044
01767843
CM
30045 * nss/nsswitch.h (nss_interface_function): Provide new
30046 macro for use with NSS functions.
30047 * grp/initgroups.c: Use new macro.
30048 * nss/getXXbyYY.c: Likewise.
30049 * nss/getXXbyYY_r.c: Likewise.
30050 * nss/getXXent.c: Likewise.
30051 * nss/getXXent_r.c: Likewise.
30052 * sysdeps/posix/getaddrinfo.c: Likewise.
30053
8321aa97
AJ
300542012-10-30 Andreas Jaeger <aj@suse.de>
30055
30056 * po/ru.po: Update Russion translation from translation project.
30057
2a27fd6d
JM
300582012-10-30 Joseph Myers <joseph@codesourcery.com>
30059
8627a232
JM
30060 [BZ #14152]
30061 [BZ #14783]
30062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30063 result and shift together with sticky bit instead of replicating
30064 round-to-nearest rounding.
30065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30067 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30068 missing underflow exceptions.
30069 (fma_test_towardzero): Add more tests.
30070 (fma_test_downward): Likewise.
30071 (fma_test_upward): Likewise.
30072
2a27fd6d
JM
30073 [BZ #14047]
30074 * sysdeps/generic/tininess.h: New file.
30075 * sysdeps/i386/tininess.h: Likewise.
30076 * sysdeps/sh/tininess.h: Likewise.
30077 * sysdeps/x86_64/tininess.h: Likewise.
30078 * stdlib/tst-strtod-underflow.c: Likewise.
30079 * stdlib/tst-tininess.c: Likewise.
30080 * stdlib/strtod_l.c: Include <tininess.h>.
30081 (round_and_return): Do not set errno for exact underflow cases.
30082 Force an underflow exception when setting errno for underflow.
30083 Determine underflow based on rounding to normal precision if
30084 TININESS_AFTER_ROUNDING.
30085 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30086 ERANGE for exact underflow cases.
30087 * stdlib/Makefile (tests): Add tst-tininess and
30088 tst-strtod-underflow.
30089 ($(objpfx)tst-tininess): Use $(link-libm).
30090 ($(objpfx)tst-strtod-underflow): Likewise.
30091
e7170363
AJ
300922012-10-30 Andreas Jaeger <aj@suse.de>
30093
e5088dc6
AJ
30094 [BZ#14767]
30095 * elf/Makefile (tests): Remove conditional for have-initfini-array
30096 since this is now always required and the variable does not exist
30097 anymore.
30098 (tests-static): Likewise.
30099 (modules-names): Likewise.
30100
e7170363 30101 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
30102
30103 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30104 merged with constructor/destructor.
30105 (init_array): Likewise.
30106 * elf/tst-array2dep.c (fini_array): Likewise.
30107 (init_array): Likewise.
30108
60457d8a
MF
301092012-10-29 Mike Frysinger <vapier@gentoo.org>
30110
30111 * manual/message.texi: Delete @cartouche tags.
30112
8bece752
PT
301132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30114
94ce799f
PT
30115 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30116 EOPNOTSUPP.
30117 * sysdeps/mach/hurd/fsync.c: Likewise.
30118
8bece752
PT
30119 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30120 [_POSIX_REALTIME_SIGNALS]: Change condition to
30121 [_POSIX_REALTIME_SIGNALS > 0].
30122
86ebe6b1
AJ
301232012-10-27 Andreas Jaeger <aj@suse.de>
30124
30125 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30126 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30128 [__WORDSIZE != 64]: Likewise.
30129
54399c08
L
301302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30131
30132 * iconvdata/tst-table.sh: Remove ${SHELL}.
30133 * iconvdata/tst-tables.sh: Likewise.
30134
e2211bed
DM
301352012-10-25 David S. Miller <davem@davemloft.net>
30136
30137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30138 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30139 of strtoull.
30140
f303f97c
DM
30141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30142 ifunc-impl-list.c
30143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30144 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30145 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30146 file.
30147
1e9d84cd
RM
301482012-10-25 Roland McGrath <roland@hack.frob.com>
30149
30150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30151 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30152 __getdirentries.
30153
df381762
JM
301542012-10-25 Joseph Myers <joseph@codesourcery.com>
30155 Jim Blandy <jimb@codesourcery.com>
30156
30157 * scripts/cross-test-ssh.sh: New file.
30158 * manual/install.texi (Configuring and compiling): Document use of
30159 cross-test-ssh.sh.
30160 * INSTALL: Regenerated.
30161
bff64913
PT
301622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30163
30164 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30165 EOPNOTSUPP.
30166
25fe8932
JM
301672012-10-25 Joseph Myers <joseph@codesourcery.com>
30168
30169 * Makeconfig (run-program-prefix): Fix comment.
30170
cc1290d0
JM
301712012-10-24 Joseph Myers <joseph@codesourcery.com>
30172 Jim Blandy <jimb@codesourcery.com>
30173
30174 * Makeconfig (test-wrapper): New variable,
30175 (test-wrapper-env): Likewise.
30176 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30177 (run-built-tests): Define to yes.
30178 (run-program-prefix): Use $(test-wrapper).
30179 (built-program-cmd): Likewise.
30180 * Rules (make-test-out): Use $(test-wrapper-env) and
30181 $(host-built-program-cmd).
30182 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30183 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30184 tst-pathopt.sh.
30185 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30186 $(test-wrapper-env) to tst-rtld-load-self.sh.
30187 ($(objpfx)order2.out): Use $(test-wrapper).
30188 ($(objpfx)tst-initorder.out): Likewise.
30189 ($(objpfx)tst-initorder2.out): Likewise.
30190 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30191 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30192 (test_wrapper_env): New variable. Use it to run ld.so.
30193 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30194 Use it to run ld.so.
30195 (test_wrapper_env): Likewise.
30196 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30197 $(test-wrapper) to run-iconv-test.sh.
30198 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30199 (ICONV): Use $test_wrapper.
30200 * posix/Makefile ($(objpfx)globtest.out): Pass
30201 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30202 globtest.sh, not $(run-program-prefix).
30203 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30204 (test_wrapper): Likewise.
30205 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30206 set together with run_via_rtld_prefix.
30207 (run_program_prefix): Define in terms of test_wrapper and
30208 run_via_rtld_prefix.
30209
6e6249d0
RM
302102012-10-24 Roland McGrath <roland@hack.frob.com>
30211
30212 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30213 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30214 Targets removed.
30215
30216 [BZ #14743]
30217 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30218 Declare __clock_getres, __clock_gettime, __clock_settime,
30219 __clock_nanosleep, and __clock_getcpuclockid.
30220 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30221 Remove librt_hidden_def (clock_gettime).
30222 * sysdeps/unix/clock_gettime.c: Likewise.
30223 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30225 * rt/clock_getres.c: Define __clock_getres as an alias.
30226 * sysdeps/posix/clock_getres.c: Likewise.
30227 * rt/clock_settime.c: Define __clock_settime as an alias.
30228 * sysdeps/unix/clock_settime.c: Likewise.
30229 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30230 * sysdeps/unix/clock_nanosleep.c: Likewise.
30231 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30232 * rt/clock-compat.c: New file.
30233 * rt/Makefile (librt-routines): Add clock-compat and move
30234 $(clock-routines) to ...
30235 (routines): ... here, new variable.
30236 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30237 Don't add get_clockfreq here.
30238 * rt/Versions (libc: GLIBC_2.17): New version set.
30239 Add clock_* symbols here.
30240 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30241 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30242 (GLIBC_2.17): Add clock_* symbols.
30243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30247 Likewise.
30248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30249 Likewise.
30250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30254 * NEWS: Mention the move.
30255
30256 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30257 Use __open, __read, __close rather than their public counterparts.
30258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30259 (__get_clockfreq_via_cpuinfo): Likewise.
30260 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30261 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30262
30263 * config.h.in (HAVE_IFUNC): New #undef.
30264 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30265 was successful.
30266 * configure: Regenerated.
30267
0cae3f4b
MF
302682012-10-24 Mike Frysinger <vapier@gentoo.org>
30269
30270 * configure.in: Move READELF check to start of file.
30271 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30272 libc_cv_asm_gnu_indirect_function in the process.
30273 * configure: Regenerated.
30274
8175a253
MF
302752012-10-24 Mike Frysinger <vapier@gentoo.org>
30276
30277 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30278 send the output to /dev/null.
30279 (libc_cv_cc_with_libunwind): Likewise.
30280 (libc_cv_as_noexecstack): Likewise.
30281 * configure: Regenerate.
30282
0708a7d1
JM
302832012-10-24 Joseph Myers <joseph@codesourcery.com>
30284
10b40d85
JM
30285 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30286
0708a7d1
JM
30287 * posix/globtest.sh (TMPDIR): Do not set.
30288 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30289 (testout): Likewise.
30290
9fddec1a
AJ
302912012-10-24 Andreas Jaeger <aj@suse.de>
30292
3a8db22f
AJ
30293 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30294 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30295 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30296 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30297 posix_fadvise64, posix_fallocate64.
30298
9fddec1a
AJ
30299 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30300 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30301 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30302 Likewise.
30303 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30304 Likewise.
30305 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30306
30307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30308 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30309 <bits/fcntl-linux.h>.
30310 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30311
30312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30313 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30314 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30315 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30316 [__WORDSIZE != 64]: Likewise.
30317
ebfd1bbd
JM
303182012-10-23 Joseph Myers <joseph@codesourcery.com>
30319
03ac099f
JM
30320 * Makeconfig (run-built-tests): New variable.
30321 * Rules [$(cross-compiling) = yes]: Change condition to
30322 [$(run-built-tests) = no].
30323 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30324 to [$(run-built-tests) = yes].
30325 * elf/Makefile [$(cross-compiling) = no]: Likewise
30326 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30327 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30328 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30329 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30330 * io/Makefile [$(cross-compiling) = no]: Likewise.
30331 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30332 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30333 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30334 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30335 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30336 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30337 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30338 * string/Makefile [$(cross-compiling) = no]: Likewise.
30339
ebfd1bbd
JM
30340 * posix/Makefile ($(objpfx)globtest.out): Pass
30341 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30342 $(rtld-installed-name).
30343 * posix/globtest.sh (elf_objpfx): Remove variable.
30344 (rtld_installed_name): Likewise.
30345 (library_path): Likewise.
30346 (run_program_prefix): New variable. Use for running globtest
30347 binary.
30348
166bca24
JB
303492012-10-23 Jim Blandy <jimb@codesourcery.com>
30350 Joseph Myers <joseph@codesourcery.com>
30351
30352 * Makeconfig (host-built-program-cmd): New variable.
30353 * elf/Makefile (tst-stackguard1-ARGS): Use
30354 $(host-built-program-cmd).
30355 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30356 (tst-spawn-ARGS): Likewise.
30357 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30358
88866099
JM
303592012-10-23 Joseph Myers <joseph@codesourcery.com>
30360 Jim Blandy <jimb@codesourcery.com>
30361
30362 * Makeconfig (run-via-rtld-prefix): New variable.
30363 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30364 (built-program-cmd): Likewise.
30365
b4b4c296
AJ
303662012-10-22 Andreas Jaeger <aj@suse.de>
30367
30368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30369 __O_RSYNC if it exists, otherwise to O_SYNC.
30370
6fb54a22
JB
303712012-10-22 Jim Blandy <jimb@codesourcery.com>
30372 Joseph Myers <joseph@codesourcery.com>
30373
30374 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30375 /dev/null.
30376 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30377 from /dev/null
30378 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30379 /dev/null.
30380
481b90b9
AJ
303812012-10-22 Andreas Jaeger <aj@suse.de>
30382
2a0e2669
AJ
30383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30384 Define always.
30385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30386
76e38f9a
AJ
30387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30388 bits/fcntl-linux.h.
30389
7cd37b43
AJ
30390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30391 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30392
481b90b9
AJ
30393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30394 to __O_LARGEFILE.
30395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30396 to __O_LARGEFILE.
30397
aba75984
JB
303982012-10-21 Jim Blandy <jimb@codesourcery.com>
30399 Joseph Myers <joseph@codesourcery.com>
30400
30401 * config.make.in (NM): New variable.
30402
88d4247f
AJ
304032012-10-21 Andreas Jaeger <aj@suse.de>
30404
30405 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30406 definitions and declarations that are provided by
30407 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30408
f2eed205
L
304092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30410
30411 [BZ #14683]
30412 * elf/Makefile (tests-static): Add tst-leaks1-static.
30413 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30414 ($(objpfx)tst-leaks1-static): New rule.
30415 ($(objpfx)tst-leaks1-static-mem): Likewise.
30416 (tst-leaks1-static-ENV): New macro.
30417 * elf/dl-open.c (dl_open_worker): Check the main application
30418 only if SHARED is defined.
30419 * elf/tst-leaks1-static.c: New file.
30420
335e6931
AJ
304212012-10-20 Andreas Jaeger <aj@suse.de>
30422
30423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30424 generic values for Linux.
30425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30426 and declarations that are provided by <bits/fcntl-linux.h> and
30427 include <bits/fcntl-linux.h>.
30428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30430
ac5c94d3
RM
304312012-10-20 Roland McGrath <roland@hack.frob.com>
30432
30433 * io/fcntl.h: Move include of <bits/types.h> to the top and
30434 include it unconditionally.
30435
de54b33a
L
304362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30437
228cfb01
L
30438 * wcsmbs/Makefile (tests-ifunc): New variable.
30439 (tests): Add $(tests-ifunc).
30440 * wcsmbs/test-wcschr-ifunc.c: New file.
30441 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30442 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30443 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30444 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30445 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30446
69f07e5f
L
30447 * string/Makefile (tests-ifunc): New variable.
30448 (tests): Add $(tests-ifunc).
30449 * string/test-memccpy.c (TEST_NAME): New macro.
30450 * string/test-memchr.c (TEST_NAME): Likewise.
30451 * string/test-memcmp.c (TEST_NAME): Likewise.
30452 * string/test-memcpy.c (TEST_NAME): Likewise.
30453 * string/test-memmem.c (TEST_NAME): Likewise.
30454 * string/test-memmove.c (TEST_NAME): Likewise.
30455 * string/test-memset.c (TEST_NAME): Likewise.
30456 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30457 * string/test-stpcpy.c (TEST_NAME): Likewise.
30458 * string/test-stpncpy.c (TEST_NAME): Likewise.
30459 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30460 * string/test-strcasestr.c (TEST_NAME): Likewise.
30461 * string/test-strcat.c (TEST_NAME): Likewise.
30462 * string/test-strchr.c (TEST_NAME): Likewise.
30463 * string/test-strcmp.c(TEST_NAME): Likewise.
30464 * string/test-strcpy.c (TEST_NAME): Likewise.
30465 * string/test-strcspn.c (TEST_NAME): Likewise.
30466 * string/test-strlen.c (TEST_NAME): Likewise.
30467 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30468 * string/test-strncmp.c (TEST_NAME): Likewise.
30469 * string/test-strncpy.c (TEST_NAME): Likewise.
30470 * string/test-strnlen.c (TEST_NAME): Likewise.
30471 * string/test-strpbrk.c (TEST_NAME): Likewise.
30472 * string/test-strrchr.c (TEST_NAME): Likewise.
30473 * string/test-strspn.c (TEST_NAME): Likewise.
30474 * string/test-strstr.c (TEST_NAME): Likewise.
30475 * string/test-bcopy-ifunc.c: New file.
30476 * string/test-bzero-ifunc.c: Likewise.
30477 * string/test-memccpy-ifunc.c: Likewise.
30478 * string/test-memchr-ifunc.c: Likewise.
30479 * string/test-memcmp-ifunc.c: Likewise.
30480 * string/test-memcpy-ifunc.c: Likewise.
30481 * string/test-memmem-ifunc.c: Likewise.
30482 * string/test-memmove-ifunc.c: Likewise.
30483 * string/test-mempcpy-ifunc.c: Likewise.
30484 * string/test-memset-ifunc.c: Likewise.
30485 * string/test-rawmemchr-ifunc.c: Likewise.
30486 * string/test-stpcpy-ifunc.c: Likewise.
30487 * string/test-stpncpy-ifunc.c: Likewise.
30488 * string/test-strcasecmp-ifunc.c: Likewise.
30489 * string/test-strcasestr-ifunc.c: Likewise.
30490 * string/test-strcat-ifunc.c: Likewise.
30491 * string/test-strchr-ifunc.c: Likewise.
30492 * string/test-strchrnul-ifunc.c: Likewise.
30493 * string/test-strcmp-ifunc.c: Likewise.
30494 * string/test-strcpy-ifunc.c: Likewise.
30495 * string/test-strcspn-ifunc.c: Likewise.
30496 * string/test-strlen-ifunc.c: Likewise.
30497 * string/test-strncasecmp-ifunc.c: Likewise.
30498 * string/test-strncat-ifunc.c: Likewise.
30499 * string/test-strncmp-ifunc.c: Likewise.
30500 * string/test-strncpy-ifunc.c: Likewise.
30501 * string/test-strnlen-ifunc.c: Likewise.
30502 * string/test-strpbrk-ifunc.c: Likewise.
30503 * string/test-strrchr-ifunc.c: Likewise.
30504 * string/test-strspn-ifunc.c: Likewise.
30505 * string/test-strstr-ifunc.c: Likewise.
30506
de54b33a
L
30507 * debug/Makefile (tests-ifunc): New variable.
30508 (tests): Add $(tests-ifunc).
30509 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30510 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30511 * debug/test-stpcpy_chk-ifunc.c: New file.
30512 * debug/test-strcpy_chk-ifunc.c: Likewise.
30513
88481c16
SP
305142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30515
30516 [BZ #13601]
30517 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30518 header is not read in.
30519
135948bd
JM
305202012-10-19 Joseph Myers <joseph@codesourcery.com>
30521
89f1c388
JM
30522 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30523 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30524 directly. Pass built executable to script as
30525 $(built-program-cmd).
30526 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30527 $testprogram without using LD_LIBRARY_PATH and $ldso.
30528
e40a0d21
JM
30529 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30530 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30531 $(rtld-installed-name).
30532 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30533 (rtld_installed_name): Likewise.
30534 (library_path): Likewise.
30535 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30536 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30537 $(run-program-prefix) to tst-tables.sh.
30538 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30539 it to run tst-table-from and tst-table-to.
30540 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30541 Pass it to tst-table.sh.
30542 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30543 $(run-program-prefix) to tst-gettext.sh.
30544 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30545 tst-translit.sh.
30546 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30547 tst-gettext2.sh.
30548 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30549 to run tst-gettext.
30550 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30551 to run tst-gettext2.
30552 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30553 to run tst-translit.
30554 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30555 $(run-program-prefix) to tst-mtrace.sh.
30556 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30557 to run tst-mtrace.
30558 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30559 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30560 $(rtld-installed-name).
30561 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30562 (rtld_installed_name): Likewise.
30563 (run_program_prefix): New variable. Use it to run wordexp-test.
30564
728e272a
JM
30565 * Makeconfig (ARCH): Remove all definitions.
30566 (machine): Likewise.
30567 [ARCH]: Remove conditional code.
30568 [!objdir]: Give error.
30569 [!objdir] (objpfx): Remove.
30570 [!objdir] (common-objpfx): Likewise.
30571 [!objdir] (common-objdir): Likewise.
30572 * configure.in (config_makefile): Remove. Hardcode Makefile in
30573 AC_CONFIG_FILES call.
30574 * configure: Regenerated.
30575
d528cdcf
JM
30576 [BZ #13888]
30577 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30578 or TMPDIR.
30579 (testout): Likewise.
30580
135948bd
JM
30581 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30582 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30583 $(rtld-installed-name).
30584 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30585 (rtld_installed_name): Likwise.
30586 (runit): Remove function.
30587 (run_getconf): New variable, Use it for running getconf binary.
30588
38c78296
L
305892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30590
30591 [BZ #14716]
30592 * string/test-memmem.c (check_result): New function.
30593 (do_one_test): Use it.
30594 (check1): New function.
30595 (test_main): Use it.
30596
d077f65f
MT
305972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30598
30599 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30600
ced52c71
JM
306012012-10-18 Joseph Myers <joseph@codesourcery.com>
30602
30603 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30604 (_G_LSEEK64): Likewise.
30605 (_G_MMAP64): Likewise.
30606 (_G_FSTAT64): Likewise.
30607 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30608 (_G_LSEEK64): Likewise.
30609 (_G_MMAP64): Likewise.
30610 (_G_FSTAT64): Likewise.
30611 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30612 unconditional. Call __mmap64 directly.
30613 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30614 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30615 __lseek64 directly.
30616 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30617 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30618 __mmap64 directly.
30619 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30620 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30621 __lseek64 directly.
30622 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30623 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30624 __lseek64 directly.
30625 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30626 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30627 __lseek64 directly.
30628 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30629 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30630 __fxstat64 directly.
30631 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30632 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30633 unconditional.
30634 (freopen64) [!_G_OPEN64]: Remove conditional code.
30635 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30636 unconditional.
30637 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30638 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30639 unconditional.
30640 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30641 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30642 unconditional.
30643 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30644 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30645 unconditional.
30646 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30647 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30648 unconditional.
30649 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30650 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30651 unconditional.
30652 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30653 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30654 unconditional.
30655 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30656
b741de23
SP
306572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30658
30659 [BZ #12140]
30660 * manual/memory.texi (Malloc Tunable Parameters): Add note
30661 about free list pointers overwriting some perturb bytes.
30662 Wording suggested by Roland McGrath.
30663
f9b9d9c9
JM
306642012-10-17 Joseph Myers <joseph@codesourcery.com>
30665
30666 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30667 (lgamma_test): Likewise.
30668 (tgamma_test): Likewise.
30669
172a631a
FW
306702012-10-16 Florian Weimer <fweimer@redhat.com>
30671
30672 [BZ #14700]
30673 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30674 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30675
e9f37252
MK
306762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30677
30678 * NEWS: Mention BZ #14716.
30679 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30680 when removing AVAILABLE1_USES_J macro.
30681
d394eb74
L
306822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30683
30684 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30685 (__bswap_64): __uint64_t for unsigned 64-bit int.
30686
ca38dc17
AS
306872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30688
30689 * include/string.h (memmem): Declare libc hidden alias.
30690 * string/memmem.c (memmem): Define libc hidden alias.
30691 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30692 __read, __close instead of open, read, close.
30693
9a387d1f
L
306942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30695
ac49ecaf
L
30696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30697 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30698 global and hidden.
30699 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30700 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30701 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30702 Likewise.
30703 (__rawmemchr_sse2): Likewise.
30704 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30705 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30706 (__strchr_sse2): Likewise.
30707 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30708 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30709 (__strcasecmp_sse2): Likewise.
30710 (__strncasecmp_sse2): Likewise.
30711 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30712 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30713 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30714 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30715 (__strrchr_sse2): Likewise.
30716 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30717 ifunc-impl-list.c.
30718 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30719 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30720 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30721 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30722 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30723 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30724 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30726 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30727 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30728 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30729 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30730 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30731 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30732 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30733 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30734 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30735 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30736 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30737 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30738 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30739 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30740 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30741 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30742 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30743 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30744 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30745 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30746 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30747 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30748
b090e8ea
L
30749 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30750 global and hidden.
30751 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30752 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30753 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30754 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30755 Likewise.
30756 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30757 Likewise.
30758 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30759 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30760 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30761 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30762 ifunc-impl-list.c.
30763 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30764 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30765 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30776 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30777 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30779 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30780 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30781 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30782 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30783 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30784 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30785 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30786 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30787 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30788 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30789 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30790 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30791 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30792 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30793 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30794 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30795 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30796 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30797 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30798 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30801 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30802 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30803 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30804
11dd4af6
L
30805 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30806 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30807 * include/ifunc-impl-list.h: New file.
30808 * misc/ifunc-impl-list.c: Likewise.
30809 * misc/Makefile (routines): Add ifunc-impl-list.
30810 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30811 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
30812 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30813 TEST_NAME]: New variables.
11dd4af6
L
30814 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30815 are defined.
30816 (test_init): Call __libc_ifunc_impl_list to initialize
30817 func_list if TEST_IFUNC and TEST_NAME are defined.
30818
9a387d1f
L
30819 * string/Makefile (strop-tests): Add bcopy and bzero.
30820 * string/test-bcopy.c: New file.
30821 * string/test-bzero.c: Likewise.
30822 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30823 defined.
30824 * string/test-memset.c: Support bzero test if TEST_BZERO is
30825 defined.
30826 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30827 __libc_memmove.
30828 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30829 __libc_memset.
30830 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30831 of memset.
30832
472371b9
JM
308332012-10-10 Joseph Myers <joseph@codesourcery.com>
30834
1e4a9536
JM
30835 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30836 * configure: Regenerated.
30837
d173d12e
JM
30838 * Makeconfig (+link-static-before-libc): Don't include
30839 $(link-static-libc).
30840
472371b9
JM
30841 * libio/libio.h (_IO_pos_t): Remove.
30842
89a3ad0b
AO
308432012-10-10 Alexandre Oliva <aoliva@redhat.com>
30844
30845 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30846 McGrath.
30847
e7451425
AO
308482012-10-10 Alexandre Oliva <aoliva@redhat.com>
30849
30850 * crypt/crypt-entry.c: Include fips-private.h.
30851 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30852 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30853 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30854 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30855
4ba74a35
AO
308562012-10-10 Alexandre Oliva <aoliva@redhat.com>
30857
30858 * crypt/crypt-private.h: Include stdbool.h.
30859 (_ufc_setup_salt_r): Return bool.
30860 * crypt/crypt-entry.c: Include errno.h.
30861 (__crypt_r): Return NULL with EINVAL for bad salt.
30862 * crypt/crypt_util.c (bad_for_salt): New.
30863 (_ufc_setup_salt_r): Check that salt is long enough and within
30864 the specified alphabet.
30865 * crypt/badsalttest.c: New file.
30866 * crypt/Makefile (tests): Add it.
30867 ($(objpfx)badsalttest): New.
30868
f96f1242
MK
308692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30870
30871 * NEWS: Add entry for BZ #14602.
30872
0e8e0c1c
JM
308732012-10-09 Joseph Myers <joseph@codesourcery.com>
30874
30875 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30876 type-generic.
30877 * math/libm-test.inc: Update comment listing what functions and
30878 macros are tested.
30879 (isgreater_test): New function.
30880 (isgreaterequal_test): Likewise.
30881 (isless_test): Likewise.
30882 (islessequal_test): Likewise.
30883 (islessgreater_test): Likewise.
30884 (isunordered_test): Likewise.
30885 (main): Call the new functions.
30886
273edc5e
RM
308872012-10-09 Roland McGrath <roland@hack.frob.com>
30888
b8493de0
RM
30889 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30890 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30891 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30892 * sysdeps/i386/configure: Regenerated.
30893 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30894 * sysdeps/mach/configure: Regenerated.
30895 * sysdeps/mach/hurd/configure: Regenerated.
30896 * sysdeps/powerpc/configure: Regenerated.
30897 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30898 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30899 * sysdeps/s390/s390-32/configure: Regenerated.
30900 * sysdeps/s390/s390-64/configure: Regenerated.
30901 * sysdeps/sh/configure: Regenerated.
30902 * sysdeps/sparc/configure: Regenerated.
30903 * sysdeps/unix/sysv/linux/configure: Regenerated.
30904 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30905 * sysdeps/x86_64/configure: Regenerated.
30906
273edc5e
RM
30907 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30908 defined. Don't check if MAP is NULL.
30909
c8450f70
JM
309102012-10-09 Joseph Myers <joseph@codesourcery.com>
30911
30912 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30913 (_G_stat64): Likewise.
30914 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30915 (_G_stat64): Likewise.
30916 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30917 instead of struct _G_stat64.
30918 * libio/fileops.c (mmap_remap_check): Likewise.
30919 (decide_maybe_mmap): Likewise.
30920 (_IO_new_file_seekoff): Likewise.
30921 (_IO_file_stat): Likewise.
30922 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30923 _G_off64_t.
30924 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30925 instead of struct _G_stat64.
30926 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30927
57e605ba
MK
309282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30929
30930 [BZ #14602]
30931 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30932 Replace with ...
30933 (CHECK_EOL): New macro.
30934 (two_way_short_needle): Check beginning of haystack for EOL. Use
30935 CHECK_EOL.
30936 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30937 Replace with CHECK_EOL.
30938 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30939 Replace with CHECK_EOL.
30940
ef1bb361
JM
309412012-10-08 Joseph Myers <joseph@codesourcery.com>
30942
30943 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30944 type-generic.
30945 * math/libm-test.inc: Update comment listing what functions and
30946 macros are tested.
30947 (finite_test): New function.
30948 (isinf_test): Likewise.
30949 (isnan_test): Likewise.
30950 (fpclassify_test): Test subnormal input.
30951 (isfinite_test): Likewise.
30952 (isnormal_test): Likewise.
30953 (main): Call the new functions.
30954
55f11534
JN
309552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30956
30957 [BZ #14660]
30958 * Makerules (%.dynsym): Force C locale when running
30959 $(OBJDUMP) --dynamic-syms.
30960
1ab29350
AS
309612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30962
30963 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30964 <stdint.h>.
30965
f1ecb7ef
DM
309662012-10-06 David S. Miller <davem@davemloft.net>
30967
30968 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30969 upper 32-bits of the length value in %o2 since we use branch-on-register
30970 tests which consider the entire 64-bit register.
30971
5d41d91a
L
309722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30973
30974 * string/test-strstr.c (check2): Add a test for page boundary.
30975
3baddb72
DM
309762012-10-05 David S. Miller <davem@davemloft.net>
30977
30978 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30979 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30980 file.
30981 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30982 sysdep_routines.
30983 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30984 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30985 and bzero when HWCAP_SPARC_CRYPTO is present.
30986
9cee5585
L
309872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30988
d7e0dab9
L
30989 [BZ #14602]
30990 * string/test-strstr.c (check2): New function.
30991 (test_main): Call check2.
30992
03759f47
L
30993 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30994 and bug-strchr1.
30995 * string/bug-strcasestr1.c (do_test): Moved to ...
30996 * string/test-strcasestr.c (check1): Here. New function.
30997 (do_one_test): Break out result checking code into ...
30998 (check_result): This. New function.
30999 (do_one_test): Call check_result.
31000 (test_main): Call check1.
31001 * string/bug-strchr1.c (do_test): Moved to ...
31002 * string/test-strchr.c (check1): Here. New function.
31003 (do_one_test): Break out result checking code into ...
31004 (check_result): This. New function.
31005 (do_one_test): Call check_result.
31006 (test_main): Call check1.
31007 * string/bug-strstr1.c (main): Moved to ...
046f153e 31008 * string/test-strstr.c (check1): Here. New function.
03759f47
L
31009 (do_one_test): Break out result checking code into ...
31010 (check_result): This. New function.
31011 (do_one_test): Call check_result.
31012 (test_main): Call check1.
31013 * string/bug-strcasestr1.c: Removed.
31014 * string/bug-strchr1.c: Likewise.
31015 * string/bug-strstr1.c: Likewise.
31016
53cea63e
L
31017 * elf/Makefile (dl-routines): Add hwcaps.
31018 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31019 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31020 (_dl_important_hwcaps): Moved to ...
31021 * elf/dl-hwcaps.c: Here. New file.
31022 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31023
9cee5585 31024 [BZ #14557]
bb859b06
L
31025 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31026 if IS_IN_rtld isn't defined.
31027
9cee5585
L
31028 * elf/dl-support.c (_dl_sysinfo_map): New.
31029 Include "get-dynamic-info.h" and "setup-vdso.h".
31030 (_dl_non_dynamic_init): Call setup_vdso.
31031 * elf/dynamic-link.h: Don't include <assert.h>.
31032 (elf_get_dynamic_info): Moved to ...
31033 * elf/get-dynamic-info.h: Here. New file.
31034 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31035 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31036 * elf/setup-vdso.h: Here. New file.
31037 * elf/rtld.c: Include "setup-vdso.h".
31038 (dl_main): Call setup_vdso.
31039
23c31b76
JM
310402012-10-05 Joseph Myers <joseph@codesourcery.com>
31041
28234b07
JM
31042 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31043 creal in comment listing functions tested. List finite, isinf,
31044 isnan, isless, islessequal, isgreater, isgreaterequal,
31045 islessgreater, isunordered, lgamma_r and pow10 as functions and
31046 macros not tested. Mention which functions not tested are aliases
31047 for other functions. Fix typo. Note that signs of NaNs are not
31048 tested.
31049
23c31b76
JM
31050 * scripts/config.guess: Update from config.git.
31051 * scripts/config.sub: Likewise.
31052
9043e228
RM
310532012-10-04 Roland McGrath <roland@hack.frob.com>
31054
31055 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31056 * misc/madvise.c (madvise): Renamed to __madvise.
31057 Make madvise a weak alias.
31058 * include/sys/mman.h: Declare __madvise.
31059 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31060 * sysdeps/unix/syscalls.list
31061 (madvise): Make __madvise the strong name, and madvise a weak alias.
31062 * sysdeps/unix/sysv/linux/syscalls.list
31063 (madvise, mmap): Remove redundant entries.
31064 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31065 * malloc/malloc.c (mtrim): Likewise.
31066 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31067
f57f8055
RM
310682012-10-03 Roland McGrath <roland@hack.frob.com>
31069
31070 * sysdeps/mach/hurd/dl-cache.c: File removed.
31071 * config.h.in (USE_LDCONFIG): New #undef.
31072 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31073 * configure: Regenerated.
31074 * elf/Makefile (dl-routines): Add dl-cache only under
31075 [$(use-ldconfig) = yes].
31076 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31077 cache on [USE_LDCONFIG].
31078 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31079 [USE_LDCONFIG].
31080 * elf/rtld.c (dl_main): Likewise.
31081
5bb0c10a
PT
310822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31083
31084 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31085 _SC_LEVEL4_CACHE_LINESIZE.
31086
010188c6
RM
310872012-10-03 Roland McGrath <roland@hack.frob.com>
31088
31089 * sysdeps/unix/bsd/confstr.h: File removed.
31090
b6c5ec07
AO
310912012-10-02 Alexandre Oliva <aoliva@redhat.com>
31092
31093 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31094 sys/sdt-config.h.
31095
408223d4
RM
310962012-10-02 Roland McGrath <roland@hack.frob.com>
31097
31098 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31099 Make 'mapoff' field ElfW(Off) rather than off_t.
31100
bb9510dc
DL
311012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31102
fc997c6e
DL
31103 * nscd/Makefile: Remove nscd-cflags and all its users.
31104 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31105 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31106
bb9510dc
DL
31107 [BZ #10631]
31108 * malloc.c (malloc_printerr): Clarify error message.
31109
05699367
L
311102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31111
31112 [BZ #14648]
31113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31114 Set bit_FMA_Usable if FMA is supported.
31115 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31116 macro.
31117 (bit_FMA4_Usable): Updated.
31118 (index_FMA_Usable): New macro.
31119 (CPUID_FMA): Likewise
31120 (HAS_FMA): Defined with bit_FMA_Usable.
31121
51367701
RM
311222012-10-01 Roland McGrath <roland@hack.frob.com>
31123
31124 * bits/types.h (__swblk_t): Type removed.
31125 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31126 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31128 (__SWBLK_T_TYPE): Likewise.
31129 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31130 (__SWBLK_T_TYPE): Likewise.
31131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31132 (__SWBLK_T_TYPE): Likewise.
31133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31134 (__SWBLK_T_TYPE): Likewise.
31135
4d57bf63 311362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 31137 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
31138
31139 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31140 (xdr_mapname): Use YPMAXMAP as maxsize.
31141 (xdr_peername): Use YPMAXPEER as maxsize.
31142 (xdr_keydat): Use YPAXRECORD as maxsize.
31143 (xdr_valdat): Use YPMAXRECORD as maxsize.
31144
93c65d43
RM
311452012-10-01 Roland McGrath <roland@hack.frob.com>
31146
497a03d6
RM
31147 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31148
93c65d43
RM
31149 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31150 * csu/init-first.c: ... here.
31151 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31152 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31153 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31155 * sysdeps/i386/init-first.c: File removed.
31156 * sysdeps/sh/init-first.c: File removed.
31157
bec749fd
JM
311582012-10-01 Joseph Myers <joseph@codesourcery.com>
31159
31160 [BZ #14645]
31161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31162 if x * y might underflow to zero and z is zero.
31163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31165 * math/libm-test.inc (min_subnorm_value): New variable.
31166 (fma_test): Add more tests.
31167 (fma_test_towardzero): Likewise.
31168 (fma_test_downward): Likewise
31169 (fma_test_upward): Likewise.
31170 (initialize): Set min_subnorm_value.
31171
8ec5b013
JM
311722012-09-29 Joseph Myers <joseph@codesourcery.com>
31173
31174 [BZ #14638]
31175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31176 0 + 0.
31177 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31178 mode for addition resulting in exact zero.
31179 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31181 exact 0 + 0.
31182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31184 * math/libm-test.inc (fma_test): Add more tests.
31185 (fma_test_towardzero): New function.
31186 (fma_test_downward): Likewise.
31187 (fma_test_upward): Likewise.
31188 (main): Call the new functions.
31189
b1fa802e
DM
311902012-09-28 David S. Miller <davem@davemloft.net>
31191
31192 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31193
d3b9fd9e
RM
311942012-09-28 Roland McGrath <roland@hack.frob.com>
31195
ea4d37b3
RM
31196 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31197 instead of SIGALRM.
31198
ac51c949
RM
31199 * sysdeps/gnu/_G_config.h: Moved to ...
31200 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31201 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31202 * sysdeps/generic/_G_config.h: ... here.
31203
28c195f7
RM
31204 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31205
848917f9
RM
31206 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31207
6bacf05b
RM
31208 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31209 Conditionalize target on [libnss_test1.so-version].
31210
91363dbb
RM
31211 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31212
cc87f7d8
RM
31213 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31214 (elfobjdir): Move out of conditionals.
31215
b1c608fe
RM
31216 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31217 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31218 (__nss_lookup_function): Conditionalize label remove_from_tree on
31219 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 31220
1d9a6d96
DM
312212012-09-28 David S. Miller <davem@davemloft.net>
31222
31223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31224 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31225 file.
31226 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31227 sysdep_routines.
31228 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31230 when HWCAP_SPARC_CRYPTO is present.
31231
72581615
PT
312322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31233
31234 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31235
715a900c
JL
312362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31237
31238 [BZ #6530]
31239 * stdio-common/vfprintf.c (process_string_arg): Revert
31240 2000-07-22 change.
31241
312422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31243
31244 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31245 for testcase.
31246 * stdio-common/tst-sprintf.c: Include <locale.h>
31247 (main): Test sprintf's handling of incomplete multibyte
31248 characters.
31249
9bac1d86
L
312502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31251
31252 * elf/dl-runtime.c (VERSYMIDX): Removed.
31253 * elf/dl-version.c (VERSYMIDX): Likewise.
31254 * elf/do-rel.h (VERSYMIDX): Likewise.
31255 (VALIDX): Likewise.
31256 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31257 * elf/rtld.c (VALIDX): Likewise.
31258 (ADDRIDX): Likewise.
9bac1d86
L
31259 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31260 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31261 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
31262 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31263 (VALIDX): Likewise.
31264 (ADDRIDX): Likewise.
9bac1d86 31265
b31606c0
PT
312662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31267
31268 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31269
11541177
JL
312702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31271
31272 [BZ #11438]
31273 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31274 to global scope.
31275 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31276 addresses are in the same scope as 192.0.2/24.
31277 * posix/gai.conf: Document new scope table defaults.
31278
adb26fae
SP
312792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31280
31281 [BZ #5298]
31282 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31283 for ftell. Compute offsets from write pointers instead.
31284 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31285
4573c6b0
SP
312862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31287
31288 [BZ #14543]
31289 * libio/Makefile (tests): New test case tst-fseek.
31290 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31291 combination works in wide mode.
31292 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31293 state when the external buffer state changes.
31294
aa9bbfe6
DM
312952012-09-27 David S. Miller <davem@davemloft.net>
31296
31297 [BZ #14376]
31298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31299 pass reloc->r_addend in as the 'high' argument to
31300 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31301
784421e7
DM
31302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31303
c39bc8b8
PT
313042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31305
31306 * rt/tst-aio2.c: Include <pthread.h>.
31307 * rt/tst-aio3.c: Likewise.
31308
1ccc2399
SE
313092012-09-27 Steve Ellcey <sellcey@mips.com>
31310
31311 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31312
31ed4153
L
313132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31314
25f5f885
L
31315 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31316 contents on [SHARED].
31ed4153 31317
b7bfe116
MP
313182012-09-26 Marek Polacek <polacek@redhat.com>
31319
31320 [BZ #14530]
31321 [BZ #13741]
31322 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31323 for C++ and GCC <4.3 as well as for non GCC compilers.
31324
43c4edba
MT
313252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31326
31327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31328
6a1bf82f
RM
313292012-09-25 Roland McGrath <roland@hack.frob.com>
31330
31331 * Makefile.in (all, install): Declare with .PHONY.
31332 Reported by Michael Hope <michael.hope@linaro.org>.
31333
8ad11b9a
TMQMF
313342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31335
31336 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31337 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31338 system header.
31339 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31340 Likewise.
31341 (sydep_routines): Add the new and the internal functions.
31342 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31343 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31345 (GLIBC_2.17): Add the new function.
31346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31347 (GLIBC_2.17): Likewise.
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31349 (GLIBC_2.17): Likewise.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31351 (GLIBC_2.17): Likewise.
31352 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31353
7e2fca8d
AM
313542012-09-25 Alan Modra <amodra@gmail.com>
31355
31356 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31357 Add release barrier before setting once_control to say
31358 initialisation is done. Add hints on lwarx. Use macro in
31359 place of isync.
31360 (clear_once_control): Add release barrier.
31361
b87c4b24
JM
313622012-09-25 Joseph Myers <joseph@codesourcery.com>
31363
d032e0d2
JM
31364 [BZ #13629]
31365 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31366 specially.
31367 * math/s_clog10.c (__clog10): Likewise.
31368 * math/s_clog10f.c (__clog10f): Likewise.
31369 * math/s_clog10l.c (__clog10l): Likewise.
31370 * math/s_clogf.c (__clogf): Likewise.
31371 * math/s_clogl.c (__clogl): Likewise.
31372 * math/Makefile (libm-calls): Add x2y2m1.
31373 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31374 (__x2y2m1): Likewise.
31375 (__x2y2m1l): Likewise.
31376 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31377 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31378 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31379 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31381 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31382 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31383 * sysdeps/i386/fpu/libm-test-ulps: Update.
31384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31385
b87c4b24
JM
31386 [BZ #14621]
31387 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31388 int as type of variable DEPTH.
31389 (glob): Use size_t instead of int as type of variables NEWCOUNT
31390 and OLD_PATHC.
31391
6d3bf199
LD
313922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31393
22bf5c17
LD
31394 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31395 Add s_sincosf-sse2.
31396 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31397 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31398 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31399 macros for using routine as __sincosf_ia32.
31400 Use macro for function declaration and weak_alias.
31401 * sysdeps/i386/fpu/libm-test-ulps: Update.
31402
31403 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31405
31406 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
31407 subnormal argument.
31408 * math/s_cexpf.c (__cexpf): Likewise.
31409 * math/s_csinf.c (__csinf): Likewise.
31410 * math/s_csinhf.c (__csinhf): Likewise.
31411 * math/s_ctanf.c (__ctanf): Likewise.
31412 * math/s_ctanhf.c (__ctanhf): Likewise.
31413 * math/s_ccosh.c (__ccoshf): Likewise.
31414 * math/s_cexp.c (__cexpl): Likewise.
31415 * math/s_csin.c (__csin): Likewise.
31416 * math/s_csinh.c (__csinh): Likewise.
31417 * math/s_ctan.c (__ctan): Likewise.
31418 * math/s_ctanh.c (ctanh): Likewise.
31419 * math/s_ccoshl.c (__ccoshl): Likewise.
31420 * math/s_cexpl.c (__cexpl): Likewise.
31421 * math/s_csinl.c (__csinl): Likewise.
31422 * math/s_csinhl.c (__csinhl): Likewise.
31423 * math/s_ctanl.c (__ctanl): Likewise.
31424 * math/s_ctanhl.c (__ctanhl): Likewise.
31425
203e5603
JM
314262012-09-25 Joseph Myers <joseph@codesourcery.com>
31427
31428 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31429 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31430 (_IO_off_t): Define to __off_t, not _G_off_t.
31431 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31432 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31433 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31434 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31435 type of __dummy and __dummy2 fields.
31436 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31437 (_G_ssize_t): Likewise.
31438 (_G_off_t): Likewise.
31439 (_G_pid_t): Likewise.
31440 (_G_uid_t): Likewise.
31441 (_G_wchar_t): Likewise.
31442 (_G_wint_t): Likewise.
31443 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31444 (_G_ssize_t): Likewise.
31445 (_G_off_t): Likewise.
31446 (_G_pid_t): Likewise.
31447 (_G_uid_t): Likewise.
31448 (_G_wchar_t): Likewise.
31449 (_G_wint_t): Likewise.
31450 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31451 (_G_ssize_t): Likewise.
31452 (_G_off_t): Likewise.
31453 (_G_pid_t): Likewise.
31454 (_G_uid_t): Likewise.
31455 (_G_wchar_t): Likewise.
31456 (_G_wint_t): Likewise.
31457
9fab36eb
SP
314582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31459
31460 * malloc/arena.c: Include malloc-sysdep.h.
31461 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31462 is sufficient to shrink the heap or an unmap is needed.
31463 * sysdeps/generic/malloc-sysdep.h: New file. Define
31464 new function check_may_shrink_heap.
31465 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31466 new function check_may_shrink_heap.
31467
2b4f00d1
SP
314682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31469
31470 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31471 comments.
31472
9a9028b1
DL
314732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31474
57c69bef
DL
31475 * catgets/test-gencat.sh: Add "set -e".
31476 * elf/tst-pathopt.sh: Likewise.
31477 * grp/tst_fgetgrent.sh: Likewise.
31478 * iconvdata/run-iconv-test.sh: Likewise.
31479 * intl/tst-gettext.sh: Likewise.
31480 * intl/tst-gettext2.sh: Likewise.
31481 * intl/tst-gettext4.sh: Likewise.
31482 * intl/tst-gettext6.sh: Likewise.
31483 * intl/tst-translit.sh: Likewise.
31484 * io/ftwtest-sh: Likewise.
31485 * libio/test-freopen.sh: Likewise.
31486 * malloc/tst-mtrace.sh: Likewise.
31487 * posix/globtest.sh: Likewise.
31488 * posix/tst-getconf.sh: Likewise.
31489 * posix/wordexp-tst.sh: Likewise.
31490 * stdio-common/tst-printf.sh: Likewise.
31491 * stdio-common/tst-unbputc.sh: Likewise.
31492 * stdlib/tst-fmtmsg.sh: Likewise.
31493 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31494 * catgets/Makefile: Do not specify -e option when running
31495 testsuite shell scripts.
31496 * elf/Makefile: Likewise.
31497 * grp/Makefile: Likewise.
31498 * iconvdata/Makefile: Likewise.
31499 * intl/Makefile: Likewise.
31500 * io/Makefile: Likewise.
31501 * libio/Makefile: Likewise.
31502 * malloc/Makefile: Likewise.
31503 * posix/Makefile: Likewise.
31504 * stdio-common/Makefile: Likewise.
31505 * stdlib/Makefile: Likewise.
31506 * sysdeps/x86_64/Makefile: Likewise.
31507
9a9028b1
DL
31508 * io/ftwtest-sh: Add copyright header.
31509 * posix/globtest.sh: Likewise.
31510 * posix/tst-getconf.sh: Likewise.
31511 * posix/wordexp-tst.sh: Likewise.
31512 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31513
ced6f16e
L
315142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31515
94b32c39
L
31516 [BZ #13679]
31517 * Makeconfig (+link): Defined as $(+link-static) if
31518 $(build-shared) isn't yes.
31519 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31520 isn't yes.
31521 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31522
189e935b
L
31523 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31524
ced6f16e
L
31525 [BZ #14562]
31526 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31527 new chunk size with MALLOC_ALIGN_MASK.
31528
a9f8e53a
JM
315292012-09-24 Joseph Myers <joseph@codesourcery.com>
31530
31531 [BZ #5044]
31532 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31533 <rounding-mode.h>.
31534 (__printf_fphex): Determine rounding using get_rounding_mode and
31535 round_away.
31536 * stdio-common/tst-printf-round.c (struct hex_test): New
31537 structure.
31538 (hex_tests): New variable.
31539 (test_hex_in_one_mode): New function.
31540 (do_test): Also run tests for hex float output.
31541
43153109
JM
315422012-09-21 Joseph Myers <joseph@codesourcery.com>
31543
31544 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31545 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31546 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31547 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31548 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31549 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31550 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31551 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31552
8a26625d
JM
315532012-09-20 Joseph Myers <joseph@codesourcery.com>
31554
31555 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31556 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31557 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31558 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31559
f3fd569c
DL
315602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31561
31562 [BZ #14579]
31563 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31564 mode only.
31565 * elf/tst-rtld-load-self.sh: New test.
31566 * elf/Makefile: Run it.
31567
63bbedd4
JM
315682012-09-18 Joseph Myers <joseph@codesourcery.com>
31569
31570 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31571 (tst-writev-ENV): Remove.
31572 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31573
626f8b6a
CM
315742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31575
31576 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31577
b7aaa4d6
JM
315782012-09-17 Joseph Myers <joseph@codesourcery.com>
31579
31580 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31581 unconditional.
31582 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31583 Likewise.
31584 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31585 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31587 Likewise.
31588
65513990
L
315892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31590
31591 [BZ #14587]
31592 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31593 * config.make.in (have-cpp-asm-debuginfo): Removed.
31594 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31595 * configure: Regenerated.
31596
784761be
JM
315972012-09-14 Joseph Myers <joseph@codesourcery.com>
31598
31599 [BZ #5044]
31600 * stdio-common/printf_fp.c: Include <stdbool.h> and
31601 <rounding-mode.h>.
31602 (___printf_fp): Determine rounding using get_rounding_mode and
31603 round_away.
31604 * stdio-common/tst-printf-round.c: New file.
31605 * stdio-common/Makefile (tests): Add tst-printf-round.
31606 (link-libm): New variable.
31607 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31608
9503345f
L
316092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 [BZ #14576]
31612 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31613 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31614 Likewise.
31615 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31616 Likewise.
31617
ad35fc00
JM
316182012-09-13 Joseph Myers <joseph@codesourcery.com>
31619
31620 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31621 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31622 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31624
6c9b0f68
JM
316252012-09-12 Joseph Myers <joseph@codesourcery.com>
31626
31627 [BZ #14518]
31628 * include/rounding-mode.h: New file.
31629 * sysdeps/generic/get-rounding-mode.h: Likewise.
31630 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31631 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31632 (MAX_VALUE): New macro.
31633 (MIN_VALUE): Likewise.
31634 (overflow_value): New function.
31635 (underflow_value): Likewise.
31636 (round_and_return): Use overflow_value and underflow_value to
31637 determine return values in overflow and underflow cases. Use
31638 round_away to determine rounding depending on rounding mode.
31639 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31640 determine return values in overflow and underflow cases.
31641 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31642 (struct test_results): New structure.
31643 (struct test): Use struct test_results to store expected results
31644 for all rounding modes.
31645 (TEST): Include expected results for all rounding modes.
31646 (test_in_one_mode): New function.
31647 (do_test): Use test_in_one_mode to compute and check results.
31648 Check results for all rounding modes.
31649 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31650 $(link-libm).
31651
19fcedd5
AM
316522012-12-09 Allan McRae <allan@archlinux.org>
31653
1e9d84cd 31654 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 31655
8bbfd2f1
JM
316562012-09-11 Joseph Myers <joseph@codesourcery.com>
31657
31658 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31659 (_G_int32_t): Likewise.
31660 (_G_uint16_t): Likewise.
31661 (_G_uint32_t): Likewise.
31662 (_G_HAVE_BOOL): Likewise.
31663 (_G_HAVE_ATEXIT): Likewise.
31664 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31665 (_G_HAVE_IO_FILE_OPEN): Likewise.
31666 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31667 (_G_int32_t): Likewise.
31668 (_G_uint16_t): Likewise.
31669 (_G_uint32_t): Likewise.
31670 (_G_HAVE_BOOL): Likewise.
31671 (_G_HAVE_ATEXIT): Likewise.
31672 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31673 (_G_HAVE_IO_FILE_OPEN): Likewise.
31674 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31675 (_G_int32_t): Likewise.
31676 (_G_uint16_t): Likewise.
31677 (_G_uint32_t): Likewise.
31678 (_G_HAVE_BOOL): Likewise.
31679 (_G_HAVE_ATEXIT): Likewise.
31680 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31681 (_G_HAVE_IO_FILE_OPEN): Likewise.
31682
b1dc5912
L
316832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31684
31685 * csu/libc-tls.c: Update copyright years.
31686
0e886ef9
JM
316872012-09-10 Joseph Myers <joseph@codesourcery.com>
31688
28361c5e
JM
31689 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31690 [!_G_USING_THUNKS]: Remove conditional code.
31691 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31692 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31693
0e886ef9
JM
31694 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31695 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31696 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31697 (_G_VTABLE_LABEL_PREFIX): Likewise.
31698 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31699 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31700 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31701 (_G_VTABLE_LABEL_PREFIX): Likewise.
31702 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31703 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31704 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31705 (_G_VTABLE_LABEL_PREFIX): Likewise.
31706 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31707
bcba7aa2
L
317082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31709
31710 * libio/Makefile: Include ../Makeconfig before tests.
31711 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31712 only if $(build-shared) is yes.
31713
06585ee8
L
31714 * iconv/gconv_db.c: Update copyright years.
31715
80ccd52c
LD
317162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31717
31718 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31719 unwind info if defined PIC. Fix special cases description.
31720 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31721
31722 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31723 DP_HI_MASK entry.
31724 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31725
691bc9c1
L
317262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31727
3d9b46b3
L
31728 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31729
de2139a9
L
31730 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31731 is NULL.
31732
5ca78dd0
L
31733 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31734 (LDLIBS-tst-chk4): This.
31735 (LDFLAGS-tst-chk5): Renamed to ...
31736 (LDLIBS-tst-chk5): This.
31737 (LDFLAGS-tst-chk6): Renamed to ...
31738 (LDLIBS-tst-chk6): This.
31739 (LDFLAGS-tst-lfschk4): Renamed to ...
31740 (LDLIBS-tst-lfschk4): This.
31741 (LDFLAGS-tst-lfschk5): Renamed to ...
31742 (LDLIBS-tst-lfschk5): This.
31743 (LDFLAGS-tst-lfschk6): Renamed to ...
31744 (LDLIBS-tst-lfschk6): This.
31745
691bc9c1
L
31746 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31747 on $(common-objpfx)soversions.mk.
31748
65cafb1c
JM
317492012-09-07 Joseph Myers <joseph@codesourcery.com>
31750
31751 [BZ #10014]
31752 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31753 example host name.
31754
c78ab094
SP
317552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31756
31757 * malloc/arena.c (arena_get_retry): New function that gets
31758 another arena for the caller to try its request on.
31759 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31760 current arena cannot fulfill the request.
31761 (__libc_memalign): Likewise.
31762 (__libc_memalign): Likewise.
31763 (__libc_pvalloc): Likewise.
31764 (__libc_calloc): Likewise.
31765
01f49f59
JT
317662012-09-05 John Tobey <john.tobey@gmail.com>
31767
31768 [BZ #13542]
31769 * manual/arith.texi (Operations on Complex): Fix description
31770 of carg branch cut.
31771
4c23fed5
JM
317722012-09-06 Joseph Myers <joseph@codesourcery.com>
31773
1d3c8572
JM
31774 [BZ #10014]
31775 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31776 host name.
31777
4c23fed5
JM
31778 [BZ #10038]
31779 * manual/memory.texi (Memory): Make order of menu items match
31780 order of sections.
31781
04570aaa
L
317822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31783
31784 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31785 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31786 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31787
b80af2f4
L
317882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * csu/libc-tls.c (static_dtv): Renamed to ...
31791 (_dl_static_dtv): This. Make it global.
31792 (_dl_initial_dtv): Removed.
31793 (__libc_setup_tls): Updated.
31794 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31795 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31796 DL_INITIAL_DTV.
31797
2abe9f15
PM
317982012-09-06 Petr Machata <pmachata@redhat.com>
31799
31800 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31801 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31802 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31803 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31804
0948c3af
L
318052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31806
31807 [BZ #14545]
31808 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31809 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31810 freeing dtv[-1].
31811
a5055ad1
L
318122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 [BZ #14544]
31815 * Makeconfig (link-static-before-libc): Replace $(+prector)
31816 with $(+prectorT).
31817 (link-static-after-libc): Replace $(+postctor) with
31818 $(+postctorT).
31819 (link-bounded): Replace $(+prector)/$(+postctor) with
31820 $(+prectorT)/$(+postctorT).
31821 (+prectorT): New macro.
31822 (+postctorT): Likewise.
31823
ed8c2ecd
JM
318242012-09-06 Joseph Myers <joseph@codesourcery.com>
31825
31826 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31827 (round_str): Handle values above the maximum for IBM long double
31828 as inexact.
31829 * stdlib/tst-strtod-round.c (tests): Regenerated.
31830
14c996c8
AK
318312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31832
31833 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31834 assembler flag.
31835 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31836 zarch_nohighgprs around the zarch optimized routines.
31837 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31838 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31840 for zarch.
31841
430d6ce6
DM
318422012-09-05 David S. Miller <davem@davemloft.net>
31843
31844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31845
57f41c40
AS
31846 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31847 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
31848 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31849 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31850 entries.
31851
24d4e01b
AO
318522012-09-05 Alexandre Oliva <aoliva@redhat.com>
31853
31854 * malloc/arena.c: Fold copyright years.
31855 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31856
61d58174
AO
318572012-09-05 Alexandre Oliva <aoliva@redhat.com>
31858
31859 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31860
20196a5e
AO
318612012-09-05 Alexandre Oliva <aoliva@redhat.com>
31862
31863 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31864
5c447383
AO
318652012-09-05 Alexandre Oliva <aoliva@redhat.com>
31866
31867 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31868 change internal state upon failure.
31869
fad64255
AO
318702012-09-05 Alexandre Oliva <aoliva@redhat.com>
31871
31872 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31873 * malloc/memusage.c (mmap): Likewise.
31874 (mmap64, mremap): Likewise. Adjust name in comment.
31875
1ffb8c90
SP
318762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31877
31878 * libio/fileops.c: Fix typos in comments.
31879 * libio/oldfileops.c: Likewise.
31880 * libio/wfileops.c: Likewise.
31881
6ef9cc37
SP
318822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31883
31884 [BZ #1349]
31885 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31886 (tst-malloc-usable-ENV): Set environment for test case.
31887 * malloc/hooks.c (malloc_check_get_size): New function to get
31888 requested size.
31889 * malloc/malloc.c (musable): Use malloc_check_get_size.
31890 * malloc/tst-malloc-usable.c: New test case.
31891
4d038ae3
AS
318922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31893
31894 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31895
c4e85184
AM
318962012-09-05 Allan McRae <allan@archlinux.org>
31897
b9dafc56 31898 [BZ #13966]
c4e85184
AM
31899 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31900 determine header location.
31901 * configure: Regenerated.
31902
e1343020
AS
319032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31904
31905 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31906 float format.
31907 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
31908 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31909 format.
e1343020
AS
31910 (test): Regenerate.
31911
0a9f1987
DM
319122012-09-04 David S. Miller <davem@davemloft.net>
31913
31914 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31915 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31917
29237804
FW
319182012-09-04 Florian Weimer <fweimer@redhat.com>
31919
31920 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31921 failures.
31922
edb3cb88
FW
31923 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31924
60160d83
JM
319252012-09-04 Joseph Myers <joseph@codesourcery.com>
31926
31927 [BZ #9914]
31928 * libio/iogetdelim.c: Include <limits.h>.
31929 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31930 + len + 1 would overflow.
31931
bcd6c8dc
AJ
319322012-09-03 Andreas Jaeger <aj@suse.de>
31933
31934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31935 * sysdeps/i386/fpu/libm-test-ulps: Update.
31936
4ffffbd2
LD
319372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31938
31939 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31940 Add s_sinf-sse2, s_conf-sse2.
31941
31942 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31943 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31944 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31945 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31946
31947 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31948 for using routine as __sinf_ia32.
31949 Use macro for function declaration and weak_alias.
31950 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31951 for using routine as __cosf_ia32.
31952 Use macro for function declaration and weak_alias.
31953
31954 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31955 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31956
31957 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31958 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31960
31961 * math/libm-test.inc (cos_test): Add more test cases.
31962 (sin_test): Likewise.
31963 (sincos_test): Likewise.
31964
511fa286
AK
319652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31966
31967 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31968 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31969 hidden.
31970 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31971
5f30cfec
L
319722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31973
31974 [BZ #14538]
31975 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31976 first element of the GOT.
31977 (elf_machine_load_address): Return the difference between
31978 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31979
0786794f
AM
319802012-09-01 Allan McRae <allan@archlinux.org>
31981
5f30cfec
L
31982 [BZ #13412]
31983 * configure.in (AWK): Require gawk version 3.0 or later.
31984 * configure: Regenerated.
0786794f 31985
26889eac
JM
319862012-09-01 Joseph Myers <joseph@codesourcery.com>
31987
31988 * sysdeps/unix/sysv/linux/kernel-features.h
31989 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31991 [__NR_clock_getres]: Make code unconditional.
31992 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31993 (clock_getcpuclockid): Remove code left unreachable by removal of
31994 conditionals.
31995 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31996 code unconditional.
31997 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31998 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31999 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32000 Make code unconditional.
32001 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32002 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32003 * sysdeps/unix/sysv/linux/clock_settime.c
32004 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32005 conditional code.
32006 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32007 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32008
d22e28b0
L
320092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32010
32011 [BZ #14476]
32012 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32013 scripts/test-installation.pl.
32014
32015 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32016 and $ld_so_version if it is set.
32017
050af9c4
SP
320182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32019
32020 [BZ #14516]
32021 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32022 failure if reading from procfs failed.
32023 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32024
ad845c0b
JM
320252012-08-27 Joseph Myers <joseph@codesourcery.com>
32026
32027 * sysdeps/unix/sysv/linux/kernel-features.h
32028 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32029 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32030 Remove conditional code.
32031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32032 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32033 Remove conditional code.
32034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32035 * sysdeps/unix/sysv/linux/i386/fxstat.c
32036 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32038 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32039 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32040 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32041 * sysdeps/unix/sysv/linux/i386/lxstat.c
32042 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32043 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32044 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32045 Remove conditional code.
32046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32047 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32048 Remove conditional code.
32049 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32050 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32051 <kernel-features.h>.
32052 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32053 Remove.
32054 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32055 Remove conditional code.
32056 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32057 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32058 Remove conditional.
32059
5dbf56af
MF
320602012-08-27 Mike Frysinger <vapier@gentoo.org>
32061
32062 [BZ #5400]
32063 * NEWS: Add fixed bug number.
32064
d6e70f43
JM
320652012-08-27 Joseph Myers <joseph@codesourcery.com>
32066
7efb4737
JM
32067 [BZ #14519]
32068 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32069 underflowing exponent in case of negative sign.
32070 * stdlib/tst-strtod-round-data: Add more tests.
32071 * stdlib/tst-strtod-round.c (tests): Regenerated.
32072
af92131a
JM
32073 [BZ #3479]
32074 * stdlib/strtod_l.c (NDIG): Remove.
32075 (HEXNDIG): Likewise.
32076 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32077 smallest representable value.
32078 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32079 lie within an exact representation of 1/2 ulp of the result.
32080 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32081 unconditionally.
32082 (TENS_P9_IDX): Define unconditionally.
32083 (TENS_P9_SIZE): Likewise.
32084 (TENS_P10_IDX): Likewise.
32085 (TENS_P10_SIZE): Likewise.
32086 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32087 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32088 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32089 entries for 10^2^13 and 10^2^14.
32090 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32091 (TENS_P13_IDX): Define.
32092 (TENS_P13_SIZE): Likewise.
32093 (TENS_P14_IDX): Likewise.
32094 (TENS_P14_SIZE): Likewise.
32095 (_fpioconst_pow10): Change array size to
32096 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32097 unconditional.
32098 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32099 1024]: Add entries for 10^2^13 and 10^2^14.
32100 [LAST_POW10 > _LAST_POW10]: Remove #error.
32101 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32102 (_fpioconst_pow10): Change array size to
32103 FPIOCONST_POW10_ARRAY_SIZE.
32104 * stdlib/gen-fpioconst.c: New file.
32105 * stdlib/gen-tst-strtod-round.c: Likewise.
32106 * stdlib/tst-strtod-round-data: Likewise.
32107 * stdlib/tst-strtod-round.c: Likewise.
32108 * stdlib/Makefile (tests): Add tst-strtod-round.
32109
d6e70f43
JM
32110 [BZ #14459]
32111 * stdlib/strtod_l.c: Include <stdint.h>.
32112 (NDEBUG): Do not define.
32113 (round_and_return): Change EXPONENT parameter to type intmax_t.
32114 Rearrange calculations to avoid internal overflow possibilities.
32115 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32116 Rearrange calculations to avoid internal overflow possibilities.
32117 Assert that number fits inside MPNSIZE limbs.
32118 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32119 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32120 calculations and add assertions to avoid internal overflow
32121 possibilities. Add casts to avoid signed/unsigned operations.
32122 * stdlib/tst-strtod-overflow.c: New file.
32123 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32124
1f529f7d
MP
321252012-08-25 Marek Polacek <polacek@redhat.com>
32126
32127 * time/time.h: Fix some typos in comments.
32128
59a629f1
RM
321292012-08-23 Roland McGrath <roland@hack.frob.com>
32130
32131 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32132 * posix/tst-rfc3484-2.c: Likewise.
32133 * posix/tst-rfc3484-3.c: Likewise.
32134
d3bafbc9
SM
321352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32136
32137 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32138 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32139
4efcc022
JM
321402012-08-23 Joseph Myers <joseph@codesourcery.com>
32141
32142 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32143 #include of fxstatat64.c.
32144
3cc3ef96
RM
321452012-08-22 Roland McGrath <roland@hack.frob.com>
32146
f04e2132
RM
32147 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32148 * shadow/getspent_r.c: Likewise.
32149 * shadow/getspnam.c: Likewise.
32150 * shadow/getspnam_r.c: Likewise.
32151 * gshadow/getsgent.c: Likewise.
32152 * gshadow/getsgent_r.c: Likewise.
32153 * gshadow/getsgnam.c: Likewise.
32154 * gshadow/getsgnam_r.c: Likewise.
32155 * inet/getnetbyad.c: Likewise.
32156 * inet/getnetbyad_r.c: Likewise.
32157 * inet/getnetbynm.c: Likewise.
32158 * inet/getnetbynm_r.c: Likewise.
32159 * inet/getnetent.c: Likewise.
32160 * inet/getnetent_r.c: Likewise.
32161 * inet/getproto.c: Likewise.
32162 * inet/getproto_r.c: Likewise.
32163 * inet/getprtent.c: Likewise.
32164 * inet/getprtent_r.c: Likewise.
32165 * inet/getprtname.c: Likewise.
32166 * inet/getprtname_r.c: Likewise.
32167 * inet/getrpcbyname.c: Likewise.
32168 * inet/getrpcbyname_r.c: Likewise.
32169 * inet/getrpcbynumber.c: Likewise.
32170 * inet/getrpcbynumber_r.c: Likewise.
32171 * inet/getrpcent.c: Likewise.
32172 * inet/getrpcent_r.c: Likewise.
32173 * inet/getaliasent.c: Likewise.
32174 * inet/getaliasent_r.c: Likewise.
32175 * inet/getaliasname.c: Likewise.
32176 * inet/getaliasname_r.c: Likewise.
32177 * nscd/getgrgid_r.c: Likewise.
32178 * nscd/getgrnam_r.c: Likewise.
32179 * nscd/gethstbyad_r.c: Likewise.
32180 * nscd/gethstbynm3_r.c: Likewise.
32181 * nscd/getpwnam_r.c: Likewise.
32182 * nscd/getpwuid_r.c: Likewise.
32183 * nscd/getsrvbynm_r.c: Likewise.
32184 * nscd/getsrvbypt_r.c: Likewise.
32185 * nscd/gai.c: Likewise.
32186
c53d909c
RM
32187 * configure.in (build_nscd): New substituted variable, set
32188 by --disable-build-nscd and defaults to $use_nscd.
32189 * configure: Regenerated.
32190 * config.make.in (build-nscd): New substituted variable.
32191 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32192 Change conditional to require [$(build-nscd) = yes] as well.
32193 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32194
3cc3ef96
RM
32195 [BZ# 13696]
32196 * configure.in (use_nscd): New substituted variable, set by
32197 --disable-nscd. If enabled, define USE_NSCD.
32198 * configure: Regenerated.
32199 * config.h.in: Add USE_NSCD.
32200 * config.make.in (use-nscd): New substituted variable.
32201 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32202 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32203 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32204 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32205 (CFLAGS-getgrnam_r.c): Likewise.
32206 (CFLAGS-initgroups.c): Likewise.
32207 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32208 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32209 Variables removed.
32210 * inet/getnetgrent_r.c
32211 (nscd_setnetgrent): New function, broken out of ...
32212 (setnetgrent): ... here. Call it.
32213 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32214 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32215 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32216 * nscd/Makefile (routines, aux): Move definitions after include of
32217 Makeconfig. Conditionalize on [$(use-nscd) != no].
32218 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32219 Conditionalize on [USE_NSCD].
32220 (is_nscd, nscd_init_cb): Likewise.
32221 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32222 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32223 * nss/nss_db/db-init.c: Likewise.
32224 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32225 [USE_NSCD].
32226 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32227 (make_request): Use it.
32228 (cache_valid_p): New function.
32229 (__check_pf): Use it.
32230 * NEWS: Add item for --disable-nscd.
32231
07e51550
DL
322322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32233
32234 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32235 to support sed >= 4.2.1-20-ga9bf076.
32236 * configure: Regenerated.
32237
35a5b08b
RM
322382012-08-22 Roland McGrath <roland@hack.frob.com>
32239
32240 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32241 Conditionalize whole body on [IREL].
32242
8479f23a
JL
322432012-08-22 Jeff Law <law@redhat.com>
32244
32245 [BZ #14505]
32246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32247 if the family is PF_UNSPEC.
32248
48da0b21
MF
322492012-08-22 Mike Frysinger <vapier@gentoo.org>
32250
32251 * Makerules (lib-version): Rename from V.
32252 (install-lib-nosubdir): Change V to lib-version.
32253
15d0da8c
WS
322542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32255
32256 [BZ #14252]
32257 * powerpc32/power6/wcschr.c: New file.
32258 * powerpc32/power6/wcscpy.c: New file.
32259 * powerpc32/power6/wcsrchr.c: New file.
32260 * powerpc64/power6/wcschr.c: New file.
32261 * powerpc64/power6/wcscpy.c: New file.
32262 * powerpc64/power6/wcsrchr.c: New file.
32263
bcca0895
MK
322642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32265
32266 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32267 (two_way_short_needle): Use it.
5a4aaa33
RM
32268 * string/strstr.c (AVAILABLE1_USES_J): Define.
32269 * string/strcasestr.c: Likewise.
99677e57
MK
32270
32271 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32272 array references.
32273 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32274
400726de
MK
32275 [BZ #11607]
32276 * NEWS: Add an entry.
32277 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32278 define their defaults.
32279 (two_way_short_needle): Detect end-of-string on-the-fly.
32280 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32281 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32282 * string/bug-strcasestr1.c: New test.
32283 * string/Makefile: Run it.
32284
20a71f2c
MK
322852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32286
32287 [BZ #11607]
32288 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32289 the first character.
32290
21ad0558
RM
322912012-08-21 Roland McGrath <roland@hack.frob.com>
32292
32293 * csu/elf-init.c (__libc_csu_irel): Function removed.
32294 * csu/libc-start.c (apply_irel): New function.
32295 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32296
0e1d9911
JM
322972012-08-21 Joseph Myers <joseph@codesourcery.com>
32298
32299 * sysdeps/unix/sysv/linux/kernel-features.h
32300 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32301 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32302 <kernel-features.h>.
32303 [__NR_fadvise64_64]: Make code unconditional.
32304 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32305 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32306 !__NR_fadvise64_64)]: Likewise.
32307 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32308 !__NR_fadvise64_64))]: Likewise.
32309 [__NR_fadvise64]: Make code unconditional.
32310 [!__NR_fadvise64]: Remove conditional code.
32311 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32312 <kernel-features.h>.
32313 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32314 unconditional.
32315 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32316 conditional code.
32317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32318 not include <kernel-features.h>.
32319 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32320 unconditional.
32321 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32322 conditional code.
32323 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32324 include <kernel-features.h>.
32325 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32326 unconditional.
32327 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32328 conditional code.
32329
14a50c9d
WS
323302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32331
32332 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32333 slight instruction rearrangements per scrollpipe analysis.
32334 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32335
c0f4faf0
RM
323362012-08-20 Roland McGrath <roland@hack.frob.com>
32337
696da859
RM
32338 * manual/syslog.texi (syslog; vsyslog, closelog):
32339 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32340 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32341
c0f4faf0
RM
32342 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32343 DSOCAPS to match condition on defining it.
32344
348363b2
JM
323452012-08-20 Joseph Myers <joseph@codesourcery.com>
32346
a35cbf28
JM
32347 * sysdeps/unix/sysv/linux/kernel-features.h
32348 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32350 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32351 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32353 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32354 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32356 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32357 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32358
445f7ecd
JM
32359 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32360 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32361
348363b2
JM
32362 * sysdeps/unix/sysv/linux/kernel-features.h
32363 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32364 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32365 unconditional.
32366 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32367 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32368 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32369 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32370 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32371 Make code unconditional.
32372 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32373 (__mmap64) [!__NR_mmap2]: Likewise.
32374 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32375 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32376 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32377 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32378 [__NR_mmap2]: Make code unconditional.
32379 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32380 (__mmap64) [!__NR_mmap2]: Likewise.
32381
bc5bc0e5
AK
323822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32383
32384 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32385
88d506de
AJ
323862012-08-18 Andreas Jaeger <aj@suse.de>
32387
32388 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32389
493387d2
MF
323902012-08-18 Mike Frysinger <vapier@gentoo.org>
32391
32392 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32393 * include/unistd.h (__have_sock_cloexec): Likewise.
32394 (__have_pipe2): Likewise.
32395 (__have_dup3): Likewise.
32396
a277af22
MF
323972012-08-18 Mike Frysinger <vapier@gentoo.org>
32398
32399 [BZ #9685]
32400 * include/unistd.h (__have_pipe2): Change define into an extern int.
32401 (__have_dup3): Likewise.
32402 * socket/have_sock_cloexec.c: Include fcntl.h.
32403 (__have_pipe2): New variable.
32404 (__have_dup3): Likewise.
32405
fdab8fd3
MF
324062012-08-17 Mike Frysinger <vapier@gentoo.org>
32407
32408 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32409
31035e80
MP
324102012-08-17 Marek Polacek <polacek@redhat.com>
32411
32412 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32413 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32414
3bd9e993
RM
324152012-08-17 Roland McGrath <roland@hack.frob.com>
32416
c91c505f
RM
32417 * configure.in: Add AC_SUBST for sysheaders.
32418 * configure: Regenerated.
32419 * config.make.in (sysheaders): New substituted variable.
32420
7c6f9d53
RM
32421 * sysdeps/unix/mkfifo.c: Moved ...
32422 * sysdeps/posix/mkfifo.c: ... here.
32423 * sysdeps/unix/mkfifoat.c: Moved ...
32424 * sysdeps/posix/mkfifoat.c: ... here.
32425
32426 * sysdeps/unix/utime.c: Moved ...
32427 * sysdeps/posix/utime.c: ... here.
32428
32429 * sysdeps/unix/time.c: Moved ...
32430 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
32431 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32432 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
32433
32434 * sysdeps/unix/nice.c: Moved ...
32435 * sysdeps/posix/nice.c: ... here.
32436
32437 * sysdeps/unix/alarm.c: Moved ...
32438 * sysdeps/posix/alarm.c: ... here.
32439
3bd9e993
RM
32440 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32441
d1f09384
JL
324422012-08-17 Jeff Law <law@redhat.com>
32443
32444 * intl/Makefile (codeset_mo): New variable.
32445 ($(codeset_mo)): New target.
32446 (tst-codeset.out): Depend on that. Remove explicit rule.
32447 (tst-gettext3.out, tst-gettext5.out): Likewise.
32448 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32449 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32450 * intl/tst-codeset.sh: Remove.
32451 * intl/tst-gettext3.sh: Likewise.
32452 * intl/tst-gettext5.sh: Likewise.
32453
2ae1ae5c
RM
324542012-08-17 Roland McGrath <roland@hack.frob.com>
32455
c31fdb83
RM
32456 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32457 * sysdeps/unix/syscalls.list: ... here.
32458
a0844057
RM
32459 * sysdeps/posix/getaddrinfo.c
32460 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32461 (gaiconf_init, gaiconf_reload): Use them.
32462 [!_STATBUF_ST_NSEC]
32463 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32464 Define using time_t rather than struct timespec.
32465
750c1f2a
RM
32466 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32467 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32468 Macros removed.
32469 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32470 [!NO_THREADS].
32471 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32472 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32473 Likewise.
32474
2ae1ae5c
RM
32475 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32476 __libc_cleanup_push argument.
32477
e66a42f5
RM
32478 * bits/param.h: New file.
32479 * misc/sys/param.h: New file.
32480 * include/sys/param.h: New file.
32481 * misc/Makefile (headers): Add bits/param.h.
32482 * sysdeps/generic/sys/param.h: File removed.
32483 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32484 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32485 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 32486 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 32487
b7c08a66
RM
32488 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32489 last change.
32490
b2e1c562
RM
32491 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32492 [_IO_MTSAFE_IO].
32493 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32494 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32495 New macros.
32496
c75ccd4c
RM
32497 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32498 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32499 rather than -D_IO_MTSAFE_IO conditionally.
32500 * stdio-common/Makefile (CPPFLAGS): Likewise.
32501 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32502 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32503 Use $(libio-mtsafe).
32504 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32505 of -D_IO_MTSAFE_IO.
32506 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32507 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32508 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32509 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32510 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32511 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32512 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32513 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32514 (CFLAGS-fread_u_chk.c): Likewise.
32515 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32516 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32517 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32518 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32519 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32520 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32521 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32522 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32523 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32524
32525 * libio/Makefile: Test [$(libc-reentrant) = yes]
32526 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32527
32528 * Makeconfig
32529 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32530 * sysdeps/pthread/configure: File removed.
32531 * sysdeps/pthread/Makeconfig: New file.
32532 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32533 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32534
d9195db8
GB
325352012-08-16 Gary Benson <gbenson@redhat.com>
32536
32537 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32538 unmapping the first object in a namespace.
32539
86466cd9
RM
325402012-08-16 Roland McGrath <roland@hack.frob.com>
32541
32542 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32543 (__internal_setnetgrent): ... this. Add internal_function to
32544 definition. Add libc_hidden_def.
32545 (setnetgrent): Update caller.
32546 (internal_endnetgrent): Renamed to ...
32547 (__internal_endnetgrent): ... this. Add internal_function to
32548 definition. Add libc_hidden_def.
32549 (endnetgrent): Update caller.
32550 (internal_getnetgrent_r): Renamed to ...
32551 (__internal_getnetgrent_r): ... this. Add internal_function to
32552 definition. Add libc_hidden_def.
32553 (__getnetgrent_r): Update caller.
32554 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32555
c3c8283c
JM
325562012-08-16 Joseph Myers <joseph@codesourcery.com>
32557
32558 * stdlib/longlong.h: Update from GCC.
32559
db1ee0a8
RM
325602012-08-16 Roland McGrath <roland@hack.frob.com>
32561
32562 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32563 on _QL, which is set by umul_ppmm but never used.
32564 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32565 variables, which are set by GMP macros but never used.
32566 * stdio-common/_itowa.c (_itowa): Likewise.
32567 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32568 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32569
30f69637
CD
325702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32571
32572 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32573 struct La_sh_regs is not constant.
32574 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32575 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32576 and struct La_sparc64_regs are not constant.
32577
93a78ac4
JM
325782012-08-16 Joseph Myers <joseph@codesourcery.com>
32579
32580 * sysdeps/unix/sysv/linux/kernel-features.h
32581 (__ASSUME_POSIX_TIMERS): Remove.
32582 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32583 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32584 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32585 Make code unconditional.
32586 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32587 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32588 Make code unconditional.
32589 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32590 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32591 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32592 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32593 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32594 Make code unconditional.
32595 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32596 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32597 (__libc_missing_posix_timers): Remove.
32598
dd924cd7
RM
325992012-08-15 Roland McGrath <roland@hack.frob.com>
32600
4b4f2771
RM
32601 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32602 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32603
601c888b
RM
32604 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32605
176790a7
RM
32606 * elf/dl-sym.c: Include <stdlib.h>.
32607
329bc018
RM
32608 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32609 constants, which avoids warnings in 32-bit builds.
32610
e04e272d
RM
32611 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32612 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32613
952bf94a
RM
32614 * misc/lseek.c: File moved to ...
32615 * io/lseek.c: ... here.
32616
7c99b50a
RM
32617 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32618
dd924cd7
RM
32619 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32620 shifting LEN more than 31 bits at once.
32621
b3f479a8
LD
326222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32623
32624 [BZ #14195]
8c4ae0d4
RM
32625 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32626 segmentation fault for a case of two empty input strings.
b3f479a8
LD
32627 * string/test-strncasecmp.c (check1): Renamed to...
32628 (bz12205): ...this.
32629 (bz14195): Add new testcase for two empty input strings and N > 0.
32630 (test_main): Call new testcase, adapt for renamed function.
32631
9c55864e
AJ
326322012-08-15 Andreas Jaeger <aj@suse.de>
32633
32634 [BZ #14090]
32635 * crypt/md5test2.c: New test, based on test supplied by Serge
32636 Belyshev <belyshev@depni.sinp.msu.ru>.
32637 * crypt/Makefile (xtests): Add md5test-giant..
32638 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32639
02dcb6c5
PE
326402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32641
32642 [BZ #14090]
32643 * crypt/md5.c (md5_process_block): Don't assume the buffer
32644 length is less than 2**32.
32645 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32646 length is less than 2**64.
32647
a3f95dcc
RM
326482012-08-15 Roland McGrath <roland@hack.frob.com>
32649
be75d758
RM
32650 * string/str-two-way.h: Include <sys/param.h>.
32651 (MAX): Macro removed.
32652
7312ca90
RM
32653 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32654 Move #define and #undef of memmove to just before and after
32655 including <string.h>.
32656
9a0a5486
RM
32657 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32658 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32659 and after including <string.h>. Move declarations of
32660 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32661 to before #include "string/memmove.c".
32662
67cc348d
RM
32663 * include/dirent.h: Declare __getdirentries.
32664
a3f95dcc
RM
32665 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32666 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32667
ca98e171
MF
326682012-08-14 Mike Frysinger <vapier@gentoo.org>
32669
32670 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32671 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32672 * sysdeps/i386/configure: Regenerated.
32673 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32674 STABS_CURRENT_FILE, and STABS_FUN.
32675 (END): Remove call to STABS_FUN_END.
32676 (STABS_CURRENT_FILE1): Delete.
32677 (STABS_CURRENT_FILE): Likewise.
32678 (STABS_FUN): Likewise.
32679 (STABS_FUN_END): Likewise.
32680 (STABS_FUN2): Likewise.
32681 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32682 * sysdeps/x86_64/configure: Regenerated.
32683
5908bf46
RM
326842012-08-14 Roland McGrath <roland@hack.frob.com>
32685
32686 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 32687 * elf/dl-lookup.c: Likewise.
5908bf46 32688
f2c05b9e
JM
326892012-08-14 Joseph Myers <joseph@codesourcery.com>
32690
32691 * sysdeps/unix/sysv/linux/kernel-features.h
32692 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32693 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32694 unconditionally.
32695 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32696 unconditionally.
32697 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32698 condition on __ASSUME_CLONE_THREAD_FLAGS.
32699
e11f5155
AJ
327002012-08-14 Andreas Jaeger <aj@suse.de>
32701
32702 * sysdeps/i386/fpu/libm-test-ulps: Update.
32703
51a9ba86
MK
327042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32705
2fdd4f78
AJ
32706 * include/atomic.h (atomic_exchange_and_add): Split into ...
32707 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32708 New atomic macros.
51a9ba86 32709
ba6cba9e
MT
327102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32711
32712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32713
42443a47
JL
327142012-08-13 Jeff Law <law@redhat.com>
32715
32716 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32717 null byte in the output string.
32718
121dce05
JM
327192012-08-10 Joseph Myers <joseph@codesourcery.com>
32720
32721 * sysdeps/unix/sysv/linux/kernel-features.h
32722 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32723 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32724 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32725 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32726 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32727 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32728 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32729
bf51f568
JL
327302012-08-09 Jeff Law <law@redhat.com>
32731
32732 [BZ #13939]
32733 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32734 When avoid_arena is set, don't retry in the that arena. Pick the
32735 next one, whatever it might be.
32736 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32737 (arena_lock): Pass in new parameter to arena_get2.
32738 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32739 arena_get2.
32740 (__libc_malloc): Unify retrying after main arena failure with
32741 __libc_memalign version.
32742 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32743
f85fa270
L
327442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 [BZ #14166]
32747 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32748 to __redirect_strstr.
32749 (__strstr_sse42): Use typeof __redirect_strstr.
32750 (__strstr_ia32): Likewise.
32751 (__libc_strstr): New prototype.
32752 (strstr): Renamed to ...
32753 (__libc_strstr): This.
32754 (strstr): New strong alias of __libc_strstr.
32755 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32756 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32757 __redirect_time.
32758 Include <time.h>.
32759 (__libc_time): New prototype.
32760 (time_ifunc): Replace time with __libc_time.
32761 (time): New strong alias and hidden definition of __libc_time.
32762 (__GI_time): Remove strong alias.
32763 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32764 Include <stddef.h>.
32765 (memmove): Redefined to __redirect_memmove.
32766 (__memmove_sse2): Use typeof __redirect_memmove.
32767 (__memmove_ssse3): Likewise.
32768 (__memmove_ssse3_back): Likewise.
32769 (__libc_memmove): New prototype.
32770 (memmove): Renamed to ...
32771 (__libc_memmove): This.
32772 (memmove): New strong alias of __libc_memmove.
32773
33b4a91e
MS
327742012-08-08 Mark Salter <msalter@redhat.com>
32775
32776 * elf/elf.h
32777 (R_MN10300_TLS_GD): Define.
32778 (R_MN10300_TLS_LD): Likewise.
32779 (R_MN10300_TLS_LDO): Likewise.
32780 (R_MN10300_TLS_GOTIE): Likewise.
32781 (R_MN10300_TLS_IE): Likewise.
32782 (R_MN10300_TLS_LE): Likewise.
32783 (R_MN10300_TLS_DTPMOD): Likewise.
32784 (R_MN10300_TLS_DTPOFF): Likewise.
32785 (R_MN10300_TLS_TPOFF): Likewise.
32786 (R_MN10300_SYM_DIFF): Likewise.
32787 (R_MN10300_ALIGN): Likewise.
32788 (R_MN10300_NUM): Update.
32789
b36137f1
JM
327902012-08-08 Joseph Myers <joseph@codesourcery.com>
32791
32792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32793 Remove.
32794
cdd915fd
RM
327952012-08-08 Roland McGrath <roland@hack.frob.com>
32796
a2433aac
RM
32797 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32798
cdd915fd
RM
32799 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32800 sysdeps/unix -> sysdeps/posix move.
32801 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32802
bf9b740a
AM
328032012-08-07 Allan McRae <allan@archlinux.org>
32804
32805 [BZ #14303]
32806 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32807 (SUNOS_CPP): Likewise.
32808 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32809 not found.
32810 (open_input): Call CPP using execvp.
32811
93df14ee
JM
328122012-08-07 Joseph Myers <joseph@codesourcery.com>
32813
32814 * sysdeps/unix/sysv/linux/kernel-features.h
32815 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32816 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32817 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32818 (__ASSUME_WAITID_SYSCALL): Likewise.
32819 * sysdeps/unix/sysv/linux/dl-execstack.c
32820 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32821 code unconditional.
32822 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32823 conditional code.
32824 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32825 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32826 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32827 code.
32828 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32829 unconditional.
32830 [__ASSUME_WAITID_SYSCALL]: Likewise.
32831 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32832
d34689de
RM
328332012-08-07 Roland McGrath <roland@hack.frob.com>
32834
a281decc
RM
32835 * sysdeps/unix/closedir.c: Renamed to ...
32836 * sysdeps/posix/closedir.c: ... here.
32837 * sysdeps/unix/dirfd.c: Renamed to ...
32838 * sysdeps/posix/dirfd.c: ... here.
32839 * sysdeps/unix/dirstream.h: Renamed to ...
32840 * sysdeps/posix/dirstream.h: ... here.
32841 * sysdeps/unix/fdopendir.c: Renamed to ...
32842 * sysdeps/posix/fdopendir.c: ... here.
32843 * sysdeps/unix/opendir.c: Renamed to ...
32844 * sysdeps/posix/opendir.c: ... here.
32845 * sysdeps/unix/readdir.c: Renamed to ...
32846 * sysdeps/posix/readdir.c: ... here.
32847 * sysdeps/unix/readdir_r.c: Renamed to ...
32848 * sysdeps/posix/readdir_r.c: ... here.
32849 * sysdeps/unix/rewinddir.c: Renamed to ...
32850 * sysdeps/posix/rewinddir.c: ... here.
32851 * sysdeps/unix/seekdir.c: Renamed to ...
32852 * sysdeps/posix/seekdir.c: ... here.
32853 * sysdeps/unix/telldir.c: Renamed to ...
32854 * sysdeps/posix/telldir.c: ... here.
32855 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32856 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32857 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32858 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32859
22895b47
RM
32860 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32861 * bits/fcntl.h: ... here.
32862
707a53b6
RM
32863 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32864 not 0.
32865 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32866 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32867 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32868 (struct flock): Move l_start, l_len to the beginning.
32869 Use __pid_t for l_pid.
32870 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32871 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32872 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32873 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32874 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32875 [__USE_LARGEFILE64] (struct flock64): New type.
32876 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32877
f0bd3e25
RM
32878 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32879 * bits/dirent.h: ... here.
32880
d34689de
RM
32881 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32882 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32883
6dad2c06
JM
328842012-08-07 Joseph Myers <joseph@codesourcery.com>
32885
32886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32887 Change from 2.6.0 to 2.6.16.
32888 * sysdeps/unix/sysv/linux/configure: Regenerated.
32889 * sysdeps/unix/sysv/linux/kernel-features.h
32890 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32891 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32892 version.
32893 (__ASSUME_UTIMES): Likewise.
32894 (__ASSUME_CLONE_STOPPED): Remove.
32895 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32896 architectures, not kernel version.
32897 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32898 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32899 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32900 (__ASSUME_WAITID_SYSCALL): Likewise.
32901 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32902 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32903 * README: State 2.6.16 as minimum Linux kernel version. Do not
32904 refer to older versions.
32905
03af9520
RM
329062012-08-06 Roland McGrath <roland@hack.frob.com>
32907
8e49df1d
RM
32908 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32909 Define alphasort64 as an alias.
32910 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32911 Define versionsort64 as an alias.
32912 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32913 Define scandir64 as an alias.
32914 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32915 Define scandirat64 as an alias.
32916 * dirent/alphasort64.c (alphasort64):
32917 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32918 * dirent/versionsort64.c: Likewise.
32919 * dirent/scandir64.c: Likewise.
32920 * dirent/scandirat64.c: Likewise.
32921 * sysdeps/wordsize-64/alphasort.c: File removed.
32922 * sysdeps/wordsize-64/alphasort64.c: File removed.
32923 * sysdeps/wordsize-64/scandir.c: File removed.
32924 * sysdeps/wordsize-64/scandir64.c: File removed.
32925 * sysdeps/wordsize-64/scandirat.c: File removed.
32926 * sysdeps/wordsize-64/scandirat64.c: File removed.
32927 * sysdeps/wordsize-64/versionsort.c: File removed.
32928 * sysdeps/wordsize-64/versionsort64.c: File removed.
32929 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32930 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32931 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32932 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32933 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32934 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32936 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32937
32938 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32940 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32942 [defined __arch64__ || defined __sparcv9]
32943 (__INO_T_MATCHES_INO64_T): New macro.
32944 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32945 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32946 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32947 * sysdeps/unix/sysv/linux/bits/dirent.h
32948 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32949 (_DIRENT_MATCHES_DIRENT64): New macro.
32950
03af9520
RM
32951 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32952 Define lockf64 as an alias.
32953 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32954 Define fseeko64 as an alias.
32955 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32956 Define ftello64 as an alias.
32957 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32958 Define _IO_fgetpos64 and fgetpos64 as aliases.
32959 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32960 Define _IO_fsetpos64 and fsetpos64 as aliases.
32961 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32962 Conditionalize body on this.
32963 * libio/fseeko64.c: Likewise.
32964 * libio/ftello64.c: Likewise.
32965 * libio/iofgetpos64.c: Likewise.
32966 * libio/iofsetpos64.c: Likewise.
32967 * sysdeps/wordsize-64/lockf.c: File removed.
32968 * sysdeps/wordsize-64/lockf64.c: File removed.
32969 * sysdeps/wordsize-64/fseeko.c: File removed.
32970 * sysdeps/wordsize-64/fseeko64.c: File removed.
32971 * sysdeps/wordsize-64/ftello.c: File removed.
32972 * sysdeps/wordsize-64/ftello64.c: File removed.
32973 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32974 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32975 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32976 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32977 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32978 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32979 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32980 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32981 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32982 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32983 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32984 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32985 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32987
32988 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32990 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32992 [defined __arch64__ || defined __sparcv9]
32993 (__OFF_T_MATCHES_OFF64_T): New macro.
32994 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32995 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32997 (__OFF_T_MATCHES_OFF64_T): New macro.
32998
c5757acd
L
329992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * stdlib/secure-getenv.c (__secure_getenv): Replace
33002 GLIBC_2_16 with GLIBC_2_17.
33003
3a31811e
L
330042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33007 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33008
faa2bccb
DM
330092012-08-03 David S. Miller <davem@davemloft.net>
33010
33011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33012
85fe1997
JM
330132012-08-03 Joseph Myers <joseph@codesourcery.com>
33014
33015 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33016 Remove.
33017 (__ASSUME_CORRECT_SI_PID): Likewise.
33018 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33019 (__ASSUME_TMPFS_NAME): Likewise.
33020 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33021 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33022 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33023 (HAVE_AUX_SECURE): Make definition unconditional.
33024 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33025 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33026
4f75b7a0
RM
330272012-08-03 Roland McGrath <roland@hack.frob.com>
33028
33029 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33030 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33031 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33032 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33033 __eloop_threshold instead of SYMLOOP_MAX.
33034
33035 * sysdeps/generic/eloop-threshold.h: New file.
33036 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33037 of MAXSYMLINKS.
33038 * elf/chroot_canon.c (chroot_canon): Likewise.
33039
7aab07e4
JM
330402012-08-03 Joseph Myers <joseph@codesourcery.com>
33041
33042 [BZ #13717]
33043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33044 Change to 2.6.0 everywhere.
33045 * sysdeps/unix/sysv/linux/configure: Regenerated.
33046 * sysdeps/unix/sysv/linux/kernel-features.h
33047 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33048 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33049 kernel versions.
33050 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33051 (__ASSUME_FUTEX_REQUEUE): Remove.
33052 (__ASSUME_STATFS64): Define unconditionally.
33053 (__ASSUME_AT_SECURE): Likewise.
33054 (__ASSUME_CORRECT_SI_PID): Likewise.
33055 (__ASSUME_TGKILL): Define without depending on kernel version for
33056 i386.
33057 (__ASSUME_UTIMES): Likewise.
33058 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33059 kernel version.
33060 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33061 (__ASSUME_TMPFS_NAME): Likewise.
33062 * README: Update reference to Linux kernel versions.
33063
b67e9372
MP
330642012-08-02 Marek Polacek <polacek@redhat.com>
33065
1f529f7d 33066 [BZ# 14150]
b67e9372
MP
33067 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33068 libc_cv_asm_type_prefix with %.
33069 * configure: Regenerated.
d2441631
RM
33070 * include/libc-symbols.h: Remove comment about
33071 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33072 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33073 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33074 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33075 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33076 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33077 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33078 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33079 * elf/tst-unique2mod1.c: Likewise.
33080 * elf/tst-unique1mod2.c: Likewise.
33081 * elf/tst-unique1mod1.c: Likewise.
33082 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33083 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33084 Replace ASM_TYPE_DIRECTIVE with .type.
33085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33086 * sysdeps/i386/sysdep.h: Likewise.
33087 * sysdeps/x86_64/sysdep.h: Likewise.
33088 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
33089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33090 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 33091 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
33092 * sysdeps/powerpc/powerpc32/sysdep.h:
33093 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
33094 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33095 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33096 * sysdeps/i386/fpu/e_powf.S: Likewise.
33097 * sysdeps/i386/fpu/e_expl.S: Likewise.
33098 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33099 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33100 * sysdeps/i386/fpu/e_pow.S: Likewise.
33101 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33102 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33103 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33104 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33105 * sysdeps/i386/fpu/e_log2.S: Likewise.
33106 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33107 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33108 * sysdeps/i386/fpu/e_powl.S: Likewise.
33109 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33110 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33111 * sysdeps/i386/fpu/e_logl.S: Likewise.
33112 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33113 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33114 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33115 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33116 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33117 * sysdeps/i386/fpu/e_log.S: Likewise.
33118 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33119 * sysdeps/i386/fpu/e_logf.S: Likewise.
33120 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33121 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33122 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33123 * sysdeps/i386/fpu/e_log10.S: Likewise.
33124 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33125 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33126 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33127 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33128 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33130 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33131 * sysdeps/i386/i686/strtok.S: Likewise.
33132 * sysdeps/i386/i386-mcount.S: Likewise.
33133 * sysdeps/i386/strtok.S: Likewise.
33134 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33135 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33136 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33137 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33138 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33139 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33140 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33141 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33142 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33143 * sysdeps/x86_64/_mcount.S: Likewise.
33144 * sysdeps/x86_64/strtok.S: Likewise.
33145 * sysdeps/sh/_mcount.S: Likewise.
33146
2747bf9a
RM
331472012-08-01 Roland McGrath <roland@hack.frob.com>
33148
33149 * libio/iofopen.c: Include <fcntl.h>.
33150 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33151 (_IO_fopen64, fopen64): Define as aliases.
33152 * libio/iofopen64.c: Include <fcntl.h>.
33153 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33154 Conditionalize body on this.
33155 * sysdeps/wordsize-64/iofopen.c: File removed.
33156 * sysdeps/wordsize-64/iofopen64.c: File removed.
33157
3fb791b8
MP
331582012-08-01 Marek Polacek <polacek@redhat.com>
33159
33160 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33161 Use dlfcn directly instead of a variable.
33162 (binfmt-subdir): Do not define.
33163 (dlfcn): Likewise.
33164
a9f1039f
JM
331652012-08-01 Joseph Myers <joseph@codesourcery.com>
33166
23bddc06
JM
33167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33168 Remove all definitions.
33169 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33170 <kernel-features.h>.
33171 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33172 (miss_F_GETOWN_EX): Remove all definitions.
33173 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33174 macro definition.
33175 [!__ASSUME_FCNTL64]: Remove conditional code.
33176 [__ASSUME_FCNTL64]: Make code unconditional.
33177 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33178 <kernel-features.h>.
33179 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33180 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33181 (lockf64) [__NR_fcntl64]: Make code unconditional.
33182 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33183
a9f1039f
JM
33184 * sysdeps/unix/sysv/linux/kernel-features.h
33185 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33186 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33187 Make code unconditional.
33188 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33189 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33191 [__NR_vfork]: Make code unconditional.
33192 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33193 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33195 [__NR_vfork]: Make code unconditional.
33196 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33197 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33198
09c0ee5f
RM
331992012-08-01 Roland McGrath <roland@hack.frob.com>
33200
48aec5b9
RM
33201 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33202 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33203
cd97c966
RM
33204 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33205 Define mkstemp64 as an alias.
3f55550c
RM
33206 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33207 Define mkstemps64 as an alias.
cd97c966
RM
33208 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33209 Define mkostemp64 as an alias.
b8625cfc
RM
33210 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33211 Define mkostemps64 as an alias.
cd97c966
RM
33212 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33213 Conditionalize body on this.
33214 * misc/mkostemp64.c: Likewise.
b8625cfc 33215 * misc/mkostemps64.c: Likewise.
3f55550c 33216 * misc/mkstemps64.c: Likewise.
cd97c966
RM
33217 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33218 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33219 * sysdeps/wordsize-64/mkostemp.c: File removed.
33220 * sysdeps/wordsize-64/mkstemp.c: File removed.
33221 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33222 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33223 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33224 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33225
09c0ee5f
RM
33226 [BZ #14138]
33227 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33228 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33229 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33230 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33231
33232 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33233 compat_symbol macros from <shlib-compat.h> rather than the underlying
33234 default_symbol_version and symbol_version macros, so that DEFAULT
33235 lines in shlib-versions are respected.
33236 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33237
7e66ee51
FW
332382012-08-01 Florian Weimer <fweimer@redhat.com>
33239
33240 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33241 Declare with warn_unused_result.
33242 (setgid, setregid, setegid, setresgid): Likewise.
33243 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33244 Likewise.
33245 * WUR-REPORT: Remove set*id functions.
33246
d2a54255
PT
332472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33248
33249 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33250
7ecdb005
RM
332512012-07-31 Roland McGrath <roland@hack.frob.com>
33252
b4180a5e 33253 [BZ #10191]
789bd351
RM
33254 * include/sys/socket.h (__libc_accept, __libc_accept4):
33255 Add attribute_hidden.
33256 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33257
40ce302d
RM
33258 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33259 use of PTR_MANGLE.
33260 * inet/getnetgrent_r.c (setup): Likewise.
33261
7ecdb005
RM
33262 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33263
e2eabb2c
DM
332642012-07-31 David S. Miller <davem@davemloft.net>
33265
33266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33267
d0419dbf
JM
332682012-07-31 Joseph Myers <joseph@codesourcery.com>
33269
33270 [BZ #13629]
33271 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33272 value between 1.0 and 2.0 and smaller part has absolute value less
33273 than 1.0.
33274 * math/s_clog10.c (__clog10): Likewise.
33275 * math/s_clog10f.c (__clog10f): Likewise.
33276 * math/s_clog10l.c (__clog10l): Likewise.
33277 * math/s_clogf.c (__clogf): Likewise.
33278 * math/s_clogl.c (__clogl): Likewise.
33279 * math/libm-test.inc (clog_test): Add more tests.
33280 (clog10_test): Likewise.
33281 * sysdeps/i386/fpu/libm-test-ulps: Update.
33282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33283
2bc13872
FW
332842012-07-31 Florian Weimer <fweimer@redhat.com>
33285
33286 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33287 Exit with zero in case no suitable GID is found, and write a
33288 message to standard error.
33289
bea9b193
RM
332902012-07-30 Roland McGrath <roland@hack.frob.com>
33291
33292 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33293 rather than to 1.
33294 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33295 (MAXPATHLEN): Removed.
33296 (NOGROUP, NODEV): New macros.
33297 (setbit, clrbit, isset, isclr): New macros.
33298 (howmany, roundup, powerof2): New macros.
33299 (DEV_BSIZE): New macro.
33300
33301 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33302 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33303
33304 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33305 definition on [!__NO_LONG_DOUBLE_MATH].
33306
33307 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33308 PTR_MANGLE and PTR_DEMANGLE.
33309
33310 * socket/accept4.c (accept4): Rename to __libc_accept4.
33311 Define accept4 as a weak alias.
33312
33313 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33314 on [_DIRENT_HAVE_D_TYPE].
33315 * io/ftw.c (ftw_dir): Likewise.
33316
33317 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33318
33319 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33320
33321 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33322 Use the BSD numbers rather than the arbitrary ones we had.
33323 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33324 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33325 (SIGXCPU, SIGXFSZ): New macros.
33326 (_NSIG): Now 32.
33327
33328 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33329 initializer on [_LIBC_REENTRANT].
33330
33331 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33332 definitions inside [_POSIX_MAPPED_FILES].
33333
33334 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33335
33336 * dirent/opendir.c: Include <fcntl.h>.
33337
33338 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33339 (__libc_getspecific): Likewise.
33340 (__libc_key_create): Likewise.
33341
33342 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33343 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33344 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33345 (tmpfile64): Define as alias.
33346 * sysdeps/wordsize-64/tmpfile.c: File removed.
33347 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33348 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33350
33351 * stdio-common/vfscanf.c: Include <stdbool.h>.
33352 * nss/makedb.c: Likewise.
33353 * stdio-common/_i18n_number.h: Likewise.
33354 * argp/argp-help.c: Likewise.
33355 * posix/wordexp.c: Likewise.
33356 * sysdeps/posix/spawni.c: Likewise.
33357 * nss/nss_files/files-initgroups.c: Likewise.
33358 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33359 * nss/nss_files/files-initgroups.c: Likewise.
33360 * nss/nss_db/db-netgrp.c: Likewise.
33361 * nss/nss_db/db-initgroups.c: Likewise.
33362 * io/fchmodat.c: Include <sys/stat.h>.
33363
33364 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33365 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33366
33367 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33368 [HAVE_MMAP].
33369
33370 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33371 Add multiple inclusion protection.
33372
e5abc686
DM
333732012-07-27 David S. Miller <davem@davemloft.net>
33374
33375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33376
815e6fa3
GB
333772012-07-27 Gary Benson <gbenson@redhat.com>
33378
33379 [BZ #14298]
33380 * elf/rtld.c: Include <stap-probe.h>.
33381 (dl_main): Added static probes "init_start" and "init_complete".
33382 * elf/dl-load.c: Include <stap-probe.h>.
33383 (lose): Take new parameter "nsid".
33384 Added static probe "map_failed".
33385 (_dl_map_object_from_fd): Pass namespace id to lose.
33386 Added static probe "map_start".
33387 (open_verify): Pass namespace id to lose.
33388 * elf/dl-open.c: Include <stap-probe.h>.
33389 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33390 and "reloc_complete".
33391 * elf/dl-close.c: Include <stap-probe.h>.
33392 (_dl_close_worker): Added static probes "unmap_start" and
33393 "unmap_complete".
33394 * elf/rtld-debugger-interface.txt: New file documenting the above.
33395
9f98c16c
RM
333962012-07-26 Roland McGrath <roland@hack.frob.com>
33397
33398 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33399 rather than a string variable.
33400 * sunrpc/rpc_main.c (h_output): Likewise.
33401 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33402
f3c22df3
PT
334032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33404
33405 * inet/check_native.c: New file.
33406
3129cfc6
JM
334072012-07-26 Joseph Myers <joseph@codesourcery.com>
33408
da865e95
JM
33409 [BZ #13629]
33410 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33411 if larger part has absolute value 1.0.
33412 * math/s_clog10.c (__clog10): Likewise.
33413 * math/s_clog10f.c (__clog10f): Likewise.
33414 * math/s_clog10l.c (__clog10l): Likewise.
33415 * math/s_clogf.c (__clogf): Likewise.
33416 * math/s_clogl.c (__clogl): Likewise.
33417 * math/libm-test.inc (clog_test): Add more tests.
33418 (clog10_test): Likewise.
33419 * sysdeps/i386/fpu/libm-test-ulps: Update.
33420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33421
3129cfc6
JM
33422 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33423 (pltexit): Likewise.
33424 (La_regs): Likewise.
33425 (La_retval): Likewise.
33426 (int_retval): Likewise.
33427 Update #error for removed macros to refer only to definitions in
33428 tst-audit.h.
33429 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33430 macro.
33431 (pltexit): Likewise.
33432 (La_regs): Likewise.
33433 (La_retval): Likewise.
33434 (int_retval): Likewise.
33435 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33436 macro.
33437 (pltexit): Likewise.
33438 (La_regs): Likewise.
33439 (La_retval): Likewise.
33440 (int_retval): Likewise.
33441 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33442 macro.
33443 (pltexit): Likewise.
33444 (La_regs): Likewise.
33445 (La_retval): Likewise.
33446 (int_retval): Likewise.
33447 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33448 macro.
33449 (pltexit): Likewise.
33450 (La_regs): Likewise.
33451 (La_retval): Likewise.
33452 (int_retval): Likewise.
33453 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33454 macro.
33455 (pltexit): Likewise.
33456 (La_regs): Likewise.
33457 (La_retval): Likewise.
33458 (int_retval): Likewise.
33459 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33460 macro.
33461 (pltexit): Likewise.
33462 (La_regs): Likewise.
33463 (La_retval): Likewise.
33464 (int_retval): Likewise.
33465 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33466 macro definitions in tst-audit.h.
33467 * sysdeps/i386/tst-audit.h: New file.
33468 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33469 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33470 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33471 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33472 * sysdeps/sh/tst-audit.h: Likewise.
33473 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33474 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33475 * sysdeps/x86_64/tst-audit.h: Likewise.
33476
bfc07087
AJ
334772012-07-26 Andreas Jaeger <aj@suse.de>
33478
b1b2aaf8
AJ
33479 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33480 ptrace.
33481
33482 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33483 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33484 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33485 PTRACE_O_MASK.
33486 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33487 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33488 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33489
bfc07087
AJ
33490 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33491 value.
33492
33493 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33494 _sigsys.
33495 (si_call_addr, si_syscall, si_arch): Define new macro.
33496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33497 _sigsys.
33498 (si_call_addr, si_syscall, si_arch): Define new marcro.
33499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33500 _sigsys.
33501 (si_call_addr, si_syscall, si_arch): Define new macro.
33502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33503 _sigsys.
33504 (si_call_addr, si_syscall, si_arch): Define new macro.
33505
89b4b02f
JM
335062012-07-25 Joseph Myers <joseph@codesourcery.com>
33507
33508 [BZ #13717]
33509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33510 Change to 2.4.21 where previously 2.4.1.
33511 * sysdeps/unix/sysv/linux/configure: Regenerated.
33512 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33513 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33514 Linux kernel version.
33515 (__ASSUME_STD_AUXV): Remove.
33516 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33517 kernel version.
33518 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33519 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33520 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33521 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33522 (__ASSUME_NETLINK_SUPPORT): Likewise.
33523 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33524 (__no_netlink_support): Remove conditional definition.
33525 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33526 Remove.
33527 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33528 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33529 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33530 (if_nameindex_ioctl): Remove.
33531 (if_nameindex_netlink): Do not handle __no_netlink_support.
33532 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33533 code.
33534 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33535 Remove conditional code.
33536 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33537 code.
33538 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33539 unconditional.
33540 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33541 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33542 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33543 Remove.
33544 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33545 [!__ASSUME_STD_AUXV]: Remove conditional code.
33546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33547 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33548 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33550 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33551 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33552 code.
33553 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33555 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33556 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33557 conditional code.
33558 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33560 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33561 code.
33562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33563 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33564 conditional code.
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33566 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33567 code unconditional.
33568 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33569 conditional code.
33570 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33571 unconditional.
33572 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33573 conditional code.
33574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33575 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33576 unconditional.
33577 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33578 conditional code.
33579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33580 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33581 code unconditional.
33582 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33583 conditional code.
33584 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33585 unconditional.
33586 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33587 conditional code.
33588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33589 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33590 code unconditional.
33591 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33592 conditional code.
33593 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33594 unconditional.
33595 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33596 conditional code.
33597
842a39cd
AS
335982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33599
33600 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33602 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33603 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33604 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33605 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33606 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33607 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33608 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33609 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33610 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33611 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33612 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33613 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33614 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33615 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33616 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33617 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33618 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33620 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33621 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33622 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33623
84b3fd84
FW
336242012-07-25 Florian Weimer <fweimer@redhat.com>
33625
33626 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
33627 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33628 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33629 Introduce __libc_secure_getenv.
0c7936d5
FW
33630 * stdlib/Versions (2.17): Add secure_getenv
33631 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33632 * stdlib/secure-getenv.c: Rename __secure_getenv to
33633 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33634 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
33635 * stdlib/tst-secure-getenv.c: New.
33636 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
33637 * manual/startup.texi (Environment Access): Document
33638 secure_getenv.
84b3fd84
FW
33639 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33640 __libc_secure_getenv.
33641 * inet/ruserpass.c (ruserpass): Likewise.
33642 * malloc/mtrace.c (mtrace): Likewise.
33643 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 33644 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
33645 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33646 * sysdeps/posix/tempname.c: Likewise. Evaluate
33647 HAVE_SECURE_GETENV.
33648 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 33649 __secure_getenv to __libc_secure_getenv.
84b3fd84 33650 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
33651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33652 Likewise.
33653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33654 Likewise.
33655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 33662
56e49b71
JM
336632012-07-25 Joseph Myers <joseph@codesourcery.com>
33664
33665 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33666 (struct La_i86_retval): Likewise.
33667 (struct La_x86_64_regs): Likewise.
33668 (struct La_x86_64_retval): Likewise.
33669 (struct La_x32_regs): Likewise.
33670 (struct La_x32_retval): Likewise.
33671 (struct La_ppc32_regs): Likewise.
33672 (struct La_ppc32_retval): Likewise.
33673 (struct La_ppc64_regs): Likewise.
33674 (struct La_ppc64_retval): Likewise.
33675 (struct La_sh_regs): Likewise.
33676 (struct La_sh_retval): Likewise.
33677 (struct La_s390_32_regs): Likewise.
33678 (struct La_s390_32_retval): Likewise.
33679 (struct La_s390_64_regs): Likewise.
33680 (struct La_s390_64_retval): Likewise.
33681 (struct La_sparc32_regs): Likewise.
33682 (struct La_sparc32_retval): Likewise.
33683 (struct La_sparc64_regs): Likewise.
33684 (struct La_sparc64_retval): Likewise.
33685 (struct audit_ifaces): Remove architecture-specific pltenter and
33686 pltexit members.
33687 * sysdeps/i386/ldsodefs.h: New file.
33688 * sysdeps/powerpc/ldsodefs.h: Likewise.
33689 * sysdeps/s390/ldsodefs.h: Likewise.
33690 * sysdeps/sh/ldsodefs.h: Likewise.
33691 * sysdeps/sparc/ldsodefs.h: Likewise.
33692 * sysdeps/x86_64/ldsodefs.h: Likewise.
33693
354691b7
MP
336942012-07-25 Marek Polacek <polacek@redhat.com>
33695
33696 [BZ #6808]
33697 * math/libm-test.inc (yn_test): Add another test.
33698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33699 to ERANGE when the result is +-Inf.
33700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33701 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33702 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33703 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33704
bf9e2071
JM
337052012-07-24 Joseph Myers <joseph@codesourcery.com>
33706
33707 * conform/data/time.h-data (NULL): Use macro-constant. Require
33708 equal to 0.
33709 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33710 clock_t.
33711 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33712
57633811
TS
337132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33714
33715 * configure.in <sysdeps resolving>: Correct printing
33716 Implies_before.
33717 * configure: Regenerate.
33718
c23c33b0
TS
337192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33720
33721 * math/w_ilogb.c: Include <limits.h>.
33722 * math/w_ilogbl.c: Likewise.
33723
b5982523
JM
337242012-07-20 Joseph Myers <joseph@codesourcery.com>
33725
33726 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33727 va_copy. Document allowing for unavailable va_copy only as
33728 pre-C99 compatibility.
33729 * manual/string.texi (Copying and Concatenation): Use va_copy
33730 instead of __va_copy in concat example.
33731
ac4ea442
PT
337322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33733
33734 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33735 (__sendto): Use create_address_port. Initialize APORT and deallocate
33736 it if not null.
33737
f98eafbd
PT
33738 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33739 with O_NOLINK passed to __file_name_lookup.
33740
898c7aab
PT
33741 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33742 with O_NOLINK passed to __file_name_lookup.
33743
0ced335a
PT
33744 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33745 negative N or less than NGIDS.
33746
b3404dbd
PT
33747 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33748 type to string_t. Set ERANGE as errno and return it if NAME is not big
33749 enough. Use memcpy instead of strncpy.
33750
0f48659e
JM
337512012-07-20 Joseph Myers <joseph@codesourcery.com>
33752
33753 * elf/Makefile (check-data): Remove.
33754 (localplt.data): New vpath directive.
33755 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33756 instead of $(check-data).
33757 * scripts/data/localplt-generic.data: Move to ...
33758 * sysdeps/generic/localplt.data: ... here.
33759 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33760 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33761 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33763 ... here.
33764 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33766 ... here.
33767 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33769 ... here.
33770 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33772 ... here.
33773 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33775 ... here.
33776 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33778 ... here.
33779
d37cbdaa
AZ
337802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33781
33782 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33783 PPC32 and PPC64 files.
33784 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33785 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33786
46f85fc2
AK
337872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33788
33789 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33790 __makecontext_ret to ...
33791 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33792 ... here and call exit if uc_link is NULL. New file.
33793 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33794 __makecontext_ret.S.
33795 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33796 __makecontext_ret to ...
33797 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33798 ... here and call exit if uc_link is NULL. New file.
33799 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33800 __makecontext_ret.S.
33801
08f43f9b
AK
338022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33803
33804 * elf/elf.h (R_390_IRELATIVE): New definition.
33805 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33806 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33807 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33808 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33809 (elf_machine_lazy_rel): Likewise.
33810 * sysdeps/s390/dl-irel.h: New file.
33811 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33812 * sysdeps/s390/s390-64/memset.S: New asm code.
33813 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33814 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33815 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33816 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33817 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33818 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33819 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33820 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33821 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33822 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33823 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33824 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33825 * sysdeps/s390/s390-32/memset.S: New asm code.
33826 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33827
3b05db33
MP
338282012-07-17 Marek Polacek <polacek@redhat.com>
33829
33830 [BZ #14349]
33831 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33832 * sysdeps/s390/s390-64/configure.in: Likewise.
33833 * sysdeps/sparc/configure.in: Likewise.
33834 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33835 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33836 * sysdeps/i386/configure.in: Likewise.
33837 * sysdeps/x86_64/configure.in: Likewise.
33838 * sysdeps/sh/configure.in: Likewise.
33839 * sysdeps/s390/s390-32/configure: Regenerated.
33840 * sysdeps/s390/s390-64/configure: Likewise.
33841 * sysdeps/x86_64/configure: Likewise.
33842 * sysdeps/sh/configure: Likewise.
33843 * sysdeps/powerpc/powerpc64/configure: Likewise.
33844 * sysdeps/powerpc/powerpc32/configure: Likewise.
33845 * sysdeps/sparc/configure: Likwise.
33846 * sysdeps/i386/configure: Likewise.
33847
a66877c6
MP
33848 * elf/dl-open.c: Comment fixes.
33849
cfc82fd8
JM
338502012-07-17 Joseph Myers <joseph@codesourcery.com>
33851
bd29910a
JM
33852 * Makefile [CXX] (check-data): Remove.
33853 [CXX] (c++-types.data): New vpath directive.
33854 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33855 vpath. Do not allow for C++ type data being missing.
33856 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33857 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33858 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33859 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33860 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33861 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33862 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33864 ... here.
33865 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33867 ... here.
33868 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33870 ... here.
33871 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33873 ... here.
33874 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33876 ... here.
33877 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33879 ... here.
33880 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33882 ... here.
33883 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33885
cfc82fd8
JM
33886 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33887 definitions to architecture-specific files.
33888 (TLS_IE): Likewise.
33889 (TLS_LD): Likewise.
33890 (TLS_GD): Likewise.
33891 * sysdeps/i386/tls-macros.h: New file.
33892 * sysdeps/powerpc/tls-macros.h: Likewise.
33893 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33894 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33895 * sysdeps/sh/tls-macros.h: Likewise.
33896 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33897 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33898 * sysdeps/x86_64/tls-macros.h: Likewise.
33899
f7db3170
TS
339002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33901
07cbfc23
TS
33902 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33903 zero value for regular exit case.
33904
f7db3170
TS
33905 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33906 (__start_context): Preserve zero value for regular exit case.
33907
dc97c227
TS
339082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33909 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33910
33911 * manual/setjmp.texi (setcontext): Clarify normal process
33912 termination when uc_link is the null pointer.
33913 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33914 exit call.
33915
d0cd7d02
AS
339162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33917
33918 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33919 preprocessor. Test for each exception mask separately.
33920
dd318934
AJ
339212012-07-16 Andreas Jaeger <aj@suse.de>
33922
33923 * po/ru.po: Update from translation team.
33924
8048311a
JM
339252012-07-15 Joseph Myers <joseph@codesourcery.com>
33926
33927 * conform/data/string.h-data (NULL): Use macro-constant. Require
33928 equal to 0.
33929 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33930 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33931 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33932 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33933 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33934
b637d46e
AJ
339352012-07-13 Andreas Jaeger <aj@suse.de>
33936
33937 * po/fr.po: Update from translation team.
33938
541428fe
MP
339392012-07-12 Marek Polacek <polacek@redhat.com>
33940
33941 [BZ #14173]
33942 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33943 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33944 loop condition.
33945
ec332e94
JM
339462012-07-12 Joseph Myers <joseph@codesourcery.com>
33947
33948 [BZ #13717]
33949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33950 Change to 2.4.1 where previously 2.4.0.
33951 * sysdeps/unix/sysv/linux/configure: Regenerated.
33952 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33953 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33954 version.
33955 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33956 (__ASSUME_AT_CLKTCK): Remove.
33957 (__ASSUME_AT_PAGESIZE): Likewise.
33958 (__ASSUME_AT_XID): Likewise.
33959 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33960 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33961 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33962 unconditionally.
33963 (HAVE_AUX_PAGESIZE): Likewise.
33964 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33965 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33966 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33967
7b6e99be
JB
339682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33969
33970 [BZ #14307]
33971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33972 the temporary buffer used to invoke __gethostbyname2_r,
33973 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33974 host_data / struct gaih_addrtuple.
33975 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33976 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33977 header file nss/nsswitch.h.
33978 * nss/nsswitch.h (global scope): Add definition of implementation
33979 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33980 resolv/nss_dns/dns-host.c).
33981
608404eb
AJ
339822012-07-11 Andreas Jaeger <aj@suse.de>
33983
33984 * po/fr.po: Update from translation team.
33985
71220aca
AJ
33986 * po/sv.po: Update from translation team
33987 * po/fr.po: Another update from translation team.
33988
28cfe843
AZ
339892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33990
33991 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33992 for subnormals or multiply small sinh result by itself.
33993 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33995
6b90f981
DM
339962012-07-11 David S. Miller <davem@davemloft.net>
33997
33998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33999
c6825772
AS
340002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34001
34002 [BZ #14347]
34003 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34004 (INTERNAL_MARK): Shift it here.
34005
7b8e0d49
MP
340062012-07-10 Marek Polacek <polacek@redhat.com>
34007
34008 [BZ #14151]
34009 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34010 libc_cv_asm_global_directive with .globl.
34011 * configure: Regenerated.
34012 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34013 with .globl.
34014 * sysdeps/i386/configure: Regenerated.
34015 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34016 with .globl.
34017 * sysdeps/x86_64/configure: Regenerated.
34018 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34019 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34020 * elf/tst-unique2mod2.c: Likewise.
34021 * elf/tst-unique2mod1.c: Likewise.
34022 * elf/tst-unique1mod2.c: Likewise.
34023 * elf/tst-unique1mod1.c: Likewise.
34024 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34025 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34027 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34028 * sysdeps/mach/sysdep.h: Likewise.
34029 * sysdeps/i386/sysdep.h: Likewise.
34030 * sysdeps/i386/i386-mcount.S: Likewise.
34031 * sysdeps/x86_64/_mcount.S: Likewise.
34032 * sysdeps/x86_64/sysdep.h: Likewise.
34033 * sysdeps/sh/_mcount.S: Likewise.
34034 * sysdeps/sh/sysdep.h: Likewise.
34035 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34036 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34037 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34038 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34039 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34040 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34041 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34042 * locale/localeinfo.h: Likewise.
34043 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34044 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34045
6c55cda3
RM
340462012-07-09 Roland McGrath <roland@hack.frob.com>
34047
34048 [BZ #14336]
34049 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34050 system".
34051 * manual/message.texi (The Uniforum approach): Likewise.
34052 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34053 (glibc iconv Implementation): Likewise.
34054
638a572e
JM
340552012-07-09 Joseph Myers <joseph@codesourcery.com>
34056
34057 [BZ #14337]
34058 * math/s_clog.c (__clog): Avoid scaling a value down where that
34059 could result in underflow.
34060 * math/s_clog10.c (__clog10): Likewise.
34061 * math/s_clog10f.c (__clog10f): Likewise.
34062 * math/s_clog10l.c (__clog10l): Likewise.
34063 * math/s_clogf.c (__clogf): Likewise.
34064 * math/s_clogl.c (__clogl): Likewise.
34065 * math/libm-test.inc (clog_test): Add more tests.
34066 (clog10_test): Likewise.
34067 * sysdeps/i386/fpu/libm-test-ulps: Update.
34068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34069
261f4859
AS
340702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34071
0abaf3e4
AS
34072 [BZ #14283]
34073 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34074 by 7 not 8 to examine high bit of fractional part.
34075
261f4859
AS
34076 [BZ #14042]
34077 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34078 for call to __mcount_internal.
34079 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34080 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34081 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34082
f17ac40d
JM
340832012-07-06 Joseph Myers <joseph@codesourcery.com>
34084
9ad63c23
JM
34085 [BZ #14154]
34086 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34087 approximation for values within 0x1p-13f of an odd multiple of
34088 pi/4.
34089 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34090 exception. Add more tests.
34091 * sysdeps/i386/fpu/libm-test-ulps: Update.
34092
f17ac40d
JM
34093 [BZ #6778]
34094 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34095 inputs and return -1 for them. Do not check for +Inf in case not
34096 reachable for +Inf.
34097 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34098 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34099 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34100 and return -1 for them. Do not check for +Inf in case not
34101 reachable for +Inf.
34102 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34103 define.
34104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34105 and return -1 for them. Do not check for +Inf in case not
34106 reachable for +Inf.
34107 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34108 spurious underflow.
34109 * sysdeps/i386/fpu/libm-test-ulps: Update.
34110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34111
fb21f89b
MF
341122012-07-06 Mike Frysinger <vapier@gentoo.org>
34113
34114 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34115
cdfe2c5e
JM
341162012-07-05 Joseph Myers <joseph@codesourcery.com>
34117
34118 [BZ #14157]
34119 [BZ #14331]
34120 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34121 could result in spurious underflow. Scale down values above
34122 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34123 * math/s_csqrtf.c (__csqrtf): Likewise.
34124 * math/s_csqrtl.c (__csqrtl): Likewise.
34125 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34126 spurious underflow.
34127 * sysdeps/i386/fpu/libm-test-ulps: Update.
34128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34129
70d35b67
AS
341302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34131
704bc459
AS
34132 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34133 xopen-msg.sed.
34134 * catgets/xopen-msg.awk: New file.
34135 * catgets/xopen-msg.sed: Removed.
34136
70d35b67
AS
34137 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34138 po2text.sed.
34139 * intl/po2test.awk: New file.
34140 * intl/po2test.sed: Removed.
34141
ca61cf32
JM
341422012-07-04 Joseph Myers <joseph@codesourcery.com>
34143
34144 [BZ #14328]
34145 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34146 or multiply small sinh result by itself.
34147 * math/s_ctanf.c (__ctanf): Likewise.
34148 * math/s_ctanh.c (__ctanh): Likewise.
34149 * math/s_ctanhf.c (__ctanhf): Likewise.
34150 * math/s_ctanhl.c (__ctanhl): Likewise.
34151 * math/s_ctanl.c (__ctanl): Likewise.
34152 * math/libm-test.inc (ctan_test_tonearest): New function.
34153 (ctan_test_towardzero): Likewise.
34154 (ctan_test_downward): Likewise.
34155 (ctan_test_upward): Likewise.
34156 (ctanh_test_tonearest): Likewise.
34157 (ctanh_test_towardzero): Likewise.
34158 (ctanh_test_downward): Likewise.
34159 (ctanh_test_upward): Likewise.
34160 (main): Call these new functions.
34161 * sysdeps/i386/fpu/libm-test-ulps: Update.
34162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34163
ca48a46a
MF
341642012-07-03 Mike Frysinger <vapier@gentoo.org>
34165
34166 * .gitignore: Delete /ports entry.
34167
9d63d37d
AJ
341682012-07-03 Andreas Jaeger <aj@suse.de>
34169
34170 * po/bg.po: Update from translation team.
34171 * po/cs.po: Likewise.
34172 * po/de.po: Likewise.
34173 * po/hr.po: Likewise.
34174 * po/nl.pl: Likewise.
34175 * po/pl.po: Likewise.
34176 * po/vi.po: Likewise.
34177
370ca3d2
JM
341782012-07-03 Joseph Myers <joseph@codesourcery.com>
34179
95f5a9a8
JM
34180 * Makeconfig [!+link] (+link-before-libc): New variable.
34181 [!+link] (+link-after-libc): Likewise.
34182 [!+link] (+link-tests): Likewise.
34183 [!+link] (+link): Define in terms of $(+link-before-libc) and
34184 $(+link-after-libc).
34185 [!+link-static] (+link-static-before-libc): New variable.
34186 [!+link-static] (+link-static-after-libc): Likewise.
34187 [!+link-static] (+link-static-tests): Likewise.
34188 [!+link-static] (+link-static): Define in terms of
34189 $(+link-static-before-libc) and $(+link-static-after-libc).
34190 [build-shared] (link-libc-before-gnulib): New variable.
34191 [build-shared] (link-libc-tests): Likewise.
34192 [build-shared] (link-libc): Define in terms of
34193 $(link-libc-before-gnulib).
34194 [!build-shared] (link-libc-tests): New variable.
34195 (link-libc-static-tests): New variable.
34196 [!gnulib] (gnulib-arch): New variable.
34197 [!gnulib] (gnulib-tests): Likewise.
34198 [!gnulib] (static-gnulib-arch): Likewise.
34199 [!gnulib] (static-gnulib-tests): Likewise.
34200 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34201 Define with "=" instead of ":=".
34202 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34203 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34204 * Rules (binaries-all-notests): New variable.
34205 (binaries-all-tests): Likewise.
34206 (binaries-static-notests): Likewise.
34207 (binaries-static-tests): Likewise.
34208 (binaries-all): Define using $(binaries-all-notests) and
34209 $(binaries-all-tests).
34210 (binaries-static): Define using $(binaries-static-notests) and
34211 $(binaries-static-tests).
34212 (binaries-shared-tests): New variable.
34213 (binaries-shared-notests): Likewise.
34214 (binaries-shared): Remove variable.
34215 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34216 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34217 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34218 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34219 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34220 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34221 * elf/Makefile (sln-modules): New variable.
34222 (extra-objs): Add $(sln-modules:=.o).
34223 (ldconfig-modules): Add static-stubs.
34224 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34225 * elf/static-stubs.c: New file.
34226
7a845b2c
JM
34227 [BZ #14283]
34228 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34229 by 7 not 8 to examine high bit of fractional part. Use volatile
34230 variables when splitting into final array of floats if
34231 __FLT_EVAL_METHOD__ != 0.
34232 * math/libm-test.inc (cos_test): Add another test.
34233 (sin_test): Likewise.
34234 * sysdeps/i386/fpu/libm-test-ulps: Update.
34235
e2283f38
JM
34236 [BZ #14273]
34237 * math/libm-test.inc (cosh_test): Add more tests.
34238
370ca3d2
JM
34239 * version.h (RELEASE): Set to "development".
34240 (VERSION): Set to "2.16.90".
34241
ee9247c3
CD
342422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34243
34244 * NEWS: Update copyright. Remove last-updated date.
34245 Mention math library bug fixes and timezone data changes.
34246 * README: Mention GNU/Hurd, x32, and HPPA support status.
34247
4648c381
TS
342482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34249
34250 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34251
aac78a43
AJ
342522012-06-27 Andreas Jaeger <aj@suse.de>
34253
34254 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34255
ed3dbfad
AJ
342562012-06-25 Andreas Jaeger <aj@suse.de>
34257
34258 * sysdeps/s390/fpu/libm-test-ulps: Update.
34259
4d0ee855
AS
342602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34261 Thomas Schwinge <thomas@codesourcery.com>
34262
34263 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34264 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34266 fanotify_mark.
34267
af1bce34
TS
342682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34269
a9fa33ba
TS
34270 * sysdeps/mach/start.c: Remove file.
34271 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34272 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34273 * sysdeps/sh/init-first.c: Likewise.
34274
58f902b8
TS
34275 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34276 registers for frame unwinding purposes, add CFI directives.
34277 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34278 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34279 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34280 Likewise.
34281
1518f58b
TS
34282 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34283 __fortify_fail returning.
34284 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34285
db9b5059
TS
34286 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34287 sysdeps/sh/____longjmp_chk.S.
34288 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34289 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34290 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34291 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34292
967705fe
TS
34293 * sysdeps/sh/abort-instr.h: New file.
34294 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34295 process in case exit returns.
34296
a9def8c4
TS
34297 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34298 initialize the GOT register before use.
34299
2a649725
TS
34300 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34301 calculation of ARGC > 4.
34302
af1bce34
TS
34303 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34304 meaningful names to some local labels.
34305
d230f50a
KK
343062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34307 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34308
34309 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34310 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34311 (__arch_compare_and_exchange_val_16_acq): Likewise.
34312 (__arch_compare_and_exchange_val_32_acq): Likewise.
34313 (atomic_exchange_and_add): Fix gUSA sequence.
34314 (atomic_add): Likewise.
34315 (atomic_add_negative): Likewise.
34316 (atomic_add_zero): Likewise.
34317 (atomic_bit_test_set): Likewise.
34318
0479b305
AS
343192012-06-22 Andreas Schwab <schwab@redhat.com>
34320
34321 [BZ #13579]
34322 * include/link.h (struct link_map): Add l_free_initfini.
34323 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34324 l_initfini.
34325 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34326 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34327 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34328 set.
34329
0e3933b9
CD
343302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34331
34332 * configure.in: Use AC_LANG_SOURCE.
34333 * configure: Regenerate.
34334
4248b1b1
RM
343352012-06-22 Roland McGrath <roland@hack.frob.com>
34336
34337 * configure.in (libc_cv_localstatedir): New substituted variable.
34338 * configure: Regenerated.
34339 * config.make.in (localstatedir): New variable, substituted from
34340 libc_cv_localstatedir.
34341 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34342 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34343 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34344 * sysdeps/gnu/configure: Regenerated.
34345
006dd861
JL
343462012-06-21 Jeff Law <law@redhat.com>
34347
34348 [BZ #14277]
34349 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34350 free. Simplify list management for _LIBC case.
34351
79662d42
JM
343522012-06-21 Joseph Myers <joseph@codesourcery.com>
34353
b7abb4bf
JM
34354 [BZ #14273]
34355 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34356 Clear sign bit of 64-bit integer value before comparing against
34357 overflow value.
34358
79662d42
JM
34359 * sysdeps/mach/configure: Regenerated.
34360
1f150908
L
343612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34362
34363 [BZ #14278]
34364 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34365
28363bbf
JL
343662012-06-21 Jeff Law <law@redhat.com>
34367
34368 [BZ #13882]
34369 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34370 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 34371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
34372 * elf/dl-open.c (dl_open_worker): Likewise.
34373
09615db4
CD
343742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34375
34376 * scripts/list-sources.sh: Scan PORTS for translations.
34377 * po/libc.pot: Regenerated.
34378
2174c6dd
AJ
343792012-06-21 Andreas Jaeger <aj@suse.de>
34380
34381 [BZ #12194]
34382 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34383 warning.
34384 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34385 * bits/byteswap-16.h (__bswap_16): Likewise.
34386 * bits/byteswap.h (__bswap_constant_16): Likewise.
34387
3ee947b1
L
343882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34389
34390 [BZ #14117]
a2f34833
L
34391 * sysdeps/i386/fpu_control.h: Removed.
34392 * sysdeps/x86_64/fpu_control.h: Moved to ...
34393 * sysdeps/x86/fpu_control.h: Here.
34394
3ee947b1
L
34395 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34396 (_FPU_SETCW): Likewise.
34397
ed1825f8
L
343982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34399
25f1282a
L
34400 [BZ #14117]
34401 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34402 * sysdeps/x86/fpu/bits/mathinline.h: This.
34403 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34404
ed1825f8
L
34405 [BZ #14050]
34406 [BZ #14117]
34407 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34408 functions if __x86_64__ is defined.
34409
36d54b74
CLT
344102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34411
34412 * string/endian.h: Add !__ASSEMBLER__ condition for including
34413 conversion interfaces.
34414
10285c21
JM
344152012-06-15 Joseph Myers <joseph@codesourcery.com>
34416
34417 [BZ #14241]
34418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34419 of ABS(x) in calculating zero to negative powers other than odd
34420 integers.
34421 * math/libm-test.inc (pow_test): Add more tests.
34422
06c5abbd
AJ
344232012-06-15 Andreas Jaeger <aj@suse.de>
34424
34425 * manual/contrib.texi (Contributors): Update entry of Liubov
34426 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34427 Machado Filho.
34428
a3aeac40
CH
344292012-06-15 Cyril Hrubis <metan@ucw.cz>
34430
34431 * string/string.h: Add __wur to GNU version of strerror_r.
34432
49bdf4c1
L
344332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34434
34435 [BZ #14229]
34436 * string/Makefile (tests): Add tst-strtok_r.
34437 * string/tst-strtok_r.c: New file.
34438 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34439 RAX_LP/RDX_LP on SAVE_PTR.
34440
834f9b8d
RM
344412012-06-14 Roland McGrath <roland@hack.frob.com>
34442
34443 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34444
75fa1921
JM
344452012-06-14 Joseph Myers <joseph@codesourcery.com>
34446
34447 * libm_test.inc (csqrt_test): Allow more spurious underflow
34448 exceptions.
34449 (j0_test): Likewise.
34450 (j1_test): Likewise.
34451 (y0_test): Likewise.
34452 (y1_test): Likewise.
34453
771766df
CD
344542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34455
34456 * po/Makefile (libc.pot): Use UTF-8 charset.
34457
ceb9e56b
PP
344582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34459
34460 [BZ #14210]
34461 Suppress sign-conversion warning from FD_SET.
34462 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34463 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34464 not unsigned long int.
34465 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34466
ddb28975
L
344672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34468
34469 [BZ #14050]
34470 [BZ #14117]
34471 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34472 __extern_always_inline instead of __extern_inline.
34473 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34474 (__signbit): Likewise.
34475 (__signbitl): Support C++ namespace.
34476 (lrintf): New inline function.
34477 (lrint): Likewise.
34478 (llrintf): Likewise.
34479 (llrint): Likewise.
34480 (fmaxf): Likewise.
34481 (fmax): Likewise.
34482 (fminf): Likewise.
34483 (fmin): Likewise.
34484 (rint): Likewise.
34485 (rintf): Likewise.
34486 (ceil): Likewise.
34487 (ceilf): Likewise.
34488 (floor): Likewise.
34489 (floorf): Likewise.
34490 (nearbyint): Likewise.
34491 (nearbyintf): Likewise.
34492
d7b4fb26
TS
344932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34494
34495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34496 non-default versions.
34497
eb55f5c2
RM
344982012-06-11 Roland McGrath <roland@hack.frob.com>
34499
34500 [BZ #14218]
34501 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34502
366af02c
TS
345032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34504
99ff6e5c
TS
34505 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34506 (FE_UPWARD, FE_DOWNWARD): Don't define.
34507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34508 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34509
366af02c
TS
34510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34511 reading it.
34512 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34513 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34514
793ea851
KK
345152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34516
34517 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34519 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34520 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34521
a728a38f
L
345222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34523
34524 [BZ #14117]
c08010c7
L
34525 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34526 * sysdeps/i386/fpu/Implies: New file.
34527 * sysdeps/x86_64/fpu/Implies: Likewise.
34528 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34529 * sysdeps/x86/fpu/bits/fenv.h: This.
34530
a728a38f
L
34531 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34532 __SSE_MATH__.
34533
6e230d11
SP
345342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34535
34536 [BZ #14134]
34537 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34538 character 0xffff that matches the last element of the
34539 conversion table.
34540
1b671feb
AZ
345412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34542
34543 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34544 fmodl commit.
34545
6043738b
AZ
345462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34547
34548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34549 values higher than 25.6283.
34550
34ae0b32
AZ
345512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34552
34553 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34554 subnormal exponent extraction and add some __builtin_expect.
34555 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34556 Fix for subnormal mantissa calculation.
34557
1214ec8f
MF
345582012-06-04 Mike Frysinger <vapier@gentoo.org>
34559
34560 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34561 cpu2 is -1 and errno is not ENOSYS.
34562
f3d1f93c
L
345632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34564
34565 [BZ #14117]
0e4a3cd7
L
34566 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34567 * sysdeps/x86/bits/string.h: This.
34568 * sysdeps/x86_64/bits/string.h: Removed.
34569
6704c645
L
34570 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34571 if not compiling for x86-64, but compiling for >= i486.
34572
48495318
L
34573 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34574 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34575
14adcbfc
L
34576 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34577 New macro from Linux kernel 3.4.0.
34578 (FP_XSTATE_MAGIC2): Likewise.
34579 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34580 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34581 (struct _fpx_sw_bytes): New struct.
34582 (struct _xsave_hdr): Likewise.
34583 (struct _ymmh_state): Likewise.
34584 (struct _xstate): Likewise.
34585
68e408ab
L
34586 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34587 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34589 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34591 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34592
f3d1f93c
L
34593 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34594 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34595 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34596 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34597 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34598 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34599
d9dc34cd
TMQMF
346002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34601
34602 [BZ #13743]
34603 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34604 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34605 (sysdep_headers): Include sys/platform/ppc.h.
34606 * sysdeps/powerpc/test-gettimebase.c: Test for
34607 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34608 * manual/Makefile (appendices): Include platform.texi.
34609 * manual/contrib.texi (Contributors): Update @node pointers.
34610 * manual/maint.texi (Maintenance): Likewise.
34611 (Platform): New node.
34612 * manual/platform.texi: New file. Document the new features.
34613
4af3879c
SP
346142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34615 Jakub Jelinek <jakub@redhat.com>
34616
34617 [BZ #14188]
34618 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34619 where __builtin_expect is unavailable.
34620
2fd6ff13
DM
346212012-06-03 David S. Miller <davem@davemloft.net>
34622
34623 * stdlib/longlong.h: Updated from GCC.
34624
173f7220
AS
346252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34626
34627 [BZ #14042]
34628 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34629 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34630 __mcount_internal.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34632 (GLIBC_2.16): Likewise.
34633
f34a1c6f
L
346342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34635
34636 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34637
88a4576f
JM
346382012-06-01 Joseph Myers <joseph@codesourcery.com>
34639
ea32bcdd
JM
34640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34641 (default-abi): New variable.
34642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34643 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34644 variable.
34645 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34646 Likewise.
34647 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34648 Likewise.
34649 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34650 Likewise.
34651
88a4576f
JM
34652 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34653 definition. Document in comment.
34654
402fe938
DM
346552012-06-01 David S. Miller <davem@davemloft.net>
34656
34657 * stdlib/longlong.h: Updated from GCC.
34658
3553723f
L
346592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34660
34661 [BZ #14117]
3bd872c4
L
34662 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34663 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34664 sys/debugreg.h sys/io.h here.
34665 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34666 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34667 sys/io.h.
34668 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34669 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34670 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34671 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34672 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34673 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34674
3553723f
L
34675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34676 Define only if __x86_64__ is defined.
34677
4842e4fe
JM
346782012-06-01 Joseph Myers <joseph@codesourcery.com>
34679
c5bfe3d5
JM
34680 [BZ #14048]
34681 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34682 Use int64_t for variable i.
34683 * math/libm-test.inc (fmod_test): Add more tests.
34684
4842e4fe
JM
34685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34686 z computation is not scheduled after fetestexcept.
34687 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34688 Use math_force_eval instead of asm to ensure calculation scheduled
34689 before exception test.
34690 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34691 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34692
efb73488
AJ
346932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34694
34695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34696 computation is not scheduled after fetestexcept.
34697
29bcce7c
L
346982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34699
34700 [BZ #14117]
34701 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34702 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34703
73a68f94
AZ
347042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34705
34706 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34707 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34708
67b6df78
L
347092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34710
edf2933a 34711 [BZ #14117]
ebc64a18
L
34712 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34713 <bits/wordsize.h>.
34714 (__WCHAR_MIN): Support __WORDSIZE == 64.
34715 (__WCHAR_MAX): Likewise.
34716
edf2933a
L
34717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34718 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34719
57c6cf40
L
34720 [BZ #14183]
34721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34722 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34723
67b6df78 34724 [BZ #14117]
8eb6281e
L
34725 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34727
aac639f4
L
34728 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34729 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34730
67b6df78
L
34731 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34732 Defined to 1 if __x86_64__ isn't defined.
34733 (_STAT_VER_LINUX_OLD): New.
34734 (st_atime): Remove duplicate.
34735 (st_mtime): Likewise.
34736 (st_ctime): Likewise.
34737
1c2cfe81
DM
347382012-05-31 David S. Miller <davem@davemloft.net>
34739
34740 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34741 entries.
34742
5be8418c
AS
347432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34744
e7725326
AS
34745 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34746 gen-libm-test.pl.
34747
5be8418c
AS
34748 [BZ #14132]
34749 * elf/dl-reloc.c: Include <_itoa.h>.
34750 (_dl_reloc_bad_type): Remove use of INTUSE.
34751 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34752 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34753 * stdio-common/psiginfo.c (psiginfo): Likewise.
34754 * stdio-common/psignal.c (psignal): Likewise.
34755 * string/strsignal.c (strsignal): Likewise.
34756 * include/signal.h (_sys_siglist): Declare hidden proto.
34757 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34758 INTVARDEF with libc_hidden_data_def.
34759 * stdio-common/itoa-udigits.c: Likewise.
34760 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34761 (_itoa_lower_digits_internal): Remove declaration.
34762 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34763 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34764 (_sys_sigabbrev_internal): Remove aliases.
34765 (_sys_siglist): Define hidden alias.
34766
507352f1
MT
347672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34768
34769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34770 bits/sysctl.h.
34771
42bbb1c3
L
347722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34773
34774 [BZ #14117]
6bd784b6
L
34775 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34776 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34777
8bca20f0
L
34778 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34779 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34780 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34781 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34782 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34783 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34784
f9e890a9
L
34785 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34786 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34787 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34788
471101a1
L
34789 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34790 with __addr.
34791 (insw): Likewise.
34792 (insl): Likewise.
34793 (outsb): Likewise.
34794 (outsw): Likewise.
34795 (outsl): Likewise.
34796
6451c862
L
34797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34798 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34799 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34800
a254b8c9
L
34801 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34802 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34804 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34805 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34806 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34807
b8dfdd92
L
34808 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34809 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34810
578cd270
L
34811 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34812 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34813
de662f5f
L
34814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34816 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34817
25653439
L
34818 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34819 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34820 to ...
34821 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34822
6bad24a0
L
34823 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34824 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34825 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34826
42bbb1c3
L
34827 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34828 for x86-64.
34829 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34830
2d10d547
JM
348312012-05-31 Joseph Myers <joseph@codesourcery.com>
34832
34833 * math/math.h (M_El): Use two more decimal places.
34834 (M_LOG2El): Likewise.
34835 (M_LOG10El): Likewise.
34836 (M_LN2l): Likewise.
34837 (M_LN10l): Likewise.
34838 (M_PIl): Likewise.
34839 (M_PI_2l): Likewise.
34840 (M_PI_4l): Likewise.
34841 (M_1_PIl): Likewise.
34842 (M_2_PIl): Likewise.
34843 (M_2_SQRTPIl): Likewise.
34844 (M_SQRT2l): Likewise.
34845 (M_SQRT1_2l): Likewise.
34846
f230c29b
DM
348472012-05-31 David S. Miller <davem@davemloft.net>
34848
34849 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34850 values between float registers.
34851 * sysdeps/sparc/sparc64/memset.S: Likewise.
34852 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34853
fed806c3
MF
348542012-05-31 Mike Frysinger <vapier@gentoo.org>
34855
34856 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34857 -D_FORTIFY_SOURCE=1.
34858 (CPPFLAGS-tst-longjmp_chk.c): Define.
34859 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34860 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34861 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34862 CFLAGS-tst-wchar-h.c.
34863
30917259
MP
348642012-05-31 Marek Polacek <polacek@redhat.com>
34865
34866 [BZ #14132]
34867 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34868 __endmntent_internal): Remove declaration.
34869 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34870 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34871 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34872
1c58d5dc
DM
348732012-05-30 David S. Miller <davem@davemloft.net>
34874
34875 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34876 (___Q_simulate_exceptions): Use real FP ops rather than writing
34877 into the %fsr.
34878 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34879 Likewise.
34880
7dc00e0d
L
348812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34882
34883 [BZ #14117]
0bd53985
L
34884 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34885 * sysdeps/x86/bits/xtitypes.h: This.
34886
3a257e66
L
34887 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34888 * sysdeps/x86/bits/wordsize.h: This.
34889
62f62904
L
34890 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34891 * sysdeps/x86/bits/huge_vall.h: This.
34892
404fe9d9
L
34893 * sysdeps/i386/bits/select.h: Removed.
34894 * sysdeps/x86_64/bits/select.h: Renamed to ...
34895 * sysdeps/x86/bits/select.h: This.
34896
d48d0446
L
34897 * sysdeps/i386/bits/setjmp.h: Removed.
34898 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34899 * sysdeps/x86/bits/setjmp.h: This.
34900
7dc00e0d
L
34901 * sysdeps/i386/bits/mathdef.h: Removed.
34902 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34903 * sysdeps/x86/bits/mathdef.h: This.
34904
03277f8f
AS
349052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34906
34907 [BZ #14132]
34908 * include/sys/socket.h (__connect_internal)
34909 (__libc_sa_len_internal): Remove declaration.
34910 (__connect, __libc_sa_len): Declare hidden_proto.
34911 (SA_LEN): Remove use of INTUSE.
34912 * socket/connect.c: Add libc_hidden_def.
34913 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34914 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34915 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34916 alias.
34917 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34918 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34919 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34920 of adding _internal alias.
34921
13764867
L
349222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34923
34924 [BZ #14117]
6bd97696
L
34925 * sysdeps/i386/bits/link.h: Removed.
34926 * sysdeps/i386/bits/linkmap.h: Likewise.
34927 * sysdeps/x86_64/bits/link.h: Renamed to ...
34928 * sysdeps/x86/bits/link.h: This.
34929 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34930 * sysdeps/x86/bits/linkmap.h: This.
34931
f726f0bb
L
34932 * sysdeps/i386/bits/endian.h: Removed.
34933 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34934 * sysdeps/x86/bits/endian.h: This.
34935
13764867
L
34936 * sysdeps/i386/bits/byteswap.h: Removed.
34937 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34938 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34939 * sysdeps/x86/bits/byteswap.h: This.
34940 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34941 * sysdeps/x86/bits/byteswap-16.h: This.
34942 * sysdeps/i386/Implies: Add x86.
34943 * sysdeps/x86_64/Implies: Likewise.
34944
ae251b0b
DM
349452012-05-30 David S. Miller <davem@davemloft.net>
34946
34947 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34948 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34950 (FP_TRAPPING_EXCEPTIONS): Define.
34951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34952 (FP_TRAPPING_EXCEPTIONS): Define.
34953 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34954 subnormals only when inexact has been signalled or underflow
34955 exceptions are enabled.
34956 (_FP_PACK_CANONICAL): Likewise.
34957
d5c90867
L
349582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34959
34960 [BZ #14183]
34961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34962 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34963
63f1549e
RH
349642012-05-30 Richard Henderson <rth@twiddle.net>
34965
8d8f2279
RH
34966 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34967 with #ifndef NOT_IN_libc.
34968
63f1549e
RH
34969 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34970 marked to avoid plt entry.
34971
0ab0291b
L
349722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34973
34974 [BZ #14112]
34975 * Makeconfig (default-abi): New macro.
34976 (abi-includes): Likewise.
34977 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34978 $(abi-$(default-abi)-lib-soname) for soname if defined.
34979 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34980 abi-variants.
34981 * Makefile (installed-stubs): Likewise.
34982 * include/stubs-biarch.h: Removed.
34983 * scripts/lib-names.awk: Only handle one library at a time.
34984 * scripts/soversions.awk: Remove WORDSIZE support.
34985 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34986 entries.
34987 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34988 Removed.
34989 (syscall-list-default-condition): Likewise.
34990 (syscall-list-default-condition): Likewise.
34991 (syscall-list-includes): Likewise.
34992 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34993 syscall-list-* with abi-*. Handle undefined abi-variants.
34994 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34995 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34996 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34997 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34998 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34999 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35000 Removed.
35001 (syscall-list-32-options): Likewise.
35002 (syscall-list-32-condition): Likewise.
35003 (syscall-list-64-options): Likewise.
35004 (syscall-list-64-condition): Likewise.
35005 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35006 macro.
35007 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35008 Renamed to ...
35009 (abi-*): This.
35010 (abi-64-ld-soname): New macro.
35011 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35012 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35013 Renamed to ...
35014 (abi-*): This.
35015 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35016 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35017
4da0431d
JM
350182012-05-30 Joseph Myers <joseph@codesourcery.com>
35019
3a85279c
JM
35020 * sysdeps/unix/sysv/linux/kernel-features.h
35021 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35022 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35023 include <kernel-features.h>.
35024 [!__NR_ftruncate64]: Remove conditional code.
35025 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35026 [__NR_ftruncate64]: Make code unconditional.
35027 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35028 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35029 include <kernel-features.h>.
35030 [!__NR_ftruncate64]: Remove conditional code.
35031 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35032 [__NR_ftruncate64]: Make code unconditional.
35033 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35035 include <kernel-features.h>.
35036 [!__NR_ftruncate64]: Remove conditional code.
35037 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35038 [__NR_ftruncate64]: Make code unconditional.
35039 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35041 include <kernel-features.h>.
35042 [!__NR_ftruncate64]: Remove conditional code.
35043 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35044 [__NR_ftruncate64]: Make code unconditional.
35045 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35046
4da0431d
JM
35047 * configure.in (libc_cv_fpie): Weaken to a compile test using
35048 LIBC_TRY_CC_OPTION.
35049 * configure: Regenerated.
35050
11ef492c
AK
350512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35052
35053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35057 Refreshed.
35058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35064 Refreshed.
35065
d66ef399
DM
350662012-05-27 David S. Miller <davem@davemloft.net>
35067
35068 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35069 (___Q_zero): New.
35070 (__Q_simulate_exceptions): Return void. Change to simulate
35071 exceptions by writing into the %fsr.
35072 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35073 (__Qp_handle_exceptions): Likewise.
35074 (numbers): Delete.
35075 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35076 __Qp_handle_exceptions.
35077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35078 __Qp_handle_exceptions.
35079 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35080 as unused and give dummy FP_RND_NEAREST initializer.
35081 (FP_INHIBIT_RESULTS): Define.
35082 (___Q_simulate_exceptions): Update declaration.
35083 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35084 formatting.
35085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35086 as unused and give dummy FP_RND_NEAREST initializer.
35087 (__Qp_handle_exceptions): Update declaration.
35088 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35089 formatting.
35090
04fb54b5
TS
350912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35092
35093 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35094 the temporary FPU control word.
35095 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35096 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35097 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35098 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35099 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35100 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35101 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35102 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35103 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35104 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35105 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35106
3f99608f
KK
351072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35108
35109 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35110 fields.
35111
65a4de4e
CLT
351122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35113
35114 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35115 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35116 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35117 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35118 Likewise.
35119 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35120 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35121 Likewise.
35122
15749d40
UD
351232012-05-27 Ulrich Drepper <drepper@gmail.com>
35124
35125 * po/h.po: Update from translation team.
35126
25dbcb27
AS
351272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35128
3d3f8e55
AS
35129 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35130
25dbcb27
AS
35131 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35132 handling of denormals.
35133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35134 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35135 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35136 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35140 Likewise.
35141
7ad47a80 351422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
35143
35144 [BZ #14152]
35145 * math/libm-test.inc (fma_test): Don't always expect underflow
35146 exception.
35147
9c6ea9fa
SP
351482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35149
35150 [BZ #12416]
35151 * elf/tst-execstack.c: Include stackinfo.h.
35152 (do_test): Adjust test case to ensure that pthread_getattr_np
35153 behaviour remains the same after marking stack executable.
35154
a8239222
JM
351552012-05-25 Joseph Myers <joseph@codesourcery.com>
35156
35157 * sysdeps/unix/sysv/linux/kernel-features.h
35158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35159 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35160 kernel-features.h.
35161 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35162 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35163 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35164 kernel-features.h.
35165 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35166 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35167
918b5606
L
351682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35169
35170 * configure.in: Define the default includes to being none.
35171 * configure: Regenerated.
35172
3a097cc7
RM
351732012-05-25 Roland McGrath <roland@hack.frob.com>
35174
8422c9a5
RM
35175 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35176 * sysdeps/x86_64/setjmp.S: Likewise.
35177 * sysdeps/i386/bsd-setjmp.S: Likewise.
35178 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35179 * sysdeps/i386/setjmp.S: Likewise.
35180 * sysdeps/i386/__longjmp.S: Likewise.
35181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35182 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35183
3a097cc7
RM
35184 * include/stap-probe.h: New file.
35185 * configure.in: Handle --enable-systemtap.
35186 * configure: Regenerated.
35187 * config.h.in (USE_STAP_PROBE): New #undef.
35188 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35189 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35190 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35191
21708942
JM
351922012-05-25 Joseph Myers <joseph@codesourcery.com>
35193
35194 [BZ #13717]
35195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35196 to 2.4.0 where earlier.
35197 * sysdeps/unix/sysv/linux/configure: Regenerated.
35198 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35199 <kernel-features.h>.
35200 [__ASSUME_32BITUIDS]: Make code unconditional.
35201 [!__ASSUME_32BITUIDS]: Remove conditional code.
35202 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35203 <kernel-features.h>.
35204 [__ASSUME_32BITUIDS]: Make code unconditional.
35205 [!__ASSUME_32BITUIDS]: Remove conditional code.
35206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35207 [__ASSUME_32BITUIDS]: Make code unconditional.
35208 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35209 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
35218 <kernel-features.h>.
35219 [__ASSUME_32BITUIDS]: Make code unconditional.
35220 [!__ASSUME_32BITUIDS]: Remove conditional code.
35221 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35222 <kernel-features.h>.
35223 [__ASSUME_32BITUIDS]: Make code unconditional.
35224 [!__ASSUME_32BITUIDS]: Remove conditional code.
35225 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35226 <kernel-features.h>.
35227 [__ASSUME_32BITUIDS]: Make code unconditional.
35228 [!__ASSUME_32BITUIDS]: Remove conditional code.
35229 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35230 <kernel-features.h>.
35231 [__ASSUME_32BITUIDS]: Make code unconditional.
35232 [!__ASSUME_32BITUIDS]: Remove conditional code.
35233 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35234 <kernel-features.h>.
35235 [__ASSUME_32BITUIDS]: Make code unconditional.
35236 [!__ASSUME_32BITUIDS]: Remove conditional code.
35237 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35238 <kernel-features.h>.
35239 [__ASSUME_32BITUIDS]: Make code unconditional.
35240 [!__ASSUME_32BITUIDS]: Remove conditional code.
35241 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35242 <kernel-features.h>.
35243 [__ASSUME_32BITUIDS]: Make code unconditional.
35244 [!__ASSUME_32BITUIDS]: Remove conditional code.
35245 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35246 <kernel-features.h>.
35247 [__ASSUME_32BITUIDS]: Make code unconditional.
35248 [!__ASSUME_32BITUIDS]: Remove conditional code.
35249 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35250 <kernel-features.h>.
35251 [__NR_setresgid] (__setresgid): Do not declare.
35252 [__ASSUME_32BITUIDS]: Make code unconditional.
35253 [!__ASSUME_32BITUIDS]: Remove conditional code.
35254 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35255 <kernel-features.h>.
35256 [__NR_setresuid] (__setresuid): Do not declare.
35257 [__ASSUME_32BITUIDS]: Make code unconditional.
35258 [!__ASSUME_32BITUIDS]: Remove conditional code.
35259 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
35268 <kernel-features.h>.
35269 [__ASSUME_32BITUIDS]: Make code unconditional.
35270 [!__ASSUME_32BITUIDS]: Remove conditional code.
35271 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35272 <kernel-features.h>.
35273 [__ASSUME_32BITUIDS]: Make code unconditional.
35274 [!__ASSUME_32BITUIDS]: Remove conditional code.
35275 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35276 <kernel-features.h>.
35277 [__ASSUME_32BITUIDS]: Make code unconditional.
35278 [!__ASSUME_32BITUIDS]: Remove conditional code.
35279 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35280 <kernel-features.h>.
35281 [__ASSUME_32BITUIDS]: Make code unconditional.
35282 [!__ASSUME_32BITUIDS]: Remove conditional code.
35283 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35284 <kernel-features.h>.
35285 [__ASSUME_32BITUIDS]: Make code unconditional.
35286 [!__ASSUME_32BITUIDS]: Remove conditional code.
35287 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35288 <kernel-features.h>.
35289 [__ASSUME_32BITUIDS]: Make code unconditional.
35290 [!__ASSUME_32BITUIDS]: Remove conditional code.
35291 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35292 <kernel-features.h>.
35293 [__ASSUME_32BITUIDS]: Make code unconditional.
35294 [!__ASSUME_32BITUIDS]: Remove conditional code.
35295 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35296 <kernel-features.h>.
35297 [__ASSUME_32BITUIDS]: Make code unconditional.
35298 [!__ASSUME_32BITUIDS]: Remove conditional code.
35299 * sysdeps/unix/sysv/linux/kernel-features.h
35300 (__ASSUME_SETRESUID_SYSCALL): Remove.
35301 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35302 (__ASSUME_32BITUIDS): Likewise.
35303 (__ASSUME_LDT_WORKS): Likewise.
35304 (__ASSUME_O_DIRECTORY): Likewise.
35305 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35306 architecture but not kernel version.
35307 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35308 (__ASSUME_MMAP2_SYSCALL): Likewise.
35309 (__ASSUME_STAT64_SYSCALL): Likewise.
35310 (__ASSUME_IPC64): Likewise.
35311 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35312 <kernel-features.h>.
35313 [__ASSUME_32BITUIDS]: Make code unconditional.
35314 [!__ASSUME_32BITUIDS]: Remove conditional code.
35315 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35316 <kernel-features.h>.
35317 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35318 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35319 132096]: Remove conditional code.
35320 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35321 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35322 <kernel-features.h>.
35323 [__ASSUME_32BITUIDS]: Make code unconditional.
35324 [!__ASSUME_32BITUIDS]: Remove conditional code.
35325 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35326 <kernel-features.h>.
35327 [__ASSUME_32BITUIDS]: Make code unconditional.
35328 [!__ASSUME_32BITUIDS]: Remove conditional code.
35329 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35330 <kernel-features.h>.
35331 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35332 unconditional.
35333 (__setresgid): Do not declare.
35334 [__ASSUME_32BITUIDS]: Make code unconditional.
35335 [!__ASSUME_32BITUIDS]: Remove conditional code.
35336 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35337 <kernel-features.h>.
35338 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35339 unconditional.
35340 (__setresuid): Do not declare.
35341 [__ASSUME_32BITUIDS]: Make code unconditional.
35342 [!__ASSUME_32BITUIDS]: Remove conditional code.
35343 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35344 <kernel-features.h>.
35345 [__ASSUME_32BITUIDS]: Make code unconditional.
35346 [!__ASSUME_32BITUIDS]: Remove conditional code.
35347 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35348 <kernel-features.h>.
35349 [__ASSUME_32BITUIDS]: Make code unconditional.
35350 [!__ASSUME_32BITUIDS]: Remove conditional code.
35351
a386f1cc
RH
353522012-05-25 Richard Henderson <rth@twiddle.net>
35353
35354 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35355 dl_hwcap to ifunc resolver.
35356 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35357 elf_ifunc_invoke.
35358 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35359 dl_hwcap to ifunc resolver.
35360 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35361
b6550497
JM
353622012-05-24 Joseph Myers <joseph@codesourcery.com>
35363
35364 [BZ #14153]
35365 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35366 for |x| <= 2**-26, not 2**-57.
35367 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35368 exception.
35369
b0bc23a1
JL
353702012-05-24 Jeff Law <law@redhat.com>
35371
35372 * stdio-common/Makefile (tests): Add bug25.
35373 * stdio-common/bug25.c: New test.
35374
347c92e9
L
353752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35376
35377 [BZ #13576]
35378 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35379 multiple of MALLOC_ALIGNMENT in size.
35380 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35381
6bcc8b3f
JM
353822012-05-24 Joseph Myers <joseph@codesourcery.com>
35383
35384 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35385 Require >= 256.
35386 (FILENAME_MAX): Use macro-int-constant.
35387 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35388 (_IOFBF): Use macro-int-constant.
35389 (_IOLBF): Likewise.
35390 (_IONBF): Likewise.
35391 (SEEK_CUR): Likewise.
35392 (SEEK_END): Likewise.
35393 (SEEK_SET): Likewise.
35394 (TMP_MAX): Likewise.
35395 (EOF): Use macro-int-constant. Require < 0.
35396 (NULL): Use macro-constant. Require == 0.
35397 (stdin): Require type to be FILE *.
35398 (stdout): Likewise.
35399 (stderr): Likewise.
35400 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35401 macro-int-constant.
35402 (EXIT_SUCCESS): Likewise.
35403 (NULL): Use macro-constant. Require == 0.
35404 (RAND_MAX): Use macro-int-constant.
35405 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35406 [C99-based standards] (strtof): Require function.
35407 [C99-based standards] (strtold): Likewise.
35408 [C99-based standards] (strtoll): Likewise.
35409 [C99-based standards] (strtoull): Likewise.
35410 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35411 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35412 [ISO || ISO99 || ISO11] (math.h): Likewise.
35413 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35414 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35416
d18ea0c5
AS
354172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35418
35419 [BZ #14132]
56d25bb8
AS
35420 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35421 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35422 * intl/dgettext.c (DCGETTEXT): Likewise.
35423 * intl/gettext.c (DCGETTEXT): Likewise.
35424 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35425 * posix/regex_internal.h (gettext): Likewise.
35426 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35427 Remove declaration.
35428 * include/argz.h (__argz_count_internal)
35429 (__argz_stringify_internal): Remove declaration.
35430 (__argz_count, __argz_stringify): Declare hidden proto.
35431 * intl/dcgettext.c: Remove use of INTDEF.
35432 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35433 * string/argz-stringify.c: Likewise.
35434 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35435 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35436 Declare hidden proto.
d18ea0c5
AS
35437 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35438 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35439 Declare hidden proto.
35440 * include/stdio.h (__asprintf_internal): Don't declare.
35441 (__asprintf): Don't define as macro. Declare hidden proto.
35442 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35443 (__fsetlocking): Declare hidden proto.
35444 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35445 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35446 hidden proto.
35447 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35448 (_IO_setlinebuf): Remove use of INTUSE.
35449 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35450 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35451 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35452 Remove declaration.
35453 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35454 (_IO_do_flush): Remove use of INTUSE.
35455 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35456 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35457 (_IO_adjust_column, _IO_least_wmarker)
35458 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35459 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35460 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35461 (_IO_default_doallocate, _IO_wdefault_doallocate)
35462 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35463 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35464 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35465 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35466 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35467 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35468 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35469 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35470 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35471 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35472 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35473 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35474 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35475 proto.
35476 (_IO_flush_all_internal, _IO_adjust_column_internal)
35477 (_IO_default_uflow_internal, _IO_default_finish_internal)
35478 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35479 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35480 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35481 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35482 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35483 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35484 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35485 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35486 (_IO_file_close_internal, _IO_file_close_it_internal)
35487 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35488 (_IO_file_init_internal, _IO_file_attach_internal)
35489 (_IO_file_fopen_internal, _IO_file_read_internal)
35490 (_IO_file_sync_internal, _IO_file_seek_internal)
35491 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35492 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35493 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35494 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35495 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35496 (_IO_list_all_internal, _IO_link_in_internal)
35497 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35498 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35499 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35500 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35501 (_IO_do_write_internal, _IO_padn_internal)
35502 (_IO_getline_info_internal, _IO_getline_internal)
35503 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35504 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35505 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35506 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35507 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35508 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35509 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35510 with libc_hidden_ver, remove use of INTUSE.
35511 * libio/genops.c: Likewise.
35512 * libio/freopen.c: Likewise.
35513 * libio/freopen64.c: Likewise.
35514 * libio/iofclose.c: Likewise.
35515 * libio/iofdopen.c: Likewise.
35516 * libio/iofflush.c: Likewise.
35517 * libio/iofflush_u.c: Likewise.
35518 * libio/iofgets.c: Likewise.
35519 * libio/iofgets_u.c: Likewise.
35520 * libio/iofopen.c: Likewise.
35521 * libio/iofopncook.c: Likewise.
35522 * libio/iofread.c: Likewise.
35523 * libio/iofread_u.c: Likewise.
35524 * libio/ioftell.c: Likewise.
35525 * libio/iofwrite.c: Likewise.
35526 * libio/iogetline.c: Likewise.
35527 * libio/iogets.c: Likewise.
35528 * libio/iogetwline.c: Likewise.
35529 * libio/iopadn.c: Likewise.
35530 * libio/iopopen.c: Likewise.
35531 * libio/ioseekoff.c: Likewise.
35532 * libio/ioseekpos.c: Likewise.
35533 * libio/iosetbuffer.c: Likewise.
35534 * libio/iosetvbuf.c: Likewise.
35535 * libio/ioungetc.c: Likewise.
35536 * libio/ioungetwc.c: Likewise.
35537 * libio/iovdprintf.c: Likewise.
35538 * libio/iovsprintf.c: Likewise.
35539 * libio/iovsscanf.c: Likewise.
35540 * libio/memstream.c: Likewise.
35541 * libio/obprintf.c: Likewise.
35542 * libio/oldfileops.c: Likewise.
35543 * libio/oldiofclose.c: Likewise.
35544 * libio/oldiofdopen.c: Likewise.
35545 * libio/oldiofopen.c: Likewise.
35546 * libio/oldiopopen.c: Likewise.
35547 * libio/oldstdfiles.c: Likewise.
35548 * libio/putc.c: Likewise.
35549 * libio/setbuf.c: Likewise.
35550 * libio/setlinebuf.c: Likewise.
35551 * libio/stdfiles.c: Likewise.
35552 * libio/strops.c: Likewise.
35553 * libio/vasprintf.c: Likewise.
35554 * libio/vscanf.c: Likewise.
35555 * libio/vsnprintf.c: Likewise.
35556 * libio/vswprintf.c: Likewise.
35557 * libio/wfiledoalloc.c: Likewise.
35558 * libio/wfileops.c: Likewise.
35559 * libio/wgenops.c: Likewise.
35560 * libio/wmemstream.c: Likewise.
35561 * libio/wstrops.c: Likewise.
35562 * libio/__fpurge.c: Likewise.
35563 * libio/__fsetlocking.c: Likewise.
35564 * assert/assert.c: Likewise.
35565 * debug/fgets_chk.c: Likewise.
35566 * debug/fgets_u_chk.c: Likewise.
35567 * debug/fread_chk.c: Likewise.
35568 * debug/fread_u_chk.c: Likewise.
35569 * debug/gets_chk.c: Likewise.
35570 * debug/obprintf_chk.c: Likewise.
35571 * debug/vasprintf_chk.c: Likewise.
35572 * debug/vdprintf_chk.c: Likewise.
35573 * debug/vsnprintf_chk.c: Likewise.
35574 * debug/vsprintf_chk.c: Likewise.
35575 * malloc/mtrace.c: Likewise.
35576 * misc/error.c: Likewise.
35577 * misc/syslog.c: Likewise.
35578 * stdio-common/asprintf.c: Likewise.
35579 * stdio-common/fxprintf.c: Likewise.
35580 * stdio-common/getw.c: Likewise.
35581 * stdio-common/isoc99_fscanf.c: Likewise.
35582 * stdio-common/isoc99_scanf.c: Likewise.
35583 * stdio-common/isoc99_vfscanf.c: Likewise.
35584 * stdio-common/isoc99_vscanf.c: Likewise.
35585 * stdio-common/isoc99_vsscanf.c: Likewise.
35586 * stdio-common/printf-prs.c: Likewise.
35587 * stdio-common/printf_fp.c: Likewise.
35588 * stdio-common/printf_fphex.c: Likewise.
35589 * stdio-common/printf_size.c: Likewise.
35590 * stdio-common/putw.c: Likewise.
35591 * stdio-common/scanf.c: Likewise.
35592 * stdio-common/sprintf.c: Likewise.
35593 * stdio-common/tmpfile.c: Likewise.
35594 * stdio-common/vfprintf.c: Likewise.
35595 * stdio-common/vfscanf.c: Likewise.
35596 * stdlib/strfmon_l.c: Likewise.
35597 * sunrpc/openchild.c: Likewise.
35598 * sunrpc/xdr_stdio.c: Likewise.
35599 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35600 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35601
d6c33fda
RM
356022012-05-24 Roland McGrath <roland@hack.frob.com>
35603
c1487492
RM
35604 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35605
35606 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35607 in the third column, to generate for the shared library an IFUNC
35608 that uses _dl_vdso_vsym.
35609 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35610 * Makeconfig (object-suffixes-noshared): New variable.
35611
35612 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35613 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35614 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35615 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35616
d6c33fda
RM
35617 [BZ #14132]
35618 * include/sys/time.h (__gettimeofday): Remove macro.
35619 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35620 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35621 Remove INTDEF.
35622 (__gettimeofday): Add libc_hidden_def.
35623 (gettimeofday): Add libc_hidden_weak.
35624 * sysdeps/mach/gettimeofday.c: Likewise.
35625 * sysdeps/posix/gettimeofday.c: Likewise.
35626 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35627 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35629 (__gettimeofday_internal): Remove strong_alias.
35630 (__gettimeofday): Add libc_hidden_def.
35631 (gettimeofday): Add libc_hidden_weak.
35632 * sysdeps/unix/syscalls.list (gettimeofday):
35633 Remove __gettimeofday_internal alias.
35634
b5a2bbe6
L
356352012-05-24 Daniel Jacobowitz <drow@false.org>
35636 H.J. Lu <hongjiu.lu@intel.com>
35637
35638 [BZ #12495]
35639 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35640 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35641 (largebin_index_32_big): New.
35642 (largebin_index): Use it for 16-byte alignment.
35643 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35644 correction with front_misalign.
35645
cfba4fda
L
356462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35647
7f907421
L
35648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35650 Likewise.
35651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35652 Likewise.
35653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35654 Likewise.
35655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35656 Likewise.
35657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35658 Likewise.
35659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35660 Likewise.
35661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35662 Likewise.
35663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35664 Likewise.
35665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35666 Likewise.
35667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35668 Likewise.
35669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35670 Likewise.
35671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35672 Likewise.
35673
cfba4fda
L
35674 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35675 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35676
80bad0cc
JM
356772012-05-24 Joseph Myers <joseph@codesourcery.com>
35678
7a25eb06
JM
35679 [BZ #10846]
35680 [BZ #14036]
35681 * math/libm-test.inc (exp_test): Add test from bug 14036.
35682 (pow_test): Add test from bug 10846.
35683
795405f9
JM
35684 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35685 and other flags.
35686 (special_function): Do not include flags in test name.
35687 (parse_args): Likewise.
35688 * sysdeps/i386/fpu/libm-test-ulps: Update.
35689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35690 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35693
80bad0cc
JM
35694 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35695 exceptions.
35696 * math/libm-test.inc ("Philosophy"): Update comment about
35697 exception testing.
35698 (UNDERFLOW_EXCEPTION): New macro.
35699 (UNDERFLOW_EXCEPTION_OK): Likewise.
35700 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35701 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35702 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35703 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35704 (INVALID_EXCEPTION_OK): Update value.
35705 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35706 (OVERFLOW_EXCEPTION_OK): Likewise.
35707 (IGNORE_ZERO_INF_SIGN): Likewise.
35708 (test_exceptions): Handle underflow exceptions.
35709 (acos_test): Update for underflow exception expectations.
35710 (cexp_test): Likewise.
35711 (clog_test): Likewise.
35712 (clog10_test): Likewise.
35713 (csqrt_test): Likewise.
35714 (ctan_test): Likewise.
35715 (ctanh_test): Likewise.
35716 (exp_test): Likewise.
35717 (exp10_test): Likewise.
35718 (exp2_test): Likewise.
35719 (expm1_test): Likewise.
35720 (fma_test): Likewise.
35721 (j0_test): Likewise.
35722 (jn_test): Likewise.
35723 (nexttoward_test): Likewise.
35724 (pow_test): Likewise.
35725 (scalbn_test): Likewise.
35726 (scalbln_test): Likewise.
35727 (tan_test): Likewise.
35728 (y1_test): Likewise.
35729 * sysdeps/i386/fpu/libm-test-ulps: Update.
35730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35731
9e0e3d0b
DM
357322012-05-23 David S. Miller <davem@davemloft.net>
35733
35734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35735 (__libc_sigaction): Remove unused local variables.
35736
ccd0a08f
L
357372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35738
35739 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35740
62bdf9a6
PE
357412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35742
f8591f80
PE
35743 mktime: avoid signed integer overflow
35744 * time/mktime.c (__mktime_internal): Do not mishandle the case
35745 where diff == INT_MIN.
35746
94c7d826
PE
35747 mktime: simplify computation of average
35748 * time/mktime.c (ranged_convert): Use new time_t_avg function
35749 instead of rolling our own (probably-slower) code.
35750
ce73d683
PE
35751 mktime: do not assume signed right shift propagates sign bit
35752 * time/mktime.c (isdst_differ): New static function.
35753 (__mktime_internal): No need to normalize tm_isdst now.
35754 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35755 tm_isdst values.
35756
72a22e59
PE
35757 mktime: merge another wrapv change from gnulib
35758 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35759 from some compilers.
35760
68605433
PE
35761 mktime: remove incorrect attempt at unusual arithmetics
35762 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35763 The code didn't really work on such machines anyway.
35764 (TYPE_MINIMUM): Assume two's complement.
35765 (twos_complement_arithmetic): Verify that long_int and time_t
35766 are two's complement (or unsigned, in the latter case).
35767
03cf7fe3
PE
35768 mktime: check signed shifts on long_int and time_t, too
35769 * time/mktime.c (SHR): Check that shifts work as desired
35770 on the types long_int and time_t too, as SHR is used on
35771 such types.
35772
f04dfbc2
PE
35773 mktime: do not assume 'long' is wide enough
35774 * time/mktime.c (verify): Move decl up.
35775 (long_int): New type.
35776 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35777 to remove assumption in the code that 'long' is wide enough to
35778 store year values. This assumption is not true on x32 and on
35779 some non-glibc platforms.
35780
62bdf9a6
PE
35781 mktime: merge wrapv change from gnulib
35782 * time/mktime.c (WRAPV): New macro.
35783 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35784 (guess_time_tm, __mktime_internal): Do not assume that signed
35785 integer overflow wraps around; modern compilers generate code
35786 where this assumption is no longer valid.
35787
5e292e4f
L
357882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35789
35790 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35791 Replace "jmp L(pseudo_end)" with "ret".
35792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35793 Likewise.
35794
8caf8c87
AJ
357952012-05-23 Andreas Jaeger <aj@suse.de>
35796
35797 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35798 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35799
1a09dc56
AJ
358002012-05-23 Andreas Jaeger <aj@suse.de>
35801 Maximilian Attems <max@stro.at>
35802
35803 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35804 New macros.
35805
1c87aba0
L
358062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35807
35808 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35809 code so that pseudo_end is just ret and the stack pointer is
35810 correct also for static library in error case.
35811
40e45bd5
JM
358122012-05-23 Joseph Myers <joseph@codesourcery.com>
35813
c2670533
JM
35814 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35815 move to syscalls.list.
35816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35820
40e45bd5
JM
35821 * manual/install.texi (Running make install): Do not mention Linux
35822 kernel version for which pt_chown is not needed.
35823 (Linux): Do not mention problems with nscd with 2.0 kernels.
35824 * INSTALL: Regenerated.
35825
be08eda5
AJ
358262012-05-23 Andreas Jaeger <aj@suse.de>
35827
35828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35829 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35830 macro.
35831 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35832 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35833 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35835 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35839 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35841 * sysdeps/unix/sysv/linux/bits/in.h
35842 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35843
a6a056bb
RM
358442012-05-22 Roland McGrath <roland@hack.frob.com>
35845
35846 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35847 (PREPARE_VERSION): Just use assert instead, it will be elided
35848 under [NDEBUG] anyway.
35849
c9009328
L
358502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35851
35852 * sysdeps/unix/sysv/linux/Makefile: Include
35853 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 35854 (sysdep_routines): Remove sysctl.
c9009328
L
35855 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35856 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35857 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35858 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35859 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35860
73338355
AJ
358612012-05-22 Andreas Jaeger <aj@suse.de>
35862
35863 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35864 that pseudo_end is just ret and the stack pointer is correct also
35865 for static library in error case.
35866
d44638b0
PP
358672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35868
35869 [BZ #14122]
35870 * nss/nsswitch.c (defconfig_entries): New variable.
35871 (__nss_database_lookup): Don't leak defconfig entries.
35872 (nss_parse_service_list): Don't leak on error paths.
35873 (free_database_entries): New function.
35874 (free_defconfig): New function.
35875 (free_mem): Move common code to free_database_entries.
35876
31a39bd8
L
358772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35878
da0331a8
L
35879 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35880 Add arch_prctl.
35881 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35882
31a39bd8
L
35883 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35884 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35885 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35886 New macro.
35887 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35888 (INTERNAL_SYSCALL_TYPES): Likewise.
35889 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35890 (LOAD_REGS_TYPES_[1-6]): Likewise.
35891 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35892 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35893
45470df3
AZ
358942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35895
35896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35897 copysignl for GLIBC_2_0.
35898 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35899 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35901 logbl for GLIBC_2_0.
35902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35903 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35904
98a61bcb
L
359052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35906
a4f6e481
L
35907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35908 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35909
f63d5db6
L
35910 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35911 Use "neg %eax".
35912
98a61bcb
L
35913 * time/mktime.c: Update copyright years.
35914
95770f14
PE
359152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35916
6226efbd
PE
35917 mktime: merge comment-quoting-style change from gnulib
35918 * time/mktime.c: Quote 'like this' in comments.
35919 The GNU coding standards suggest that we no longer quote `like this',
35920 as "`" and "'" are typically rendered asymmetrically nowadays.
35921 The typical gnulib style is to quote 'like this' when quoting
35922 code, and "like this" when quoting English.
35923
b99e4f78
PE
35924 * time/mktime.c (compile-command): Add "-I.".
35925
643e01e6
PE
35926 mktime: merge mktime-internal.h change from gnulib
35927 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35928
2554247d
PE
35929 mktime: merge time_r change from gnulib
35930 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35931
826dd0ab
PE
35932 mktime: merge DEBUG change from gnulib
35933 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35934 case system <time.h> has a #define.
35935
bd83aabe
PE
35936 mktime: merge <sys/types.h> change from gnulib
35937 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35938 since <time.t> is now guaranteed to define time_t.
35939
95770f14
PE
35940 mktime: merge HAVE_CONFIG_H change from gnulib
35941 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35942
5e1a27a9
L
359432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35944
0e44a77e
L
35945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35946 Use "neg %eax".
35947
5e1a27a9
L
35948 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35949 __rlim_t cast.
35950 (struct rusage): Use anonymous union to pad each field to
35951 __syscall_slong_t.
35952
46259bec
DM
359532012-05-21 David S. Miller <davem@davemloft.net>
35954
35955 * Makefules (o-iterator): Remove .s cases.
35956 (compile-command.s): Delete.
35957 (COMPILE.s): Delete.
35958 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35959
59f0c22e
JM
359602012-05-21 Joseph Myers <joseph@codesourcery.com>
35961
35962 * configure.in (libc_cv_predef_stack_protector): Only consider
35963 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35964 * configure: Regenerated.
35965
20c07380
L
359662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35967
bbb3154b
L
35968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35969 New macro. Use R*LP on int and pointer.
35970 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
35971 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35972 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
35973 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35974
20c07380
L
35975 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35976 [__WORDSIZE_TIME64_COMPAT32] instead of
35977 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35978 (struct utmp): Likewise.
35979 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35980 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35981 Renamed to ...
35982 (__WORDSIZE_TIME64_COMPAT32): This.
35983 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35984 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35985 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35986 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35987 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35988 (__WORDSIZE_TIME64_COMPAT32): New macro.
35989
d8d1017e
AJ
359902012-05-21 Andreas Jaeger <aj@suse.de>
35991
35992 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35993 only if [SHARED]. Add prototype for __wcschr_ia32.
35994
6c7fb145
RM
359952012-05-21 Roland McGrath <roland@hack.frob.com>
35996
35997 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35998 of %rbp unmolested in the jmp_buf while mangling the low bits.
35999 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36000 unmolested high bits of %rbp while demangling the low bits.
36001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36002
66274218
AJ
360032012-05-21 Andreas Jaeger <aj@suse.de>
36004
07c58f8f
AJ
36005 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36006 * sunrpc/svc_simple.c: Use it for registerrpc.
36007 * sunrpc/xcrypt.c: Use it for passwd2des.
36008
66274218
AJ
36009 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36010
61f65140
L
360112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36014 Don't define if [__SYSCALL_WORDSIZE != 32].
36015 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36016 New macro.
36017
5fefb436
AJ
360182012-05-21 Bruno Haible <bruno@clisp.org>
36019 Andreas Jaeger <aj@suse.de>
36020
36021 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36022 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36023 inptr and inend for must_buffer_ch.
36024 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36025 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36026 * stdio-common/Makefile (tests): Remove bug15.
36027 (bug15-ENV): Remove macro.
36028 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36029 anymore.
36030
d8e272ab
AJ
360312012-05-19 Andreas Jaeger <aj@suse.de>
36032 Roland McGrath <roland@hack.frob.com>
36033
36034 * manual/contrib.texi: Completely rewritten. It contains now an
36035 alphabetical list of contributors and their contributions.
36036
4a56a162
RH
360372012-05-21 Richard Henderson <rth@twiddle.net>
36038
36039 * misc/getauxval.c (__getauxval): Use unsigned long int.
36040 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36041 (getauxval): Use unsigned long int.
36042
d024d23c
L
360432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36044
36045 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36046
cbc00a03
RM
360472012-05-21 Roland McGrath <roland@hack.frob.com>
36048
36049 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36050 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36051 __alignof__ (long double).
36052
478143fa
AZ
360532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36054
36055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36056
c7683a6d
RH
360572012-05-20 Richard Henderson <rth@twiddle.net>
36058
36059 * misc/getauxval.c: New file.
36060 * misc/sys/auxv.h: New file.
36061 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36062 (routines): Add getauxval.
36063 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36064 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36065 * elf/dl-sysdep.c (_dl_auxv): Remove.
36066 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36067 * elf/dl-support.c (_dl_auxv): New variable.
36068 (_dl_aux_init): Initialize it.
36069 * manual/startup.texi (Auxiliary Vector): New node.
36070 * sysdeps/generic/bits/hwcap.h: New file.
36071 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36072 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36073 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36074 * sysdeps/sparc/sysdep.h: ... here. Include it.
36075 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36076 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
36077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36078 Update.
c7683a6d
RH
36079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36082 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36087
a6f1845d
AZ
360882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36089
36090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36091
cbcbe830
DM
360922012-05-19 David S. Miller <davem@davemloft.net>
36093
36094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36095
e0b16cc2
JM
360962012-05-19 Joseph Myers <joseph@codesourcery.com>
36097
36098 [BZ #14123]
36099 * math/s_ccosh.c: Include <float.h>
36100 (__ccosh): Avoid internal overflow calculating sinh and cosh
36101 values before multiplying by sin and cos values.
36102 * math/s_ccoshf.c: Likewise.
36103 * math/s_ccoshl.c: Likewise.
36104 * math/s_csin.c: Likewise.
36105 * math/s_csinf.c: Likewise.
36106 * math/s_csinl.c: Likewise.
36107 * math/s_csinh.c: Likewise.
36108 * math/s_csinhf.c: Likewise.
36109 * math/s_csinhl.c: Likewise.
36110 * math/libm-test.inc (ccos_test): Add more tests.
36111 (ccosh_test): Likewise.
36112 (csin_test): Likewise.
36113 (csinh_test): Likewise.
36114 * sysdeps/i386/fpu/libm-test-ulps: Update.
36115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36116
6ad13e08
L
361172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36118
f66f0ce8
L
36119 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36120 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36121
6ad13e08
L
36122 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36123
b1d072a7
JM
361242012-05-19 Joseph Myers <joseph@codesourcery.com>
36125
36126 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36127 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36128 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36129 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36130 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36131 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36132 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36133 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36134 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36135 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36136 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36137 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36138 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36139 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36140 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36141 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36142 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36143 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36144 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36145 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36146 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36147 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36148 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36149 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36150 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36151 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36152 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36153 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36154 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36155 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36156 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36157
9eae47cb
AJ
361582012-05-18 Andreas Jaeger <aj@suse.de>
36159
36160 * csu/.gitignore: Delete.
36161
bb07f69f
L
361622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36163
36164 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36165 (timex): Use __syscall_slong_t.
36166
e6bdb741
AJ
361672012-05-18 Andreas Jaeger <aj@suse.de>
36168 Carlos O'Donell <carlos_odonell@mentor.com>
36169
36170 * manual/install.texi (Configuring and compiling): Update
36171 description about files modified in the source directory.
d6c33fda 36172 * INSTALL: Regenerated.
e6bdb741 36173
1b74487e
L
361742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36175
36176 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36177 value. Use "or" to set return value to -1.
36178 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36179 negate return value.
36180
a88b64b9
TMQMF
361812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36182
57f41c40
AS
36183 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36184 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
36185 failure if the compiler has Graphite support disabled.
36186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36187 Likewise.
57f41c40
AS
36188 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36189 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
36190 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36191 Likewise.
36192
3707636e
L
361932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36194
610b8622
L
36195 * sysdeps/x86_64/x32/_itoa.h: New file.
36196
7cd195df
L
36197 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36198 getdents system call only if kernel and user dirents have the
36199 same d_ino and d_off.
36200
94b07d20
L
36201 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36202 LLONG_MAX != LONG_MAX.
36203 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36204 (_fitoa_word): Likewise.
36205
18298070
L
36206 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36207 years.
36208 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36209 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36210 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36211
553c7ea4
L
36212 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36213 include <bits/wordsize.h>. Check __x86_64__ instead of
36214 __WORDSIZE.
36215 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36216 if __x86_64__ is defined. Use anonymous union on fpstate.
36217
3707636e
L
36218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36219 anonymous union.
36220
b53ef01a
AS
362212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36222
37fb1dc0
AS
36223 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36224 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36226 Refer to _rtld_local_ro instead of _rtld_global_ro.
36227 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36228 Likewise.
36229 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36230 Likewise.
36231 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36232 Likewise.
36233 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36234 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36235 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36236
b53ef01a
AS
36237 * sysdeps/powerpc/powerpc32/dl-machine.c
36238 (__elf_machine_runtime_setup) [PROF]: Don't reference
36239 _dl_prof_resolve.
36240
7a185db2
AJ
362412012-05-18 Andreas Jaeger <aj@suse.de>
36242
36243 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36244 function only available for GCCs before 3.4 since GCC 3.4
36245 introduced a builtin.
36246 (lrint): Likewise.
36247 (llrintf): Likewise.
36248 (llrint): Likewise.
36249 (fmaxf): Likewise.
36250 (fmax): Likewise.
36251 (fminf): Likewise.
36252 (fmin): Likewise.
36253 (rint): Likewise.
36254 (rintf): Likewise.
36255 (nearbyint): Likewise.
36256 (nearbyintf): Likewise.
36257 (ceil): Likewise.
36258 (ceilf): Likewise.
36259 (floor): Likewise.
36260 (floorf): Likewise.
36261
3e5aef87
L
362622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36263
428bd707
L
36264 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36265 on both fields and cast pointer to __syscall_ulong_t.
36266
3e5aef87
L
36267 * bits/types.h (__fsword_t): New type.
36268 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36269 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36271 (__FSWORD_T_TYPE): Likewise.
36272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36273 (__FSWORD_T_TYPE): Likewise.
36274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36275 (__FSWORD_T_TYPE): Likewise.
36276 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36277 (__FSWORD_T_TYPE): Likewise.
36278 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36279 __SWORD_TYPE with __fsword_t.
36280 (statfs64): Likewise.
36281
1ba7c3dc
DM
362822012-05-17 David S. Miller <davem@davemloft.net>
36283
36284 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36285
59910343
AJ
362862012-05-17 Andreas Jaeger <aj@suse.de>
36287
36288 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36289 warning.
36290
2e4c1e9e
L
362912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36292
36293 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36294
de7f5ce7
AJ
362952012-05-17 Andreas Jaeger <aj@suse.de>
36296
36297 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36298 when it is used.
36299
286abc3d
CM
363002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36301
36302 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36303
477cc68e
L
363042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36305
36306 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36307 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36308
1a0994f5
CD
363092012-05-17 Andreas Jaeger <aj@suse.de>
36310 Carlos O'Donell <carlos_odonell@mentor.com>
36311
36312 [BZ #14059]
36313 * sysdeps/x86_64/multiarch/init-arch.h
36314 (bit_YMM_Usable): Rename to...
36315 (bit_AVX_Usable): ... this.
36316 (bit_FMA4_Usable): New macro.
36317 (bit_XMM_state): New macro.
36318 (bit_YMM_state): New macro.
36319 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36320 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36321 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36322 (CPUID_OSXSAVE): New macro.
36323 (CPUID_AVX): New macro.
36324 (CPUID_FMA4): New macro.
36325 (index_YMM_Usable): Rename to...
36326 (index_AVX_Usable): ... this.
36327 (HAS_AVX): Use HAS_ARCH_FEATURE.
36328 (HAS_FMA4): Likewise.
36329 (HAS_YMM_USABLE): Remove.
36330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36331 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36332 are present.
36333 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36334 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36335 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36336 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36337 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36338
0af797de
CM
363392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36340
36341 * math/libm-test.c: Support platforms without multiple rounding modes.
36342 * math/bug-nextafter.c: Support platforms without FP exceptions.
36343 * math/bug-nexttoward.c: Likewise.
36344 * math/test-fenv.c: Likewise.
36345 * math/test-misc.c: Likewise.
36346 * stdlib/bug-getcontext.c: Likewise.
36347
e39745ff
AJ
363482012-05-17 Andreas Jaeger <aj@suse.de>
36349
36350 * manual/examples/search.c (critter_cmp): Change signature to
36351 avoid warnings.
36352 * manual/string.texi (Collation Functions): Likewise.
36353
48970aba
L
363542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36355
36356 * bits/types.h: Fold copyright years.
36357 * bits/typesizes.h: Likewise.
36358 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36362 * time/time.h: Likewise.
36363
bedee953
PP
363642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36365
36366 [BZ #208]
36367 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36368 in instead of returning them. Return void.
36369 (__libc_mallinfo): Accumulate over all arenas.
36370 (__malloc_stats): Adjust for change in int_mallinfo interface.
36371
61653dfb
RM
363722012-05-16 Roland McGrath <roland@hack.frob.com>
36373
30b99d79
RM
36374 [BZ #10375]
36375 * configure.in (NM): Add AC_CHECK_TOOL for it.
36376 (libc_extra_cflags): New substituted variable.
36377 Check for -fstack-protector being used implicitly.
36378 * configure: Regenerated.
36379 * config.make.in (config-extra-cflags): New variable,
36380 gets @libc_extra_cflags@.
36381 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36382
61653dfb
RM
36383 [BZ #10375]
36384 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36385 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36386 * configure: Regenerated.
36387 * config.make.in (CPPUNDEFS): New substituted variable.
36388 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36389 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36390 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36391
661768bb
L
363922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36393
36394 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36395 (mq_attr): Use __syscall_slong_t.
36396
d4261567
L
363972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36398
36399 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36400 Check __x86_64__ instead of __WORDSIZE.
36401 (_STAT_VER_LINUX): Likewise.
36402 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36403 __syscall_ulong_t and __syscall_slong_t.
36404 (stat64): Likewise.
36405
cf3ff365
L
364062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36407
36408 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36409
76cf3e4d
L
364102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36411
36412 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36413
a637753a
L
364142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36415
36416 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36417 __syscall_ulong_t.
36418
d5e05119
L
36419 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36420 include <bits/wordsize.h>. Check __x86_64__ instead of
36421 __WORDSIZE.
36422 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36423 defined.
36424 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36425
f62ee380
L
36426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36427 include <bits/wordsize.h>. Check __x86_64__ instead of
36428 __WORDSIZE.
36429 (user_regs_struct): Use "__extension__ unsigned long long"
36430 instead of "unsigned long" if __x86_64__ is defined.
36431 (user): Likewise. Pad after pointer field if __ILP32__ is
36432 defined.
36433
4e124ced
JM
364342012-05-16 Joseph Myers <joseph@codesourcery.com>
36435
6a3951a0
JM
36436 * configure.in (makeinfo): Require version 4.5 or later. Allow
36437 versions 5 to 9.
36438 * configure: Regenerated.
36439 * manual/install.texi (texinfo): Increase version requirement to
36440 4.5 or later.
36441 * INSTALL: Regenerated.
36442
4e124ced
JM
36443 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36444
953ca31a
L
364452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36446
36447 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36448
617aca05
L
36449 * sysdeps/x86_64/x32/ffs.c: New file.
36450
5762f7ae
L
36451 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36452 __syscall_ulong_t.
36453 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36454 defined. Use __syscall_ulong_t.
36455 (shminfo): Use __syscall_ulong_t.
36456 (shm_info): Likewise.
36457
a26b6856
L
36458 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36459 __syscall_ulong_t.
36460
cb2b9ef7
L
36461 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36462 <bits/wordsize.h>.
36463 (msgqnum_t): Use __syscall_ulong_t.
36464 (msglen_t): Likewise.
36465 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36466 __syscall_ulong_t.
36467
34683bb0
L
36468 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36469 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36470
84a68786
L
36471 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36472
48baa5f1
L
36473 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36474 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36475
180be88b
L
36476 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36477 __syscall_slong_t.
36478
5e90c8ad
L
36479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36480 include <bits/wordsize.h>. Check __x86_64__ instead of
36481 __WORDSIZE.
36482
23dfb58b
L
36483 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36484 "unsigned long long int" if __x86_64__ is defined.
36485 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36486
ce5d54b0
L
36487 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36488 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36489 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36490
13dc9eac
L
36491 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36492 <stdint.h>.
36493 (GET_PC): Cast to uintptr_t first.
36494 (GET_FRAME): Likewise.
36495 (GET_STACK): Likewise.
36496
a7895d15
L
36497 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36499 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36501 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36503 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36504 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36505 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36506 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36508 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36512 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36522 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36524 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36526
656416c9
AS
365272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36528
5bd66283
AS
36529 * Makerules (+depfiles): Also collect depfiles from .oS in
36530 $(extra-objs).
36531 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36532 .oS, $(libnldbl-routines)).
36533
656416c9
AS
36534 * Makerules (native-compile-mkdep-flags): Define.
36535 * sunrpc/Makefile (extra-objs): Add $(addprefix
36536 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36537 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36538 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36539 calling $(make-target-directory).
36540
a46f2169
L
365412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36542
36543 * bits/types.h (__snseconds_t): Removed.
36544 * time/time.h (struct timespec): Replace __snseconds_t with
36545 __syscall_slong_t.
36546 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36547 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36548 Likewise.
36549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36550 (__SNSECONDS_T_TYPE): Likewise.
36551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36552 (__SNSECONDS_T_TYPE): Likewise.
36553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36554 (__SNSECONDS_T_TYPE): Likewise.
36555
6af6528b
L
365562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36557
36558 * sysdeps/mach/hurd/bits/typesizes.h
36559 (__SYSCALL_SLONG_TYPE): New macro.
36560 (__SYSCALL_ULONG_TYPE): Likewise.
36561
de986b56
L
365622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36563
36564 * bits/types.h (__syscall_slong_t): New type.
36565 (__syscall_ulong_t): Likewise.
36566
36567 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36568 (__SYSCALL_ULONG_TYPE): Likewise.
36569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36570 (__SYSCALL_SLONG_TYPE): Likewise.
36571 (__SYSCALL_ULONG_TYPE): Likewise.
36572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36573 (__SYSCALL_SLONG_TYPE): Likewise.
36574 (__SYSCALL_ULONG_TYPE): Likewise.
36575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36576 (__SYSCALL_SLONG_TYPE): Likewise.
36577 (__SYSCALL_ULONG_TYPE): Likewise.
36578
85736dc7
L
365792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36580
36581 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36582 Add sigaltstack-offsets.sym.
36583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36584 <sigaltstack-offsets.h>.
36585 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36586 longjmp_msg pointer.
36587 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36588 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36589 signal stack.
36590 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36591
cc03b296
JM
365922012-05-15 Joseph Myers <joseph@codesourcery.com>
36593
a9538892
JM
36594 * elf/stackguard-macros.h: Remove file.
36595 * sysdeps/generic/stackguard-macros.h: New file.
36596 * sysdeps/i386/stackguard-macros.h: Likewise.
36597 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36598 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36599 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36600 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36601 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36602 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36603 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36604 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36605 <elf/stackguard-macros.h>.
36606
cc03b296
JM
36607 [BZ #14109]
36608 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36609 __aligned__ in attribute.
36610 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36611 (gregset_t): Likewise.
36612
93171016
L
366132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36614
36615 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36616 * sysdeps/x86_64/64/Implies-after: Here. New file.
36617 * sysdeps/x86_64/x32/Implies-after: New file.
36618
d86813a0
L
366192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36620
36621 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36622 and access return value for _dl_profile_fixup. Use R10_LP to
36623 load frame size.
36624
2953ec75
L
366252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36626
36627 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36628
3b550e9e
L
366292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36630
36631 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36632 * sysdeps/x86_64/x32/sysdep.h: New file.
36633
eda41706
L
366342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36635
36636 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36637 * sysdeps/x86_64/setjmp.S: Likewise.
36638
9ea01d93
AZ
366392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36640
36641 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36643 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36645 remove unused global constant.
36646
02a91938
CM
366472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36648
36649 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36650 include of <not-cancel.h>.
36651
6540185f
RM
366522012-05-15 Roland McGrath <roland@hack.frob.com>
36653
36654 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36655
509072a0
AJ
366562012-05-15 Jeff Law <law@redhat.com>
36657 Andreas Jaeger <aj@suse.de>
36658
36659 [BZ #13594]
36660 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36661 out from...
36662 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36663 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36664 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36665 code changing __hst_map_handle.map.
36666
ba75122d
RM
366672012-05-15 Roland McGrath <roland@hack.frob.com>
36668
36669 * configure.in (sysnames): Look for Implies-before and Implies-after
36670 files.
36671 * configure: Regenerated.
36672
890d8bd8
L
366732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36674
36675 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36676 8-byte data alignment with LP_SIZE alignment.
36677
f6ee6623
L
366782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36679
36680 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36681 into R10_LP.
36682
ea2626f6
L
366832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36684
36685 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36686
085f715e
L
366872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36688
36689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36690 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36692 Likewise.
36693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36694
be8498fc
L
366952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36696
36697 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36698 (stackinfo_sub_sp): Likewise.
36699
70bc83b9
L
367002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36701
36702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36703 RAX_LP.
36704
9bc0b730
L
367052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36706
36707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36708 into R*_LP.
36709
6d2850e7
L
367102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36711
36712 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36713 sizes into R*_LP.
36714
3cb84561
L
367152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36716
36717 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36718
54e2ed81
L
367192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36720
36721 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36722 into R11_LP and load __x86_64_shared_cache_size_half into
36723 R8_LP.
36724
8a17f349
L
367252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36726
36727 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36728 R8_LP.
36729
777b1eea
AZ
367302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36731
36732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36733 logb for POWER7.
36734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36735 logbf for POWER7.
36736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36737 logbl for POWER7.
36738 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36739 powerpc32/power7/fpu/s_logb.c via #include.
36740 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36741 powerpc32/power7/fpu/s_logbf.c via #include.
36742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36743 powerpc32/power7/fpu/s_logbl.c via #include.
36744
d20d4ac2
JM
367452012-05-15 Joseph Myers <joseph@codesourcery.com>
36746
36747 * README.libm: Remove file.
36748
6cdef1ab
L
367492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36750
36751 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36752 count for x32. Use R*_LP and omit operand-size suffix.
36753
0b254d8f
L
367542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36755
36756 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36757 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36758 * sysdeps/x86_64/x32/shlib-versions: New file.
36759
ceb809dc
RM
367602012-05-14 Roland McGrath <roland@hack.frob.com>
36761
36762 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36763 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36764 Use _dl_fatal_printf instead.
36765
37f1abd4
JM
367662012-05-14 Joseph Myers <joseph@codesourcery.com>
36767
36768 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36769 set if not set by the user. Do not allow for being unset.
36770 * sysdeps/unix/sysv/linux/configure: Regenerated.
36771
11de3a33
L
367722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36773
36774 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36775 the `q' suffix from lea and replace .quad with ASM_ADDR.
36776
e02f153a
L
367772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36778
36779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36780 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36781 instead of $17.
36782 (PTR_DEMANGLE): Likewise.
36783
520ae0fd
L
367842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36785
36786 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36787 (LP_OP): Likewise.
36788 (ASM_ADDR): Likewise.
36789 (RAX_LP): Likewise.
36790 (RBP_LP): Likewise.
36791 (RBX_LP): Likewise.
36792 (RCX_LP): Likewise.
36793 (RDI_LP): Likewise.
36794 (RSI_LP): Likewise.
36795 (RSP_LP): Likewise.
36796 (R8_LP): Likewise.
36797 (R9_LP): Likewise.
36798 (R10_LP): Likewise.
36799 (R10_LP): Likewise.
36800 (R11_LP): Likewise.
36801 (R12_LP): Likewise.
36802 (R13_LP): Likewise.
36803 (R14_LP): Likewise.
36804 (R15_LP): Likewise.
36805
b985be81
L
368062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36807
36808 * sysdeps/x86_64/x32/dl-machine.h: New file.
36809
6a4888ff
AJ
368102012-05-14 Andreas Jaeger <aj@suse.de>
36811
36812 * manual/Makefile (subdir): Remove export of subdir.
36813 (all): Remove target.
36814 (.PHONY): Remove all from list.
36815 (mkinstalldirs): Remove.
36816 (.PHONY): Remove installdirs from list.
36817 ($(inst_infodir)/libc.info): Use make-target-directory.
36818 (installdirs): Remove.
36819 (subdir_%): Remove.
36820 (glibc-targets): Remove.
36821 (lib): Remove.
36822 (stubs): Remove.
36823 ($(objpfx)stubs ../po/manual.pot): Remove.
36824 ($(objpfx)stamp%): Remove.
36825 (make-target-directory): Remove.
36826 (subdir_install): Remove.
36827 (routines): Remove.
36828 (aux): Remove.
36829 (sources): Remove.
36830 (objects): Remove.
36831 (headers): Remove.
36832
36833 [BZ #13750]
36834 * manual/.gitignore: Remove, it's not needed anymore.
36835 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36836 all files in it.
36837 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36838 directory.
36839 (texis): Renamed to $(objpfx)texis.
36840 (texis-path): New, contains path to generated files.
36841 (chapters.%): Use texis-path for complete path, add extra argument
36842 libc-texinfo.sh.
36843 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36844 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36845 (summary,texi, stamp-summary): Use complete path of
36846 files. Generate files in build dir.
36847 (dir-add.texi): Build in build dir.
36848 (libm-err.texi,stamp-libm-err): Likewise.
36849 (version.texi, stamp-version): Likewise.
36850 (.%c.texi): Likewise.
36851 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36852 (mostlyclean): Remove target.
36853 (realclean): Remove target.
36854 (generated): Add new variable with contents from mostlyclean and
36855 realclean, remove entries duplicated in common-mostlyclean, add
36856 stamp-libm-err and stamp-version.
36857 (generated-dirs): Add libc directory.
36858 ($(inst_infodir)/libc.info): Install files from build dir.
36859
36860 * manual/install.texi (Configuring and compiling): Adjust since
36861 the info files are not part of the tar ball anymore.
36862
7ac77294
AJ
368632012-05-14 Andreas Jaeger <aj@suse.de>
36864
36865 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36866 variable.
36867
ffb7875d
JM
368682012-05-14 Joseph Myers <joseph@codesourcery.com>
36869
36870 [BZ #13717]
36871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36872 to 2.2.0 where earlier.
36873 * sysdeps/unix/sysv/linux/configure: Regenerated.
36874 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36875 Remove conditional code.
36876 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36877 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36878 Remove conditional code.
36879 [!__NR_lchown]: Likewise.
36880 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36881 [__NR_lchown]: Likewise.
36882 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36883 comment referencing __ASSUME_LCHOWN_SYSCALL.
36884 * sysdeps/unix/sysv/linux/i386/sigaction.c
36885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36887 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36888 Remove conditional code.
36889 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36890 (__protocol_available): Remove #if 0 code.
36891 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36892 conditional code.
36893 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36894 * sysdeps/unix/sysv/linux/kernel-features.h
36895 (__ASSUME_GETCWD_SYSCALL): Don't define.
36896 (__ASSUME_REALTIME_SIGNALS): Likewise.
36897 (__ASSUME_PREAD_SYSCALL): Likewise.
36898 (__ASSUME_PWRITE_SYSCALL): Likewise.
36899 (__ASSUME_POLL_SYSCALL): Likewise.
36900 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36901 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36902 non-SPARC.
36903 (__ASSUME_SIOCGIFNAME): Don't define.
36904 (__ASSUME_MSG_NOSIGNAL): Likewise.
36905 (__ASSUME_SENDFILE): Define unconditionally.
36906 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36907 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36908 conditional code.
36909 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36910 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36911 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36912 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36913 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36914 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36915 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36929 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36932 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36935 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36940 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36941 Remove conditional code.
36942 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36943 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36944 Remove conditional code.
36945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36946 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36947 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36948 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36949 Remove conditional code.
36950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36951 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36952 Remove conditional code.
36953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36954 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36955 Remove conditional code.
36956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36957 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36958 Remove conditional code.
36959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36960 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36961 Remove conditional code.
36962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36963 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36966 * sysdeps/unix/sysv/linux/sigaction.c
36967 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36968 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36969 * sysdeps/unix/sysv/linux/sigpending.c
36970 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36971 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36972 * sysdeps/unix/sysv/linux/sigprocmask.c
36973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36975 * sysdeps/unix/sysv/linux/sigsuspend.c
36976 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36977 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36979 (__libc_missing_rt_sigs): Remove.
36980 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36981 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36982 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36983 Remove conditional code.
36984 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36985 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36986 return 1.
36987 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36988 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36989 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36990 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36991
1bfb7291
AJ
369922012-05-14 Andreas Jaeger <aj@suse.de>
36993
caae5a81
AJ
36994 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36995 it's not used in glibc.
36996 (__coshm1): Likewise.
36997 (__acosh1p): Likewise.
36998 (__sgn): Likewise.
36999
1bfb7291
AJ
37000 * manual/string.texi (Copying and Concatenation): Add missing
37001 variable in concat example.
37002 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37003
c044d724
L
370042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37005
144c5467 37006 [BZ #14103]
c044d724
L
37007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37008 __builtin_clzl with __builtin_clzll.
37009
2523c62b
L
370102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37011
37012 [BZ #14104]
37013 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37014 libc_freeres_ptr.
37015
d7bb4c42
LD
370162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37017
37018 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37019 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37020 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37021 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37022
9dc4e1fb
MF
370232012-05-14 Mike Frysinger <vapier@gentoo.org>
37024
37025 * NEWS: Update ia64 info.
37026
c7df0112
AS
370272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37028
37029 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37030 used as bcopy.
37031
dc70356c
TS
370322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37033
37034 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37035 * sysdeps/unix/syscalls.list (dup3): Likewise.
37036 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37037 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37038
9fb1a21f
L
370392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37040
37041 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37042 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37043
4822a2a5
L
370442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37047 thread pointer.
37048 (TLS_IE): Use mov/add instead of movq/addq to load thread
37049 pointer.
37050 (TLS_GD_PREFIX): New.
37051 (TLS_GD): Use it.
37052
842b81d6
DM
370532012-05-11 David S. Miller <davem@davemloft.net>
37054
37055 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37056 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37057 (_FPU_SETCW): Likewise.
37058
1cf463cd
L
370592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37060
37061 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37062 is 32-byte aligned.
37063
60cc4a18
AS
370642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37065
37066 [BZ #11837]
37067 * iconvdata/gb18030.c: Update tables.
37068 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37069 characters specially.
37070 (BODY for TO_LOOP): Add encoding of missing ranges.
37071
febb44a4
TS
370722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37073
37074 [BZ #13673]
37075 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37076 * sysdeps/mach/hurd/dup3.c: Likewise.
37077 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37078 * sysdeps/powerpc/memmove.c:: Likewise.
37079
0a10fb9e
L
370802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37081
37082 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37083 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37084
df8a552f
L
370852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37086
37087 * elf/elf.h (R_X86_64_RELATIVE64): New.
37088 (R_X86_64_NUM): Updated.
37089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37090 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37091 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37092 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37093 tst-quad1pie tst-quad2pie
37094 (modules-names): Add tst-quadmod1 tst-quadmod2.
37095 ($(objpfx)tst-quad1): New dependency.
37096 ($(objpfx)tst-quad2): Likewise.
37097 ($(objpfx)tst-quad1pie): Likewise.
37098 ($(objpfx)tst-quad2pie): Likewise.
37099 * sysdeps/x86_64/tst-quad1.c: New file.
37100 * sysdeps/x86_64/tst-quad1pie.c: New file.
37101 * sysdeps/x86_64/tst-quad2.c: Likewise.
37102 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37103 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37104 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37105 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37106 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37107
f34d6f84
ST
371082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37109
f42d41d1
ST
37110 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37111 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37112 * streams/stropts.h (t_scalar_t): Define type.
37113
3c3571fc
ST
37114 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37115 (_PATH_PRESERVE): Set to "/var/lib".
37116 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37117
61f06bd3
ST
37118 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37119 instead of int.
37120
918d4d71
ST
37121 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37122 if __dir_mkfile succeeded.
37123
f34d6f84
ST
37124 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37125 checking for _hurd_dtablesize. Unlock it right after having
37126 finished _hurd_dtable allocation.
37127
10589b4a
TS
371282012-05-10 Thomas Schwinge <thomas@schwinge.name>
37129
674cdbc7
TS
37130 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37131 * sysdeps/mach/hurd/configure: Regenerated.
37132 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37133 special-casing to...
37134 * sysdeps/gnu/configure.in: ... this new file.
37135 * sysdeps/unix/sysv/linux/configure: Regenerated.
37136 * sysdeps/gnu/configure: New generated file.
37137
8e41b99f
TS
37138 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37139 for Linux: use nsec instead of usec, as well as:
37140 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37141 members of type struct timespec.
37142 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37143 New macros.
37144 (struct stat64): Likewise.
37145 (_STATBUF_ST_NSEC): New macro.
37146 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37147
10589b4a
TS
37148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37149 __strtoul_internal rather than strtoul.
37150
63643c85
PT
371512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37152
37153 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37154 and reject them.
37155
3faebe6a
ST
371562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37157
37158 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37159 which preserves existing values.
37160 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37161
c6474b07
PT
371622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37163
37164 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37165 TIMEOUT values. Return EINVAL for NFDS values either negative or
37166 greater than FD_SETSIZE.
37167
1043890b
ST
371682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37169
37170 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37171 allocated, call __vm_protect to finish enabling the existing space, and
37172 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37173 allocate the remainder.
37174
37ed8b9b
PT
371752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37176
37177 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37178 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37179
db653660
ST
371802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37181
37ed8b9b
PT
37182 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37183 sysdeps/mach/hurd/readlink.c.
b29d4053 37184
db653660
ST
37185 * posix/tst-sysconf.c (posix_options): Only use
37186 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37187 _POSIX_SYNCHRONIZED_IO when they are defined
37188 * sysdeps/mach/hurd/bits/posix_opt.h:
37189 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37190 (_XOPEN_REALTIME): Undefine macro.
37191 (_XOPEN_REALTIME_THREADS): Undefine macro.
37192 (_XOPEN_SHM): Undefine macro.
37193 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37194 macro to -1.
37195 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37196 macro to -1.
37197 (_POSIX_ASYNC_IO): Undefine macro.
37198 (_POSIX_PRIORITIZED_IO): Undefine macro.
37199 (_POSIX_SPIN_LOCKS): Define macro to -1.
37200
ee16e894
ST
37201 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37202 SA_NODEFER, SA_RESETHAND.
37203 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37204 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37205 F_DUPFD_CLOEXEC.
37206
6103ae3b
TS
372072012-05-10 Thomas Schwinge <thomas@schwinge.name>
37208
37209 * elf/Makefile (pldd-modules): Define unconditionally.
37210
80b4e5f3
TS
372112012-05-10 Thomas Schwinge <thomas@schwinge.name>
37212
37213 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37214
edadcbd6
ST
372152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37216
37217 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37218 Return ENOENT when name is empty.
37219 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37220
80694780
TS
372212012-05-10 Thomas Schwinge <thomas@schwinge.name>
37222
1792c087
TS
37223 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37224
80694780
TS
37225 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37226
6b645f0d
ST
372272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37228
80694780
TS
37229 Fix mlock in all cases except non-readable pages.
37230 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37231 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 37232
6b645f0d
ST
37233 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37234 (__mkdir): When path is `/', just fail with EEXIST.
37235 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37236
e468f8a3
TS
372372012-05-10 Thomas Schwinge <thomas@schwinge.name>
37238
37239 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37240 <sys/uio.h> (for writev).
37241 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37242 and <sys/param.h> (for MIN).
37243
a4186cff
PT
372442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37245
37246 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37247 REQUESTED_TIME. Properly set the remaining time and return EINTR
37248 if interrupted.
37249
510bbf14
TS
372502012-05-10 Thomas Schwinge <thomas@schwinge.name>
37251
37252 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37253 Depend on against $(link-rpcuserlibs).
37254
5d5722e8
ST
372552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37256
a4186cff
PT
37257 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37258 (__libc_stack_end): Do not use attribute_relro.
37259 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37260 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 37261 to libthread-provided value.
a4186cff
PT
37262 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37263 attribute_relro.
5d5722e8 37264
37233df9
TS
372652012-05-10 Thomas Schwinge <thomas@schwinge.name>
37266
be971a2b
TS
37267 [BZ #3748]
37268 * bits/libc-lock.h (__libc_once_get): New macro.
37269 * sysdeps/mach/bits/libc-lock.h: Likewise.
37270 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37272 instead of using implementation details.
37273
37233df9
TS
37274 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37275 * libio/freopen.c: Likewise.
37276 * libio/freopen64.c: Likewise.
37277 * misc/syslog.c: Likewise.
37278 * nscd/connections.c: Likewise.
37279 * nscd/netgroupcache.c: Likewise.
37280 * sysdeps/posix/getcwd.c: Likewise.
37281
38de94a5
RM
372822012-05-10 Roland McGrath <roland@hack.frob.com>
37283
37284 * math/w_ilogbf.c: Add #include <limits.h>.
37285
67530489
ST
372862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37287
a4186cff 37288 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
37289 path instead of returning without unlocking.
37290
67530489
ST
37291 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37292 immediate-write ioctls.
37293 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37294
5aa3a74a
TS
372952012-05-10 Thomas Schwinge <thomas@schwinge.name>
37296
18bad2ae
TS
37297 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37298 __builtin_frame_address instead of making assumptions about the
37299 location of the return address relative to DATA. Force early load of
37300 the return address.
37301 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37302 __builtin_frame_address.
37303
5aa3a74a
TS
37304 dup3 for GNU Hurd.
37305 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37306 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37307 implement dup3 and do some further code clean-ups.
37308 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37309 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37310
ecd0de9a
ST
373112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37312
cd9fa985
ST
37313 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37314
a4186cff
PT
37315 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37316 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37317 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37318 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37319 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37320 d->port.lock.
802ca5a5 37321
a4186cff
PT
37322 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37323 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37324 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 37325
bcf55240
TS
373262012-05-10 Thomas Schwinge <thomas@schwinge.name>
37327
6960eb42
TS
37328 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37329 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37330 definitions.
37331
eb43375f
TS
37332 accept4 for GNU Hurd.
37333 * include/sys/socket.h (__libc_accept4): New prototype.
37334 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37335 to implement __libc_accept4.
37336 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37337 __libc_accept4.
37338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37339
bcf55240
TS
37340 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37341 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37342 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37343 signal-defines.sym.
37344
6178c55b
ST
373452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37346
a4186cff 37347 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 37348
6f080c2f
TS
373492012-05-10 Thomas Schwinge <thomas@schwinge.name>
37350
37351 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37352 assertion on O_CLOEXEC flag.
37353 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37354 * hurd/intern-fd.c: Likewise.
37355 * hurd/port2fd.c: Likewise.
37356
bcfe3a54
ST
373572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37358
37359 [BZ #3906]
37360 * bits/in.h (IPV6_PKTINFO): Define new macro.
37361 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37362
89c9aa49
AZ
373632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37364
37365 [BZ #13954]
37366 [BZ #13955]
37367 [BZ #13956]
37368 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37369 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37370 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37371 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37374 * math/libm-test.inc (logb_test) : Additional logb tests.
37375
021db4be
AJ
373762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37377 Andreas Jaeger <aj@suse.de>
37378
37379 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37380 * configure: Regenerated.
37381 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37382 * config.make.in (link-obsolete-rpc): New substituted variable.
37383 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37384 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37385 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37386 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37387 so that libc.a contains the symbols.
37388 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37389 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37390 * sunrpc/auth_none.c: Likewise.
37391 * sunrpc/auth_unix.c: Likewise.
37392 * sunrpc/authdes_prot.c: Likewise.
37393 * sunrpc/authuxprot.c: Likewise.
37394 * sunrpc/clnt_gen.c: Likewise.
37395 * sunrpc/clnt_perr.c: Likewise.
37396 * sunrpc/clnt_raw.c: Likewise.
37397 * sunrpc/clnt_simp.c: Likewise.
37398 * sunrpc/clnt_tcp.c: Likewise.
37399 * sunrpc/clnt_udp.c: Likewise.
37400 * sunrpc/clnt_unix.c: Likewise.
37401 * sunrpc/des_crypt.c: Likewise.
37402 * sunrpc/des_soft.c: Likewise.
37403 * sunrpc/get_myaddr.c: Likewise.
37404 * sunrpc/key_call.c: Likewise.
37405 * sunrpc/key_prot.c: Likewise.
37406 * sunrpc/netname.c: Likewise.
37407 * sunrpc/pm_getmaps.c: Likewise.
37408 * sunrpc/pm_getport.c: Likewise.
37409 * sunrpc/pmap_clnt.c: Likewise.
37410 * sunrpc/pmap_prot.c: Likewise.
37411 * sunrpc/pmap_prot2.c: Likewise.
37412 * sunrpc/pmap_rmt.c: Likewise.
37413 * sunrpc/publickey.c: Likewise.
37414 * sunrpc/rpc_cmsg.c: Likewise.
37415 * sunrpc/rpc_common.c: Likewise.
37416 * sunrpc/rpc_dtable.c: Likewise.
37417 * sunrpc/rpc_prot.c: Likewise.
37418 * sunrpc/rpc_thread.c: Likewise.
37419 * sunrpc/rtime.c: Likewise.
37420 * sunrpc/svc.c: Likewise.
37421 * sunrpc/svc_auth.c: Likewise.
37422 * sunrpc/svc_raw.c: Likewise.
37423 * sunrpc/svc_run.c: Likewise.
37424 * sunrpc/svc_tcp.c: Likewise.
37425 * sunrpc/svc_udp.c: Likewise.
37426 * sunrpc/svc_unix.c: Likewise.
37427 * sunrpc/svcauth_des.c: Likewise.
37428 * sunrpc/xcrypt.c: Likewise.
37429 * sunrpc/xdr.c: Likewise.
37430 * sunrpc/xdr_array.c: Likewise.
37431 * sunrpc/xdr_float.c: Likewise.
37432 * sunrpc/xdr_intXX_t.c: Likewise.
37433 * sunrpc/xdr_mem.c: Likewise.
37434 * sunrpc/xdr_rec.c: Likewise.
37435 * sunrpc/xdr_ref.c: Likewise.
37436 * sunrpc/xdr_sizeof.c: Likewise.
37437 * sunrpc/xdr_stdio.c: Likewise.
37438
b5c086a2
RM
374392012-05-10 Roland McGrath <roland@hack.frob.com>
37440
37441 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37442 change. Update copyright years.
37443
6d74dd09
JM
374442012-05-10 Joseph Myers <joseph@codesourcery.com>
37445
37446 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37447
28e72501
MK
374482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37449 Joseph Myers <joseph@codesourcery.com>
37450 Paul Pluzhnikov <ppluzhnikov@google.com>
37451
37452 [BZ #14012]
37453 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37454 requiring rpcgen.
37455 [cross-compiling] (extra-libs): Likewise.
37456 [cross-compiling] (extra-libs-others): Likewise.
37457 [cross-compiling] (librpcsvc-routines): Likewise.
37458 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37459 [cross-compiling] (omit-deps): Likewise.
37460 (sunrpc-CPPFLAGS): New variable.
37461 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37462 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37463 (cross-rpcgen-objs): New variable.
37464 (extra-objs): Append $(cross-rpcgen-objs).
37465 ($(cross-rpcgen-objs)): New rule.
37466 ($(objpfx)cross-rpcgen): Likewise.
37467 (rpcgen-cmd): Define to use $(built-program-file). Expand
37468 comment.
37469 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37470 ($(objpfx)x%.stmp): Likewise.
37471 * sunrpc/proto.h [IS_IN_build] (_): Define.
37472 [IS_IN_build] (_libc_intl_domainname): Likewise.
37473
c8c59454
L
374742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37475
37476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37477 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37478 and R_X86_64_TPOFF64.
37479
6f27cd16
JM
374802012-05-10 Joseph Myers <joseph@codesourcery.com>
37481
37482 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37483 sysdeps/unix/sysv/syscalls.list.
37484 (stime): Likewise.
37485 (utime): Likewise.
37486 * sysdeps/unix/sysv/syscalls.list: Remove file.
37487
02467e1c
PE
374882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37489
37490 [BZ #3440]
37491 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37492 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37493 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37494 (__LC_IDENTIFICATION): Make these macros useful in #if
37495 expressions, as required by C99.
37496
da392631
AS
374972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37498
37499 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37500 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37501 after this.
37502
8115f29b
L
375032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37504
37505 * stdlib/longlong.h: Updated from GCC.
37506
bdd74070
AJ
375072012-05-09 Andreas Jaeger <aj@suse.de>
37508
edfe0dbe
AJ
37509 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37510 default is first entry.
37511 (run_mode): Set type.
37512 (main): Remove informal message about syslog.
37513 (options): Fix typo.
37514
bcfe3a54
ST
37515 [BZ #14053]
37516 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 37517 to asm.
bcfe3a54
ST
37518 (lrint): Likewise.
37519 (llrintf): Likewise.
37520 (llrint): Likewise.
37521 (rint): Likewise.
37522 (rintf): Likewise.
37523 (nearbyint): Likewise.
37524 (nearbyintf): Likewise.
bdd74070 37525
91d8d69e
AJ
375262012-05-09 Andreas Jaeger <aj@suse.de>
37527 Pedro Alves <palves@redhat.com>
37528
37529 * nscd/nscd.c (run_mode): Use enum.
37530 (main): Cleanup coding style issue.
37531
bb90b80b
AJ
375322012-05-09 Alexandre Oliva <aoliva@redhat.com>
37533 Andreas Jaeger <aj@suse.de>
37534
bcfe3a54
ST
37535 * nscd/nscd.c (go_background): Replaced with...
37536 (run_mode): ... this.
bb90b80b 37537 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
37538 (options): Add -F --foreground.
37539 (main): Implement it.
37540 (parse_opt): Parse it.
bb90b80b 37541
1a4b75a1
AJ
375422012-05-09 Andreas Jaeger <aj@suse.de>
37543
37544 [BZ #14083]
37545 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37546 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37547 -Wconversion warning.
37548 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37549 Likewise.
37550
b1cc2472
JM
375512012-05-09 Joseph Myers <joseph@codesourcery.com>
37552
37553 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37554 == 0.
37555 (LC_ALL): Use macro-int-constant.
37556 (LC_COLLATE): Likewise.
37557 (LC_CTYPE): Likewise.
37558 (LC_MESSAGES): Likewise.
37559 (LC_MONETARY): Likewise.
37560 (LC_NUMERIC): Likewise.
37561 (LC_TIME): Likewise.
37562 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37563 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37565 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37566 Specify type.
37567 [C99-based standards] (float_t): Expect type.
37568 [C99-based standards] (double_t): Expect type.
37569 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37570 type.
37571 [C99-based standards] (HUGE_VALL): Likewise.
37572 [C99-based standards] (INFINITY): Likewise.
37573 [C99-based standards] (NAN): Likewise.
37574 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37575 [C99-based standards] (FP_NAN): Likewise.
37576 [C99-based standards] (FP_NORMAL): Likewise.
37577 [C99-based standards] (FP_SUBNORMAL): Likewise.
37578 [C99-based standards] (FP_ZERO): Likewise.
37579 [C99-based standards] (FP_FAST_FMA): Use
37580 optional-macro-int-constant. Specify type. Require == 1.
37581 [C99-based standards] (FP_FAST_FMAF): Likewise.
37582 [C99-based standards] (FP_FAST_FMAL): Likewise.
37583 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37584 [C99-based standards] (FP_ILOGBNAN): Likewise.
37585 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37586 Specify type.
37587 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37588 [C99-based standards] (math_errhandling): Specify type.
37589 [ISO99 || ISO11] (signgam): Do not allow.
37590 [non-C99-based standards] (copysignf): Do not allow.
37591 [non-C99-based standards] (exp2f): Likewise.
37592 [non-C99-based standards] (log2f): Likewise.
37593 [non-C99-based standards] (modff): Allow.
37594 [non-C99-based standards] (erff): Do not allow.
37595 [non-C99-based standards] (erfcf): Likewise.
37596 [non-C99-based standards] (gammaf): Likewise.
37597 [non-C99-based standards] (hypotf): Likewise.
37598 [non-C99-based standards] (j0f): Likewise.
37599 [non-C99-based standards] (j1f): Likewise.
37600 [non-C99-based standards] (jnf): Likewise.
37601 [non-C99-based standards] (lgammaf): Likewise.
37602 [non-C99-based standards] (tgammaf): Likewise.
37603 [non-C99-based standards] (y0f): Likewise.
37604 [non-C99-based standards] (y1f): Likewise.
37605 [non-C99-based standards] (ynf): Likewise.
37606 [non-C99-based standards] (isnanf): Likewise.
37607 [non-C99-based standards] (acoshf): Likewise.
37608 [non-C99-based standards] (asinhf): Likewise.
37609 [non-C99-based standards] (atanhf): Likewise.
37610 [non-C99-based standards] (cbrtf): Likewise.
37611 [non-C99-based standards] (expm1f): Likewise.
37612 [non-C99-based standards] (ilogbf): Likewise.
37613 [non-C99-based standards] (log1pf): Likewise.
37614 [non-C99-based standards] (logbf): Likewise.
37615 [non-C99-based standards] (nextafterf): Likewise.
37616 [non-C99-based standards] (remainderf): Likewise.
37617 [non-C99-based standards] (rintf): Likewise.
37618 [non-C99-based standards] (scalbf): Likewise.
37619 [non-C99-based standards] (copysignl): Likewise.
37620 [non-C99-based standards] (exp2l): Likewise.
37621 [non-C99-based standards] (log2l): Likewise.
37622 [non-C99-based standards] (modfl): Allow.
37623 [non-C99-based standards] (erfl): Do not allow.
37624 [non-C99-based standards] (erfcl): Likewise.
37625 [non-C99-based standards] (gammal): Likewise.
37626 [non-C99-based standards] (hypotl): Likewise.
37627 [non-C99-based standards] (j0l): Likewise.
37628 [non-C99-based standards] (j1l): Likewise.
37629 [non-C99-based standards] (jnl): Likewise.
37630 [non-C99-based standards] (lgammal): Likewise.
37631 [non-C99-based standards] (tgammal): Likewise.
37632 [non-C99-based standards] (y0l): Likewise.
37633 [non-C99-based standards] (y1l): Likewise.
37634 [non-C99-based standards] (ynl): Likewise.
37635 [non-C99-based standards] (isnanl): Likewise.
37636 [non-C99-based standards] (acoshl): Likewise.
37637 [non-C99-based standards] (asinhl): Likewise.
37638 [non-C99-based standards] (atanhl): Likewise.
37639 [non-C99-based standards] (cbrtl): Likewise.
37640 [non-C99-based standards] (expm1l): Likewise.
37641 [non-C99-based standards] (ilogbl): Likewise.
37642 [non-C99-based standards] (log1pl): Likewise.
37643 [non-C99-based standards] (logbl): Likewise.
37644 [non-C99-based standards] (nextafterl): Likewise.
37645 [non-C99-based standards] (remainderl): Likewise.
37646 [non-C99-based standards] (rintl): Likewise.
37647 [non-C99-based standards] (scalbl): Likewise.
37648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37649 [non-C99-based standards] (FP_*): Do not allow.
37650 [C99-based standards] (FP_*): Change to
37651 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37652 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37653 allow.
37654 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37655 (SIG_ERR): Likewise.
37656 [X/Open-based standards] (SIG_HOLD): Likewise.
37657 (SIG_IGN): Likewise.
37658 (SIGABRT): Use macro-int-constant. Specify type. Require
37659 positive value.
37660 (SIGFPE): Likewise.
37661 (SIGILL): Likewise.
37662 (SIGINT): Likewise.
37663 (SIGSEGV): Likewise.
37664 (SIGTER): Likewise.
37665 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37666 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37667 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37668 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37669 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37670 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37671 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37672 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37673 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37674 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37675 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37676 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37677 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37678 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37679 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37680 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37681 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37682 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37683 [X/Open-based standards] (SIGTRAP): Likewise.
37684 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37685 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37686 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37687 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37688 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37689 allow.
37690
b9f1922d
IW
376912012-05-08 Ian Wienand <ianw@vmware.com>
37692
37693 [BZ #14080]
37694 * time/tzset.c (__tzset_parse_tz): Update default rules for
37695 daylight time changes in the Energy Policy Act of 2005.
37696
1db86e88
AJ
376972012-05-09 Andreas Jaeger <aj@suse.de>
37698
37699 [BZ #13983]
37700 * elf/ldconfig.c (parse_conf): Change string to make clear that
37701 ldconfig only issued a warning if ld.so.conf does not exist.
37702
dee4a4e3
DM
377032012-05-08 David S. Miller <davem@davemloft.net>
37704
ee0db190
DM
37705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37706 movxtod instead of popping the value on the stack.
37707
dee4a4e3
DM
37708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37709
6a43ec98
CD
377102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37711
37712 * config.h.in: Add HAVE_ARM_PCS_VFP.
37713
05c2c961
RMG
377142012-05-08 Roland Mc Grath <roland@hack.frob.com>
37715
bcfe3a54
ST
37716 [BZ #13979]
37717 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37718 checking but the checks are disabled for any reason.
05c2c961 37719
4b30f61a
L
377202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37721
37722 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37723 and ELF64_R_TYPE with ELFW(R_TYPE).
37724
eee2bc67
JM
377252012-05-08 Joseph Myers <joseph@codesourcery.com>
37726
7ea5391a
JM
37727 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37728 (ulimit): Likewise.
37729
eee2bc67
JM
37730 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37731 (settimeofday): Likewise.
37732
abb66a67
MF
377332012-05-08 Mike Frysinger <vapier@gentoo.org>
37734
37735 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37736 a struct th_u2 inside the union, and move tu_block/tu_code into
37737 a new th_u3 union of tu_block/tu_code inside of that. Move
37738 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37739 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37740 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37741 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37742 (th_stuff): Change to th_u1.tu_stuff.
37743 (th_data): Define.
37744 (th_msg): Change to th_u1.th_u2.tu_data.
37745
7f18b530
DM
377462012-05-07 David S. Miller <davem@davemloft.net>
37747
05760585
DM
37748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37749
7f18b530
DM
37750 [BZ #14074]
37751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37752 (SETUP_PIC_REG): Use it.
37753 (SETUP_PIC_REG_LEAF): Use it.
37754
495fd99f
JM
377552012-05-07 Joseph Myers <joseph@codesourcery.com>
37756
37757 [BZ #13885]
37758 [BZ #13923]
37759 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37760 USE_AS_EXPM1L.
37761 (EXPL_FINITE): Likewise.
37762 (FLDLOG): Likewise.
37763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37764 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37765 e_expl.S.
37766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37767 USE_AS_EXPM1L.
37768 (EXPL_FINITE): Likewise.
37769 (FLDLOG): Likewise.
37770 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37771 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37772 e_expl.S.
37773 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37774 test of -max_value argument for long double.
37775 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37777
6693d694
DM
377782012-05-06 David S. Miller <davem@davemloft.net>
37779
37780 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37781 quad soft-float symbols whose references which are compiler
37782 generated.
37783 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37784
6c23e11c
JM
377852012-05-06 Joseph Myers <joseph@codesourcery.com>
37786
d8b82cad
JM
37787 [BZ #13884]
37788 [BZ #13914]
37789 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37790 USE_AS_EXP10L.
37791 (EXPL_FINITE): Likewise.
37792 (FLDLOG): Likewise.
37793 (c0): Likewise.
37794 (c1): Likewise.
37795 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37796 Adjust comments for base varying.
37797 (__expl_finite): Change alias to EXPL_FINITE.
37798 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37799 e_expl.S.
37800 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37801 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37803 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37804 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37805 USE_AS_EXP10L.
37806 (EXPL_FINITE): Likewise.
37807 (FLDLOG): Likewise.
37808 (c0): Likewise.
37809 (c1): Likewise.
37810 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37811 Adjust comments for base varying.
37812 (__expl_finite): Change alias to EXPL_FINITE.
37813 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37814 tests for bugs.
37815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37816
6c23e11c
JM
37817 [BZ #14064]
37818 * math/libm-test.inc (check_float_internal): Correct ulp
37819 calculation for subnormal expected results.
37820
29ba805c
AJ
378212012-05-06 Andreas Jaeger <aj@suse.de>
37822
37823 * Makeconfig (+math-flags): New, set to -frounding-math.
37824 (+cflags): Add +math-flags so that all of glibc gets compiled with
37825 it.
37826
37827 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37828
7b17aeda
JM
378292012-05-05 Joseph Myers <joseph@codesourcery.com>
37830
5779f134
JM
37831 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37832 Disable one test.
37833
41498f4d
JM
37834 [BZ #13787]
37835 [BZ #13922]
37836 [BZ #14036]
37837 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37838 (__ieee754_expl): Allow for and saturate large arguments.
37839 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37840 (u_threshold): Likewise.
37841 (__exp): Call __ieee754_exp before checking for overflow and
37842 underflow.
37843 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37844 (u_threshold): Likewise.
37845 (__expf): Call __ieee754_expf before checking for overflow and
37846 underflow.
37847 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37848 (u_threshold): Likewise.
37849 (__expl): Call __ieee754_expl before checking for overflow and
37850 underflow.
37851 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37852 (__ieee754_expl): Allow for and saturate large arguments.
37853 * math/libm-test.inc (exp_test): Add another test. Do not allow
37854 missing overflow exception on overflow.
37855 (expm1_test): Do not allow missing overflow exception on overflow.
37856
6698b8bf
JM
37857 * sysdeps/i386/fpu/e_expl.c: Move to ...
37858 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37859 rather than using inline asm.
37860 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37861 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37862 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37863
7b17aeda
JM
37864 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37865 (nice): Likewise.
37866 (poll): Likewise.
37867 (signal): Likewise.
37868 (time): Likewise.
37869 (times): Likewise.
37870
f7c85819
JM
378712012-05-04 Joseph Myers <joseph@codesourcery.com>
37872
37873 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37874 sysdeps/unix/common/syscalls.list.
37875 (fchmod): Likewise.
37876 (fchown): Likewise.
37877 (ftruncate): Likewise.
37878 (getrusage): Likewise.
37879 (gettimeofday): Likewise.
37880 (setpgid): Likewise.
37881 (setregid): Likewise.
37882 (setreuid): Likewise.
37883 (sigaction): Likewise.
37884 (truncate): Likewise.
37885 (vhangup): Likewise.
37886 * sysdeps/unix/common/syscalls.list: Remove file.
37887 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37888 * sysdeps/unix/sysv/linux/Implies: Likewise.
37889
336270d0
L
378902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37891
37892 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37894 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37895 Moved to ...
37896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37897 Here.
37898 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37899 to ...
37900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37901 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37902 to ...
37903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37904 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37905 to ...
37906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37908 to ...
37909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37910 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37911 to ...
37912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37913 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37914 to ...
37915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37916 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37917 to ...
37918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37919 Here.
37920 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37921 to ...
37922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37923 Here.
37924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37925 to ...
37926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37927 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37928 Moved to ...
37929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37930 Here.
37931 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37932 to ...
37933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37934
d128e450
JM
379352012-05-04 Joseph Myers <joseph@codesourcery.com>
37936
fa8ee516
JM
37937 * sysdeps/unix/common/bits/dirent.h: Remove file.
37938 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37939
d128e450
JM
37940 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37941 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37942 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37943 * sysdeps/unix/bsd/isatty.c: Likewise.
37944 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37945 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37946 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37947
ff8faaf0 379482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 37949
62881be4 37950 [BZ #13563]
31dc8730
AZ
37951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37952 long double comparison inaccuracies.
37953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37955
6fef930c
AS
379562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37957
37958 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37960
8f203e6c
JM
379612012-05-04 Joseph Myers <joseph@codesourcery.com>
37962
37963 [BZ #14049]
37964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37965 nonzero digits before rounding a hex value.
37966 * stdlib/tst-strtod.c (tests): Add another test.
37967
5197d9c2
AK
379682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37969
37970 * sysdeps/s390/fpu/libm-test-ulps: Update.
37971
f0c1dedf
AJ
379722012-05-03 Andreas Jaeger <aj@suse.de>
37973
37974 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37975 does not get optimized out.
37976 (malloc_opt_barrier): New.
37977
a65ef2ae 379782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 37979 Roland McGrath <roland@hack.frob.com>
a65ef2ae 37980
2b942cb7 37981 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 37982 intermediate file deletion.
2b942cb7 37983 (generated): Add .symlist files.
a65ef2ae 37984
54b71e02
JM
379852012-05-03 Joseph Myers <joseph@codesourcery.com>
37986
37987 [BZ #13775]
37988 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37989 Redirect under this condition.
37990 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37991 [__USE_GNU] (__dprintf_chk): Not under this condition.
37992 [__USE_GNU] (__vdprintf_chk): Likewise.
37993 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37994 under this condition.
37995 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37996 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37997 [__USE_XOPEN2K8] (vdprintf): Likewise.
37998 [__USE_GNU] (__dprintf_chk): Not under this condition.
37999 [__USE_GNU] (__vdprintf_chk): Likewise.
38000 [__USE_GNU] (dprintf): Likewise.
38001 [__USE_GNU] (vdprintf): Likewise.
38002
d3dfcc41
RM
380032012-05-03 Roland McGrath <roland@hack.frob.com>
38004
38005 * elf/Makefile (common-generated): Set this instead of generated for
38006 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38007 $(all-built-dso)-derived lists.
38008
7ac30cc5
AJ
380092012-05-03 Andreas Jaeger <aj@suse.de>
38010
0c51e550
AJ
38011 * sysdeps/i386/fpu/libm-test-ulps: Update.
38012
7ac30cc5
AJ
38013 * FAQ: Removed.
38014 * FAQ.in: Likewise.
38015 * scripts/gen-FAQ.pl: Likewise.
38016 * manual/install.texi (Installation): Point to online location of
38017 FAQ.
38018 * Makefile (files-for-dist): Remove FAQ.
38019 (FAQ): Remove.
38020
d4c2917f
AM
380212012-05-02 Allan McRae <allan@archlinux.org>
38022
38023 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38024 (LDFLAGS-reldepmod5.so): Likewise.
38025 (LDFLAGS-reldep6mod1.so): Likewise.
38026 (LDFLAGS-reldep6mod4.so): Likewise.
38027 (LDFLAGS-reldep8mod3.so): Likewise.
38028 (LDFLAGS-unload4mod1.so): Likewise.
38029 (LDFLAGS-unload4mod2.so): Likewise.
38030 (LDFLAGS-tst-initorder): Likewise.
38031 (LDFLAGS-tst-initordera2.so): Likewise.
38032 (LDFLAGS-tst-initordera3.so): Likewise.
38033 (LDFLAGS-tst-initordera4.so): Likewise.
38034 (LDFLAGS-tst-initorderb2.so): Likewise.
38035 (LDFLAGS-noload): Likewise.
38036 (LDFLAGS-next): Likewise.
38037 (LDFLAGS-order2mod1.so): Likewise.
38038 (LDFLAGS-order2mod2.so): Likewise.
38039 (LDFLAGS-tst-initorder2): Likewise.
38040 (LDFLAGS-tst-initorder2a.so): Likewise.
38041 (LDFLAGS-tst-initorder2b.so): Likewise.
38042 (LDFLAGS-tst-initorder2c.so): Likewise.
38043 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38044
d77f993f
DM
380452012-05-02 David S. Miller <davem@davemloft.net>
38046
38047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38048
171a70b4
PP
380492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38050
38051 [BZ #14055]
38052 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38053
0be196ad
AJ
380542012-05-02 Andreas Jaeger <aj@suse.de>
38055
38056 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38057 since we manipulate rounding mode.
38058 (CPPFLAGS-test-idouble.c): Likewise.
38059 (CPPFLAGS-test-ifloat.c): Likewise.
38060 (CFLAGS-test-ldouble.c): Likewise.
38061 (CFLAGS-test-double.c): Likewise.
38062 (CFLAGS-test-float.c): Likewise.
38063 (CFLAGS-test-misc.c): Likewise.
38064 (CFLAGS-test-test-fenv.c): Likewise.
38065
4f9d04aa
AZ
380662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38067
2b942cb7
RM
38068 [BZ #2550]
38069 [BZ #2570]
38070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38071 comparisons to determine direction to adjust input.
4f9d04aa 38072
82a79e7d
RM
380732012-05-01 Roland McGrath <roland@hack.frob.com>
38074
f5a01ca9
RM
38075 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38076 output to the target.
38077
90fe4186
RM
38078 * scripts/localplt.awk: New file.
38079 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38080 (check-localplt-CFLAGS): Variable removed.
38081 ($(all-built-dso:=.jmprel)): New static pattern rule.
38082 (generated): Add those targets.
38083 (localplt-built-dso): New variable.
38084 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38085
38086 * elf/check-localplt.c: File removed.
38087
82397ed6
RM
38088 * scripts/check-execstack.awk: New file.
38089 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38090 (check-execstack-CFLAGS): Variable removed.
38091 ($(objpfx)check-execstack.h): Target removed.
38092 ($(objpfx)execstack-default): New target.
38093 (generated): Add that instead of check-execstack.h.
38094 ($(all-built-dso:=.phdr)): New static pattern rule.
38095 (generated): Add those targets.
38096 * elf/check-execstack.c: File removed.
38097
82a79e7d
RM
38098 * scripts/check-textrel.awk: New file.
38099 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38100 (check-textrel-CFLAGS): Variable removed.
38101 (all-built-dso): Use := to define.o
38102 ($(all-built-dso:=.dyn)): New static pattern rule.
38103 (generated): Add those targets.
38104 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38105 * config.make.in (READELF): New substituted variable.
38106 * elf/check-textrel.c: File removed.
38107
62fde54f 381082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 38109
615605c9
JM
38110 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38111 allow.
38112 * conform/data/ctype.h-data [C99-based standards] (isblank):
38113 Expect function.
38114 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38115 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38117 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38118 Specify type. Require positive value.
38119 (EILSEQ): Likewise.
38120 (ERANGE): Likewise.
38121 [ISO || POSIX] (EILSEQ): Do not expect.
38122 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38123 Specify type. Require positive value.
38124 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38125 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38126 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38127 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38128 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38129 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38130 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38131 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38132 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38133 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38134 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38135 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38136 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38137 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38138 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38139 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38140 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38141 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38142 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38143 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38144 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38145 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38146 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38147 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38148 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38149 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38150 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38151 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38152 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38153 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38154 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38155 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38156 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38157 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38158 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38159 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38160 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38161 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38162 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38163 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38164 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38165 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38166 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38167 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38168 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38169 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38170 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38171 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38172 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38173 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38174 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38175 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38176 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38177 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38178 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38179 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38180 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38181 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38182 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38183 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38184 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38185 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38186 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38187 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38188 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38189 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38190 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38191 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38192 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38193 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38194 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38195 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38196 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38197 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38198 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38199 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38200 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38201 Require >= 2.
38202 (FLT_ROUNDS): Expect as macro, not constant.
38203 (FLT_MANT_DIG): Use macro-int-constant.
38204 (DBL_MANT_DIG): Likewise.
38205 (LDBL_MANT_DIG): Likewise.
38206 (FLT_DIG): Likewise.
38207 (DBL_DIG): Likewise.
38208 (LDBL_DIG): Likewise.
38209 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38210 (DBL_MIN_EXP): Likewise.
38211 (LDBL_MIN_EXP): Likewise.
38212 (FLT_MAX_EXP): Use macro-int-constant.
38213 (DBL_MAX_EXP): Likewise.
38214 (LDBL_MAX_EXP): Likewise.
38215 (FLT_MAX_10_EXP): Likewise.
38216 (DBL_MAX_10_EXP): Likewise.
38217 (LDBL_MAX_10_EXP): Likewise.
38218 (FLT_MAX): Use macro-constant.
38219 (DBL_MAX): Likewise.
38220 (LDBL_MAX): Likewise.
38221 (FLT_EPSILON): Use macro-constant. Give upper bound.
38222 (DBL_EPSILON): Likewise.
38223 (LDBL_EPSILON): Likewise.
38224 (FLT_MIN): Likewise.
38225 (DBL_MIN): Likewise.
38226 (LDBL_MIN): Likewise.
38227 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38228 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38229 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38230 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38231 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38232 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38233 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38234 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38235 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38236 [ISO11] (FLT_TRUE_MIN): Likewise.
38237 [ISO11] (LDBL_TRUE_MIN): Likewise.
38238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38239 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38240 (SCHAR_MIN): Use macro-int-constant. Specify type.
38241 (SCHAR_MAX): Likewise.
38242 (UCHAR_MAX): Likewise.
38243 (CHAR_MIN): Likewise.
38244 (CHAR_MAX): Likewise.
38245 (MB_LEN_MAX): Use macro-int-constant.
38246 (SHRT_MIN): Use macro-int-constant. Specify type.
38247 (SHRT_MAX): Likewise.
38248 (USHRT_MAX): Likewise.
38249 (INT_MAX): Likewise.
38250 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38251 bound negative.
38252 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38253 bound with "U".
38254 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38255 bound with "L".
38256 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38257 bound negative. Suffix upper bound with "L".
38258 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38259 bound with "UL".
38260 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38261 Specify type.
38262 [C99-based standards] (LLONG_MAX): Likewise.
38263 [C99-based standards] (ULLONG_MAX): Likewise.
38264 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38265 == 0.
38266 [ISO11] (max_align_t): Require type.
38267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38268
c9140a62
JM
38269 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38270 from $CFLAGS, without defining away __attribute__ calls.
38271 (checknamespace): Use $CFLAGS_namespace.
38272
9af0bf29
JM
38273 * conform/conformtest.pl (@keywords): Only include C99 keywords
38274 for standards based on C99 or C11.
38275
343222a2
JM
38276 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38277 Disable tests.
38278 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38279 UNIX98]: Likewise.
38280
661f8cf0
JM
38281 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38282 usability of symbols in #if.
38283
ee74b9cb
JM
38284 * conform/conformtest.pl: If macro or constant types start
38285 "promoted:", expect the symbol to be of the following type
38286 promoted by the integer promotions.
62fde54f 38287
aafc49b3
JM
38288 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38289 in one place. Also handle "macro-constant".
38290
fefdf574
JM
38291 * conform/conformtest.pl: Only accept expected macro values with
38292 "==". Parse all "macro" lines in one place.
38293 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38294
f2d922fe
JM
38295 * conform/conformtest.pl: Handle braced types on "constant" lines
38296 instead of handling "typed-constant".
38297 * conform/data/signal.h-data: Use "constant" instead of
38298 "typed-constant".
38299
d22956c9
JM
38300 * conform/conformtest.pl: Handle "optional-" at start of lines in
38301 one place rather than duplicating several cases. Handle each
38302 format of "macro" line with initial "optional-".
38303
028e2e38
JM
38304 * conform/conformtest.pl: Only accept expected constant or
38305 optional-constant values with "==". Parse all "constant" lines in
38306 one place. Parse all "optional-constant" lines in one place.
38307 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38308 * conform/data/fmtmsg.h-data: Likewise.
38309 * conform/data/netinet/in.h-data: Likewise.
38310 * conform/data/tar.h-data: Likewise.
38311 * conform/data/limits.h-data: Use "==" form on "constant" and
38312 "optional-constant" lines.
38313
1b8f2850
JM
38314 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38315 Use -std=c99 for XOPEN2K.
38316 (@knownproblems): Remove.
38317 (newtoken): Don't check %isknown.
38318
a05a144b
JM
38319 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38320 Do not expect macro.
38321 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38322 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38323 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38324 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38325 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38326 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38327 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38328 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38329 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38330 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38331 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38332 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38333 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38334 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38335 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38336 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38337 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38338 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38339 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38340 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38341 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38342 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38345 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38346 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38347 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38348 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38349 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38350 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38351 [XPG3] (acosh): Likewise.
38352 [XPG3] (asinh): Likewise.
38353 [XPG3] (atanh): Likewise.
38354 [XPG3] (cbrt): Likewise.
38355 [XPG3] (expm1): Likewise.
38356 [XPG3] (ilogb): Likewise.
38357 [XPG3] (log1p): Likewise.
38358 [XPG3] (logb): Likewise.
38359 [XPG3] (nextafter): Likewise.
38360 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38361 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38362 [XPG3] (remainder): Likewise.
38363 [XPG3] (rint): Likewise.
38364 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38365 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38366 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38367 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38368 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38369 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38370 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38371 [UNIX98 || XOPEN2K] (scalb): Expect.
38372 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38373 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38374 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38375 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38376 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38377 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38378 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38379 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38380 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38381 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38382 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38383 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38384 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38385 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38386 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38387 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38388 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38389 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38390 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38391 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38392 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38393 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38394 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38395 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38396 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38397 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38398 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38399 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38400 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38401 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38402 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38403 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38404 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38405 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38406 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38407 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38408 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38409 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38410 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38411 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38412 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38413 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38414 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38415 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38416 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38417 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38418 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38419 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38420 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38421 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38422 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38423 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38424 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38425 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38426 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38427 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38428 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38429 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38430 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38431 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38432 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38433 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38434 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38435 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38436 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38437 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38438 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38439 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38440 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38441 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38442 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38443 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38444 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38445 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38446 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38447 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38448 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38449 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38450 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38451 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38452 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38453 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38454 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38455 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38456 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38457 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38458 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38459 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38460 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38461 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38462 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38463 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38464 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38465 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38466 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38467 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38468 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38469 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38470 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38471 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38472 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38473 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38474 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38475 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38476 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38477 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38478 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38479 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38480 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38481 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38482 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38483 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38484 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38485 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38486 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38487 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38488 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38489 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38490 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38491 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38492 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38493 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38494 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38495 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38496 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38497 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38498 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38499 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38500 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38501 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38502 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38503 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38504 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38505 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38506 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38507 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38508 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38509
73c5ebe3
JM
38510 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38511 _XOPEN_SOURCE_EXTENDED for XPG4.
38512
39c33b6c
JM
38513 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38514
62fde54f
JM
38515 * Makeconfig (localtime): Remove variable.
38516 (inst_localtime-file): Likewise.
38517
0741d64c
AS
385182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38519
38520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38521 Update.
38522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38523 Update.
38524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38525 Update.
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38527 Update.
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38529 Update.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38531 Update.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38533 Update.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38535 Update.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38537 Update.
38538
7cb029ee
JM
385392012-05-01 Joseph Myers <joseph@codesourcery.com>
38540
38541 [BZ #2550]
38542 [BZ #2570]
38543 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38544 comparisons to determine direction to adjust input.
38545 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38546 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38548 Likewise.
38549 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38550 Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38552 Likewise.
38553 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38554 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38555 Likewise.
38556 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38557 Likewise.
38558 * math/libm-test.inc (nexttoward_test): Add more tests.
38559
412bd966
AS
385602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38561
38562 [BZ #14040]
38563 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38564 in version GLIBC_2.1, not GLIBC_2.0.
38565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38566 Likewise.
38567
9568c0c2
JM
385682012-04-30 Joseph Myers <joseph@codesourcery.com>
38569
adfbc8ac
JM
38570 [BZ #13942]
38571 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38572 (1 - x) * (1 + x).
38573 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38574 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38575 * math/libm-test.inc (acos_test): Add more tests.
38576 (asin_test): Likewise.
38577 * sysdeps/i386/fpu/libm-test-ulps: Update.
38578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38579
5ba3cc69
JM
38580 [BZ #14034]
38581 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38582 of square root.
38583 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38584 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38585 * math/libm-test.inc (acos_test_tonearest): New function.
38586 (acos_test_towardzero): Likewise.
38587 (acos_test_downward): Likewise.
38588 (acos_test_upward): Likewise.
38589 (asin_test_tonearest): Likewise.
38590 (asin_test_towardzero): Likewise.
38591 (asin_test_downward): Likewise.
38592 (asin_test_upward): Likewise.
38593 (main): Call the new functions.
38594 * sysdeps/i386/fpu/libm-test-ulps: Update.
38595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38596
9568c0c2
JM
38597 [BZ #13884]
38598 [BZ #13924]
38599 * math/e_exp10.c: Include <float.h>.
38600 (__ieee754_exp10): Handle underflow here rather than multiplying
38601 large negative argument by M_LN10.
38602 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38603 of __ieee754_expf.
38604 * math/e_exp10l.c: Include <float.h>.
38605 (__ieee754_exp10l): Handle underflow here rather than multiplying
38606 large negative argument by M_LN10l.
38607 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38608 spurious overflow exception on underflow.
38609
5ac3ea17
MP
386102012-04-29 Marek Polacek <polacek@redhat.com>
38611
38612 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38613 (__fortify_function): New macro.
38614 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38615 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38616 __extern_always_inline.
38617 * libio/bits/stdio2.h: Likewise.
38618 * libio/bits/stdio.h: Likewise.
38619 * string/string.h: Likewise.
38620 * string/bits/string3.h: Likewise.
38621 * include/stdio.h: Likewise.
38622 * stdlib/bits/stdlib.h: Likewise.
38623 * stdlib/stdlib.h: Likewise.
38624 * rt/bits/mqueue2.h: Likewise.
38625 * rt/mqueue.h: Likewise.
38626 * posix/bits/unistd.h: Likewise.
38627 * posix/unistd.h: Likewise.
38628 * io/bits/poll2.h: Likewise.
38629 * io/bits/fcntl2.h: Likewise.
38630 * io/fcntl.h: Likewise.
38631 * io/sys/poll.h: Likewise.
38632 * misc/bits/syslog.h: Likewise.
38633 * misc/bits/syslog-ldbl.h: Likewise.
38634 * misc/sys/syslog.h: Likewise.
38635 * socket/bits/socket2.h: Likewise.
38636 * socket/sys/socket.h: Likewise.
38637 * debug/tst-chk1.c: Likewise.
38638 * wcsmbs/bits/wchar2.h: Likewise.
38639 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38640 * wcsmbs/wchar.h: Likewise.
38641
ecf0ebfb
AJ
386422012-04-29 Andreas Jaeger <aj@suse.de>
38643
38644 * Makerules (tests): Remove enable-check-abi protection.
38645 (check-abi-warn): Remove.
38646 (check-abi-%): Remove check-abi-warn usage.
38647
38648 * configure.in: Remove check-abi configure option.
38649 * configure: Regenerated.
38650 * config.make.in (enable-check-abi): Remove.
38651
6d5c57fa
AS
386522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38653
24c5d07e 38654 [BZ #14033]
ded5180a
AS
38655 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38656 double functions to double *_finite functions.
38657
7e0d315d
AS
38658 [BZ #13941]
38659 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38660 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38661 LDBL_MIN_EXP.
38662 * stdio-common/Makefile (tests): Add tst-sprintf3.
38663 * stdio-common/tst-sprintf3.c: New file.
38664
6d5c57fa
AS
38665 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38666 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38667
0749ff8b
JM
386682012-04-28 Joseph Myers <joseph@codesourcery.com>
38669
38670 * conform/conformtest.pl: Remove duplicate typed-constant
38671 handling.
38672
8dbd5d7b
DM
386732012-04-28 David S. Miller <davem@davemloft.net>
38674
38675 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38676 (check-abi-%): Remove AWK script prerequisite and explicit
38677 abilist directory.
38678 (check-abi): Rewrite to just diff the symlist with the abilist.
38679 (config-tls, config-abi-config): Delete, no longer used.
38680 (update-abi-%): Remove AWK script and explicit abilist directory.
38681 (update-abi): Rewrite to simply compare and conditionally copy the
38682 symlist and the sysdep abilist file. Remove update-abi-config
38683 checks.
38684 * abilist/ld.abilist: Remove.
38685 * abilist/libBrokenLocale.abilist: Remove.
38686 * abilist/libanl.abilist: Remove.
38687 * abilist/libcrypt.abilist: Remove.
38688 * abilist/libdl.abilist: Remove.
38689 * abilist/librt.abilist: Remove.
38690 * abilist/libthread_db.abilist: Remove.
38691 * abilist/libutil.abilist: Remove.
38692 * scripts/extract-abilist.awk: Remove.
38693 * scripts/merge-abilist.awk: Remove.
38694 * sysdeps/generic/libcidn.abilist: New file.
38695 * sysdeps/generic/libnss_compat.abilist: New file.
38696 * sysdeps/generic/libnss_db.abilist: New file.
38697 * sysdeps/generic/libnss_dns.abilist: New file.
38698 * sysdeps/generic/libnss_files.abilist: New file.
38699 * sysdeps/generic/libnss_hesiod.abilist: New file.
38700 * sysdeps/generic/libnss_nis.abilist: New file.
38701 * sysdeps/generic/libnss_nisplus.abilist: New file.
38702 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38703 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38704 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38705 file.
38706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38707 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38708 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38709 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38710 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38711 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38712 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38713 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38714 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38715 file.
38716 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38717 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38718 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38719 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38720 file.
38721 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38722 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38723 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38724 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38725 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38726 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38727 file.
38728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38729 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38730 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38731 file.
38732 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38734 New file.
38735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38736 New file.
38737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38738 New file.
38739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38740 New file.
38741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38742 New file.
38743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38744 New file.
38745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38746 New file.
38747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38748 New file.
38749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38750 New file.
38751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38752 New file.
38753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38754 New file.
38755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38756 New file.
38757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38758 New file.
38759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38760 file.
38761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38762 New file.
38763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38764 New file.
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38766 file.
38767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38768 New file.
38769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38770 New file.
38771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38772 file.
38773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38774 New file.
38775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38776 New file.
38777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38778 New file.
38779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38780 New file.
38781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38782 New file.
38783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38784 New file.
38785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38787 file.
38788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38789 New file.
38790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38791 file.
38792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38793 file.
38794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38795 file.
38796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38797 file.
38798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38799 file.
38800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38801 New file.
38802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38803 file.
38804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38805 file.
38806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38807 New file.
38808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38809 file.
38810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38812 file.
38813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38814 New file.
38815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38816 file.
38817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38818 file.
38819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38820 file.
38821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38822 file.
38823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38824 file.
38825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38826 New file.
38827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38828 file.
38829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38830 file.
38831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38832 New file.
38833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38834 file.
38835 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38836 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38837 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38838 file.
38839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38840 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38841 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38842 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38843 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38844 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38845 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38846 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38847 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38848 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38851 file.
38852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38853 New file.
38854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38855 file.
38856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38857 file.
38858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38859 file.
38860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38861 file.
38862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38863 file.
38864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38865 New file.
38866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38867 New file.
38868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38869 file.
38870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38871 New file.
38872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38873 file.
38874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38876 file.
38877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38878 New file.
38879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38880 file.
38881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38882 file.
38883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38884 file.
38885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38886 file.
38887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38888 file.
38889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38890 New file.
38891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38892 New file.
38893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38894 file.
38895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38896 New file.
38897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38898 file.
38899
41d73a1b
JM
389002012-04-28 Joseph Myers <joseph@codesourcery.com>
38901
38902 * conform/conformtest.pl: Fix typo in handling typed-constant from
38903 allow-header.
38904
28aeeda4
JM
389052012-04-27 Joseph Myers <joseph@codesourcery.com>
38906
adae8f5e
JM
38907 * README: Cut down references to pre-2.6 Linux kernels and
38908 Linuxthreads. Update lists of configurations in libc and ports
38909 and sort alphabetically. Say "or newer" with Linux kernel version
38910 requirements.
38911
28aeeda4
JM
38912 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38913
a462cb63
RA
389142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38915
38916 [BZ #887]
38917 * math/libm-test.inc (logb_test_downward): New test to expose
38918 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38919 rounding mode.
38920
6ad3493e
JM
389212012-04-27 Joseph Myers <joseph@codesourcery.com>
38922
38923 [BZ #14027]
38924 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38925 to be done.
38926 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38927 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38928
2ce4f015
JM
389292012-04-26 Joseph Myers <joseph@codesourcery.com>
38930
5aeb141a
JM
38931 * sysdeps/unix/i386/brk.S: Remove file.
38932 * sysdeps/unix/i386/dl-brk.S: Likewise.
38933 * sysdeps/unix/i386/pipe.S: Likewise.
38934 * sysdeps/unix/i386/sigreturn.S: Likewise.
38935 * sysdeps/unix/i386/syscall.S: Likewise.
38936 * sysdeps/unix/i386/vfork.S: Likewise.
38937 * sysdeps/unix/i386/wait.S: Likewise.
38938
7143acae
JM
38939 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38940 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38941
2ce4f015
JM
38942 * configure.in (arm*-none*): Do not allow without
38943 --enable-hacker-mode.
38944 (netbsd*): Remove case setting base_os.
38945 (386bsd*): Likewise.
38946 (freebsd*): Likewise.
38947 (bsdi*): Likewise.
38948 (osf*): Likewise.
38949 (sunos*): Likewise.
38950 (ultrix*): Likewise.
38951 (newsos*): Likewise.
38952 (dynix*): Likewise.
38953 (*bsd*): Likewise.
38954 (sysv*): Likewise.
38955 (isc*): Likewise.
38956 (esix*): Likewise.
38957 (sco*): Likewise.
38958 (minix*): Likewise.
38959 (irix4*): Likewise.
38960 (irix6*): Likewise.
38961 (solaris[2-9]*): Likewise.
38962 (none): Likewise.
38963 * configure: Regenerated.
38964
0ac229c8
AZ
389652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38966
38967 [BZ #11521]
38968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38969 overflow or cancellation in calculating denominator.
38970 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38972 down expression to avoid unexpected rounding in newer GCCs.
38973 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38974
33f244f4
DM
389752012-04-26 David S. Miller <davem@davemloft.net>
38976
38977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38978 long-double compat symbols.
38979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38992
cfa1f3e8
DM
389932012-04-25 David S. Miller <davem@davemloft.net>
38994
38995 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38996 HWCAP_* values only after the memory barriers have been defined.
38997 (atomic_full_barrier): Define.
38998 (atomic_read_barrier): Define.
38999 (atomic_write_barrier): Define.
39000
6e236b92
SP
390012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39002
39003 * shlib-versions: Add libgcc_s version information.
39004 * sysdeps/generic/libgcc_s.h: Remove.
39005 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39006 libgcc_s.h.
39007 * sysdeps/gnu/unwind-resume.c: Likewise.
39008 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39009
aab39a09
DM
390102012-04-25 David S. Miller <davem@davemloft.net>
39011
39012 * sysdeps/unix/sparc/brk.S: Delete.
39013 * sysdeps/unix/sparc/dl-brk.S: Delete.
39014 * sysdeps/unix/sparc/pipe.S: Delete.
39015 * sysdeps/unix/sparc/sysdep.S: Delete.
39016 * sysdeps/unix/sparc/sysdep.h: Delete.
39017 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
39018 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39019 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39021 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
39022 (JUMPTARGET): Remove.
39023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39024 sysdeps/unix/sparc/sysdep.h
39025 (ENTRY, END): Remove.
39026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39027
a3cc4f48
JM
390282012-04-25 Joseph Myers <joseph@codesourcery.com>
39029
2ed8cda2
JM
39030 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39031 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39032 -DIS_IN_build.
39033
35d76d59
JM
39034 * timezone/README: Update upstream location and email address for
39035 tzcode and tzdata.
39036 * timezone/zdump.c: Update from tzcode 2012b.
39037 * timezone/zic.c: Likewise.
39038
a3cc4f48
JM
39039 * configure.in (libc_cv_as_needed): Remove test.
39040 * configure: Regenerated.
39041 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39042 conditional definition.
39043 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39044 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39045 * config.make.in (have-as-needed): Remove variable.
39046
ceab42c3
SP
390472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39048 Paul Pluzhnikov <ppluzhnikov@google.com>
39049
39050 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39051 strings correctly.
39052
3ce2865f
CLT
390532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39054
39055 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39056 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39057 * sysdeps/sh/strlen.S: Likewise.
39058
f37e0d68
JM
390592012-04-24 Joseph Myers <joseph@codesourcery.com>
39060
ae186e9a
JM
39061 * sysdeps/unix/fork.S: Remove file.
39062 * sysdeps/unix/i386/fork.S: Likewise.
39063 * sysdeps/unix/sparc/fork.S: Likewise.
39064
b96914af
JM
39065 * sysdeps/unix/system.c: Remove file.
39066 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39067
f37e0d68
JM
39068 * sysdeps/unix/getegid.S: Remove file.
39069 * sysdeps/unix/geteuid.S: Likewise.
39070
87ef29ca
RM
390712012-04-24 Roland McGrath <roland@hack.frob.com>
39072
83bcd236
RM
39073 * scripts/check-localplt.awk: New file.
39074 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39075 of diff.
39076 * scripts/data/localplt-generic.data: Add a comment.
39077
87ef29ca
RM
39078 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39079 NODE when __dir_mkfile failed.
39080 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39081 Reported by Ludovic Courtès <ludo@gnu.org>.
39082
e5a6e567
AJ
390832012-04-24 Andreas Jaeger <aj@suse.de>
39084
39085 * Makerules (common-clean): Also remove gen-as-const-headers
39086 files.
39087
c1820385
JM
390882012-04-24 Joseph Myers <joseph@codesourcery.com>
39089
39090 * Makerules (native-compile): Do not change working directory for
39091 build. Use $(OUTPUT_OPTION) in command.
39092 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39093
94e02fc4
AZ
390942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39095
39096 [BZ #13886]
39097 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39098 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39099 * math/libm-test.inc (floor_test): Add more tests.
39100 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39101
3a533ca3
JM
391022012-04-24 Joseph Myers <joseph@codesourcery.com>
39103
940ab4b3
JM
39104 * sysdeps/unix/getdents.c: Remove file.
39105 * sysdeps/unix/sysv/getdents.c: Likewise.
39106 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39107
90e037bd
JM
39108 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39109 sysdeps/unix/mman/syscalls.list.
39110 (mmap): Likewise.
39111 (mprotect): Likewise.
39112 (msync): Likewise.
39113 (munmap): Likewise.
39114 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39115 * sysdeps/unix/mman/syscalls.list: Remove.
39116 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39117
3a533ca3
JM
39118 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39119 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39120 * configure: Regenerated.
39121 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39122 $(libgcc_s_suffix).
39123 * config.make.in (libgcc_s_suffix): Remove variable.
39124
1ad743de
JM
391252012-04-23 Joseph Myers <joseph@codesourcery.com>
39126
4ad451e2
JM
39127 * sysdeps/unix/sysv/gethostname.c: Move to ...
39128 * sysdeps/posix/gethostname.c: ... here.
39129
5e37ce39
JM
39130 * sysdeps/unix/execve.S: Remove file.
39131
1ad743de
JM
39132 * sysdeps/unix/_exit.S: Remove file.
39133
4e681b5b
AJ
391342012-04-23 Andreas Jaeger <aj@suse.de>
39135
39136 [BZ #13739]
39137 * manual/Makefile: Remove make dist support, there's no
39138 need for a stand-alone documentation tar ball.
39139 (TEXI2DVI): Define always, it's not in Makeconfig.
39140 (dist): Removed.
39141 (tar-it): Removed.
39142 (edition): Removed.
39143 (glibc-doc-$(edition).tar): Removed
39144 (%.Z): Removed.
39145 (%.gz): Removed.
39146 (%.uu): Removed.
39147 (ETAGS): Remove, it's in Makeconfig.
39148 (move-if-change): Remove, it's in Makeconfig.
39149
38686a03 391502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
39151
39152 [BZ #13970]
39153 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39154 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39155 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39156 (strtod_l, strtof_l, strtold_l): Remove __wur.
39157 It is not necessarily an error to ignore strtol's return value.
39158 One can reliably look at the stored endptr to decide whether
39159 the number had valid syntax.
39160
7c0616fa
AJ
391612012-04-21 Andreas Jaeger <aj@suse.de>
39162
803cb6b7 39163 [BZ #13739]
7c0616fa
AJ
39164 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39165
b0fe253f
JM
391662012-04-21 Joseph Myers <joseph@codesourcery.com>
39167
39168 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39169 * sysdeps/unix/sysv/Versions: Remove file.
39170
8280f22d
MT
391712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39172
39173 [BZ #13927]
39174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39175
75ce411f 391762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
39177
39178 [BZ #7064]
39179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39180 version from __vm86.
39181
097d59fa
JM
391822012-04-20 Joseph Myers <joseph@codesourcery.com>
39183
a90f3bcb
JM
39184 * sysdeps/unix/common/lxstat.c: Remove file.
39185 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39186
edc7ea78
JM
39187 * sysdeps/unix/sysv/Makefile: Remove file.
39188
cb78c221
JM
39189 * sysdeps/unix/sysv/direct.h: Remove file.
39190
efa6a45f
JM
39191 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39192 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39193 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39194 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39195 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39196 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39197 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39198
9c9f2d0c
JM
39199 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39200
4541c83b
JM
39201 * sysdeps/unix/xmknod.c: Remove file.
39202 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39203
f5d153a0
JM
39204 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39205
aa746595
JM
39206 * sysdeps/unix/sysv/i386/time.S: Remove file.
39207
cce5905e
JM
39208 * sysdeps/unix/fxstat.c: Remove file.
39209 * sysdeps/unix/xstat.c: Likewise.
39210 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39211
37fa3841
JM
39212 * sysdeps/unix/sysv/sigaction.c: Remove file.
39213
ff1962a3
JM
39214 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39215 (sysdep_headers): Remove variable.
39216 [termio.h not in sysdep_headers] (generated): Likewise.
39217 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39218 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39219 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39220 * sysdeps/unix/sysv/tcflow.c: Likewise.
39221 * sysdeps/unix/sysv/tcflush.c: Likewise.
39222 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39223 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39224 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39225 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39226 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39227
e7740d31
JM
39228 * sysdeps/unix/siglist.c: Remove file.
39229
ee06f18b
JM
39230 * sysdeps/unix/getppid.S: Remove file.
39231
097d59fa
JM
39232 * sysdeps/unix/mkdir.c: Remove file.
39233 * sysdeps/unix/rmdir.c: Likewise.
39234
ff3d51ec
AS
392352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39236
39237 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39238 ERR_MAX value.
39239 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39240 errlist-compat value.
39241
50f81fd7
DM
392422012-04-18 David S. Miller <davem@davemloft.net>
39243
39244 * sysdeps/generic/memcopy.h (reg_char): Delete.
39245 * debug/strcat_chk.c: Use char, not reg_char.
39246 * debug/strcpy_chk.c: Likewise.
39247 * debug/strncat_chk.c: Likewise.
39248 * debug/strncpy_chk.c: Likewise.
39249 * string/memchr.c: Likewise.
39250 * string/memrchr.c: Likewise.
39251 * string/rawmemchr.c: Likewise.
39252 * string/strcat.c: Likewise.
39253 * string/strchr.c: Likewise.
39254 * string/strchrnul.c: Likewise.
39255 * string/strcmp.c: Likewise.
39256 * string/strcpy.c: Likewise.
39257 * string/strncat.c: Likewise.
39258 * string/strncmp.c: Likewise.
39259 * string/strncpy.c: Likewise.
39260
8ff41c46
WS
392612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39262
39263 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39264 __builtin_memcopy is called when src and dest ranges are known to not
39265 overlap.
39266
6b652f46
WS
392672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39268
39269 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39270 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39271 fwd_align_merge macro call.
39272 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39273 bwd_align_merge macro call.
39274 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39275
b282631e
WS
392762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39277
39278 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39279 bwd_align_merge macros.
39280 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39281 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39283
95aa737c
DM
392842012-04-18 David S. Miller <davem@davemloft.net>
39285
39286 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39287
7a99a614
AJ
392882012-04-18 Andreas Jaeger <aj@suse.de>
39289
39290 [BZ# 6794]
39291 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39292 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39294
39295 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39296 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39297 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39298
39299 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39300 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39301 Adjust for changed ldbl-128 files.
39302
39303 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39304 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39306
e5270c23
DM
393072012-04-17 David S. Miller <davem@davemloft.net>
39308
39309 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39310
fb5e92c9
AS
393112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39312
39313 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39314 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39315 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39316 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39317 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39318 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39319
76da7265
AZ
393202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39321
39322 [BZ #6794]
39323 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39324 * math/libm-test.inc: Add ilogb errno and exception tests.
39325 * math/w_ilogb.c: New file: ilogb wrapper.
39326 * math/w_ilogbf.c: New file: ilogbf wrapper.
39327 * math/w_ilogbl.c: New file: ilogbl wrapper.
39328 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39329 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39330 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39331 exception being thrown with 0.0 as argument.
39332 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39333 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39334 exception being thrown with 0.0 as argument.
39335 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39336 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39337 exception being thrown with 0.0 as argument.
39338 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39339 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39340 exception being thrown with 0.0 as argument.
39341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39342 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 39343 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
39344 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39345 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39346 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39347 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39348 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39349 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39350
0396e69d
PB
393512012-04-17 Petr Baudis <pasky@ucw.cz>
39352
39353 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39354 with altivec.
39355
750b5926
MP
393562012-04-16 Marek Polacek <polacek@redhat.com>
39357
39358 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39359
751728a1
MP
393602012-04-16 Marek Polacek <polacek@redhat.com>
39361
39362 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39363 operands of fdivp instruction.
39364
34a27407
L
393652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39366
39367 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39368 * elf/tst-auditmod3b.c: Likewise.
39369 * elf/tst-auditmod4b.c: Likewise.
39370 * elf/tst-auditmod5b.c: Likewise.
39371 * elf/tst-auditmod6b.c: Likewise.
39372 * elf/tst-auditmod6c.c: Likewise.
39373 * elf/tst-auditmod7b.c: Likewise.
39374 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39375 * sysdeps/x86_64/preconfigure.in: Likewise.
39376 * sysdeps/x86_64/preconfigure: Regenerated.
39377
7e73e17d
L
393782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39379
39380 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39381 __ILP32__.
39382
c7a6ab72
AB
393832012-04-13 Antoine Balestrat <merkil33@gmail.com>
39384
39385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39386 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39387
a9e8e0e0
CL
393882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39389
39390 [BZ #13973]
39391 * locale/iso-639.def: Fix gl language name. Spotted by
39392 Yaron Shahrabani.
39393
ec98af7d
RM
393942012-04-12 Roland McGrath <roland@hack.frob.com>
39395
39396 [BZ #2074]
39397 * libio/libio.h (__io_write_fn): Update comment.
39398
247c3ede
PB
393992012-04-12 Petr Baudis <pasky@ucw.cz>
39400
39401 [BZ #2074]
39402 * stdio.texi (Hook Functions): The user provided writer function
39403 is not allowed to return -1.
39404
55939d6d
DM
394052012-04-11 David S. Miller <davem@davemloft.net>
39406
39407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39408
90020f5a
MF
394092012-04-11 Mike Frysinger <vapier@gentoo.org>
39410
39411 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39412 Add a leading slash to rtkaio.
39413
288f9098
JM
394142012-04-11 Jim Meyering <meyering@redhat.com>
39415
90020f5a
MF
39416 [BZ #11959]
39417 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39418 It is not necessarily an error to ignore fwrite's return
39419 value. One can reliably use ferror to test for errors after
39420 the fact.
288f9098 39421
4be2b570
L
394222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39423
39424 * bits/types.h (__snseconds_t): New type.
39425 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39426
39427 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39429 (__SNSECONDS_T_TYPE): Likewise.
39430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39431 (__SNSECONDS_T_TYPE): Likewise.
39432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39433 (__SNSECONDS_T_TYPE): Likewise.
39434
288f9098 394352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
39436
39437 [BZ #2636]
39438 * manual/time.texi (Processor Time): Return type of times is
39439 elapsed real time since an arbitrary point in the past.
39440 (CPU Time): Move CLK_TCK from here...
39441 (Processor Time): ...to here. Correct description.
39442 * manual/conf.texi (Constants for Sysconf): Correct description of
39443 _SC_CLK_TCK.
39444
d7dd4413
DM
394452012-04-10 David S. Miller <davem@davemloft.net>
39446
39447 [BZ #13967]
39448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39449 where the is a gap between DT_REL(A) and DT_JMPREL.
39450
b46068fc
L
394512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39452
39453 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39454 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39455 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39456
73d65cc3
SP
394572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39458
39459 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39460 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39461 (dl_main): Handle --inhibit-cache.
39462 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39463 _dl_inhibit_cache.
39464 * elf/dl-load.c (_dl_map_object): Use it.
39465 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39466
bcc8d661
JM
394672012-04-09 Joseph Myers <joseph@codesourcery.com>
39468
8f9a2fae
JM
39469 [BZ #13872]
39470 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39471 (__ieee754_powl): Saturate large exponents rather than testing for
39472 overflow of y*log2(x).
39473 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39474 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39475 exceptions.
39476
bcc8d661
JM
39477 [BZ #11521]
39478 * math/s_ctan.c: Include <float.h>.
39479 (__ctan): Avoid internal overflow or cancellation in calculating
39480 denominator.
39481 * math/s_ctanf.c: Likewise.
39482 * math/s_ctanl.c: Likewise.
39483 * math/s_ctanh.c: Likewise.
39484 * math/s_ctanhf.c: Likewise.
39485 * math/s_ctanhl.c: Likewise.
39486 * math/libm-test.inc (ctan_test): Add more tests.
39487 (ctanh_test): Likewise.
39488 * sysdeps/i386/fpu/libm-test-ulps: Update.
39489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39490
823fbbb4
AJ
394912012-04-09 Andreas Jaeger <aj@suse.de>
39492
03879793
AJ
39493 [BZ #6894]
39494 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39495 is an optional BSD extension.
39496
823fbbb4
AJ
39497 [BZ #10254]
39498 * manual/stdio.texi (Opening Streams): Document additional fopen
39499 parameters.
39500
8de131cb
RM
395012012-04-09 Roland McGrath <roland@hack.frob.com>
39502
39503 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39504 %eax without telling the compiler.
39505
c0ed9d7d
CD
395062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39507
39508 [BZ # 13963]
39509 * manual/install.texi: Use sourceware.org.
39510
c483f6b4
JM
395112012-04-09 Joseph Myers <joseph@codesourcery.com>
39512
d7dd9453
JM
39513 [BZ #13873]
39514 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39515 (__ieee754_pow): Generate overflow and underflow using huge*huge
39516 and tiny*tiny rather than just returning constant infinity or zero
39517 for large exponents.
39518 * math/libm-test.inc (pow_test): Require overflow exceptions for
39519 applicable cases of large exponents.
39520
c483f6b4
JM
39521 [BZ #706]
39522 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39523 (__ieee754_pow): Use iterative multiplication algorithm only for
39524 integer exponents with absolute value below 1024. Check for odd
39525 integer exponents when using algorithm for real exponents.
39526 * math/libm-test.inc (pow_test): Add more tests.
39527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39528
d2de7579
JM
395292012-04-08 Joseph Myers <joseph@codesourcery.com>
39530
39531 [BZ #13705]
39532 * math/libm-test.inc (exp_test): Do not allow overflow exception
39533 on underflow test.
39534
f77f1232
AJ
395352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39536
39537 [BZ #13705]
39538 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39539 instead of __kernel_standard_f.
39540
3884932b
MF
395412012-04-08 Mike Frysinger <vapier@gentoo.org>
39542
39543 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39544 * sysdeps/x86_64/memset_chk.S: Likewise.
39545
54472e9c
AJ
395462012-04-08 Andreas Jaeger <aj@suse.de>
39547
6ab0fbfc
AJ
39548 [BZ #10153]
39549 * manual/startup.texi (Environment Access): Describe return value
39550 for putenv and setenv.
39551
61efba8c
AJ
39552 [BZ #6895]
39553 * manual/filesys.texi (Directory Entries): Add description for
39554 DT_LNK.
39555
95c3f29a
AJ
39556 [BZ #6890]
39557 * manual/filesys.texi (Directory Entries): Clarify that it's file
39558 system not operating system in the description of DT_UNKNOWN.
39559
54472e9c
AJ
39560 [BZ #6578]
39561 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39562
624254b1
SC
395632012-04-08 Stephen Compall <s11@member.fsf.org>
39564
39565 [BZ #6649]
39566 * manual/llio.texi (Opening and Closing Files): Add cross
39567 reference to explain mode argument.
39568
1e4920e0
MF
395692012-04-07 Mike Frysinger <vapier@gentoo.org>
39570
39571 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39572 * sysdeps/x86_64/memset_chk.S: Likewise.
39573
5ed848f3
DM
395742012-04-07 David S. Miller <davem@davemloft.net>
39575
39576 * elf/elf.h (R_SPARC_WDISP10): Define.
39577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39578 R_SPARC_SIZE32.
39579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39580 R_SPARC_SIZE64 and R_SPARC_H34.
39581
96154cd8
CD
395822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39583
39584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39585 conditions and remove no longer applicable assertion.
39586
9904dc47
L
395872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39588
39589 * bits/byteswap.h: Include <features.h>.
39590 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39591 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39592
f8887d0a
L
395932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39594
39595 * bits/byteswap.h (__bswap_16): Removed.
39596 Include <bits/byteswap-16.h> to get __bswap_16.
39597 * sysdeps/i386/bits/byteswap.h: Likewise.
39598 * sysdeps/s390/bits/byteswap.h: Likewise.
39599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39600 * bits/byteswap-16.h: New file.
39601 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39602 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39603 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39604 * string/Makefile (headers): Add bits/byteswap-16.h.
39605
62470f60
PP
396062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39607
39608 [BZ #13895]
39609 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39610 extra indirection.
39611 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39612 * nss/tst-nss-static.c: New.
39613
4dad7bab
RM
396142012-04-06 Robert Millan <rmh@gnu.org>
39615
39616 [BZ #6486]
39617 * manual/llio.texi (File Position Primitive): lseek
39618 refers to WHENCE when it really means OFFSET.
39619
e9142a17
AJ
396202012-04-06 Andreas Jaeger <aj@suse.de>
39621
2c040eff
AJ
39622 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39623 strncmp declarations.
39624
e9142a17
AJ
39625 * abilist/libc.abilist: Add __poll and __ppoll.
39626
ff9f1c5f
DM
396272012-04-05 David S. Miller <davem@davemloft.net>
39628
dcd2ae90
DM
39629 * scripts/check-local-headers.sh: Accept a host triplet in the
39630 path matched by the exclude regexp.
39631
993eb054
DM
39632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39633 definition.
39634 * sysdeps/powerpc/powerpc32/dl-machine.h
39635 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39636 * sysdeps/s390/s390-32/dl-machine.h
39637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39638 * sysdeps/sparc/sparc32/dl-machine.h
39639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39640 * sysdeps/sparc/sparc64/dl-machine.h
39641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39642
ff9f1c5f
DM
39643 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39644 lazy binding.
48e2e132 39645 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
39646 undefined symbol errors.
39647
48e2e132 39648 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
39649 DT_NEEDED entries.
39650
e80d6f94
MM
396512012-04-05 Michael Matz <matz@suse.de>
39652
39653 [BZ #13592]
39654 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39655
349fa79f
AJ
396562012-04-05 Andreas Jaeger <aj@suse.de>
39657
39658 [BZ #13908]
39659 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39660 comment.
39661
f402708f
KK
396622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39663
39664 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39665 which ROUND is no valid rounding mode.
39666
2ecccfc9
KK
396672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39668
39669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39670 read again.
39671 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39672
8a53f50f
KK
396732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39674
39675 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39676 an exception using FPU order intentionally.
39677
396782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39679
39680 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39681 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39682 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39683 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39684
d653abb7
SJ
396852012-04-05 Simon Josefsson <simon@josefsson.org>
39686
39687 [BZ #12340]
39688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39689 EINVAL when BUFLEN is too smal.
39690
c3b1bf7d
TS
396912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39692
39693 [BZ #13553]
39694 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39695 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39696
b1aa60f3
AJ
396972012-04-03 Andreas Jaeger <aj@suse.de>
39698
c3b1bf7d 39699 [BZ #13938]
67f60a26
AJ
39700 * manual/setjmp.texi (System V contexts): Fix sentence.
39701
b1aa60f3
AJ
39702 [BZ #13926]
39703 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39704 New macro for this case.
39705 [!__GNUC__] (__bswap_64): New inline function for this case.
39706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39707 * bits/byteswap.h: Likewise.
39708 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39709 ull, guard with __GLIBC_HAVE_LONG_LONG.
39710
39711 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39712 __GLIBC_HAVE_LONG_LONG.
39713
39714 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39715 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39716
39c59c35
TMQMF
397172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39718
39719 [BZ #13691]
39720 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39721 inptr and inend, rather than using last_ch.
39722
135ffda8
DM
397232012-04-02 David S. Miller <davem@davemloft.net>
39724
39725 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39726 * stdio-common/printf-parse.h (read_int): Change return type to
39727 'int', return -1 on INT_MAX overflow.
39728 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39729 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39730 overflows INT_MAX. Check for overflow of in-format-string precision
39731 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39732 SIZE_MAX not INT_MAX for integer overflow test.
39733 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39734 skip the construct in the format string but do not record anything.
39735 * stdio-common/bug22.c: Adjust to test both width/prevision
39736 INT_MAX overflow as well as total length INT_MAX overflow. Check
39737 explicitly for proper errno values.
39738
228c019e
TS
397392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39740
302cadd3
TS
39741 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39742 CHAR_MAX.
39743 * string/test-strcmp.c [! WIDE]: Likewise.
39744 * time/tst-mktime2.c: Likewise for INT_MAX.
39745 * string/test-string.h: #include <sys/param.h> for MIN.
39746
228c019e
TS
39747 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39748 * sysdeps/i386/init-first.c (init): Likewise.
39749 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39750 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39751 * sysdeps/sh/init-first.c (init): Likewise.
39752
cfa633f5
UD
397532012-04-01 Ulrich Drepper <drepper@gmail.com>
39754
39755 * po/ru.po: Update from translation team.
d1635ef8 39756 * po/vi.po: Likewise.
cfa633f5 39757
6cd0a5ea
SP
397582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39759
39760 * resolv/nss_dns/dns-host.c: Merge copyright years.
39761
4b43400f
LD
397622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39763
39764 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39765 Optimize memcpy with prefetch if
39766 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39767 src, dst pointers have unequal 16 byte alignments.
39768
48c41d04
SP
397692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39770
39771 [BZ #13928]
39772 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39773 from a CNAME entry and return the minimum ttl for the query.
39774 (gaih_getanswer_slice): Likewise.
39775
b8dc394d
JL
397762012-03-30 Jeff Law <law@redhat.com>
39777
39778 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39779 due to long keys.
39780 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39781 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39782
2f5a5ed0
JL
39783 * resolv/nss_dns/dns-host.c: Update copyright year.
39784
1d39e359
UD
397852012-03-30 Ulrich Drepper <drepper@gmail.com>
39786
c030f70c 39787 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 39788 requests to save a system call. Fix check that all bytes are sent.
c030f70c 39789
1d39e359
UD
39790 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39791 comments for sendmmsg.
39792
397932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
39794
39795 [BZ #13691]
39796 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39797 with only 1 character between 0x0041 and 0x01b0.
39798 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39799 * wcsmbs/tst-mbsnrtowcs.c: New file.
39800
20fde227
DM
398012012-03-29 David S. Miller <davem@davemloft.net>
39802
39803 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39804 small copies by hand.
39805
984a4237
JL
398062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39807
39808 [BZ #13761]
57f41c40
AS
39809 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39810 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39811 group memberships.
984a4237 39812
18c9d62b
DM
398132012-03-28 David S. Miller <davem@davemloft.net>
39814
88d85d4f
DM
39815 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39816 that branches into memcpy.
39817 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39820 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39821 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39822 bits.
39823 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39824 implementation too.
39825 * sysdeps/sparc/mempcpy.S: New file.
39826
e5aa83e1
DM
39827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39828 the IFUNC routine in the libc case.
39829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39830
88570753
DM
39831 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39832 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39833 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39834 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39835 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39836 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39837 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39838 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39839
249d7567
DM
39840 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39841 loop to 256 bytes instead of 64 bytes and fix test signedness.
39842
18c9d62b
DM
39843 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39844 * sysdeps/sparc/sparc32/Makefile: rather than here...
39845 * sysdeps/sparc/sparc64/Makefile: and here.
39846
05f3d1f6
UD
398472012-03-28 Ulrich Drepper <drepper@gmail.com>
39848
39849 * malloc/mallocbug.c: Avoid warnings about unused variables.
39850
86ae07a8
JL
398512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39852
39853 [BZ #13760]
39854 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39855 in the right place. Discard and retry query if response is
39856 larger than input buffer size.
39857
41bf21a1
JM
398582012-03-28 Joseph Myers <joseph@codesourcery.com>
39859
d6270972
JM
39860 [BZ #369]
39861 [BZ #2678]
39862 [BZ #3866]
39863 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39864 x for large integer exponent.
39865 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39866 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39867 sign of result as needed afterwards.
39868 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39869 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39870 result for underflowing pow the same as for overflow.
39871 (__kernel_standard_l): Handle powl overflow and underflow here
39872 rather than calling __kernel_standard.
39873 * math/libm-test.inc (pow_test): Add more tests.
39874
414fca03 39875 [BZ #3868]
41bf21a1
JM
39876 [BZ #13879]
39877 [BZ #13910]
39878 [BZ #13911]
39879 [BZ #13912]
39880 [BZ #13913]
39881 [BZ #13915]
39882 [BZ #13916]
39883 [BZ #13917]
39884 [BZ #13918]
39885 [BZ #13919]
39886 [BZ #13920]
39887 [BZ #13921]
39888 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39889 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39890 (__kernel_standard_l): New function.
39891 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39892 __kernel_standard.
39893 * math/w_acosl.c (__acosl): Likewise.
39894 * math/w_asinl.c (__asinl): Likewise.
39895 * math/w_atan2l.c (__atan2l): Likewise.
39896 * math/w_atanhl.c (__atanhl): Likewise.
39897 * math/w_coshl.c (__coshl): Likewise.
39898 * math/w_exp10l.c (__exp10l): Likewise.
39899 * math/w_exp2l.c (__exp2l): Likewise.
39900 * math/w_fmodl.c (__fmodl): Likewise.
39901 * math/w_hypotl.c (__hypotl): Likewise.
39902 * math/w_j0l.c (__j0l, __y0l): Likewise.
39903 * math/w_j1l.c (__j1l, __y1l): Likewise.
39904 * math/w_jnl.c (__jnl, __ynl): Likewise.
39905 * math/w_lgammal.c (__lgammal): Likewise.
39906 * math/w_log10l.c (__log10l): Likewise.
39907 * math/w_log2l.c (__log2l): Likewise.
39908 * math/w_logl.c (__logl): Likewise.
39909 * math/w_powl.c (__powl): Likewise.
39910 * math/w_remainderl.c (__remainderl): Likewise.
39911 * math/w_scalbl.c (sysv_scalbl): Likewise.
39912 * math/w_sinhl.c (__sinhl): Likewise.
39913 * math/w_sqrtl.c (__sqrtl): Likewise.
39914 * math/w_tgammal.c (__tgammal): Likewise.
39915 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39916 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39917 * math/libm-test.inc (acos_test): Add more tests.
39918 (acosh_test): Likewise.
39919 (asin_test): Likewise.
39920 (atanh_test): Likewise.
39921 (exp_test): Likewise.
39922 (exp10_test): Likewise.
39923 (exp2_test): Likewise.
39924 (expm1_test): Likewise.
39925 (lgamma_test): Likewise.
39926 (log_test): Likewise.
39927 (log10_test): Likewise.
39928 (log1p_test): Likewise.
39929 (log2_test): Likewise.
39930 (pow_test): Do not allow some spurious overflow exceptions.
39931 (sqrt_test): Add more tests.
39932 (tgamma_test): Likewise.
39933 (y0_test): Likewise.
39934 (y1_test): Likewise.
39935 (yn_test): Likewise.
39936
dd62fda6
AB
399372012-03-27 Anton Blanchard <anton@samba.org>
39938
39939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39940 MAP_HUGETLB.
39941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39944
1e3cdfda
AJ
399452012-03-27 David S. Miller <davem@davemloft.net>
39946
b855ab85
DM
39947 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39948
1e3cdfda
AJ
39949 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39950 have-as-vis3 check.
39951
399522012-03-27 Andreas Jaeger <aj@suse.de>
39953
39954 * sysdeps/x86_64/elf/configure.in: Moved to ...
39955 * sysdeps/x86_64/configure.in: ... here.
39956 * sysdeps/x86_64/elf/start.S: Moved to ...
39957 * sysdeps/x86_64/start.S: ... here.
39958 * sysdeps/x86_64/elf/configure: Delete.
39959
39960 * sysdeps/x86_64/configure.in: Merge contents from
39961 sysdeps/i386/configure.in (without i686 check).
39962
39963 * sysdeps/i386/elf/Versions: Merge into ...
39964 * sysdeps/i386/Versions: ... this.
39965 * sysdeps/i386/elf/Versions: Delete file.
39966 * sysdeps/i386/elf/start.S: Moved to ...
39967 * sysdeps/i386/start.S: ...here.
39968 * sysdeps/i386/elf/configure.in: Merge into...
39969 * sysdeps/i386/configure.in: ...here.
39970 * sysdeps/i386/elf/configure.in: Delete file.
39971 * sysdeps/i386/elf/configure: Delete file.
39972
39973 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39974 * debug/backtracesyms.c: ... here.
39975 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39976 * debug/backtracesymsfd.c: ... here.
39977 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39978 * sysdeps/generic/ifunc-sel.h: ... here.
39979
39980 * sysdeps/unix/i386/start.c: Delete file.
39981 * sysdeps/unix/sparc/start.c: Delete file.
39982 * sysdeps/unix/start.c: Delete file.
39983
39984 * sysdeps/sh/elf/configure.in: Moved to ...
39985 * sysdeps/sh/configure.in: ... here.
39986 * sysdeps/sh/elf/start.S: Moved to ...
39987 * sysdeps/sh/start.S: ... here.
39988 * sysdeps/sh/elf/configure: Delete file.
39989
39990 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39991 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39992 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39993 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39994 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39995 * sysdeps/powerpc/powerpc64/start.S: here.
39996 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39997 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39998 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39999 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40000 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40001
40002 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40003 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40004 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40005 * sysdeps/powerpc/powerpc32/start.S: ... here.
40006 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40007 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40008 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40009
40010 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40011 * sysdeps/powerpc/ifunc-sel.h: ... here.
40012 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40013 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40014
40015 * sysdeps/sparc/elf/configure.in: Moved to ...
40016 * sysdeps/sparc/configure.in: ... here.
40017 * sysdeps/sparc/elf/configure: Delete file.
40018 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40019 * sysdeps/sparc/sparc32/start.S: ... here.
40020 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40021 * sysdeps/sparc/sparc64/start.S: ... here.
40022 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40023 * sysdeps/sparc/sparc32/Makefile: ... this.
40024 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40025 * sysdeps/sparc/sparc64/Makefile: ... this.
40026
40027 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40028 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40029 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40030 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40031 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40032 * sysdeps/s390/s390-32/setjmp.S: ... here.
40033 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40034 * sysdeps/s390/s390-32/configure.in: ... here.
40035 * sysdeps/s390/s390-32/elf/configure: Delete file.
40036 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40037 * sysdeps/s390/s390-32/start.S: ... here.
40038
40039 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40040 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40041 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40042 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40043 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40044 * sysdeps/s390/s390-64/setjmp.S: ... here.
40045 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40046 * sysdeps/s390/s390-64/configure.in: ... here
40047 * sysdeps/s390/s390-64/elf/configure: Delete file.
40048 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40049 * sysdeps/s390/s390-64/start.S: ... here.
40050 * sysdeps/s390/s390-64/elf/configure: Delete.
40051
40052 * configure.in: Remove support for elf directories in sysdeps.
40053
40054 * configure: Regenerated.
40055 * sysdeps/i386/configure: Regenerated.
40056 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40057 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40058 * sysdeps/s390/s390-32/configure: Regenerated.
40059 * sysdeps/s390/s390-64/configure: Regenerated.
40060 * sysdeps/sh/configure: Regenerated.
40061 * sysdeps/sparc/configure: Regenerated.
40062 * sysdeps/x86_64/configure: Regenerated.
40063
a3f61311
AS
400642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40065
c876e002
AS
40066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40067
a3f61311
AS
40068 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40069 denormal result into account.
40070
ac4c54f0
RM
400712012-03-25 Roland McGrath <roland@hack.frob.com>
40072
40073 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40074 Reported by Allan McRae <allan@archlinux.org>.
40075
6a9b9c02
JL
400762012-03-23 Jeff Law <law@redhat.com>
40077
40078 * nss/getnssent.c (__nss_getent): Fix typo.
40079
4c42a0c1
DM
400802012-03-23 David S. Miller <davem@davemloft.net>
40081
40082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40083
1532c7ac
L
400842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40085
40086 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40087 to pad to uint64_t for each field.
40088 (dl_tls_index): Replace unsigned long with uint64_t.
40089
3ff42526
PP
400902012-03-23 Daniel Jacobowitz <dmj@google.com>
40091 Paul Pluzhnikov <ppluzhnikov@google.com>
40092
40093 [BZ #6528]
40094 * grp/Makefile (otherlibs): Don't set it.
40095 * inet/Makefile (otherlibs): Likewise.
40096 * login/Makefile (otherlibs): Likewise.
40097 * nscd/Makefile (otherlibs): Likewise.
40098 * posix/Makefile (otherlibs): Likewise.
40099 * pwd/Makefile (otherlibs): Likewise.
40100 * rt/Makefile (otherlibs): Likewise.
40101 * sunrpc/Makefile (otherlibs): Likewise.
40102 * nss/Makefile (otherlibs): Likewise.
40103 Add libnss_files to routines and static-only-routines.
40104 ($(objpfx)getent): Remove rule.
40105 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40106 static-only-routines.
40107
7c69cd14
JM
401082012-03-22 Joseph Myers <joseph@codesourcery.com>
40109
40110 [BZ #13892]
40111 * math/s_cexp.c: Include <float.h>.
40112 (__cexp): Handle exp result overflowing not necessarily
40113 overflowing both real and imaginary parts of result.
40114 * math/s_cexpf.c: Likewise.
40115 * math/s_cexpl.c: Likewise.
40116 * math/libm-test.inc (cexp_test): Add more tests.
40117 * sysdeps/i386/fpu/libm-test-ulps: Update.
40118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40119
81b035fe
L
401202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40121
40122 * include/link.h (ELFW): New macro.
40123 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40124 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40125
1da7940c
L
401262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40127
40128 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40129 with uint64_t.
40130
b749dbb9
L
401312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40132
40133 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40134 declaration.
40135 (struct La_x32_retval): Likewise.
40136
2ff87f3f
L
401372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40138
40139 * sysdeps/x86_64/preconfigure.in: New file.
40140 * sysdeps/x86_64/preconfigure: New generated file.
40141
c0df8e69
JM
401422012-03-22 Joseph Myers <joseph@codesourcery.com>
40143
48e44791
JM
40144 [BZ #13824]
40145 * math/e_exp2l.c: Include <float.h>.
40146 (__ieee754_exp2l): Handle overflow and underflow cases
40147 separately. Only pass fractional part of argument to
40148 __ieee754_expl.
40149 * math/libm-test.inc (exp2_test): Add more tests.
40150
c0df8e69
JM
40151 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40152 negating x to take absolute value.
40153 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40154 Likewise.
40155 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40156 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40157 Likewise.
40158 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40159 computing low part if x was negated.
40160 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40161
c8e43ba7
L
401622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40163
40164 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40165 la_x32_gnu_pltexit.
40166 (pltexit): Cast int_retval to ptrdiff_t.
40167 * elf/tst-auditmod3b.c: Likewise.
40168 * elf/tst-auditmod4b.c: Likewise.
40169 * elf/tst-auditmod5b.c: Likewise.
40170 * elf/tst-auditmod6b.c: Likewise.
40171 * elf/tst-auditmod6c.c: Likewise.
40172 * elf/tst-auditmod7b.c: Likewise.
40173
40174 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40175 and x32_gnu_pltexit.
40176
40177 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40178 __ELF_NATIVE_CLASS.
40179 (La_x32_regs): New macro.
40180 (La_x32_retval): Likewise.
40181 (la_x32_gnu_pltenter): New function prototype.
40182 (la_x32_gnu_pltexit): Likewise.
40183
7998fa78
AS
401842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40185
dcb33988
AS
40186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40187 exponent.
40188
233fc563
AS
40189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40190
7998fa78
AS
40191 * configure.in (libc_cv_cc_nofma): Check for option to disable
40192 generation of FMA instructions.
40193 * configure: Regenerate.
40194 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40195 * sysdeps/ieee754/dbl-64/Makefile: New file.
40196 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40197 Remove brandred-fma4.
40198 (CFLAGS-brandred-fma4.c): Remove.
40199 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40200 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40201 define.
40202 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40203 define.
40204
8e95c99a
L
402052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40206
40207 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40208 LLONG_MAX != LONG_MAX.
40209 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40210 (_fitoa_word): Likewise.
40211 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40212 LLONG_MAX != LONG_MAX.
40213 * stdio-common/_itowa.h: Include <_itoa.h>.
40214 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40215 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40216 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40217 only if not defined.
40218 (_ITOA_WORD_TYPE): Likewise.
40219 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40220 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40221
6f4db457
DM
402222012-03-21 David S. Miller <davem@davemloft.net>
40223
40224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40225
7785fe5a
L
402262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40227
40228 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40229 of x86_64 when setting libc_cv_slibdir, libdir and
40230 libc_cv_localedir.
40231 * sysdeps/unix/sysv/linux/configure: Regenerated.
40232
4535cd55
JM
402332012-03-21 Joseph Myers <joseph@codesourcery.com>
40234
40235 * manual/lang.texi (Old Varargs): Remove section.
40236 (How Variadic): Update menu.
40237 (va_start): Do not mention varargs.h.
40238
17228132
TS
402392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40240 Joseph Myers <joseph@codesourcery.com>
40241
40242 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40243 link test.
40244 * configure: Regenerated.
40245
8149f976
TS
402462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40247
05f3d1f6
UD
40248 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40249 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40250 conformtest.pl
8149f976 40251
1a4ac776
JM
402522012-03-21 Joseph Myers <joseph@codesourcery.com>
40253
be22ce65
JM
40254 * NOTES: Remove.
40255 * Makefile (files-for-dist): Remove NOTES.
40256 (NOTES): Remove rule.
40257 * README: Don't refer to NOTES.
40258 * manual/creature.texi: Don't include macros.texi.
40259 * manual/intro.texi (creature.texi): Remove comment referring to
40260 NOTES.
40261
40b601fb
JM
40262 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40263 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40264 * configure: Regenerated.
40265 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40266 LIBC_TRY_CC_OPTION.
40267 (libc_cv_as_i686): Likewise.
40268 (libc_cv_cc_avx): Likewise.
40269 (libc_cv_cc_sse2avx): Likewise.
40270 (libc_cv_cc_fma4): Likewise.
40271 (libc_cv_cc_novzeroupper): Likewise.
40272 * sysdeps/i386/configure: Regenerated.
40273
1a4ac776
JM
40274 [BZ #13883]
40275 * sysdeps/i386/fpu/s_cexp.S: Remove.
40276 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40277 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40278 * math/libm-test.inc (cexp_test): Add more tests.
40279 * sysdeps/i386/fpu/libm-test-ulps: Update.
40280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40281
a458e7fe
AM
402822012-03-21 Allan McRae <allan@archlinux.org>
40283
40284 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40285
0cb7efc5
JM
402862012-03-21 Joseph Myers <joseph@codesourcery.com>
40287
40288 [BZ #13871]
40289 * math/w_exp2.c: Do not include <float.h>.
40290 (o_threshold, u_threshold): Remove.
40291 (__exp2): Calculate result before checking finiteness and calling
40292 __kernel_standard.
40293 * math/w_exp2f.c: Likewise.
40294 * math/w_exp2l.c: Likewise.
40295 * math/libm-test.inc (exp2_test): Require overflow exception for
40296 1e6 input.
2460d3aa
JM
40297
40298 [BZ #3866]
40299 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40300 range of signed 64-bit integers before using fistpll. Remove
40301 checks for whether integers fit in mantissa bits.
40302 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40303 the range of signed 32-bit integers before using fistpl. Remove
40304 checks for whether integers fit in mantissa bits.
40305 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40306 (__ieee754_powl): Test for y outside the range of signed 64-bit
40307 integers before using fistpll. Reduce 64-bit values to 63-bit
40308 ones as needed.
40309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40310 divide-by-zero is raised for zero to large negative powers.
40311 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40312 (__ieee754_powl): Test for y outside the range of signed 64-bit
40313 integers before using fistpll. Reduce 64-bit values to 63-bit
40314 ones as needed.
40315 * math/libm-test.inc (pow_test): Add more tests.
40316
eb96ffb0
L
403172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40318
40319 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40320 <stdio-common/_itoa.h>.
40321 * debug/segfault.c: Likewise.
40322 * elf/dl-cache.c: Likewise.
40323 * elf/dl-minimal.c: Likewise.
40324 * elf/dl-misc.c: Likewise.
40325 * elf/dl-sysdep.c: Likewise.
40326 * elf/dl-version.c: Likewise.
40327 * elf/rtld.c: Likewise.
40328 * hurd/hurdsock.c: Likewise.
40329 * hurd/lookup-retry.c: Likewise.
40330 * malloc/malloc.c: Likewise.
40331 * malloc/mtrace.c: Likewise.
40332 * nscd/nscd_getgr_r.c: Likewise.
40333 * nscd/nscd_getpw_r.c: Likewise.
40334 * nscd/nscd_getserv_r.c: Likewise.
40335 * posix/getopt_init.c: Likewise.
40336 * posix/wordexp.c: Likewise.
40337 * stdio-common/_itoa.c: Likewise.
40338 * stdio-common/printf_fphex.c: Likewise.
40339 * stdio-common/vfprintf.c: Likewise.
40340 * string/_strerror.c: Likewise.
40341 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40342 * sysdeps/i386/i686/hp-timing.h: Likewise.
40343 * sysdeps/mach/_strerror.c: Likewise.
40344 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40345 * sysdeps/mach/hurd/sethostid.c: Likewise.
40346 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40347 * sysdeps/mach/xpg-strerror.c: Likewise.
40348 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40350 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40351 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40352 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40353 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40354 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40355 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40356 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40357 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40358 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40359 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40360 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40361 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40362 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40363 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40364 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40365 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40366 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40367 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40368 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40369
40370 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40371
40372 * stdio-common/_itoa.h: Moved to ...
40373 * sysdeps/generic/_itoa.h: Here.
40374
40375 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40376
40377 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40378 instead of "_itoa.h" and "_itowa.h".
40379 * stdio-common/vfprintf.: Likewise.
40380
d1af992d
L
403812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40382
40383 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40384 <bits/wordsize.h>.
40385 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40386 (__signbit): Likwise.
40387 (llrintf): Likwise.
40388 (llrint): Likwise.
40389
114883e0
L
403902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40391
40392 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40393 __WORDSIZE != 64.
40394
c135cc1b
JM
403952012-03-20 Joseph Myers <joseph@codesourcery.com>
40396
40397 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40398 OVERFLOW_EXCEPTION_OK.
40399 * math/libm-test.inc ("Philosophy"): Update comment about
40400 exception testing.
40401 (OVERFLOW_EXCEPTION): Define.
40402 (OVERFLOW_EXCEPTION_OK): Likewise.
40403 (INVALID_EXCEPTION_OK): Renumber.
40404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40405 (IGNORE_ZERO_INF_SIGN): Likewise.
40406 (test_exceptions): Handle FE_OVERFLOW.
40407 (exp10_test): Expect overflow exceptions.
40408 (exp2_test): Likewise.
40409 (expm1_test): Likewise.
40410 (nextafter_test): Likewise.
40411 (pow_test): Likewise.
40412 (scalbn_test): Likewise.
40413 (scalbln_test): Likewise.
40414
95443d88
L
404152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40416
40417 * sysdeps/x86_64/bits/atomic.h
40418 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40419 64bit integer.
40420 (atomic_exchange_acq): Likewise.
40421 (__arch_exchange_and_add_body): Likewise.
40422 (__arch_add_body): Likewise.
40423 (atomic_add_negative): Likewise.
40424 (atomic_add_zero): Likewise.
40425
490df6c4
L
404262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40427
c2722551 40428 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
40429 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40430
5e52b189
L
404312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40432
40433 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40434 Check __x86_64__ instead of __WORDSIZE.
40435
a9879d4c
L
404362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40437
40438 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40439
5df98260
DM
404402012-03-19 David S. Miller <davem@davemloft.net>
40441
e1497744
DM
40442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40443
5df98260
DM
40444 * sysdeps/sparc/fpu/fenv_private.h: New file.
40445 * sysdeps/sparc/fpu/math_private.h: Use it.
40446 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40447 Remove.
57f41c40 40448 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
40449 (libc_feholdexcept_setroundl): Remove.
40450 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40451 Remove.
40452 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40453 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40454
b4c35121
L
404552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40456
40457 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40458 int64_t instead of long int.
40459 (INSERT_WORDS64): Likwise.
40460
56965fd7
L
404612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40462
40463 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40464 _Unwind_GetCFA return to _Unwind_Ptr first.
40465
83d1aec8
JM
404662012-03-19 Joseph Myers <joseph@codesourcery.com>
40467
1897ad44
JM
40468 [BZ #13629]
40469 * math/s_clog.c: Include <float.h>.
40470 (__clog): Scale large or subnormal inputs.
40471 * math/s_clogf.c: Likewise.
40472 * math/s_clogl.c: Likewise.
40473 * math/s_clog10.c: Include <float.h>.
40474 (M_LOG10_2): Define.
40475 (__clog10): Scale large or subnormal inputs.
40476 * math/s_clog10f.c: Likewise.
40477 * math/s_clog10l.c: Likewise.
40478 * math/libm-test.inc (clog_test): Add more tests.
40479 (clog10_test): Likewise.
40480 * sysdeps/i386/fpu/libm-test-ulps: Update.
40481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40482
7726d6a9
JM
40483 [BZ #11451]
40484 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40485 x and y.
40486 * math/libm-test.inc (atan2_test): Add another test.
40487
83d1aec8
JM
40488 * Makerules (common-objdir-compile): Remove.
40489 * sysdeps/unix/Makefile (config-generated): Do not add
40490 $(unix-generated) to variable.
40491 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40492 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40493 Remove rule.
40494 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40495 Likewise.
40496 [generic bits/local_lim.h] (before-compile): Do not append to
40497 variable.
40498 [generic bits/local_lim.h] (common-generated): Likewise.
40499 [generic sys/param.h] (before-compile): Do not append to variable.
40500 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40501 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40502 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40503 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40504 include.
40505 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40506 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40507 [generic sys/param.h] ($(addprefix
40508 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40509 [generic sys/param.h] (common-generated): Do not append to
40510 variable.
40511 [generic sys/param.h] (sysdep_headers): Likewise.
40512 [generic bits/errno.h] (before-compile): Do not append to
40513 variable.
40514 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40515 rule.
40516 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40517 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40518 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40519 [generic bits/errno.h] (common-generated): Do not append to
40520 variable.
40521 [generic bits/ioctls.h] (before-compile): Do not append to
40522 variable.
40523 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40524 rule.
40525 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40526 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40527 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40528 rule.
40529 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40530 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40531 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40532 [generic bits/ioctls.h] (common-generated): Do not append to
40533 variable.
40534 [generic sys/syscall.h] (syscall.h): Remove variable.
40535 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40536 rule.
40537 [generic sys/syscall.h] (before-compile): Do not append to
40538 variable.
40539 [generic sys/syscall.h] (common-generated): Likewise.
40540 * sysdeps/unix/errnos-tmpl.c: Remove file.
40541 * sysdeps/unix/errnos.awk: Likewise.
40542 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40543 * sysdeps/unix/ioctls.awk: Likewise.
40544 * sysdeps/unix/mk-local_lim.c: Likewise.
40545 * sysdeps/unix/snarf-ioctls: Likewise.
40546
4851a949
RH
405472012-03-19 Richard Henderson <rth@twiddle.net>
40548
bd37f2ee
RH
40549 * sysdeps/i386/fpu/fenv_private.h: New file.
40550 * sysdeps/i386/fpu/math_private.h: Use it.
40551 (math_opt_barrier, math_force_eval): Remove.
40552 (libc_feholdexcept_setround_53bit): Remove.
40553 (libc_feupdateenv_53bit): Remove.
40554 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40555 (math_opt_barrier, math_force_eval): Remove.
40556 (libc_feholdexcept): Remove.
40557 (libc_feholdexcept_setround): Remove.
40558 (libc_fetestexcept, libc_fesetenv): Remove.
40559 (libc_feupdateenv_test): Remove.
40560 (libc_feupdateenv, libc_feholdsetround): Remove.
40561 (libc_feresetround): Remove.
40562
d0adc922
RH
40563 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40564 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40565
0fe0f1f8
RH
40566 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40567 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40568 (libc_feupdateenv_testl): New.
40569 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40570 (libc_feupdateenv_testf): New.
40571 (libc_feupdateenv): Use libc_feupdateenv_test.
40572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40573 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40574
eb92c487
RH
40575 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40576 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40577 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40578 (libc_feresetround_noex): New.
40579 (libc_feresetround_noexf): New.
40580 (libc_feresetround_noexl): New.
40581 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40582 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40583 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40584 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40585 SET_RESTORE_ROUND.
40586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40588 (__cos): Likewise.
40589 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40591 SET_RESTORE_ROUND_NOEX.
40592 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40593 SET_RESTORE_ROUND_NOEXF.
40594 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40595 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40596 (libc_feholdsetroundf): New.
40597 (libc_feresetround, libc_feresetroundf): New.
40598
7d2e8012
RH
40599 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40600 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40601 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40602
b4dabbb4
RH
40603 * sysdeps/generic/math_private.h: Include <fenv.h>.
40604 (default_libc_feholdexcept): New.
40605 (default_libc_feholdexcept_setround): New.
40606 (default_libc_fesetenv, default_libc_feupdateenv): New.
40607 (libc_feholdexcept): Only define if undefined.
40608 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40609 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40610 (libc_feholdexcept_setroundl): Likewise.
40611 (libc_feholdexcept_setround_53bit): Likewise.
40612 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40613 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40614 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40615 (libc_feupdateenv_53bit): Likewise.
40616 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40617 (libc_feholdexcept): Convert from macro to inline function.
40618 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40619 (libc_fesetenv, libc_feupdateenv): Likewise.
40620
4851a949
RH
40621 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40622 not previously defined.
40623 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40624 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40625 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40626 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40627 * sysdeps/ieee754/flt-32/math_private.h: New file.
40628 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40629 math_private.h below SET_FLOAT_WORD.
40630 (__isnan, __isinf_ns, __finite): Remove.
40631 (__isnanf, __isinf_nsf, __finitef): Remove.
40632
e79d442e
AS
406332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40634
40635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40636
90b80344
DM
406372012-03-17 David S. Miller <davem@davemloft.net>
40638
40639 [BZ #6471]
40640 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40641 for 2.16.
40642
edc21804
DM
406432012-03-16 David S. Miller <davem@davemloft.net>
40644
77e927af
DM
40645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40646 warnings.
40647
374976dd
DM
40648 [BZ #6471]
40649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40650 properly.
40651 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40652 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40653 sysdep_routines when subdir is sysvipc.
40654 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40655 __getshmlba helper.
40656
edc21804
DM
40657 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40658
473c3ef3
L
406592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40660
40661 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40662 [__LP64__].
40663
eb0f39b6
L
406642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40665
40666 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40667 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40668 (__lround): Renamed to ...
40669 (__llround): This. Replace long int with long long int.
40670 Define lround functions as aliases of llround functions.
40671 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40672
6b6cd74b
L
406732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40674
40675 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40676 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40677 adresses to uintptr_t. Replace "long int" and "unsigned long
40678 int" with "greg_t" on va_arg.
40679
f1a77b01
L
406802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40681
40682 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40683 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40684
40685 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40686 Move e_machine check before EI_CLASS check. Handle x32
40687 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40688 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40689 SKIP_EM_IA_64 and include
40690 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40691
40692 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40693 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40694 (add_system_dir): New macro.
40695
40696 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40697 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40698
11b90b9f
JM
406992012-03-16 Joseph Myers <joseph@codesourcery.com>
40700
c36e1d23
JM
40701 [BZ #2551]
40702 [BZ #2552]
40703 [BZ #2553]
40704 [BZ #2554]
40705 [BZ #2562]
40706 [BZ #2563]
40707 [BZ #2565]
40708 [BZ #2566]
40709 [BZ #2576]
40710 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40711 (y0): Likewise.
40712 * math/w_j0f.c (j0f): Likewise.
40713 (y0f): Likewise.
40714 * math/w_j0l.c (__j0l): Likewise.
40715 (__y0l): Likewise.
40716 * math/w_j1.c (j1): Likewise.
40717 (y1): Likewise.
40718 * math/w_j1f.c (j1f): Likewise.
40719 (y1f): Likewise.
40720 * math/w_j1l.c (__j1l): Likewise.
40721 (__y1l): Likewise.
40722 * math/w_jn.c (jn): Likewise.
40723 (yn): Likewise.
40724 * math/w_jnf.c (jnf): Likewise.
40725 (ynf): Likewise.
40726 * math/w_jnl.c (__jnl): Likewise.
40727 (__ynl): Likewise.
40728 * math/libm-test.inc (j0_test): Add more tests.
40729 (j1_test): Likewise.
40730 (jn_test): Likewise. Add trailing semicolon to existing test.
40731 (y0_test): Likewise.
40732 (y1_test): Likewise.
40733 * sysdeps/i386/fpu/libm-test-ulps: Update.
40734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40735
11b90b9f
JM
40736 [BZ #13851]
40737 [BZ #13854]
40738 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40739 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40740 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40741 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40742 (__tanl): Set errno for infinite argument.
40743 * sysdeps/i386/fpu/mptan.c: Remove.
40744 * sysdeps/i386/fpu/s_tan.S: Likewise.
40745 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40746 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40747 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40748 * math/libm-test.inc (tan_test): Add more tests and enable more
40749 tests for double and long double.
40750 * sysdeps/i386/fpu/libm-test-ulps: Update.
40751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40752
6a1bd2a1
JK
407532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40754
40755 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40756 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40757
10a803e0
RM
407582012-03-16 Roland McGrath <roland@hack.frob.com>
40759
40760 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40761 * configure.in: Use it for both main tree and add-ons.
40762 * configure: Regenerated.
40763
f196c7f7
L
407642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40765
40766 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40767
8848d99d
JM
407682012-03-16 Joseph Myers <joseph@codesourcery.com>
40769
96cbe7f4
JM
40770 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40771 in comment.
40772
8848d99d
JM
40773 [BZ #13851]
40774 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40775 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40779 infinite argument.
40780 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40781 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40782 != 0 for prec == 2.
40783 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40784 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40785 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40786 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40787 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40788 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40789 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40790 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40791 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40792 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40793 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40794 * math/libm-test.inc (cos_test): Add more tests and enable more
40795 tests for long double.
40796 (sin_test): Likewise.
40797 (sincos_test): Likewise.
40798 * sysdeps/i386/fpu/libm-test-ulps: Update.
40799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40800
dd7f4703
DM
408012012-03-16 David S. Miller <davem@davemloft.net>
40802
40803 * sysdeps/sparc/fpu/math_private.h: New file.
40804
006f1daa
DM
408052012-03-15 David S. Miller <davem@davemloft.net>
40806
c0c83bc8
DM
40807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40808 file.
e6a62e18 40809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
40810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40811 file.
e6a62e18
DM
40812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40818 sysdep routines.
40819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40820
88cb87d9
DM
40821 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40822 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40823
006f1daa 40824 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
40825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40826 sparc-ifunc.h
006f1daa 40827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40829 Likewise.
40830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40831 Likewise.
006f1daa
DM
40832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
40835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40836 Likewise.
006f1daa
DM
40837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
40841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40842 Likewise.
40843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40844 Likewise.
006f1daa
DM
40845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40863 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40869
11e0098e
AS
408702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40871
40872 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40873 scaling.
40874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40875
e85b09d0
AJ
408762012-03-15 Andreas Jaeger <aj@suse.de>
40877
40878 [BZ #13852]
40879 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40880 ieee754/flt-32 implementation for sin, cos and sincos.
40881 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40882 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40883 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40884 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40885 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40886 ieee754/flt-32 implementation for tan.
40887
40888 * math/libm-test.inc (cos_test): Enable some large input tests for
40889 float as well
40890 (sin_test): Likewise.
40891 (sincos_test): Likewise.
40892 (tan_test): Add tests for large input.
40893
40894 * sysdeps/i386/fpu/libm-test-ulps: Update.
40895
81c64153
AJ
408962012-03-15 Andreas Jaeger <aj@suse.de>
40897
40898 [BZ #13658]
40899 * math/libm-test.inc (cos_test): Add more test cases.
40900 (sin_test): Likewise.
40901 (sincos_test): Likewise.
40902
7bbfa5c6
AJ
409032012-03-15 Andreas Jaeger <aj@suse.de>
40904
40905 [BZ #13837]
40906 * math/libm-test.inc (cos_test): Add a test case for large input
40907 value.
40908 (sin_test): Likewise.
40909 (sincos_test): Likewise.
40910
57f41c40
AS
409112012-03-15 Andreas Jaeger <aj@suse.de>
40912 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
40913
40914 [BZ #13658]
0671f479 40915 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
40916 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40917 * sysdeps/i386/fpu/branred.c: Likewise.
40918 * sysdeps/i386/fpu/dosincos.c: Likewise.
40919 * sysdeps/i386/fpu/mpa.c: Likewise.
40920 * sysdeps/i386/fpu/s_cos.S: Likewise.
40921 * sysdeps/i386/fpu/s_sin.S: Likewise.
40922 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40923 * sysdeps/i386/fpu/sincos32.c: Likewise.
40924
40925 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40926 Define.
40927 (libc_feupdateenv_53bit): Define.
40928 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40929 Define.
40930 (libc_feupdateenv_53bit): Define.
40931
40932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40933 53 bit (without extend i386 double precision).
40934
40935 * math/libm-test.inc (sincos_test): Add tests for large input.
40936 (sin): Likewise.
40937 (cos): Likewise.
40938
40939 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40940
9cad04ea
AS
409412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40942
40943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40944
f7062b9a
DM
409452012-03-15 David S. Miller <davem@davemloft.net>
40946
40947 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40948 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40949 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40950 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
40962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40963 file.
f7062b9a 40964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
40965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40966 file.
f7062b9a 40967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
40968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40969 file.
f7062b9a 40970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
40971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40972 file.
f7062b9a
DM
40973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40974 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40975 fmin/fmax sysdep routines.
40976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40977
7bd951ff
DM
409782012-03-14 David S. Miller <davem@davemloft.net>
40979
559398ab
DM
40980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41009 routines.
41010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41011 file.
559398ab 41012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41014 file.
559398ab 41015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
41016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41017 file.
559398ab 41018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
41019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41020 file.
559398ab 41021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
41022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41023 file.
559398ab 41024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
41025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41026 file.
41027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41028 file.
41029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41030 file.
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41032 file.
41033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41034 New file.
41035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41036 file.
41037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41038 file.
559398ab 41039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
41040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41041 file.
559398ab 41042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
41043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41044 file.
559398ab 41045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
41046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41047 file.
559398ab 41048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
41049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41050 VIS3 routines.
559398ab
DM
41051
41052 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41053 New file.
41054
5a1c1e32
DM
41055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41056
eae47a36
DM
41057 * sysdeps/sparc/configure.in: New file.
41058 * sysdeps/sparc/configure: Generate.
41059 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41060 * configure: Regenerate.
41061 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41062 * config.make.in (have-as-vis3): New.
41063 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41064 available use -Av9d instead of -Av9a.
41065 * sysdeps/sparc/sparc64/Makefile: Likewise.
41066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
41067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41068 New file.
41069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41070 file.
41071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41072 New file.
41073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41074 file.
eae47a36
DM
41075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41080
c0c83bc8
DM
41081 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41082 fzeros/fnegs to load 0x80000000 into a float register instead of
41083 using the stack.
7bd951ff
DM
41084 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41085
bd951ccb
JM
410862012-03-14 Joseph Myers <joseph@codesourcery.com>
41087
41088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41089 bits/syscall.h.
41090 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41091 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41092 ($(inst_includedir)/bits/syscall.h): Remove rule.
41093 ($(objpfx)bits/syscall.d): Include instead of
41094 $(objpfx)syscall-list.d.
41095 (generated): Change syscall-list.h and syscall-list.d to
41096 bits/syscall.h and bits/syscall.d.
41097
bb4e6db2
RM
410982012-03-14 Roland McGrath <roland@hack.frob.com>
41099
41100 [BZ #13846]
41101 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41102
aa4a2ae1
JM
411032012-03-14 Joseph Myers <joseph@codesourcery.com>
41104
e456826d
JM
41105 [BZ #13841]
41106 * math/s_csqrt.c: Include <float.h>.
41107 (__csqrt): Scale large or subnormal inputs.
41108 * math/s_csqrtf.c: Likewise.
41109 * math/s_csqrtl.c: Likewise.
41110 * math/libm-test.inc (csqrt_test): Add more tests.
41111 * sysdeps/i386/fpu/libm-test-ulps: Update.
41112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41113
aa4a2ae1
JM
41114 [BZ #13840]
41115 * math/libm-test.inc (hypot_test): Add more tests.
41116
7c10fd35
DM
411172012-03-13 David S. Miller <davem@davemloft.net>
41118
41119 [BZ #13840]
41120 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41121 double-precision for the calculation instead of scaling.
41122
f453b98b
JM
411232012-03-13 Joseph Myers <joseph@codesourcery.com>
41124
41125 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41126 manipulate bits before adding and subtracting TWO52[sx].
41127 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41129 Likewise.
41130 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41131
09a3453f
DM
411322012-03-13 David S. Miller <davem@davemloft.net>
41133
8e59da90
DM
41134 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41135 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41137 rtld-global-offsets.h
41138 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41139
2a8ab7f2
DM
41140 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41141 large parameters.
41142
10f62770
DM
41143 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41144
5f0bdb18
DM
41145 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41146 'err' in the ifdef scope in which it is actually used.
41147
09a3453f
DM
41148 * nss/nss_db/db-init.c: Include string.h
41149
b4b2eb5e
DM
411502012-03-12 David S. Miller <davem@davemloft.net>
41151
98bb2f1c
DM
41152 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41153 masking out of the most significant byte of random value used.
41154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41155 Fix coding style in previous change.
41156
b4b2eb5e
DM
41157 * sysdeps/unix/sysv/linux/kernel-features.h
41158 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41159 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41160 expression.
41161 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41162 later.
41163
6e226b09
DM
411642012-03-11 David S. Miller <davem@davemloft.net>
41165
a1bcbd40
DM
41166 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41167 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41169 for 'resultvar' otherwise things get truncated on 64-bit.
41170
cb9d6174
DM
41171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41172 Fix masking out of the most significant byte of random value used.
41173
6e226b09
DM
41174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41175
058c132d
AS
411762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41177
41178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41179
2d2cd515
DM
411802012-03-09 David S. Miller <davem@davemloft.net>
41181
41182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41183 variables with appropriate CPP guards.
57f41c40
AS
41184 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41185 from the frame pointer, not the stack pointer. Correct layout
41186 comments. Fix test on resulting framesize and the management of
41187 the outregs buffer for pltexit. Preserve floating point return
41188 values across _dl_call_pltexit call.
2d2cd515
DM
41189 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41190 framesize and the management of the outregs buffer for pltexit.
41191 Preserve floating point return values across _dl_call_pltexit
41192 call.
57f41c40
AS
41193 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41194 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41195 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
41196 (print_exit): Fix format string for return register value.
41197
9a07f9d0
JM
411982012-03-10 Joseph Myers <joseph@codesourcery.com>
41199
41200 * sunrpc/Makefile (others): Add rpcgen.
41201 ($(objpfx)rpcgen): Remove special build rule and dependency on
41202 libc.
41203 * sunrpc/rpcgen.c: New file.
41204
547b5e30
PE
412052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41206
c524201a
PE
41207 [BZ #13673]
41208 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41209 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41210 * sysdeps/i386/crti.S: Likewise.
41211 * sysdeps/i386/crtn.S: Likewise.
41212 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41213 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41214 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41215 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41216 * sysdeps/sh/crti.S: Likewise.
41217 * sysdeps/sh/crtn.S: Likewise.
41218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41219
7b6235f2
PE
41220 [BZ #13673]
41221 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41222 with URL.
41223 * locale/programs/locfile-kw.gperf: Likewise.
41224 * locale/programs/charmap-kw.h: Regenerated.
41225 * locale/programs/locfile-kw.h: Likewise.
41226
547b5e30
PE
41227 [BZ #13673]
41228 * intl/plural.y: Replace FSF snail mail address with URL.
41229 * intl/plural.c: Regenerated.
41230
5f0a5dae
RH
412312012-03-09 Richard Henderson <rth@twiddle.net>
41232
41233 * include/math_private.h: Remove file.
41234 * math/math_private.h: Move file ...
41235 * sysdeps/generic/math_private.h: ... here.
41236
b8c03620
RH
41237 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41238 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41239 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41240
4e234f5d 41241 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
41242 and <math_private.h>.
41243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41248 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41249 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41283 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41286 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41288 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41294 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41302 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41323 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41330 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41336 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41338 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41340 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41343 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41344 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41345 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41346 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41356 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41360 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41363 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41364 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41366 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41370 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41371 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41372 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41373 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41376 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41377 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41381 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41386 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41387 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41391 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41392 * sysdeps/ieee754/k_standard.c: Likewise.
41393 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41396 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41398 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41399 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41410 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41411 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41413 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41416 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41417 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41431 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41432 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41433 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41434 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41439 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41441 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41444 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41446 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41449 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41451 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41452 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41453 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41470 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41485 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41489 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41500 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41501 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41547 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41553 * sysdeps/ieee754/s_lib_version.c: Likewise.
41554 * sysdeps/ieee754/s_matherr.c: Likewise.
41555 * sysdeps/ieee754/s_signgam.c: Likewise.
41556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41559 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41561 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41562 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41563 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41564 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41565 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41567 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41568 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41569 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41570 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 41577
1991fa03
JM
415782012-03-09 Joseph Myers <joseph@codesourcery.com>
41579
41580 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41581 * sunrpc/rpc_main.c: Likewise.
41582 * sunrpc/rpc_svcout.c: Likewise.
41583
60d6f5a6
DM
415842012-03-09 David S. Miller <davem@davemloft.net>
41585
41586 * include/math_private.h: New file.
41587
4962050e
JM
415882012-03-09 Joseph Myers <joseph@codesourcery.com>
41589
02a6f887
JM
41590 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41591 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41592 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41593 from <bits/socket_type.h>.
41594 (enum __socket_type): Don't define here.
41595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41597 bits/socket_type.h.
41598
c6e013c1
JM
41599 [BZ #13566]
41600 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41601 checking __USE_GNU.
41602
4962050e
JM
41603 * Makerules ($(inst_includedir)/%.h): New rule.
41604 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41605 (install-others): Remove variable setting.
41606 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41607
38842f45
RH
416082012-03-08 Richard Henderson <rth@twiddle.net>
41609
67bb6da6
RH
41610 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41611 from macro to inline function; merge with the
41612 !__LIBC_INTERNAL_MATH_INLINES version.
41613 (__ieee754_sqrtf): Likewise.
41614
15194b4b
RH
41615 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41616 to inline function.
41617 (__rintf, __floor, __floorf): Likewise.
41618
64e21ede
RH
41619 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41620 macro to inline function.
41621 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41622
38842f45
RH
41623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41624 not <math/math_private.h>.
41625
c64bf5fe
DM
416262012-03-08 David S. Miller <davem@davemloft.net>
41627
41628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41629 copyright year.
41630 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41631
82d86f28
TS
416322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41633
41634 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41635 normalization.
41636 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41637 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41638
aea5d727
UD
416392012-03-08 Ulrich Drepper <drepper@gmail.com>
41640
41641 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41642 be defined individually, they must be defined as a block. Define
41643 S for printing a string instead of hidint the different by using a
41644 macro for adding the 'l'.
41645 * stdio-common/tst-fphex-wide.c: Adjust.
41646
70bca0a3
MP
416472012-03-07 Marek Polacek <polacek@redhat.com>
41648
41649 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41650
65b81130
MP
416512012-03-08 Marek Polacek <polacek@redhat.com>
41652
41653 [BZ #13806]
41654 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41655 * stdio-common/tst-fphex.c: Define a few macros to make the
41656 test reusable. Use them.
41657 * stdio-common/tst-fphex-wide.c: New file.
41658
07037eeb
JM
416592012-03-08 Joseph Myers <joseph@codesourcery.com>
41660
a7a93d50
JM
41661 [BZ #6911]
41662 * manual/macros.texi (gnusystems): New macro.
41663 (nongnusystems): Likewise.
41664 (gnulinuxhurdsystems): Likewise.
41665 (gnuhurdsystems): Likewise..
41666 (gnulinuxsystems): Likewise.
41667 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41668 variants of the GNU system, not "GNU system".
41669 * manual/conf.texi: Likewise.
41670 * manual/errno.texi: Likewise. Update example of errno macro
41671 expansion.
41672 * manual/filesys.texi: Likewise.
41673 (getumask): Document as specific to GNU/Hurd.
41674 * manual/install.texi: Likewise. Reword some references to
41675 GNU/Linux.
41676 * manual/intro.texi: Likewise.
41677 * manual/io.texi: Likewise.
41678 (File Name Portability): Detail which constraints are inapplicable
41679 to all GNU systems and which are only inapplicable to GNU/Hurd.
41680 * manual/job.texi: Likewise.
41681 * manual/llio.texi: Likewise.
41682 (O_NOCTTY): Document as present on GNU/Linux.
41683 * manual/maint.texi: Likewise.
41684 * manual/memory.texi: Likewise.
41685 * manual/pattern.texi: Likewise.
41686 * manual/pipe.texi: Likewise.
41687 * manual/process.texi: Likewise.
41688 * manual/resource.texi: Likewise.
41689 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41690 child on GNU/Hurd.
41691 * manual/setjmp.texi: Likewise.
41692 * manual/signal.texi: Likewise.
41693 * manual/startup.texi: Likewise.
41694 * manual/stdio.texi: Likewise.
41695 * manual/terminal.texi: Likewise.
41696 (ONLCR): Document as POSIX.
41697 (OXTABS): Document availability on GNU/Linux as XTABS.
41698 (ONOEOT): Document availability separately from other bits.
41699 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41700 * manual/time.texi: Likewise.
41701 * manual/users.texi: Likewise.
41702 * INSTALL: Regenerated.
41703 * sysdeps/gnu/errlist.c: Regenerated.
41704
07037eeb
JM
41705 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41706 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41707 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41708 puts.
41709 * configure: Regenerated.
41710
d1d3431a
JM
417112012-03-07 Joseph Myers <joseph@codesourcery.com>
41712
af6a1e37
JM
41713 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41714 default includes instead of AC_HEADER_CHECK.
41715 * sysdeps/i386/configure: Regenerated.
41716
d1d3431a
JM
41717 [BZ #10716]
41718 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41719 * math/s_cacoshf.c (__cacoshf): Likewise.
41720 * math/s_cacoshl.c (__cacoshl): Likewise.
41721 * math/s_casinh.c (__casinh): Set signs of result from argument.
41722 * math/s_casinhf.c (__casinhf): Likewise.
41723 * math/s_casinhl.c (__casinhl): Likewise.
41724 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41725 (casinh_test): Add more tests.
41726 * sysdeps/i386/fpu/libm-test-ulps: Update.
41727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41728
482ff4da
UD
417292012-03-07 Ulrich Drepper <drepper@gmail.com>
41730
872fda05
UD
41731 * po/zh_TW.po: Update from translation team.
41732
a4300c7a
UD
41733 * login/Makefile (distribute): Remove variable.
41734 * catgets/Makefile: Likewise.
41735 * mach/Makefile: Likewise.
41736 * malloc/Makefile: Likewise.
41737 * misc/Makefile: Likewise.
41738 * iconv/Makefile: Likewise.
41739 * nscd/Makefile: Likewise.
41740 * hurd/Makefile: Likewise.
41741 * manual/Makefile: Likewise.
41742 * locale/Makefile: Likewise.
41743 * intl/Makefile: Likewise.
41744 * conform/Makefile: Likewise.
41745 * nss/Makefile: Likewise.
41746 * time/Makefile: Likewise.
41747 * soft-fp/Makefile: Likewise.
41748 * dirent/Makefile: Likewise.
41749 * gmon/Makefile: Likewise.
41750 * po/Makefile: Likewise.
41751 * rt/Makefile: Likewise.
41752 * socket/Makefile: Likewise.
41753 * math/Makefile: Likewise.
41754 * signal/Makefile: Likewise.
41755 * debug/Makefile: Likewise.
41756 * elf/Makefile: Likewise.
41757 * timezone/Makefile: Likewise.
41758 * stdlib/Makefile: Likewise.
41759 * iconvdata/Makefile: Likewise.
41760 * sunrpc/Makefile: Likewise.
41761 * io/Makefile: Likewise.
41762 * argp/Makefile: Likewise.
41763 * inet/Makefile: Likewise.
41764 * hesiod/Makefile: Likewise.
41765 * grp/Makefile: Likewise.
41766 * csu/Makefile: Likewise.
41767 * wctype/Makefile: Likewise.
41768 * crypt/Makefile: Likewise.
41769 * libio/Makefile: Likewise.
41770 * string/Makefile: Likewise.
41771 * nis/Makefile: Likewise.
41772 * resolv/Makefile: Likewise.
41773 * stdio-common/Makefile: Likewise.
41774 * wcsmbs/Makefile: Likewise.
41775 * dlfcn/Makefile: Likewise.
41776 * posix/Makefile: Likewise.
41777
3b7c4e74 41778 [BZ #6959]
482ff4da
UD
41779 * timezone/Makefile: Don't install timezone files, just the programs
41780 and scripts.
41781
f72ed77d
UD
417822012-03-06 Ulrich Drepper <drepper@gmail.com>
41783
a000466f
UD
41784 * nss/databases.def: Add missing gshadow entry.
41785
f72ed77d
UD
41786 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41787
a53b7a4e
MP
417882012-03-06 Marek Polacek <polacek@redhat.com>
41789
41790 [BZ #13726]
41791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41793 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41794 * stdio-common/tst-long-dbl-fphex.c: New file.
41795
e9258400
DM
417962012-03-06 David S. Miller <davem@davemloft.net>
41797
41798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41799 (set_obp_int): New function.
41800 (get_obp_int): New function.
41801 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
41802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41803 Avoid unused variable warnings on 'val' and use builtin_expect.
41804 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41805 __builtin_expect.
e9258400
DM
41806 (INLINE_CLONE_SYSCALL): Likewise.
41807
3bd2c723
DM
418082012-03-05 David S. Miller <davem@davemloft.net>
41809
41810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41811
bbb78d03
AS
418122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41813
884c5db4
AS
41814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41815
bbb78d03
AS
41816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41817 only for |x| >= 40.
41818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41819
1c9f702a 418202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
41821
41822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41823 Replace gettimeofday with __vdso_gettimeofday.
41824
7be16f82
RM
41825 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41826 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41827 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
41828
41829 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41830 time with __vdso_time.
41831
ed58a00f
JM
418322012-03-05 Joseph Myers <joseph@codesourcery.com>
41833
41834 * manual/lang.texi (size_t): Note types to which size_t may be
41835 equivalent with the GNU C Library, but do not describe when
41836 differences between them are significant.
41837
30ee4ced
AJ
418382012-03-05 Andreas Jaeger <aj@suse.de>
41839
41840 * sysdeps/i386/fpu/libm-test-ulps: Update.
41841
b7cd39e8
JM
418422012-03-05 Joseph Myers <joseph@codesourcery.com>
41843
41844 [BZ #3976]
41845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41846 (__ieee754_pow): Save and restore rounding mode and use
41847 round-to-nearest for main computations.
41848 * math/libm-test.inc (pow_test_tonearest): New function.
41849 (pow_test_towardzero): Likewise.
41850 (pow_test_downward): Likewise.
41851 (pow_test_upward): Likewise.
41852 (main): Call the new functions.
41853 * sysdeps/i386/fpu/libm-test-ulps: Update.
41854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
41855
41856 [BZ #3976]
41857 * math/libm-test.inc (cosh_test_tonearest): New function.
41858 (cosh_test_towardzero): Likewise.
41859 (cosh_test_downward): Likewise.
41860 (cosh_test_upward): Likewise.
41861 (sinh_test_tonearest): Likewise.
41862 (sinh_test_towardzero): Likewise.
41863 (sinh_test_downward): Likewise.
41864 (sinh_test_upward): Likewise.
41865 (main): Call the new functions.
41866 * sysdeps/i386/fpu/libm-test-ulps: Update.
41867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41868
6c6a98c9
TV
418692012-03-05 Tom de Vries <tom@codesourcery.com>
41870
41871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41872 default stack guard is set in last bytes.
41873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41874
21bb2d2e 418752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 41876
21bb2d2e 41877 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 41878
21bb2d2e
AJ
41879 [BZ #13656]
41880 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41881 possibly allocate from heap instead of stack.
41882 * stdio-common/bug-vfprintf-nargs.c: New file.
41883 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 41884
c6922934
AS
418852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41886
41887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41888
bc957d53
MP
418892012-03-03 Marek Polacek <polacek@redhat.com>
41890
41891 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41892 * math/math_private.h: Likewise.
41893 * stdlib/tst-strtod.c: Likewise.
41894 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41895 * sysdeps/x86_64/bits/atomic.h: Likewise.
41896
6358490d
DM
418972012-03-02 David S. Miller <davem@davemloft.net>
41898
41899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41903 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41904 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41905 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41907
01ae168d
RM
419082012-03-02 Roland McGrath <roland@hack.frob.com>
41909
d9a17c07
RM
41910 [BZ #13792]
41911 * manual/examples/README: New file, says the example source files
41912 can be used under GPL>=2.
41913 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41914 line containing just "*/".
41915 * manual/examples/add.c: Add copyright header (GPL>=2).
41916 * manual/examples/argp-ex1.c: Likewise.
41917 * manual/examples/argp-ex2.c: Likewise.
41918 * manual/examples/argp-ex3.c: Likewise.
41919 * manual/examples/argp-ex4.c: Likewise.
41920 * manual/examples/atexit.c: Likewise.
41921 * manual/examples/db.c: Likewise.
41922 * manual/examples/dir.c: Likewise.
41923 * manual/examples/dir2.c: Likewise.
41924 * manual/examples/execinfo.c: Likewise.
41925 * manual/examples/filecli.c: Likewise.
41926 * manual/examples/filesrv.c: Likewise.
41927 * manual/examples/fmtmsgexpl.c: Likewise.
41928 * manual/examples/genpass.c: Likewise.
41929 * manual/examples/inetcli.c: Likewise.
41930 * manual/examples/inetsrv.c: Likewise.
41931 * manual/examples/isockad.c: Likewise.
41932 * manual/examples/longopt.c: Likewise.
41933 * manual/examples/memopen.c: Likewise.
41934 * manual/examples/memstrm.c: Likewise.
41935 * manual/examples/mkfsock.c: Likewise.
41936 * manual/examples/mkisock.c: Likewise.
41937 * manual/examples/mygetpass.c: Likewise.
41938 * manual/examples/pipe.c: Likewise.
41939 * manual/examples/popen.c: Likewise.
41940 * manual/examples/rprintf.c: Likewise.
41941 * manual/examples/search.c: Likewise.
41942 * manual/examples/select.c: Likewise.
41943 * manual/examples/setjmp.c: Likewise.
41944 * manual/examples/sigh1.c: Likewise.
41945 * manual/examples/sigusr.c: Likewise.
41946 * manual/examples/stpcpy.c: Likewise.
41947 * manual/examples/strdupa.c: Likewise.
41948 * manual/examples/strftim.c: Likewise.
41949 * manual/examples/strncat.c: Likewise.
41950 * manual/examples/subopt.c: Likewise.
41951 * manual/examples/swapcontext.c: Likewise.
41952 * manual/examples/termios.c: Likewise.
41953 * manual/examples/testopt.c: Likewise.
41954 * manual/examples/testpass.c: Likewise.
41955 * manual/examples/timeval_subtract.c: Likewise.
41956
01ae168d
RM
41957 [BZ #13792]
41958 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41959 function to ...
41960 * manual/timeval_subtract.c.texi: ... here, new file.
41961
49efa33d
DM
419622012-03-02 David S. Miller <davem@davemloft.net>
41963
41964 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41965
28afd92d
JM
419662012-03-02 Joseph Myers <joseph@codesourcery.com>
41967
804360ed
JM
41968 [BZ #3976]
41969 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41970 (__sin): Save and restore rounding mode and use round-to-nearest
41971 for all computations.
41972 (__cos): Save and restore rounding mode and use round-to-nearest
41973 for all computations.
41974 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41975 <fenv.h>.
41976 (tan): Save and restore rounding mode and use round-to-nearest for
41977 all computations.
41978 * math/libm-test.inc (cos_test_tonearest): New function.
41979 (cos_test_towardzero): Likewise.
41980 (cos_test_downward): Likewise.
41981 (cos_test_upward): Likewise.
41982 (sin_test_tonearest): Likewise.
41983 (sin_test_towardzero): Likewise.
41984 (sin_test_downward): Likewise.
41985 (sin_test_upward): Likewise.
41986 (tan_test_tonearest): Likewise.
41987 (tan_test_towardzero): Likewise.
41988 (tan_test_downward): Likewise.
41989 (tan_test_upward): Likewise.
41990 (main): Call the new functions.
41991 * sysdeps/i386/fpu/libm-test-ulps: Update.
41992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41993
a6d06d7b
JM
41994 [BZ #10135]
41995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41996 small n, then large n, before computing and testing k+n.
41997 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41999 Likewise.
42000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42001 Likewise.
42002 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42003 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42010 * math/libm-test.inc (scalbn_test): Add more tests.
42011 (scalbln_test): Likewise.
42012
07e12bb3
JM
42013 * manual/filesys.texi (mode_t): Describe constraints on size and
42014 signedness, not exact equivalence to a particular type.
42015 (ino_t): Likewise.
42016 (ino64_t): Likewise.
42017 (dev_t): Likewise.
42018 (nlink_t): Likewise.
42019 (blkcnt_t): Likewise.
42020 (blkcnt64_t): Likewise.
42021 * manual/llio.texi (off_t): Likewise.
42022
28afd92d
JM
42023 [BZ #3976]
42024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42025 (__ieee754_exp): Save and restore rounding mode and use
42026 round-to-nearest for all computations.
42027 * math/libm-test.inc (exp_test_tonearest): New function.
42028 (exp_test_towardzero): Likewise.
42029 (exp_test_downward): Likewise.
42030 (exp_test_upward): Likewise.
42031 (main): Call the new functions.
42032 * sysdeps/i386/fpu/libm-test-ulps: Update.
42033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42034
b1eeb65d
CD
420352012-03-01 Chris Demetriou <cgd@google.com>
42036
42037 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42038 have predictable order.
42039
53362a4b
DM
420402012-03-01 David S. Miller <davem@davemloft.net>
42041
3c969083
DM
42042 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42043
759707de
DM
42044 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42045 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42047 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42048
dfdb8ff2
DM
42049 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42050 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42053 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42054 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42055 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42056 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42057 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42058
ead89f96
DM
42059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42060
7f66bd07
DM
42061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42062 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42064
53362a4b
DM
42065 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42066 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42068 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42069 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42072 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42073 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42074 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42075 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42081 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42082 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42083 * sysdeps/sparc/elf/configure: Regenerated.
42084
7b1902cb
JM
420852012-03-01 Joseph Myers <joseph@codesourcery.com>
42086
bec039bc
JM
42087 * configure.in (AS, LD): Require binutils 2.20 or later.
42088 * configure: Regenerated.
42089 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42090 as required minimum version.
42091 * INSTALL: Regenerated.
42092
7b1902cb
JM
42093 [BZ #2541]
42094 [BZ #4108]
42095 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42096 before squaring exponent.
42097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42098 bottom long double and 27 bits of top long double before squaring
42099 exponent.
42100 * math/libm-test.inc (erfc_test): Add more tests.
42101 * sysdeps/i386/fpu/libm-test-ulps: Update.
42102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42104
f775c276
KT
421052012-03-01 Kai Tietz <ktietz@redhat.com>
42106
42107 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42108 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42109 containing bit-fields.
42110 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42111 * soft-fp/single.h (_FP_UNION_S): Likewise.
42112 * soft-fp/double.h (_FP_UNION_D): Likewise.
42113
5b8a4d4a
JM
421142012-02-29 Joseph Myers <joseph@codesourcery.com>
42115
0bab47b6
JM
42116 [BZ #13786]
42117 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42118 not include ../strcmp.S.
42119 [USE_AS_STRNCASECMP_L]: Likewise.
42120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42121 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42122 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42123 (__strncasecmp_l_ia32): Define as alias to
42124 __strncasecmp_l_nonascii.
42125
0fcad3e2
JM
42126 [BZ #5794]
42127 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42128 * sysdeps/i386/fpu/libm-test-ulps: Update.
42129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42130
5b8a4d4a
JM
42131 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42133
8fdceb2e
JL
421342012-02-29 Jeff Law <law@redhat.com>
42135
42136 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42137 out of bounds read.
42138
1f393a11
MP
421392012-02-29 Marek Polacek <polacek@redhat.com>
42140
42141 [BZ #13706]
42142 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42143 * elf/Makefile: Add rules to run tst-unused-dep.out.
42144
8847f037
DM
421452012-02-28 David S. Miller <davem@davemloft.net>
42146
42147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42151 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42152 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42153
169d7f11
JM
421542012-02-29 Joseph Myers <joseph@codesourcery.com>
42155
42156 * math/libm-test.inc (llround_test): Move one test from
42157 lround_test. Use TEST_f_L in moved test.
42158 (lround_test): Move misplaced test to llround_test. Add testcase
42159 from bug 2561.
42160
39adf059
UD
421612012-02-28 Ulrich Drepper <drepper@gmail.com>
42162
42163 * sysdeps/x86_64/fpu/e_expf.S: New file.
42164 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42165
71b5d1c5
SB
421662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42167
42168 [BZ #13637]
42169 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42170 of remain_len that may cause incomplete multi-byte character and
42171 false match.
42172 * posix/bug-regex33.c: New file.
42173 * posix/Makefile (tests): Add bug-regex33.
42174
1f77f049
JM
421752012-02-28 Joseph Myers <joseph@codesourcery.com>
42176
42177 * manual/macros.texi: New file.
42178 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42179 * manual/libc.texinfo: Include macros.texi.
42180 * manual/creatute.texi: Likewise.
42181 * manual/install.texi: Likewise.
42182 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42183 @glibcadj{} in references to the GNU C Library.
42184 * manual/charset.texi: Likewise.
42185 * manual/conf.texi: Likewise.
42186 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42187 when not using those macros.
42188 * manual/creature.texi: Likewise.
42189 * manual/crypt.texi: Likewise.
42190 * manual/errno.texi: Likewise.
42191 * manual/filesys.texi: Likewise.
42192 * manual/header.texi: Likewise.
42193 * manual/install.texi: Likewise.
42194 * manual/intro.texi: Likewise.
42195 * manual/io.texi: Likewise.
42196 * manual/job.texi: Likewise.
42197 * manual/lang.texi: Likewise.
42198 * manual/libc.texiinfo: Likewise.
42199 * manual/llio.texi: Likewise.
42200 * manual/locale.texi: Likewise.
42201 * manual/maint.texi: Likewise.
42202 * manual/math.texi: Likewise.
42203 * manual/memory.texi: Likewise.
42204 * manual/message.texi: Likewise.
42205 * manual/nss.texi: Likewise.
42206 * manual/pattern.texi: Likewise.
42207 * manual/process.texi: Likewise.
42208 * manual/resource.texi: Likewise.
42209 * manual/search.texi: Likewise.
42210 * manual/setjmp.texi: Likewise.
42211 * manual/signal.texi: Likewise.
42212 * manual/socket.texi: Likewise.
42213 * manual/startup.texi: Likewise.
42214 * manual/stdio.texi: Likewise.
42215 * manual/string.texi: Likewise.
42216 * manual/sysinfo.texi: Likewise.
42217 * manual/syslog.texi: Likewise.
42218 * manual/terminal.texi: Likewise.
42219 * manual/time.texi: Likewise.
42220 * manual/users.texi: Likewise.
42221 * INSTALL: Regenerated.
42222 * NOTES: Regenerated.
d40c5d54 42223 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 42224
450bf206
AS
422252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42226
42227 * include/dirent.h: Include <dirstream.h> before
42228 <dirent/dirent.h>.
42229
741a235b
DM
422302012-02-28 David S. Miller <davem@davemloft.net>
42231
42232 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42233 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42234 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42236
d6b5aa58
DM
422372012-02-27 David S. Miller <davem@davemloft.net>
42238
1aff59a3
DM
42239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42241 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42242 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42243
d6b5aa58
DM
42244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42245 frame pointer instead of stack pointer relative arg slot.
42246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42249
433f48bf
CD
422502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42251
42252 [BZ #3992]
42253 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42254
d674b76d
DM
422552012-02-27 David S. Miller <davem@davemloft.net>
42256
42257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42263 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42264 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42265
0e7727f7
JM
422662012-02-27 Joseph Myers <joseph@codesourcery.com>
42267
42268 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42269 later. Allow versions 5-9.
43be4ca2 42270 * configure: Regenerated.
0e7727f7
JM
42271 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42272 required minimum version and 4.6 as recommended version. Do not
42273 mention bugs in GCC 2.7 and 2.8.
43be4ca2 42274 * INSTALL: Regenerated.
0e7727f7 42275
a78bc654
DM
422762012-02-27 David S. Miller <davem@davemloft.net>
42277
428d5830
DM
42278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42284 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42286
a78bc654
DM
42287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42288 manipulate bits before adding and subtracting TWO112[sx].
42289 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42290
4579f81c
RM
422912012-02-27 Roland McGrath <roland@hack.frob.com>
42292
36c8acb4
RM
42293 [BZ #13775]
42294 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42295 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42296 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42297 being in POSIX, because they are in 1003.1-2008.
42298
84ad622b
RM
42299 * rt/tst-aio.c: Include <fcntl.h>.
42300 * rt/tst-aio7.c: Likewise.
42301 * rt/tst-aio64.c: Likewise.
42302
4579f81c
RM
42303 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42304
abd923db
JM
423052012-02-27 Joseph Myers <joseph@codesourcery.com>
42306
42307 * manual/install.texi (--with-headers): Describe headers as
42308 interface headers, not private headers.
42309 (Specific advice for GNU/Linux systems): Describe use of headers
42310 from "make headers_install", not private headers from older
42311 kernels.
43be4ca2 42312 * INSTALL: Regenerated.
abd923db
JM
42313 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42314 Change to 2.6.19.
42315 * sysdeps/unix/sysv/linux/configure: Regenerated.
42316
6664049b
JM
42317 * manual/llio.texi (fclean): Remove documentation.
42318
bb8b6697
JM
42319 * manual/Makefile (libc-texi-generated): New variable. Include
42320 version.texi.
42321 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42322 $(libc-texi-generated), not duplicated list of files.
42323 (version.texi, stamp-version): New rules.
42324 (realclean): Remove $(libc-texi-generated), not individual files
42325 from that list. Do not remove dir-add.texinfo.
42326 * manual/libc.texinfo: Comment out uses of edition numbers and
42327 references to printed manual. Remove last-updated dates.
42328 (EDITION): Comment out.
42329 (ISBN): Likewise.
42330 (VERSION, UPDATED): Remove.
42331 (version.texi): Include.
42332
12e5c3b9
AS
423332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42334
42335 * sysdeps/posix/spawni.c: Include <signal.h>.
42336 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42337 * sysdeps/pthread/aio_fsync.c: Likewise.
42338
4efeffc1 423392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 42340
ba63ba08
UD
42341 * conform/Makefile (tests): Run only when not cross-compiling and
42342 when fast-check is not defined.
42343
d94a4670
UD
42344 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42345 * conform/data/limits.h-data: Fixes for POSIX2008.
42346 * conform/run-conformtest.sh: Run all tests.
42347 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42348 headers.
42349 * include/bits/dlfcn.h: Likewise.
42350 * include/langinfo.h: Likewise.
42351 * include/monetary.h: Likewise.
42352 * include/sys/poll.h: Likewise.
42353
42354 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42355 for __USE_GNU.
42356 * posix/spawn.h: Define __need_sigset_t.
42357 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42358 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42359 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42360 to get sigevent_t only.
42361 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42362 only for __USE_GNU.
42363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42364 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42365 process_vm_writev only for __USE_GNU.
42366 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
42367
42368 * conform/Makefile: For now ignore errors from run-conformtest.
42369 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42370 POSIX to avoid namespace pollution. Don't prepend headers.
42371 * conform/data/aio.h-data: Fixes for POSIX testing.
42372 * conform/data/fcntl.h-data: Likewise.
42373 * conform/data/glob.h-data: Likewise.
42374 * conform/data/grp.h-data: Likewise.
42375 * conform/data/pthread.h-data: Likewise.
42376 * conform/data/pwd.h-data: Likewise.
42377 * conform/data/signal.h-data: Likewise.
42378 * conform/data/spawn.h-data: Likewise.
42379 * conform/data/stdio.h-data: Likewise.
42380 * conform/data/stdlib.h-data: Likewise.
42381 * conform/data/stropts.h-data: Likewise.
42382 * conform/data/sys/mman.h-data: Likewise.
42383 * conform/data/sys/stat.h-data: Likewise.
42384 * conform/data/sys/types.h-data: Likewise.
42385 * conform/data/sys/wait.h-data: Likewise.
42386 * conform/data/time.h-data: Likewise.
42387 * conform/data/unistd.h-data: Likewise.
42388 * conform/data/utime.h-data: Likewise.
42389
42390 * io/sys/stat.h: fchmod was always in POSIX.
42391 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42392 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42393 * rt/aio.h: Define __need_timespec before including <time.h>.
42394 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42395 struct. Add forward declaration of pthread_attr_t and use it in
42396 sigevent.
42397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42399 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42400 always remove CLK_TCK definition.
42401
c20105c3
AS
424022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42403
42404 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42405
7a270350
UD
424062012-02-25 Ulrich Drepper <drepper@gmail.com>
42407
31341567
UD
42408 * conform/run-conformtest.sh: New file.
42409 * conform/Makefile: Run run-conformtest for tests.
42410 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42411 support.
42412
42413 * conform/data/uchar.h-data: New file.
42414 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42415 * conform/data/arpa/inet.h-data: Likewise.
42416 * conform/data/assert.h-data: Likewise.
42417 * conform/data/complex.h-data: Likewise.
42418 * conform/data/cpio.h-data: Likewise.
42419 * conform/data/ctype.h-data: Likewise.
42420 * conform/data/dirent.h-data: Likewise.
42421 * conform/data/dlfcn.h-data: Likewise.
42422 * conform/data/errno.h-data: Likewise.
42423 * conform/data/fcntl.h-data: Likewise.
42424 * conform/data/float.h-data: Likewise.
42425 * conform/data/fmtmsg.h-data: Likewise.
42426 * conform/data/fnmatch.h-data: Likewise.
42427 * conform/data/ftw.h-data: Likewise.
42428 * conform/data/glob.h-data: Likewise.
42429 * conform/data/grp.h-data: Likewise.
42430 * conform/data/iconv.h-data: Likewise.
42431 * conform/data/inttypes.h-data: Likewise.
42432 * conform/data/langinfo.h-data: Likewise.
42433 * conform/data/libgen.h-data: Likewise.
42434 * conform/data/limits.h-data: Likewise.
42435 * conform/data/locale.h-data: Likewise.
42436 * conform/data/math.h-data: Likewise.
42437 * conform/data/monetary.h-data: Likewise.
42438 * conform/data/mqueue.h-data: Likewise.
42439 * conform/data/ndbm.h-data: Likewise.
42440 * conform/data/net/if.h-data: Likewise.
42441 * conform/data/netdb.h-data: Likewise.
42442 * conform/data/netinet/in.h-data: Likewise.
42443 * conform/data/nl_types.h-data: Likewise.
42444 * conform/data/poll.h-data: Likewise.
42445 * conform/data/pthread.h-data: Likewise.
42446 * conform/data/pwd.h-data: Likewise.
42447 * conform/data/regex.h-data: Likewise.
42448 * conform/data/sched.h-data: Likewise.
42449 * conform/data/search.h-data: Likewise.
42450 * conform/data/semaphore.h-data: Likewise.
42451 * conform/data/setjmp.h-data: Likewise.
42452 * conform/data/signal.h-data: Likewise.
42453 * conform/data/spawn.h-data: Likewise.
42454 * conform/data/stdarg.h-data: Likewise.
42455 * conform/data/stdio.h-data: Likewise.
42456 * conform/data/stdlib.h-data: Likewise.
42457 * conform/data/string.h-data: Likewise.
42458 * conform/data/strings.h-data: Likewise.
42459 * conform/data/stropts.h-data: Likewise.
42460 * conform/data/sys/ipc.h-data: Likewise.
42461 * conform/data/sys/mman.h-data: Likewise.
42462 * conform/data/sys/msg.h-data: Likewise.
42463 * conform/data/sys/resource.h-data: Likewise.
42464 * conform/data/sys/select.h-data: Likewise.
42465 * conform/data/sys/sem.h-data: Likewise.
42466 * conform/data/sys/shm.h-data: Likewise.
42467 * conform/data/sys/socket.h-data: Likewise.
42468 * conform/data/sys/stat.h-data: Likewise.
42469 * conform/data/sys/statvfs.h-data: Likewise.
42470 * conform/data/sys/time.h-data: Likewise.
42471 * conform/data/sys/timeb.h-data: Likewise.
42472 * conform/data/sys/times.h-data: Likewise.
42473 * conform/data/sys/types.h-data: Likewise.
42474 * conform/data/sys/uio.h-data: Likewise.
42475 * conform/data/sys/un.h-data: Likewise.
42476 * conform/data/sys/utsname.h-data: Likewise.
42477 * conform/data/sys/wait.h-data: Likewise.
42478 * conform/data/syslog.h-data: Likewise.
42479 * conform/data/tar.h-data: Likewise.
42480 * conform/data/termios.h-data: Likewise.
42481 * conform/data/utime.h-data: Likewise.
42482 * conform/data/utmpx.h-data: Likewise.
42483 * conform/data/varargs.h-data: Likewise.
42484 * conform/data/wchar.h-data: Likewise.
42485 * conform/data/wctype.h-data: Likewise.
42486 * conform/data/wordexp.h-data: Likewise.
42487
42488 * include/stropts.h: New file.
42489 * include/uchar.h: New file.
42490 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42491 * include/assert.h: Likewise.
42492 * include/ctype.h: Likewise.
42493 * include/dirent.h: Likewise.
42494 * include/dlfcn.h: Likewise.
42495 * include/fcntl.h: Likewise.
42496 * include/fnmatch.h: Likewise.
42497 * include/glob.h: Likewise.
42498 * include/grp.h: Likewise.
42499 * include/libio.h: Likewise.
42500 * include/locale.h: Likewise.
42501 * include/math.h: Likewise.
42502 * include/net/if.h: Likewise.
42503 * include/netdb.h: Likewise.
42504 * include/netinet/in.h: Likewise.
42505 * include/pthread.h: Likewise.
42506 * include/pwd.h: Likewise.
42507 * include/regex.h: Likewise.
42508 * include/sched.h: Likewise.
42509 * include/search.h: Likewise.
42510 * include/setjmp.h: Likewise.
42511 * include/signal.h: Likewise.
42512 * include/stdio.h: Likewise.
42513 * include/stdlib.h: Likewise.
42514 * include/string.h: Likewise.
42515 * include/sys/cdefs.h: Likewise.
42516 * include/sys/mman.h: Likewise.
42517 * include/sys/msg.h: Likewise.
42518 * include/sys/resource.h: Likewise.
42519 * include/sys/select.h: Likewise.
42520 * include/sys/socket.h: Likewise.
42521 * include/sys/stat.h: Likewise.
42522 * include/sys/statvfs.h: Likewise.
42523 * include/sys/time.h: Likewise.
42524 * include/sys/times.h: Likewise.
42525 * include/sys/uio.h: Likewise.
42526 * include/sys/utsname.h: Likewise.
42527 * include/sys/wait.h: Likewise.
42528 * include/termios.h: Likewise.
42529 * include/time.h: Likewise.
42530 * include/ulimit.h: Likewise.
42531 * include/unistd.h: Likewise.
42532 * include/utime.h: Likewise.
42533 * include/wchar.h: Likewise.
42534 * include/wctype.h: Likewise.
42535 * include/wordexp.h: Likewise.
42536
42537 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42538
7a270350
UD
42539 * time/time.h: TIME_UTC must be a macro.
42540 Make timespec_get available for ISO C11 only as well.
42541
7724defc
UD
425422012-02-24 Ulrich Drepper <drepper@gmail.com>
42543
42544 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42545 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42546
6b1d1d46
JM
425472012-02-24 Joseph Myers <joseph@codesourcery.com>
42548
42549 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 42550
0f8bbd69
JM
425512012-02-24 Joseph Myers <joseph@codesourcery.com>
42552
42553 * manual/texinfo.tex: Update to version 2012-01-19.16.
42554
66ab80bc
JM
425552012-02-24 Joseph Myers <joseph@codesourcery.com>
42556
42557 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42558
74981cc5
RM
425592012-02-24 Roland McGrath <roland@hack.frob.com>
42560
ee968201
RM
42561 [BZ #13738]
42562 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42563 * manual/fdl-1.3.texi: New file.
42564 * manual/fdl-1.1.texi: File removed.
42565
74981cc5
RM
42566 [BZ #13738]
42567 * manual/libc.texinfo (FDL_VERSION): New @set.
42568 Use it for mention of FDL in cover text.
42569 (Documentation License): Use it in @include file name.
42570
7bb764bc
JM
425712012-02-22 Joseph Myers <joseph@codesourcery.com>
42572 Roland McGrath <roland@hack.frob.com>
42573
42574 [BZ #5461]
57f41c40
AS
42575 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42576 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
42577 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42578 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42579 name.
42580 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42581
6cbeae47
JM
425822012-02-22 Joseph Myers <joseph@codesourcery.com>
42583
42584 [BZ #2547]
42585 [BZ #11365]
42586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42587 manipulate bits before adding and subtracting TWO23[sx].
42588 * math/libm-test.inc (nearbyint_test): Add more tests.
42589
fe45ce09
JM
425902012-02-22 Joseph Myers <joseph@codesourcery.com>
42591
42592 [BZ #2548]
42593 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42594 bits before adding and subtracting TWO23[sx].
42595 * math/libm-test.inc (rint_test): Add more tests.
42596 (rint_test_tonearest): Likewise.
42597 (rint_test_towardzero): Likewise.
42598 (rint_test_downward): Likewise.
42599 (rint_test_upward: Likewise.
42600
ff3b3d82
JM
426012012-02-22 Joseph Myers <joseph@codesourcery.com>
42602
42603 [BZ #10110]
42604 * include/stdc-predef.h: New file. Extracted from features.h.
42605 * include/features.h: Include stdc-predef.h.
42606 * Makefile (headers): Add stdc-predef.h.
42607 * CONFORMANCE (Compiler limitations): Update.
42608
ef0aab35
JM
426092012-02-22 Joseph Myers <joseph@codesourcery.com>
42610
42611 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42612
58639409
DM
426132012-02-21 David S. Miller <davem@davemloft.net>
42614
42615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42617
c0e70b25
DM
426182012-02-20 David S. Miller <davem@davemloft.net>
42619
42620 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42621 using a normal save/restore sequence, rather than allocating a
42622 dummy stack frame just to store a frame pointer and restore.
42623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42624
fb06851d
JM
426252012-02-21 Joseph Myers <joseph@codesourcery.com>
42626
42627 * manual/install.texi: Fix stray word in line-wrapped comment.
42628
7a8b71c3
DM
426292012-02-20 David S. Miller <davem@davemloft.net>
42630
d510c123
DM
42631 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42632 both binutils and gcc support GOTDATA.
42633
0722d7c2
DM
42634 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42635 "rd %pc" in the PIC register setup sequences.
42636
3d2b3019
DM
42637 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42638 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42640 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42646 (SYSCALL_ERROR_HANDLER): Likewise.
42647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42650 (SYSCALL_ERROR_HANDLER): Likewise.
42651
c80098a9
DM
42652 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42653 (HAVE_GCC_GOTDATA): New.
42654 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42655 relocation support in both binutils and gcc.
42656 * sysdeps/sparc/elf/configure: Regenerate.
42657
3a2545a0
DM
42658 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42659 * sysdeps/sparc/sparc32/elf/configure: Delete.
42660 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42661 * sysdeps/sparc/sparc64/elf/configure: Delete.
42662 * sysdeps/sparc/elf/configure.in: New file.
42663 * sysdeps/sparc/elf/configure: Generate.
42664
7a8b71c3
DM
42665 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42666 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42668 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42669 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42670
f1e86fca
JM
426712012-02-21 Joseph Myers <joseph@codesourcery.com>
42672
42673 * manual/install.texi: Do not mention specific glibc version
42674 numbers.
42675 * manual/libc.texinfo (VERSION, UPDATED): Update.
42676 (@copying): Use @copyright{} and range of years.
42677
0e7dfaef
JM
426782012-02-21 Joseph Myers <joseph@codesourcery.com>
42679
42680 [BZ #13695]
42681 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42682 [crti.S not in sysdirs] (generated): Do not append.
42683 [crti.S not in sysdirs] (omit-deps): Likewise.
42684 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42685 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42686 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42687 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42688 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42689 Likewise.
42690 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42691 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42692 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42693 * csu/defs.awk: Remove file.
42694 * sysdeps/generic/initfini.c: Likewise.
42695 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42696 variable.
42697 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42698 Likewise.
42699
599af3ca
JM
427002012-02-20 Joseph Myers <joseph@codesourcery.com>
42701
42702 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42703 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42704 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42707 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42708 <bits/epoll.h>.
42709 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42710 (__EPOLL_PACKED): Define to empty if not defined by
42711 <bits/epoll.h>.
42712 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42714 bits/epoll.h.
42715
0e499750
JM
427162012-02-20 Joseph Myers <joseph@codesourcery.com>
42717
42718 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42719 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42721 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42722 <bits/timerfd.h>.
42723 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42725 bits/timerfd.h.
42726
5ad91f6e
JM
427272012-02-20 Joseph Myers <joseph@codesourcery.com>
42728
42729 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42730 in C locale.
42731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42735
06b99b02
AJ
427362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42737
42738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42740
7638c0fd
AS
427412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42742
42743 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42744 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42745 defined.
42746 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42747 Likewise.
42748 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42749 entry for 2.16.
42750
92221550
AJ
427512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42752
42753 * math/w_acos.c: Use non-signaling floating-point comparisons.
42754 * math/w_acosf.c: Likewise.
42755 * math/w_acosh.c: Likewise.
42756 * math/w_acoshf.c: Likewise.
42757 * math/w_acoshl.c: Likewise.
42758 * math/w_acosl.c: Likewise.
42759 * math/w_asin.c: Likewise.
42760 * math/w_asinf.c: Likewise.
42761 * math/w_asinl.c: Likewise.
42762 * math/w_atanh.c: Likewise.
42763 * math/w_atanhf.c: Likewise.
42764 * math/w_atanhl.c: Likewise.
42765 * math/w_exp2.c: Likewise.
42766 * math/w_exp2f.c: Likewise.
42767 * math/w_exp2l.c: Likewise.
42768 * math/w_j0.c: Likewise.
42769 * math/w_j0f.c: Likewise.
42770 * math/w_j0l.c: Likewise.
42771 * math/w_j1.c: Likewise.
42772 * math/w_j1f.c: Likewise.
42773 * math/w_j1l.c: Likewise.
42774 * math/w_jn.c: Likewise.
42775 * math/w_jnf.c: Likewise.
42776 * math/w_log.c: Likewise.
42777 * math/w_log10.c: Likewise.
42778 * math/w_log10f.c: Likewise.
42779 * math/w_log10l.c: Likewise.
42780 * math/w_log2.c: Likewise.
42781 * math/w_log2f.c: Likewise.
42782 * math/w_log2l.c: Likewise.
42783 * math/w_logf.c: Likewise.
42784 * math/w_logl.c: Likewise.
42785 * math/w_sqrt.c: Likewise.
42786 * math/w_sqrtf.c: Likewise.
42787 * math/w_sqrtl.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42792 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42793
ebaf36eb
JM
427942012-02-19 Joseph Myers <joseph@codesourcery.com>
42795
42796 [BZ #9739]
42797 * manual/string.texi (strnlen): Use correct parameter name in
42798 equivalent expression.
42799
71c254a6
JM
428002012-02-19 Joseph Myers <joseph@codesourcery.com>
42801
42802 [BZ #11174]
42803 * manual/users.texi (seteuid): Consistently use neweuid for
42804 argument name.
42805
16d2c631
JM
428062012-02-19 Joseph Myers <joseph@codesourcery.com>
42807
42808 [BZ #13704]
42809 * manual/nss.texi (Services in the NSS configuration): Correct
42810 list of services in example configuration file.
42811
cd837b09
NB
428122012-02-19 Nick Bowler <nbowler@draconx.ca>
42813
42814 [BZ #11322]
42815 * manual/arith.texi: Remove statements about negative zero
42816 behaving identically to zero.
42817
02c4bbad
JM
428182012-02-18 Joseph Myers <joseph@codesourcery.com>
42819
42820 [BZ #5993]
42821 * manual/install.texi: Do not document upgrading from libc5.
42822
366842e7
JM
428232012-02-18 Joseph Myers <joseph@codesourcery.com>
42824
42825 [BZ #4596]
42826 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42827
dd54084d
DM
428282012-02-18 David S. Miller <davem@davemloft.net>
42829
42830 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42831 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42832 %o7 across the call.
42833 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42834 instead.
42835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42836 SETUP_PIC_REG_LEAF.
42837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42838 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42839 * sysdeps/sparc/crtn.S: Likewise.
42840
2bcc53a3
UD
428412012-02-17 Ulrich Drepper <drepper@gmail.com>
42842
42843 * aout/Makefile: Remove.
42844
09c093b5
RK
428452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42846
42847 [BZ #13058]
42848 * manual/examples/argp-ex1.c (main): Format definition in GNU
42849 style.
42850 * manual/examples/argp-ex2.c (main): Likewise.
42851 * manual/examples/argp-ex3.c (main): Likewise.
42852 * manual/examples/argp-ex4.c (main): Likewise.
42853 * manual/examples/longopt.c (main): Use new-style prototype
42854 definition.
42855 * manual/examples/strncat.c (main): Specify return type and use
42856 (void) for arguments.
42857 * manual/examples/subopt.c (main): Use char **argv argument.
42858
2ee633a2
JM
428592012-02-17 Joseph Myers <joseph@codesourcery.com>
42860
42861 [BZ #5077]
42862 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42863 rounding modes.
42864
0520adde
FB
428652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42866
42867 [BZ #6907]
42868 * manual/string.texi (strchr): Change when strchrnul is
42869 recommended.
42870
3f4081cd
DGM
428712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42872
42873 [BZ #174]
42874 * manual/locale.texi (setlocale): Document LOCPATH.
42875
d1b10e78
JM
428762012-02-17 Joseph Myers <joseph@codesourcery.com>
42877
42878 [BZ #10210]
42879 * manual/process.texi (execle): Move @dots{} before last argument.
42880
79c6869c
PB
428812012-02-17 Paul Bolle <pebolle@tiscali.nl>
42882
42883 [BZ #12047]
42884 * manual/charset.texi (Generic Charset Conversion): Fix typo
42885 (LC_TYPE -> LC_CTYPE).
42886
cc6e48bc
NB
428872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42888
42889 [BZ #5805]
42890 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42891 (scalbnf): Likewise.
42892 (scalbnl): Likewise.
42893 (scalbln): Likewise.
42894 (scalblnf): Likewise.
42895 (scalblnl): Likewise.
42896 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42897 (vwarnx): Likewise.
42898 (verr): Likewise.
42899 (verrx): Likewise.
42900 * manual/filesys.texi (telldir): Use braces around return type.
42901 * manual/llio.texi (mmap): Add space after comma.
42902 (mmap64): Likewise.
42903 * manual/math.texi (jn): Use @var{} on parameter names.
42904 (jnf): Likewise.
42905 (jnl): Likewise.
42906 (yn): Likewise.
42907 (ynf): Likewise.
42908 (ynl): Likewise.
42909 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42910 line.
42911 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42912 "...".
42913 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42914 (sched_get_priority_max): Likewise.
42915 * manual/signal.texi (sigvec): Add space after comma.
42916 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42917 names.
42918 (if_indextoname): Likewise.
42919 (if_freenameindex): Likewise.
42920 (sendto): Use ',' instead of '.' in prototype.
42921 * manual/startup.texi (syscall): Use @dots{} instead of literal
42922 "...".
42923 * manual/stdio.texi (__fpending): Separate initial words of
42924 paragraph from @deftypefun line.
42925 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42926 "...".
42927 (vsyslog): Use @var{} on parameter names.
42928 * manual/terminal.texi (stty): Use @var{} on parameter names.
42929 * manual/users.texi (getutmp): Use @var{} on parameter names.
42930 (getutmpx): Likewise.
42931
5b23062f
JM
429322012-02-17 Joseph Myers <joseph@codesourcery.com>
42933
42934 [BZ #6884]
42935 * manual/stdio.texi (fopen): Fix typos in description of
42936 ",ccs=STRING".
42937
8dee4833
AJ
429382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42939
42940 [BZ #4026]
42941 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42942 get clock_id definition.
42943
9078ce93
TS
429442012-02-17 Thomas Schwinge <thomas@schwinge.name>
42945
42946 [BZ #4822]
42947 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42948 (madvise): Cast every argument to void on its own.
42949
3835c55f
JM
429502012-02-17 Joseph Myers <joseph@codesourcery.com>
42951
42952 [BZ #9902]
42953 * manual/startup.texi (Exit Status): Fix typo.
42954
35c47e37
JM
429552012-02-17 Joseph Myers <joseph@codesourcery.com>
42956
42957 [BZ #10140]
42958 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42959 * manual/examples/argp-ex2.c: Likewise.
42960 * manual/examples/argp-ex3.c: Likewise.
42961
e3b69ca7
RH
429622012-02-16 Richard Henderson <rth@redhat.com>
42963
42964 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42965 * sysdeps/s390/s390-32/initfini.c: Remove.
42966 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42967 * sysdeps/s390/s390-64/initfini.c: Remove.
42968
df83af67
KK
429692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42970
42971 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42972 compiler output for sysdeps/generic/initfini.c.
42973 * sysdeps/sh/elf/initfini.c: Remove file.
42974
f63f3380
DM
429752012-02-16 David S. Miller <davem@davemloft.net>
42976
fb59b3a4
DM
42977 [BZ #11494]
42978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42979
f63f3380
DM
42980 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42981 * sysdeps/sparc/crti.S: New file.
42982 * sysdeps/sparc/crtn.S: New file.
42983 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42984 * sysdeps/sparc/sparc64/Makefile: Likewise.
42985
df6a4a4a
MF
429862012-02-15 Mike Frysinger <vapier@gentoo.org>
42987
6dd8f3dc 42988 [BZ #3335]
df6a4a4a
MF
42989 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42990
1cac7236
RM
429912012-02-15 Roland McGrath <roland@hack.frob.com>
42992
d2c736f8
RM
42993 [BZ #4822]
42994 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42995
1cac7236
RM
42996 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42997 (write, read, close): Likewise.
42998 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42999
8e475601
JM
430002012-02-15 Joseph Myers <joseph@codesourcery.com>
43001
43002 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43003 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43004 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43005 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43006 <bits/signalfd.h>.
43007 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43009 bits/signalfd.h.
43010
ed656b40
MP
430112012-02-14 Marek Polacek <polacek@redhat.com>
43012
43013 * sysdeps/x86_64/crti.S: New file.
43014 * sysdeps/x86_64/crtn.S: New file.
43015 * sysdeps/x86_64/elf/initfini.c: Remove file.
43016
2a979d3a
JM
430172012-02-13 Joseph Myers <joseph@codesourcery.com>
43018
43019 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43020 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43021 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43022 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43023 <bits/inotify.h>.
43024 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43026 bits/inotify.h.
43027
2a418ac3
JM
430282012-02-13 Joseph Myers <joseph@codesourcery.com>
43029
43030 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43031 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43032 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43033 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43034 <bits/eventfd.h>.
43035 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43037 bits/eventfd.h.
43038
fb779be7
TS
430392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43040
e19e83c5
RM
43041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43042 __feraiseexcept instead of feraiseexcept.
7c35ffed 43043
fb779be7
TS
43044 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43045 nanosleep invocations.
43046 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43047 strings, and add error checking for a nanosleep invocations.
43048
59ba27a6
PE
430492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43050
43051 Replace FSF snail mail address with URLs, as per GNU coding standards.
43052 Most of the snail mail addresses were wrong anyway, and omitting
43053 them makes the source code easier to maintain. Almost all of the
43054 changes are to license notices and to locale LC_IDENTIFICATION
43055 addresses, except for this one:
43056 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43057 not its snail mail address.
43058
57b957eb
RH
430592012-02-09 Richard Henderson <rth@twiddle.net>
43060
af850b1c
RH
43061 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43062 of kernel-features.h.
43063
57b957eb
RH
43064 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43065
6b73181a
MP
430662012-02-08 Marek Polacek <polacek@redhat.com>
43067
43068 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43069 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43070 * sysdeps/gnu/_G_config.h: Likewise.
43071 * sysdeps/generic/_G_config.h: Likewise.
43072
26ecc33a
AS
430732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43074
6c6dbc63
AS
43075 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43076 tests.
43077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43078
e216c012
AS
43079 * sysdeps/powerpc/powerpc32/crti.S: New file.
43080 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43081 * sysdeps/powerpc/powerpc64/crti.S: New file.
43082 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43083
26ecc33a
AS
43084 * Makeconfig (have-initfini): Don't set.
43085 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43086 * configure.in (nopic_initfini): Don't substitute.
43087 * config.h.in (HAVE_INITFINI): Don't #undef.
43088 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43089 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43090
3add8e13
JM
430912012-02-08 Joseph Myers <joseph@codesourcery.com>
43092
43093 Support crti.S and crtn.S provided directly by architectures.
43094 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43095 [crti.S in sysdirs] (omit-deps): Likewise.
43096 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43097 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43098 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43099 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43100 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43101 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43102 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43103 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43104 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43105 compiler output for sysdeps/generic/initfini.c.
43106 * sysdeps/i386/elf/Makefile: Remove file.
43107 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43108
a22f12b4
MP
431092012-02-07 Marek Polacek <polacek@redhat.com>
43110
43111 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43112 * sysdeps/gnu/_G_config.h: Likewise.
43113 * sysdeps/mach/hurd/_G_config.h: Likewise.
43114
148cf100
MP
431152012-02-07 Marek Polacek <polacek@redhat.com>
43116
43117 * math/Makefile (tests): Add tst-CMPLX2.
43118 * math/tst-CMPLX2.c: New file.
43119
cfdc0dd7
AS
431202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43121
84ba42c4
AS
43122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43123
cfdc0dd7
AS
43124 * math/libm-test.inc (jn_test): Add missing L suffix.
43125
622c86f4
MP
431262012-02-06 Marek Polacek <polacek@redhat.com>
43127
43128 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43129 * sysdeps/i386/fpu/e_powf.S: Likewise.
43130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43131 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43133 * sysdeps/i386/fpu/e_pow.S: Likewise.
43134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43138 * sysdeps/i386/fpu/e_log2.S: Likewise.
43139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43141 * sysdeps/i386/fpu/e_powl.S: Likewise.
43142 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43144 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43145 * sysdeps/i386/fpu/e_logl.S: Likewise.
43146 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43147 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43152 * sysdeps/i386/fpu/e_log.S: Likewise.
43153 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43155 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43156 * sysdeps/i386/fpu/e_logf.S: Likewise.
43157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43159 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43160 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43162 * sysdeps/i386/fpu/e_log10.S: Likewise.
43163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43168 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43169 * sysdeps/i386/asm-syntax.h: Likewise.
43170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43173 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43174 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43176 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43177 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43179 * sysdeps/powerpc/sysdep.h: Likewise.
43180 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43182
d4a54ac6
JM
431832012-02-06 Joseph Myers <joseph@codesourcery.com>
43184
43185 [BZ #411]
43186 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43187
314054ea
JM
431882012-02-06 Joseph Myers <joseph@codesourcery.com>
43189
43190 * sysdeps/i386/sysdep.h: Include <features.h>.
43191 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43192 version.
43193
d8e0ca50
JM
431942012-02-05 Joseph Myers <joseph@codesourcery.com>
43195
43196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43197 Define.
43198 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43199 LOAD_PIC_REG_STR.
43200
b1da7dd9
JM
432012012-02-03 Joseph Myers <joseph@codesourcery.com>
43202
43203 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43204 (SETUP_PIC_REG): Use GET_PC_THUNK.
43205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43206 macro.
43207
9a1d9254
JM
432082012-02-03 Joseph Myers <joseph@codesourcery.com>
43209
43210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43211 for non-PIC compilation.
43212 (SETUP_PIC_REG): Add .p2align directive.
43213 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43214 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43215 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43216 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43230 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43231 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43232 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43236 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43241 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43242 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43243 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43244 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43246 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43247 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43254
65dc3b75
JM
432552012-02-03 Joseph Myers <joseph@codesourcery.com>
43256
43257 * math/tst-CMPLX.c: Include <stdio.h>.
43258
d55bf177
JM
432592012-01-31 Joseph Myers <joseph@codesourcery.com>
43260
43261 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43262 float.
43263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43264 * sysdeps/sparc/bits/mathdef.h: Likewise.
43265
69db4f8f
MP
432662012-01-31 Marek Polacek <polacek@redhat.com>
43267
43268 * libio/libio.h: Don't define _PARAMS.
43269 * locale/programs/config.h: Don't define PARAMS.
43270 * stdlib/strtol_l.c: Likewise.
43271 (__strtol_l): Remove PARAMS from the prototype.
43272
41b81892
UD
432732012-01-31 Ulrich Drepper <drepper@gmail.com>
43274
3b49edc0
UD
43275 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43276 names. Just use the correct names. Remove unnecessary wrapper
43277 functions.
43278 * malloc/arena.c: Likewise.
43279 * malloc/hooks.c: Likewise.
43280
41b81892
UD
43281 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43282 ARENA_TEST says not to. Simplify test for creation of a new arena.
43283 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43284
27a25b6e
UD
432852012-01-30 Ulrich Drepper <drepper@gmail.com>
43286
43287 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43288 into tail calls.
43289 (update_get_addr): New function.
43290 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43291 GET_ADDR_MODULE parameter.
43292
c8a89e7d
JM
432932012-01-30 Joseph Myers <joseph@codesourcery.com>
43294
43295 * crypt/cert.c: Remove __STDC__ conditionals.
43296 * crypt/crypt-entry.c: Likewise.
43297 * crypt/crypt_util.c: Likewise.
43298 * libio/filedoalloc.c: Likewise.
43299 * libio/fileops.c: Likewise.
43300 * libio/genops.c: Likewise.
43301 * libio/iofclose.c: Likewise.
43302 * libio/iofdopen.c: Likewise.
43303 * libio/iofopen.c: Likewise.
43304 * libio/iofopen64.c: Likewise.
43305 * libio/iogetdelim.c: Likewise.
43306 * libio/iopopen.c: Likewise.
43307 * libio/obprintf.c: Likewise.
43308 * libio/oldfileops.c: Likewise.
43309 * libio/oldiofclose.c: Likewise.
43310 * libio/oldiofdopen.c: Likewise.
43311 * libio/oldiofopen.c: Likewise.
43312 * libio/oldiopopen.c: Likewise.
43313 * libio/wfiledoalloc.c: Likewise.
43314 * libio/wgenops.c: Likewise.
43315 * locale/programs/xmalloc.c: Likewise.
43316 * misc/syslog.c: Likewise.
43317 * stdio-common/xbug.c: Likewise.
43318 * string/memchr.c: Likewise.
43319 * string/memcmp.c: Likewise.
43320 * string/memrchr.c: Likewise.
43321 * string/rawmemchr.c: Likewise.
43322 * sysdeps/posix/getcwd.c: Likewise.
43323 * time/strftime_l.c: Likewise.
43324
3b100462
JM
433252012-01-30 Joseph Myers <joseph@codesourcery.com>
43326
43327 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
43328 * config.make.in (config-cflags-sse2avx): Define.
43329 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43330 Fix typo.
43331
607998af
CM
433322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43333
43334 * scripts/config.guess: Update from upstream config git repository.
43335 * scripts/config.sub: Likewise.
43336
3601428f
CM
433372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43338
3ac8b282
CM
43339 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43340 (EM_NUM): Update.
43341 (R_TILEPRO_*, R_TILEGX_*): New macros.
43342
e034841e
CM
43343 * scripts/firstversions.awk: Fix bug in version range handling.
43344
540d7568
CM
43345 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43346
3601428f
CM
43347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43348
463de862
CM
43349 * include/sys/epoll.h: New file.
43350 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43351 libc_hidden_def.
43352
73139a76
UD
433532012-01-28 Ulrich Drepper <drepper@gmail.com>
43354
96bc5b45
UD
43355 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43356 Avoid unnecessary __WORDSIZE == 64 test.
43357 (fmaxf): Use VEX format if possible.
43358 (fmax): Likewise.
43359 (fminf): Likewise.
43360 (fmin): Likewise.
43361
56f6f6a2
UD
43362 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43363 * math/math_private.h: Remove libc_fegetround* and
43364 libc_fesetround*.
43365 * sysdeps/i386/configure.in: Check for -msse2avx.
43366 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43367 also if SSE2AVX is defined.
43368 Remove libc_fegetround* and libc_fesetround*.
43369 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43370 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43372 of HAS_YMM_USABLE.
43373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43378
73139a76
UD
43379 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43380
d73f93a4
AZ
433812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43382
43383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43384 size is not set.
43385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43386
6ee65ed6
UD
433872012-01-27 Ulrich Drepper <drepper@gmail.com>
43388
43389 [BZ #13618]
43390 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43391 relocation.
43392 * Makeconfig (libm): Define.
43393 * elf/Makefile: Add rules to build and run tst-relsort1.
43394 * elf/tst-relsort1.c: New file.
43395 * elf/tst-relsort1mod1.c: New file.
43396 * elf/tst-relsort1mod2.c: New file.
43397
8db21882
JM
433982012-01-27 Joseph Myers <joseph@codesourcery.com>
43399
43400 * math/s_ldexp.c: Remove __STDC__ conditionals.
43401 * math/s_ldexpf.c: Likewise.
43402 * math/s_ldexpl.c: Likewise.
43403 * math/s_nextafter.c: Likewise.
43404 * math/s_nexttowardf.c: Likewise.
43405 * math/s_significand.c: Likewise.
43406 * math/s_significandf.c: Likewise.
43407 * math/s_significandl.c: Likewise.
43408 * math/w_jnl.c: Likewise.
43409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43415 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43428 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43429 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43430 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43437 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43446 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43447 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43448 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43449 * sysdeps/ieee754/k_standard.c: Likewise.
43450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43469 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43481 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43500 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43502 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43525 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43529 * sysdeps/ieee754/s_matherr.c: Likewise.
43530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43534
965a54a4
JM
435352012-01-26 Joseph Myers <joseph@codesourcery.com>
43536
43537 * crypt/md5.h: Remove __STDC__ conditionals.
43538 * libio/libioP.h: Likewise.
43539 * locale/programs/config.h: Likewise.
43540 * sysdeps/generic/sysdep.h: Likewise.
43541 * sysdeps/i386/asm-syntax.h: Likewise.
43542 * sysdeps/s390/asm-syntax.h: Likewise.
43543 * sysdeps/unix/sysdep.h: Likewise.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43546
7071ad79
JM
435472012-01-26 Joseph Myers <joseph@codesourcery.com>
43548
43549 * libio/libio.h: Remove __STDC__ conditionals.
43550 * malloc/obstack.h: Likewise.
43551 * math/complex.h: Likewise.
43552 * math/math.h: Likewise.
43553 * sysdeps/generic/_G_config.h: Likewise.
43554 * sysdeps/gnu/_G_config.h: Likewise.
43555 * sysdeps/mach/hurd/_G_config.h: Likewise.
43556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43558 * sysdeps/sparc/bits/mathdef.h: Likewise.
43559
afc5ed09
UD
435602012-01-26 Ulrich Drepper <drepper@gmail.com>
43561
43562 [BZ #13583]
43563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 43564 Clean up HAS_* macros.
afc5ed09 43565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
43566 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43567 possible.
43568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43569 HAS_AVX.
43570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 43575
bdb6de1d
JM
435762012-01-25 Joseph Myers <joseph@codesourcery.com>
43577
43578 * elf/tst-unique3.cc (gets): Remove declaration.
43579 * elf/tst-unique3lib.cc (gets): Likewise.
43580 * elf/tst-unique3lib2.cc (gets): Likewise.
43581 * elf/tst-unique4.cc (gets): Likewise.
43582
b15549e6
UD
435832012-01-24 Ulrich Drepper <drepper@gmail.com>
43584
43585 * include/stdio.h: Add C++ protection. Add gets declarations and
43586 definitions.
43587 * debug/tst-chk1.c: Don't declare gets here.
43588 * stdio-common/tst-gets.c: Likewise.
43589
a037381f
JM
435902012-01-24 Joseph Myers <joseph@codesourcery.com>
43591
43592 * posix/glob: Remove directory.
43593
f1d4aa75
JM
435942012-01-24 Joseph Myers <joseph@codesourcery.com>
43595
43596 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43597
81c0c964
PT
435982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43599
43600 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43601 of the non-standard EPFNOSUPPORT.
43602
0ea698ae
ST
436032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43604
43605 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43606 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43607 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43608
d220b117
UD
436092012-01-21 Ulrich Drepper <drepper@gmail.com>
43610
43611 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43612
3e1aa84e
UD
436132012-01-20 Ulrich Drepper <drepper@gmail.com>
43614
43615 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43616 transient errors.
43617 * nscd/grpcache.c (cache_addgr): Likewise.
43618 * nscd/hstcache.c (cache_addhst): Likewise.
43619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43620 * nscd/pwdcache.c (cache_addpw): Likewise.
43621 * nscd/servicescache.c (cache_addserv): Likewise.
43622
400aa020
UD
436232012-01-16 Ulrich Drepper <drepper@gmail.com>
43624
d77e7869
UD
43625 * malloc/malloc.c: Various cleanups.
43626 * malloc/hooks.c: Likewise.
43627
400aa020
UD
43628 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43629 * stdlib/bug-fmtmsg1.c: New file.
43630
43631 * stdlib/fmtmsg.c (init): Add missing unlock.
43632 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43633
e0a309cf
MP
436342012-01-12 Marek Polacek <polacek@redhat.com>
43635
43636 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43637 and _GNU_SOURCE.
43638
929d11c7
WS
436392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43640
43641 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43643 macro to ensure uniqueness of label name.
43644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43646
41d0e869
UD
436472012-01-11 Ulrich Drepper <drepper@gmail.com>
43648
0cc5ed3b
UD
43649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43650
41d0e869
UD
43651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43655
a47a831a
UD
436562012-01-10 Ulrich Drepper <drepper@gmail.com>
43657
daa891c0
UD
43658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43659
43660 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43663
e58ef0f2
UD
43664 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43665
a47a831a 43666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
43667 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 43669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
43670
43671 * math/bits/math-finite.h: Add ldexp support.
43672
a0bfc9c7
MP
436732012-01-10 Marek Polacek <polacek@redhat.com>
43674
43675 * locale/programs/localedef.h (show_archive_content): Add noreturn
43676 attribute.
43677
d6e97a1d
UD
436782012-01-09 Ulrich Drepper <drepper@gmail.com>
43679
43680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43681
d5835c26
UD
436822012-01-08 Ulrich Drepper <drepper@gmail.com>
43683
e5f484c6
UD
43684 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43685
d5835c26
UD
43686 * io/Makefile (headers): Add bits/poll2.h.
43687
d1f741e9
WS
436882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43689
43690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43691 typo #include statement.
43692
ec09c1c4
UD
436932012-01-08 Ulrich Drepper <drepper@gmail.com>
43694
43695 * include/sys/cdefs.h: Define __attribute_alloc_size.
43696 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43697 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43698 * elf/pldd.c: Likewise.
43699 * iconv/iconv_charmap.c: Likewise.
43700 * iconv/iconvconfig.c: Likewise.
43701 * iconv/strtab.c: Likewise.
43702 * locale/programs/locale.c: Likewise.
43703 * locale/programs/localedef.h: Likewise.
43704 * locale/programs/simple-hash.c: Likewise.
43705 * nscd/nscd.h: Likewise.
43706 * nss/makedb.c: Likewise.
43707 * sysdeps/generic/ldconfig.h: Likewise.
43708 * locale/programs/localedef.c: Remove xmalloc prototype.
43709 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43710
20b38e03
PP
437112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43712
43713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43714 appropriate.
43715
a0da5fe1
UD
437162012-01-08 Ulrich Drepper <drepper@gmail.com>
43717
1d5a644a 43718 * math/Makefile (tests): Add tst-CMPLX.
669704fd 43719 * math/tst-CMPLX.c: New file.
1d5a644a 43720
8784a6db
UD
43721 * math/complex.h (CMPLXL): Fix typo.
43722
d9a216c0
UD
43723 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43724 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43725 GLIBC_2.16.
43726 * debug/tst-chk1.c: Add poll and ppoll tests.
43727 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43728 * include/sys/poll.h: Add hidden proto for ppoll.
43729 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43730 * sysdeps/mach/hurd/ppoll.c: Likewise.
43731 * io/ppoll.c: Likewise.
43732 * debug/poll_chk.c: New file.
43733 * debug/ppoll_chk.c: New file.
43734 * include/bits/poll2.h: New file.
43735 * io/bits/poll2.h: New file.
43736
ac097f5c
UD
43737 [BZ #1350]
43738 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43739
2119dcfa
UD
43740 * configure.in: static is always set to yes. Remove.
43741 * config.make.in: Don't set build-static.
43742 * Makeconfig: Remove use of build-static.
43743 * dlfcn/Makefile: Likewise.
43744 * elf/Makefile: Likewise.
43745 * math/Makefile: Likewise.
43746 * misc/Makefile: Likewise.
43747 * nptl/Makefile: Likewise.
43748 * sysdeps/mach/hurd/Makefile: Likewise.
43749
121766a9
UD
43750 * configure.in: PWD_P is not used anymore.
43751 * config.make.in: Remove PWD_P entry.
43752
51a1d39c 43753 * configure.in: Remove last remnants of RANLIB.
8720d066 43754 No need to check for signed size_t anymore.
215f4bdc
UD
43755 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43756 and IA-64.
3857022a 43757 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
43758 * aclocal.m4: Likewise.
43759
d3ed7225
UD
43760 * wcsmbs/mbrtoc16.c: Implement using towc function.
43761 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43762 * wcsmbs/wcsmbsload.c: Likewise.
43763 * iconv/gconv_simple.c: Likewise.
43764 * iconv/gconv_int.h: Likewise.
43765 * iconv/gconv_builtin.h: Likewise.
43766 * iconv/iconv_prog.c: Remove CHAR16 handling.
43767
43768 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43769
43770 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43771
a0da5fe1
UD
43772 * configure.in: Remove --with-elf and --enable-bounded options.
43773 Dont set base_machine for ia64. More non-ELF conditions removed.
43774 Remove testing and setting of leading underscore information.
43775 * config.make.in (build-bounded): Set to no.
43776 * config.h.in: Remove NO_UNDERSCORES entry.
43777 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43778 them.
43779 * csu/start.c: Remove !NO_UNDERSCORE code.
43780 * locale/localeinfo.h: Likewise.
43781 * sysdeps/generic/machine-gmon.h: Likewise.
43782 * sysdeps/generic/sysdep.h: Likewise.
43783 * sysdeps/i386/sysdep.h: Likewise.
43784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43785 * sysdeps/mach/sysdep.h: Likewise.
43786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43788 * sysdeps/sh/sysdep.h: Likewise.
43789 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43790 * sysdeps/unix/i386/sysdep.S: Likewise.
43791 * sysdeps/unix/sparc/start.c: Likewise.
43792 * sysdeps/unix/sparc/sysdep.S: Likewise.
43793 * sysdeps/unix/sparc/sysdep.h: Likewise.
43794 * sysdeps/unix/start.c: Likewise.
43795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43796 * sysdeps/x86_64/sysdep.h: Likewise.
43797
df78418a
UD
437982012-01-07 Ulrich Drepper <drepper@gmail.com>
43799
a784e502
UD
43800 [BZ #13553]
43801 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43802 for non-gcc.
43803 * argp/argp-fmtstream.h: Use const instead __const.
43804 * argp/argp.h: Likewise.
43805 * assert/assert.h: Likewise.
43806 * bits/fenv.h: Likewise.
43807 * bits/sched.h: Likewise.
43808 * bits/sigset.h: Likewise.
43809 * bits/sigthread.h: Likewise.
43810 * catgets/nl_types.h: Likewise.
43811 * conform/data/pthread.h-data: Likewise.
43812 * crypt/crypt-private.h: Likewise.
43813 * crypt/crypt.h: Likewise.
43814 * crypt/crypt_util.c: Likewise.
43815 * ctype/ctype.h: Likewise.
43816 * debug/execinfo.h: Likewise.
43817 * debug/mbsnrtowcs_chk.c: Likewise.
43818 * debug/mbsrtowcs_chk.c: Likewise.
43819 * debug/wcsnrtombs_chk.c: Likewise.
43820 * debug/wcsrtombs_chk.c: Likewise.
43821 * debug/wcstombs_chk.c: Likewise.
43822 * dirent/dirent.h: Likewise.
43823 * dlfcn/dlfcn.h: Likewise.
43824 * elf/neededtest4.c: Likewise.
43825 * grp/grp.h: Likewise.
43826 * gshadow/gshadow.h: Likewise.
43827 * iconv/gconv.h: Likewise.
43828 * iconv/gconv_int.h: Likewise.
43829 * iconv/gconv_simple.c: Likewise.
43830 * iconv/iconv.h: Likewise.
43831 * iconv/loop.c: Likewise.
43832 * iconv/skeleton.c: Likewise.
43833 * include/aio.h: Likewise.
43834 * include/aliases.h: Likewise.
43835 * include/argz.h: Likewise.
43836 * include/arpa/inet.h: Likewise.
43837 * include/assert.h: Likewise.
43838 * include/dirent.h: Likewise.
43839 * include/dlfcn.h: Likewise.
43840 * include/execinfo.h: Likewise.
43841 * include/fcntl.h: Likewise.
43842 * include/fenv.h: Likewise.
43843 * include/glob.h: Likewise.
43844 * include/grp.h: Likewise.
43845 * include/libintl.h: Likewise.
43846 * include/mntent.h: Likewise.
43847 * include/netdb.h: Likewise.
43848 * include/pwd.h: Likewise.
43849 * include/rpc/netdb.h: Likewise.
43850 * include/sched.h: Likewise.
43851 * include/search.h: Likewise.
43852 * include/shadow.h: Likewise.
43853 * include/signal.h: Likewise.
43854 * include/stdio.h: Likewise.
43855 * include/stdlib.h: Likewise.
43856 * include/string.h: Likewise.
43857 * include/sys/socket.h: Likewise.
43858 * include/sys/stat.h: Likewise.
43859 * include/sys/statfs.h: Likewise.
43860 * include/sys/statvfs.h: Likewise.
43861 * include/sys/syslog.h: Likewise.
43862 * include/sys/time.h: Likewise.
43863 * include/sys/uio.h: Likewise.
43864 * include/time.h: Likewise.
43865 * include/unistd.h: Likewise.
43866 * include/utmp.h: Likewise.
43867 * include/wchar.h: Likewise.
43868 * include/wctype.h: Likewise.
43869 * inet/aliases.h: Likewise.
43870 * inet/arpa/inet.h: Likewise.
43871 * inet/netinet/ether.h: Likewise.
43872 * inet/netinet/in.h: Likewise.
43873 * intl/libintl.h: Likewise.
43874 * io/bits/fcntl2.h: Likewise.
43875 * io/fcntl.h: Likewise.
43876 * io/ftw.h: Likewise.
43877 * io/sys/poll.h: Likewise.
43878 * io/sys/stat.h: Likewise.
43879 * io/sys/statfs.h: Likewise.
43880 * io/sys/statvfs.h: Likewise.
43881 * io/utime.h: Likewise.
43882 * libio/bits/stdio.h: Likewise.
43883 * libio/bits/stdio2.h: Likewise.
43884 * libio/libio.h: Likewise.
43885 * libio/libioP.h: Likewise.
43886 * libio/stdio.h: Likewise.
43887 * locale/lc-ctype.c: Likewise.
43888 * locale/locale.h: Likewise.
43889 * login/utmp.h: Likewise.
43890 * malloc/arena.c: Likewise.
43891 * malloc/malloc.c: Likewise.
43892 * malloc/malloc.h: Likewise.
43893 * malloc/mcheck.c: Likewise.
43894 * malloc/mtrace.c: Likewise.
43895 * math/bits/mathcalls.h: Likewise.
43896 * math/fenv.h: Likewise.
43897 * math/math_private.h: Likewise.
43898 * misc/bits/error.h: Likewise.
43899 * misc/bits/syslog.h: Likewise.
43900 * misc/err.h: Likewise.
43901 * misc/error.h: Likewise.
43902 * misc/fstab.h: Likewise.
43903 * misc/mntent.h: Likewise.
43904 * misc/regexp.h: Likewise.
43905 * misc/search.h: Likewise.
43906 * misc/sgtty.h: Likewise.
43907 * misc/sys/mman.h: Likewise.
43908 * misc/sys/syslog.h: Likewise.
43909 * misc/sys/uio.h: Likewise.
43910 * misc/sys/xattr.h: Likewise.
43911 * misc/ttyent.h: Likewise.
43912 * nis/rpcsvc/ypclnt.h: Likewise.
43913 * nss/nss.h: Likewise.
43914 * posix/bits/unistd.h: Likewise.
43915 * posix/fnmatch.h: Likewise.
43916 * posix/glob.h: Likewise.
43917 * posix/sched.h: Likewise.
43918 * posix/spawn.h: Likewise.
43919 * posix/sys/wait.h: Likewise.
43920 * posix/unistd.h: Likewise.
43921 * posix/wordexp.h: Likewise.
43922 * pwd/pwd.h: Likewise.
43923 * resolv/netdb.h: Likewise.
43924 * resource/sys/resource.h: Likewise.
43925 * rt/aio.h: Likewise.
43926 * rt/bits/mqueue2.h: Likewise.
43927 * rt/mqueue.h: Likewise.
43928 * shadow/shadow.h: Likewise.
43929 * signal/signal.h: Likewise.
43930 * socket/send.c: Likewise.
43931 * socket/sendto.c: Likewise.
43932 * socket/sys/socket.h: Likewise.
43933 * stdio-common/printf.h: Likewise.
43934 * stdlib/bits/stdlib.h: Likewise.
43935 * stdlib/fmtmsg.h: Likewise.
43936 * stdlib/monetary.h: Likewise.
43937 * stdlib/stdlib.h: Likewise.
43938 * stdlib/ucontext.h: Likewise.
43939 * streams/stropts.h: Likewise.
43940 * string/argz.h: Likewise.
43941 * string/bits/string2.h: Likewise.
43942 * string/string.h: Likewise.
43943 * string/strings.h: Likewise.
43944 * sunrpc/rpc/auth.h: Likewise.
43945 * sunrpc/rpc/auth_des.h: Likewise.
43946 * sunrpc/rpc/clnt.h: Likewise.
43947 * sunrpc/rpc/netdb.h: Likewise.
43948 * sunrpc/rpc/pmap_clnt.h: Likewise.
43949 * sunrpc/rpc/xdr.h: Likewise.
43950 * sysdeps/generic/inttypes.h: Likewise.
43951 * sysdeps/generic/net/if.h: Likewise.
43952 * sysdeps/generic/sys/swap.h: Likewise.
43953 * sysdeps/gnu/net/if.h: Likewise.
43954 * sysdeps/gnu/utmpx.h: Likewise.
43955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43956 * sysdeps/i386/i486/bits/string.h: Likewise.
43957 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43958 * sysdeps/s390/bits/string.h: Likewise.
43959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43961 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43962 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43963 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43964 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43965 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43966 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43967 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43968 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43969 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43971 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43973 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43981 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43982 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43983 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43984 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43985 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43987 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43989 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43990 * sysvipc/sys/ipc.h: Likewise.
43991 * sysvipc/sys/msg.h: Likewise.
43992 * sysvipc/sys/sem.h: Likewise.
43993 * sysvipc/sys/shm.h: Likewise.
43994 * termios/termios.h: Likewise.
43995 * time/sys/time.h: Likewise.
43996 * time/time.h: Likewise.
43997 * wcsmbs/bits/wchar2.h: Likewise.
43998 * wcsmbs/uchar.h: Likewise.
43999 * wcsmbs/wchar.h: Likewise.
44000 * wctype/wctype.h: Likewise.
44001
0269750c
UD
44002 [BZ #13551]
44003 * Makeconfig: Remove all but ELF support including AIX support.
44004 * Makerules: Likewise.
44005 * config.h.in: Likewise.
44006 * config.make.in: Likewise.
44007 * configure: Likewise.
44008 * configure.in: Likewise.
44009 * csu/Makefile: Likewise.
44010 * csu/version.c: Likewise.
44011 * debug/Makefile: Likewise.
44012 * dlfcn/Makefile: Likewise.
44013 * elf/Makefile: Likewise.
44014 * extra-lib.mk: Likewise.
44015 * iconv/Makefile: Likewise.
44016 * include/libc-symbols.h: Likewise.
44017 * include/shlib-compat.h: Likewise.
44018 * resolv/Makefile: Likewise.
44019 * resolv/res_libc.c: Likewise.
44020 * rt/Makefile: Likewise.
44021 * sysdeps/i386/asm-syntax.h: Likewise.
44022 * sysdeps/i386/sysdep.h: Likewise.
44023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44024 * sysdeps/mach/sysdep.h: Likewise.
44025 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44026 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44027 * sysdeps/s390/asm-syntax.h: Likewise.
44028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44030 * sysdeps/sh/sysdep.h: Likewise.
44031 * sysdeps/unix/sparc/sysdep.h: Likewise.
44032 * sysdeps/wordsize-32/divdi3.c: Likewise.
44033 * sysdeps/x86_64/sysdep.h: Likewise.
44034
00bbd29b
UD
44035 * argp/Versions: Remove _argp_unlock_xxx.
44036
44037 [BZ #13559]
44038 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44039 * abilist/libBrokenLocale.abilist: Likewise.
44040 * abilist/libanl.abilist: Likewise.
44041 * abilist/libc.abilist: Likewise.
44042 * abilist/libcrypt.abilist: Likewise.
44043 * abilist/libdl.abilist: Likewise.
44044 * abilist/libm.abilist: Likewise.
44045 * abilist/libnsl.abilist: Likewise.
44046 * abilist/libpthread.abilist: Likewise.
44047 * abilist/libresolv.abilist: Likewise.
44048 * abilist/librt.abilist: Likewise.
44049 * abilist/libthread_db.abilist: Likewise.
44050 * abilist/libutil.abilist: Likewise.
44051 * abilist/libnss_db.abilist: New file.
44052
44053 * scripts/abilist.awk: Add support for indirect functions.
44054
a2693a0e
UD
44055 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44056
3f05895f
UD
44057 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44058
ecb6fb48
UD
44059 * shlib-versions: Remove entries for ports architectures.
44060
664f8cb9
UD
44061 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44062 files in ports.
44063 * elf/stackguard-macros.h: Remove support for IA-64.
44064 * elf/tst-auditmod1.c: Likewise.
44065 * sysdeps/generic/ldsodefs.h: Likewise.
44066
7ae81d88
UD
44067 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44068 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44069 configure files.
44070
bdeba135
UD
44071 [BZ #13552]
44072 * configure.in: Remove --enable-omitfp support.
44073 * FAQ.in: Adjust.
44074 * config.make.in: Likewise.
44075 * Makeconfig: Likewise.
44076 * manual/install.texi: Likewise.
44077
d75a0a62
UD
44078 In case anyone cares, the IA-64 architecture could move to ports.
44079 * sysdeps/ia64/*: Removed.
44080 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 44081 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 44082
dcc9756b
UD
44083 [BZ #13555]
44084 * configure.in: Remove entries for unsupported architectures.
44085
d3761ebc 44086 [BZ #13533]
9954432e
UD
44087 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44088 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44089 routines.
44090 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44091 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44092 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44093 fall back to using wcrtomb.
44094 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44095 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44096 renaming.
44097 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44098 * wcsmbs/tst-c16c32-1.c: New file.
44099
44100 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44101 local variable.
44102
c3a87236
UD
44103 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44104
28926a1b
UD
44105 * elf/tst-unique3.cc: Add explicit declaration of gets.
44106 * elf/tst-unique3lib.cc: Likewise.
44107 * elf/tst-unique3lib2.cc: Likewise.
44108 * elf/tst-unique4.cc: Likewise.
44109
df78418a
UD
44110 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44111
8ecd6b2a
JM
441122012-01-06 Joseph Myers <joseph@codesourcery.com>
44113
44114 [BZ #13566]
44115 * assert/assert.h (static_assert): Don't define for C++.
44116 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44117 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44118
9f115170
UD
441192012-01-03 Ulrich Drepper <drepper@gmail.com>
44120
5e0d0300
UD
44121 * iconv/loop.c (single loop): Fix assertion in storing of
44122 remaining bytes.
44123
9f115170
UD
44124 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44125
81fb02b0
UD
441262012-01-01 Ulrich Drepper <drepper@gmail.com>
44127
44128 * posix/getconf.c: Update copyright year.
44129 * nss/getent.c: Likewise.
a316c1f6 44130 * nss/makedb.c: Likewise.
81fb02b0
UD
44131 * iconv/iconvconfig.c: Likewise.
44132 * iconv/iconv_prog.c: Likewise.
44133 * elf/ldconfig.c: Likewise.
a316c1f6
UD
44134 * elf/pldd.c: Likewise.
44135 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
44136 * catgets/gencat.c: Likewise.
44137 * csu/version.c: Likewise.
44138 * elf/ldd.bash.in: Likewise.
44139 * elf/sprof.c (print_version): Likewise.
44140 * locale/programs/locale.c: Likewise.
44141 * locale/programs/localedef.c: Likewise.
a316c1f6 44142 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
44143 * nscd/nscd.c (print_version): Likewise.
44144 * debug/xtrace.sh: Likewise.
44145 * malloc/memusage.sh: Likewise.
44146 * malloc/mtrace.pl: Likewise.
44147 * debug/catchsegv.sh: Likewise.
44148
2ba92745
JJ
441492011-12-30 Jakub Jelinek <jakub@redhat.com>
44150
44151 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44152 pure attribute.
44153
dadebdae
UD
441542011-12-24 Ulrich Drepper <drepper@gmail.com>
44155
d3761ebc 44156 [BZ #13533]
db6af3eb
UD
44157 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44158 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44159 transformations.
44160 * iconv/gconv_int.h: Likewise.
44161 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44162 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44163 from libc for GLIBC_2.16.
44164 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44165 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44166 * wcsmbs/uchar.h: Really define mbstate_t.
44167 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44168 * wcsmbs/c16rtomb.c: New file.
44169 * wcsmbs/mbrtoc16.c: New file.
44170 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44171 for C/POSIX locale.
44172 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44173 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44174
dadebdae
UD
44175 * wcsmbs/wchar.h: Add missing __restrict.
44176
67371b56
UD
441772011-12-23 Ulrich Drepper <drepper@gmail.com>
44178
74033a25
UD
44179 [BZ #13532]
44180 * time/Makefile (routines): Add timespec_get.
44181 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44182 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44183 timespec for ISO C11.
44184 * time/timespec_get.c: New file.
44185 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44186 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44187
380d7e87
UD
44188 [BZ #13531]
44189 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44190 * stdlib/stdlib.h: Declare aligned_alloc.
44191 * Versions.def: Add GLIBC_2.16 for libc.
44192 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44193
4e9e7a35
UD
44194 [BZ 13527]
44195 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44196 ISO C11.
44197
380d7e87 44198 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
44199 code.
44200
03a71829
UD
44201 [BZ #13528]
44202 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44203
839e283e
UD
44204 [BZ #13529]
44205 * assert/assert.h (static_assert): Define.
44206
ce5294e2 44207 * version.h: Update for 2.16 development version.
90fa7312 44208
8d44e150 44209 [BZ #13526]
d7809905
UD
44210 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44211 _ISOC11_SOURCE.
44212
c0da14cd
UD
44213 * version.h (RELEASE): Bump for 2.15 release.
44214 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44215
530a3249
MP
44216 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44217 Patch by Marek Polacek <mpolacek@redhat.com>.
44218
67371b56
UD
44219 * bits/byteswap.h: Protect long long constants with __extension__.
44220 * sysdeps/i386/bits/byteswap.h: Likewise.
44221 * sysdeps/ia64/bits/byteswap.h: Likewise.
44222 * sysdeps/s390/bits/byteswap.h: Likewise.
44223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44224
15db4de1
LD
442252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44226
44227 [BZ #13540]
bbe315ea
LD
44228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44229 destination buffer.
15db4de1
LD
44230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44231
2b2596b1
MP
442322011-12-23 Marek Polacek <polacek@redhat.com>
44233
44234 * elf/dl-addr.c (determine_info): Add inline keyword.
44235 * elf/tst-auditmod4b.c (check_avx): Likewise.
44236 * elf/tst-auditmod6b.c (check_avx): Likewise.
44237 * elf/tst-auditmod6c.c (check_avx): Likewise.
44238 * elf/tst-auditmod7b.c (check_avx): Likewise.
44239
70c6c246
UD
442402011-12-23 Ulrich Drepper <drepper@gmail.com>
44241
44242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44243 !__SSE_MATH__.
44244
c044cf14
LD
442452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44246
15db4de1 44247 [BZ #13540]
c044cf14
LD
44248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44249 processing for last bytes.
44250
6b13d9d9
BH
442512011-08-06 Bruno Haible <bruno@clisp.org>
44252
d455f537
BH
44253 [BZ #13061]
44254 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44255 U+0385, not to U+1FEE.
44256
6b13d9d9
BH
44257 [BZ #13062]
44258 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44259 entry for U+00A5 U+0301.
44260
db910efd
UD
442612011-12-22 Ulrich Drepper <drepper@gmail.com>
44262
27deeafc
UD
44263 [BZ #13166]
44264 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44265 buffer for the output is too small.
44266
aed9d171
UD
44267 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44268 optimization.
44269
db910efd
UD
44270 [BZ #13185]
44271 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44272 SSE flags if possible.
44273
2bd779ae
LD
442742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44275
e7f9dac3 44276 [BZ #13540]
2bd779ae
LD
44277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44278 processing for last bytes.
44279
154bfc16
JM
442802011-12-22 Joseph Myers <joseph@codesourcery.com>
44281
44282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44283 (syscall-list-default-options, syscall-list-default-condition)
44284 (syscall-list-includes): Define.
44285 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44286 list of ABIs and options and #if conditions for each ABI. Do not
44287 handle common syscalls between ABIs specially.
44288 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44289 Remove.
44290 (syscall-list-variants, syscall-list-32bit-options)
44291 (syscall-list-32bit-condition, syscall-list-64bit-options)
44292 (syscall-list-64bit-condition): Define.
44293 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44294 (syscall-list-variants, syscall-list-32bit-options)
44295 (syscall-list-32bit-condition, syscall-list-64bit-options)
44296 (syscall-list-64bit-condition): Define.
44297 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44298 Remove.
44299 (syscall-list-variants, syscall-list-32bit-options)
44300 (syscall-list-32bit-condition, syscall-list-64bit-options)
44301 (syscall-list-64bit-condition): Define.
44302 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44303 Remove.
44304 (syscall-list-variants, syscall-list-32bit-options)
44305 (syscall-list-32bit-condition, syscall-list-64bit-options)
44306 (syscall-list-64bit-condition): Define.
44307
21eaf3a5
UD
443082011-12-22 Ulrich Drepper <drepper@gmail.com>
44309
16c6f992
UD
44310 * locale/iso-639.def: Add brx entry.
44311
41043168
UD
44312 [BZ #13328]
44313 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44314 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44315
21eaf3a5
UD
44316 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44317 __feraiseexcept_renamed.
44318
e3a851a2
UD
443192011-12-21 Ulrich Drepper <drepper@gmail.com>
44320
4920765e
UD
44321 [BZ #13538]
44322 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44323 EPOLLET with unsigned values.
44324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44326
e3a851a2
UD
44327 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44328 to large cancellation.
44329 * math/s_cacoshf.c: Likewise.
44330 * math/s_cacoshl.c: Likewise.
44331
b27e24b8
RK
443322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44333
44334 [BZ #13305]
aebefeee 44335 [BZ #12786]
b27e24b8
RK
44336 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44337 * math/s_cacoshf.c: Likewise.
44338 * math/s_cacoshl.c: Likewise.
44339
ee190f67
UD
443402011-12-21 Ulrich Drepper <drepper@gmail.com>
44341
44342 [BZ #13439]
44343 * iconv/gconv.h: Define __GCONV_SWAP.
44344 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44345 * iconvdata/utf-16.c: Likewise.
44346 * iconvdata/utf-32.c: Likewise.
44347
707f25df
AS
443482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44349
44350 [BZ #13524]
44351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44352 numerator after shifting it by one limb.
44353
d2daaa1e
RÁE
443542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44355
44356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44357 under [__USE_EXTERN_INLINES].
44358
a4647e72
UD
443592011-12-17 Ulrich Drepper <drepper@gmail.com>
44360
44361 [BZ #13446]
44362 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44363
f0b264f1
AZ
443642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44365
44366 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44367 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44368 optimized code.
44369 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44371 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44372 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44373 for strncasecmp/strncasecmp_l compilation.
44374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44375 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44376
8ef4f244
MP
443772011-12-08 Marek Polacek <mpolacek@redhat.com>
44378
44379 [BZ #13484]
44380 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44381 of __asm__.
44382
97ac2654
UD
443832011-12-17 Ulrich Drepper <drepper@gmail.com>
44384
44385 [BZ #13506]
44386 * time/tzfile.c (__tzfile_read): Check values from file header.
44387
91d2a845
WS
443882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44389
44390 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44391 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44392 * powerpc/powerpc32/dl-start.S: Likewise.
44393 * powerpc/powerpc32/elf/start.S: Likewise.
44394 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44395 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44396 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44397 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44398 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44399 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44400 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44401 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44402 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44403 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44404 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44405 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44406 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44407 * powerpc/powerpc32/memset.S: Likewise.
44408 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44409 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44410 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44411 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44412 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44413 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44414 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44415 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44416 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44417 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44419 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44420 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44421
a1267ba1
AZ
444222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44423
44424 * math/libm-test.inc: Added more nearbyint tests.
44425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44429
ad8ac1bd
RL
444302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44431
44432 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44433 FD_CLOEXEC.
44434
1d3e4b61
UD
444352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44436
44437 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44438 Add wcscpy-ssse3 wcscpy-c.
44439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44440 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44441 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44442 * sysdeps/x86_64/wcschr.S: New file.
44443 * sysdeps/x86_64/wcsrchr.S: New file.
44444 * string/test-strcmp.c: Remove checking of wcscmp function for
44445 wrong alignments.
44446 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44447 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44448 wcsrchr-sse2 wcsrchr-c.
44449 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44450 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44451 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44452 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44453 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44454 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44455 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44456 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44458 * wcsmbc/wcschr.c (WCSCHR): New macro.
44459
5b330a2d
UD
444602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44461
44462 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44463 * wcsmbs/test-wcsrchr.c: New file.
44464 * string/test-strrchr.c: Add wcsrchr support.
44465 (WIDE): New macro.
44466 * wcsmbs/test-wcscpy.c: New file.
44467 * string/test-strcpy.c: Add wcscpy support.
44468 (WIDE): New macro.
26428b7c 44469
f039c043
UD
444702011-12-10 Ulrich Drepper <drepper@gmail.com>
44471
44472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44473 the inner loop.
44474
850fb039
AS
444752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44476
44477 [BZ #13472]
44478 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44479
4efbd5cb
UD
444802011-12-04 Ulrich Drepper <drepper@gmail.com>
44481
52ff5dd0 44482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 44483 Minor optimizations.
52ff5dd0 44484
4efbd5cb
UD
44485 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44486 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44487 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44488
8a426e12
UD
444892011-12-03 Ulrich Drepper <drepper@gmail.com>
44490
aff2453d
UD
44491 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44492 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44493 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44494 for gcc to avoid warnings.
44495 * inet/Makefile (tests): Add tst-checks.
44496 * inet/tst-checks.c: New file.
44497
44498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44499 warning.
44500
44501 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44502 __wmemcmp_sse2.
44503
44504 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44505 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44506
8a426e12
UD
44507 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44508
9bea3473
UD
445092011-12-02 Ulrich Drepper <drepper@gmail.com>
44510
3a965496
UD
44511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44512 problem.
44513
9bea3473
UD
44514 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44515
f101631b
UD
445162011-11-29 Joseph Myers <joseph@codesourcery.com>
44517
44518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44519 conditional on GCC version.
44520 (__arch_compare_and_exchange_val_8_acq)
44521 (__arch_compare_and_exchange_val_16_acq)
44522 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44523 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44524 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44525
a98275aa
UD
445262011-12-02 Joseph Myers <joseph@codesourcery.com>
44527
44528 * sysdeps/sh/backtrace.c: New file.
44529
d4cc29a2
AS
445302011-12-02 Andreas Schwab <schwab@redhat.com>
44531
44532 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44533 parenthesis.
44534
6257af2d
AS
445352011-12-01 Andreas Schwab <schwab@redhat.com>
44536
44537 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44538 falling back to utime.
44539
b5f44c1a
AS
445402011-11-30 Andreas Schwab <schwab@redhat.com>
44541
44542 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44543 expectations for float.
44544
f3a6cc0a
AS
445452011-11-29 Andreas Schwab <schwab@redhat.com>
44546
44547 * locale/weight.h (findidx): Add parameter len.
44548 * locale/weightwc.h (findidx): Likewise.
44549 * posix/fnmatch_loop.c (FCT): Adjust caller.
44550 * posix/regcomp.c (build_equiv_class): Likewise.
44551 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44552 * posix/regexec.c (check_node_accept_bytes): Likewise.
44553 * string/strcoll_l.c (STRCOLL): Likewise.
44554 * string/strxfrm_l.c (STRXFRM): Likewise.
44555
9d65ea3a
UD
445562011-11-17 Ulrich Drepper <drepper@gmail.com>
44557
44558 * Makefile.in: Remove CVSOPT handling.
44559 * configure.in: Remove use of AC_REVISION.
44560 * iconvdata/Makefile (distribute): No need to filter out CVS.
44561 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44562 handling.
44563
5583a086
AS
445642011-11-16 Andreas Schwab <schwab@redhat.com>
44565
44566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44567 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44568 [USE_AS_STRNCASECMP_L]: Likewise.
44569 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44570 NO_TLS_DIRECT_SEG_REFS.
44571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44572 Fix argument offsets for non-PIC.
44573 [USE_AS_STRNCASECMP_L]: Likewise.
44574 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44575 NO_TLS_DIRECT_SEG_REFS.
44576
d62a8200
UD
445772011-11-15 Ulrich Drepper <drepper@gmail.com>
44578
9d65ea3a 44579 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
44580 O_CLOEXEC.
44581 * locale/loadlocale.c (_nl_load_locale): Likewise.
44582
09f93bd3
AS
445832011-11-15 Andreas Schwab <schwab@redhat.com>
44584
446514f9
AS
44585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44586 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44588 (SYSCALL_GETTIME): Set errno on error.
44589
09f93bd3
AS
44590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44591 count references to noai6ai_cached.
44592
312be3f9
UD
445932011-11-15 Ulrich Drepper <drepper@gmail.com>
44594
44595 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44596
44597 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44598 FD_CLOEXEC for /proc/self/maps.
44599
44600 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44601 FD_CLOEXEC for /proc/meminfo.
44602
44603 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44604 gai.conf.
44605
44606 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44607 FD_CLOEXEC for given file.
44608
44609 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44610
44611 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44612 FD_CLOEXEC for /etc/hosts.
44613 (_gethtent): Likewise.
44614
44615 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44616
44617 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44618 cancellation and set FD_CLOEXEC for /etc/netgroup.
44619
44620 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44621 reading /etc/publickey.
44622
44623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44624 allow cancellation when reading /etc/group.
44625
44626 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44627 cancellation.
44628 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44629
44630 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44631 when using data file.
44632
44633 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44634
44635 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44636 (write_nis_obj): Use "c" and "e" in fopen.
44637
44638 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44639
44640 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44641
44642 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44643
44644 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44645
44646 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44647 locale.alias.
44648
44649 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44650
44651 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44652
44653 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44654
44655 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44656 file parsing and set FD_CLOEXEC.
44657
82af0fa8
UD
446582011-11-14 Ulrich Drepper <drepper@gmail.com>
44659
44660 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44661
a5fb313c
AS
446622011-11-14 Andreas Schwab <schwab@redhat.com>
44663
44664 * malloc/arena.c (arena_get2): Don't call reused_arena when
44665 _int_new_arena failed.
44666
6abf3465
UD
446672011-11-14 Ulrich Drepper <drepper@gmail.com>
44668
44669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44670 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44675 to compile strcasecmp and strncasecmp.
44676 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44677 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44678
44679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44680
76e3966e
UD
446812011-11-13 Ulrich Drepper <drepper@gmail.com>
44682
44683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44684 locale-defines.sym to gen-as-const-headers.
44685 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44686 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44688 to compile strcasecmp and strncasecmp.
44689 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44690 strcasecmp_l and strncasecmp_l.
44691 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44692 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44693 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44694 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44695 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44697 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44698 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44699 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44700 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44701 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44702
ab26144e
UD
447032011-11-12 Ulrich Drepper <drepper@gmail.com>
44704
7edb22ef
UD
44705 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44706 result of SYSDEP_GETTIME_CPU to retval.
44707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44708 parameter list to macro. Remove trailing semicolon. Adjust users.
44709
9694fc44
UD
44710 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44711 variable.
44712
8ad89ef8
UD
44713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44714 mantissa words.
44715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44716
0c822ef9
UD
44717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44718 from unused variable.
44719
874e0564
UD
44720 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44721 DWARF definitions.
44722 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44723 for assembling.
44724
3a2edc79
UD
44725 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44726 over namespaces.
44727
f3c2577f
UD
44728 * sunrpc/rpc_prot.c (rejected): Fix case value.
44729
294ce126
UD
44730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44731 unsigned long long int to avoid warnings in shift.
44732
5e2b63c6
UD
44733 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44734 of use of trans.
44735 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44736 variable tmp.
44737
e7f4b08e
UD
44738 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44739 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44740 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44741
ab26144e
UD
44742 * nis/nis_table.c (nis_list): Use variable of correct type for
44743 result of __follow_path call.
44744
8a6d5255
AZ
447452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44746
44747 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44748 of math functions ceil, trunc, floor, round, and sqrt, when
44749 avaliable on the platform.
44750 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44751 name clash.
44752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44755
aaddc98c
MP
447562011-10-30 Marek Polacek <mpolacek@redhat.com>
44757
44758 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44760
95b7042b
RM
447612011-11-11 Roland McGrath <roland@hack.frob.com>
44762
44763 * include/unistd.h: Fix __readlink return type.
44764 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44765
57769839
UD
447662011-11-11 Ulrich Drepper <drepper@gmail.com>
44767
44768 * stdlib/ucontext.h: Undo last change for makecontext.
44769
edc5984d
AS
447702011-11-11 Andreas Schwab <schwab@redhat.com>
44771
98591e58
AS
44772 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44773
edc5984d
AS
44774 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44775 * setjmp/setjmp.h: Mark functions as non-leaf.
44776 * setjmp/bits/setjmp2.h: Likewise.
44777 * stdlib/ucontext.h: Likewise.
44778
77cdc054
AS
447792011-11-10 Andreas Schwab <schwab@redhat.com>
44780
44781 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44782 (reused_arena): Don't check arena limit.
44783 (arena_get2): Atomically check arena limit.
44784
fe72eebd
UD
447852011-11-08 Ulrich Drepper <drepper@gmail.com>
44786
5f078c32
UD
44787 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44788 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44789
fe72eebd
UD
44790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44791 instructions.
44792
ae1bc2fa
AS
447932011-11-07 Andreas Schwab <schwab@redhat.com>
44794
7583a88d
AS
44795 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44796 handler when locking.
44797
ae1bc2fa
AS
44798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44799 Fix size of allocated buffer.
44800
10fb0bfa
AS
448012011-11-04 Andreas Schwab <schwab@redhat.com>
44802
998832a4
AS
44803 [BZ #10103]
44804 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44805 declarations for long double functions.
44806 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44807
10fb0bfa
AS
44808 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44809
3d7ba52b
AS
448102011-11-03 Andreas Schwab <schwab@redhat.com>
44811
a9ae54a1
AS
44812 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44813 installed.
44814
3d7ba52b
AS
44815 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44816 is disabled.
44817
bc8db248
ST
448182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44819
44820 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44821
45b96dd6
AS
448222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44823
647776f6
AS
44824 * include/alloca.h (stackinfo_alloca_round): Define.
44825 (extend_alloca): Use it.
44826 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44827 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44828 here.
44829
d91a8b93
AS
44830 * scripts/check-local-headers.sh: Ignore libaudit.h.
44831
45b96dd6
AS
44832 * nscd/Makefile (extra-objs): Make recursively expanded.
44833
432d41ce
UD
448342011-11-01 Ulrich Drepper <drepper@gmail.com>
44835
34372fc6
UD
44836 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44838
fadb59f8
UD
44839 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44840 * posix/tst-rfc3484-2.c: Likewise.
44841 * posix/tst-rfc3484-3.c: Likewise.
44842
78239589
UD
44843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44844 process_vm_writev.
44845 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44846 process_vm_writev.
44847 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44848 process_vm_writev from libc using GLIBC_2.15 version.
44849
432d41ce
UD
44850 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44851
02f9c6cf
PP
448522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44853
44854 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44855 stack usage.
44856
3a2c0242
UD
448572011-10-31 Ulrich Drepper <drepper@gmail.com>
44858
f4ec4833
UD
44859 [BZ #13367]
44860 * nss/getent.c (initgroups_keys): Show error message in case no group
44861 names are given.
44862
3a2c0242
UD
44863 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44864 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44865 __bump_nl_timestamp.
44866 * nscd/connections (nscd_init): When host database is served open
44867 netlink socket and request notification about configuration changes.
44868 (main_loop_poll): Track netlink file descriptor and bump timestamp
44869 in case data becomes available.
44870 (main_loop_epoll): Likewise.
44871 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44872 (database_pers_head): Add extra_data fileds.
44873 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44875 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44876 Adjust caller.
44877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44878 in6ai data, call __free_in6ai.
44879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44880 Add -DHAVE_NETLINK.
44881 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44882 interface information. Reuse previous data if netlink timestamp
44883 is not changed.
44884 (__bump_nl_timestamp): New function.
44885 (__free_in6ai): New function.
44886
636064eb
UD
448872011-10-30 Ulrich Drepper <drepper@gmail.com>
44888
44889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44890 close_not_cancel_no_status here.
44891 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44892
9beb2334
UD
448932011-10-29 Ulrich Drepper <drepper@gmail.com>
44894
6ef76f3b
UD
44895 [BZ #13276]
44896 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44897 return value.
44898
0ffc4f3e 44899 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
44900 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44901 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44902
cb95113e
UD
449032011-07-03 Andreas Jaeger <aj@suse.de>
44904
44905 [BZ #10709]
44906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44907 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44908 * math/libm-test.inc (sin_test): Add test case.
44909
a1b560ff
UD
449102011-10-29 Ulrich Drepper <drepper@gmail.com>
44911
c9aaface
UD
44912 [BZ #13337]
44913 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44914 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44915
d272e7f1
UD
44916 * elf/chroot_canon.c (chroot_canon): Cleanups.
44917
1bc33071
UD
44918 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44919
1760874d
TJ
44920 [BZ #13335]
44921 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44922 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44923
51d91b18
UD
44924 * string/test-strchr.c: Make usable for strchrnul testing.
44925 * string/test-strchrnul.c: New file.
44926 * string/Makefile (strop-tests): Add strchrnul.
44927
a1b560ff 44928 * po/it.po: Update from translation team.
b611fb81 44929 * po/es.po: Likewise.
a1b560ff 44930
a5b81e1f
UD
449312011-10-28 Ulrich Drepper <drepper@gmail.com>
44932
fd52bc6d
UD
44933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44934 the three constants needed as parameters. Drop the others.
44935 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44936 __m128i_strloadu_tolower.
52e4b9eb
UD
44937 Create and initialize variable zero and use it in all the places
44938 where _mm_setzero_si128 was used.
fd52bc6d 44939
a5b81e1f
UD
44940 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44941 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44942 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44944 anymore.
44945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44946 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44947 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44948 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44950 __mpranred, __mptan.
44951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44960
b4343346
AS
449612011-10-28 Andreas Schwab <schwab@redhat.com>
44962
0c92d8a8
AS
44963 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44964 redefine if SHARED.
44965 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44966
b4343346
AS
44967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44968 wide char related routines to wcsmbs subdir.
44969
3871f58f
AS
449702011-10-27 Andreas Schwab <schwab@redhat.com>
44971
44972 [BZ #13344]
44973 * misc/sys/cdefs.h (__THROWNL): Define.
44974 * posix/unistd.h: Use __THREADNL instead of __THREAD
44975 for memory synchronization functions.
44976
94d44d9f
RM
449772011-10-26 Roland McGrath <roland@hack.frob.com>
44978
21b64b15 44979 [BZ #13349]
94d44d9f
RM
44980 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44981 doesn't exist.
44982 * manual/stdio.texi (Obstack Streams): Node removed.
44983
f6ce9294
AS
449842011-10-26 Andreas Schwab <schwab@redhat.com>
44985
80479147
AS
44986 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44989
f6ce9294
AS
44990 * math/math_private.h (math_force_eval): Allow non-addressable
44991 arguments.
44992 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44993
618280a1
UD
449942011-10-25 Ulrich Drepper <drepper@gmail.com>
44995
e0016b11
UD
44996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44997 file is not needed.
44998
44999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45006 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45007 Add AVX variants.
45008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45013 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45014 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45015 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45018 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45019 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45027
45028 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45029 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45030
618280a1
UD
45031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45032 place. Use VEX encoding when compiling for AVX.
45033
37822576
AS
450342011-10-25 Andreas Schwab <schwab@redhat.com>
45035
1f1e1947
AS
45036 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45038
37822576
AS
45039 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45040
31ea014d
UD
450412011-10-25 Ulrich Drepper <drepper@gmail.com>
45042
d7826aa1 45043 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 45044 useless if() expression.
d7826aa1
UD
45045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45064
31ea014d
UD
45065 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45066
16437fec
AS
450672011-10-25 Andreas Schwab <schwab@redhat.com>
45068
45069 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45070 condition.
45071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45072
31d3cc00
UD
450732011-10-25 Ulrich Drepper <drepper@gmail.com>
45074
45075 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45076 .text section. Avoid duplicate constants.
45077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45086 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45122
58985aa9
UD
451232011-10-24 Ulrich Drepper <drepper@gmail.com>
45124
202c9deb
UD
45125 * sysdeps/x86_64/dla.h: Move to ...
45126 * sysdeps/x86_64/fpu/dla.h: ...here.
45127 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45128 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 45129
af968f62
UD
45130 * config.make.in: Add have-mfma4 entry.
45131 * configure.in: Substitute libc_cv_cc_fma4.
45132 * math/Makefile (dbl-only-routines): Add sincostab.
45133 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45134 Use __sincostab not sincos.
45135 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45136 name is a macro.
45137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45141 using __copysign.
45142 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45143 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45144 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45145 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45146 and __inv.
45147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45148 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45149 __copysign.
45150 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45151 define aliases when function name is a macro.
45152 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45153 sysdeps/ieee754/dbl-64/sincos.tbl.
45154 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45155 fma4-enabled routines.
45156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45166 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45168 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45183 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45184 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45185 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45186
58985aa9
UD
45187 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45188 rename.
45189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45197
a201fbcf
AS
451982011-10-24 Andreas Schwab <schwab@redhat.com>
45199
45200 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45201
fc2ee42a
LD
452022011-10-23 Ulrich Drepper <drepper@gmail.com>
45203
bb3129bd
UD
45204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45205
0275fff8
UD
45206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45207 prediction.
45208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45209
2fa2ae85
UD
45210 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45211 Remove unused variable magic_bits.
45212 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45213
fc2ee42a
LD
45214 * string/strnlen.c: Define and use STRNLEN macro.
45215 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45216 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45218 * wcsmbs/wcslen.c: Define and use WCSLEN.
45219 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45220 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45221 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45222 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45223 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45224 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45225 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45226
ce7dd29f
LD
452272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45228
45229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45230 strnlen-sse2-no-bsf.
45231 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45233 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45234 Add strnlen support.
45235 (USE_AS_STRNLEN): New macro.
45236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45238 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45239 * sysdeps/x86_64/wcslen.S: New file.
45240
979c70a3
MZ
452412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45242
45243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45244 XMM-moves are used for copying on small sizes.
45245
2d09f82f
LD
452462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45247
45248 * wcsmbs/Makefile (strop-tests): Add wcschr.
45249 * wcsmbs/test-wcschr.c: New file.
45250 * string/test-strchr.c: Update.
45251 Add wcschr support.
45252 (WIDE): New macro.
45253
619fccca
LD
452542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45255
2d09f82f 45256 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
45257 * wcsmbs/test-wcslen.c: New file.
45258 * string/test-strlen.c: Update.
45259 Add wcslen support.
45260 (WIDE): New macro.
45261
09f699ea
UD
452622011-10-23 Ulrich Drepper <drepper@gmail.com>
45263
45264 * po/it.po: Update from translation team.
45265
95584d3b
LD
452662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45267
45268 * sysdeps/x86_64/wcscmp.S: Update.
45269 Fix wrong comparison semantics.
45270 wcscmp shall use signed comparison not unsigned.
45271 Don't use substraction to avoid overflow bug.
45272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45273 * wcsmbc/wcscmp.c: Likewise.
45274 * string/test-strcmp.c: Likewise.
45275 Add new tests to check cases with negative values.
45276
c8b3296b
UD
452772011-10-23 Ulrich Drepper <drepper@gmail.com>
45278
45279 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45280 * sysdeps/x86_64/dla.h: ...here. New file.
45281 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45290
246ad57a
AS
452912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45292
45293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45294 __ynl_finite aliases.
45295
a1a87169
UD
452962011-10-22 Ulrich Drepper <drepper@gmail.com>
45297
0d355eb7
UD
45298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45299
a1a87169
UD
45300 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45301 define DLA_FMA.
45302 [DLA_FMA] (EMULV): Use DLA_FMA.
45303 [DLA_FMA] (MUL12): Use EMULV.
45304 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45305 that are not needed.
45306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45313
ee2aafe0
AS
453142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45315
45316 * math/s_nan.c: Undef __nan.
45317 * math/s_nanf.c: Undef __nanf.
45318 * math/s_nanl.c: Undef __nanl.
45319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45320 "math_private.h".
45321
bc62c2fb
UD
453222011-10-22 Ulrich Drepper <drepper@gmail.com>
45323
77425c63
UD
45324 * math/s_catan.c: Add branch predictions.
45325 * math/s_catanf.c: Likewise.
45326 * math/s_catanh.c: Likewise.
45327 * math/s_catanhf.c: Likewise.
45328 * math/s_catanhl.c: Likewise.
45329 * math/s_catanl.c: Likewise.
45330 * math/s_cexp.c: Likewise.
45331 * math/s_cexpf.c: Likewise.
45332 * math/s_cexpl.c: Likewise.
45333 * math/s_clog.c: Likewise.
45334 * math/s_clog10.c: Likewise.
45335 * math/s_clog10f.c: Likewise.
45336 * math/s_clog10l.c: Likewise.
45337 * math/s_clogf.c: Likewise.
45338 * math/s_clogl.c: Likewise.
45339 * math/s_csqrt.c: Likewise.
45340 * math/s_csqrtf.c: Likewise.
45341 * math/s_csqrtl.c: Likewise.
45342 * math/s_ctanf.c: Likewise.
45343 * math/s_ctanh.c: Likewise.
45344 * math/s_ctanhf.c: Likewise.
45345 * math/s_ctanhl.c: Likewise.
45346 * math/s_ctanl.c: Likewise.
45347
bc62c2fb
UD
45348 * math/math_private.h: Define __nan, __nanf, __nanl.
45349 * math/s_cacosh.c: Include <math_private.h>.
45350 * math/s_cacoshl.c: Likewise.
45351 * math/s_casinh.c: Likewise.
45352 * math/s_casinhf.c: Likewise.
45353 * math/s_casinhl.c: Likewise.
45354 * math/s_ccos.c: Rely entire on ccosh.
45355 * math/s_ccosf.c: Rely entire on ccoshf.
45356 * math/s_ccosl.c: Rely entirely on ccoshl.
45357 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45358 Remove tests for FE_INVALID.
45359 * math/s_ccoshf.c: Likewise.
45360 * math/s_ccoshl.c: Likewise.
45361 * math/s_csin.c: Likewise.
45362 * math/s_csinf.c: Likewise.
45363 * math/s_csinh.c Likewise.
45364 * math/s_csinhf.c: Likewise.
45365 * math/s_csinhl.c: Likewise.
45366 * math/s_csinl.c: Likewise.
45367 * math/s_ctan.c: Likewise.
45368 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45369 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45371
8ec250a4
UD
453722011-10-21 Ulrich Drepper <drepper@gmail.com>
45373
c196fed8
UD
45374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45375 compilation problems.
45376
8ec250a4
UD
45377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45378 __builtin_expect.
45379
8d4f46c6
UD
453802011-10-20 Ulrich Drepper <drepper@gmail.com>
45381
ed72b654
UD
45382 * sysdeps/i386/configure.in: Test for -mfma4 option.
45383 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45384 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45385 COMMON_CPUID_INDEX_80000001.
45386 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45387 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45388 use it if FMA3 is not supported.
45389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45390
8d4f46c6
UD
45391 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45393
d45c60c2
AS
453942011-10-20 Andreas Schwab <schwab@redhat.com>
45395
45396 [BZ #12892]
45397 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45398 it would create a cycle with a link time dependency.
45399
d9a4d2ab
UD
454002011-10-19 Ulrich Drepper <drepper@gmail.com>
45401
855d1560
UD
45402 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45403 instruction.
45404 * string/Makefile (strop-tests): Add rawmemchr.
45405 * string/test-rawmemchr.c: New file.
45406
d9a4d2ab
UD
45407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45409 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45410 when compiling str{,n}casecmp and when AVX is available. Hook up
45411 new optimized code in initializers.
45412
8f3b1ffe
AS
454132011-10-19 Andreas Schwab <schwab@redhat.com>
45414
45415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45416 __feraiseexcept instead of feraiseexcept.
45417
d38f1dba
UD
454182011-10-18 Ulrich Drepper <drepper@gmail.com>
45419
d9a8d0ab
UD
45420 * math/math_private.h: Define defaults for libc_fetestexcept and
45421 libc_feupdateenv.
45422 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45423 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45428 libc_fetestexcept and libc_feupdateenv.
45429
4855e3dd
UD
45430 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45431 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45432 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45433 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45434 libc_feholdexcept_setround.
45435
581d30e3
UD
45436 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45437 Add s_nearbyint-c and s_nearbyintf-c.
45438 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45439 nearbyintf inlines.
45440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45444
d38f1dba
UD
45445 * math/math_private.h: Define defaults for libc_fegetround,
45446 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45447 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45448 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45450 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45451 standard functions.
45452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45453 Remove comments and hacks for old compiler versions.
45454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45455 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45456 libc_feholdexceptl.
45457
caa6c9d8
AS
454582011-10-18 Andreas Schwab <schwab@redhat.com>
45459
45460 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
45461 (__feraiseexcept_renamed): Add __NTH.
45462 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
45463 namespace violations.
45464
97c066e6
UD
454652011-10-17 Ulrich Drepper <drepper@gmail.com>
45466
99ce7b04
UD
45467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45468
1004d182
UD
45469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45470
228a984d
UD
45471 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45472 recently added interfaces.
45473 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45474
c8553a6a
UD
45475 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45476 about macro parameter expansion.
45477
ed22dcf6
UD
45478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45479 __NO_MATH_INLINES is defined. Cleanups.
45480
45481 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45482 and __floorf is target has SSE4.1.
45483 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45484 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45487
b171c137
UD
45488 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45489 name.
45490 (floorf): Likewise.
45491
97c066e6
UD
45492 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45493
629f62ef
AS
454942011-10-17 Andreas Schwab <schwab@redhat.com>
45495
49a43d80
AS
45496 * misc/sys/cdefs.h: Fix last change.
45497
629f62ef
AS
45498 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45499 database lookup.
45500
e453f6cd
UD
455012011-10-16 Ulrich Drepper <drepper@gmail.com>
45502
aa78043a
UD
45503 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45504
ad0f5cad
UD
45505 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45511 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45514 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45515 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45516 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45518 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45519 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45521 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45523 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45524 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45527
45528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45529 ceil, ceilf, floor, floorf.
45530
45531 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45532 Perform IRELATIVE relocations last.
45533
e453f6cd
UD
45534 * elf/do-rel.h: Add another parameter nrelative, replacing the
45535 local variable with the same name. Change name of the function
45536 to end in Rel or Rela (uppercase).
45537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45538 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45539 elf_dynamic_do_##reloc function.
45540
fd5bdc09
UD
455412011-10-15 Ulrich Drepper <drepper@gmail.com>
45542
79b195b5
UD
45543 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45544 is sufficient, at least on modern CPUs.
45545
d4a28569
UD
45546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45547
b61099b5
UD
45548 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45550
bcf01e6d
UD
45551 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45552 __expl_finite.
45553 * math/bits/math-finite.h: Add entries for exp.
45554 * math/e_expl.c: Add __*_finite alias.
45555 * sysdeps/i386/fpu/e_exp.S: Likewise.
45556 * sysdeps/i386/fpu/e_expf.S: Likewise.
45557 * sysdeps/i386/fpu/e_expl.c: Likewise.
45558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45562 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45565
ba1a0d59
UD
45566 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45567 is sufficient, at least on modern CPUs.
45568
fd5bdc09
UD
45569 * ctype/ctype-info.c (__ctype_init): Define.
45570 * include/ctype.h (__ctype_init): Declare.
45571 (__ctype_b_loc): The variable is always initialized.
45572 (__ctype_toupper_loc): Likewise.
45573 (__ctype_tolower_loc): Likewise.
45574 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45575 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45576
7872cfb0
AS
455772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45578
b468825a
AS
45579 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45580
7872cfb0
AS
45581 * configure.in: Also look in $cxxmachine/include for C++ system
45582 headers.
45583
be13f7bf
LD
455842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45585
45586 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45587 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45588 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45589 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45591 (USE_AS_WMEMCMP): New macro.
45592 Fixing indents.
45593 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45594 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45595 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45596 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45598 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45599 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45601 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45602 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45604 (USE_AS_WMEMCMP): New macro.
45605 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45606 * sysdeps/string/test-memcmp.c: Update.
45607 Fix simple_wmemcmp.
45608 Add new tests.
45609 * wcsmbs/wmemcmp.c: Update.
45610 (WMEMCMP): New macro.
45611 Fix overflow bug.
45612
556a2007
AJ
456132011-10-12 Andreas Jaeger <aj@suse.de>
45614
45615 [BZ #13268]
45616 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45617
538faaa7
UD
456182011-10-15 Ulrich Drepper <drepper@gmail.com>
45619
ab6737ff
UD
45620 * libio/iofwide.c (do_length): Avoid warning.
45621
538faaa7
UD
45622 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45623
396a21b1
UD
456242011-10-14 Ulrich Drepper <drepper@gmail.com>
45625
cdf2901f
UD
45626 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45627
38ad40ce
UD
45628 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45629 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45630 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45631 * sysdeps/i386/i686/fpu/e_log.S: New file.
45632 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45633 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45634
396a21b1
UD
45635 * ctype/ctype.h: Add support for inlined isXXX functions when
45636 compiling C++ code.
45637
6b1f68c9
AS
456382011-10-14 Andreas Schwab <schwab@redhat.com>
45639
349290c0
AS
45640 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45641
6b1f68c9
AS
45642 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45643
f2282d42
RM
456442011-10-13 Roland McGrath <roland@hack.frob.com>
45645
45646 [BZ #13291]
45647 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45648
5298ffa8
AS
456492011-10-13 Andreas Schwab <schwab@redhat.com>
45650
714fad23
AS
45651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45652 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45653 feraiseexcept.
45654
81dcc7fb
AS
45655 * sysdeps/x86_64/memrchr.S: Check for zero size.
45656
5298ffa8
AS
45657 * string/stratcliff.c: Add memrchr tests.
45658
951fbcec
LD
456592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45660
45661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45662 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45663 rawmemchr-sse2 rawmemchr-sse2-bsf.
45664 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45666 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45667 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45668 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45669 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45670 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45671 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45674 * string/memrchr.c (MEMRCHR): New macro.
45675
0ac5ae23
UD
456762011-10-12 Ulrich Drepper <drepper@gmail.com>
45677
45678 Add integration with gcc's -ffinite-math-only and optimize wrapper
45679 functions in libm.
45680 * Versions.def: Define GLIBC_2.15 version for libm.
45681 * math/Makefile (headers): Add bits/math-finite.h.
45682 * math/bits/math-finite.h: New file.
45683 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45684 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45685 * math/e_acoshl.c: Add __*_finite alias.
45686 * math/e_acosl.c: Likewise.
45687 * math/e_asinl.c: Likewise.
45688 * math/e_atan2l.c: Likewise.
45689 * math/e_atanhl.c: Likewise.
45690 * math/e_coshl.c: Likewise.
45691 * math/e_exp10.c: Likewise.
45692 * math/e_exp10f.c: Likewise.
45693 * math/e_exp10l.c: Likewise.
45694 * math/e_exp2l.c: Likewise.
45695 * math/e_fmodl.c: Likewise.
45696 * math/e_gammal_r.c: Likewise.
45697 * math/e_hypotl.c: Likewise.
45698 * math/e_j0l.c: Likewise.
45699 * math/e_j1l.c: Likewise.
45700 * math/e_jnl.c: Likewise.
45701 * math/e_lgammal_r.c: Likewise.
45702 * math/e_log10l.c: Likewise.
45703 * math/e_log2l.c: Likewise.
45704 * math/e_logl.c: Likewise.
45705 * math/e_powl.c: Likewise.
45706 * math/e_sinhl.c: Likewise.
45707 * math/e_sqrtl.c: Likewise.
45708 * math/e_scalb.c: Completely rewritten and optimized.
45709 * math/e_scalbf.c: Likewise.
45710 * math/e_scalbl.c: Likewise.
45711 * math/w_acos.c: Likewise.
45712 * math/w_acosf.c: Likewise.
45713 * math/w_acosl.c: Likewise.
45714 * math/w_acosh.c: Likewise.
45715 * math/w_acoshf.c: Likewise.
45716 * math/w_acoshl.c: Likewise.
45717 * math/w_asin.c: Likewise.
45718 * math/w_asinf.c: Likewise.
45719 * math/w_asinl.c: Likewise.
45720 * math/w_atan2.c: Likewise.
45721 * math/w_atan2f.c: Likewise.
45722 * math/w_atan2l.c: Likewise.
45723 * math/w_atanh.c: Likewise.
45724 * math/w_atanhf.c: Likewise.
45725 * math/w_atanhl.c: Likewise.
45726 * math/w_exp10.c: Likewise.
45727 * math/w_exp10f.c: Likewise.
45728 * math/w_exp10l.c: Likewise.
45729 * math/w_fmod.c: Likewise.
45730 * math/w_fmodf.c: Likewise.
45731 * math/w_fmodl.c: Likewise.
45732 * math/w_j0.c: Likewise.
45733 * math/w_j0f.c: Likewise.
45734 * math/w_j0l.c: Likewise.
45735 * math/w_j1.c: Likewise.
45736 * math/w_j1f.c: Likewise.
45737 * math/w_j1l.c: Likewise.
45738 * math/w_jn.c: Likewise.
45739 * math/w_jnf.c: Likewise.
45740 * math/w_log.c: Likewise.
45741 * math/w_logf.c: Likewise.
45742 * math/w_logl.c: Likewise.
45743 * math/w_log10.c: Likewise.
45744 * math/w_log10f.c: Likewise.
45745 * math/w_log10l.c: Likewise.
45746 * math/w_log2.c: Likewise.
45747 * math/w_log2f.c: Likewise.
45748 * math/w_log2l.c: Likewise.
45749 * math/w_pow.c: Likewise.
45750 * math/w_powf.c: Likewise.
45751 * math/w_powl.c: Likewise.
45752 * math/w_remainder.c: Likewise.
45753 * math/w_remainderf.c: Likewise.
45754 * math/w_remainderl.c: Likewise.
45755 * math/w_scalb.c: Likewise.
45756 * math/w_scalbf.c: Likewise.
45757 * math/w_scalbl.c: Likewise.
45758 * math/w_sqrt.c: Likewise.
45759 * math/w_sqrtf.c: Likewise.
45760 * math/w_sqrtl.c: Likewise.
45761 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45762 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45763 used.
45764 * math/math_private.h: Declare __kernel_standard_f.
45765 * math/w_cosh.c: Remove cruft and optimize a bit.
45766 * math/w_coshf.c: Likewise.
45767 * math/w_coshl.c: Likewise.
45768 * math/w_exp2.c: Likewise.
45769 * math/w_exp2f.c: Likewise.
45770 * math/w_exp2l.c: Likewise.
45771 * math/w_hypot.c: Likewise.
45772 * math/w_hypotf.c: Likewise.
45773 * math/w_hypotl.c: Likewise.
45774 * math/w_lgamma.c: Likewise.
45775 * math/w_lgamma_r.c: Likewise.
45776 * math/w_lgammaf.c: Likewise.
45777 * math/w_lgammaf_r.c: Likewise.
45778 * math/w_lgammal.c: Likewise.
45779 * math/w_lgammal_r.c: Likewise.
45780 * math/w_sinh.c: Likewise.
45781 * math/w_sinhf.c: Likewise.
45782 * math/w_sinhl.c: Likewise.
45783 * math/w_tgamma.c: Likewise.
45784 * math/w_tgammaf.c: Likewise.
45785 * math/w_tgammal.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45788 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45789 Minor optimizations. Pretty printing. Remove cruft.
45790 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45794 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45795 * sysdeps/i386/fpu/e_asin.S: Likewise.
45796 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45797 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45798 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45799 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45803 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45804 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45805 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45806 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45807 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45808 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45809 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45810 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45811 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45812 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45813 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45814 * sysdeps/i386/fpu/e_log.S: Likewise.
45815 * sysdeps/i386/fpu/e_log10.S: Likewise.
45816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45818 * sysdeps/i386/fpu/e_log2.S: Likewise.
45819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45821 * sysdeps/i386/fpu/e_logf.S: Likewise.
45822 * sysdeps/i386/fpu/e_logl.S: Likewise.
45823 * sysdeps/i386/fpu/e_pow.S: Likewise.
45824 * sysdeps/i386/fpu/e_powf.S: Likewise.
45825 * sysdeps/i386/fpu/e_powl.S: Likewise.
45826 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45827 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45828 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45832 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45833 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45834 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45928 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45932 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45933 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45934 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45935 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45936 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45937 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45938 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45943 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45945 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45946 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45947 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45948 (__isnanf): Likewise.
45949 (__isinf_ns): Likewise.
45950 (__isinf_nsf): Likewise.
45951 (__finite): Likewise.
45952 (__finitef): Likewise.
45953 (__ieee754_sqrt): Define as macro.
45954 (__ieee754_sqrtf): Define as macro.
45955 (__ieee754_sqrtl): Define as macro.
45956 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45957 inlined copy.
45958 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45959 __FINITE_MATH_ONLY__ consistent.
45960 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45961
12cc2fcd
AS
459622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45963
a843a204
AS
45964 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45965 of rawmemchr.
45966
12cc2fcd
AS
45967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45968
c853acd5
UD
459692011-10-09 Ulrich Drepper <drepper@gmail.com>
45970
45971 * po/ja.po: Update from translation team.
45972
c658d255
RM
459732011-10-08 Roland McGrath <roland@hack.frob.com>
45974
110946e4
RM
45975 * locale/programs/locarchive.c (prepare_address_space): New function.
45976 (create_archive, enlarge_archive, open_archive): Use it.
45977
50604220
RM
45978 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45979 inside [SHARED], where it is used.
45980
c658d255
RM
45981 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45982
45983 * nss/getent.c (netgroup_keys): Remove unused variable.
45984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45985
6a621eb7
UD
459862011-10-08 Ulrich Drepper <drepper@gmail.com>
45987
7edb55ce
UD
45988 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45993 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45994 * math/Makefile (libm-calls): Add s_isinf_ns.
45995 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45996 * math/multc3.c: Likewise.
45997 * math/s_casin.c: Likewise.
45998 * math/s_casinf.c: Likewise.
45999 * math/s_casinl.c: Likewise.
46000 * math/s_ccos.c: Likewise.
46001 * math/s_ccosf.c: Likewise.
46002 * math/s_ccosl.c: Likewise.
46003 * math/s_ctan.c: Likewise.
46004 * math/s_ctanf.c: Likewise.
46005 * math/s_ctanh.c: Likewise.
46006 * math/s_ctanhf.c: Likewise.
46007 * math/s_ctanhl.c: Likewise.
46008 * math/s_ctanl.c: Likewise.
46009 * math/w_fmod.c: Likewise.
46010 * math/w_fmodf.c: Likewise.
46011 * math/w_fmodl.c: Likewise.
46012 * math/w_remainder.c: Likewise.
46013 * math/w_remainderf.c: Likewise.
46014 * math/w_remainderl.c: Likewise.
46015 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46016 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46017 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46019 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46020 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46021 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46022 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46023
187da0ae
UD
46024 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46025 of the number.
46026 * stdio-common/printf_fphex.c: Likewise.
46027 * stdio-common/printf_size.c: Likewise.
46028
9277c064
UD
46029 * math/e_exp10.c: Include math_private.h using <...> not "...".
46030 * math/e_exp10f.c: Likewise.
46031 * math/e_exp10l.c: Likewise.
46032 * math/e_exp2l.c: Likewise.
46033 * math/e_j0l.c: Likewise.
46034 * math/e_j1l.c: Likewise.
46035 * math/e_jnl.c: Likewise.
46036 * math/e_lgammal_r.c: Likewise.
46037 * math/e_rem_pio2l.c: Likewise.
46038 * math/e_scalb.c: Likewise.
46039 * math/e_scalbf.c: Likewise.
46040 * math/e_scalbl.c: Likewise.
46041 * math/k_cosl.c: Likewise.
46042 * math/k_sinl.c: Likewise.
46043 * math/k_tanl.c: Likewise.
46044 * math/s_cacoshf.c: Likewise.
46045 * math/s_catan.c: Likewise.
46046 * math/s_catanf.c: Likewise.
46047 * math/s_catanh.c: Likewise.
46048 * math/s_catanhf.c: Likewise.
46049 * math/s_catanhl.c: Likewise.
46050 * math/s_catanl.c: Likewise.
46051 * math/s_ccosh.c: Likewise.
46052 * math/s_ccoshf.c: Likewise.
46053 * math/s_ccoshl.c: Likewise.
46054 * math/s_cexp.c: Likewise.
46055 * math/s_cexpf.c: Likewise.
46056 * math/s_cexpl.c: Likewise.
46057 * math/s_clog.c: Likewise.
46058 * math/s_clog10.c: Likewise.
46059 * math/s_clog10f.c: Likewise.
46060 * math/s_clog10l.c: Likewise.
46061 * math/s_clogf.c: Likewise.
46062 * math/s_clogl.c: Likewise.
46063 * math/s_csin.c: Likewise.
46064 * math/s_csinf.c: Likewise.
46065 * math/s_csinh.c: Likewise.
46066 * math/s_csinhf.c: Likewise.
46067 * math/s_csinhl.c: Likewise.
46068 * math/s_csinl.c: Likewise.
46069 * math/s_csqrt.c: Likewise.
46070 * math/s_csqrtf.c: Likewise.
46071 * math/s_csqrtl.c: Likewise.
46072 * math/s_ctan.c: Likewise.
46073 * math/s_ctanf.c: Likewise.
46074 * math/s_ctanh.c: Likewise.
46075 * math/s_ctanhf.c: Likewise.
46076 * math/s_ctanhl.c: Likewise.
46077 * math/s_ctanl.c: Likewise.
46078 * math/s_ldexp.c: Likewise.
46079 * math/s_ldexpf.c: Likewise.
46080 * math/s_ldexpl.c: Likewise.
46081 * math/s_significand.c: Likewise.
46082 * math/s_significandf.c: Likewise.
46083 * math/s_significandl.c: Likewise.
46084 * math/w_acos.c: Likewise.
46085 * math/w_acosf.c: Likewise.
46086 * math/w_acosh.c: Likewise.
46087 * math/w_acoshf.c: Likewise.
46088 * math/w_acoshl.c: Likewise.
46089 * math/w_acosl.c: Likewise.
46090 * math/w_asin.c: Likewise.
46091 * math/w_asinf.c: Likewise.
46092 * math/w_asinl.c: Likewise.
46093 * math/w_atan2.c: Likewise.
46094 * math/w_atan2f.c: Likewise.
46095 * math/w_atan2l.c: Likewise.
46096 * math/w_atanh.c: Likewise.
46097 * math/w_atanhf.c: Likewise.
46098 * math/w_atanhl.c: Likewise.
46099 * math/w_cosh.c: Likewise.
46100 * math/w_coshf.c: Likewise.
46101 * math/w_coshl.c: Likewise.
46102 * math/w_dremf.c: Likewise.
46103 * math/w_exp10.c: Likewise.
46104 * math/w_exp10f.c: Likewise.
46105 * math/w_exp10l.c: Likewise.
46106 * math/w_exp2.c: Likewise.
46107 * math/w_exp2f.c: Likewise.
46108 * math/w_fmod.c: Likewise.
46109 * math/w_fmodf.c: Likewise.
46110 * math/w_fmodl.c: Likewise.
46111 * math/w_hypot.c: Likewise.
46112 * math/w_hypotf.c: Likewise.
46113 * math/w_hypotl.c: Likewise.
46114 * math/w_j0.c: Likewise.
46115 * math/w_j0f.c: Likewise.
46116 * math/w_j0l.c: Likewise.
46117 * math/w_j1.c: Likewise.
46118 * math/w_j1f.c: Likewise.
46119 * math/w_j1l.c: Likewise.
46120 * math/w_jn.c: Likewise.
46121 * math/w_jnf.c: Likewise.
46122 * math/w_jnl.c: Likewise.
46123 * math/w_lgamma.c: Likewise.
46124 * math/w_lgamma_r.c: Likewise.
46125 * math/w_lgammaf.c: Likewise.
46126 * math/w_lgammaf_r.c: Likewise.
46127 * math/w_lgammal.c: Likewise.
46128 * math/w_lgammal_r.c: Likewise.
46129 * math/w_log.c: Likewise.
46130 * math/w_log10.c: Likewise.
46131 * math/w_log10f.c: Likewise.
46132 * math/w_log10l.c: Likewise.
46133 * math/w_log2.c: Likewise.
46134 * math/w_log2f.c: Likewise.
46135 * math/w_log2l.c: Likewise.
46136 * math/w_logf.c: Likewise.
46137 * math/w_logl.c: Likewise.
46138 * math/w_pow.c: Likewise.
46139 * math/w_powf.c: Likewise.
46140 * math/w_powl.c: Likewise.
46141 * math/w_remainder.c: Likewise.
46142 * math/w_remainderf.c: Likewise.
46143 * math/w_remainderl.c: Likewise.
46144 * math/w_scalb.c: Likewise.
46145 * math/w_scalbf.c: Likewise.
46146 * math/w_scalbl.c: Likewise.
46147 * math/w_sinh.c: Likewise.
46148 * math/w_sinhf.c: Likewise.
46149 * math/w_sinhl.c: Likewise.
46150 * math/w_sqrt.c: Likewise.
46151 * math/w_sqrtf.c: Likewise.
46152 * math/w_sqrtl.c: Likewise.
46153 * math/w_tgamma.c: Likewise.
46154 * math/w_tgammaf.c: Likewise.
46155 * math/w_tgammal.c: Likewise.
46156
6a621eb7
UD
46157 * po/ja.po: Update from translation team.
46158
bf582445
AJ
461592011-09-29 Andreas Jaeger <aj@suse.de>
46160
f9efbf3a
AJ
46161 [BZ #13179]
46162 * sunrpc/netname.c (netname2host): Fix logic.
46163
bf582445
AJ
46164 [BZ #6779]
46165 [BZ #6783]
46166 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46167 correctly.
46168 * math/w_remainder.c (__remainder): Likewise.
46169 * math/w_remainderf.c (__remainderf): Likewise.
46170 * math/libm-test.inc (remainder_test): Add test cases.
46171
48693bea
AK
461722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46173
46174 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46175 sdiv_qrnnd.
46176
42622229
LD
461772011-10-07 Ulrich Drepper <drepper@gmail.com>
46178
46179 * string/test-memcmp.c: Avoid unncessary #defines.
46180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46181
093ecf92
LD
461822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46183
46184 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46185 Use new sse2 version for core i3 - i7 as it's faster
46186 than sse42 version.
46187 (bit_Prefer_PMINUB_for_stringop): New.
46188 * sysdeps/x86_64/rawmemchr.S: Update.
46189 Replace with faster SSE2 version.
46190 * sysdeps/x86_64/memrchr.S: New file.
46191 * sysdeps/x86_64/memchr.S: Update.
46192 Replace with faster SSE2 version.
46193
fde56e5c
MP
461942011-09-12 Marek Polacek <mpolacek@redhat.com>
46195
46196 * elf/dl-load.c (lose): Add cast to avoid warning.
46197
21fd49a9
UD
461982011-10-07 Ulrich Drepper <drepper@gmail.com>
46199
5a06e643
UD
46200 * po/ca.po: Update from translation team.
46201
684ae515
UD
46202 * inet/getnetgrent_r.c: Hook up nscd.
46203 * nscd/Makefile (routines): Add nscd_netgroup.
46204 (nscd-modules): Add netgroupcache.
46205 (CFLAGS-netgroupcache.c): Define.
46206 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46207 (cache_search): Add const to second parameter.
46208 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46209 INNETGR.
46210 (dbs): Add netgrdb entry.
46211 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46212 (verify_persistent_db): Handle netgrdb.
46213 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46214 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46215 GETFDNETGR.
46216 (netgroup_response_header): Define.
46217 (innetgroup_response_header): Define.
46218 (datahead): Add netgroup_response_header and innetgroup_response_header
46219 elements.
46220 * nscd/nscd.conf: Add entries for netgroup cache.
46221 * nscd/nscd.h (dbtype): Add netgrdb.
46222 (_PATH_NSCD_NETGROUP_DB): Define.
46223 (netgroup_iov_disabled): Declare.
46224 (xmalloc, xcalloc, xrealloc): Move declarations here.
46225 (cache_search): Adjust prototype.
46226 Add netgroup-related prototypes.
46227 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46228 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46229 (__nscd_innetgr): Declare.
46230 * nscd/selinux.c (perms): Use access_vector_t as element type and
46231 add netgroup-related initializers.
46232 * nscd/netgroupcache.c: New file.
46233 * nscd/nscd_netgroup.c: New file.
46234 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46235 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46236 For four parameters use innetgr.
46237 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46238 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46239 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46240 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46241
21fd49a9
UD
46242 * nscd/connections.c (register_traced_file): Don't register file
46243 for disabled databases.
46244
054c0457
UD
462452011-10-06 Ulrich Drepper <drepper@gmail.com>
46246
32b63198
UD
46247 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46248
054c0457
UD
46249 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46250 from tree and freeing node.
46251
64031225
JO
462522011-09-25 Jiri Olsa <jolsa@redhat.com>
46253
46254 * nss/nsswitch.c (__nss_database_lookup): Handle
46255 nss_parse_service_list out of memory case.
46256
0490345c
JO
462572011-09-15 Jiri Olsa <jolsa@redhat.com>
46258
46259 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46260 out of memory case.
46261
3a62d00d
AS
462622011-10-04 Andreas Schwab <schwab@redhat.com>
46263
46264 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46265 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46266 pass it down.
46267 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46268 elf_machine_rela, elf_machine_lazy_rel.
46269 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46270 (ELF_DYNAMIC_DO_REL): Likewise.
46271 (ELF_DYNAMIC_DO_RELA): Likewise.
46272 (ELF_DYNAMIC_RELOCATE): Likewise.
46273 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46274 to ELF_DYNAMIC_DO_REL.
46275 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46276 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46277 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46278 elf_machine_rela.
46279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46280 skip_ifunc, don't call ifunc function if non-zero.
46281 (elf_machine_rela): Likewise.
46282 (elf_machine_lazy_rel): Likewise.
46283 (elf_machine_lazy_rela): Likewise.
46284 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46285 (elf_machine_lazy_rel): Likewise.
46286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46287 Likewise.
46288 (elf_machine_lazy_rel): Likewise.
46289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46290 Likewise.
46291 (elf_machine_lazy_rel): Likewise.
46292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46293 (elf_machine_lazy_rel): Likewise.
46294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46295 (elf_machine_lazy_rel): Likewise.
46296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46297 (elf_machine_lazy_rel): Likewise.
46298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46299 (elf_machine_lazy_rel): Likewise.
46300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46301 (elf_machine_lazy_rel): Likewise.
46302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46303 (elf_machine_lazy_rel): Likewise.
46304
68577918
UD
463052011-09-28 Ulrich Drepper <drepper@gmail.com>
46306
46307 * nss/nss_files/files-init.c (_nss_files_init): Use static
46308 initialization for all the *_traced_file variables.
46309
68822d74
AS
463102011-09-28 Andreas Schwab <schwab@redhat.com>
46311
46312 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46313
2056100b
RM
463142011-09-27 Roland McGrath <roland@hack.frob.com>
46315
46316 [BZ #13226]
46317 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46318
32c76b63
AS
463192011-09-27 Andreas Schwab <schwab@redhat.com>
46320
46321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46322 Reread the line before reparsing it.
46323
bf972c9d
AS
463242011-09-26 Andreas Schwab <schwab@redhat.com>
46325
46326 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46327
e057a1b5
JM
463282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46329 Maxim Kuvyrkov <maxim@codesourcery.com>
46330 Joseph Myers <joseph@codesourcery.com>
46331
46332 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46333 if needed for __stack_chk_guard.
46334
bc7e1c36
RM
463352011-09-19 Roland McGrath <roland@hack.frob.com>
46336
ecb1482f
RM
46337 * sysdeps/posix/spawni.c (script_execute): Always define it.
46338 It will be optimized away if unused.
46339 (maybe_script_execute): New function.
46340 (__spawni): Call it.
46341
bc7e1c36
RM
46342 * Makerules: Don't include tls.make.
46343 (config-tls): Always set to thread.
46344 * tls.make.c: File removed.
46345
1c3b002b
MF
463462011-09-19 Mike Frysinger <vapier@gentoo.org>
46347
46348 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46349 * config.make.in (CPPFLAGS-config): New substituted variable.
46350
2840865d
UD
463512011-09-15 Ulrich Drepper <drepper@gmail.com>
46352
88738eb6
UD
46353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46354
cbf645a6 46355 [BZ #13192]
2840865d
UD
46356 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46357 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46358
b402e91a
RM
463592011-09-15 Roland McGrath <roland@hack.frob.com>
46360
46361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46362 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46364 (CALL_FAIL): Likewise.
46365 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46366 (CALL_FAIL): Macro removed.
46367 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46368
4c1a1f71
UD
463692011-09-15 Ulrich Drepper <drepper@gmail.com>
46370
46371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46372 for __FINITE_MATH_ONLY__ == 1.
46373
edc121be
AS
463742011-09-15 Andreas Schwab <schwab@redhat.com>
46375
46376 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46377 __ieee754_sqrt instead of sqrt.
46378 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46379 __ieee754_sqrtf instead of sqrtf.
46380 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46381 __floorf instead of floorf.
46382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46383 __floorf, __truncf instead of floorf, truncf.
46384
cd205654
UD
463852011-09-14 Ulrich Drepper <drepper@gmail.com>
46386
ee4d0315
UD
46387 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46388
cd205654
UD
46389 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46390 __extern_always_inline.
46391 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46392 32-bit.
46393
48b67d71
AS
463942011-09-14 Andreas Schwab <schwab@redhat.com>
46395
46396 * elf/rtld.c (dl_main): Also relocate in dependency order when
46397 doing symbol dependency testing.
46398
1ae12c75
AS
463992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46400
46401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46402 Always define `refsym'.
46403
995a80df
AS
464042011-09-13 Andreas Schwab <schwab@redhat.com>
46405
e529793b
AS
46406 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46407 (__FD_ELT): Renamed from __FDELT.
46408 * misc/bits/select2.h (__FD_ELT): Likewise.
46409 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46410 __FD_MASK instead of __FDELT, __FDMASK.
46411 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46412 Likewise.
46413 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46414 Likewise.
46415
52d4fef8
AS
46416 * elf/Makefile (gen-ldd): Fix pattern.
46417
995a80df
AS
46418 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46419 (init_tls): Likewise.
46420
8682f8b0
UD
464212011-09-12 Ulrich Drepper <drepper@gmail.com>
46422
46423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46424
de82006d
AS
464252011-09-12 Andreas Schwab <schwab@redhat.com>
46426
a7c8e6a1
AS
46427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46428 `struct cmsghdr *' instead of `void *'.
46429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46430 Likewise.
46431
0f31fe77
AS
464322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46433
46434 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46435 if non-absolute.
46436 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46437 ldd_rewrite_script.
0f31fe77 46438
32b4c839
UD
464392011-09-11 Ulrich Drepper <drepper@gmail.com>
46440
83cd1420
UD
46441 * configure.in: Remove --with-tls option.
46442 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46443 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46444 out in case it is missing.
46445 * sysdeps/ia64/elf/configure.in: Likewise.
46446 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46447 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46448 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46449 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46450 * sysdeps/sh/elf/configure.in: Likewise.
46451 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46453 * sysdeps/x86_64/elf/configure.in: Likewise.
46454 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46455 * sysdeps/mach/hurd/tls.h: Likewise.
46456
633f745d
UD
46457 [BZ #13067]
46458 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46459
f318beb8
UD
46460 [BZ #13090]
46461 * configure.in: Fix use of AC_INIT.
46462
32b4c839
UD
46463 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46464
3ce1f295
UD
464652011-09-10 Ulrich Drepper <drepper@gmail.com>
46466
bb016596
UD
46467 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46468 __set_errno.
8e58439c
UD
46469 * malloc/hooks.c: Likewise.
46470
aebae053 46471 [BZ #11929]
02d46fc4
UD
46472 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46473 variables statically.
46474 (narenas): Initialize.
46475 (list_lock): Initialize.
bb016596
UD
46476 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46477 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
46478 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46479 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46480 Add initializers to main_arena and mp_.
46481 (malloc_state): Remove pagesize member. Change all users to use
46482 GLRO(dl_pagesize).
46483
46484 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46485 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46486 is always initialized.
46487
22a89187
UD
46488 * malloc/malloc.c: Removed unused configurations and dead code.
46489 * malloc/arena.c: Likewise.
46490 * malloc/hooks.c: Likewise.
02d46fc4 46491 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 46492
d063d164
UD
46493 * include/tls.h: Removed. USE___THREAD must always be defined.
46494 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46495 * elf/dl-libc.c: Likewise.
46496 * elf/dl-tsd.c: Likewise.
46497 * include/errno.h: Likewise.
46498 * include/netdb.h: Likewise.
46499 * include/resolv.h: Likewise.
46500 * inet/herrno-loc.c: Likewise.
46501 * inet/herrno.c: Likewise.
46502 * malloc/arena.c: Likewise.
46503 * malloc/hooks.c: Likewise.
46504 * malloc/malloc.c: Likewise.
46505 * resolv/res-state.c: Likewise.
46506 * resolv/res_libc.c: Likewise.
46507 * sysdeps/i386/dl-machine.h: Likewise.
46508 * sysdeps/ia64/dl-machine.h: Likewise.
46509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46513 * sysdeps/sh/dl-machine.h: Likewise.
46514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46516 * sysdeps/unix/i386/sysdep.S: Likewise.
46517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46518 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46523 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46528 * sysdeps/x86_64/dl-machine.h: Likewise.
46529 * tls.make.c: Likewise.
46530
3ce1f295
UD
46531 * configure.in: Remove --with-__thread option. Make tests for
46532 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46533 tls_model attribute fail if no support is available. Remove
46534 USE_IN_LIBIO.
46535 * Makeconfig: Adjust for dropped configure option. All features are
46536 now mandatory.
46537 * Makerules: Likewise.
46538 * Versions.def: Likewise.
46539 * argp/argp-fmtstream.c: Likewise.
46540 * argp/argp-fmtstream.h: Likewise.
46541 * argp/argp-help.c: Likewise.
46542 * assert/assert.c: Likewise.
46543 * config.h.in: Likewise.
46544 * config.make.in: Likewise.
46545 * configure: Likewise.
46546 * configure.in: Likewise.
46547 * csu/Versions: Likewise.
46548 * csu/init.c: Likewise.
46549 * elf/tst-audit2.c: Likewise.
46550 * elf/tst-tls10.c: Likewise.
46551 * elf/tst-tls10.h: Likewise.
46552 * elf/tst-tls11.c: Likewise.
46553 * elf/tst-tls12.c: Likewise.
46554 * elf/tst-tls14.c: Likewise.
46555 * elf/tst-tlsmod11.c: Likewise.
46556 * elf/tst-tlsmod12.c: Likewise.
46557 * elf/tst-tlsmod13.c: Likewise.
46558 * elf/tst-tlsmod13a.c: Likewise.
46559 * elf/tst-tlsmod14a.c: Likewise.
46560 * elf/tst-tlsmod15b.c: Likewise.
46561 * elf/tst-tlsmod16a.c: Likewise.
46562 * elf/tst-tlsmod16b.c: Likewise.
46563 * elf/tst-tlsmod7.c: Likewise.
46564 * elf/tst-tlsmod8.c: Likewise.
46565 * elf/tst-tlsmod9.c: Likewise.
46566 * gmon/gmon.c: Likewise.
46567 * grp/fgetgrent_r.c: Likewise.
46568 * grp/putgrent.c: Likewise.
46569 * hurd/fopenport.c: Likewise.
46570 * include/libc-symbols.h: Likewise.
46571 * include/tls.h: Likewise.
46572 * intl/gettextP.h: Likewise.
46573 * intl/loadinfo.h: Likewise.
46574 * locale/global-locale.c: Likewise.
46575 * locale/localeinfo.h: Likewise.
46576 * mach/devstream.c: Likewise.
46577 * malloc/arena.c: Likewise.
46578 * malloc/set-freeres.c: Likewise.
46579 * misc/err.c: Likewise.
46580 * misc/getttyent.c: Likewise.
46581 * misc/mntent_r.c: Likewise.
46582 * posix/getopt.c: Likewise.
46583 * posix/wordexp.c: Likewise.
46584 * pwd/fgetpwent_r.c: Likewise.
46585 * resolv/Versions: Likewise.
46586 * resolv/res_hconf.c: Likewise.
46587 * shadow/fgetspent_r.c: Likewise.
46588 * shadow/putspent.c: Likewise.
46589 * stdio-common/printf_fphex.c: Likewise.
46590 * stdio-common/tmpfile.c: Likewise.
46591 * stdlib/abort.c: Likewise.
46592 * stdlib/fmtmsg.c: Likewise.
46593 * sunrpc/auth_unix.c: Likewise.
46594 * sunrpc/clnt_perr.c: Likewise.
46595 * sunrpc/clnt_tcp.c: Likewise.
46596 * sunrpc/clnt_udp.c: Likewise.
46597 * sunrpc/clnt_unix.c: Likewise.
46598 * sunrpc/openchild.c: Likewise.
46599 * sunrpc/svc_simple.c: Likewise.
46600 * sunrpc/svc_tcp.c: Likewise.
46601 * sunrpc/svc_udp.c: Likewise.
46602 * sunrpc/svc_unix.c: Likewise.
46603 * sunrpc/xdr.c: Likewise.
46604 * sunrpc/xdr_array.c: Likewise.
46605 * sunrpc/xdr_rec.c: Likewise.
46606 * sunrpc/xdr_ref.c: Likewise.
46607 * sunrpc/xdr_stdio.c: Likewise.
46608
1248c1c4
PB
466092011-09-09 Ulrich Drepper <drepper@gmail.com>
46610
46611 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46612
466132011-07-03 Andreas Jaeger <aj@suse.de>
46614
46615 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46616 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46617 regenerate with gen-libm-tests.pl.
46618
466192010-05-12 Petr Baudis <pasky@suse.cz>
46620
46621 [BZ #11589]
46622 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46623 around j0() zero points by switching to j1().
46624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46628
f22e1074
UD
466292011-09-09 Ulrich Drepper <drepper@gmail.com>
46630
f19009c1
UD
46631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46632 instead of 0.
46633 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 46634 instead of 0.
f19009c1
UD
46635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46636 Patch in part by Pavel Roskin <proski@gnu.org>.
46637
3f8cc204
UD
46638 [BZ #13138]
46639 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46640 realloc.
46641 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46642 Free memory block if necessary.
46643
f22e1074
UD
46644 [BZ #12847]
46645 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46646 be NULL. Don't lock in this case.
46647
0a2349f9
RM
466482011-09-09 Roland McGrath <roland@hack.frob.com>
46649
46650 * elf/elf.h (ELFOSABI_GNU): New macro.
46651 (ELFOSABI_LINUX): Define to that.
46652
f3cdd467
DZ
466532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46654
46655 * string/strncat.c (strncat): Undef the symbol in case it has been
46656 defined in bits/string.h.
46657
74718d13
UD
466582011-09-09 Ulrich Drepper <drepper@gmail.com>
46659
633e9e0f
UD
46660 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46661
0a2349f9 46662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
46663 link map.
46664
f9924780
AJ
466652011-08-17 Andreas Jaeger <aj@suse.de>
46666
46667 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46668
7f5517aa
PP
466692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46670 Ian Lance Taylor <iant@google.com>
46671
46672 * math/libm-test.inc (lround_test): New testcase.
46673 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46674
762011fe
UD
466752011-09-08 Ulrich Drepper <drepper@gmail.com>
46676
92963737
UD
46677 * Makefile: Remove support for automatic cvs check-ins.
46678 * Makerules: Likewise.
46679 * config.make.in: Likewise.
46680 * configure.in: Likewise.
46681 * intl/Makefile: Likewise.
46682 * locale/Makefile: Likewise.
46683 * po/Makefile: Likewise.
46684 * posix/Makefile: Likewise.
46685 * sysdeps/gnu/Makefile: Likewise.
46686 * sysdeps/mach/hurd/Makefile: Likewise.
46687 * sysdeps/sparc/sparc32/Makefile: Likewise.
46688
b0727fd8
JS
46689 [BZ #13118]
46690 * posix/Makefile (bug-regex32-ENV): Define.
46691 Patch by John Stanley <jpsinthemix@verizon.net>.
46692
a0f33f99
UD
46693 * misc/Makefile (headers): Add bits/select2.h.
46694 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46695 * misc/bits/select2.h: New file.
46696 * include/bits/select2.h: New file.
46697 * debug/Makefile (routines): Add fdelt_chk.
46698 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46699 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46700 FD_ISSET.
46701 * debug/fdelt_chk.c: New file.
46702
762011fe
UD
46703 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46704 * wcsmbs/test-wmemcmp.c: Likewise.
46705 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 46706 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
46707
467082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46709
46710 * string/Makefile (strop-tests): Add memcmp.
46711 * string/test-wmemcmp.c: New file.
46712 * string/test-memcmp.c: Add wmemcmp support.
46713
7f513ec8
RM
467142011-09-08 Roland McGrath <roland@hack.frob.com>
46715
0442afb4
RM
46716 [BZ #13153]
46717 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46718 2011-07-19 change.
46719
7f513ec8
RM
46720 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46721 garbage value in a __mach_port_mod_refs call in the cases of the
46722 task-self and thread-self ports.
46723
a12b2239
ST
467242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46725
46726 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46727
610f9ab4
AS
467282011-09-08 Andreas Schwab <schwab@redhat.com>
46729
7f513ec8 46730 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 46731
48882a1a
LD
467322011-09-07 Ulrich Drepper <drepper@gmail.com>
46733
b49865be
UD
46734 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46735
fdc86bc9
UD
46736 * elf/dl-libc.c (dlerror_run): Pass back error code from
46737 dl_catch_error.
46738
c966526a
UD
46739 [BZ #13123]
46740 * elf/dl-load.c (lose): Free l_origin if it is valid.
46741
48882a1a
LD
46742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46743 names.
46744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46749 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46750
77a2a8b4
AZ
467512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46752
46753 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46754 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46757 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46758 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46759 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46760 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46761 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46762 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46763
24f579d8
AM
467642011-08-15 Alan Modra <amodra@gmail.com>
46765
46766 [BZ #13092]
46767 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46768 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46769 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46770 ppc_mcount to static-only-routines.
46771 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46772 __mcount_internal.
46773 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46774 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46775
3d4837df
UD
467762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46777
46778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46779 for finite and infinity parameters.
46780
22700377
WS
467812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46782
46783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46784 and add nop instructions for throughput optimization.
46785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46786
5025581e
WS
467872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46788
46789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46790 aligned copy for power7 with vector-scalar instructions.
46791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46792
08a300c9
L
467932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46794
46795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46796 AVX check.
46797
59178ef9
AS
467982011-09-07 Andreas Schwab <schwab@redhat.com>
46799
46800 [BZ #13144]
46801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46802 last change.
46803
e38ba7ab
UD
468042011-09-07 Ulrich Drepper <drepper@gmail.com>
46805
46806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46807 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46808 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46810 clock_gettime.
46811
d53a73ac
UD
468122011-09-06 Ulrich Drepper <drepper@gmail.com>
46813
fc8bffcc
UD
46814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46815 Forgot to demangle the pointer.
46816
ceaa0c5d
UD
46817 * sysdeps/i386/sysdep.h: Define atom_text_section.
46818 * sysdeps/x86_64/sysdep.h: Likewise.
46819 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46820 section with atom_text_section.
46821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46826
a77d3c17
UD
46827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46829 already be defined. Change to take two parameters and don't assign
46830 result to variable. Adjust all users.
46831 Define INTERNAL_GETTIME if not already defined.
46832 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46833 call.
46834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46835 HAVE_CLOCK_GETTIME_VSYSCALL.
46836 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46837
d53a73ac
UD
46838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46839 gettimeofday vsyscall, just use time.
46840
a8f84144
AS
468412011-09-06 Andreas Schwab <schwab@redhat.com>
46842
46843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46844 <errno.h>.
46845
ef606249
UD
468462011-09-06 Ulrich Drepper <drepper@gmail.com>
46847
46848 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46849 syscall on x86-64.
46850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46851 syscall.
46852 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46854 syscall if possible.
46855
6585cb60
UD
468562011-09-05 Ulrich Drepper <drepper@gmail.com>
46857
46858 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46859 e_ident. Don't pass to find_mapsXX.
46860 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46861
a5f524e4
LD
468622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46863
46864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46865 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46866 * sysdeps/x86_64/multiarch/strchr.S: Update.
46867 Check bit_slow_BSF bit.
46868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46871
554881ef
UD
468722011-09-05 Ulrich Drepper <drepper@gmail.com>
46873
d96de963
UD
46874 [BZ #13134]
46875 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46876 before glibc 2.15.
46877 (tryshell): Define.
46878 (__spawni): Change last parameter to be flag. Test
46879 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46880 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46881 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46882 * posix/spawni.c: Likewise.
46883 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46884 * posix/spawnp.c: Likewise. Change normal version to use
46885 SPAWN_XFLAGS_USE_PATH.
46886 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46887 SPAWN_XFLAGS_TRY_SHELL.
46888
d48e5868
UD
46889 [BZ #13150]
46890 * posix/glob.h: Remove gcc 1.x support.
46891
554881ef
UD
46892 [BZ #13068]
46893 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46894
693fb948
LD
468952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46896
46897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46898 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46899 strrchr-sse2-bsf
46900 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46901 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46906
1b48c537
UD
469072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46908
49d42c37
UD
46909 * sysdeps/x86_64/wcscmp.S: New file.
46910
1b48c537
UD
46911 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46912 wcscmp-c wcscmp-sse2
46913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46914 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46916 * wcsmbs/wcscmp.c: Allow renaming.
46917
15c95c5d
DM
469182011-09-05 David S. Miller <davem@davemloft.net>
46919
46920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46921 stack slot, rather than the struct return pointer slot.
46922 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46926
2f0ad8f3
UD
469272011-09-05 Ulrich Drepper <drepper@gmail.com>
46928
d88ae418
UD
46929 * po/ja.po: Update from translation team.
46930
2f0ad8f3
UD
46931 [BZ #13144]
46932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46933 kernel in 64-bit binaries.
46934
5f4318d1
DM
469352011-09-01 David S. Miller <davem@davemloft.net>
46936
46937 * elf/elf.h (HWCAP_SPARC_*): Move to..
46938 * sysdeps/sparc/sysdep.h: this new file and add new values.
46939 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46940 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46941 _DL_HWCAP_COUNT to 24.
46942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46943 entries.
46944 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46945 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46946 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46948 instead of magic constants.
46949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46950
3ba57516
DM
469512011-08-31 David S. Miller <davem@davemloft.net>
46952
46953 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46955 Reimplement to do errno handling inline.
46956 (SYSCALL_ERROR_HANDLER): New macro.
46957 (__SYSCALL_STRING): Do not do errno handling in asm.
46958 (__CLONE_SYSCALL_STRING): Delete.
46959 (__INTERNAL_SYSCALL_STRING): Delete.
46960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46961 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46962 (PSEUDO): Reimplement to do errno handling inline.
46963 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46964 (SYSCALL_ERROR_HANDLER): New macro.
46965 (__SYSCALL_STRING): Do not do errno handling in asm.
46966 (__CLONE_SYSCALL_STRING): Delete.
46967 (__INTERNAL_SYSCALL_STRING): Delete.
46968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46969 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46970 i386.
46971 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46972 (inline_syscall*): Add 'err' argument.
46973 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46974 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46975 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46976 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46977
46978 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46980
2bc17433
AS
469812011-08-30 Andreas Schwab <schwab@redhat.com>
46982
46983 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46984
fbeb5f4d
JO
469852011-08-29 Jiri Olsa <jolsa@redhat.com>
46986
46987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46988 directive.
46989
ad69cc26
DM
469902011-08-24 David S. Miller <davem@davemloft.net>
46991
46992 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46993
39dd69df
AS
469942011-08-24 Andreas Schwab <schwab@redhat.com>
46995
46996 * elf/Makefile: Add rules to build and run unload8 test.
46997 * elf/unload8.c: New file.
46998 * elf/unload8mod1.c: New file.
46999 * elf/unload8mod1x.c: New file.
47000 * elf/unload8mod2.c: New file.
47001 * elf/unload8mod3.c: New file.
47002
47003 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47004 it wasn't used.
47005
2c0b250a
DM
470062011-08-23 David S. Miller <davem@davemloft.net>
47007
47008 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47009 subtract stack bias.
47010 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47011 %sp not %fp in calculations.
47012 (_JMPBUF_UNWINDS_ADJ): Likewise.
47013
22044b48
DM
47014 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47015 (aio_suspend): Call it to force an exception region around the
47016 AIO_MISC_WAIT() invocation.
47017
2cae4995
AS
470182011-08-23 Andreas Schwab <schwab@redhat.com>
47019
47020 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47021 backslash.
47022
873a772e
AJ
470232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47024
47025 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47026 protection macro.
47027 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47028 and <dl-machine.h>.
47029 (Elf64_FuncDesc): Remove.
47030
25ad0df1
DM
470312011-08-22 David S. Miller <davem@davemloft.net>
47032
47033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47034 sigaltstack check, add missing cfi directives.
47035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47036 missing cfi directives, and sigaltstack handling.
47037
e888bcbe
AS
470382011-08-16 Andreas Schwab <schwab@redhat.com>
47039
47040 [BZ #11724]
47041 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47042 object is seen twice.
47043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47044
47045 * elf/Makefile (distribute): Add tst-initorder2.c.
47046 (tests): Add tst-initorder2.
47047 (modules-names): Add tst-initorder2a tst-initorder2b
47048 tst-initorder2c tst-initorder2d. Add rules to build them.
47049 ($(objpfx)tst-initorder2.out): New rule.
47050 * elf/tst-initorder2.c: New file.
47051 * elf/tst-initorder2.exp: New file.
47052
87162f46
AS
470532011-08-22 Andreas Schwab <schwab@redhat.com>
47054
70538b7f
AS
47055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47056
f55ffe58
AS
47057 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47058 dependencies back to end of function.
47059
87162f46
AS
47060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47061 $(elfobjdir)/ld.so.
47062
91b392a4
UD
470632011-08-21 Ulrich Drepper <drepper@gmail.com>
47064
47065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47066 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47068 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47069 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47070 of __vdso_gettimeofday.
47071 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47072 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47073 attribute_hidden.
47074 (_libc_vdso_platform_setup): Remove initialization of
47075 __vdso_gettimeofday and __vdso_time.
47076
5c43483f
UD
470772011-08-20 Ulrich Drepper <drepper@gmail.com>
47078
775a77e7
UD
47079 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47080 and fgetc_unlocked.
47081 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47082 getc_unlocked.
89f447ed 47083
49c74ba9
UD
47084 * elf/dl-open.c (add_to_global): Report additions to the global scope
47085 for LD_DEBUG=scopes.
47086 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 47087 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 47088
5c43483f
UD
47089 [BZ #13114]
47090 * stdio-common/Makefile (tests): Add bug24.
47091 * stdio-common/bug24.c: New file.
47092
a101b025
AJ
470932011-08-19 Andreas Jaeger <aj@suse.de>
47094
47095 [BZ #13114]
47096 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47097 non-existant file when using close-on-exec mode.
47098
c88f1766
UD
470992011-08-20 Ulrich Drepper <drepper@gmail.com>
47100
0276a718
UD
47101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47102 the very first instruction.
47103
c88f1766
UD
47104 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47105 the CFI state in the end.
47106 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47107 inclusion of dl-trampoline.h.
47108 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47109
51ccffa0
AS
471102011-08-19 Andreas Schwab <schwab@redhat.com>
47111
94d7165f
AS
47112 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47113 expectations for long double.
47114
51ccffa0
AS
47115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47116 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47117
fd708658 471182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
47119
47120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47121 artificual limit depends upon the system page size.
47122
44f0a71e
UD
471232011-08-17 Ulrich Drepper <drepper@gmail.com>
47124
47125 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47126 * resolv/Makefile: Define CFLAGS-libresolv.
47127
8de79a24
AS
471282011-08-17 Andreas Schwab <schwab@redhat.com>
47129
47130 * nss/makedb.c (compute_tables): Make variables used in nested
47131 function static.
47132
27724598
UD
471332011-08-17 Ulrich Drepper <drepper@gmail.com>
47134
c5305d88
UD
47135 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47136 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47137 if buffer was too small.
47138
27724598
UD
47139 * elf/pldd.c (main): Attach to all threads in the process.
47140 Rewrite /proc handling to use *at functions.
47141
076fe015
UD
471422011-08-16 Ulrich Drepper <drepper@gmail.com>
47143
174baab3
UD
47144 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47145 specifies first scope to show.
47146 (dl_open_worker): Update callers. Move printing scope of new
47147 object to before the relocation.
44f0a71e 47148 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
47149 * sysdeps/generic/ldsodefs.h: Update declaration.
47150
076fe015
UD
47151 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47152 string for the scope number.
47153
a60df2c3
UD
471542011-08-14 Ulrich Drepper <drepper@gmail.com>
47155
47156 * nscd/servicescache.c (cache_addserv): Make sure written is always
47157 initialized.
47158
5e4287d1
RM
471592011-08-14 Roland McGrath <roland@hack.frob.com>
47160
85ae0589
RM
47161 * sysdeps/i386/i486/bits/atomic.h
47162 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47163 statement expression, so as to suppress "set but not used" warning.
47164 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47165
69f63097
RM
47166 * string/strncat.c (STRNCAT): Use prototype definition.
47167
675456ef
RM
47168 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47169 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47170 -Iprograms here.
47171 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47172 (localedef-modules): Add localedef.
47173 (locale-modules): Add locale.
47174
5e4287d1
RM
47175 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47176 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47177 to avoid a warning.
47178
9c96ff23
DM
471792011-08-14 David S. Miller <davem@davemloft.net>
47180
47181 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47182 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47183
f9ddf089
UD
471842011-08-13 Ulrich Drepper <drepper@gmail.com>
47185
44f0a71e 47186 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
47187 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47188 * elf/rtld.c (dl_main): Set l_name of vDSO.
47189 Call _dl_show_scope when DL_DEBUG_SCOPES.
47190 (process_dl_debug): Recognize scopes flag and also set it for all.
47191 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47192 Declare _dl_show_scope.
47193
1dc27704
UD
47194 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47195 (do_dlopen): Pass caller_dlopen to dl_open.
47196 (__libc_dlopen_mode): Initialize caller_dlopen.
47197
f9ddf089
UD
47198 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47199 of libc. Make tolower call locale-independent. Optimize a bit by
47200 using isdigit instead of isalnum.
47201 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47202
9ac533d3
UD
472032011-08-12 Ulrich Drepper <drepper@gmail.com>
47204
47205 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47206 was a dependency or dynamically loaded.
47207
89edf2e9
UD
472082011-08-11 Ulrich Drepper <drepper@gmail.com>
47209
8e999d29
UD
47210 * intl/l10nflist.c: Allow architecture-specific pop function.
47211 * sysdeps/x86_64/l10nflist.c: New file.
47212
89edf2e9
UD
47213 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47214 classification.
47215
14d96785
AS
472162011-08-10 Andreas Schwab <schwab@redhat.com>
47217
47218 * include/dirent.h: Add libc_hidden_proto for scandirat and
47219 scandirat64. Don't declare __scandirat64.
47220 * dirent/scandirat.c: Add libc_hidden_def.
47221 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47222 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47223
6761ac04
DM
472242011-08-10 David S. Miller <davem@davemloft.net>
47225
47226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47227 enum.
47228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47231
c55fbd1e
UD
472322011-08-09 Ulrich Drepper <drepper@gmail.com>
47233
47234 * Versions.def [libc]: Add GLIBC_2.15.
47235 * dirent/Makefile (routines): Add scandirat and scandirat64.
47236 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47237 GLIBC_2.15.
47238 * dirent/dirent.h: Declare scandirat and scandirat64.
47239 * dirent/scandirat.c: New file.
47240 * dirent/scandirat64.c: New file.
47241 * sysdeps/wordsize-64/scandirat.c: New file.
47242 * sysdeps/wordsize-64/scandirat64.c: New file.
47243 * dirent/opendir.c: Define opendirat.
47244 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47245 using scandirat.
47246 * dirent/scandir64.c: Adjust for scandir.c change.
47247 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47248 __scandirat64, and __scandir_cancel_handler.
47249 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47250 additional parameter and use openat instead of open (outside of ld.so).
47251 Add new __opendir as wrapper around __opendirat.
47252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47253 here without requiring old scandirat implementation.
47254
879165f2
UD
472552011-08-08 Ulrich Drepper <drepper@gmail.com>
47256
47257 * dirent/scandir.c (cancel_handler): Renamed to
47258 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47259 defined. Adjust users.
47260 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47262
cb7e923b
UD
472632011-08-04 Ulrich Drepper <drepper@gmail.com>
47264
16292edd
UD
47265 * string/test-string.h (IMPL): Use __STRING to expand name and then
47266 stringify it.
47267
cb7e923b
UD
47268 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47269 of cleanups.
47270
cff82933
LD
472712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47272
47273 * string/Makefile: Update.
47274 (strop-tests): Append strncat.
47275 * string/test-wcscmp.c: New file.
47276 New comprehensive test for wcscmp.
47277 * string/test-strcmp.c: Update.
47278 (WIDE): New define.
47279
9be9bfcc
AS
472802011-07-22 Andreas Schwab <schwab@redhat.com>
47281
47282 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47283 line.
47284
2e96f1c7
AS
472852011-07-26 Andreas Schwab <schwab@redhat.com>
47286
47287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47288 encoding to ACE if AI_IDN.
47289
85188888
JJ
472902011-08-01 Jakub Jelinek <jakub@redhat.com>
47291
47292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47293 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47294
5fa16e9b
LD
472952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47296
47297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47298 Fix overflow bug in strncat.
47299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47300
47301 * string/test-strncat.c: Update.
47302 Add new tests for checking overflow bugs.
47303
473042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47305
47306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47307 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47308 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47309 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47311 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47312 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47313 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47314 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47315
47316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47317 (USE_AS_STRCAT): Define.
47318 Add strcat and strncat support.
47319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47320
8c1a459f
AS
473212011-07-25 Andreas Schwab <schwab@redhat.com>
47322
47323 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47324 __n bigger than INT_MAX+1.
47325 (__strncmp_g): Likewise.
47326
bba33c28
UD
473272011-07-23 Ulrich Drepper <drepper@gmail.com>
47328
798be72d
UD
47329 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47330 * libio/stido.h: Likewise.
47331
8accd4dc
UD
47332 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47333 (AF_NFC): Define.
47334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47335 (AF_NFC): Define.
47336
cbff0d96
UD
47337 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47342
9191c04a
UD
47343 [BZ #13021]
47344 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47345 installed.
47346
bba33c28
UD
47347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47348 typo.
47349 (_dl_x86_64_save_sse): Likewise.
47350
90f139dd
UD
473512011-07-22 Ulrich Drepper <drepper@gmail.com>
47352
1aae088a
UD
47353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47354 OSXSAVE.
47355 (_dl_x86_64_save_sse): Likewise.
47356
8e2045f5
UD
47357 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47358
90f139dd
UD
47359 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47360
1d002f25
AS
473612011-07-21 Andreas Schwab <schwab@redhat.com>
47362
47363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47364 change.
47365 (_dl_x86_64_save_sse): Use correct AVX check.
47366
21137f89
UD
473672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47368
47369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47370 bug in strncpy/strncat.
47371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47372
a65c0b7a
UD
473732011-07-21 Ulrich Drepper <drepper@gmail.com>
47374
47375 * string/tester.c (test_strcat): Add tests for different alignments
47376 of source and destination.
47377 (test_strncat): Likewise.
47378
6986b98a
UD
473792011-07-20 Ulrich Drepper <drepper@gmail.com>
47380
90bb2039
UD
47381 [BZ #12852]
47382 * posix/glob.c (glob): Check passed in values before using them in
47383 expressions to avoid some overflows.
47384 (glob_in_dir): Likewise.
47385
5644ef54
UD
47386 [BZ #13007]
47387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47388 check for AVX enablement so that we don't crash with old kernels and
47389 new hardware.
47390 * elf/tst-audit4.c: Add same checks here.
47391 * elf/tst-audit6.c: Likewise.
47392
47393 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 47394
bfc9dc9b
AS
473952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47396
47397 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47398
702e64bb
UD
473992011-07-20 Ulrich Drepper <drepper@gmail.com>
47400
47401 * po/cs.po: Update from translation team.
47402 * po/bg.po: Likewise.
47403
295e904f
MP
474042011-07-12 Marek Polacek <mpolacek@redhat.com>
47405
47406 * misc/sys/cdefs.h: Add support for const attribute.
47407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47408 to gnu_dev_{major,minor,makedev} functions.
47409
3ff94596
MP
474102011-07-20 Marek Polacek <mpolacek@redhat.com>
47411
47412 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47413
28b59fca
AS
474142011-07-20 Andreas Schwab <schwab@redhat.com>
47415
47416 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47417 strlen results.
47418
19df733e
AK
474192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47420
47421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47422 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47423 register in order to avoid conflicts with the soft frame pointer
47424 being held in r11 when necessary.
47425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47426 (INTERNAL_VSYSCALL_NCS): Likewise.
47427
c8835729
MP
474282011-07-14 Marek Polacek <mpolacek@redhat.com>
47429
47430 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47431 * elf/dl-fini.c (_dl_fini): Adjust caller.
47432 * elf/dl-close.c (_dl_close_worker): Likewise.
47433 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47434
b902330c
MP
474352011-07-15 Marek Polacek <mpolacek@redhat.com>
47436
8991e135
MP
47437 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47438 "aux_cache->nlibs < 0".
47439
b902330c
MP
47440 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47441 in the reload-count case.
47442
99710781
LD
474432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47444
47445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47446 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47447 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47449 * sysdeps/x86_64/multiarch/strcat.S: New file.
47450 * sysdeps/x86_64/multiarch/strncat.S: New file.
47451 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47453 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47454 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47456 (USE_AS_STRCAT): Define.
47457 Add strcat and strncat support.
47458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47460 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47461 * string/strncat.c: Update.
47462 (USE_AS_STRNCAT): Define.
47463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47464 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47465 and i7.
47466 * sysdeps/x86_64/multiarch/init-arch.h
47467 (bit_Prefer_PMINUB_for_stringop): New.
47468 (index_Prefer_PMINUB_for_stringop): Likewise.
47469 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47470 bit_Prefer_PMINUB_for_stringop.
47471
7dc6bd90
UD
474722011-07-19 Ulrich Drepper <drepper@gmail.com>
47473
47474 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47475 buffer64.
47476 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47477 of casting of buffer.
47478 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47479 buffer32 and buffer64.
47480 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47481 writes instead of casting of buffer.
47482 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47483 buffer32.
47484 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47485 casting of buffer.
47486
e0e72284
AS
474872011-07-19 Andreas Schwab <schwab@redhat.com>
47488
47489 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47490
feb1eb0b
UD
474912011-07-19 Ulrich Drepper <drepper@gmail.com>
47492
47493 * nscd/nscd.c (termination_handler): Don't do anything for a database
47494 if it has not yet been initialized.
47495
298711ff
UD
474962011-07-18 Ulrich Drepper <drepper@gmail.com>
47497
47498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47499
475002011-07-15 Marek Polacek <mpolacek@redhat.com>
47501
47502 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47503
f9d68389
UD
475042011-07-18 Ulrich Drepper <drepper@gmail.com>
47505
47506 * po/nl.po: Update from translation team.
47507 * po/sv.po: Likewise.
47508
db290cf5
RM
475092011-07-16 Roland McGrath <roland@hack.frob.com>
47510
47511 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47512 now disallowed by GCC.
5c550700 47513
fd5e21c7
RM
47514 * configure.in (use-default-link): Default to yes if a test -shared
47515 link meets our qualifications.
47516 * configure: Regenerated.
47517
5c550700
RM
47518 * config.make.in (output-format): New variable.
47519 * configure.in: Check for ld --print-output-format support.
47520 * configure: Regenerated.
47521 * Makerules ($(common-objpfx)format.lds)
47522 [$(output-format) != unknown]: Just use $(output-format),
47523 instead of the linker-script munging.
47524
9fa2c032
RM
475252011-07-14 Roland McGrath <roland@hack.frob.com>
47526
a6928d51
RM
47527 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47528 of $(common-objpfx)shlib.lds.
47529 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47530
661607b3
RM
47531 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47532 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47533
9fa2c032
RM
47534 * configure.in (-z relro check): Adjust test code to add a large
47535 writable data section after it.
47536 * configure: Regenerated.
47537
defe9061
RM
475382011-07-11 Roland McGrath <roland@hack.frob.com>
47539
47540 * configure.in (-z relro check): Fix test code to make the variable
47541 truly const.
47542 * configure: Regenerated.
47543
319b9ad4
UD
475442011-07-11 Ulrich Drepper <drepper@gmail.com>
47545
47546 * nscd/nscd.h (struct traced_file): Define.
47547 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47548 elements. Add traced_files.
47549 (inotify_fd): Declare.
47550 (register_traced_file): Declare.
47551 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47552 (inotify_fd): Export.
47553 (resolv_conf_descr): Remove.
47554 (nscd_init): Move inotify descriptor creation to main.
47555 Don't register files for notification here.
47556 (register_traced_file): New function.
47557 (invalidate_cache): Don't use reset_res to determine whether to call
47558 res_init, go through the list of registered files.
47559 (main_loop_poll): The inotify descriptors are now stored in the
47560 structures for the traced files.
47561 (main_loop_epoll): Likewise
47562 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47563 to __nss_disable_nscd.
47564 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47565 for a database anymore. Check the records for all the registered
47566 files instead.
47567 * nss/Makefile (libnss_files-routines): Add files-init.
47568 (libnss_db-routines): Add db-init.
47569 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47570 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47571 * nss/nss_db/db-init.c: New file.
47572 * nss/nss_files/files-init.c: New file.
47573 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47574 __nss_lookup_function.
47575 (__nss_lookup_function): Call nss_load_library.
47576 (nss_load_all_libraries): New function.
47577 (__nss_disable_nscd): Take parameter with callback function for files
47578 to register. Set is_nscd. Load all the DSOs for the NSS modules
47579 used for the cached services.
47580 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47581 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47582 options for features to all the files in nscd.
47583
47584 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47585
23bee3e8
RM
475862011-07-10 Roland McGrath <roland@hack.frob.com>
47587
47588 * csu/elf-init.c (__libc_csu_init): Comment typo.
47589
46a5b7f0
UD
475902011-07-09 Ulrich Drepper <drepper@gmail.com>
47591
47592 * po/pl.po: Update from translation team.
47593 * po/ja.po: Likewise.
47594 * po/ru.po: Likewise.
47595 * po/ko.po: Likewise.
47596 * po/fr.po: Likewise.
47597
d30cf5bb
RM
475982011-07-09 Roland McGrath <roland@hack.frob.com>
47599
113ddea4
RM
47600 * configure.in (.ctors/.dtors header and trailer check):
47601 Use an empirical test on a built program.
47602 * configure: Regenerated.
47603
574920b4
RM
47604 * configure.in (-z relro check): Use an empirical test on a built DSO.
47605 Detect, but do not require, on ia64.
47606 * configure: Regenerated.
47607
d30cf5bb
RM
47608 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47609 Update tests that use readelf to use $READELF instead.
47610 * configure: Regenerated.
47611
8538fdb3
UD
476122011-07-08 Ulrich Drepper <drepper@gmail.com>
47613
47614 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47615 if the result is not used.
47616
04d08991
AJ
476172011-07-05 Andreas Jaeger <aj@suse.de>
47618
47619 [BZ#9696]
47620 * stdlib/tst-strtod.c: Add testcase.
47621
de283087
AD
476222011-07-07 Ulrich Drepper <drepper@gmail.com>
47623
4e5f31c8 47624 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 47625 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
47626 The latter has a higher limit. Take additional parameter to pass to
47627 the new function.
47628 (__pathconf): Pass file to __statfs_link_max.
47629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47630 __statfs_link_max.
47631 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47632 __statfs_link_max.
47633
de283087
AD
47634 [BZ #12868]
47635 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47637 Handle Lustre.
47638 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47639 (__statfs_filesize_max): Likewise.
47640 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47641
c75fa153
AJ
476422011-07-05 Andreas Jaeger <aj@suse.de>
47643
47644 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47645
1a544854
UD
476462011-07-06 Marek Polacek <mpolacek@redhat.com>
47647
47648 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47649 `status' variable.
47650 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47651 Likewise.
47652
6f0eec67
UD
476532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47654
47655 * Makefile (strop-tests): Add strncat.
47656 * string/test-strncat.c: New file.
47657
aae30307
UD
476582011-06-30 Marek Polacek <mpolacek@redhat.com>
47659
47660 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47661
c0cfb5eb
UD
476622011-06-21 Andreas Jaeger <aj@suse.de>
47663
47664 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47665 Copy rule from iconvdata/Makefile.
47666
01636b21
UD
476672011-07-06 Ulrich Drepper <drepper@gmail.com>
47668
47669 [BZ #12922]
47670 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47671 but no long options are defined, just return 'W'.
47672
9895c8bc
UD
476732011-06-22 Marek Polacek <mpolacek@redhat.com>
47674
47675 [BZ #9696]
47676 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47677
5d4cf042
UD
476782011-07-06 Ulrich Drepper <drepper@gmail.com>
47679
47680 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47681 netgroups to read.
960e5535 47682 (innetgr): Likewise.
5d4cf042 47683
751eb97e
RM
476842011-07-05 Roland McGrath <roland@hack.frob.com>
47685
47686 * config.make.in (install_root): Default to $(DESTDIR).
47687
f15f1e45
UD
476882011-07-05 Ulrich Drepper <drepper@gmail.com>
47689
47690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47691
4e34ac6a
RM
476922011-07-02 Roland McGrath <roland@hack.frob.com>
47693
5e9b6af4
RM
47694 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47695
84f9ea0f
RM
47696 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47697 containing directory rather than embedding absolute directory names.
47698
ea5ee9f7
RM
47699 * scripts/check-local-headers.sh: Rewritten using awk.
47700 Match by word, not by line. Print error messages for matches.
47701 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47702
1b74661a
RM
47703 * Makerules [shlib-lds-flags empty]:
47704 ($(common-objpfx)libc_pic.opts): New target.
47705 ($(common-objpfx)libc_pic.os.clean): New target.
47706 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47707
47708 * config.make.in (OBJCOPY): New variable.
47709 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47710 * configure: Regenerated.
47711
f781ef40
RM
47712 * config.make.in (use-default-link): New variable.
47713 * configure.in (use_default_link): Grok --with-default-link to set it.
47714 * configure: Regenerated.
47715 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47716 (shlib-lds, shlib-lds-flags): Define to empty.
47717
2d4fa81e
RM
47718 * Makerules (shlib-lds): New variable.
47719 (shlib-lds-flags): New variable.
47720 (build-shlib, build-moduile, build-module-asneeded): Use it.
47721 ($(common-objpfx)libc.so): Use $(shlib-lds).
47722 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47724
31fffa6b
RM
47725 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47726 DT_FLAGS/DT_FLAGS_1 with zero flags.
47727
4e34ac6a
RM
47728 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47729 linker script munging.
47730
fcfc776b
UD
477312011-07-02 Ulrich Drepper <drepper@gmail.com>
47732
47733 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47734 as 128-bit value.
47735 * crypt/sha512.c (sha512_process_block): Perform total addition using
47736 128-bit if possible.
47737 (__sha512_finish_ctx): Likewise.
47738 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47739 as 64-bit value.
47740 * crypt/sha256.c (SWAP64): Define.
47741 (sha256_process_block): Perform total addition using 64-bit if
47742 possible.
47743 (__sha256_finish_ctx): Likewise.
47744
99231d9a
UD
477452011-07-01 Ulrich Drepper <drepper@gmail.com>
47746
47747 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47749 * nscd/hstcache.c (cache_addhst): Likewise.
47750 * nscd/grpcache.c (cache_addgr): Likewise.
47751 * nscd/aicache.c (addhstaiX): Likewise
47752 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47753
445b4a53
TK
477542011-07-01 Thorsten Kukuk <kukuk@suse.de>
47755
47756 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47758 * nscd/hstcache.c (cache_addhst): Likewise.
47759 * nscd/grpcache.c (cache_addgr): Likewise.
47760 * nscd/aicache.c (addhstaiX): Likewise
47761
6d4d8e8e
AS
477622011-07-01 Andreas Schwab <schwab@redhat.com>
47763
47764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47765 domain only when needed.
47766
89f654c5
AS
477672011-06-30 Andreas Schwab <schwab@redhat.com>
47768
47769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47770 is always restored.
47771
cf3b23ff
UD
477722011-06-29 Ulrich Drepper <drepper@gmail.com>
47773
47774 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47775 are re-adding the entry.
47776 * nscd/servicescache.c (cache_addserv): Likewise.
47777
751626f9
AJ
477782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47779
47780 * sysdeps/generic/dl-irel.h: fix protection against multiple
47781 inclusions.
47782 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47783
9113ea1f
UD
477842011-06-28 Ulrich Drepper <drepper@gmail.com>
47785
5c0b8d90
UD
47786 [BZ #12935]
47787 * malloc/memusage.sh: Fix quoting in message.
47788 * debug/xtrace.sh: Likewise.
47789
9113ea1f
UD
47790 * configure.in: Remove support for --experimental-malloc option, make
47791 it the default.
47792 * config.make.in: Likewise.
47793 * malloc/Makefile: Likewise.
47794
a4172181
AS
477952011-06-27 Andreas Schwab <schwab@redhat.com>
47796
47797 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47798 two-byte characters.
47799
78a7eee7
RM
478002011-06-27 Roland McGrath <roland@hack.frob.com>
47801
62bede13
RM
47802 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47803 AC_CACHE_CHECK invocation.
47804 * configure: Regenerated.
47805
78a7eee7
RM
47806 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47807
5ce33a62
UD
478082011-06-27 Ulrich Drepper <drepper@gmail.com>
47809
034807a9
UD
47810 [BZ #12350]
47811 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47812 bit from old_res_options.
47813
4902da17
UD
47814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47815
5ce33a62
UD
47816 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47817 value type for setfct.
47818
c2344f56
L
478192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47820
47821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47822 __gettimeofday instead of gettimeofday.
47823
68468076
UD
478242011-06-26 Ulrich Drepper <drepper@gmail.com>
47825
47826 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47827
acb0d739
L
478282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47829
47830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47831
47832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47833 info.
47834
8912479f
L
478352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47836
47837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47838 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47839 strcpy-sse2-unaligned strncpy-sse2-unaligned
47840 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47841 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47842 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47843 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47844 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47847 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47848 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47849 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47850 (STRCPY): Support SSE2 and SSSE3 versions.
47851
d5495a11
UD
478522011-06-24 Ulrich Drepper <drepper@gmail.com>
47853
47854 [BZ #12874]
47855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47856 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47857 kernels which artificially limit size of requests.
47858
0b1cbaae
L
478592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47860
47861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47862 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47863 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47864 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47865 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47866 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47867 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47868 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47871 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47872 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47873 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47874 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47875 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47877 Enable unaligned load optimization for Intel Core i3, i5 and i7
47878 processors.
47879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47880 Define.
47881 (index_Fast_Unaligned_Load): Define.
47882 (HAS_FAST_UNALIGNED_LOAD): Define.
47883
07f494a0
MP
478842011-06-23 Marek Polacek <mpolacek@redhat.com>
47885
47886 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47887
fa3fc0fe
UD
478882011-06-22 Ulrich Drepper <drepper@gmail.com>
47889
47890 [BZ #12907]
47891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47892 until it is clear that the information is realy needed.
47893 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47894
e12df166
AS
478952011-06-22 Andreas Schwab <schwab@redhat.com>
47896
47897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47898
852eb34d
UD
478992011-06-22 Ulrich Drepper <drepper@gmail.com>
47900
84e2a551
UD
47901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47902 /sys/devices/system/cpu/online if it is usable.
47903
852eb34d
UD
47904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47905 reading the information from the /proc filesystem to once a second.
47906
6e502e19
UD
479072011-06-21 Andreas Jaeger <aj@suse.de>
47908
47909 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47910 NULL after inclusion of kernel headers.
47911
75d39ff2
UD
479122011-06-21 Ulrich Drepper <drepper@gmail.com>
47913
51f9aa6a
UD
47914 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47915 calls to internal_setent.
47916
c0244a9d
UD
47917 [BZ #12885]
47918 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47919 addresses using gethostbyname4_r ignore IPv4 addresses.
47920
c5e3c2ae
UD
47921 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47922 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47923
75d39ff2
UD
47924 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47925
42675c6f
DM
479262011-06-20 David S. Miller <davem@davemloft.net>
47927
47928 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47929 inclusions.
47930 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47931
47932 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47933 (elf_irel): Use it.
47934 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47935 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47936 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47937 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47938 * sysdeps/x86_64/dl-irel.h: Likewise.
47939
47940 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47941 * elf/dl-sym.c: Likewise.
47942
57912a71
UD
479432011-06-15 Ulrich Drepper <drepper@gmail.com>
47944
47945 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47946 need to dereference resplen2.
47947
ee22793d
AS
479482011-06-14 Andreas Schwab <schwab@redhat.com>
47949
47950 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47951
a9e836b0
UD
479522011-06-15 Ulrich Drepper <drepper@gmail.com>
47953
77fb9117
UD
47954 * Makeconfig: Define vardbdir and inst_vardbdir.
47955 * nss/Makefile: Add rules to install db-Makefile.
47956
40c1b22c
UD
47957 * nss/nss_db/db-XXX.c: Cleanup.
47958
9f2da732
UD
47959 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47960 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47961 GLIBC_PRIVATE.
47962 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47963 * nss/makedb.c: Implement -g option to specify that value strings
47964 are generated and should not be added to table iterated over for
47965 get*ent calls.
47966 * nss/nss_db/db-initgroups.c: New file.
47967
82e9a1f7
UD
47968 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47969 interface.
47970
c41af17e
UD
47971 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47972 (internal_getgrouplist): Adjust to name change.
47973 Update use_initgroups_entry if this is not the first call.
47974 * nss/databases.def: Add initgroups entry.
47975
a9e836b0
UD
47976 * nss/makedb.c (compute_tables): Check result of multiple hash table
47977 sizes to minimize maximum chain length.
47978
2666d441
UD
479792011-06-14 Ulrich Drepper <drepper@gmail.com>
47980
47981 * Versions.def: Add entry for libnss_db.
47982 * shlib-versions: Likewise.
47983 * nss/Makefile: Add rules to build libnss_db.
47984 * nss/Versions: Add libnss_db information. Organize libnss_files
47985 entries better.
47986 * nss/db-Makefile: Add gshadow support. Change rules for the new
47987 makedb progra. Some minor improvements to generate smaller files.
47988 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47989 here from...
47990 * nss/makedb.c: ...here.
47991 Improve database format to be smaller and require less memory at
47992 runtime.
47993 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47994 db anymore.
47995 * nss/nss_db/db-netgrp.c: Likewise.
47996 * nss/nss_db/db-open.c: Likewise.
47997 * nss/nss_files/flies-XXX.x: Adjust comments.
47998 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47999 * nss/nss_files/files-grp.c: Likewise.
48000 * nss/nss_files/files-hosts.c: Likewise.
48001 * nss/nss_files/files-network.c: Likewise.
48002 * nss/nss_files/files-proto.c: Likewise.
48003 * nss/nss_files/files-pwd.c: Likewise.
48004 * nss/nss_files/files-rpc.c: Likewise.
48005 * nss/nss_files/files-service.c: Likewise.
48006 * nss/nss_files/files-sgrp.c: Likewise.
48007 * nss/nss_files/files-spwd.c: Likewise.
48008 * nss/nss_db/db-alias.c: Removed.
48009 * nss/nss_db/dummy-db.h: Removed.
48010
9ee76b5a
UD
480112011-06-02 Ulrich Drepper <drepper@gmail.com>
48012
48013 * nss/makedb.c: Rewritten to not use database library.
48014 * nss/Makefile: Update to build new makedb program.
48015
c71ca1f8
AJ
480162011-06-14 Andreas Jaeger <aj@suse.de>
48017
48018 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48019 memset declaration.
48020
3154bfb8
UD
480212011-06-10 Andreas Schwab <schwab@redhat.com>
48022
48023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48024 tmpbuf.
48025
b350afab
RM
480262011-06-10 Roland McGrath <roland@hack.frob.com>
48027
decd4e50
RM
48028 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48029 * elf/Makefile ($(objpfx)ld.so): Likewise.
48030
5615eaf2
RM
48031 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48032 Don't list ld.so twice in dependencies.
48033
48034 * posix/bug-regex31.c: Include <stdlib.h>.
48035
48036 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48037
48038 * nis/nss_compat/compat-spwd.c
48039 (getspent_next_nss_netgr): Remove unused variable.
48040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48041
48042 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48043 nonmembers" output to use the right array.
48044
48045 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48046
48047 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48048
48049 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48050 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48051 * catgets/gencat.c (read_input_file): Likewise.
48052 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48053
48054 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48055 variable definition inside #if's controlling its use.
48056
48057 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48058
48059 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48060
48061 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48062
48063 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48064 unreachable code.
48065
48066 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48067
b68e08db
RM
48068 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48069 * configure: Regenerated.
48070
b350afab
RM
48071 * Makerules: Revert last change.
48072 * elf/Makefile: Likewise.
48073
28368601
RM
480742011-06-09 Roland McGrath <roland@hack.frob.com>
48075
48076 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48077 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48078 (reloc-link): Likewise.
48079
11988f8f
UD
480802011-06-09 Ulrich Drepper <drepper@gmail.com>
48081
48082 * elf/Makefile: Add rules to build pldd.
48083 * elf/pldd.c: New file.
48084 * elf/pldd-xx.c: New file.
48085
e80fab37
UD
480862011-06-07 Ulrich Drepper <drepper@gmail.com>
48087
48088 * version.h: Update for 2.15 development version.
48089
9b849836
DM
480902011-06-07 David S. Miller <davem@davemloft.net>
48091
48092 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48093 ifuncs.
48094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48095 elf_machine_lazy_rel): Likewise.
48096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48098 elf_machine_lazy_rel): Likewise.
48099 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48100 dl_hwcap via passed in argument.
48101 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48102 Likewise.
48103
5a31b283
AK
481042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48105
48106 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48107
069e52f8
RM
481082011-06-06 Roland McGrath <roland@hack.frob.com>
48109
48110 [BZ #12849]
48111 * manual/fdl-1.1.texi: New file, verbatim from:
48112 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48113 * manual/lgpl-2.1.texi: New file, verbatim from:
48114 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48115 * manual/Makefile (licenses): New variable, list those new file names.
48116 (texis): Use it.
48117 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48118
48119 * manual/fdl.texi: File removed.
48120 * manual/lesser.texi: File removed.
48121 * manual/libc.texinfo (Copying, Documentation License):
48122 Use new @include file names, put @appendix directive before @include.
48123
f16846a5
JJ
481242011-06-04 Jakub Jelinek <jakub@redhat.com>
48125
48126 [BZ #12841]
48127 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48128 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48129 (mq_open): Add __NTH.
48130
3d29045b
L
481312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48132
48133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48134 Assume Intel Core i3/i5/i7 processor if AVX is available.
48135
8c297311
UD
481362011-05-31 Ulrich Drepper <drepper@gmail.com>
48137
48138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48139 typo.
48140
c8fc0c91
UD
481412011-05-31 Andreas Schwab <schwab@redhat.com>
48142
48143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48144 memory. Use alloca_account. Fix memory leak when retrying.
48145
5b27a807
UD
481462011-05-31 Ulrich Drepper <drepper@gmail.com>
48147
356f8bc6
UD
48148 * version.h (RELEASE): Bump for 2.14 release.
48149 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48150
5b27a807
UD
48151 * config.make.in (RANLIB): Remove entry.
48152
01f16ab0
UD
481532011-05-30 Ulrich Drepper <drepper@gmail.com>
48154
41fce8bd
UD
48155 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48156 (libc.pot): Work around missing support for .ksh extension in xgettext.
48157
4769ae77
UD
48158 [BZ #12684]
48159 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48160 if both request failed.
48161 (send_dg): In case of server errors clear resplen or *resplen2.
48162
6b1e7d19
UD
48163 [BZ #12454]
48164 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48165 when there are multiple maps.
48166 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48167 (_dl_fini): Remove test here.
48168
01f16ab0
UD
48169 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48170
b1ebd700
UD
481712011-05-29 Ulrich Drepper <drepper@gmail.com>
48172
7ae22829
UD
48173 [BZ #12350]
48174 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48175 bit from old_res_options.
48176 (gaih_inet): Likewise.
48177
553149f6 48178 [BZ #11099]
18a84741 48179 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
48180 as signed.
48181
652ffab1
UD
48182 * resolv/res_init.c (res_setoptions): Make the code more compact.
48183
16985fd0
UD
48184 [BZ #11558]
48185 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48186 set RES_USEVC.
48187
0464f746
UD
48188 [BZ #11634]
48189 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48190
7d17596c
UD
48191 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48192
cf6bbbd7
UD
48193 [BZ #11781]
48194 * malloc/malloc.h: Declare malloc hook variables as volatile.
48195
13f1ab36
UD
48196 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48197 in last patch.
48198
b1ebd700
UD
48199 [BZ #11799]
48200 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 48201 raise in the comment.
80e2212d
UD
48202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 48205
ce67228d
UD
482062011-05-28 Ulrich Drepper <drepper@gmail.com>
48207
8887a920
UD
48208 [BZ #12811]
48209 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48210 grow the buffers more if it already has to be sufficient.
48211 (build_wcs_upper_buffer): Likewise.
48212 * posix/regexec.c (check_matching): Likewise.
48213 (clean_state_log_if_needed): Likewise.
48214 (extend_buffers): Don't enlarge buffers beyond size of the input
48215 buffer.
48216 Patches mostly by Emil Wojak <emil@wojak.eu>.
48217 * posix/bug-regex32.c: New file.
48218 * posix/Makefile (tests): Add bug-regex32.
48219
4f031072
UD
48220 * locale/findlocale.c (_nl_find_locale): Return right away if
48221 _nl_explode_name failed.
48222 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48223
d0478f0c
UD
48224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48225
de81b246
UD
48226 * debug/xtrace.sh: Unify messages.
48227 * malloc/memusage.sh: Likewise.
48228
c738465a
UD
48229 [BZ #12813]
48230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48231 time symbol from vDSO. Substitute with vsyscall if not available.
48232 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48233 __vdso_time.
48234
f1f929d7
UD
48235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48236 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48238 Add sendmmsg and internal_sendmmsg.
48239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48242
ce67228d
UD
48243 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48244 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48246
e57420c6
UD
482472011-05-27 Ulrich Drepper <drepper@gmail.com>
48248
a8509ca5
UD
48249 [BZ #12813]
48250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48251 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48252 available.
48253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48254 __vdso_getcpu.
48255
e57420c6
UD
48256 [BZ #12814]
48257 * iconvdata/Makefile (tests): Add bug-iconv9.
48258 * iconvdata/bug-iconv9.c: New file.
48259
4d07db15
AS
482602011-05-27 Andreas Schwab <schwab@redhat.com>
48261
48262 [BZ #12814]
48263 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48264
ea486f69
JJ
482652011-05-25 Jakub Jelinek <jakub@redhat.com>
48266
48267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48268 (struct user_regs_struct): Change intcs field back to cs.
48269
6f038433
UD
482702011-05-25 Ulrich Drepper <drepper@gmail.com>
48271
48272 * po/ja.po: Update from translation team.
48273
67f86a25
UD
482742011-05-23 Ulrich Drepper <drepper@gmail.com>
48275
48276 [BZ #12795]
48277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48278 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48279
def7fbd6
AS
482802011-05-20 Andreas Schwab <schwab@redhat.com>
48281
48282 * stdlib/longlong.h: Update from GCC.
48283
f50ef8f1
AS
482842011-05-23 Andreas Schwab <schwab@redhat.com>
48285
48286 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48287 parameter name.
48288 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48289 Add parameter name.
48290 (__sysconf): Pass it down.
48291
de7ce8f1
UD
482922011-05-22 Ulrich Drepper <drepper@gmail.com>
48293
f2962a71
UD
48294 [BZ #12671]
48295 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48296 some situations.
48297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48298 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48299 add in in __libc_use_alloca calls. Adjust callers.
48300 (glob): Use malloc in some situations.
48301
de7ce8f1
UD
48302 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48303 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48304 pltexit.
48305
aec84f53
UD
483062011-05-21 Ulrich Drepper <drepper@gmail.com>
48307
05bb4a68
UD
48308 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48309 and CLOCK_BOOTTIME_ALARM.
48310
7ea72f99
UD
48311 [BZ #12782]
48312 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48313 is returned.
48314
7e4afad5
UD
48315 * string/_strerror.c (__strerror_r): Print negative errors as signed
48316 numbers.
48317
8e211fec
UD
48318 [BZ #12777]
48319 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48320 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48321 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48322
f7d82dc9
UD
48323 * configure.in: Fix typo in redirection and correct removal of test
48324 files in two cases.
48325
cc9e536d
UD
48326 [BZ #12788]
48327 * locale/setlocale.c (new_composite_name): Fix test to check for
48328 identical name of all categories.
48329
aec84f53
UD
48330 [BZ #12792]
48331 * libio/filedoalloc.c (local_isatty): New function.
48332 (_IO_file_doallocate): Use local_isatty.
48333 * stdio-common/perror.c (perror): In case a new stream is used
48334 forward the stream error.
48335 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48336 error flag.
48337
78e64fdc
RT
483382011-05-20 Ulrich Drepper <drepper@gmail.com>
48339
34a9094f
UD
48340 [BZ #11869]
48341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48342 alloca.
48343 * include/alloca.h (extend_alloca_account): Define.
48344
78e64fdc
RT
48345 [BZ #11857]
48346 * posix/regex.h: Fix comments with documentation of user-accessible
48347 fields after compilation and describe correct free'ing of pattern
48348 after re_compile_pattern.
48349 Patch by Reuben Thomas <rrt@sc3d.org>.
48350
457bddfc
RA
483512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48352
48353 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48354 and -mno-altivec to prevent the compiler from using Altivec and/or
48355 VSX instructions when the corresponding registers are not available.
48356
a4527b51
AS
483572011-05-19 Andreas Schwab <schwab@redhat.com>
48358
48359 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48360
ed690b2f
UD
483612011-05-19 Ulrich Drepper <drepper@gmail.com>
48362
48363 * libio/freopen.c (freopen): Use __dup2, not dup2.
48364 * libio/freopen64.c (freopen64): Likewise.
48365
8db73634
L
483662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48367
48368 [BZ #12775]
48369 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48370 * math/Makefile (tests): Add test-powl.
48371 (CFLAGS-test-powl.c): Define.
48372 * math/test-powl.c: New file.
48373
0a197a9d
L
483742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48375
48376 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48377
ee30c380
UD
483782011-05-17 Ulrich Drepper <drepper@gmail.com>
48379
48380 [BZ #11837]
48381 * iconvdata/gb18030.c: Update to GB18020-2005.
48382
6ce75379
UD
483832011-05-16 Ulrich Drepper <drepper@gmail.com>
48384
a4b89fd8
AR
48385 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48386 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48387 Patch by Aharon Robbins <arnold@skeeve.com>.
48388
ea389b12
UD
48389 [BZ #11892]
48390 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48391 on the stack.
48392
68a3f91f
UD
48393 [BZ #11895]
48394 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48395 through underflows.
48396
15cc7dd1
UD
48397 [BZ #12766]
48398 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48399 point to strings before performing equality test for error_one_per_line
48400 mode.
48401
f3799213
UD
48402 [BZ #11697]
48403 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48404
d79a9c94
UD
48405 [BZ #11820]
48406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48407 (struct user_fpregs_struct): Avoid __uint*_t types.
48408
56e5eb46
UD
48409 [BZ #6420]
48410 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48411 symbol info. Use it instead of calling _dl_addr locally.
48412 (lock_and_info): New function.
48413 (tr_freehook): Call lock_and_info and pass symbol info as additional
48414 parameter to tr_where.
48415 (tr_mallochook): Likewise.
48416 (tr_reallochook): Likewise.
48417 (tr_memalignhook): Likewise.
48418
6ce75379
UD
48419 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48420 used and couldn't be at all thread-safe.
48421
f8a3b5bf
UD
484222011-05-15 Ulrich Drepper <drepper@gmail.com>
48423
94b7cc37
UD
48424 * libio/freopen.c (freopen): Don't close old file descriptor
48425 before the new one is opened. Instead dup the new file descriptor
48426 to the old one after the new stream is created.
48427 * libio/freopen64.c (freopen64): Likewise.
48428 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48429 * libio/fileops.c (_IO_new_file_close_it): Handle new
48430 _IO_FLAGS2_NOCLOSE flag.
48431 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48432 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48433 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48434 _IO_FLAGS2_NOCLOSE flag.
48435 * include/unistd.h: Add hidden_proto for dup3.
48436 Define __have_dup3.
48437 * io/dup3.c: Define hidden symbol.
48438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48439
bd25564e
UD
48440 [BZ #7101]
48441 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48442 when an incomplete long option is used.
48443 * posix/tst-getopt_long1.c: New file.
48444 * posix/Makefile (tests): Add tst-getopt_long1.
48445
c84cfef4
UD
48446 [BZ #10138]
48447 * scripts/config.guess: Update from autoconf-2.68.
48448 * scripts/config.sub: Likewise.
48449
3b85df27
UD
48450 [BZ #10157]
48451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48452 tests into ...
48453 (has_cpuclock): ...this. New function.
48454 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48455 macro here based on has_cpuclock code.
48456
15a856b1
UD
48457 [BZ #10149]
48458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48459 First byte (not low byte) is now always NUL.
48460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48461
05f399e6
UD
48462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48463 Use non-cancelable interfaces.
48464
10a52685 48465 [BZ #9809]
94ecc67d
UD
48466 * locale/iso-639.def: Add entry for Sorani.
48467
f8a3b5bf
UD
48468 [BZ #11901]
48469 * include/stdlib.h: Move include protection to the right place.
48470 Define abort_msg_s. Declare __abort_msg with it.
48471 * stdlib/abort.c (__abort_msg): Adjust type.
48472 * assert/assert.c (__assert_fail_base): New function. Majority
48473 of code from __assert_fail. Allocate memory for __abort_msg with
48474 mmap.
48475 (__assert_fail): Now call __assert_fail_base.
48476 * assert/assert-perr.c: Remove bulk of implementation. Use
48477 __assert_fail_base.
48478 * include/assert.hL Declare __assert_fail_base.
48479 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48480 mmap.
48481 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48482
1af4e298
UD
484832011-05-14 Ulrich Drepper <drepper@gmail.com>
48484
f8a3b5bf 48485 [BZ #11952]
d26dfc60
MG
48486 [BZ #12453]
48487 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48488 until all modules are registered in the DTV.
48489 * elf/Makefile: Add rules to build and run tst-tls19.
48490 * elf/tst-tls19.c: New file.
48491 * elf/tst-tls19mod1.c: New file.
48492 * elf/tst-tls19mod2.c: New file.
48493 * elf/tst-tls19mod3.c: New file.
48494 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48495
2fc54d6f
UD
48496 [BZ #12083]
48497 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48498 correctly.
48499
98d76b46
UD
48500 [BZ #12601]
48501 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48502 two-byte sequence errors.
48503 * iconvdata/Makefile (tests): Add bug-iconv8.
48504 * iconvdata/bug-iconv8.c: New file.
48505
da3c19ef
UD
48506 [BZ #12626]
48507 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48508 buf2 definition.
48509
ca408c15
UD
48510 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48511
d6f67f7d
UD
48512 [BZ #12432]
48513 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48514 (dummy_getcfa): New function.
48515 (init): Get _Unwind_GetCFA address, use dummy if not found.
48516 (backtrace_helper): In recursion check, also check whether CFA changes.
48517 (__backtrace): Completely initialize arg.
48518
1af4e298 48519 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
48520 storing incomplete byte sequence in state object. Avoid testing for
48521 guaranteed too small input if we know there is enough data available.
1af4e298 48522
da62f81b
AS
485232011-05-11 Andreas Schwab <schwab@redhat.com>
48524
48525 * Makeconfig (+link-pie): Indent.
48526 * Rules (binaries-pie): Define if $(have-fpie) and
48527 $(build-shared).
48528 (binaries-shared): Also filter out $(binaries-pie).
48529 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48530 * nscd/Makefile (others-pie): Add nscd.
48531 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48532 ($(objpfx)nscd): Remove command override.
48533 * login/Makefile (others-pie): Add pt_chown.
48534 ($(objpfx)pt_chown): Remove command override.
48535 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48536 remove command overrides.
48537
fcabc0f8
UD
485382011-05-13 Ulrich Drepper <drepper@gmail.com>
48539
20030ae6
UD
48540 * libio/tst_putwc.c: Fix error messages.
48541
fcabc0f8
UD
48542 [BZ #12724]
48543 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48544 currently writing and seek to current position when not.
48545 * libio/Makefile (tests): Add bug-fclose1.
48546 * libio/bug-fclose1.c: New file.
48547
320a5dc0
PB
485482011-05-12 Ulrich Drepper <drepper@gmail.com>
48549
48550 [BZ #12511]
48551 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48552 don't set DF_1_NODELETE here.
48553 (do_lookup_x): When entering new entry test for copy relocation
48554 and if necessary set DF_1_NODELETE flag.
48555 * elf/tst-unique4.cc: New file.
48556 * elf/tst-unique4.h: New file.
48557 * elf/tst-unique4lib.cc: New file.
48558 * elf/Makefile: Add rules to build and run tst-unique4.
48559 Patch by Piotr Bury <pbury@goahead.com>.
48560
22836f52
UD
485612011-05-11 Ulrich Drepper <drepper@gmail.com>
48562
f574184a
UD
48563 [BZ #12052]
48564 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48565
e1fb097f
UD
48566 [BZ #12625]
48567 * misc/mntent_r.c (addmntent): Flush the stream after the output
48568
22836f52
UD
48569 [BZ #12393]
48570 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48571 (is_trusted_path_normalize): Skip initial colon. Append slash
48572 to empty buffer. Duplicate is_trusted_path code but allow
48573 constructed patch to be prefix.
48574 (is_dst): Allow $ORIGIN followed by /.
48575 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48576 Correct testing of result of is_trusted_path_normalize
48577 (decompose_rpath): Fix warning.
48578
7b3b0b2a
UD
485792011-05-10 Ulrich Drepper <drepper@gmail.com>
48580
48581 [BZ #11257]
48582 * grp/initgroups.c (internal_getgrouplist): When we found the service
48583 list through the initgroups entry in nsswitch.conf do not always
48584 continue on a successful lookup. Don't always use the
eac80ce2 48585 __nss_group_database value if it is set.
7b3b0b2a
UD
48586 * nss/nsswitch.conf (initgroups): Change action for successful db
48587 lookup to continue for compatibility.
48588
2a81eaa5
UD
485892011-05-09 Ulrich Drepper <drepper@gmail.com>
48590
be97a69e
UD
48591 [BZ #11532]
48592 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48593 and CP774 modules.
48594 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48595 and CP774 modules.
48596 * iconvdata/tst-tables.sh: Likewise.
48597 * iconvdata/cp770.c: New file.
48598 * iconvdata/cp771.c: New file.
48599 * iconvdata/cp772.c: New file.
48600 * iconvdata/cp773.c: New file.
48601 * iconvdata/cp774.c: New file.
48602 * iconvdata/testdata/CP770: New file.
48603 * iconvdata/testdata/CP770..UTF8: New file.
48604 * iconvdata/testdata/CP771: New file.
48605 * iconvdata/testdata/CP771..UTF8: New file.
48606 * iconvdata/testdata/CP772: New file.
48607 * iconvdata/testdata/CP772..UTF8: New file.
48608 * iconvdata/testdata/CP773: New file.
48609 * iconvdata/testdata/CP773..UTF8: New file.
48610 * iconvdata/testdata/CP774: New file.
48611 * iconvdata/testdata/CP774..UTF8: New file.
48612
48613 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48614 END CHARMAP line.
48615 * iconvdata/gen-8bit-gap.sh: Likewise.
48616 * iconvdata/gen-8bit.sh: Likewise.
48617
c1e9e399
UD
48618 * locale/iso-639.def: Add ary entry.
48619
24c55fb3 48620 [BZ #11258]
96b4b1b0
UD
48621 * locale/C-translit.h.in: Add U20A1 transliteration.
48622
bdc2f971
KB
48623 [BZ #12178]
48624 * locale/iso-639.def: Add wae entry.
48625 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48626
2952b117
UD
48627 [BZ #12545]
48628 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48629 for n.
48630
2a81eaa5
UD
48631 [BZ #12711]
48632 * locale/C-translit.h.in: Add entry for U20B9.
48633 Patch by pravin.d.s@gmail.com.
48634
28377d1b
UD
486352011-05-08 Ulrich Drepper <drepper@gmail.com>
48636
7fb90fb8
UD
48637 [BZ #12713]
48638 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48639 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
48640 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48641 in rtld. Use *stat64.
7fb90fb8 48642 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 48643 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 48644 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
48645 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48646 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48647 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48648 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48649 __fstatat64 macros.
7fb90fb8
UD
48650 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48651 * dirent/rewinddir.c: Add libc_hidden_def.
48652 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 48653 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 48654
28377d1b
UD
48655 * include/dirent.h (__alloc_dir): Add flags parameter.
48656 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48657 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48658 __alloc_dir.
48659 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48660 from fdopendir if O_CLOEXEC is already set.
48661
66bdbaa4
AM
486622011-03-15 Alan Modra <amodra@gmail.com>
48663
48664 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48665 l_tls_firstbyte_offset non-zero. Save padding offset in
48666 l_tls_firstbyte_offset for later use.
48667 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48668 freeing static tls block.
48669
95721191
JN
486702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48671
48672 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48673 where #ifdef was intended. The intent is to prevent ARG_MAX from
48674 being defined by the kernel headers.
48675
f87dfb1f
UD
486762011-05-07 Ulrich Drepper <drepper@gmail.com>
48677
48678 [BZ #12734]
48679 * resolv/resolv.h: Define RES_NOTLDQUERY.
48680 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48681 no-tld-query and set RES_NOTLDQUERY.
48682 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48683 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48684 modern BIND to search name as TLD unless forbidden.
48685
47c3cd7a
UD
486862011-05-07 Petr Baudis <pasky@suse.cz>
48687 Ulrich Drepper <drepper@gmail.com>
48688
48689 [BZ #12393]
48690 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48691 (is_trusted_path): ...to here.
c1e9ea35 48692 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 48693 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 48694 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 48695
8a35c912
PP
486962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48697
48698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48699 __BEGIN/__END_DECLS.
48700
acd41f47
UD
487012011-05-06 Ulrich Drepper <drepper@gmail.com>
48702
48703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48704 NSS_STATUS_NOTFOUND if no record was found.
48705
597df647
AS
487062011-05-05 Andreas Schwab <schwab@redhat.com>
48707
48708 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48709 (headers-not-in-tirpc): Remove rpc/netdb.h
48710 * resolv/netdb.h: Revert last change.
48711
b9af1301
PP
487122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48713
48714 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48715 circular dependency between libgcc.a and libc.a.
48716
4e34d5f5
AS
487172011-05-05 Andreas Schwab <schwab@redhat.com>
48718
48719 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48720 * nis/Makefile: Don't install rpcsvc/*.
48721 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48722 instead of <rpc/types.h>.
48723 (MAXHOSTNAMELEN): Define.
48724
00ee369c
AS
487252011-05-03 Andreas Schwab <schwab@redhat.com>
48726
48727 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48728
0b592a30
MB
487292011-04-28 Maciej Babinski <mbabinski@google.com>
48730
48731 [BZ #12714]
48732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48733 gethostbyname4_r when IPv6 results are possible.
48734
6e04cbbe
UD
487352011-05-02 Ulrich Drepper <drepper@gmail.com>
48736
48737 [BZ #12723]
48738 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48739 _PC_PIPE_BUF handling.
48740
e4ecafe0
BH
487412011-04-30 Bruno Haible <bruno@clisp.org>
48742
48743 [BZ #12717]
48744 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48745 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48746 to 'int'.
48747 * inet/getnameinfo.c (getnameinfo): Likewise.
48748
125ee683
UD
487492011-04-29 Ulrich Drepper <drepper@gmail.com>
48750
48751 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48752 to groups setting in database lookup.
48753 * nss/nsswitch.conf: Add initgroups entry.
48754
b722481a
EB
487552011-04-22 Ulrich Drepper <drepper@gmail.com>
48756
48757 [BZ #12685]
48758 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48759 mode string.
48760 Patch by Eric Blake <eblake@redhat.com>.
48761
4df46dbd
L
487622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48763
48764 * sunrpc/Makefile (need-export-routines): Add svc_run.
48765 (routines): Remove svc_run.
48766 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48767 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48768 * sunrpc/svc_run.c (svc_run): Likewise.
48769 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48770
e84142d2
UD
487712011-04-21 Ulrich Drepper <drepper@gmail.com>
48772
48773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48774 problem in reallocation in last patch.
48775
877175d8
UD
487762011-04-20 Ulrich Drepper <drepper@gmail.com>
48777
48778 * sunrpc/Makefile: Move inclusion of Rules.
48779
ab8eed78
UD
487802011-04-19 Ulrich Drepper <drepper@gmail.com>
48781
48782 * nss/nss_files/files-initgroups.c: New file.
48783 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48784 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48785 _nss_files_initgroups_dyn.
48786
e3d8f584
RS
487872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48788
48789 * elf/elf.h (R_ARM_IRELATIVE): Define.
48790
af190f45
UD
487912011-04-19 Ulrich Drepper <drepper@gmail.com>
48792
48793 * po/ru.po: Update from translation team.
48794
53cf59ef
UD
487952011-04-17 Ulrich Drepper <drepper@gmail.com>
48796
48797 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48798 dependencies.
48799
4c559bcd
MF
488002011-02-06 Mike Frysinger <vapier@gentoo.org>
48801
48802 [BZ #12653]
48803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48804 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48808
4420675c
AS
488092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48810
48811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48812 differing bytes.
48813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48816
75ea32ab
UD
488172011-04-17 Ulrich Drepper <drepper@gmail.com>
48818
48819 [BZ #12420]
48820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48821 storing it.
48822 * stdlib/bug-getcontext.c: New file.
48823 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48824
27390476
AK
488252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48826
48827 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48828 instructions into .machine "z9-109".
48829 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48830 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48831
10442705
AK
488322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48833
48834 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48835 between environment variables and auxiliary vector.
48836
7b57bfe5
UD
488372011-04-16 Ulrich Drepper <drepper@gmail.com>
48838
48839 * Makefile: Add rules to build linkobj/libc.so.
48840 * include/libc-symbols.h: Define libc_hidden_nolink.
48841 * include/rpc/auth.h: Mark functions which are to be hidden.
48842 * include/rpc/auth_des.h: Likewise.
48843 * include/rpc/auth_unix.h: Likewise.
48844 * include/rpc/clnt.h: Likewise.
48845 * include/rpc/des_crypt.h: Likewise.
48846 * include/rpc/key_prot.h: Likewise.
48847 * include/rpc/pmap_clnt.h: Likewise.
48848 * include/rpc/pmap_prot.h: Likewise.
48849 * include/rpc/pmap_rmt.h: Likewise.
48850 * include/rpc/rpc_msg.h: Likewise.
48851 * include/rpc/svc.h: Likewise.
48852 * include/rpc/svc_auth.h: Likewise.
48853 * include/rpc/xdr.h: Likewise.
48854 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48855 * nss/Makefile: Likewise.
48856 * sunrpc/Makefile: Don't install headers. Build library with normal
48857 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48858 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48859 for the compat linking library. Remove use of INTDEF/INTUSE.
48860 * sunrpc/auth_none.c: Likewise.
48861 * sunrpc/auth_unix.c: Likewise.
48862 * sunrpc/authdes_prot.c: Likewise.
48863 * sunrpc/authuxprot.c: Likewise.
48864 * sunrpc/clnt_gen.c: Likewise.
48865 * sunrpc/clnt_perr.c: Likewise.
48866 * sunrpc/clnt_raw.c: Likewise.
48867 * sunrpc/clnt_simp.c: Likewise.
48868 * sunrpc/clnt_tcp.c: Likewise.
48869 * sunrpc/clnt_udp.c: Likewise.
48870 * sunrpc/clnt_unix.c: Likewise.
48871 * sunrpc/des_crypt.c: Likewise.
48872 * sunrpc/des_soft.c: Likewise.
48873 * sunrpc/get_myaddr.c: Likewise.
48874 * sunrpc/key_call.c: Likewise.
48875 * sunrpc/key_prot.c: Likewise.
48876 * sunrpc/netname.c: Likewise.
48877 * sunrpc/pm_getmaps.c: Likewise.
48878 * sunrpc/pm_getport.c: Likewise.
48879 * sunrpc/pmap_clnt.c: Likewise.
48880 * sunrpc/pmap_prot.c: Likewise.
48881 * sunrpc/pmap_prot2.c: Likewise.
48882 * sunrpc/pmap_rmt.c: Likewise.
48883 * sunrpc/publickey.c: Likewise.
48884 * sunrpc/rpc_cmsg.c: Likewise.
48885 * sunrpc/rpc_common.c: Likewise.
48886 * sunrpc/rpc_dtable.c: Likewise.
48887 * sunrpc/rpc_prot.c: Likewise.
48888 * sunrpc/rpc_thread.c: Likewise.
48889 * sunrpc/rtime.c: Likewise.
48890 * sunrpc/svc.c: Likewise.
48891 * sunrpc/svc_auth.c: Likewise.
48892 * sunrpc/svc_authux.c: Likewise.
48893 * sunrpc/svc_raw.c: Likewise.
48894 * sunrpc/svc_run.c: Likewise.
48895 * sunrpc/svc_simple.c: Likewise.
48896 * sunrpc/svc_tcp.c: Likewise.
48897 * sunrpc/svc_udp.c: Likewise.
48898 * sunrpc/svc_unix.c: Likewise.
48899 * sunrpc/svcauth_des.c: Likewise.
48900 * sunrpc/xcrypt.c: Likewise.
48901 * sunrpc/xdr.c: Likewise.
48902 * sunrpc/xdr_array.c: Likewise.
48903 * sunrpc/xdr_float.c: Likewise.
48904 * sunrpc/xdr_intXX_t.c: Likewise.
48905 * sunrpc/xdr_mem.c: Likewise.
48906 * sunrpc/xdr_rec.c: Likewise.
48907 * sunrpc/xdr_ref.c: Likewise.
48908 * sunrpc/xdr_sizeof.c: Likewise.
48909 * sunrpc/xdr_stdio.c: Likewise.
48910
e6c61494
UD
489112011-04-10 Ulrich Drepper <drepper@gmail.com>
48912
48913 [BZ #12650]
48914 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48915 * sysdeps/ia64/dl-tls.h: Likewise.
48916 * sysdeps/powerpc/dl-tls.h: Likewise.
48917 * sysdeps/s390/dl-tls.h: Likewise.
48918 * sysdeps/sh/dl-tls.h: Likewise.
48919 * sysdeps/sparc/dl-tls.h: Likewise.
48920 * sysdeps/x86_64/dl-tls.h: Likewise.
48921 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48922
34fe483e
AS
489232011-03-14 Andreas Schwab <schwab@redhat.com>
48924
48925 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48926 rpath element also skip the following colon.
48927 (expand_dynamic_string_token): Add is_path parameter and pass
48928 down to DL_DST_REQUIRED and _dl_dst_substitute.
48929 (decompose_rpath): Call expand_dynamic_string_token with
48930 non-zero is_path. Ignore empty rpaths.
48931 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48932 with zero is_path.
48933
f12a32e6
AS
489342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48935
48936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48937 Make cancelable.
48938
38a7d692
UD
489392011-04-09 Ulrich Drepper <drepper@gmail.com>
48940
48941 [BZ #12655]
48942 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48943 Patch by Filipe David Manana <fdmanana@apache.org>.
48944
e451d22b
AS
489452011-04-07 Andreas Schwab <schwab@redhat.com>
48946
48947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48948 Maintain aligned stack.
48949 (CHECK_RSP): Remove unused macro.
48950
dedc7c7b
UD
489512011-04-03 Ulrich Drepper <drepper@gmail.com>
48952
48953 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48955
94521213
UD
489562011-04-02 Ulrich Drepper <drepper@gmail.com>
48957
48958 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48959
8cb700c0 48960 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 48961
0354e355
L
489622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48963
48964 [BZ #12518]
48965 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48966 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48967 * sysdeps/x86_64/memmove.c: New file.
48968 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48969 (memcpy): Renamed to ...
48970 (__new_memcpy): This.
48971 (memcpy): Provide GLIBC_2_14 memcpy.
48972 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48973 (memcpy): Provide GLIBC_2_2_5 memcpy.
48974
8593482f
UD
489752011-04-01 Ulrich Drepper <drepper@gmail.com>
48976
48977 [BZ #12631]
48978 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48979
81a5726b
AS
489802011-03-30 Andreas Schwab <schwab@redhat.com>
48981
48982 * misc/syncfs.c: New file.
48983 * misc/Makefile (routines): Add syncfs.
48984 * posix/unistd.h: Declare syncfs.
48985 * sysdeps/unix/syscalls.list: Add syncfs.
48986
00e5419f
AS
489872011-04-01 Andreas Schwab <schwab@redhat.com>
48988
48989 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48990 open_by_handle_at.
48991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48998
748876bf
UD
489992011-04-01 Ulrich Drepper <drepper@gmail.com>
49000
658e451d
UD
49001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49008
748876bf
UD
49009 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49010 sync_file_range.c with -fexceptions.
49011 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49012 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49013 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49014 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49015 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
49018 sync_file_range as cancellation point
49019 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49020 now a wrapper around __call_sync_file_range with cancellation handling.
49021 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49023 function name to __call_sync_file_range.
49024 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49025 Add call_sync_file_range.
748876bf 49026
6e63d5e1
AS
490272011-04-01 Andreas Schwab <schwab@redhat.com>
49028
49029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 49030 bits/timex.h.
6e63d5e1 49031
46998f74
UD
490322011-04-01 Ulrich Drepper <drepper@gmail.com>
49033
4c1423ed
UD
49034 * iconv/iconv.h: Fix typo in comment.
49035 * io/fcntl.h: Likewise.
49036 * libio/stdio.h: Likewise.
49037 * posix/spawn.h: Likewise.
49038 * posix/unistd.h: Likewise.
49039 * stdlib/stdlib.h: Likewise.
49040 * time/time.h: Likewise.
49041 * wcsmbs/wchar.h: Likewise.
49042
158648c0
UD
49043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49044 open_by_handle): Add.
49045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49046 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49047 Augment a few comments.
49048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49053 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49054 open_by_handle.
49055
46998f74
UD
49056 * io/fcntl.h (AT_EMPTY_PATH): Define.
49057
83fe108b
UD
490582011-03-30 Ulrich Drepper <drepper@gmail.com>
49059
49060 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49061 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49062 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49063 to...
49064 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
49065 * Versions.def: Add GLIBC_2.14.
49066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49067 Export.
83fe108b 49068
bb242059
UD
490692011-03-22 Ulrich Drepper <drepper@gmail.com>
49070
49071 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49072 round counter.
49073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49074
c97a1282
L
490752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49076
49077 [BZ #12597]
49078 * string/test-strncmp.c (do_page_test): New function.
49079 (check2): Likewise.
49080 (test_main): Call check2.
49081 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49082
2a115601
UD
490832011-03-20 Ulrich Drepper <drepper@gmail.com>
49084
49085 [BZ #12587]
49086 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49087 Handle cache information in CPU leaf 4.
49088 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49089
8126d904
UD
490902011-03-18 Ulrich Drepper <drepper@gmail.com>
49091
042c49c6 49092 [BZ #12583]
8126d904
UD
49093 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49094 character representation.
49095 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49096
ccfe366e
RA
490972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49098
49099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49100 END(__isnan) to END(__isnanf) to match function entry point/label
49101 EALIGN(__isnanf,...).
49102
c6e13027
JJ
491032011-03-10 Jakub Jelinek <jakub@redhat.com>
49104
49105 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49106
33f85a3f
UD
491072011-03-10 Ulrich Drepper <drepper@gmail.com>
49108
028478fa
UD
49109 [BZ #12510]
49110 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49111 copy from the symbol referenced in the relocation to initialize the
49112 used variable.
49113 Patch by Piotr Bury <pbury@goahead.com>.
49114 * elf/Makefile: Add rules to build and tst-unique3.
49115 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49116 * elf/tst-unique3.cc: New file.
49117 * elf/tst-unique3.h: New file.
49118 * elf/tst-unique3lib.cc: New file.
49119 * elf/tst-unique3lib2.cc: New file.
49120
33f85a3f
UD
49121 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49122
03592fc7
MF
491232011-03-10 Mike Frysinger <vapier@gentoo.org>
49124
49125 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49126 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49127 to _start.
03592fc7 49128
6a5ee102
UD
491292011-03-06 Ulrich Drepper <drepper@gmail.com>
49130
49131 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49132 to-be-loaded object along a path to loader is ld.so.
49133
7e4ba49c
HJ
491342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49135 Ulrich Drepper <drepper@gmail.com>
49136
49137 * sysdeps/x86_64/memset.S: After aligning destination, code
49138 branches to different locations depending on the value of
49139 misalignment, when multiarch is enabled. Fix this.
49140
491412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49142
49143 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49144 Set _x86_64_preferred_memory_instruction for AMD processsors.
49145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49146 Set bit_Prefer_SSE_for_memop for AMD processors.
49147
13a804de
UD
491482011-03-04 Ulrich Drepper <drepper@gmail.com>
49149
49150 * libio/fmemopen.c (fmemopen): Optimize a bit.
49151
9d25c392
AS
491522011-03-03 Andreas Schwab <schwab@redhat.com>
49153
49154 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49155
a5543c6a
RM
491562011-03-03 Roland McGrath <roland@redhat.com>
49157
49158 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49159
012d35f7
DM
491602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49161
7e4ba49c 49162 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
49163 __bzero_ultra1 instead of __memset_ultra1.
49164
4bff6e01
AS
491652011-02-23 Andreas Schwab <schwab@redhat.com>
49166 Ulrich Drepper <drepper@gmail.com>
49167
49168 [BZ #12509]
49169 * include/link.h (struct link_map): Add l_orig_initfini.
49170 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49171 returning unsuccessfully.
49172 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49173 close of a file loaded at startup, restore the original l_initfini
49174 list.
49175 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49176 list, store the pointer.
49177 * elf/Makefile ($(objpfx)noload-mem): New rule.
49178 (noload-ENV): Define.
49179 (tests): Add $(objpfx)noload-mem.
49180 * elf/noload.c: Include <memcheck.h>.
49181 (main): Call mtrace. Close all opened handles.
49182
f2092faf
AS
491832011-02-17 Andreas Schwab <schwab@redhat.com>
49184
49185 [BZ #12454]
49186 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49187 dependencies are missing.
49188
6c8a2e88
ST
491892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49190
f2092faf 49191 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
49192 Hurd needs munmap.
49193 * sysdeps/mach/hurd/ifreq.h: New file.
49194
84a42118
PB
491952011-01-27 Petr Baudis <pasky@suse.cz>
49196 Ulrich Drepper <drepper@gmail.com>
49197
071f805e 49198 [BZ 12445]#
84a42118
PB
49199 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49200 to extend_alloca().
49201 * stdio-common/bug23.c: New file.
49202 * stdio-common/Makefile (tests): Add bug23.
49203
e23fe25b
AS
492042010-09-28 Andreas Schwab <schwab@redhat.com>
49205 Ulrich Drepper <drepper@gmail.com>
49206
49207 [BZ #12489]
49208 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49209 before performing relro protection. At old place add assertion
49210 to make sure nothing changed.
49211
d3f02e10
NS
492122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49213 Glauber de Oliveira Costa <glommer@gmail.com>
49214
49215 * elf/elf.h: Add new ARM TLS relocs.
49216
d55fd7a5
RA
492172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49218
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49220 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49221 cast from r3.
49222 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49223 'tests' variable.
49224 * sysdeps/wordsize-64/tst-writev.c: New file.
49225
2206397e
RA
492262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49227
49228 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49229 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49230 insns in _dl_start to prevent a TOC reference before relocs are
49231 resolved.
49232
e9433893
UD
492332011-02-15 Ulrich Drepper <drepper@gmail.com>
49234
49235 [BZ #12469]
49236 * Makeconfig: Remove RANLIB definition.
49237 * Makerules: Don't use RANLIB.
49238 * aclocal.m4: Remove ranlib test.
49239 * configure.in: No need to check for ranlib.
49240 * elf/rtld-Rules: Don't use RANLIB.
49241
f75286c6
ST
492422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49243
8e31c82d
ST
49244 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49245 protection macro.
49246 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49247 inclusion protection macro.
49248
f75286c6
ST
49249 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49250 SIGRTMIN and SIGRTMAX and print information in that case only when
49251 SIGRTMIN is defined.
49252
c1d0e639
JJ
492532011-02-11 Jakub Jelinek <jakub@redhat.com>
49254
49255 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49256 arginfo fn returning -1.
49257
49258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49259 and thousands string is zero terminated.
49260
edf9294e
AS
492612011-02-03 Andreas Schwab <schwab@redhat.com>
49262
49263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49264 sysdeps/unix/sysv/linux/bits/socket.h.
49265
2b7e92df
ST
492662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49267
edf9294e
AS
49268 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49269 (__CPU_COUNT): Remove old macros.
49270 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49271 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49272 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
49273 (__sched_cpualloc, __sched_cpufree): Add declarations.
49274
a4c7ea7b
UD
492752011-02-05 Ulrich Drepper <drepper@gmail.com>
49276
49277 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49278 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49279 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49280 (readdhstai): Return value of addhstaiX call.
49281 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49282 (addgrbyX): Return value returned by cache_addgr.
49283 (readdgrbyname): Return value returned by addgrbyX.
49284 (readdgrbygid): Likewise.
49285 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49286 (addpwbyX): Return value returned by cache_addpw.
49287 (readdpwbyname): Return value returned by addhstbyX.
49288 (readdpwbyuid): Likewise.
49289 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49290 (addservbyX): Return value returned by cache_addserv.
49291 (readdservbyname): Return value returned by addservbyX:
49292 (readdservbyport): Likewise.
49293 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49294 (addhstbyX): Return value returned by cache_addhst.
49295 (readdhstbyname): Return value returned by addhstbyX.
49296 (readdhstbyaddr): Likewise.
49297 (readdhstbynamev6): Likewise.
49298 (readdhstbyaddrv6): Likewise.
49299 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49300 (readdinitgroups): Return value returned by addinitgroupsX.
49301 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49302 (prune_cache): Keep track of timeout value of re-added entries.
49303 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49304 * nscd/nscd.h: Adjust prototypes of readd* functions.
49305
a0bf67cc
RM
493062011-02-04 Roland McGrath <roland@redhat.com>
49307
49308 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49309 (nis_stats): Likewise.
49310 * nis/nis_modify.c (nis_modify): Likewise.
49311 * nis/nis_remove.c (nis_remove): Likewise.
49312 * nis/nis_add.c (nis_add): Likewise.
49313
49314 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49315
49316 * posix/fnmatch_loop.c: Add some consts.
49317
49318 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49319
435b95eb
L
493202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49321
49322 [BZ #12460]
49323 * config.make.in (config-cflags-novzeroupper): Define.
49324 * configure.in: Substitute libc_cv_cc_novzeroupper.
49325 * elf/Makefile (AVX-CFLAGS): Define.
49326 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49327 (CFLAGS-tst-auditmod4a.c): Likewise.
49328 (CFLAGS-tst-auditmod4b.c): Likewise.
49329 (CFLAGS-tst-auditmod6b.c): Likewise.
49330 (CFLAGS-tst-auditmod6c.c): Likewise.
49331 (CFLAGS-tst-auditmod7b.c): Likewise.
49332 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49333
8517b15e
UD
493342011-02-02 Ulrich Drepper <drepper@gmail.com>
49335
49336 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49337 function to the callback.
49338 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49339
10a656fe
AS
493402011-02-02 Andreas Schwab <schwab@redhat.com>
49341
49342 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49343 of errno.
49344
968dad0a
UD
493452011-01-19 Ulrich Drepper <drepper@gmail.com>
49346
9f94d2ea 49347 [BZ #11724]
968dad0a
UD
49348 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49349 of constructors.
49350 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49351 of destructors.
49352 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49353
49354 [BZ #11724]
49355 * elf/Makefile: Add rules to build and run new test.
49356 * elf/tst-initorder.c: New file.
49357 * elf/tst-initorder.exp: New file.
49358 * elf/tst-initordera1.c: New file.
49359 * elf/tst-initordera2.c: New file.
49360 * elf/tst-initordera3.c: New file.
49361 * elf/tst-initordera4.c: New file.
49362 * elf/tst-initorderb1.c: New file.
49363 * elf/tst-initorderb2.c: New file.
49364 * elf/tst-order-a1.c: New file.
49365 * elf/tst-order-a2.c: New file.
49366 * elf/tst-order-a3.c: New file.
49367 * elf/tst-order-a4.c: New file.
49368 * elf/tst-order-b1.c: New file.
49369 * elf/tst-order-b2.c: New file.
49370 * elf/tst-order-main.c: New file.
49371 New test case by George Gensure <werkt0@gmail.com>.
49372
86e92359
UD
493732010-10-01 Andreas Schwab <schwab@redhat.com>
49374
49375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49376 decoding ACE if AI_CANONIDN.
49377
5d5732b0
UD
493782011-01-18 Ulrich Drepper <drepper@gmail.com>
49379
49380 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49381
a77e8cbc
UD
493822011-01-17 Ulrich Drepper <drepper@gmail.com>
49383
6392473f
UD
49384 * version.h (RELEASE): Bump for 2.13 release.
49385 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49386
620a0529
UD
49387 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49388
18ba70a5
UD
49389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49390 MADV_NOHUGEPAGE.
32465c3e
UD
49391 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49397
c0dafcf1
UD
49398 * posix/getconf.c: Update copyright year.
49399 * catgets/gencat.c: Likewise.
49400 * csu/version.c: Likewise.
49401 * debug/catchsegv.sh: Likewise.
49402 * debug/xtrace.sh: Likewise.
49403 * elf/ldconfig.c: Likewise.
49404 * elf/ldd.bash.in: Likewise.
49405 * elf/sprof.c (print_version): Likewise.
49406 * iconv/iconv_prog.c: Likewise.
49407 * iconv/iconvconfig.c: Likewise.
49408 * locale/programs/locale.c: Likewise.
49409 * locale/programs/localedef.c: Likewise.
49410 * malloc/memusage.sh: Likewise.
49411 * malloc/mtrace.pl: Likewise.
49412 * nscd/nscd.c (print_version): Likewise.
49413 * nss/getent.c: Likewise.
49414
a77e8cbc
UD
49415 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49416 PF_CAIF, and PF_ALG.
49417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49418
77e8bddf
AS
494192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49420
1f20b93a
AS
49421 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49422 (modules-names): Use them.
49423 (ifunc-test-modules, ifunc-pie-tests): Define.
49424 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49425 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49426 (test-extras): Likewise.
49427 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49428 $(compile-command.c).
49429 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49430 (all-built-dso): Define.
49431 (check-textrel.out, check-execstack.out): Depend on it.
49432
77e8bddf
AS
49433 * configure.in: Don't override --enable-multi-arch.
49434
bc425b33
UD
494352011-01-15 Ulrich Drepper <drepper@gmail.com>
49436
49437 [BZ #6812]
49438 * nscd/hstcache.c (tryagain): Define.
49439 (cache_addhst): Return tryagain not notfound for temporary errors.
49440 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49441 failed.
49442
794c3ad3
UD
494432011-01-14 Ulrich Drepper <drepper@gmail.com>
49444
70181fdd
UD
49445 [BZ #10563]
49446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49447 to make the syscall.
49448 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49449
794c3ad3
UD
49450 [BZ #12378]
49451 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49452 and fall back to matching as normal character if the string ends before
49453 the matching ']' is found. This is what POSIX requires.
49454 * posix/testfnm.c: Adjust test result.
49455 * posix/globtest.sh: Adjust test result. Add new test.
49456 * posix/tst-fnmatch.input: Likewise.
49457 * posix/tst-fnmatch2.c: Add new test.
49458
68dc9497
AS
494592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49460
49461 * elf/Makefile (check-execstack): Revert last change. Depend on
49462 check-execstack.h.
49463 (check-execstack.h): New target.
49464 (generated): Add check-execstack.h.
49465 * elf/check-execstack.c: Include "check-execstack.h".
49466 (main): Revert last change.
49467 (handle_file): Return zero if GNU_STACK is absent and
49468 DEFAULT_STACK_PERMS doesn't include PF_X.
49469
451f001b
UD
494702011-01-13 Ulrich Drepper <drepper@gmail.com>
49471
cfa28e56
UD
49472 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49473 in child fails because the descriptor is already closed.
8cf8ce17
UD
49474 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49475 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 49477
1086d70d
UD
49478 [BZ #12397]
49479 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49480 syscall.
49481
451f001b
UD
49482 [BZ #10484]
49483 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49484 temporary buffer used to handle multi lookups locally.
a85b5cb4 49485 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 49486
08769175
UD
494872011-01-12 Ulrich Drepper <drepper@gmail.com>
49488
49489 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49490 loader is ld.so.
49491
5e49c52e
UD
494922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49493
49494 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49495 alignment for SSE2.
49496
60522a5f
UD
494972011-01-12 Ulrich Drepper <drepper@gmail.com>
49498
49499 [BZ #12394]
49500 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49501 characters. When rounding increased number of integer digits recompute
49502 number of groups.
49503 * stdio-common/tst-grouping.c: New file.
49504 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49505
f257bbd7
UD
495062011-01-09 Ulrich Drepper <drepper@gmail.com>
49507
49508 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49509 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49510
49511 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49512 void.
49513 * bits/select.h: Likewise.
49514
fa9c15cb
UD
495152011-01-08 Ulrich Drepper <drepper@gmail.com>
49516
49517 * po/ja.po: Update from translation team.
49518
16c2895f
DM
495192011-01-04 David S. Miller <davem@sunset.davemloft.net>
49520
49521 [BZ #11155]
49522 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49523 implementation just like for lxstat, fxstatat, et al.
49524
2543fef2
JM
495252010-12-27 Jim Meyering <meyering@redhat.com>
49526
49527 [BZ #12348]
49528 * posix/regexec.c (build_trtable): Return failure indication upon
49529 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49530
98727dbe
UD
495312010-12-25 Ulrich Drepper <drepper@gmail.com>
49532
5bd6dc5c
UD
49533 [BZ #12201]
49534 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49535 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49538
97983464
UD
49539 [BZ #12207]
49540 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49541
98727dbe
UD
49542 [BZ #12204]
49543 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49544 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49545
4a531bb0
L
495462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49547
49548 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49549 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49550 script has SORT_BY_INIT_PRIORITY.
49551 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49552 NO_CTORS_DTORS_SECTIONS is defined.
49553 * elf/soinit.c: Likewise.
49554 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49555 NO_CTORS_DTORS_SECTIONS is defined.
49556 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49557 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49558 * sysdeps/sh/init-first.c: Likewise.
49559 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49560
07eb4b71
UD
495612010-12-24 Ulrich Drepper <drepper@gmail.com>
49562
49563 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49564 always use the slow path.
49565
30950a5f
RA
495662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49567
49568 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49569 similar rule which adds the sysdep directories to the header search in
49570 order to pick up the correct platform stackinfo.h.
49571 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49572 perform test if it is, otherwise return successfully without testing.
49573 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49574 DEFAULT_STACK_PERMS define in stackinfo.h.
49575 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49576 defined in stackinfo.h.
49577 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49578 DEFAULT_STACK_PERMS defined in stackinfo.h.
49579 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49580 * sysdeps/ia64/stackinfo.h: Likewise.
49581 * sysdeps/s390/stackinfo.h: Likewise.
49582 * sysdeps/sh/stackinfo.h: Likewise.
49583 * sysdeps/sparc/stackinfo.h: Likewise.
49584 * sysdeps/x86_64/stackinfo.h: Likewise.
49585 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49586 PF_X for powerpc64. Retain PF_X for powerpc32.
49587
db753e2c
UD
495882010-12-19 Ulrich Drepper <drepper@gmail.com>
49589
14b697f7
UD
49590 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49591 accurately.
db753e2c
UD
49592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49593 GETDENTS_64BIT_ALIGNED.
49594
28300719
UD
495952010-12-14 Ulrich Drepper <dreper@gmail.com>
49596
14b697f7 49597 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 49598
4f197237
AS
495992010-12-10 Andreas Schwab <schwab@redhat.com>
49600
dbb0472f
AS
49601 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49602 _GNU_SOURCE.
49603
4f197237
AS
49604 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49605 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49606 Remove __restrict.
49607 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49608 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49609
fb88ac72
UD
496102010-12-09 Ulrich Drepper <drepper@gmail.com>
49611
49612 [BZ #11655]
49613 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49614 are initialized.
49615
42acbb92
JJ
496162010-12-09 Jakub Jelinek <jakub@redhat.com>
49617
49618 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49619
c038d98d
UD
496202010-12-03 Ulrich Drepper <drepper@gmail.com>
49621
49622 * po/it.po: Update from translation team.
49623
3a4a2499
L
496242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49625
49626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49627 unused codes.
49628
1e24cf6e
UD
496292010-11-30 Ulrich Drepper <drepper@gmail.com>
49630
49631 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49632
a7690819
AS
496332010-11-24 Andreas Schwab <schwab@redhat.com>
49634
49635 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49636 specially.
49637 (gaih_getanswer_slice): Likewise.
49638
3bf8d1b1
JJ
496392010-10-20 Jakub Jelinek <jakub@redhat.com>
49640
49641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49642
6db52fbb
PB
496432010-05-31 Petr Baudis <pasky@suse.cz>
49644
49645 [BZ #11149]
49646 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49647 silently even in the chroot mode.
49648
eaca7569
UD
496492010-11-22 Ulrich Drepper <drepper@gmail.com>
49650
49651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49652 last patch a bit. Pretty printing
49653
3056dcdb
UD
496542010-05-31 Petr Baudis <pasky@suse.cz>
49655
49656 [BZ #10085]
49657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49658 initialization of skip_initgroups_dyn.
49659
cf7c9078
UD
496602010-11-19 Ulrich Drepper <drepper@gmail.com>
49661
49662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49664
a1fb5e3e
UD
496652010-11-16 Ulrich Drepper <drepper@gmail.com>
49666
49667 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49668
3540d66b
AS
496692010-11-11 Andreas Schwab <schwab@redhat.com>
49670
49671 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49672 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49673 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49674 ($(objpfx)tst-fnmatch-mem): New rule.
49675 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49676 * posix/tst-fnmatch.c (main): Call mtrace.
49677
13b69574
L
496782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49679
49680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49681 Support Intel processor model 6 and model 0x2c.
49682
da93d214
LM
496832010-11-10 Luis Machado <luisgpm@br.ibm.com>
49684
49685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49686 signed comparison.
49687
8ca52c6e
L
496882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49689
49690 [BZ #12205]
49691 * string/test-strncasecmp.c (check_result): New function.
49692 (do_one_test): Use it.
49693 (check1): New function.
49694 (test_main): Use it.
49695 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49696 Support strcasecmp and strncasecmp.
49697
69da074d
UD
496982010-11-08 Ulrich Drepper <drepper@gmail.com>
49699
49700 [BZ #12194]
49701 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49703
ff02d528
L
497042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49705
49706 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49707 IFUNC support.
49708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49709 memset-x86-64.
49710 * sysdeps/x86_64/multiarch/bzero.S: New file.
49711 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49712 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49713 * sysdeps/x86_64/multiarch/memset.S: New file.
49714 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49716 Set bit_Prefer_SSE_for_memop for Intel processors.
49717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49718 Define.
49719 (index_Prefer_SSE_for_memop): Define.
49720 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49721
344d0b54
LM
497222010-11-04 Luis Machado <luisgpm@br.ibm.com>
49723
49724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49726
c0dde15b
UD
497272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49728
49729 [BZ #12191]
49730 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49731 (__x86_64_raw_data_cache_size_half): Likewise.
49732 (__x86_64_raw_shared_cache_size): Likewise.
49733 (__x86_64_raw_shared_cache_size_half): Likewise.
49734
49735 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49736 (__x86_64_raw_data_cache_size_half): Likewise.
49737 (__x86_64_raw_shared_cache_size): Likewise.
49738 (__x86_64_raw_shared_cache_size_half): Likewise.
49739 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49740 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49741 and __x86_64_raw_shared_cache_size_half. Round
49742 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49743 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49744 to multiple of 256 bytes.
49745
0e516e0e
MS
497462010-11-03 Ulrich Drepper <drepper@gmail.com>
49747
49748 [BZ #12167]
49749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49750 of inacessible symlinks. Verify result of symlink before returning it.
49751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49752 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49753
0e012e87
ER
497542010-10-28 Erich Ritz <erichritz@gmail.com>
49755
49756 * math/math.h (isinf): Fix typo in comment.
49757
de0ff7bc
UD
497582010-11-01 Ulrich Drepper <drepper@gmail.com>
49759
49760 * po/da.po: Update from translation team.
49761
fa41c84d
UD
497622010-10-26 Ulrich Drepper <drepper@gmail.com>
49763
49764 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49765 is added to the list.
49766
f0967738
AK
497672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49768 Ulrich Drepper <drepper@gmail.com>
49769
49770 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49771 the global list here. Move code to...
49772 (_dl_add_to_namespace_list): ...here. New function.
49773 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49774 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49775 * elf/dl-load.c (lose): Don't remove the element from the list.
49776 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49777 (_dl_map_object): Likewise.
49778
497792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
49780
49781 [BZ #12159]
49782 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49783 into all bytes of SSE register.
49784 Patch by Richard Li <richardpku@gmail.com>.
49785
f0967738 497862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
49787
49788 [BZ #12140]
49789 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49790 perturbing.
49791
d0b9e94f
MB
497922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49793
49794 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49795 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49797 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49799 submachine.
49800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49801
8e9f92e9
AS
498022010-10-22 Andreas Schwab <schwab@redhat.com>
49803
49804 * include/dlfcn.h (__RTLD_SECURE): Define.
49805 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49806 mode & __RTLD_SECURE instead.
49807 (open_path): Rename preloaded parameter to secure.
49808 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49809 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49810 * elf/dl-deps.c (openaux): Likewise.
49811 * elf/rtld.c (struct map_args): Remove is_preloaded.
49812 (map_doit): Don't use it.
49813 (dl_main): Likewise.
49814 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49815 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49816
bc96fbda
AS
498172010-09-09 Andreas Schwab <schwab@redhat.com>
49818
49819 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49820 (sysd-rules-targets): Remove duplicates.
49821 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49822 rtld-%.$o dependency.
49823
22cd1c9b
AS
498242010-10-18 Andreas Schwab <schwab@redhat.com>
49825
49826 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49827 _dl_map_object do it.
49828
18edac48
UD
498292010-10-19 Ulrich Drepper <drepper@gmail.com>
49830
49831 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49832 fast fma builtins, define the macros in the C99 standard.
49833 (FP_FAST_FMAF): Likewise.
49834 (FP_FAST_FMAL): Likewise.
49835 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49836
49837 * bits/mathdef.h: Update copyright year.
49838 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49839
d2050124
MM
498402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49841
49842 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49843 builtins, define the macros in the C99 standard.
49844 (FP_FAST_FMAF): Likewise.
49845 (FP_FAST_FMAL): Likewise.
49846 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49847 multiply/add.
49848 (FP_FAST_FMAF): Likewise.
49849
475facd1
JJ
498502010-10-15 Jakub Jelinek <jakub@redhat.com>
49851
49852 [BZ #3268]
49853 * math/libm-test.inc (fma_test): Some new testcases.
49854 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49856 y and infinite z. Do multiplication by C already in long double.
49857 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49859 y and infinite z. Do bitwise or of inexact bit into u.d.
49860 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49861 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49862 * sysdeps/i386/fpu/s_fma.S: Removed.
49863 * sysdeps/i386/fpu/s_fmal.S: Removed.
49864
7c08a05c
JJ
498652010-10-16 Jakub Jelinek <jakub@redhat.com>
49866
49867 [BZ #3268]
49868 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49870 computation is not scheduled after fetestexcept. Fix value
49871 of minimum denormal long double.
49872
f3f7372d
JJ
498732010-10-14 Jakub Jelinek <jakub@redhat.com>
49874
49875 [BZ #3268]
49876 * math/libm-test.inc (fma_test): Add some more tests.
49877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49878 correctly.
49879
14d43591
AS
498802010-10-15 Andreas Schwab <schwab@redhat.com>
49881
49882 * scripts/data/localplt-s390-linux-gnu.data: New file.
49883 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49884
5e908464
JJ
498852010-10-13 Jakub Jelinek <jakub@redhat.com>
49886
49887 [BZ #3268]
49888 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49889 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49890 instead of dbl-64.
49891 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49892 inlines.
49893 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49895 if one of x and y is very large and the other is subnormal.
49896 * sysdeps/s390/fpu/s_fmaf.c: New file.
49897 * sysdeps/s390/fpu/s_fma.c: New file.
49898 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49899 * sysdeps/powerpc/fpu/s_fma.S: New file.
49900 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49901 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49902 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49903
499042010-10-12 Jakub Jelinek <jakub@redhat.com>
49905
49906 [BZ #3268]
49907 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49908 fma tests.
49909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49910 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49911 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49912 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49913 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49914 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49915 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49916
b833d51f
UD
499172010-10-12 Ulrich Drepper <drepper@redhat.com>
49918
49919 [BZ #12078]
49920 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49921 * posix/bug-regex31.input: Add test case.
49922
1751705d
UD
499232010-10-11 Ulrich Drepper <drepper@gmail.com>
49924
e9b9cbf5
UD
49925 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49926 * posix/bug-regex31.input: New file.
49927
49928 [BZ #12078]
49929 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49930 (parse_sub_exp): Fix last change, use postorder.
49931
ef06edbe
UD
49932 * posix/bug-regex31.c: New file.
49933 * posix/Makefile: Add rules to build and run bug-regex31.
49934
a129c80d
UD
49935 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49936
49937 [BZ #12078]
49938 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49939
b76b818e
UD
49940 [BZ #12108]
49941 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49942 to have entries in sys_siglist.
49943
1751705d
UD
49944 [BZ #12093]
49945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49946 be NULL.
49947
9ff8d36f
JJ
499482010-10-07 Jakub Jelinek <jakub@redhat.com>
49949
49950 [BZ #3268]
49951 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49952 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49954 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49956 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49957 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49958 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49959 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49960 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49961 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49963 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49964 * math/ftestexcept.c (fetestexcept): Likewise.
49965 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49966 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49967 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49969 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49970 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49972
af325969
UD
499732010-10-11 Ulrich Drepper <drepper@gmail.com>
49974
c579b202 49975 [BZ #12107]
af325969
UD
49976 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49977 newline.
49978
67a67b95
UD
499792010-10-06 Ulrich Drepper <drepper@gmail.com>
49980
49981 * string/bug-strstr1.c: New file.
49982 * string/Makefile: Add rules to build and run bug-strstr1.
49983
5fb308bc
EB
499842010-10-05 Eric Blake <eblake@redhat.com>
49985
49986 [BZ #12092]
49987 * string/str-two-way.h (two_way_long_needle): Always clear memory
49988 when skipping input due to the shift table.
49989
45db99c7
UD
499902010-10-03 Ulrich Drepper <drepper@gmail.com>
49991
3b111893
UD
49992 [BZ #12005]
49993 * malloc/mcheck.c: Handle large requests.
49994
45db99c7
UD
49995 [BZ #12077]
49996 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49997 for strncmp and strncasecmp.
49998 * string/stratcliff.c: Add tests for strcmp and strncmp.
49999 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50000
cf7a1eb8
NI
500012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50002
50003 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50004 __set_fpscr.
50005
6484ba5e
AJ
500062010-09-30 Andreas Jaeger <aj@suse.de>
50007
50008 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50009 (CGROUP_SUPER_MAGIC): Define.
50010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50011 Handle btrfs and cgroup file systems.
50012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50013 Likewise.
50014
91c42559
LM
500152010-09-27 Luis Machado <luisgpm@br.ibm.com>
50016
50017 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50018 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50019
87a97932
AK
500202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50021
50022 [BZ #12067]
50023 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50024 trying to locate the ELF header.
50025
c21cc9bc
AS
500262010-09-27 Andreas Schwab <schwab@redhat.com>
50027
50028 [BZ #11611]
50029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50030 Mask out sign-bit copies when constructing f_fsid.
50031
315970f6
PB
500322010-09-24 Petr Baudis <pasky@suse.cz>
50033
50034 * debug/stack_chk_fail_local.c: Add missing licence exception.
50035 * debug/warning-nop.c: Likewise.
50036
1ac7a2c7
JM
500372010-09-15 Joseph Myers <joseph@codesourcery.com>
50038
50039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50040 implementing getdents64 using getdents syscall, set d_type if
50041 __ASSUME_GETDENTS32_D_TYPE.
50042
56801c50
AS
500432010-09-16 Andreas Schwab <schwab@redhat.com>
50044
50045 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50046 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50047
dda51327
UD
500482010-09-21 Ulrich Drepper <drepper@redhat.com>
50049
50050 [BZ #12037]
50051 * posix/unistd.h: Undo change of feature selection for ftruncate from
50052 2010-01-11.
50053
8ffcee4a
UD
500542010-09-20 Ulrich Drepper <drepper@redhat.com>
50055
a545ecd9 50056 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
50057 detection.
50058
e24f0a8b
AS
500592010-09-20 Andreas Schwab <schwab@redhat.com>
50060
50061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50062 fanotify_mark.
50063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50064
7291c56f
AS
500652010-09-14 Andreas Schwab <schwab@redhat.com>
50066
50067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50068 variables after CHECK_SP call.
50069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50070
bc5fb037
AS
500712010-09-13 Andreas Schwab <schwab@redhat.com>
50072 Ulrich Drepper <drepper@redhat.com>
50073
50074 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50075 re-relocationg ld.so.
50076 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50077 _dl_init_paths call.
50078 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50079 here anymore.
50080
e66e7419
UD
500812010-09-14 Ulrich Drepper <drepper@redhat.com>
50082
50083 * resolv/res_init.c (__res_vinit): Count the default server we added.
50084
c044aa75
CLT
500852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50086 Ulrich Drepper <drepper@redhat.com>
50087
50088 [BZ #11968]
50089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50090 (____longjmp_chk): Use %ebx for saving value across system call.
50091 Add unwind info.
50092
32cf4069
AS
500932010-09-06 Andreas Schwab <schwab@redhat.com>
50094
50095 * manual/Makefile: Don't mix pattern rules with normal rules.
50096
817328ee
AS
500972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50098
50099 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50100 operation.
50101 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50102 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50103 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50104 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50106 Likewise.
50107
29fddf61
UD
501082010-09-04 Ulrich Drepper <drepper@redhat.com>
50109
50110 [BZ #11979]
50111 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50112 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50113
0959ffc9
UD
501142010-09-02 Ulrich Drepper <drepper@redhat.com>
50115
50116 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50117 * sysdeps/x86_64/addmul_1.S: Likewise.
50118 * sysdeps/x86_64/lshift.S: Likewise.
50119 * sysdeps/x86_64/mul_1.S: Likewise.
50120 * sysdeps/x86_64/rshift.S: Likewise.
50121 * sysdeps/x86_64/sub_n.S: Likewise.
50122 * sysdeps/x86_64/submul_1.S: Likewise.
50123
ece29840
ST
501242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50125
0959ffc9
UD
50126 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50127 Define __sched_param instead of SCHED_* and sched_param when
ece29840 50128 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 50129 * bits/sched.h [__need_schedparam]
ece29840 50130 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
50131 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50132 (__defined_schedparam): Define to 1.
ece29840
ST
50133 (__sched_param): New structure, identical to sched_param.
50134 (__need_schedparam): Undefine.
50135
e53a31fe
MF
501362010-08-31 Mike Frysinger <vapier@gentoo.org>
50137
fdc0c10d
MF
50138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50139 (epoll_create1): Declare.
50140
e53a31fe
MF
50141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50142
a726d796
AS
501432010-08-31 Andreas Schwab <schwab@redhat.com>
50144
50145 [BZ #7066]
50146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50147 shifting retval into place.
50148
2f3e3dc7
UD
501492010-09-01 Ulrich Drepper <drepper@redhat.com>
50150
f2933da9
UD
50151 * nis/rpcsvc/nis.h: Update copyright notice.
50152 * nis/rpcsvc/nis.x: Likewise.
50153 * nis/rpcsvc/nis_callback.h: Likewise.
50154 * nis/rpcsvc/nis_callback.x: Likewise.
50155 * nis/rpcsvc/nis_object.x: Likewise.
50156 * nis/rpcsvc/nis_tags.h: Likewise.
50157 * nis/rpcsvc/yp.h: Likewise.
50158 * nis/rpcsvc/yp.x: Likewise.
50159 * nis/rpcsvc/ypupd.h: Likewise.
50160 * nis/yp_xdr.c: Likewise.
50161 * nis/ypupdate_xdr.c: Likewise.
50162
2f3e3dc7
UD
50163 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50164 mainly the body of pmap_getport. Add parameters to specify timeouts.
50165 (pmap_getport): Use __libc_rpc_getport.
50166 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50167 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50168 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50169
f3dcc2f9
AS
501702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50171
50172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50173 fanotify_mark.
50174
6d34eb5b
RM
501752010-08-27 Roland McGrath <roland@redhat.com>
50176
50177 * sysdeps/i386/i686/multiarch/Makefile
50178 (CFLAGS-varshift.c): New variable.
50179
9ea3de11
UD
501802010-08-27 Ulrich Drepper <drepper@redhat.com>
50181
c96d23fc
UD
50182 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50183 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50184
9ea3de11
UD
50185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50186
50187 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50188
623aac7f
L
501892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50190
50191 * sysdeps/x86_64/strlen.S: Unroll the loop.
50192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50193 strlen-sse2 strlen-sse2-bsf.
50194 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50195 __strlen_no_bsf if bit_Slow_BSF is set.
50196 (__strlen_sse42): Removed.
50197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50198 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50199
8b2b7715
RM
502002010-08-25 Roland McGrath <roland@redhat.com>
50201
50202 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50203 * sysdeps/x86_64/multiarch/varshift.c: New file.
50204 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50205 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50206 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50207 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50208
e73015f2
L
502092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50210
50211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50212 strlen-sse2 strlen-sse2-bsf.
50213 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50214 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50215 (__strlen_sse2): Removed.
50216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50219 bit_Slow_BSF for Atom.
50220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50221 (index_Slow_BSF): Define.
50222 (HAS_SLOW_BSF): Define.
50223
df24a73e
UD
502242010-08-25 Ulrich Drepper <drepper@redhat.com>
50225
50226 [BZ #10851]
50227 * resolv/res_init.c (__res_vinit): When no server address at all
50228 is given default to loopback.
50229
f2ac4868
RM
502302010-08-24 Roland McGrath <roland@redhat.com>
50231
09055553
RM
50232 * configure.in: Remove config-name.h generation.
50233 * configure: Regenerated.
50234 * config-name.in: File removed.
50235 * scripts/config-uname.sh: New file.
50236 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50237 ($(objdir)config-name.h): New target.
50238
f2ac4868
RM
50239 * sunrpc/rpc_parse.h: Avoid nested comment.
50240
73f27d5e
RH
502412010-08-24 Richard Henderson <rth@redhat.com>
50242 Ulrich Drepper <drepper@redhat.com>
50243 H.J. Lu <hongjiu.lu@intel.com>
50244
50245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50247 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50248 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50249 _mm_alignr_epi8 with _mm_loadu_si128.
50250 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50251 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50252 (__m128i_shift_right): Removed.
50253 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50254 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50255 * sysdeps/x86_64/multiarch/varshift.h: New file.
50256 * sysdeps/x86_64/multiarch/varshift.S: New file.
50257
84b9230c
MF
502582010-08-21 Mike Frysinger <vapier@gentoo.org>
50259
50260 * configure.in: Move assembler checks to before sysdep dir checking.
50261
9bbd0ddc
PB
502622010-08-20 Petr Baudis <pasky@suse.cz>
50263
50264 * LICENSES: Sync the sunrpc license.
50265
9da4bb31
UD
502662010-08-19 Ulrich Drepper <drepper@redhat.com>
50267
a7ab6ec8
UD
50268 * sunrpc/auth_des.c: Update copyright notice once again.
50269 * sunrpc/auth_none.c: Likewise.
50270 * sunrpc/auth_unix.c: Likewise.
50271 * sunrpc/authdes_prot.c: Likewise.
50272 * sunrpc/authuxprot.c: Likewise.
50273 * sunrpc/bindrsvprt.c: Likewise.
50274 * sunrpc/clnt_gen.c: Likewise.
50275 * sunrpc/clnt_perr.c: Likewise.
50276 * sunrpc/clnt_raw.c: Likewise.
50277 * sunrpc/clnt_simp.c: Likewise.
50278 * sunrpc/clnt_tcp.c: Likewise.
50279 * sunrpc/clnt_udp.c: Likewise.
50280 * sunrpc/clnt_unix.c: Likewise.
50281 * sunrpc/des_crypt.c: Likewise.
50282 * sunrpc/des_soft.c: Likewise.
50283 * sunrpc/get_myaddr.c: Likewise.
50284 * sunrpc/getrpcport.c: Likewise.
50285 * sunrpc/key_call.c: Likewise.
50286 * sunrpc/key_prot.c: Likewise.
50287 * sunrpc/openchild.c: Likewise.
50288 * sunrpc/pm_getmaps.c: Likewise.
50289 * sunrpc/pm_getport.c: Likewise.
50290 * sunrpc/pmap_clnt.c: Likewise.
50291 * sunrpc/pmap_prot.c: Likewise.
50292 * sunrpc/pmap_prot2.c: Likewise.
50293 * sunrpc/pmap_rmt.c: Likewise.
50294 * sunrpc/rpc/auth.h: Likewise.
50295 * sunrpc/rpc/auth_unix.h: Likewise.
50296 * sunrpc/rpc/clnt.h: Likewise.
50297 * sunrpc/rpc/des_crypt.h: Likewise.
50298 * sunrpc/rpc/key_prot.h: Likewise.
50299 * sunrpc/rpc/netdb.h: Likewise.
50300 * sunrpc/rpc/pmap_clnt.h: Likewise.
50301 * sunrpc/rpc/pmap_prot.h: Likewise.
50302 * sunrpc/rpc/pmap_rmt.h: Likewise.
50303 * sunrpc/rpc/rpc.h: Likewise.
50304 * sunrpc/rpc/rpc_des.h: Likewise.
50305 * sunrpc/rpc/rpc_msg.h: Likewise.
50306 * sunrpc/rpc/svc.h: Likewise.
50307 * sunrpc/rpc/svc_auth.h: Likewise.
50308 * sunrpc/rpc/types.h: Likewise.
50309 * sunrpc/rpc/xdr.h: Likewise.
50310 * sunrpc/rpc_clntout.c: Likewise.
50311 * sunrpc/rpc_cmsg.c: Likewise.
50312 * sunrpc/rpc_common.c: Likewise.
50313 * sunrpc/rpc_cout.c: Likewise.
50314 * sunrpc/rpc_dtable.c: Likewise.
50315 * sunrpc/rpc_hout.c: Likewise.
50316 * sunrpc/rpc_main.c: Likewise.
50317 * sunrpc/rpc_parse.c: Likewise.
50318 * sunrpc/rpc_parse.h: Likewise.
50319 * sunrpc/rpc_prot.c: Likewise.
50320 * sunrpc/rpc_sample.c: Likewise.
50321 * sunrpc/rpc_scan.c: Likewise.
50322 * sunrpc/rpc_scan.h: Likewise.
50323 * sunrpc/rpc_svcout.c: Likewise.
50324 * sunrpc/rpc_tblout.c: Likewise.
50325 * sunrpc/rpc_util.c: Likewise.
50326 * sunrpc/rpc_util.h: Likewise.
50327 * sunrpc/rpcinfo.c: Likewise.
50328 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50329 * sunrpc/rpcsvc/key_prot.x: Likewise.
50330 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50331 * sunrpc/rpcsvc/mount.x: Likewise.
50332 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50333 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50334 * sunrpc/rpcsvc/rex.x: Likewise.
50335 * sunrpc/rpcsvc/rstat.x: Likewise.
50336 * sunrpc/rpcsvc/rusers.x: Likewise.
50337 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50338 * sunrpc/rpcsvc/spray.x: Likewise.
50339 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50340 * sunrpc/rtime.c: Likewise.
50341 * sunrpc/svc.c: Likewise.
50342 * sunrpc/svc_auth.c: Likewise.
50343 * sunrpc/svc_authux.c: Likewise.
50344 * sunrpc/svc_raw.c: Likewise.
50345 * sunrpc/svc_run.c: Likewise.
50346 * sunrpc/svc_simple.c: Likewise.
50347 * sunrpc/svc_tcp.c: Likewise.
50348 * sunrpc/svc_udp.c: Likewise.
50349 * sunrpc/svc_unix.c: Likewise.
50350 * sunrpc/svcauth_des.c: Likewise.
50351 * sunrpc/xcrypt.c: Likewise.
50352 * sunrpc/xdr.c: Likewise.
50353 * sunrpc/xdr_array.c: Likewise.
50354 * sunrpc/xdr_float.c: Likewise.
50355 * sunrpc/xdr_mem.c: Likewise.
50356 * sunrpc/xdr_rec.c: Likewise.
50357 * sunrpc/xdr_ref.c: Likewise.
50358 * sunrpc/xdr_sizeof.c: Likewise.
50359 * sunrpc/xdr_stdio.c: Likewise.
50360
9da4bb31
UD
50361 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50362 handling.
50363
bdaa77bc
AS
503642010-08-19 Andreas Schwab <schwab@redhat.com>
50365
50366 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50367
fe2f79db
LM
503682010-08-19 Luis Machado <luisgpm@br.ibm.com>
50369
50370 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50373 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50375 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50377 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50380 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50382 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50384
b9b42ee0
AB
503852010-07-26 Anton Blanchard <anton@samba.org>
50386
50387 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50388 * malloc/arena.c (heap_trim): Likewise.
50389
1c06ba31
UD
503902010-08-16 Ulrich Drepper <drepper@redhat.com>
50391
50392 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50393 here. Not...
50394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50395 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50396
f8392f40
L
503972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50398
50399 * sysdeps/i386/elf/Makefile: New file.
50400
3162f12e
AS
504012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50402
50403 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50404 from fanotify_init.
50405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50407
28c90b2c
UD
504082010-08-15 Ulrich Drepper <drepper@redhat.com>
50409
50410 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50411 of strncasecmp_l.
1feccb6c 50412 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 50413
ca6bb004
UD
504142010-08-14 Ulrich Drepper <drepper@redhat.com>
50415
e9f82e0d
UD
50416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50417 strncase_l-nonascii.
50418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50419 Add strncase_l-ssse3.
50420 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50421 * sysdeps/x86_64/strcmp.S: Likewise.
50422 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50423 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50424 * sysdeps/x86_64/strncase.S: New file.
50425 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50426 * sysdeps/x86_64/strncase_l.S: New file.
50427 * string/Makefile (strop-tests): Add strncasecmp.
50428 * string/test-strncasecmp.c: New file.
50429
50430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50431 warning.
50432
ca6bb004
UD
50433 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50435
052fa7b3
AS
504362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50437
50438 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50439
962dba78
UD
504402010-08-12 Ulrich Drepper <drepper@redhat.com>
50441
50442 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50445
bebff237
AM
504462010-05-01 Alan Modra <amodra@gmail.com>
50447
50448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50449 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50450 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50451 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50452 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50453 tidying. Don't tail-call __sigjmp_save for static lib.
50454 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50455 save location.
50456 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50457 (CALL_MCOUNT): Add eh info, and nop after bl.
50458 (TAIL_CALL_SYSCALL_ERROR): New macro.
50459 (PSEUDO_RET): Use it.
50460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50461 Correct save location of integer regs and cr.
50462 (_dl_profile_resolve): Correct cr save location. Delete nops
50463 after bl when SHARED. Reduce cfi size a little by better
50464 placement of cfi directives.
50465 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50466 make a stack frame. Instead use parm save area as a temp.
50467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50468 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50470 Don't make a stack frame for parent, use parm save area.
50471 Increase child stack frame to 112 bytes. Don't save unused reg,
50472 and adjust reg usage. Set up cfi on error recovery and
50473 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50475 (__makecontext): Add dummy nop after jump to exit.
50476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50477 Use correct parm save area and cr save, reduce stack frame.
50478 Correct cfi for possible PSEUDO_RET frame setup.
50479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50480 Branch to local label emitted by PSEUDO_RET rather than
50481 __syscall_error.
50482
02637374
AS
504832010-08-12 Andreas Schwab <schwab@redhat.com>
50484
50485 [BZ #11904]
50486 * locale/programs/locale.c (print_assignment): New function.
50487 (show_locale_vars): Use it.
50488
c3e2f19b
UD
504892010-08-11 Ulrich Drepper <drepper@redhat.com>
50490
3cdaa6ad
UD
50491 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50492 field.
50493 (struct statfs64): Likewise.
50494 (_STATFS_F_FLAGS): Define.
50495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50497 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50498 (ST_VALID): Define locally.
50499 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50500 __statvfs_getflags, use the provided value.
50501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50502 __ASSUME_STATFS_F_FLAGS.
50503
754f7da3
UD
50504 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50505
10b3bedc
UD
50506 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50507 Add sys/fanotify.h.
50508 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50509 fanotify_mask for GLIBC_2.13.
50510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50511 fanotify_init and fanotify_mark.
50512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50513 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50514
c08fb0d7
UD
50515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50516 Add prlimit.
50517 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50518 prlimit64 for GLIBC_2.13.
50519 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50520 prlimit64.
50521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50522 syscall.
50523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50528 add prlimit alias.
50529 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50530
15bac72b
UD
50531 [BZ #11903]
50532 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50533 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50534
c3e2f19b
UD
50535 * nss/Makefile: Add rules to build and run tst-nss-test1.
50536 * shlib-versions: Add entry for libnss_test1.
50537 * nss/nss_test1.c: New file.
50538 * nss/tst-nss-test1.c: New file.
50539
50540 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50541 (__nss_configure_lookup): Set appropriate entry in
50542 __nss_configure_lookup to true.
50543 * nss/nsswitch.h: Define enum with indeces of databases in
50544 databases and __nss_database_custom arrays. Declare
50545 __nss_database_custom.
50546 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50547 to avoid using nscd when custom rules are installed.
50548 * nss/getXXbyYY_r.c: Likewise.
50549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50550
50551 * nss/nss_files/files-parse.c: Whitespace fixes.
50552
f15ce4d8
UD
505532010-08-09 Ulrich Drepper <drepper@redhat.com>
50554
50555 [BZ #11883]
50556 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50557 * posix/fnmatch_loop.c: Likewise.
50558
d22e4cc9
AK
505592010-07-17 Andi Kleen <ak@linux.intel.com>
50560
50561 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50562 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50563 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50564 * Versions.def [GLIBC_2.13]: Add.
50565
805bc17d
UD
505662010-08-06 Ulrich Drepper <drepper@redhat.com>
50567
50568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50569 Also fail if tpwd after pwuid call is NULL.
50570
5a42321d
ST
505712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50572
50573 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50574 when converting to ms.
50575
fd3ebeda
ST
505762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50577
50578 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50579 EOPNOTSUPP errors with ENOTTY.
50580 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50581 EOPNOTSUPP errors with ENOTTY.
50582
73507d3a
UD
505832010-07-31 Ulrich Drepper <drepper@redhat.com>
50584
50585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50586 Add strcasecmp_l-ssse3.
50587 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50588 strcasecmp.
50589 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50590 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50592
fe36dd02
UD
505932010-07-30 Ulrich Drepper <drepper@redhat.com>
50594
66f6765a
UD
50595 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50596
42e08a54
UD
50597 * string/Makefile (strop-tests): Add strcasecmp.
50598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50599 strcasecmp_l-nonascii.
50600 (gen-as-const-headers): Add locale-defines.sym.
50601 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50602 * sysdeps/x86_64/strcasecmp.S: New file.
50603 * sysdeps/x86_64/strcasecmp_l.S: New file.
50604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50605 * sysdeps/x86_64/locale-defines.sym: New file.
50606 * string/test-strcasecmp.c: New file.
50607
fe36dd02
UD
50608 * string/test-strcasestr.c: Test both ends of the range of characters.
50609 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50610
48cbc0d6
RM
506112010-07-29 Roland McGrath <roland@redhat.com>
50612
76e6d6bc 50613 [BZ #11856]
48cbc0d6
RM
50614 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50615
880113d9
UD
506162010-07-27 Ulrich Drepper <drepper@redhat.com>
50617
50618 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50619 for ld.so.
50620
deb9cabb
AS
506212010-07-27 Andreas Schwab <schwab@redhat.com>
50622
50623 * manual/memory.texi (Malloc Tunable Parameters): Document
50624 M_PERTURB.
50625
1c7570ff
RM
506262010-07-26 Roland McGrath <roland@redhat.com>
50627
50628 [BZ #11840]
50629 * configure.in (-fgnu89-inline check): Set and substitute
50630 gnu89_inline, not libc_cv_gnu89_inline.
50631 * configure: Regenerated.
50632 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50633
24fb0f88
UD
506342010-07-26 Ulrich Drepper <drepper@redhat.com>
50635
50636 * string/test-strnlen.c: New file.
50637 * string/Makefile (strop-tests): Add strnlen.
50638 * string/tester.c (test_strnlen): Add a few more test cases.
50639 * string/tst-strlen.c: Better error reporting.
50640
50641 * sysdeps/x86_64/strnlen.S: New file.
50642
8e96b93a
UD
506432010-07-24 Ulrich Drepper <drepper@redhat.com>
50644
50645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50646 lower-latency instructions.
50647
dbc676d4
UD
506482010-07-23 Ulrich Drepper <drepper@redhat.com>
50649
50650 * string/test-strcasestr.c: New file.
50651 * string/test-strstr.c: New file.
50652 * string/Makefile (strop-tests): Add strstr and strcasestr.
50653 * string/str-two-way.h: Don't undefine MAX.
50654 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50655
f6a31e0e
AS
506562010-07-21 Andreas Schwab <schwab@redhat.com>
50657
50658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50659 strcasestr-nonascii.
50660 (CFLAGS-strcasestr-nonascii.c): Define.
50661 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50663 Remove unused attribute.
50664
5dbc3b6c
RM
506652010-07-20 Roland McGrath <roland@redhat.com>
50666
50667 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50668 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50669 ld.so.cache was broken. With it, there is no way to disable dsocaps
50670 like LD_HWCAP_MASK can disable hwcaps.
50671
23d101d8
EPM
506722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50673
50674 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50675
cc9f2e47
UD
506762010-07-16 Ulrich Drepper <drepper@redhat.com>
50677
50678 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50679 call in strcasestr.
50680 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50681 __strcasestr_sse42_nonascii.
50682 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50683 strcasestr-nonascii.c.
50684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50685
77c1b069
LM
506862010-06-15 Luis Machado <luisgpm@br.ibm.com>
50687
50688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50692
440566c3
UD
506932010-07-09 Ulrich Drepper <drepper@redhat.com>
50694
50695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50696 fcntl.
50697
5be9d05d
AS
506982010-07-06 Andreas Schwab <schwab@redhat.com>
50699
c30b7ee2 50700 [BZ #11577]
5be9d05d
AS
50701 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50702 dl_signal_cerror.
50703
8a492a67
UD
507042010-07-06 Ulrich Drepper <drepper@redhat.com>
50705
50706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50707 _PC_PIPE_BUF using F_GETPIPE_SZ.
50708
713df3d5
RM
507092010-07-05 Roland McGrath <roland@redhat.com>
50710
50711 * manual/arith.texi (Rounding Functions): Fix rint description
50712 implicit in round description.
50713
702e8f14
UD
507142010-07-02 Ulrich Drepper <drepper@redhat.com>
50715
50716 * elf/Makefile: Fix linking for a few tests to make recent linker
50717 happy.
50718
52ed8be9
AS
507192010-06-30 Andreas Schwab <schwab@redhat.com>
50720
50721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50722 $(common-objpfx)libc_nonshared.a.
50723
f47c9a11
LM
507242010-06-21 Luis Machado <luisgpm@br.ibm.com>
50725
50726 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50727 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50728 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50730 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50733 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50748 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50749 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50750 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50751 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50752 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50753 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50754 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50755 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50756 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50757 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50758 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50759 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50774
6fb8cbcb
L
507752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50776
50777 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50778 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50779 * string/memmove.c (memmove): Renamed to ...
50780 (MEMMOVE): ...this. Default to memmove.
50781 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50782 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50783 (END_CHK): Define.
50784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50785 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50786 mempcpy-ssse3-back memmove-ssse3-back.
50787 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50790 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50791 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50792 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50793 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50794 * sysdeps/x86_64/multiarch/memmove.c: New file.
50795 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50796 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50797 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50798 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50801 Define.
50802 (index_Fast_Copy_Backward): Define.
50803 (HAS_ARCH_FEATURE): Define.
50804 (HAS_FAST_REP_STRING): Define.
50805 (HAS_FAST_COPY_BACKWARD): Define.
50806
4e733bac 508072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
50808
50809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50810 Restore proper fallback handling.
50811
63c4ed22
UD
508122010-06-19 Ulrich Drepper <drepper@redhat.com>
50813
ac2b484c
UD
50814 [BZ #11701]
50815 * posix/group_member.c (__group_member): Correct checking loop.
50816
63c4ed22
UD
50817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50818 OOM in getpwuid_r correctly. Return error number when the caller
50819 should return, otherwise -1.
50820 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50821 call returning > 0 value.
50822 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50823
765ade4b
AS
508242010-06-07 Andreas Schwab <schwab@redhat.com>
50825
50826 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50827 libc_nonshared.a from targets in modules-names.
50828
80da2e09
KS
508292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50830
50831 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50832 requires it.
50833
158db122
LM
508342010-06-10 Luis Machado <luisgpm@br.ibm.com>
50835
50836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50840
caa78cf8
AS
508412010-06-02 Andreas Schwab <schwab@redhat.com>
50842
50843 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50844
b2ef2c01
UD
508452010-06-14 Ulrich Drepper <drepper@redhat.com>
50846
50847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50848 and F_GETPIPE_SZ.
50849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50855
fbd643b6
RM
508562010-06-14 Roland McGrath <roland@redhat.com>
50857
50858 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50859
f32f2869
JJ
508602010-06-07 Jakub Jelinek <jakub@redhat.com>
50861
50862 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50863 __REDIRECT followed by __THROW.
50864 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50865 * posix/getopt.h (getopt): Likewise.
50866
2a50c078
EPM
508672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50868
50869 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50870 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50871 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50872 in AT_FLAGS.
50873 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50874 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50875
eb5ad2eb
LM
508762010-05-28 Luis Machado <luisgpm@br.ibm.com>
50877
50878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50879
3c88fe1e
L
508802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50881
50882 [BZ #11640]
50883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50884 Properly check family and model.
50885
d2f73151
TY
508862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50887
50888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50889
ebd2e13d
LM
508902010-05-24 Luis Machado <luisgpm@br.ibm.com>
50891
50892 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50893
b32b8b45
UD
508942010-05-21 Ulrich Drepper <drepper@redhat.com>
50895
50896 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50897 symbol reference.
50898
9acbe24d
AS
508992010-05-19 Andreas Schwab <schwab@redhat.com>
50900
50901 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50902 symbol reference.
50903
f0ccf6ea
AS
509042010-05-21 Andreas Schwab <schwab@redhat.com>
50905
3d04ff3a
AS
50906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50907 and internal_recvmmsg.
50908 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50910 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50911 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50912
f0ccf6ea
AS
50913 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50916
5b08ac57
AS
509172010-05-20 Andreas Schwab <schwab@redhat.com>
50918
50919 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50920
4828935d
LM
509212010-05-17 Luis Machado <luisgpm@br.ibm.com>
50922
50923 POWER7 optimizations.
50924 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50925 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50926
373d545e
UD
509272010-05-19 Ulrich Drepper <drepper@redhat.com>
50928
50929 * version.h: Update for 2.13 development version.
50930
21a2b1ae
AS
509312010-05-12 Andrew Stubbs <ams@codesourcery.com>
50932
50933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50934 exceptions. Return 0.
50935
3f7dcb2b
RM
509362010-05-07 Roland McGrath <roland@redhat.com>
50937
50938 * elf/ldconfig.c (main): Add a const.
50939
5f24d53a 509402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 50941
a160f8d8
UD
50942 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50943 (args_options): Add no-idn option.
50944 (ahosts_keys_int): Add idn_flags to ai_flags.
50945 (parse_option): Handle 'i' option to clear idn_flags.
50946
5f24d53a
UD
50947 * malloc/malloc.c (_int_free): Possible race in the most recently
50948 added check. Only act on the data if no current modification
50949 happened.
265bb1ce
UD
50950
50951See ChangeLog.17 for earlier changes.