]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix BZ #18985 -- out of range data to strftime() causes a segfault
[thirdparty/glibc.git] / ChangeLog
1 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 [BZ #18985]
4 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5 (__strftime_internal): Likewise.
6 * time/tst-strftime.c (do_bz18985): New test.
7 (do_test): Call it.
8
9 2015-09-26 Joseph Myers <joseph@codesourcery.com>
10
11 [BZ #18956]
12 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
14 extracting high part.
15 * math/auto-libm-test-in: Add another test of pow.
16 * math/auto-libm-test-out: Regenerated.
17 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18
19 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #18825]
22 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23 New macro.
24 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
25 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
26 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28 DBL_NARROW_EVAL, reloading the PIC register as needed.
29 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
31 FLT_NARROW_EVAL. Use separate return path for case when first
32 argument is NaN.
33 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
34 DEFINE_LDBL_MIN.
35 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
36 PIC register.
37 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
38 math_check_force_underflow_nonneg.
39 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
40 underflow for subnormal result.
41 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
42 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
43 math_check_force_underflow_nonneg.
44 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
45 math_check_force_underflow.
46 * sysdeps/x86_64/fpu/x86_64-math-asm.h
47 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
48 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
49 DEFINE_LDBL_MIN.
50 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
51 * math/auto-libm-test-in: Add more tests of pow.
52 * math/auto-libm-test-out: Regenerated.
53
54 2015-09-25 Florian Weimer <fweimer@redhat.com>
55
56 * nss/bug17079.c (init_test_items): Add diagnostic for
57 inconsistent entries.
58 (test_buffer_size): Skip inconsistent entries.
59
60 2015-09-25 Joseph Myers <joseph@codesourcery.com>
61
62 [BZ #13304]
63 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
64 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
65 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
66
67 [BZ #13304]
68 * sysdeps/microblaze/s_fma.c: New file.
69 * sysdeps/microblaze/s_fmaf.c: Likewise.
70 * sysdeps/microblaze/sfp-machine.h: Likewise.
71
72 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
73
74 [BZ #17250]
75 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
76 member.
77
78 2015-09-24 Joseph Myers <joseph@codesourcery.com>
79
80 [BZ #18803]
81 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
82 (MO): New macro.
83 (__ieee754_hypot) [PIC]: Load PIC register.
84 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
85 DBL_NARROW_EVAL.
86 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
87 math_check_force_underflow_nonneg in case where result might be
88 tiny.
89 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
90 Likewise.
91 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
92 Likewise.
93 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
94 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
95 * math/auto-libm-test-in: Add more tests of hypot.
96 * math/auto-libm-test-out: Regenerated.
97
98 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
99
100 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
101
102 2015-09-24 Joseph Myers <joseph@codesourcery.com>
103
104 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
105 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
106 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
107 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
108 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
109 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
110 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
111
112 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
113 LOAD_PIC_REG.
114
115 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
116 (FLT_CHECK_FORCE_UFLOW): Likewise.
117 (DBL_CHECK_FORCE_UFLOW): Likewise.
118 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
119 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
120 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
121 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
122 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
123 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
124 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
125 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
126 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
127 (dbl_min): Replace with use of DEFINE_DBL_MIN.
128 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
129 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
130 (flt_min): Replace with use of DEFINE_FLT_MIN.
131 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
132 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
133 (dbl_min): Replace with use of DEFINE_DBL_MIN.
134 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
135 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
136 (flt_min): Replace with use of DEFINE_FLT_MIN.
137 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
138 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
139 (dbl_min): Replace with use of DEFINE_DBL_MIN.
140 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
141 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
142 (flt_min): Replace with use of DEFINE_FLT_MIN.
143 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
144 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
145 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
146 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
147 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
148 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
149 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
150 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
151 (dbl_min): Replace with use of DEFINE_DBL_MIN.
152 (__atan): Use DBL_CHECK_FORCE_UFLOW.
153 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
154 (flt_min): Replace with use of DEFINE_FLT_MIN.
155 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
156 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
157 (dbl_min): Replace with use of DEFINE_DBL_MIN.
158 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
159 main computation.
160 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
161 (flt_min): Replace with use of DEFINE_FLT_MIN.
162 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
163 main computation.
164 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
165 (dbl_min): Replace with use of DEFINE_DBL_MIN.
166 (MO): New macro.
167 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
168 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
169 (flt_min): Replace with use of DEFINE_FLT_MIN.
170 (MO): New macro.
171 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
172 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
173 (__log1pl): Use MO.
174
175 [BZ #19003]
176 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
177 $(config-cflags-nofma).
178
179 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
180
181 * sysdeps/aarch64/libm-test-ulps: Regenerated.
182
183 2015-09-23 Joseph Myers <joseph@codesourcery.com>
184
185 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
186 (TWO127): Likewise.
187
188 * sysdeps/generic/math_private.h (fabs_tg): New macro.
189 (min_of_type): Likewise.
190 (math_check_force_underflow): Likewise.
191 (math_check_force_underflow_nonneg): Likewise.
192 (math_check_force_underflow_complex): Likewise.
193 * math/e_exp2l.c (__ieee754_exp2l): Use
194 math_check_force_underflow_nonneg.
195 * math/k_casinh.c (__kernel_casinh): Likewise.
196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
198 * math/s_catan.c (__catan): Use
199 math_check_force_underflow_complex.
200 * math/s_catanf.c (__catanf): Likewise.
201 * math/s_catanh.c (__catanh): Likewise.
202 * math/s_catanhf.c (__catanhf): Likewise.
203 * math/s_catanhl.c (__catanhl): Likewise.
204 * math/s_catanl.c (__catanl): Likewise.
205 * math/s_ccosh.c (__ccosh): Likewise.
206 * math/s_ccoshf.c (__ccoshf): Likewise.
207 * math/s_ccoshl.c (__ccoshl): Likewise.
208 * math/s_cexp.c (__cexp): Likewise.
209 * math/s_cexpf.c (__cexpf): Likewise.
210 * math/s_cexpl.c (__cexpl): Likewise.
211 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
212 * math/s_clog10.c (__clog10): Likewise.
213 * math/s_clog10f.c (__clog10f): Likewise.
214 * math/s_clog10l.c (__clog10l): Likewise.
215 * math/s_clogf.c (__clogf): Likewise.
216 * math/s_clogl.c (__clogl): Likewise.
217 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
218 * math/s_csinf.c (__csinf): Likewise.
219 * math/s_csinh.c (__csinh): Likewise.
220 * math/s_csinhf.c (__csinhf): Likewise.
221 * math/s_csinhl.c (__csinhl): Likewise.
222 * math/s_csinl.c (__csinl): Likewise.
223 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
224 * math/s_csqrtf.c (__csqrtf): Likewise.
225 * math/s_csqrtl.c (__csqrtl): Likewise.
226 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
227 * math/s_ctanf.c (__ctanf): Likewise.
228 * math/s_ctanh.c (__ctanh): Likewise.
229 * math/s_ctanhf.c (__ctanhf): Likewise.
230 * math/s_ctanhl.c (__ctanhl): Likewise.
231 * math/s_ctanl.c (__ctanl): Likewise.
232 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
233 instead of volatile.
234 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
235 math_check_force_underflow.
236 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
237 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
238 volatile when forcing underflow.
239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
240 math_check_force_underflow_nonneg.
241 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
242 Likewise.
243 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
244 math_check_force_underflow.
245 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
246 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
247 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
248 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
249 math_check_force_underflow_nonneg.
250 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
251 math_check_force_underflow.
252 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
254 instead of volatile.
255 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
256 math_check_force_underflow.
257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
258 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
259 math_check_force_underflow_nonneg.
260 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
261 math_check_force_underflow.
262 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
263 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
264 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
265 math_check_force_underflow_nonneg.
266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
267 Likewise.
268 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
269 math_check_force_underflow.
270 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
271 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
272 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
273 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
274 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
275 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
276 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
277 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
278 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
279 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
280 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
281 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
282 Likewise.
283 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
284 math_check_force_underflow_nonneg.
285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
286 Likewise.
287 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
288 math_check_force_underflow.
289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
290 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
291 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
292 Likewise.
293 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
294 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
295 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
296 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
297 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
298 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
300 instead of volatile.
301 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
302 math_check_force_underflow.
303 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
305 math_check_force_underflow.
306 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
307 Likewise.
308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
309 Use math_check_force_underflow_nonneg.
310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
311 math_check_force_underflow.
312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
313 Likewise.
314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
315 Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
322 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
323 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
324 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
325 math_check_force_underflow_nonneg.
326 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
327 math_check_force_underflow.
328 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
329 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
330 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
331 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
332 math_check_force_underflow_nonneg.
333 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
334 math_check_force_underflow.
335 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
337 instead of volatile.
338 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
339 math_check_force_underflow.
340
341 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
342 * stdlib/strtod_l.c: Include <math_private.h>.
343 (overflow_value): Use math_narrow_eval.
344 (underflow_value): Likewise.
345 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
346 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
347 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
348 (__ieee754_gamma_r): Likewise.
349 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
350 Likewise.
351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
352 Likewise.
353 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
354 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
355 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
356 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
357 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
358 (__ieee754_gammaf_r): Likewise.
359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
360 Likewise.
361 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
362 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
363 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
364 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
365 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
366 volatile.
367 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
368 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
369 math_narrow_eval.
370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
371 Likewise.
372 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
373 Likewise.
374 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
375 Likewise.
376 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
377 volatile.
378 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
380 math_narrow_eval.
381 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
382 Likewise.
383 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
384 Likewise.
385
386 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
387
388 * nptl/Versions: Remove ignored symbols.
389
390 2015-09-22 Florian Weimer <fweimer@redhat.com>
391
392 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
393 * nss/Makefile (tests): Update.
394
395 2015-09-22 Florian Weimer <fweimer@redhat.com>
396
397 * nss/bug18287.c: New file.
398 * nss/Makefile (tests): Add bug18287.
399
400 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
401
402 * mach/Versions (__mach_host_self_): Add symbol.
403
404 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
405
406 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
407 vm_page_size.
408
409 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
410
411 Really fix sysdeps/i386/fpu/s_scalbn.S build
412
413 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
414 (libc: GLIBC_2_22): Remove unused version set.
415
416 2015-09-18 Mike Frysinger <vapier@gentoo.org>
417
418 * config.make.in (enable-timezone-tools): New variable.
419 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
420 (enable_timezone_tools): Export to generated files.
421 * configure: Regenerate.
422 * INSTALL: Regenerate.
423 * manual/install.texi (--disable-timezone-tools): Document new flag.
424 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
425 ifeq ($(enable-timezone-tools),yes) check.
426
427 2015-09-18 Joseph Myers <joseph@codesourcery.com>
428
429 * timezone/Makefile: Revert previous change.
430
431 [BZ #18980]
432 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
433 (DEFINE_DBL_MIN): Likewise.
434 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
435 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
436 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
437 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
438 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
439 (dbl_min): Replace with use of DEFINE_DBL_MIN.
440 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
441 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
442 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
443 (dbl_min): Replace with use of DEFINE_DBL_MIN.
444 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
445 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
446 (flt_min): Replace with use of DEFINE_FLT_MIN.
447 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
448 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
449 (dbl_min): Replace with use of DEFINE_DBL_MIN.
450 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
451 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
452 (flt_min): Replace with use of DEFINE_FLT_MIN.
453 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
454 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
455 (flt_min): Replace with use of DEFINE_FLT_MIN.
456 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
457 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
458 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
459 (__ieee754_hypot): Use DBL_NARROW_EVAL.
460 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
461 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
462 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
463 (__ieee754_pow): Use DBL_NARROW_EVAL.
464 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
465 (__ieee754_powf): Use FLT_NARROW_EVAL.
466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
467 (__ieee754_expf_sse2): Convert double-precision result to single
468 precision.
469 * sysdeps/i386/fpu/libm-test-ulps: Update.
470
471 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
472
473 * timezone/Makefile: Ignore unused variable errors due to private.h
474 (time_t_min) and (time_t_max).
475 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
476 Likewise.
477
478 2015-09-18 Joseph Myers <joseph@codesourcery.com>
479
480 [BZ #18981]
481 * sysdeps/i386/fpu/i386-math-asm.h: New file.
482 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
483 (__ieee754_scalb): Use DBL_NARROW_EVAL.
484 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
485 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
486 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
487 (__scalbn): Use DBL_NARROW_EVAL.
488 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
489 (__scalbnf): Use FLT_NARROW_EVAL.
490
491 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
492
493 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
494 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
495 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
496 * stdio-common/printf_fp.c (___printf_fp):
497 Use signbit to get the sign. Use isinf macro to allow inlining.
498 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
499 * stdio-common/printf_size.c (__printf_size): Likewise.
500
501 2015-09-18 Mike Frysinger <vapier@gentoo.org>
502
503 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
504
505 2015-09-18 Joseph Myers <joseph@codesourcery.com>
506
507 [BZ #18980]
508 * sysdeps/generic/math_private.h: Include <float.h>.
509 (math_narrow_eval): New macro.
510 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
511 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
512 math_narrow_eval on overflowing return value.
513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
514 Likewise.
515 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
516 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
518 Likewise.
519 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
520
521 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
522
523 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
524 * math/Makefile: Remove isinf_ns.c.
525 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
526 * math/multc3.c (__multc3): Likewise.
527 * math/s_casin.c (__casin): Likewise.
528 * math/s_casinf.c (__casinf): Likewise.
529 * math/s_casinl.c (__casinl): Likewise.
530 * math/s_cproj.c (__cproj): Likewise.
531 * math/s_cprojf.c (__cprojf): Likewise.
532 * math/s_cprojl.c (__cprofl): Likewise.
533 * math/s_ctan.c (__ctan): Likewise.
534 * math/s_ctanf.c (__ctanf): Likewise.
535 * math/s_ctanh.c (__ctanh): Likewise.
536 * math/s_ctanhf.c (__ctanhf): Likewise.
537 * math/s_ctanhl.c (__ctanhl): Likewise.
538 * math/s_ctanl.c (__ctanl): Likewise.
539 * math/w_fmod.c (__fmod): Likewise.
540 * math/w_fmodf.c (__fmodf): Likewise.
541 * math/w_fmodl.c (_fmodl): Likewise.
542 * math/w_remainder.c (__remainder): Likewise.
543 * math/w_remainderf.c (__remainderf): Likewise.
544 * math/w_remainderl.c (__remainderl): Likewise.
545 * math/w_scalb.c (__scalb): Likewise.
546 * math/w_scalbf.c (__scalbf): Likewise.
547 * math/w_scalbl.c (__scalbl): Likewise.
548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
549 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
550 with isinf.
551 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
553 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
554 __isinf_nsf with isinf.
555 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
557 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
558 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
559 with isinf.
560 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
561 __isinf_nsl with isinf.
562 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
563 with isinf.
564 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
565 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
566 __isinf_nsl with isinf.
567 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
568 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
569 with isinf.
570
571 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
572
573 * resolv/base64.c (rcsid): Remove unused static.
574 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
575 static. (tqpi1): Likewise.
576 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
577 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
578 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
579 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
581 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
582 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
583 * timezone/private.h (time_t_min): Likewise. (time_t_max):
584 Likewise.
585
586 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
587
588 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
589 <nptl/pthreadP.h>.
590 (_longjmp_unwind): Use __libc_ptf_call.
591 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
592
593 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
594
595 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
596 * sysdeps/arm/__longjmp.S: Likewise
597
598 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
599
600 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
601 Use __builtin_signbit.
602 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
603 Use __builtin_signbitf.
604 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
605 Use __builtin_signbitl.
606 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
607 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
608
609 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
610
611 [BZ #15367]
612 [BZ #17441]
613
614 * math/Makefile: Build test-snan.c with -fsignaling-nans.
615 * math/math.h (fpclassify): Use __builtin_fpclassify when
616 available. (signbit): Use __builtin_signbit(f/l).
617 (isfinite): Use__builtin_isfinite. (isnormal): Use
618 __builtin_isnormal. (isnan): Use __builtin_isnan.
619 (isinf): Use __builtin_isinf_sign.
620
621 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
622
623 * benchtests/Makefile: Add bench-math-inlines, link with libm.
624 * benchtests/bench-math-inlines.c: New benchmark.
625 * benchtests/bench-util.h: New file.
626 * benchtests/bench-util.c: New file.
627 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
628
629 2015-09-18 Carlos O'Donell <carlos@redhat.com>
630
631 * elf/tst-dlmopen1.c: Define TEST_SO.
632 (do_test): Use TEST_SO.
633
634 * elf/dl-load.c: Include libc-internal.h.
635 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
636
637 2015-09-18 Vincent Bernat <vincent@bernat.im>
638
639 [BZ #17887]
640 * time/strptime_l.c (__strptime_internal): Make %z accept
641 [+-]HH:MM time zones.
642
643 2015-09-18 Vincent Bernat <vincent@bernat.im>
644
645 [BZ #17886]
646 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
647 valid time zone.
648
649 2015-09-17 Mike Frysinger <vapier@gentoo.org>
650
651 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
652 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
653 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
654 (__ASSUME_FDATASYNC): Delete.
655
656 2015-09-17 Joseph Myers <joseph@codesourcery.com>
657
658 * conform/linknamespace.pl: Require weak undefined symbols to be
659 in the standard namespace.
660 (%strong_syms): Rename to %seen_syms.
661 (%strong_seen): Rename to %seen_where.
662
663 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
664
665 [BZ #18970]
666 * misc/error.c (error): Replace pthread_setcancelstate with
667 __pthread_setcancelstate.
668 (error_at_line): Likewise.
669 * posix/wordexp.c (parse_comm): Likewise.
670 * stdlib/fmtmsg.c (fmtmsg): Likewise.
671 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
672 (__pthread_setcancelstate): This.
673 (pthread_setcancelstate): Add an alias.
674 * nptl/nptl-init.c (pthread_functions): Replace
675 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
676 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
677 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
678 hidden_proto.
679 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
680 it with hidden_def.
681 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
682 (pthread_setcancelstate): Renamed to ...
683 (__pthread_setcancelstate): This.
684 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
685 __libc_ptf_call with __pthread_setcancelstate.
686
687 2015-09-17 Joseph Myers <joseph@codesourcery.com>
688 Andreas Schwab <schwab@suse.de>
689
690 [BZ #17118]
691 * math/s_ctan.c (__ctan): Determine sign of zero real part of
692 result when imaginary part of argument is infinite using sine and
693 cosine.
694 * math/s_ctanf.c (__ctanf): Likewise.
695 * math/s_ctanl.c (__ctanl): Likewise.
696 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
697 of result when real part of argument is infinite using sine and
698 cosine.
699 * math/s_ctanhf.c (__ctanhf): Likewise.
700 * math/s_ctanhl.c (__ctanhl): Likewise.
701 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
702 (ctanh_test_data): Add more tests of ctanh.
703
704 2015-09-17 Joseph Myers <joseph@codesourcery.com>
705
706 [BZ #15384]
707 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
708 bit-mask as in subtraction.
709 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
710 Likewise.
711 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
712 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
714
715 [BZ #18951]
716 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
717 underflow exception for small results.
718 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
719 Likewise.
720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
721 Likewise.
722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
723 Likewise.
724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
725 Likewise.
726 * math/auto-libm-test-in: Add more tests of tgamma.
727 * math/auto-libm-test-out: Regenerated.
728
729 2015-09-17 Andreas Schwab <schwab@suse.de>
730
731 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
732
733 2015-09-16 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #18977]
736 * math/bits/mathcalls.h
737 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
738 not declare.
739 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
740 Likewise.
741 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
742 Likewise.
743 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
744 Likewise.
745 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
746 Likewise.
747 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
748 Likewise.
749 * conform/data/math.h-data
750 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
751 function.
752 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
753 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
754 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
755 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
756 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
757 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
758 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
759 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
760 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
761 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
762 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
763
764 [BZ #6803]
765 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
766 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
767 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
768 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
769 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
770 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
771 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
772 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
773 [NO_LONG_DOUBLE] (scalbnl): Likewise.
774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
775 Likewise.
776 [NO_LONG_DOUBLE] (scalbnl): Likewise.
777 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
780 long_double_symbol calls.
781 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
782 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
783 strong alias of __ldexpl.
784 (scalbnl): Define using long_double_symbol.
785 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
786 Remove alias.
787 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
788 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
789 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
790 (scalbln_test_data): Add more errno expectations.
791
792 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
793
794 Cache the host port like we cache the task port. This way we do not
795 need to call the kernel just to get the port. Furthermore, we no
796 longer increase the reference count on every invocation of
797 `mach_host_self'.
798
799 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
800 Protect declarations against the macro expansion.
801 * mach/mach_init.c (__mach_host_self_): New variable.
802 (mach_init): Initialize `__mach_host_self_'.
803 * mach/mach_init.h (__mach_host_self_): New declaration.
804 (__mach_host_self, mach_host_self): New macros.
805 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
806 Release reference.
807
808 2015-09-16 Joseph Myers <joseph@codesourcery.com>
809
810 [BZ #4404]
811 * po/de.po: Update from Translation Project.
812
813 [BZ #16415]
814 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
815 (__expm1l): Remove code to handle positive infinity and overflow.
816 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
817 variable.
818 (__expm1l): Remove code to handle positive infinity and overflow.
819
820 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
821 Paul Pluzhnikov <ppluzhnikov@google.com>
822
823 [BZ #18872]
824 * stdio-common/Makefile (tst-printf-bz18872): New test.
825 (tst-printf-bz18872-mem.out): Likewise.
826 * stdio-common/tst-printf-bz18872.sh: Generate new test.
827 * stdio-common/vfprintf.c: Fix memory leaks.
828
829 2015-09-16 Andreas Schwab <schwab@suse.de>
830
831 [BZ #17244]
832 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
833 Remove extra va_start/va_end calls.
834
835 [BZ #17243]
836 * posix/execl.c (execl): Add missing va_end.
837 * posix/execle.c (execle): Likewise.
838 * posix/execlp.c (execlp): Likewise.
839
840 2015-09-15 Roland McGrath <roland@hack.frob.com>
841
842 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
843 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
844
845 2015-09-15 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #18967]
848 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
849 undefine around includes of <bits/mathcalls.h>.
850 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
851 not declare function.
852 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
853 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
854 (scalb): Likewise.
855 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
856 not define macro.
857 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
858 variable.
859 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
860 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
861 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
862
863 [BZ #18857]
864 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
865 return non-finite argument without doing ordered comparisons on
866 it.
867
868 [BZ #16296]
869 * math/fenv.h (fegetround): Use __attribute_pure__.
870 * include/fenv.h (__fegetround): Likewise.
871
872 [BZ #18595]
873 * math/s_ctan.c (__ctan): Force underflow exception for results
874 whose real or imaginary part has small absolute value.
875 * math/s_ctanf.c (__ctanf): Likewise.
876 * math/s_ctanh.c (__ctanh): Likewise.
877 * math/s_ctanhf.c (__ctanhf): Likewise.
878 * math/s_ctanhl.c (__ctanhl): Likewise.
879 * math/s_ctanl.c (__ctanl): Likewise.
880 * math/auto-libm-test-in: Do not allow missing underflow for ctan
881 and ctanh. Add more tests of ctan and ctanh.
882
883 [BZ #15918]
884 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
885 handling of cases where one argument is an infinity.
886
887 [BZ #18875]
888 [BZ #18966]
889 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
890 (MO): New macro.
891 (__ieee754_exp10): For small results, force underflow exception
892 and remove excess range and precision from return value.
893 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
894 (MO): New macro.
895 (__ieee754_exp10f): For small results, force underflow exception
896 and remove excess range and precision from return value.
897 * math/auto-libm-test-in: Add more tests of exp10.
898 * math/auto-libm-test-out: Regenerated.
899
900 2015-09-14 Joseph Myers <joseph@codesourcery.com>
901
902 [BZ #18875]
903 [BZ #18961]
904 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
905 (MO): New macro.
906 (__ieee754_exp): For small results, force underflow exception and
907 remove excess range and precision from return value.
908 (__exp_finite): Likewise.
909 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
910 (MO): New macro.
911 (__ieee754_expf): For small results, force underflow exception and
912 remove excess range and precision from return value.
913 (__expf_finite): Likewise.
914 * math/auto-libm-test-in: Add more tests of exp.
915 * math/auto-libm-test-out: Regenerated.
916
917 [BZ #16521]
918 [BZ #18875]
919 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
920 small results.
921 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
922 (MO): New macro.
923 (__ieee754_exp2): For small results, force underflow exception and
924 remove excess range and precision from return value.
925 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
926 (MO): New macro.
927 (__ieee754_exp2f): For small results, force underflow exception
928 and remove excess range and precision from return value.
929 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
930 (MO): New macro.
931 (__ieee754_exp2l): Force underflow exception for small results.
932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
933 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
934 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
935 (MO): New macro.
936 (__ieee754_exp2l): Force underflow exception for small results.
937 * math/auto-libm-test-in: Add more tests or exp2.
938 * math/auto-libm-test-out: Regenerated.
939
940 2015-09-14 Carlos O'Donell <carlos@redhat.com>
941
942 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
943
944 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
945 /dev/null.
946
947 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
948
949 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
950 io fs process)): Drop spurious backslash.
951
952 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
953
954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
955 Use sysinfo system call instead of parsing /proc/meminfo.
956 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
957 Likewise.
958
959 2015-09-11 Mike Frysinger <vapier@gentoo.org>
960
961 [BZ #16985]
962 * programs/localedef.c (main): Display argv[remaining] when
963 output_path is NULL.
964
965 2015-09-11 Joseph Myers <joseph@codesourcery.com>
966
967 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
968 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
969 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
970 tanh.
971 * math/auto-libm-test-out: Regenerated.
972 * sysdeps/i386/fpu/libm-test-ulps: Update.
973 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
974 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976
977 2015-09-11 Roland McGrath <roland@hack.frob.com>
978
979 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
980 Use 'override' keyword to freeze the value here, preventing
981 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
982
983 2015-09-11 Joseph Myers <joseph@codesourcery.com>
984
985 [BZ #14912]
986 * sysdeps/aarch64/bits/atomic.h: Move to ...
987 * sysdeps/aarch64/atomic-machine.h: ...here.
988 (_AARCH64_BITS_ATOMIC_H): Rename macro to
989 _AARCH64_ATOMIC_MACHINE_H.
990 * sysdeps/alpha/bits/atomic.h: Move to ...
991 * sysdeps/alpha/atomic-machine.h: ...here.
992 * sysdeps/arm/bits/atomic.h: Move to ...
993 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
994 * bits/atomic.h: Move to ...
995 * sysdeps/generic/atomic-machine.h: ...here.
996 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
997 * sysdeps/i386/bits/atomic.h: Move to ...
998 * sysdeps/i386/atomic-machine.h: ...here.
999 * sysdeps/ia64/bits/atomic.h: Move to ...
1000 * sysdeps/ia64/atomic-machine.h: ...here.
1001 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1002 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1003 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1004 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1005 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1006 * sysdeps/microblaze/bits/atomic.h: Move to ...
1007 * sysdeps/microblaze/atomic-machine.h: ...here.
1008 * sysdeps/mips/bits/atomic.h: Move to ...
1009 * sysdeps/mips/atomic-machine.h: ...here.
1010 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1011 * sysdeps/powerpc/bits/atomic.h: Move to ...
1012 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1013 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1014 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1015 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1016 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1017 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1018 <atomic-machine.h> instead of <bits/atomic.h>.
1019 * sysdeps/s390/bits/atomic.h: Move to ...
1020 * sysdeps/s390/atomic-machine.h: ...here.
1021 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1022 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1023 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1024 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1025 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1026 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1027 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1028 * sysdeps/tile/bits/atomic.h: Move to ...
1029 * sysdeps/tile/atomic-machine.h: ...here.
1030 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1031 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1032 <sysdeps/tile/atomic-machine.h> instead of
1033 <sysdeps/tile/bits/atomic.h>.
1034 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1035 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1036 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1037 <sysdeps/tile/atomic-machine.h> instead of
1038 <sysdeps/tile/bits/atomic.h>.
1039 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1040 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1041 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1042 <sysdeps/arm/atomic-machine.h> instead of
1043 <sysdeps/arm/bits/atomic.h>.
1044 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1045 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1046 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1047 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1048 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1049 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1050 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1051 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1052 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1053 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1054 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1055 * sysdeps/x86_64/bits/atomic.h: Move to ...
1056 * sysdeps/x86_64/atomic-machine.h: ...here.
1057 * include/atomic.h: Include <atomic-machine.h> instead of
1058 <bits/atomic.h>.
1059
1060 * sysdeps/mips/mips32/libm-test-ulps: Update.
1061 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1062
1063 [BZ #18952]
1064 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1065 not convert non-integer negative arguments to int to determine the
1066 value of signgam.
1067 * math/auto-libm-test-in: Add more tests of lgamma.
1068 * math/auto-libm-test-out: Regenerated.
1069
1070 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1071 cosh, csqrt, erfc, expm1 and lgamma.
1072 * math/auto-libm-test-out: Regenerated.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075
1076 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1077
1078 [BZ #2542]
1079 [BZ #2543]
1080 [BZ #2558]
1081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1082 __lgamma_neg for arguments from -28.0 to -2.0.
1083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1084 __lgamma_negf for arguments from -15.0 to -2.0.
1085 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1086 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1087 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1088 Call __lgamma_negl for arguments from -33.0 to -2.0.
1089 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1090 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1091 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1092 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1093 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1094 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1095 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1097 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1098 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1099 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1100 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1101 (__lgamma_neg): Likewise.
1102 (__lgamma_negl): Likewise.
1103 (__lgamma_product): Likewise.
1104 (__lgamma_productl): Likewise.
1105 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1106 * math/auto-libm-test-in: Add more tests of lgamma.
1107 * math/auto-libm-test-out: Regenerated.
1108 * sysdeps/i386/fpu/libm-test-ulps: Update.
1109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1110
1111 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1112
1113 [BZ #18675]
1114 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1115
1116 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #14912]
1119 * bits/libc-lock.h: Move to ...
1120 * sysdeps/generic/libc-lock.h: ...here.
1121 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1122 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1123 * sysdeps/mach/hurd/libc-lock.h: ...here.
1124 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1125 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1126 * sysdeps/mach/bits/libc-lock.h: Move to ...
1127 * sysdeps/mach/libc-lock.h: ...here.
1128 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1129 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1130 * sysdeps/nptl/libc-lock.h: ...here.
1131 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1132 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1133 * sysdeps/nptl/libc-lockP.h: ...here.
1134 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1135 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1136 <bits/libc-lock.h>.
1137 * dirent/scandir-tail.c: Likewise.
1138 * dlfcn/dlerror.c: Likewise.
1139 * elf/dl-close.c: Likewise.
1140 * elf/dl-iteratephdr.c: Likewise.
1141 * elf/dl-lookup.c: Likewise.
1142 * elf/dl-open.c: Likewise.
1143 * elf/dl-support.c: Likewise.
1144 * elf/dl-writev.h: Likewise.
1145 * elf/rtld.c: Likewise.
1146 * grp/fgetgrent.c: Likewise.
1147 * gshadow/fgetsgent.c: Likewise.
1148 * gshadow/sgetsgent.c: Likewise.
1149 * iconv/gconv_conf.c: Likewise.
1150 * iconv/gconv_db.c: Likewise.
1151 * iconv/gconv_dl.c: Likewise.
1152 * iconv/gconv_int.h: Likewise.
1153 * iconv/gconv_trans.c: Likewise.
1154 * include/link.h: Likewise.
1155 * inet/getnameinfo.c: Likewise.
1156 * inet/getnetgrent.c: Likewise.
1157 * inet/getnetgrent_r.c: Likewise.
1158 * intl/bindtextdom.c: Likewise.
1159 * intl/dcigettext.c: Likewise.
1160 * intl/finddomain.c: Likewise.
1161 * intl/gettextP.h: Likewise.
1162 * intl/loadmsgcat.c: Likewise.
1163 * intl/localealias.c: Likewise.
1164 * intl/textdomain.c: Likewise.
1165 * libidn/idn-stub.c: Likewise.
1166 * libio/libioP.h: Likewise.
1167 * locale/duplocale.c: Likewise.
1168 * locale/freelocale.c: Likewise.
1169 * locale/newlocale.c: Likewise.
1170 * locale/setlocale.c: Likewise.
1171 * login/getutent_r.c: Likewise.
1172 * login/getutid_r.c: Likewise.
1173 * login/getutline_r.c: Likewise.
1174 * login/utmp-private.h: Likewise.
1175 * login/utmpname.c: Likewise.
1176 * malloc/mtrace.c: Likewise.
1177 * misc/efgcvt.c: Likewise.
1178 * misc/error.c: Likewise.
1179 * misc/fstab.c: Likewise.
1180 * misc/getpass.c: Likewise.
1181 * misc/mntent.c: Likewise.
1182 * misc/syslog.c: Likewise.
1183 * nis/nis_call.c: Likewise.
1184 * nis/nis_callback.c: Likewise.
1185 * nis/nss-default.c: Likewise.
1186 * nis/nss_compat/compat-grp.c: Likewise.
1187 * nis/nss_compat/compat-initgroups.c: Likewise.
1188 * nis/nss_compat/compat-pwd.c: Likewise.
1189 * nis/nss_compat/compat-spwd.c: Likewise.
1190 * nis/nss_nis/nis-alias.c: Likewise.
1191 * nis/nss_nis/nis-ethers.c: Likewise.
1192 * nis/nss_nis/nis-grp.c: Likewise.
1193 * nis/nss_nis/nis-hosts.c: Likewise.
1194 * nis/nss_nis/nis-network.c: Likewise.
1195 * nis/nss_nis/nis-proto.c: Likewise.
1196 * nis/nss_nis/nis-pwd.c: Likewise.
1197 * nis/nss_nis/nis-rpc.c: Likewise.
1198 * nis/nss_nis/nis-service.c: Likewise.
1199 * nis/nss_nis/nis-spwd.c: Likewise.
1200 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1201 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1202 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1203 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1204 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1205 * nis/nss_nisplus/nisplus-network.c: Likewise.
1206 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1207 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1208 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1209 * nis/nss_nisplus/nisplus-service.c: Likewise.
1210 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1211 * nis/ypclnt.c: Likewise.
1212 * nptl/libc_pthread_init.c: Likewise.
1213 * nss/getXXbyYY.c: Likewise.
1214 * nss/getXXent.c: Likewise.
1215 * nss/getXXent_r.c: Likewise.
1216 * nss/nss_db/db-XXX.c: Likewise.
1217 * nss/nss_db/db-netgrp.c: Likewise.
1218 * nss/nss_db/nss_db.h: Likewise.
1219 * nss/nss_files/files-XXX.c: Likewise.
1220 * nss/nss_files/files-alias.c: Likewise.
1221 * nss/nsswitch.c: Likewise.
1222 * posix/regex_internal.h: Likewise.
1223 * posix/wordexp.c: Likewise.
1224 * pwd/fgetpwent.c: Likewise.
1225 * resolv/res_hconf.c: Likewise.
1226 * resolv/res_libc.c: Likewise.
1227 * shadow/fgetspent.c: Likewise.
1228 * shadow/lckpwdf.c: Likewise.
1229 * shadow/sgetspent.c: Likewise.
1230 * socket/opensock.c: Likewise.
1231 * stdio-common/reg-modifier.c: Likewise.
1232 * stdio-common/reg-printf.c: Likewise.
1233 * stdio-common/reg-type.c: Likewise.
1234 * stdio-common/vfprintf.c: Likewise.
1235 * stdio-common/vfscanf.c: Likewise.
1236 * stdlib/abort.c: Likewise.
1237 * stdlib/cxa_atexit.c: Likewise.
1238 * stdlib/fmtmsg.c: Likewise.
1239 * stdlib/random.c: Likewise.
1240 * stdlib/setenv.c: Likewise.
1241 * string/strsignal.c: Likewise.
1242 * sunrpc/auth_none.c: Likewise.
1243 * sunrpc/bindrsvprt.c: Likewise.
1244 * sunrpc/create_xid.c: Likewise.
1245 * sunrpc/key_call.c: Likewise.
1246 * sunrpc/rpc_thread.c: Likewise.
1247 * sysdeps/arm/backtrace.c: Likewise.
1248 * sysdeps/generic/ldsodefs.h: Likewise.
1249 * sysdeps/generic/stdio-lock.h: Likewise.
1250 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1251 * sysdeps/i386/backtrace.c: Likewise.
1252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1253 * sysdeps/m68k/backtrace.c: Likewise.
1254 * sysdeps/mach/hurd/cthreads.c: Likewise.
1255 * sysdeps/mach/hurd/dirstream.h: Likewise.
1256 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1257 * sysdeps/nptl/malloc-machine.h: Likewise.
1258 * sysdeps/nptl/stdio-lock.h: Likewise.
1259 * sysdeps/posix/dirstream.h: Likewise.
1260 * sysdeps/posix/getaddrinfo.c: Likewise.
1261 * sysdeps/posix/system.c: Likewise.
1262 * sysdeps/pthread/aio_suspend.c: Likewise.
1263 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1264 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1265 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1266 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1270 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1271 * sysdeps/unix/sysv/linux/system.c: Likewise.
1272 * sysdeps/x86_64/backtrace.c: Likewise.
1273 * time/alt_digit.c: Likewise.
1274 * time/era.c: Likewise.
1275 * time/tzset.c: Likewise.
1276 * wcsmbs/wcsmbsload.c: Likewise.
1277 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1278 instead of <bits/libc-lock.h> in comment.
1279
1280 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1281
1282 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1283 Only use .set mips2 if the current ISA is below mips2.
1284 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1285 Likewise.
1286 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1287 mips32r2 if the current ISA is below mips32r2.
1288 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1289 (TLS_IE): Updated to use the TLD_RDHWR macro.
1290 (TLS_LE): Likewise.
1291 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1292 __ASSEMBLER__ condition.
1293
1294 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1295
1296 Fix parallel build of before-compile targets.
1297
1298 * sysdeps/mach/Makefile ($(patsubst
1299 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1300 mach-before-compile target.
1301 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1302 io fs process)): Move rule to dedicated hurd-before-compile target.
1303
1304 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1305
1306 Fix rules generating headers in hurd/ and mach/ when initial make call
1307 has subdir= explicitly set.
1308
1309 * sysdeps/mach/Makefile ($(patsubst
1310 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1311 calling $(MAKE).
1312 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1313 io fs process)): Force subdir to hurd when calling $(MAKE).
1314 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1315 subdir to mach when calling $(MAKE).
1316
1317 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1318
1319 Check sysheaders when looking for Mach and Hurd headers
1320
1321 * sysdeps/mach/configure.ac: Add sysheaders check.
1322 * sysdeps/mach/configure: Regenerate.
1323 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1324 * sysdeps/mach/hurd/configure: Regenerate.
1325
1326 2015-09-04 Roland McGrath <roland@hack.frob.com>
1327
1328 [BZ #18921]
1329 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1330 Fix inverted sense of test of 'o_directory_works' value.
1331 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1332 Bernhard Voelker <mail@bernhard-voelker.de>.
1333
1334 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1335
1336 [BZ #14912]
1337 * bits/linkmap.h: Move to ...
1338 * sysdeps/generic/linkmap.h: ...here.
1339 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1340 * sysdeps/aarch64/linkmap.h: ...here.
1341 * sysdeps/arm/bits/linkmap.h: Move to ...
1342 * sysdeps/arm/linkmap.h: ...here.
1343 * sysdeps/hppa/bits/linkmap.h: Move to ...
1344 * sysdeps/hppa/linkmap.h: ...here.
1345 * sysdeps/ia64/bits/linkmap.h: Move to ...
1346 * sysdeps/ia64/linkmap.h: ...here.
1347 * sysdeps/mips/bits/linkmap.h: Move to ...
1348 * sysdeps/mips/linkmap.h: ...here.
1349 * sysdeps/s390/bits/linkmap.h: Move to ...
1350 * sysdeps/s390/linkmap.h: ...here.
1351 * sysdeps/sh/bits/linkmap.h: Move to ...
1352 * sysdeps/sh/linkmap.h: ...here.
1353 * sysdeps/x86/bits/linkmap.h: Move to ...
1354 * sysdeps/x86/linkmap.h: ...here.
1355 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1356
1357 2015-09-04 Andreas Schwab <schwab@suse.de>
1358
1359 [BZ #18635]
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1361 (__makecontext): Terminate FDE before return label.
1362 (__novec_makecontext): Likewise.
1363
1364 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1365
1366 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1367 first member of struct sv in syscall macro.
1368
1369 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1370
1371 [BZ #14912]
1372 * bits/stdio-lock.h: Move to ...
1373 * sysdeps/generic/stdio-lock.h: ...here.
1374 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1375 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1376 * sysdeps/nptl/stdio-lock.h: ...here.
1377 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1378 * include/libio.h: Include <stdio-lock.h> instead of
1379 <bits/stdio-lock.h>.
1380 * sysdeps/nptl/fork.c: Likewise.
1381 * sysdeps/pthread/flockfile.c: Likewise.
1382 * sysdeps/pthread/ftrylockfile.c: Likewise.
1383 * sysdeps/pthread/funlockfile.c: Likewise.
1384
1385 [BZ #14912]
1386 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1387 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1388 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1389 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1390 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1391 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1392 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1393
1394 2015-09-03 Roland McGrath <roland@hack.frob.com>
1395
1396 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1397 (test-xfail-tst-protected1b): New variable.
1398
1399 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1400
1401 [BZ #14912]
1402 * bits/libc-tsd.h: Move to ...
1403 * sysdeps/generic/libc-tsd.h: ...here.
1404 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1405 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1406 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1407 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1408 * include/ctype.h: Include <libc-tsd.h> instead of
1409 <bits/libc-tsd.h>.
1410 * include/rpc/rpc.h: Likewise.
1411 * locale/localeinfo.h: Likewise.
1412 * sunrpc/rpc_thread.c: Likewise.
1413 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1414 * sysdeps/nptl/malloc-machine.h: Likewise.
1415
1416 * Makefile (headers): Remove bits/libc-lock.h.
1417 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1418
1419 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1420 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1421 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1422 <bits/stdio-lock.h>.
1423 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1424 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1425
1426 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1427
1428 [BZ #18757]
1429 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1430 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1431 BZ #18757.
1432
1433 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1434
1435 * malloc/mtrace.pl: Filter out NULL entries.
1436
1437 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1438
1439 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1440 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1441 macro.
1442
1443 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1444 (TCP_CC_INFO): Likewise.
1445 (TCP_SAVE_SYN): Likewise.
1446 (TCP_SAVED_SYN): Likewise.
1447
1448 2015-08-31 Brett Neumeier <brett@neumeier.us>
1449
1450 [BZ #18870]
1451 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1452
1453 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1454
1455 [BZ #18873]
1456 Fix broken overflow check in posix_fallocate
1457 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1458 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1459 Fix parenthesization typo.
1460
1461 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1462
1463 [BZ #18887]
1464 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1465 tst-mntent-blank-passno.
1466 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1467 * misc/tst-mntent-blank-corrupt.c: New test.
1468 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1469 * misc/tst-mntent.c (do_test): ... here.
1470
1471 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1472
1473 [BZ #4404]
1474 * po/de.po: Fix SIGALRM typo.
1475
1476 2015-08-28 James Perkins <james@loowit.net>
1477
1478 * time/tst-strptime2.c (tests): Replace short list of test
1479 strings for strptime %z specifier with code which exhaustively
1480 tests every combination of sign and 0 to 5 digits. Tests for
1481 rejection of invalid strings.
1482
1483 2015-08-28 James Perkins <james@loowit.net>
1484
1485 [BZ #16141]
1486 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1487 calculation, removing incorrect decimal time rounding, so that
1488 all minute values result in a valid seconds value.
1489 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1490 offset range limits to UTC-99:59 through UTC+99:59 to parse
1491 current and historical use cases.
1492 * time/tst-strptime2.c (tests): Modify and add tests for the
1493 strptime %z input field descriptor, specifically conversion of
1494 minutes to seconds and validating an offset range of -9959 to
1495 +9959.
1496
1497 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1498 Dmitry V. Levin <ldv@altlinux.org>
1499
1500 [BZ #18877]
1501 * posix/Makefile (tests): Add tst-mmap-offset.
1502 * posix/tst-mmap.c: New file.
1503 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1504 offset calculation for negative values.
1505
1506 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/i386/init-arch.h: New file.
1509 * sysdeps/i386/i586/init-arch.h: Likewise.
1510 * sysdeps/i386/i686/init-arch.h: Likewise.
1511 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1512 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1513 * sysdeps/x86/cpu-features.h (bit_I586): New.
1514 (bit_I686): Likewise.
1515 (bit_CX8): Likewise.
1516 (bit_CMOV): Likewise.
1517 (index_CX8): Likewise.
1518 (index_CMOV): Likewise.
1519 (index_I586): Likewise.
1520 (index_I686): Likewise.
1521 (reg_CX8): Likewise.
1522 (reg_CMOV): Likewise.
1523 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1524 available at compile-time.
1525 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1526 available at compile-time.
1527 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1528 (USE_I686): Likewise.
1529
1530 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * sysdeps/i386/bcopy.S: New file.
1533 * sysdeps/i386/bzero.S: Likewise.
1534 * sysdeps/i386/memcpy.S: Likewise.
1535 * sysdeps/i386/memmove.S: Likewise.
1536 * sysdeps/i386/mempcpy.S: Likewise.
1537 * sysdeps/i386/memset.S: Likewise.
1538 * sysdeps/i386/bzero.c: Removed.
1539 * sysdeps/i386/memset.c: Likewise.
1540 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1541 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1542 * sysdeps/i386/i586/memset_chk.S: Likewise.
1543 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1544 * sysdeps/i386/memcpy_chk.S: Here.
1545 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1546 * sysdeps/i386/memmove_chk.S: Here.
1547 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1548 * sysdeps/i386/mempcpy_chk.S: Likewise.
1549 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1550 * sysdeps/i386/memset_chk.S: Likewise.
1551
1552 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1553
1554 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1555 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1556 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1557 * soft-fp/fmadf4.c: Ditto.
1558 * soft-fp/fmatf4.c: Ditto.
1559
1560 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * sysdeps/i386/i586/Implies: Removed.
1563 * sysdeps/i386/i686/Implies: Likewise.
1564
1565 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1566
1567 * sysdeps/i386/i486/strlen.S: Moved to ...
1568 * sysdeps/i386/strlen.S: Here.
1569
1570 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 * sysdeps/i386/i486/strcat.S: Moved to ...
1573 * sysdeps/i386/strcat.S: Here.
1574
1575 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1578 * sysdeps/i386/pthread_spin_trylock.S: Here.
1579 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1580 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1581
1582 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1585 * sysdeps/i386/string-inlines.c: Here.
1586
1587 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/i386/i486/htonl.S: Moved ...
1590 * sysdeps/i386/htonl.S: here.
1591
1592 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1595 * sysdeps/i386/bits/atomic.h: Here.
1596
1597 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * sysdeps/i386/i486/Versions: Removed.
1600
1601 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1602
1603 [BZ #2898]
1604 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1605 Based on patch by Aurelien Jarno.
1606
1607 2015-08-26 Stan Shebs <stanshebs@google.com>
1608
1609 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1610 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1611
1612 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1613
1614 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1615 * sysdeps/powerpc/dl-procinfo.c:
1616 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1617 feature so it shows when LD_SHOW_AUXV=1.
1618
1619 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1620
1621 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1622 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1623 definition. ISA 2.07B no longer requires full sync.
1624
1625 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1626
1627 [BZ #18863]
1628 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1629 (si_call_addr): Define.
1630 (si_syscall): Define.
1631 (si_arch): Define.
1632
1633 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1636 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1637 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1638 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1639 (__memset_zero_constant_len_parameter): New.
1640 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1641 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1642 (__memset_zero_constant_len_parameter): Don't define if
1643 __memset_chk or USE_AS_BZERO are defined.
1644
1645 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1646 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1647 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1648
1649 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1650 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1651 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1652 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1653 comments.
1654 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1655 -mno-mmx for $(all-rtld-routines).
1656 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1657 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1658 i386.
1659
1660 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1661
1662 * sysdeps/generic/unwind.h
1663 (_Unwind_Word): Use __mode__(__unwind_word__)
1664 instead of __mode__(__word__).
1665 (_Unwind_Sword): Likewise.
1666
1667 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1668 (MAX_NEEDED_INPUT): New define.
1669 (MAX_NEEDED_OUTPUT): New define.
1670
1671 * NEWS: New item for IBM z13 string optimizations.
1672
1673 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1674 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1675 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1676 * sysdeps/s390/multiarch/Makefile
1677 (sysdep_routines): Add memrchr functions.
1678 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1679 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1680
1681 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1682 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1683 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1684 * sysdeps/s390/multiarch/Makefile
1685 (sysdep_routines): Add wmemcmp functions.
1686 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1687 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1688 * benchtests/bench-wmemcmp.c: New File.
1689 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1690
1691 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1692 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1693 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1694 * sysdeps/s390/multiarch/Makefile
1695 (sysdep_routines): Add wmemset functions.
1696 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1697 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1698 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1699 * string/test-memset.c: Add wmemset support.
1700 * wcsmbs/test-wmemset.c: New File.
1701 * wcsmbs/Makefile (strop-tests): Add wmemset.
1702 * benchtests/bench-memset.c: Add wmemset support.
1703 * benchtests/bench-wmemset.c: New File.
1704 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1705
1706 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1707 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1708 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1709 * sysdeps/s390/multiarch/Makefile
1710 (sysdep_routines): Add memccpy functions.
1711 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1712 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1713 * string/memccpy.c: Use MEMCCPY if defined.
1714
1715 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1716 * sysdeps/s390/multiarch/memchr.c: Likewise.
1717 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1718 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1719 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1720 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1721 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1722 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1723 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1724 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1725 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1726 and rawmemchr functions.
1727 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1728 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1729 and wmemchr.
1730 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1731 * string/test-memchr.c: Add wmemchr support.
1732 * wcsmbs/test-wmemchr.c: New File.
1733 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1734 * benchtests/bench-memchr.c: Add wmemchr support.
1735 * benchtests/bench-wmemchr.c: New File.
1736 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1737
1738 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1739 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1740 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1741 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1742 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1743 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1744 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1745 wcscspn functions.
1746 * sysdeps/s390/multiarch/ifunc-impl-list.c
1747 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1748 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1749 * string/test-strcspn.c: Add wcscspn support.
1750 * wcsmbs/test-wcscspn.c: New File.
1751 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1752 * benchtests/bench-strcspn.c: Add wcscspn support.
1753 * benchtests/bench-wcscspn.c: New File.
1754 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1755
1756 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1757 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1758 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1759 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1760 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1761 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1762 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1763 wcspbrk functions.
1764 * sysdeps/s390/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1766 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1767 * string/test-strpbrk.c: Add wcspbrk support.
1768 * wcsmbs/test-wcspbrk.c: New File.
1769 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1770 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1771 * benchtests/bench-wcspbrk.c: New File.
1772 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1773
1774 * sysdeps/s390/multiarch/strspn-c.c: New File.
1775 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1776 * sysdeps/s390/multiarch/strspn.c: Likewise.
1777 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1778 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1779 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1780 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1781 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1782 wcsspn functions.
1783 * sysdeps/s390/multiarch/ifunc-impl-list.c
1784 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1785 * string/test-strspn.c: Add wcsspn support.
1786 * wcsmbs/test-wcsspn.c: New File.
1787 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1788 * benchtests/bench-strspn.c: Add wcsspn support.
1789 * benchtests/bench-wcsspn.c: New File.
1790 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1791
1792 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1793 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1794 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1795 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1796 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1797 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1798 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1799 wcsrchr functions.
1800 * sysdeps/s390/multiarch/ifunc-impl-list.c
1801 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1802 * benchtests/bench-wcsrchr.c: New File.
1803 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1804
1805 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1806 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1807 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1808 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1809 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1810 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1811 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1812 wcschrnul functions.
1813 * sysdeps/s390/multiarch/ifunc-impl-list.c
1814 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1815 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1816 * string/test-strchr.c: Add wcschrnul support.
1817 * wcsmbs/test-wcschrnul.c: New File.
1818 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1819 * benchtests/bench-strchr.c: Add wcschrnul support.
1820 * benchtests/bench-wcschrnul.c: New File.
1821 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1822
1823 * sysdeps/s390/multiarch/strchr-c.c: New File.
1824 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1825 * sysdeps/s390/multiarch/strchr.c: Likewise.
1826 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1827 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1828 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1829 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1830 wcschr functions.
1831 * sysdeps/s390/multiarch/ifunc-impl-list.c
1832 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1833 * string/strchr.c (STRCHR): Define and use macro.
1834 * benchtests/bench-wcschr.c: New File.
1835 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1836
1837 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1838 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1839 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1840 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1841 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1842 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1843 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1844 wcsncmp functions.
1845 * sysdeps/s390/multiarch/ifunc-impl-list.c
1846 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1847 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1848 * benchtests/bench-strncmp.c: Add wcsncmp support.
1849 * benchtests/bench-wcsncmp.c: New File.
1850 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1851
1852 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1853 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1854 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1855 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1856 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1857 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1858 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1859 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1860 wcscmp functions.
1861 * sysdeps/s390/multiarch/ifunc-impl-list.c
1862 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1863 * string/strcmp.c (STRCMP): Define and use macro.
1864 * benchtests/bench-wcscmp.c: New File.
1865 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1866 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1867 instead of _HAVE_STRING_ARCH_memchr.
1868
1869 * sysdeps/s390/multiarch/strncat-c.c: New File.
1870 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1871 * sysdeps/s390/multiarch/strncat.c: Likewise.
1872 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1873 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1874 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1875 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1876 wcsncat functions.
1877 * sysdeps/s390/multiarch/ifunc-impl-list.c
1878 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1879 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1880 * string/test-strncat.c: Add wcsncat support.
1881 * wcsmbs/test-wcsncat.c: New File.
1882 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1883 * benchtests/bench-strncat.c: Add wcsncat support.
1884 * benchtests/bench-wcsncat.c: New File.
1885 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1886
1887 * sysdeps/s390/multiarch/strcat-c.c: New File.
1888 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1889 * sysdeps/s390/multiarch/strcat.c: Likewise.
1890 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1891 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1892 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1893 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1894 wcscat functions.
1895 * sysdeps/s390/multiarch/ifunc-impl-list.c
1896 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1897 * string/strcat.c (STRCAT): Define and use macro.
1898 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1899 * string/test-strcat.c: Add wcscat support.
1900 * wcsmbs/test-wcscat.c: New File.
1901 * wcsmbs/Makefile (strop-tests): Add wcscat.
1902 * benchtests/bench-strcat.c: Add wcscat support.
1903 * benchtests/bench-wcscat.c: New File.
1904 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1905
1906 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1907 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1908 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1909 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1910 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1911 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1912 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1913 wcpncpy functions.
1914 * sysdeps/s390/multiarch/ifunc-impl-list.c
1915 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1916 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1917 * string/test-stpncpy.c: Add wcpncpy support.
1918 * wcsmbs/test-wcpncpy.c: New File.
1919 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1920 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1921 * benchtests/bench-wcpncpy.c: New File.
1922 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1923
1924 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1925 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1926 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1927 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1928 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1929 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1930 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1931 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1932 wcsncpy functions.
1933 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1934 * sysdeps/s390/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1936 * string/test-strncpy.c: Add wcsncpy support.
1937 * wcsmbs/test-wcsncpy.c: New File.
1938 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1939 * benchtests/bench-strncpy.c: Add wcsncpy support.
1940 * benchtests/bench-wcsncpy.c: New File.
1941 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1942
1943 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1944 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1945 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1946 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1947 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1948 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1949 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1950 wcpcpy functions.
1951 * string/stpcpy.c: Use STPCPY if defined.
1952 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1953 * sysdeps/s390/multiarch/ifunc-impl-list.c
1954 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1955 * string/test-stpcpy.c: Add wcpcpy support.
1956 * wcsmbs/test-wcpcpy.c: New File.
1957 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1958 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1959 * benchtests/bench-wcpcpy.c: New File.
1960 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1961
1962 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1963 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1964 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1965 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1966 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1967 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1968 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1969 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1970 wcscpy functions.
1971 * sysdeps/s390/multiarch/ifunc-impl-list.c
1972 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1973 * benchtests/bench-wcscpy.c: New File.
1974 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1975
1976 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1977 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1978 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1979 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1980 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1981 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1982 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1983 wcsnlen functions.
1984 * sysdeps/s390/multiarch/ifunc-impl-list.c
1985 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1986 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1987 * string/test-strnlen.c: Add wcsnlen support.
1988 * wcsmbs/test-wcsnlen.c: New File.
1989 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1990 * benchtests/bench-strnlen.c: Add wcsnlen support.
1991 * benchtests/bench-wcsnlen.c: New File.
1992 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1993
1994 * sysdeps/s390/multiarch/Makefile: New File.
1995 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1996 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1997 * sysdeps/s390/multiarch/strlen.c: Likewise.
1998 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1999 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2000 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2001 * string/strlen.c (STRLEN): Define and use macro.
2002 * sysdeps/s390/multiarch/ifunc-impl-list.c
2003 (IFUNC_VX_IMPL): New macro function.
2004 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2005 * benchtests/Makefile (wcsmbs-bench): New variable.
2006 (string-bench-all): Added wcsmbs-bench.
2007 * benchtests/bench-wcslen.c: New File.
2008
2009 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2010 s390_vx_libc_ifunc2): New macro function.
2011
2012 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2013 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2014 assembler support.
2015 * sysdeps/s390/configure: Regenerated.
2016
2017 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2018 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2019
2020 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2021 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2022 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2023
2024 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2025 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2026 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2027 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2028 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2029 (memcmp, bcmp): Use __memcmp_default as alias source.
2030 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2031 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2032 Rename to __memcmp_default.
2033 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2034 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2035 (memcpy): Use __memcpy_default as alias source.
2036 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2037 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2038 Rename to __memcpy_default.
2039 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2040 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2041 (memset): Use __memset_default as alias source.
2042 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2043 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2044 Rename to __memset_default.
2045 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2046 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2048 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2049 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2050 (memcmp, bcmp): Use __memcmp_default as alias source.
2051 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2052 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2053 Rename to __memcmp_default.
2054 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2055 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2056 (memcpy): Use __memcpy_default as alias source.
2057 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2058 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2059 Rename to __memcpy_default.
2060 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2061 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2062 (memset): Use __memset_default as alias source.
2063 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2064 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2065 Rename to __memset_default.
2066 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2067 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2068
2069 [BZ #18610]
2070 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2071 __ieee_instruction_pointer to __unused.
2072 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2073 __ieee_instruction_pointer.
2074 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2075 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2076 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2077 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2078 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2079 Mark dxc-field as reserved.
2080
2081 2015-08-25 Roland McGrath <roland@hack.frob.com>
2082
2083 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2084 if the weak reference is not null.
2085
2086 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2089
2090 [BZ #11214]
2091 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2092
2093 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2094
2095 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2096 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2097 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2098 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2099 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2100 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2101 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2102 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2103 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2104 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2105 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2106 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2107 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2108 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2109 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2110 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2111 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2112 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2113
2114 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2115
2116 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2117 register other than r0 for tabort, it has special meaning.
2118 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2119 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2120 transaction before starting syscall.
2121
2122 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2123
2124 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2125
2126 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2129
2130 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2131 * sysdeps/x86_64/rtld-memset.S: Likewise.
2132 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2133 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2134 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2135 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2136
2137 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2138
2139 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2140
2141 * debug/strcpy_chk.c: Improve performance.
2142 * debug/stpcpy_chk.c: Likewise.
2143 * sysdeps/x86_64/strcpy_chk.S: Remove.
2144 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2145
2146 [BZ #18240]
2147 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2148
2149 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2150
2151 [BZ #15128]
2152 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2153 ifuncmain8.
2154 (modules-names): Add ifuncmod8.
2155 ($(objpfx)ifuncmain8): New rule.
2156 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2157 <cpuid.h>.
2158 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2159 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2160 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2161 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2162 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2163 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2164 * sysdeps/x86_64/ifuncmain8.c: New file.
2165 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2166 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2167 Removed.
2168 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2169 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2170 Change rtld_savespace_sse to __glibc_unused2.
2171 (RTLD_CHECK_FOREIGN_CALL): Removed.
2172 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2173 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2174 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2175
2176 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2177
2178 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2179
2180 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2181
2182 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2183 Unconditionally set __fpcr to avoid uninialized warning.
2184 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2185
2186 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2187
2188 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2189 is corrupt.
2190
2191 * malloc/arena.c (arena_get2): Drop unused argument.
2192 (arena_lock): Adjust.
2193 (arena_get_retry): Likewise.
2194
2195 2015-08-24 Andreas Schwab <schwab@suse.de>
2196
2197 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2198 Don't define.
2199 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2200 (__ASSUME_IPC64): Don't undef.
2201 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2202 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2203 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2204 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2205 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2206 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2207 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2208 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2209 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2211 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2212 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2213 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2214 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2215 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2217 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2222
2223 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2224
2225 * manual/Makefile (install): Only build manual when perl is available.
2226
2227 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2228
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2230 '#undef memcpy' by '#undef memchr'.
2231
2232 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2233
2234 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2235 memchr not point to the internal __GI_memchr implementation.
2236
2237 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2238
2239 * timezone/Makefile (CFLAGS-zdump.c): Remove
2240 -Wno-strict-prototypes.
2241 (CFLAGS-zic.c): Likewise.
2242 (CFLAGS-ialloc.c): Likewise.
2243 (CFLAGS-scheck.c): Likewise.
2244
2245 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2246 -Wno-error=undef.
2247
2248 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 * i386/i686/multiarch/strcasestr-c.c: Removed.
2251 * x86_64/multiarch/strcasestr.c: Likewise.
2252 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2253 Remove strcasestr.
2254
2255 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2256
2257 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2258
2259 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2260 variables for high and low parts before possibly modifying them.
2261
2262 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2265 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2266 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2267 of "multiarch/init-arch.h".
2268 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2269 * sysdeps/x86/init-arch.h: This.
2270
2271 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2274 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2275
2276 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2277
2278 [BZ #17787]
2279 * manual/macros.texi: Add twoexp macro.
2280 * manual/filesys.texi: Fix exponents.
2281 * manual/llio.texi: Likewise.
2282 * manual/stdio.texi: Likewise.
2283
2284 2015-08-20 Florian Weimer <fweimer@redhat.com>
2285
2286 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2287 incorrect use.
2288
2289 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2290
2291 [BZ #18370]
2292 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2293 whose real or imaginary part has small absolute value.
2294 * math/s_csqrtf.c (__csqrtf): Likewise.
2295 * math/s_csqrtl.c (__csqrtl): Likewise.
2296 * math/auto-libm-test-in: Add more tests of csqrt.
2297 * math/auto-libm-test-out: Regenerated.
2298 * sysdeps/i386/fpu/libm-test-ulps: Update.
2299
2300 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2301
2302 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2303 __ppc_set_ppr_very_low): New functions.
2304 * manual/platform.texi: Add documentation about
2305 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2306
2307 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2308
2309 * string/stpncpy.c (stpncpy): Improve performance using
2310 __strnlen/memcpy/memset.
2311
2312 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2313
2314 [BZ #18796]
2315 * scripts/test-installation.pl: Don't add -lmvec to build options if
2316 libmvec wasn't built.
2317
2318 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2319
2320 [BZ #14341]
2321 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2322 case when there is a gap between DT_REL and DT_JMPREL sections.
2323 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2324 (LDFLAGS-tst-split-dynreloc): New.
2325 (tst-split-dynreloc-ENV): Likewise.
2326 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2327 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2328
2329 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 [BZ #18822]
2332 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2333 attribute_hidden.
2334 (__xstat64_conv): Likewise.
2335 (__xstat32_conv): Likewise.
2336
2337 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2338
2339 [BZ #18822]
2340 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2341 Don't load %ebx when calling __setcontext. Call __setcontext
2342 with HIDDEN_JUMPTARGET.
2343 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2344 libc_hidden_def.
2345
2346 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/i386/i686/Makefile
2349 [$(subdir) == string] (sysdep_routines): Moved to ...
2350 * sysdeps/i386/Makefile: Here.
2351 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2352 * sysdeps/i386/cacheinfo.c: Here.
2353 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2354 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2356 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2357
2358 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2361 __i586__ is defined.
2362 (HAS_I686): Defined to 1 if __i686__ is defined.
2363
2364 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2365
2366 * elf/Makefile [$(have-z-execstack) = yes]
2367 (CPPFLAGS-tst-execstack.c): New variable.
2368
2369 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2370 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2371 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2372 UTMPX || _HAVE_UT_TV].
2373 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2374 UTMPX || _HAVE_UT_TV - 0].
2375
2376 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2377
2378 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2379 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2380 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2381
2382 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2383
2384 * sysdeps/powerpc/dl-procinfo.c:
2385 (_dl_powerpc_cap_flags): Added missing strings for some
2386 hwcap features.
2387 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2388
2389 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2390
2391 Port the 0x7efe...feff pattern to GCC 6.
2392 See Steve Ellcey's bug report in:
2393 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2394 * string/memrchr.c (MEMRCHR):
2395 * string/rawmemchr.c (RAWMEMCHR):
2396 * string/strchr.c (strchr):
2397 * string/strchrnul.c (STRCHRNUL):
2398 Rewrite code to avoid issues with signed shift overflow.
2399
2400 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2403 whether cpuid is available only if HAS_CPUID is 0.
2404 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2405 (HAS_I586): Likewise.
2406 (HAS_I686): Likewise.
2407
2408 2015-08-18 Zack Weinberg <zackw@panix.com>
2409
2410 * misc/Versions (libc): Add GLIBC_2.23.
2411
2412 2015-08-18 Alan Modra <amodra@gmail.com>
2413
2414 [BZ #18421]
2415 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2416 .Lp__global.
2417 (_start): Load %dp via .Lp__global.
2418 [!SHARED]: Use .section .rodata.
2419
2420 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2421
2422 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2423 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2424
2425 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2426
2427 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2428 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2429
2430 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2431
2432 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2433 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2434
2435 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2436
2437 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2438 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2439
2440 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2441
2442 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2443 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2444
2445 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2446
2447 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2448 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2449
2450 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2451
2452 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2453
2454 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2455
2456 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2457 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2458 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2459 (__ASSUME_LWS_CAS): Delete.
2460
2461 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2462
2463 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2464 * sysdeps/hppa/configure: Regenerated.
2465 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2466 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2467 * sysdeps/hppa/nptl/tls.h: Likewise.
2468
2469 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2470
2471 [BZ #18823]
2472 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2473 for scaling up small arguments.
2474 * math/s_csqrtf.c (__csqrtf): Likewise.
2475 * math/s_csqrtl.c (__csqrtl): Likewise.
2476 * math/auto-libm-test-in: Add more tests of csqrt.
2477 * math/auto-libm-test-out: Regenerated.
2478
2479 2015-08-17 Andreas Schwab <schwab@suse.de>
2480
2481 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2482 version set GLIBC_2.19.
2483
2484 2015-08-16 Zack Weinberg <zackw@panix.com>
2485
2486 [BZ #18681]
2487 * misc/regexp.h: This interface is no longer supported.
2488 Remove all contents, leaving only an #error directive.
2489 * misc/regexp.c (loc1, loc2, locs, step, advance):
2490 Demote to compatibility symbols.
2491
2492 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2493
2494 [BZ #18084]
2495 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2496 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2497 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2498 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2499 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2500 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2501 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2502 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2503 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2504
2505 2015-08-15 Zack Weinberg <zackw@panix.com>
2506
2507 [BZ #18795]
2508 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2509 buffer length is known to be too large, not if it's known to be
2510 small enough.
2511 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2512 overflow at runtime, involving a length parameter, twice: once
2513 with a compile-time constant length parameter, once without.
2514
2515 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2516
2517 [BZ #18824]
2518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2519 scaling x * y up instead of down.
2520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2522 * math/auto-libm-test-in: Add more tests of fma.
2523 * math/auto-libm-test-out: Regenerated.
2524
2525 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2526
2527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2528
2529 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2530
2531 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2532 unnecessary movq.
2533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2534 Likewise.
2535
2536 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2537
2538 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2539 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2540 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2541 and tgamma.
2542 * math/auto-libm-test-out: Regenerated.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2545
2546 [BZ #16520]
2547 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2548 (__tanh): Force underflow exception for arguments with small
2549 absolute value.
2550 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2551 (__tanhf): Force underflow exception for arguments with small
2552 absolute value.
2553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2554 (__tanhl): Force underflow exception for arguments with small
2555 absolute value.
2556 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2557 (__tanhl): Force underflow exception for arguments with small
2558 absolute value.
2559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2560 (__tanhl): Force underflow exception for arguments with small
2561 absolute value.
2562 * math/auto-libm-test-in: Add more tests of tanh.
2563 * math/auto-libm-test-out: Regenerated.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565
2566 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2567
2568 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2569 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2570
2571 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2574 <cpuid.h>.
2575
2576 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2577
2578 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2579 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2580
2581 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2584 Remove $(objpfx)init-arch.o.
2585 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2586 init-arch.
2587 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2588 (INIT_ARCH_EXT): Defined as empty.
2589 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2590 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2591 __init_cpu_features call. Replace HAS_XXX with
2592 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2594 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2595 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2597 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2598 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2599 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2600 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2601 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2602 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2603 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2604 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2605 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2606 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2607 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2608 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2609 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2610 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2611 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2612 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2613 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2614 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2615 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2616 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2617 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2618 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2619 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2620 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2621 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2622 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2623 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2624 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2625 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2626 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2627 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2628
2629 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2630
2631 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2632 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2633 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2634 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2636 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2637 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2638 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2639 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2640 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2641 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2642 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2643 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2648 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2674
2675 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2678 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2682 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2683 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2684 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2685 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2688 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2689 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2690 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2691 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2692 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2693 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2695 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2696 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2698 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2699 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2700 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2701 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2702 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2703 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2704 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2705 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2706 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2707 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2708 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2709 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2710 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2711 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2712 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2713 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2714 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2715 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2716 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2717 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2718 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2719 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2720
2721 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2724 (dl_platform_init): Call init_cpu_features.
2725 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2726 * sysdeps/i386/i686/cacheinfo.c
2727 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2728 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2729 * sysdeps/i386/i686/multiarch/Versions: Removed.
2730 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2731 Removed.
2732 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2733 * sysdeps/unix/sysv/linux/x86/Makefile
2734 (libpthread-sysdep_routines): Remove init-arch.
2735 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2736 <sysdeps/x86_64/dl-procinfo.c> instead of
2737 sysdeps/generic/dl-procinfo.c>.
2738 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2739 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2740 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2741 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2742 [$(subdir) == elf] (tests-static): Add
2743 tst-get-cpu-features-static.
2744 * sysdeps/x86/Versions: New file.
2745 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2746 * sysdeps/x86/cpu-features.c: Likewise.
2747 * sysdeps/x86/cpu-features.h: Likewise.
2748 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2749 * sysdeps/x86/libc-start.c: Likewise.
2750 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2751 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2752 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2753 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2754 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2755 Assume USE_MULTIARCH is defined and don't check it.
2756 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2757 (is_amd): Likewise.
2758 (max_cpuid): Likewise.
2759 (intel_check_word): Likewise.
2760 (__cache_sysconf): Don't call __init_cpu_features.
2761 (__x86_preferred_memory_instruction): Removed.
2762 (init_cacheinfo): Don't call __init_cpu_features. Replace
2763 __cpu_features with GLRO(dl_x86_cpu_features).
2764 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2765 (dl_platform_init): Call init_cpu_features.
2766 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2767 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2768 * sysdeps/x86_64/multiarch/Versions: Removed.
2769 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2770 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2771 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2772 Removed.
2773 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2774
2775 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2776
2777 [BZ #18820]
2778 * libio/Makefile (test-fmemopen-mem): New test.
2779 * libio/test-fmemopen.c (do_bz18820): New test.
2780 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2781 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2782
2783 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2784
2785 [BZ #16734]
2786 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2787 (FREE_BUF): Delete.
2788 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2789 * libio/genops.c (_IO_setb): Use malloc and free directly.
2790 (_IO_default_doallocate, _IO_default_finish): Likewise.
2791 ( _IO_unbuffer_all): Likewise.
2792 ( libc_freeres_fn): Likewise.
2793 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2794 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2795 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2796 (_IO_wdefault_doallocate): Likewise.
2797
2798 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2799
2800 [BZ #18086]
2801 * sysdeps/posix/nice.c (nice): Restore old errno.
2802 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2803
2804 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2805
2806 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2807
2808 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2809
2810 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2811 __bcopy and add a weak_alias to bcopy.
2812 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2813 for static build.
2814
2815 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2816 cleanup macro usage.
2817 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2819 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2820 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2821 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2822 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2823 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2824 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2825 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2826 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2828 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2829 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2830 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2832 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2833 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2834 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2835 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2836
2837 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2838 libc_hidden_def.
2839 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2840
2841 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2842 (sysdep_routines): Add strstr-ppc64.
2843 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2844
2845 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2846
2847 [BZ #18778]
2848 * elf/Makefile (tests): Add Add tst-nodelete2.
2849 (modules-names): Add tst-nodelete2mod.
2850 (tst-nodelete2mod.so-no-z-defs): New.
2851 ($(objpfx)tst-nodelete2): Likewise.
2852 ($(objpfx)tst-nodelete2.out): Likewise.
2853 (LDFLAGS-tst-nodelete2): Likewise.
2854 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2855 out of loop through all loaded libraries.
2856 * elf/tst-nodelete2.c: New file.
2857 * elf/tst-nodelete2mod.c: Likewise.
2858 * elf/tst-znodelete-zlib.cc: Delete.
2859
2860 2015-08-11 Andreas Schwab <schwab@suse.de>
2861
2862 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2863 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2864 (__openat64_nocancel): Likewise.
2865
2866 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2867
2868 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2869 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2870 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2871 * math/auto-libm-test-out: Regenerated.
2872 * sysdeps/i386/fpu/libm-test-ulps: Update.
2873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2874
2875 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #18790]
2878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2879 threshold for returning +/- 1.
2880 * math/auto-libm-test-in: Add more tests of tanh.
2881 * math/auto-libm-test-out: Regenerated.
2882 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883
2884 2015-08-10 Andreas Schwab <schwab@suse.de>
2885
2886 [BZ #18781]
2887 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2888 MORE_OFLAGS to oflag.
2889 * io/test-lfs.c (do_test): Test openat64.
2890
2891 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2892
2893 [BZ #18789]
2894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2895 smaller threshold for returning the argument.
2896 * math/auto-libm-test-in: Add more tests of sinh.
2897 * math/auto-libm-test-out: Regenerated.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899
2900 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 [BZ #18674]
2903 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2904 break.
2905
2906 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2907
2908 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2909 (generated): Don't add $(addprefix z.,$(tzfiles)).
2910
2911 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2912
2913 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2914 * scripts/sysd-rules.awk: Likewise.
2915
2916 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2917
2918 * iconvdata/tst-tables.sh: Change echo -n to printf.
2919 * nss/db-Makefile: Likewise.
2920 * posix/tst-getconf.sh: Likewise.
2921 * stdio-common/tst-unbputc.sh: Likewise.
2922
2923 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2924
2925 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2926 MADV_*_PAGES defines behind this feature check.
2927
2928 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2929
2930 [BZ #18480]
2931 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2932 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2933 Define.
2934 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2935 LOAD_REGS_5, LOAD_REGS_6): Update.
2936 (INTERNAL_SYSCALL): Update using new LOAD defines.
2937 (INTERNAL_SYSCALL_NCS): Likewise.
2938 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2939
2940 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2941
2942 [BZ #16734]
2943 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2944
2945 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2946
2947 [BZ #17905]
2948 * catgets/Makefile (tst-catgets-mem): New test.
2949 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2950 * catgets/open_catalog.c (__open_catalog): Likewise.
2951 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2952
2953 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2954
2955 [BZ #18787]
2956 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2957 clobber registers.
2958 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2959 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2960 Cast return to __typeof (oldval).
2961
2962 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2963
2964 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2965 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2966 and delete sys/syscall.h include.
2967
2968 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #16517]
2971 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2972 (tan): Force underflow exception for arguments with small absolute
2973 value.
2974 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2975 (__kernel_tanf): Force underflow exception for arguments with
2976 small absolute value.
2977 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2978 (__kernel_tanl): Force underflow exception for arguments with
2979 small absolute value.
2980 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2981 (__kernel_tanl): Force underflow exception for arguments with
2982 small absolute value.
2983 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2984 (__kernel_tanl): Force underflow exception for arguments with
2985 small absolute value.
2986 * math/auto-libm-test-in: Add more tests of tan.
2987 * math/auto-libm-test-out: Regenerated.
2988
2989 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2990
2991 Fix sysdeps/i386/fpu/s_scalbn.S build
2992
2993 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2994
2995 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2996
2997 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2998
2999 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3000
3001 Fix gcrt0.o compilation
3002
3003 When static-start-installed-name is different from
3004 start-installed-name, we must not use the shared objects.
3005
3006 * csu/Makefile
3007 (extra-objs): Add gmon-start.o when building shared library and
3008 $(static-start-installed-name) is different from
3009 $(start-installed-name).
3010 $(objpfx)g$(static-start-installed-name): When building shared
3011 library and $(static-start-installed-name) is different from
3012 $(static-start-installed-name), revert to non-shared rule,
3013 i.e. using $(objpfx)% and gmon-start.o.
3014
3015 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3016
3017 [BZ #16519]
3018 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3019 (__ieee754_sinh): Force underflow exception for arguments with
3020 small absolute value.
3021 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3022 (__ieee754_sinhf): Force underflow exception for arguments with
3023 small absolute value.
3024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3025 (__ieee754_sinhl): Force underflow exception for arguments with
3026 small absolute value.
3027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3028 (__ieee754_sinhl): Force underflow exception for arguments with
3029 small absolute value.
3030 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3031 (__ieee754_sinhl): Force underflow exception for arguments with
3032 small absolute value.
3033 * math/auto-libm-test-in: Add more tests of sinh.
3034 * math/auto-libm-test-out: Regenerated.
3035 * sysdeps/i386/fpu/libm-test-ulps: Update.
3036
3037 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3038
3039 * libio/oldfileops.c: Include unistd.h.
3040
3041 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3042
3043 * stdlib/isomac.c: Include ctype.h.
3044
3045 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3046
3047 * dirent/tst-seekdir.c (main): Converted to ...
3048 (do_test): ... this.
3049 (TEST_FUNCTION): New macro.
3050 Include test-skeleton.c.
3051 * elf/tst-dlmodcount.c (main): Converted to ...
3052 (do_test): ... this.
3053 (TEST_FUNCTION): New macro.
3054 Include test-skeleton.c.
3055 * elf/tst-order-main.c (main): Converted to ...
3056 (do_test): ... this.
3057 (TEST_FUNCTION): New macro.
3058 Include test-skeleton.c.
3059 * elf/tst-pie2.c (main): Converted to ...
3060 (do_test): ... this.
3061 (TEST_FUNCTION): New macro.
3062 Include test-skeleton.c.
3063 * inet/tst-ether_aton.c (main): Converted to ...
3064 (do_test): ... this.
3065 (TEST_FUNCTION): New macro.
3066 Include test-skeleton.c.
3067 * misc/tst-mntent.c (main): Converted to ...
3068 (do_test): ... this.
3069 (TEST_FUNCTION): New macro.
3070 Include test-skeleton.c.
3071 * misc/tst-tsearch.c (main): Converted to ...
3072 (do_test): ... this.
3073 (TEST_FUNCTION): New macro.
3074 Include test-skeleton.c.
3075 * posix/tst-regexloc.c (main): Converted to ...
3076 (do_test): ... this.
3077 (TEST_FUNCTION): New macro.
3078 Include test-skeleton.c.
3079 * resolv/tst-aton.c (main): Converted to ...
3080 (do_test): ... this.
3081 (TEST_FUNCTION): New macro.
3082 Include test-skeleton.c.
3083 * stdio-common/test-fwrite.c (main): Converted to ...
3084 (do_test): ... this.
3085 (TEST_FUNCTION): New macro.
3086 Include test-skeleton.c.
3087 * stdio-common/tst-ferror.c (main): Converted to ...
3088 (do_test): ... this.
3089 (TEST_FUNCTION): New macro.
3090 Include test-skeleton.c.
3091 * stdio-common/tst-printf.c (main): Converted to ...
3092 (do_test): ... this.
3093 (TEST_FUNCTION): New macro.
3094 Include test-skeleton.c.
3095 * stdio-common/tst-printfsz.c (main): Converted to ...
3096 (do_test): ... this.
3097 (TEST_FUNCTION): New macro.
3098 Include test-skeleton.c.
3099 * stdlib/tst-strtod.c (main): Converted to ...
3100 (do_test): ... this.
3101 (TEST_FUNCTION): New macro.
3102 Include test-skeleton.c.
3103 * string/tst-strlen.c (main): Converted to ...
3104 (do_test): ... this.
3105 (TEST_FUNCTION): New macro.
3106 Include test-skeleton.c.
3107 * string/tst-svc.c (main): Converted to ...
3108 (do_test): ... this.
3109 (TEST_FUNCTION): New macro.
3110 Include test-skeleton.c.
3111 * time/tst-strptime.c (main): Converted to ...
3112 (do_test): ... this.
3113 (TEST_FUNCTION): New macro.
3114 Include test-skeleton.c.
3115 * timezone/tst-timezone.c (main): Converted to ...
3116 (do_test): ... this.
3117 (TEST_FUNCTION): New macro.
3118 Include test-skeleton.c.
3119
3120 2015-08-05 Zack Weinberg <zackw@panix.com>
3121
3122 * misc/regexp.h: Update comments.
3123
3124 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 [BZ #18635]
3127 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3128 before return label.
3129
3130 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 [BZ #18661]
3133 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3134 when calling __errno_location.
3135 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3136 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3137
3138 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 [BZ #18661]
3141 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3142 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3143 __gettimeofday.
3144
3145 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3146
3147 [BZ #18661]
3148 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3149 (__start_context): Don't use pop to restore %rdi so that stack
3150 is aligned to 16 bytes when calling __setcontext.
3151
3152 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3153
3154 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3155 only for libc.
3156 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3157
3158 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3159
3160 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3161 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3162 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3163
3164 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3165
3166 * string/memccpy.c (memccpy):
3167 Improve performance by using memchr/memcpy/__mempcpy.
3168
3169 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3170
3171 * string/strncpy.c (strncpy):
3172 Improve performance by using __strnlen/memcpy.
3173
3174 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3175
3176 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3177 Optimize to avoid an unnecessary FPCR read.
3178
3179 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3180
3181 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3182 Optimize to reduce FPCR/FPSR accesses.
3183
3184 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3187 dead->data[category] != NULL.
3188
3189 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3190
3191 [BZ #18647]
3192 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3193 and |x| close to 1, use absolute value of x when computing log.
3194 * math/auto-libm-test-in: Add more tests of pow.
3195 * math/auto-libm-test-out: Regenerated.
3196
3197 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3198
3199 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3200 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3201 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3202
3203 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3204
3205 [BZ #18525]
3206 * locales/km_KH: Remove timezone definition.
3207 * locales/lo_LA: Likewise.
3208 * locales/my_MM: Likewise.
3209 * locales/nan_TW@latin: Likewise.
3210 * locales/th_TH: Likewise.
3211 * locales/uk_UA: Likewise.
3212
3213 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3214
3215 [BZ #18265]
3216 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3217 (wcsncat): Likewise.
3218 (wcscmp): Likewise.
3219 (wcsncmp): Likewise.
3220
3221 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3222
3223 * test-skeleton.c (usage): New function.
3224 (main): Call usage when opt is '?'.
3225
3226 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3227
3228 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3229 before first use.
3230
3231 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3232
3233 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3234 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3235 in there too.
3236
3237 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3238
3239 * version.h (RELEASE): Set to "development".
3240 (VERSION): Set to "2.22.90"
3241
3242 * version.h (RELEASE): Set to "stable".
3243 (VERSION): Set to "2.22"
3244 * include/features.h (__GLIBC_MINOR__): Set to 22.
3245
3246 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3247
3248 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3249 Restructure macro to avoid "value computed is not used" warning.
3250 (atomic_compare_and_exchange_val_acq): Likewise.
3251
3252 2015-08-04 Andreas Schwab <schwab@suse.de>
3253
3254 [BZ #18635]
3255 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3256 ret.
3257 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3258
3259 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3260
3261 * po/pl.po: Updated translation.
3262 * po/uk.po: Likewise.
3263 * po/fi.po: Likewise.
3264 * po/ko.po: Likewise.
3265 * po/ru.po: Likewise.
3266 * po/vi.po: Likewise.
3267
3268 2015-07-31 Zack Weinberg <zackw@panix.com>
3269
3270 [BZ #18681]
3271 * regexp.h: Add unconditional #warning stating that this header
3272 will be removed soon. Revise banner comment to match.
3273 (compile): Consistently use ERROR instead of RETURN to report
3274 errors (partial fix for bz#18681).
3275 * regexp.c: Don't include regexp.h. Remove some unnecessary
3276 declarations.
3277
3278 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3279
3280 * po/libc.pot: Regenerated.
3281
3282 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3283
3284 [BZ #18740]
3285 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3286 float-vlen4-arch-ext-cflags): Removed.
3287 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3288 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3289
3290 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3291
3292 [BZ #14113]
3293 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3294 aligned to __aligned__.
3295 (pthread_cond_t, pthread_rwlock_t): Likewise.
3296
3297 2015-07-30 Torvald Riegel <triegel@redhat.com>
3298
3299 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3300
3301 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3302
3303 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3304 (struct sigaction): Change sa_flags from a long to an int, and add
3305 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3306
3307 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3308
3309 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3310 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3311 sysdeps/generic/sysdep.h include.
3312 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3313 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3314 sysdeps/hppa/sysdep.h.
3315 (ENTRY, PSEUDO): Undefine before defining.
3316
3317 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3318
3319 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3320 from scratch to use INTERNAL_SYSCALL.
3321
3322 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3323
3324 [BZ #18078]
3325 * scripts/check-localplt.awk: Support alternate relocations.
3326 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3327 sections.
3328 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3329 malloc entries with + REL R_386_GLOB_DAT.
3330 * sysdeps/x86_64/localplt.data: New file.
3331
3332 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3333
3334 [BZ #18731]
3335 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3336 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3337 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3338
3339 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3340
3341 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3342
3343 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3344
3345 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3346 directly in terms of __sync_fetch_and_add and delete (int) cast.
3347
3348 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3349
3350 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3351 the -D_ASM_IA64_CURRENT_H flag.
3352
3353 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3354
3355 [BZ #18641]
3356 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3357
3358 2015-07-27 Andreas Schwab <schwab@suse.de>
3359
3360 * conform/conformtest.pl (checknamespace): Filter out string
3361 literals while tokenizing.
3362
3363 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3364
3365 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3366 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3367 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3368
3369 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3370
3371 * nptl/tst-join7mod.c: Add #include <string.h>.
3372
3373 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3374
3375 * sysdeps/nios2/libm-test-ulps: Update.
3376
3377 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3378
3379 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3380 Fix order of arguments to the rt_sigprocmask syscall.
3381 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3382 Likewise.
3383
3384 2015-07-24 Roland McGrath <roland@hack.frob.com>
3385
3386 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3387
3388 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3389
3390 [BZ #18457]
3391 * nptl/Makefile (tests): New test case tst-join7.
3392 (modules-names): New test case module tst-join7mod.
3393 * nptl/tst-join7.c: New file.
3394 * nptl/tst-join7mod.c: New file.
3395 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3396 all translation units in libc.so, libpthread.so and rtld.
3397
3398 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3399
3400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3401
3402 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3403
3404 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3405 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3406 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3407 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3408 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3410 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3411 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3412 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3413 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3414 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3415 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3416 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3417 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3418 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3419 implementation.
3420
3421 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3422
3423 [BZ #17711]
3424 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3425 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3426 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3427 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3428 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3429 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3430
3431 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
3433 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3434 instead of just saying load lock in the comments.
3435
3436 2015-07-23 Roland McGrath <roland@hack.frob.com>
3437
3438 * sysdeps/unix/Subdirs: Moved ...
3439 * sysdeps/posix/Subdirs: ... here.
3440 * login/pty.h (struct termios, struct winsize): Add forward decls.
3441 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3442 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3443 * sysdeps/arm/nacl/libc.abilist: Updated.
3444 * sysdeps/nacl/libutil.abilist: New file.
3445
3446 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3447 (SIGWINCH): New macro.
3448
3449 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3450 * sysdeps/arm/nacl/libc.abilist: Add it.
3451
3452 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3453
3454 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3455
3456 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3457
3458 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3459 Swap __glibc_reserved0 and sa_flags order.
3460
3461 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3462
3463 [BZ #18657]
3464 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3465 are pending TLS destructor calls.
3466 * include/link.h (struct link_map): Add concurrency note for
3467 L_TLS_DTOR_COUNT.
3468 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3469 Don't touch the link map flag. Atomically increment
3470 l_tls_dtor_count.
3471 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3472 Avoid taking the load lock and don't touch the link map flag.
3473 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3474 * stdlib/Makefile (tests): Use it.
3475 * stdlib/tst-tls-atexit.c (do_test): dlopen
3476 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3477 to allow tst-tls-atexit-nodelete test case to use it.
3478
3479 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3480
3481 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3482 to bits/types.h.
3483 (msgqnum_t): New typedef.
3484 (msglen_t): Likewise.
3485 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3486 and msg_qbytes type to msglen_t.
3487
3488 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3489
3490 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3491 pad0 to __glibc_reserved0.
3492 (struct stat64): Likewise.
3493
3494 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3495
3496 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3497 Change sa_flags from a long to an int and add __glibc_reserved0 before
3498 it for padding.
3499
3500 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3501
3502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3503 anonymous by deleting "siginfo" name.
3504
3505 2015-07-21 Roland McGrath <roland@hack.frob.com>
3506
3507 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3508 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3509 rather than __nacl_irt_filename.
3510 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3511
3512 * NEWS: New item for arm-nacl port.
3513 * sysdeps/arm/nacl/libc.abilist: New file.
3514 * sysdeps/nacl/ld.abilist: New file.
3515 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3516 * sysdeps/nacl/libanl.abilist: New file.
3517 * sysdeps/nacl/libcrypt.abilist: New file.
3518 * sysdeps/nacl/libdl.abilist: New file.
3519 * sysdeps/nacl/libm.abilist: New file.
3520 * sysdeps/nacl/libpthread.abilist: New file.
3521 * sysdeps/nacl/libresolv.abilist: New file.
3522 * sysdeps/nacl/librt.abilist: New file.
3523
3524 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3525
3526 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3527 __startcontext to initialize the new context.
3528 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3529 up CFI directive to forbid further backtracing.
3530
3531 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3532
3533 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3534 reference.
3535 * charmaps/ANSI_X3.4-1968: Likewise.
3536 * charmaps/BS_4730: Likewise.
3537 * charmaps/BS_VIEWDATA: Likewise.
3538 * charmaps/CP1250: Likewise.
3539 * charmaps/CP1251: Likewise.
3540 * charmaps/CP1252: Likewise.
3541 * charmaps/CP1253: Likewise.
3542 * charmaps/CP1254: Likewise.
3543 * charmaps/CP1255: Likewise.
3544 * charmaps/CP1256: Likewise.
3545 * charmaps/CSN_369103: Likewise.
3546 * charmaps/EBCDIC-DK-NO: Likewise.
3547 * charmaps/GB_1988-80: Likewise.
3548 * charmaps/GREEK-CCITT: Likewise.
3549 * charmaps/GREEK7: Likewise.
3550 * charmaps/INIS-8: Likewise.
3551 * charmaps/ISIRI-3342: Likewise.
3552 * charmaps/ISO_2033-1983: Likewise.
3553 * charmaps/ISO_5427-EXT: Likewise.
3554 * locales/POSIX: Likewise.
3555 * locales/ar_SA: Likewise.
3556 * locales/be_BY: Likewise.
3557 * locales/be_BY@latin: Likewise.
3558 * locales/ca_ES: Likewise.
3559 * locales/cs_CZ: Likewise.
3560 * locales/da_DK: Likewise.
3561 * locales/de_BE: Likewise.
3562 * locales/de_CH: Likewise.
3563 * locales/de_LU: Likewise.
3564 * locales/en_AU: Likewise.
3565 * locales/en_BW: Likewise.
3566 * locales/en_CA: Likewise.
3567 * locales/en_DK: Likewise.
3568 * locales/en_GB: Likewise.
3569 * locales/en_IE: Likewise.
3570 * locales/en_NZ: Likewise.
3571 * locales/en_ZA: Likewise.
3572 * locales/en_ZW: Likewise.
3573 * locales/es_AR: Likewise.
3574 * locales/es_BO: Likewise.
3575 * locales/es_CL: Likewise.
3576 * locales/es_CO: Likewise.
3577 * locales/es_DO: Likewise.
3578 * locales/es_EC: Likewise.
3579 * locales/es_ES: Likewise.
3580 * locales/es_HN: Likewise.
3581 * locales/es_MX: Likewise.
3582 * locales/es_PA: Likewise.
3583 * locales/es_PE: Likewise.
3584 * locales/es_PY: Likewise.
3585 * locales/es_SV: Likewise.
3586 * locales/es_US: Likewise.
3587 * locales/es_UY: Likewise.
3588 * locales/es_VE: Likewise.
3589 * locales/et_EE: Likewise.
3590 * locales/fa_IR: Likewise.
3591 * locales/fo_FO: Likewise.
3592 * locales/fr_CA: Likewise.
3593 * locales/fr_CH: Likewise.
3594 * locales/gv_GB: Likewise.
3595 * locales/he_IL: Likewise.
3596 * locales/hr_HR: Likewise.
3597 * locales/id_ID: Likewise.
3598 * locales/is_IS: Likewise.
3599 * locales/it_CH: Likewise.
3600 * locales/iw_IL: Likewise.
3601 * locales/kl_GL: Likewise.
3602 * locales/ko_KR: Likewise.
3603 * locales/kw_GB: Likewise.
3604 * locales/lg_UG: Likewise.
3605 * locales/lt_LT: Likewise.
3606 * locales/lv_LV: Likewise.
3607 * locales/mi_NZ: Likewise.
3608 * locales/nhn_MX: Likewise.
3609 * locales/nl_BE: Likewise.
3610 * locales/pl_PL: Likewise.
3611 * locales/sk_SK: Likewise.
3612 * locales/sl_SI: Likewise.
3613 * locales/sv_FI: Likewise.
3614 * locales/tl_PH: Likewise.
3615 * locales/tr_TR: Likewise.
3616 * locales/vi_VN: Likewise.
3617
3618 2015-07-21 Khem Raj <raj.khem@gmail.com>
3619
3620 [BZ #17475]
3621 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3622 of tu_IN and bh_IN.
3623
3624 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3625
3626 [BZ #18694]
3627 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3628 bits/wordsize.h.
3629 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3630
3631 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3632
3633 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3634 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3635 (spawn_thread): New function.
3636 (load): Rename to reg_dtor_and_close. Move dlopen to...
3637 (do_test): ... here. Use IS_LOADED to test for its
3638 availability.
3639
3640 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3641
3642 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3643
3644 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 [BZ #18696]
3647 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3648 si_addr_bnd.
3649 (si_lower): New.
3650 (si_upper): Likewise.
3651
3652 2015-07-16 David S. Miller <davem@davemloft.net>
3653
3654 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3655
3656 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3657
3658 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3659 buffer.
3660 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3661 fail output information.
3662
3663 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3664
3665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3666 and strstr-ppc64..
3667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3668 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3669 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3670 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3671 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3672
3673 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3674
3675 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3676 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3677 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3678 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3679
3680 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3681
3682 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3683 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3684 rtld_hidden_proto.
3685 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3686
3687 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3688
3689 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3690 the test can fail.
3691
3692 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3693
3694 [BZ #18676]
3695 * elf/tst-nodelete-opened.c: New test case.
3696 * elf/tst-nodelete-opened-lib.c: New test case module.
3697 * elf/Makefile (tests, modules-names): Use them.
3698 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3699 early.
3700
3701 2015-07-15 David S. Miller <davem@davemloft.net>
3702
3703 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3704 futex-intenal.h
3705 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3706 * sysdeps/sparc/sparc64/Makefile: Likewise.
3707 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3708 Remove space from macro define.
3709 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3710
3711 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3712
3713 [BZ #17475]
3714 * locale/iso-639.def: Update Bhili and Tulu language codes as
3715 per iso639-3.
3716
3717 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3718
3719 * elf/tst-leaks1.c (main): Converted to ...
3720 (do_test): ... this.
3721 (TEST_FUNCTION): New macro.
3722 Include test-skeleton.c.
3723 * localedata/tst-langinfo.c (main): Converted to ...
3724 (do_test): ... this.
3725 (TEST_FUNCTION): New macro.
3726 Include test-skeleton.c.
3727 * math/test-fpucw.c (main): Converted to ...
3728 (do_test): ... this.
3729 (TEST_FUNCTION): New macro.
3730 Include test-skeleton.c.
3731 * math/test-tgmath.c (main): Converted to ...
3732 (do_test): ... this.
3733 (TEST_FUNCTION): New macro.
3734 Include test-skeleton.c.
3735 * math/test-tgmath2.c (main): Converted to ...
3736 (do_test): ... this.
3737 (TEST_FUNCTION): New macro.
3738 Include test-skeleton.c.
3739 * setjmp/tst-setjmp.c (main): Converted to ...
3740 (do_test): ... this.
3741 (TEST_FUNCTION): New macro.
3742 Include test-skeleton.c.
3743 * stdio-common/tst-sscanf.c (main): Converted to ...
3744 (do_test): ... this.
3745 (TEST_FUNCTION): New macro.
3746 Include test-skeleton.c.
3747 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3748 (do_test): ... this.
3749 (TEST_FUNCTION): New macro.
3750 Include test-skeleton.c.
3751
3752 * elf/tst-audit9.c (main): Converted to ...
3753 (do_test): ... this.
3754 (TEST_FUNCTION): New macro.
3755 Include test-skeleton.c.
3756
3757 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3758
3759 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3760
3761 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3762
3763 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3764 New variable.
3765
3766 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3767
3768 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3769
3770 2015-07-14 Roland McGrath <roland@hack.frob.com>
3771
3772 * sysdeps/generic/dl-fileid.h: New file.
3773 * sysdeps/posix/dl-fileid.h: New file.
3774 * sysdeps/nacl/dl-fileid.h: New file.
3775 * include/link.h: Include <dl-fileid.h>.
3776 (struct link_map): Replace l_dev and l_ino with l_file_id.
3777 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3778 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3779 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3780
3781 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3782
3783 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3784
3785 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3786
3787 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3788 Add iff $CXX is set.
3789 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3790 Likewise.
3791 (tst-nodelete-zmodiff): Likewise.
3792 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3793
3794 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3795
3796 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3797
3798 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3799
3800 * sysdeps/aarch64/fpu/math_private.h
3801 (define math_opt_barrier): Add AArch64 version.
3802 (math_force_eval): Likewise.
3803
3804 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3805
3806 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3807
3808 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3809
3810 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3811 %ld with %jd and cast to intmax_t.
3812 (do_test_length_zero): Likewise.
3813
3814 2015-07-10 Roland McGrath <roland@hack.frob.com>
3815
3816 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3817
3818 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3819
3820 * sysdeps/tile/libm-test-ulps: Regenerated.
3821
3822 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3823 Comment out the whole function, not just its body.
3824
3825 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3826
3827 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3828 locks.
3829
3830 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3831
3832 2015-07-10 Torvald Riegel <triegel@redhat.com>
3833
3834 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3835 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3836
3837 2015-07-10 Torvald Riegel <triegel@redhat.com>
3838
3839 * sysdeps/nptl/futex-internal.h: New file.
3840 * sysdeps/nacl/futex-internal.h: New file.
3841 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3842 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3843 error checking.
3844 (setxid_unmark_thread): Likewise.
3845 (__nptl_setxid): Likewise.
3846 (__wait_lookup_done): Likewise.
3847 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3848 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3849 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3850 * nptl/pthread_once.c (clear_once_control): Likewise.
3851 (__pthread_once_slow): Likewise.
3852 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3853 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3854 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3855 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3856 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3857 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3858 Likewise.
3859 (__pthread_rwlock_rdlock): Likewise.
3860 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3861 Likewise.
3862 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3863 Likewise.
3864 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3865 Likewise.
3866 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3867 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3868 Likewise.
3869 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3870 __ASSUME_PRIVATE_FUTEX check.
3871 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3872 Check that shared futexes are supported.
3873 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3874 wrappers with error checking.
3875 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3876 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3877 * nptl/pthread_barrierattr_setpshared.c
3878 (pthread_barrierattr_setpshared): Check that shared futexes are
3879 supported.
3880 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3881 Likewise.
3882 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3883 Likewise.
3884 * nptl/sem_init.c (futex_private_if_supported): Remove.
3885 (__new_sem_init): Adapt and check that shared futexes are supported.
3886 * nptl/sem_open.c (sem_open): Likewise.
3887 * nptl/sem_post.c (futex_wake): Remove.
3888 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3889 (do_futex_wait): Use futex wrappers with error checking.
3890 * nptl/sem_wait.c: Include lowlevellock.h.
3891 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3892 Use futex_supports_pshared.
3893 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3894 Use futex wrappers with error checking.
3895 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3896 Likewise.
3897 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3898 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3899 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3900 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3901 (futex_wake): Likewise.
3902 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3903 (do_futex_wait): Use futex wrappers with error checking.
3904 (__new_sem_wait_slow): Update EINTR handling.
3905 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3906
3907 2015-07-09 Martin Sebor <msebor@redhat.com>
3908
3909 [BZ #18435]
3910 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3911 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3912 * nptl/Makefile (test-xfail-tst-once5): Define.
3913
3914 2015-07-09 Roland McGrath <roland@hack.frob.com>
3915
3916 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3917 * elf/dl-minimal.c: For readability, reorder some definitions and
3918 introduce more page breaks. Include <stdio.h>.
3919 (__libc_fatal): New function.
3920
3921 * include/unistd.h: Add rtld_hidden_proto for _exit.
3922 * posix/_exit.c: Add rtld_hidden_def.
3923 * sysdeps/mach/hurd/_exit.c: Likewise.
3924 * sysdeps/nacl/_exit.c: Likewise.
3925 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3926 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3927
3928 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3931 bndmov encoding with zero displacement.
3932
3933 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3934 H.J. Lu <hongjiu.lu@intel.com>
3935
3936 [BZ #18134]
3937 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3938 * sysdeps/i386/configure: Regenerated.
3939 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3940 (_dl_runtime_profile): Save and restore Intel MPX return bound
3941 registers when calling _dl_call_pltexit. Add
3942 PRESERVE_BND_REGS_PREFIX before return.
3943 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3944 (LRV_BND1_OFFSET): Likewise.
3945 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3946 lrv_bnd1.
3947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3948 typo in bndmov encoding.
3949 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3950 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3951 branch instructions to preserve bounds.
3952
3953 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3954
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3956 [GLIBC_2.22]: Add fmemopen.
3957
3958 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3959
3960 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3961 returns an error, also try to use host port from __mach_host_self for
3962 the __vm_wire call.
3963 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3964
3965 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3966
3967 [BZ #18400]
3968 [BZ #18648]
3969 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3970 Fix pr_uid and pr_gid members.
3971 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3972 definition to elf_greg_t.
3973
3974 2015-07-08 Roland McGrath <roland@hack.frob.com>
3975
3976 [BZ #18383]
3977 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3978 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3979 * sysdeps/arm/configure: Regenerated.
3980 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3981 (test-xfail-tst-tlsalign-static): Variable removed.
3982
3983 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3984 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3985 rather than explicit 'ln -s'.
3986
3987 * resolv/rpc/netdb.h: New file.
3988 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3989
3990 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3991
3992 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3993 length buffers.
3994 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3995 test-skeleton.c.
3996
3997 [BZ #6544]
3998 [BZ #11216]
3999 [BZ #12836]
4000 [BZ #13151]
4001 [BZ #13152]
4002 [BZ #14292]
4003 * include/stdio.h (fmemopen): Remove hidden prototype.
4004 (__fmemopen): Add new hidden prototype.
4005 * libio/Makefile: Add oldfmemopen object.
4006 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4007 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4008 compliance.
4009 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4010 symbol compatibility.
4011 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4012 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4013 fmemopen.
4014 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4015 on append and read mode.
4016 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4017 fmemopen.
4018 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4019 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4020 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4022 Likewise.
4023 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4024 [GLIBC_2.22]: Likewise.
4025 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4026 Likewise.
4027 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4028 Likewise.
4029 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4030 [GLIBC_2.22]: Likewise.
4031 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4032 [GLIBC_2.22]: Likewise.
4033 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4034 [GLIBC_2.22]: Likewise.
4035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4036 [GLIBC_2.22]: Likewise.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4038 [GLIBC_2.22]: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4040 [GLIBC_2.22]: Likewise.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4042 [GLIBC_2.22]: Likewise.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4044 Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4046 Likewise.
4047 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4048 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4049 [GLIBC_2.22]: Likewise.
4050 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4051 [GLIBC_2.22]: Likewise.
4052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4053 [GLIBC_2.22]: Likewise.
4054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4055 [GLIBC_2.22]: Likewise.
4056 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4057 Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4059 Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4061 Likewise.
4062 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4063 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4064
4065 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4066
4067 [BZ #18643]
4068 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4069 IPV6_PATHMTU, and IPV6_DONTFRAG.
4070
4071 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4072
4073 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4074 and _IO_UNBUFFERED.
4075 * libio/oldfileops.c: Likewise.
4076 * libio/wfileops.c: Likewise.
4077
4078 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4079
4080 * nscd/selinux.c: Delete selinux/flask.h include.
4081
4082 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4083
4084 [BZ #18641]
4085 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4086 (putpwent): Likewise.
4087 (getpwnam): Likewise.
4088 (getpwent_r): Likewise.
4089 (getpwuid_r): Likewise.
4090 (getpwnam_r): Likewise.
4091 (fgetpwent_r): Likewise.
4092
4093 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4094
4095 [BZ #18557]
4096 * inet/rcmd.c (__validuser2_sa): Check user first to
4097 short-circuit host check.
4098
4099 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4100 Mikhail Ilin <m.ilin@samsung.com>
4101
4102 [BZ #17833]
4103 * elf/Makefile (tests): Add tst-nodelete.
4104 (modules-names): Add tst-nodelete-uniquemod.
4105 (tst-nodelete-uniquemod.so-no-z-defs): New.
4106 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4107 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4108 ($(objpfx)tst-nodelete): Likewise.
4109 ($(objpfx)tst-nodelete.out): Likewise.
4110 (LDFLAGS-tst-nodelete): Likewise.
4111 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4112 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4113 implement forced object deletion.
4114 (_dl_close): Pass false to _dl_close_worker.
4115 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4116 * elf/tst-nodelete.cc: New file.
4117 * elf/tst-nodeletelib.cc: Likewise.
4118 * elf/tst-znodeletelib.cc: Likewise.
4119 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4120
4121 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4122
4123 [BZ #18508]
4124 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4125 Depend on $(libdl).
4126 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4127 is not called infinitely times.
4128 (backtrace_helper): New function.
4129 (trace_arg): New struct.
4130 (st1): Enlarge stack size.
4131 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4132 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4133 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4134 Likewise.
4135
4136 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4137
4138 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4139
4140 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4141
4142 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4143 Include sys/types.h instead of bits/types.h.
4144 Remove inclusion of bits/wordsize.h.
4145
4146 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4147
4148 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4149 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4150 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4151 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4152 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4153 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4154
4155 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4158 link-defines.sym.
4159 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4160 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4161 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4162 and LR_SIZE.
4163 * sysdeps/i386/link-defines.sym: New file.
4164
4165 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4168 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4169 ($(objpfx)tst-audit3): New rule.
4170 ($(objpfx)tst-audit3.out): Likewise.
4171 * sysdeps/i386/tst-audit3.c: New file.
4172 * sysdeps/i386/tst-audit3.h: Likewise.
4173 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4174 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4175
4176 2015-07-07 Torvald Riegel <triegel@redhat.com>
4177
4178 [BZ #18633]
4179 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4180 pointer in C code.
4181 (__strcat_c): Likewise.
4182 (__strcat_g): Likewise.
4183
4184 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4185
4186 [BZ #18592]
4187 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4188
4189 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4190
4191 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4192 New function. (__ieee754_sqrtf): New function.
4193 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4194 New function.
4195 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4196 New function.
4197
4198 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4199
4200 * sysdeps/ieee754/support.c: Remove unused file.
4201
4202 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4203
4204 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4205 registers instead of d ones so the layout is kernel abi compatible.
4206 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4207 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4208 Likewise.
4209
4210 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4211
4212 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4213
4214 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4215
4216 [BZ #18619]
4217 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4218 and return argument in case of subnormal argument.
4219
4220 2015-07-01 Martin Sebor <msebor@redhat.com>
4221
4222 [BZ #18435]
4223 * nptl/Makefile: Add tst-once5.cc.
4224 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4225 Remove macro redefinitions.
4226 * nptl/tst-once5.cc: New test.
4227
4228 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4229
4230 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4231
4232 * sysdeps/arm/libm-test-ulps: Regenerated.
4233
4234 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4235 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4236
4237 2015-06-30 Torvald Riegel <triegel@redhat.com>
4238
4239 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4240 lll_lock_wait_private and lll_futex_wake probes.
4241
4242 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4243 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4244 Likewise.
4245 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4246 atomic_spin_nop.
4247 * sysdeps/x86_64/bits/atomic.h: Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4249 to atomic_spin_nop and move ...
4250 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4251 ... here and ...
4252 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4253 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4254 atomic_spin_nop instead of BUSY_WAIT_NOP.
4255 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4256 Likewise.
4257 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4258 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4259 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4260 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4261 instead of atomic_delay.
4262
4263 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4264
4265 [BZ #18613]
4266 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4267 X_ADJ not X when adjusting exponent.
4268 (__ieee754_gamma_r): Do intermediate computations in
4269 round-to-nearest then adjust overflowing and underflowing results
4270 as needed.
4271 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4272 of X_ADJ not X when adjusting exponent.
4273 (__ieee754_gammaf_r): Do intermediate computations in
4274 round-to-nearest then adjust overflowing and underflowing results
4275 as needed.
4276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4277 log of X_ADJ not X when adjusting exponent.
4278 (__ieee754_gammal_r): Do intermediate computations in
4279 round-to-nearest then adjust overflowing and underflowing results
4280 as needed. Use 1.0L not 1.0f as numerator of division.
4281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4282 log of X_ADJ not X when adjusting exponent.
4283 (__ieee754_gammal_r): Do intermediate computations in
4284 round-to-nearest then adjust overflowing and underflowing results
4285 as needed. Use 1.0L not 1.0f as numerator of division.
4286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4287 of X_ADJ not X when adjusting exponent.
4288 (__ieee754_gammal_r): Do intermediate computations in
4289 round-to-nearest then adjust overflowing and underflowing results
4290 as needed. Use 1.0L not 1.0f as numerator of division.
4291 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4292 to auto-libm-test-in.
4293 (tgamma_test): Use ALL_RM_TEST.
4294 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4295 tests of tgamma with spurious-overflow.
4296 * math/auto-libm-test-out: Regenerated.
4297 * math/gen-libm-have-vector-test.sh: Do not check for START.
4298 * sysdeps/i386/fpu/libm-test-ulps: Update.
4299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300
4301 [BZ #18612]
4302 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4303 arguments, just return 0.5 times the argument, with underflow
4304 forced as needed.
4305 * math/auto-libm-test-in: Add more tests of j1.
4306 * math/auto-libm-test-out: Regenerated.
4307
4308 [BZ #16559]
4309 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4310 (__ieee754_j1): Force underflow exception for small results.
4311 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4312 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4313 (__ieee754_j1f): Force underflow exception for small results.
4314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4315 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4317 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4318 (__ieee754_j1l): Force underflow exception for small results.
4319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4320 * math/auto-libm-test-in: Add more tests of j1 and jn.
4321 * math/auto-libm-test-out: Regenerated.
4322
4323 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4324 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4325 (PF_MPLS): Likewise.
4326 (AF_IB): Likewise.
4327 (AF_MPLS): Likewise.
4328 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4329 value and macro.
4330 (MS_RMT_MASK): Include MS_LAZYTIME.
4331
4332 2015-06-26 Mel Gorman <mgorman@suse.de>
4333
4334 [BZ #18502]
4335 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4336 already minimal.
4337
4338 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4339
4340 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4341 (DT_MIPS_NUM): Update.
4342 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4343 DT_MIPS_RLD_MAP_REL.
4344
4345 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4346
4347 [BZ #16559]
4348 [BZ #18602]
4349 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4350 round-to-nearest internally then recompute results that
4351 underflowed to zero in the original rounding mode.
4352 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4353 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4355 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4356 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4357 * sysdeps/i386/fpu/libm-test-ulps: Update.
4358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4359
4360 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4361
4362 * NEWS: Fixed description of link with vector math library.
4363
4364 2015-06-25 Andreas Schwab <schwab@suse.de>
4365
4366 [BZ #18549]
4367 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4368 * libio/test-fmemopen.c (do_test): Add test for it.
4369
4370 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 [BZ #17841]
4373 * Makeconfig (no-pie-ldflag): New.
4374 (+link): Set to $(+link-pie) if default to PIE.
4375 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4376 * config.make.in (build-pie-default): New.
4377 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4378 is default. AC_SUBST.
4379 * configure: Regenerated.
4380 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4381
4382 2015-06-24 Roland McGrath <roland@hack.frob.com>
4383
4384 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4385 to 'unsigned int'.
4386
4387 * resolv/gai_misc.h (struct waitlist): Change type of field
4388 counterp to 'volatile unsigned int *'.
4389 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4390 FUTEXADDR and OLDVAL.
4391 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4392 Give local variable TOTAL type 'volatile unsigned int'.
4393 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4394 * resolv/gai_suspend.c (gai_suspend):
4395 Give local variable CNTR type 'unsigned int'.
4396
4397 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4398 counterp to 'volatile unsigned int *'.
4399 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4400 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4401 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4402 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4403 Give local variable TOTAL type 'volatile unsigned int'.
4404 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4405
4406 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 [BZ #18383]
4409 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4410 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4411 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4412 comment for i386/x86-64.
4413 (test-xfail-tst-tlsalign-extern-static): Removed.
4414
4415 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4416
4417 * math/test-double.h: New file.
4418 * math/test-float.h: Likewise.
4419 * math/test-ldouble.h: Likewise.
4420 * math/test-math-inline.h: Likewise.
4421 * math/test-math-no-inline.h: Likewise.
4422 * math/test-math-scalar.h: Likewise.
4423 * math/test-math-vector.h: Likewise.
4424 * math/test-vec-loop.h: Remove file. Contents moved into
4425 test-math-vector.h.
4426 * math/libm-test.inc (MATHCONST): Do not document macro.
4427 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4428 and test-math-scalar.h.
4429 (FUNC): Remove macro.
4430 (FUNC_TEST): Likewise.
4431 (FLOAT): Likewise.
4432 (MATHCONST): Likewise.
4433 (PRINTF_EXPR): Likewise.
4434 (PRINTF_XEXPR): Likewise.
4435 (PRINTF_NEXPR): Likewise.
4436 (TEST_DOUBLE): Likewise.
4437 (TEST_MATHVEC): Likewise.
4438 (__NO_MATH_INLINES): Likewise.
4439 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4440 and test-math-scalar.h.
4441 (FUNC): Remove macro.
4442 (FUNC_TEST): Likewise.
4443 (FLOAT): Likewise.
4444 (MATHCONST): Likewise.
4445 (PRINTF_EXPR): Likewise.
4446 (PRINTF_XEXPR): Likewise.
4447 (PRINTF_NEXPR): Likewise.
4448 (TEST_FLOAT): Likewise.
4449 (TEST_MATHVEC): Likewise.
4450 (__NO_MATH_INLINES): Likewise.
4451 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4452 and test-math-scalar.h.
4453 (FUNC): Remove macro.
4454 (FUNC_TEST): Likewise.
4455 (FLOAT): Likewise.
4456 (MATHCONST): Likewise.
4457 (PRINTF_EXPR): Likewise.
4458 (PRINTF_XEXPR): Likewise.
4459 (PRINTF_NEXPR): Likewise.
4460 (TEST_DOUBLE): Likewise.
4461 (TEST_MATHVEC): Likewise.
4462 (TEST_INLINE): Likewise.
4463 (__NO_MATH_INLINES): Likewise.
4464 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4465 test-math-scalar.h.
4466 (FUNC): Remove macro.
4467 (FUNC_TEST): Likewise.
4468 (FLOAT): Likewise.
4469 (MATHCONST): Likewise.
4470 (PRINTF_EXPR): Likewise.
4471 (PRINTF_XEXPR): Likewise.
4472 (PRINTF_NEXPR): Likewise.
4473 (TEST_FLOAT): Likewise.
4474 (TEST_MATHVEC): Likewise.
4475 (TEST_INLINE): Likewise.
4476 (__NO_MATH_INLINES): Likewise.
4477 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4478 and test-math-scalar.h.
4479 (FUNC): Remove macro.
4480 (FUNC_TEST): Likewise.
4481 (FLOAT): Likewise.
4482 (MATHCONST): Likewise.
4483 (PRINTF_EXPR): Likewise.
4484 (PRINTF_XEXPR): Likewise.
4485 (PRINTF_NEXPR): Likewise.
4486 (TEST_LDOUBLE): Likewise.
4487 (TEST_MATHVEC): Likewise.
4488 (TEST_INLINE): Likewise.
4489 (__NO_MATH_INLINES): Likewise.
4490 * math/test-ldouble.c: Include test-ldouble.h,
4491 test-math-no-inline.h and test-math-scalar.h.
4492 (FUNC): Remove macro.
4493 (FUNC_TEST): Likewise.
4494 (FLOAT): Likewise.
4495 (MATHCONST): Likewise.
4496 (PRINTF_EXPR): Likewise.
4497 (PRINTF_XEXPR): Likewise.
4498 (PRINTF_NEXPR): Likewise.
4499 (TEST_LDOUBLE): Likewise.
4500 (TEST_MATHVEC): Likewise.
4501 (__NO_MATH_INLINES): Likewise.
4502 * math/test-double-vlen2.h: Include test-double.h,
4503 test-math-no-inline.h and test-math-vector.h.
4504 (FLOAT): Remove macro.
4505 (FUNC): Likewise.
4506 (MATHCONST): Likewise.
4507 (PRINTF_EXPR): Likewise.
4508 (PRINTF_XEXPR): Likewise.
4509 (PRINTF_NEXPR): Likewise.
4510 (TEST_DOUBLE): Likewise.
4511 (TEST_MATHVEC): Likewise.
4512 (__NO_MATH_INLINES): Likewise.
4513 (CNCT): Likewise.
4514 (CONCAT): Likewise.
4515 (WRAPPER_NAME): Likewise.
4516 (WRAPPER_DECL): Likewise.
4517 (WRAPPER_DECL_ff): Likewise.
4518 (WRAPPER_DECL_fFF): Likewise.
4519 (VECTOR_WRAPPER): Likewise.
4520 (VECTOR_WRAPPER_ff): Likewise.
4521 (VECTOR_WRAPPER_fFF): Likewise.
4522 (VEC_LEN): New macro.
4523 * math/test-double-vlen4.h: Include test-double.h,
4524 test-math-no-inline.h and test-math-vector.h.
4525 (FLOAT): Remove macro.
4526 (FUNC): Likewise.
4527 (MATHCONST): Likewise.
4528 (PRINTF_EXPR): Likewise.
4529 (PRINTF_XEXPR): Likewise.
4530 (PRINTF_NEXPR): Likewise.
4531 (TEST_DOUBLE): Likewise.
4532 (TEST_MATHVEC): Likewise.
4533 (__NO_MATH_INLINES): Likewise.
4534 (CNCT): Likewise.
4535 (CONCAT): Likewise.
4536 (WRAPPER_NAME): Likewise.
4537 (WRAPPER_DECL): Likewise.
4538 (WRAPPER_DECL_ff): Likewise.
4539 (WRAPPER_DECL_fFF): Likewise.
4540 (VECTOR_WRAPPER): Likewise.
4541 (VECTOR_WRAPPER_ff): Likewise.
4542 (VECTOR_WRAPPER_fFF): Likewise.
4543 (VEC_LEN): New macro.
4544 * math/test-double-vlen8.h: Include test-double.h,
4545 test-math-no-inline.h and test-math-vector.h.
4546 (FLOAT): Remove macro.
4547 (FUNC): Likewise.
4548 (MATHCONST): Likewise.
4549 (PRINTF_EXPR): Likewise.
4550 (PRINTF_XEXPR): Likewise.
4551 (PRINTF_NEXPR): Likewise.
4552 (TEST_DOUBLE): Likewise.
4553 (TEST_MATHVEC): Likewise.
4554 (__NO_MATH_INLINES): Likewise.
4555 (CNCT): Likewise.
4556 (CONCAT): Likewise.
4557 (WRAPPER_NAME): Likewise.
4558 (WRAPPER_DECL): Likewise.
4559 (WRAPPER_DECL_ff): Likewise.
4560 (WRAPPER_DECL_fFF): Likewise.
4561 (VECTOR_WRAPPER): Likewise.
4562 (VECTOR_WRAPPER_ff): Likewise.
4563 (VECTOR_WRAPPER_fFF): Likewise.
4564 (VEC_LEN): New macro.
4565 * math/test-float-vlen4.h: Include test-float.h,
4566 test-math-no-inline.h and test-math-vector.h.
4567 (FLOAT): Remove macro.
4568 (FUNC): Likewise.
4569 (MATHCONST): Likewise.
4570 (PRINTF_EXPR): Likewise.
4571 (PRINTF_XEXPR): Likewise.
4572 (PRINTF_NEXPR): Likewise.
4573 (TEST_FLOAT): Likewise.
4574 (TEST_MATHVEC): Likewise.
4575 (__NO_MATH_INLINES): Likewise.
4576 (CNCT): Likewise.
4577 (CONCAT): Likewise.
4578 (WRAPPER_NAME): Likewise.
4579 (WRAPPER_DECL): Likewise.
4580 (WRAPPER_DECL_ff): Likewise.
4581 (WRAPPER_DECL_fFF): Likewise.
4582 (VECTOR_WRAPPER): Likewise.
4583 (VECTOR_WRAPPER_ff): Likewise.
4584 (VECTOR_WRAPPER_fFF): Likewise.
4585 (VEC_LEN): New macro.
4586 * math/test-float-vlen8.h: Include test-float.h,
4587 test-math-no-inline.h and test-math-vector.h.
4588 (FLOAT): Remove macro.
4589 (FUNC): Likewise.
4590 (MATHCONST): Likewise.
4591 (PRINTF_EXPR): Likewise.
4592 (PRINTF_XEXPR): Likewise.
4593 (PRINTF_NEXPR): Likewise.
4594 (TEST_FLOAT): Likewise.
4595 (TEST_MATHVEC): Likewise.
4596 (__NO_MATH_INLINES): Likewise.
4597 (CNCT): Likewise.
4598 (CONCAT): Likewise.
4599 (WRAPPER_NAME): Likewise.
4600 (WRAPPER_DECL): Likewise.
4601 (WRAPPER_DECL_ff): Likewise.
4602 (WRAPPER_DECL_fFF): Likewise.
4603 (VECTOR_WRAPPER): Likewise.
4604 (VECTOR_WRAPPER_ff): Likewise.
4605 (VECTOR_WRAPPER_fFF): Likewise.
4606 (VEC_LEN): New macro.
4607 * math/test-float-vlen16.h: Include test-float.h,
4608 test-math-no-inline.h and test-math-vector.h.
4609 (FLOAT): Remove macro.
4610 (FUNC): Likewise.
4611 (MATHCONST): Likewise.
4612 (PRINTF_EXPR): Likewise.
4613 (PRINTF_XEXPR): Likewise.
4614 (PRINTF_NEXPR): Likewise.
4615 (TEST_FLOAT): Likewise.
4616 (TEST_MATHVEC): Likewise.
4617 (__NO_MATH_INLINES): Likewise.
4618 (CNCT): Likewise.
4619 (CONCAT): Likewise.
4620 (WRAPPER_NAME): Likewise.
4621 (WRAPPER_DECL): Likewise.
4622 (WRAPPER_DECL_ff): Likewise.
4623 (WRAPPER_DECL_fFF): Likewise.
4624 (VECTOR_WRAPPER): Likewise.
4625 (VECTOR_WRAPPER_ff): Likewise.
4626 (VECTOR_WRAPPER_fFF): Likewise.
4627 (VEC_LEN): New macro.
4628 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4629 test-vec-loop.h.
4630 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4632 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4633 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4634 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4635 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4636 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4637
4638 2015-06-24 Roland McGrath <roland@hack.frob.com>
4639
4640 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4641 (__getlogin_r): ... this.
4642
4643 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4644
4645 [BZ #18594]
4646 * math/s_ccosh.c (__ccosh): Compare with least normal value
4647 instead of comparing class with FP_SUBNORMAL.
4648 * math/s_ccoshf.c (__ccoshf): Likewise.
4649 * math/s_ccoshl.c (__ccoshl): Likewise.
4650 * math/s_cexp.c (__cexp): Likewise.
4651 * math/s_cexpf.c (__cexpf): Likewise.
4652 * math/s_cexpl.c (__cexpl): Likewise.
4653 * math/s_csin.c (__csin): Likewise.
4654 * math/s_csinf.c (__csinf): Likewise.
4655 * math/s_csinh.c (__csinh): Likewise.
4656 * math/s_csinhf.c (__csinhf): Likewise.
4657 * math/s_csinhl.c (__csinhl): Likewise.
4658 * math/s_csinl.c (__csinl): Likewise.
4659 * math/s_ctan.c (__ctan): Likewise.
4660 * math/s_ctanf.c (__ctanf): Likewise.
4661 * math/s_ctanh.c (__ctanh): Likewise.
4662 * math/s_ctanhf.c (__ctanhf): Likewise.
4663 * math/s_ctanhl.c (__ctanhl): Likewise.
4664 * math/s_ctanl.c (__ctanl): Likewise.
4665 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4666 csin, csinh, ctan and ctanh.
4667 * math/auto-libm-test-out: Regenerated.
4668 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4671
4672 2015-06-24 Roland McGrath <roland@hack.frob.com>
4673
4674 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4675 return value is wrong, print the expected value too.
4676
4677 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4678
4679 [BZ #18585]
4680 * elf/readlib.c (is_gdb_python_file): New.
4681 (process_file): Don't issue errors on filenames with -gdb.py
4682 suffix.
4683
4684 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4685
4686 * math/auto-libm-test-in: Add more tests of csin and csinh.
4687 * math/auto-libm-test-out: Regenerated.
4688 * math/libm-test.inc (csin_test_data): Remove tests moved to
4689 auto-libm-test-in.
4690 (csinh_test_data): Likewise.
4691
4692 [BZ #18593]
4693 * math/s_csin.c (__csin): Negate before rather than after possibly
4694 overflowing multiplication.
4695 * math/s_csinf.c (__csinf): Likewise.
4696 * math/s_csinh.c (__csinh): Likewise.
4697 * math/s_csinhf.c (__csinhf): Likewise.
4698 * math/s_csinhl.c (__csinhl): Likewise.
4699 * math/s_csinl.c (__csinl): Likewise.
4700 * math/auto-libm-test-in: Add some tests of csin and csinh.
4701 * math/auto-libm-test-out: Regenerated.
4702 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4703 (csinh_test_data): Likewise.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4705
4706 [BZ #18586]
4707 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4708 underflow exception for small results.
4709
4710 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4711
4712 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4713 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4714 variable and included header.
4715 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4716 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4717 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4718 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4719 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4720 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4721 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4722 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4723 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4724 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4725 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4726 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4727 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4728 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4729 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4730 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4731
4732 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4733
4734 [BZ #16526]
4735 [BZ #16538]
4736 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4737 (__sin): Force underflow exception for arguments with small
4738 absolute value.
4739 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4740 (__kernel_sinf): Force underflow exception for arguments with
4741 small absolute value.
4742 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4743 (__kernel_sincosl): Force underflow exception for arguments with
4744 small absolute value.
4745 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4746 (__kernel_sinl): Force underflow exception for arguments with
4747 small absolute value.
4748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4749 (__kernel_sincosl): Force underflow exception for arguments with
4750 small absolute value.
4751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4752 (__kernel_sinl): Force underflow exception for arguments with
4753 small absolute value.
4754 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4755 (__kernel_sinl): Force underflow exception for arguments with
4756 small absolute value.
4757 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4758 (__kernel_sinf): Force underflow exception for arguments with
4759 small absolute value.
4760 * math/auto-libm-test-in: Add more tests of sin and sincos.
4761 * math/auto-libm-test-out: Regenerated.
4762
4763 [BZ #18245]
4764 [BZ #18583]
4765 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4766 (__kernel_standard_l): Use feholdexcept and fesetenv around
4767 conversion to double instead of special-casing overflow and
4768 underflow.
4769 * math/libm-test.inc (fmod_test_data): Add more tests.
4770 (remainder_test_data): Likewise.
4771 (sqrt_test_data): Likewise.
4772
4773 2015-06-23 Torvald Riegel <triegel@redhat.com>
4774
4775 [BZ #17403]
4776 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4777 atomic_read_barrier, atomic_write_barrier): Define.
4778 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4779 atomic_read_barrier, atomic_write_barrier): Define.
4780
4781 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4782
4783 * math/Makefile [$(PERL) != no]
4784 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4785 dependency on libm-test.stmp below the inclusion of Rules.
4786
4787 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4788
4789 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4790 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4791 and included header.
4792 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4793 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4794 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4795 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4796 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4797 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4799 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4800 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4801 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4802 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4803 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4804 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4805 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4806 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4807 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4808 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4809 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4810 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4811
4812 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4813
4814 [BZ #18371]
4815 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4816 intermediate but not final result might underflow.
4817 * math/s_csqrtf.c (__csqrtf): Likewise.
4818 * math/s_csqrtl.c (__csqrtl): Likewise.
4819 * math/auto-libm-test-in: Add more tests of csqrt.
4820 * math/auto-libm-test-out: Regenerated.
4821 * sysdeps/i386/fpu/libm-test-ulps: Update.
4822
4823 [BZ #18219]
4824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4825 threshold on absolute value of exponent for which scaling is used.
4826 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4827 * math/auto-libm-test-in: Add more tests of exp2.
4828 * math/auto-libm-test-out: Regenerated.
4829
4830 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4831
4832 [BZ #17977]
4833 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4834 when initializing interface list, based on the bug analysis
4835 and the patch proposed by Eric Newton.
4836 * resolv/tst-res_hconf_reorder.c: New test.
4837 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4838 tst-res_hconf_reorder.
4839 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4840 and $(shared-thread-library).
4841 (tst-res_hconf_reorder-ENV): New variable.
4842
4843 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4844 in comment.
4845
4846 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4847
4848 [BZ #16353]
4849 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4850 (__expm1): Force underflow exception for arguments with small
4851 absolute value.
4852 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4853 (__expm1f): Force underflow exception for arguments with small
4854 absolute value.
4855 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4856 (__expm1): Force underflow exception for arguments with small
4857 absolute value.
4858 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4859 (__expm1f): Force underflow exception for arguments with small
4860 absolute value.
4861 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4862 Check for small arguments before calling __expm1.
4863 * math/auto-libm-test-in: Do not mark underflow exceptions as
4864 possibly missing for bug 16353.
4865 * math/auto-libm-test-out: Regenerated.
4866
4867 2015-06-22 Andreas Schwab <schwab@suse.de>
4868
4869 [BZ #18513]
4870 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4871 PTR queries.
4872
4873 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4874
4875 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4876
4877 * string/strcoll_l.c: Remove unused struct element idxnow.
4878
4879 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #18569]
4882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4883 underflow and return argument in case of subnormal argument.
4884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4885 Likewise.
4886 * math/auto-libm-test-in: Add more tests of expm1.
4887 * math/auto-libm-test-out: Regenerated.
4888
4889 [BZ #16361]
4890 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4891 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4892 tiny results.
4893 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4894 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4895 tiny results.
4896 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4897 mark underflow exceptions as possibly missing for bug 16361.
4898 * math/auto-libm-test-out: Regenerated.
4899
4900 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4901
4902 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4903 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4904 Remove variable.
4905 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4906 (test-xfail-XOPEN2K8/utmpx.h/conform).
4907
4908 * conform/conformtest.pl ($xerrors): New variable.
4909 (note_error): New function.
4910 (compiletest): New argument $xfail. Use not_error.
4911 (runtest): Likewise.
4912 (top level): Handle xfail- lines. Update calls to compiletest and
4913 runtest. Handle xfail- and optional- in headers listed with
4914 allow-header.
4915 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4916 (O_EXEC): Likewise.
4917 (O_SEARCH): Likewise.
4918 * conform/data/stropts.h-data (ioctl): Likewise.
4919 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4920 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4921 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4922 (msghdr.msg_controllen): Likewise.
4923 (cmsghdr.cmsg_len): Likewise.
4924 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4925 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4926 variable.
4927 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4928 (test-xfail-XPG4/stropts.h/conform): Likewise.
4929 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4930 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4931 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4932 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4933 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4934 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4935 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4936 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4937 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4938 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4939 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4940 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4941 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4942 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4943 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4944 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4945 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4946 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4947 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4948
4949 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4950
4951 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4952 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4953 definitions for proper unfolding of __MATHDECL_VEC.
4954
4955 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4956
4957 * benchtests/bench-strcoll.c:
4958 Include string.h.
4959 (main): Remove unused variable res.
4960
4961 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4962
4963 * timezone/Makefile (%/UTC %/Universal):
4964 Generate test-result files for UTC and Universal.
4965
4966 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4967
4968 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4969
4970 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4971
4972 [BZ #16350]
4973 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4974 for arguments with small absolute value.
4975 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4976 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4977 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4978 (__asinh): Force underflow exception for arguments with small
4979 absolute value.
4980 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4981 (__asinhf): Force underflow exception for arguments with small
4982 absolute value.
4983 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4984 (__asinhl): Force underflow exception for arguments with small
4985 absolute value.
4986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4987 (__asinhl): Force underflow exception for arguments with small
4988 absolute value.
4989 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4990 (__asinhl): Force underflow exception for arguments with small
4991 absolute value.
4992 * math/auto-libm-test-in: Do not mark underflow exceptions as
4993 possibly missing for bug 16350.
4994 * math/auto-libm-test-out: Regenerated.
4995
4996 * include/bits/ipc.h: Remove file.
4997 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4998 variable.
4999 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5000 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5001 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5002 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5003 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5004 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5005 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5006 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5007 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5008
5009 * math/auto-libm-test-in: Remove spurious underflow allowance for
5010 tests of cexp.
5011 * math/auto-libm-test-out: Regenerated.
5012
5013 [BZ #18558]
5014 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5015 unconditional definition.
5016 (MCAST_BLOCK_SOURCE): Likewise.
5017 (MCAST_UNBLOCK_SOURCE): Likewise.
5018 (MCAST_LEAVE_GROUP): Likewise.
5019 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5020 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5021 (MCAST_MSFILTER): Likewise.
5022 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5023 Remove variable.
5024 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5025 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5026 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5027 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5028 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5029
5030 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5031
5032 * NEWS: Mention addition of x86_64 vector sincosf.
5033 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5034 * math/test-float-vlen4.h: Likewise.
5035 * math/test-float-vlen8.h: Likewise.
5036 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5037 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5038 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5039 * sysdeps/x86_64/fpu/Versions: New versions added.
5040 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5041 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5042 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5043 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5044 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5045 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5046 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5047 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5048 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5049 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5050 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5051 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5052 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5053 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5054 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5055 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5056 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5057 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5058 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5059 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5060 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5061 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5062 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5063 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5064
5065 * NEWS: Mention addition of x86_64 vector sincos.
5066 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5067 * math/math.h (__MATHDECL_VEC): New macro.
5068 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5069 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5070 declaration under condition.
5071 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5072 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5073 TEST_VEC_LOOP change.
5074 * math/test-double-vlen4.h: Likewise.
5075 * math/test-double-vlen8.h: Likewise.
5076 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5077 * math/test-float-vlen4.h: Likewise.
5078 * math/test-float-vlen8.h: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5080 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5081 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5082 * sysdeps/x86_64/fpu/Versions: New versions added.
5083 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5084 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5085 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5090 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5091 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5092 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5093 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5094 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5095 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5096 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5097 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5098 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5099 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5100 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5101 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5102 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5103 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5104 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5105 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5106 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5107
5108 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5109 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5110 redirections for powf.
5111 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5112 * sysdeps/x86_64/fpu/Versions: New versions added.
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5114 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5115 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5116 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5117 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5118 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5119 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5120 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5121 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5122 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5123 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5124 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5125 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5126 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5127 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5128 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5129 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5130 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5131 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5132 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5133 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5134 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5135 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5136 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5137 * math/test-float-vlen16.h: Fixed 2 argument macro.
5138 * math/test-float-vlen4.h: Likewise.
5139 * math/test-float-vlen8.h: Likewise.
5140 * NEWS: Mention addition of x86_64 vector powf.
5141
5142 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5143
5144 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5145 and redefine.
5146 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5147 and redefine.
5148 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5149 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5151
5152 [BZ #18553]
5153 * resource/getpriority.c (getpriority): Rename to __getpriority
5154 and define as weak alias of __getpriority.
5155 * resource/setpriority.c (setpriority): Rename to __setpriority
5156 and define as weak alias of __setpriority.
5157 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5158 __getpriority and define as weak alias of __getpriority.
5159 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5160 __setpriority and define as weak alias of __setpriority.
5161 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5162 strong name.
5163 (setpriority): Use __setpriority as strong name.
5164 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5165 __getpriority and define as weak alias of __getpriority.
5166 * include/sys/resource.h (__getpriority): Declare. Use
5167 libc_hidden_proto.
5168 (__setpriority): Likewise.
5169 (getpriority): Don't use libc_hidden_proto.
5170 (setpriority): Likewise.
5171 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5172 getpriority. Call __setpriority instead of setpriority.
5173 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5174 Remove variable.
5175
5176 [BZ #18547]
5177 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5178 as weak alias of __getttynam. Use prototype function definition.
5179 Call __setttyent, __getttyent and __endttyent instead of
5180 setttyent, getttyent and endttyent.
5181 (getttyent): Rename to __getttyent and define as weak alias of
5182 __getttyent. Call __setttyent instead of setttyent. Call
5183 __fgets_unlocked instead of fgets_unlocked.
5184 (setttyent): Rename to __setttyent and define as weak alias of
5185 __setttyent.
5186 (endttyent): Rename to __endttyent and define as weak alias of
5187 __endttyent.
5188 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5189 (__setttyent): Likewise.
5190 (__endttyent): Likewise.
5191 (getttyent): Don't use libc_hidden_proto.
5192 (setttyent): Likewise.
5193 (endttyent): Likewise.
5194 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5195 __endttyent instead of setttyent, getttyent and endttyent.
5196 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5197 Remove variable.
5198
5199 [BZ #18546]
5200 * socket/recv.c (__recv): Use libc_hidden_def.
5201 * socket/socket.c (__socket): Likewise.
5202 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5203 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5204 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5205 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5206 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5207 libc_hidden_def.
5208 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5209 libc_hidden_weak.
5210 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5211 Use libc_hidden_proto.
5212 (__recv): Likewise.
5213 * socket/Versions (libc): Export __recv and __socket at version
5214 GLIBC_PRIVATE.
5215 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5216 instead of recv.
5217 (init_mq_netlink): Call __socket instead of socket.
5218 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5219 Remove variable.
5220
5221 [BZ #18545]
5222 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5223 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5224 hidden_weak.
5225 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5226 define as alias of __mq_timedsend. Use hidden_weak.
5227 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5228 __mq_timedsend as strong name.
5229 (mq_timedreceive): Use __mq_timedreceive as strong name.
5230 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5231 (__mq_timedreceive): Likewise.
5232 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5233 __mq_timedreceive instead of mq_timedreceive.
5234 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5235 instead of mq_timedsend.
5236 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5237 Remove variable.
5238
5239 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5240 hidden_def and hidden_weak instead of libc_hidden_def and
5241 libc_hidden_weak.
5242 (top level): Refer to hidden_def in comment.
5243 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5244 macro. Use it instead of libc_hidden_def.
5245 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5246 specify __GI_* name explicitly.
5247 (mq_timedreceive): Likewise.
5248 (mq_setattr): Likewise.
5249
5250 [BZ #18544]
5251 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5252 __pthread_barrier_init and define as weak alias of
5253 __pthread_barrier_init.
5254 * sysdeps/sparc/nptl/pthread_barrier_init.c
5255 (pthread_barrier_init): Likewise.
5256 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5257 __pthread_barrier_wait and define as weak alias of
5258 __pthread_barrier_wait.
5259 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5260 (pthread_barrier_wait): Likewise.
5261 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5262 (pthread_barrier_wait): Likewise.
5263 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5264 (pthread_barrier_wait): Likewise.
5265 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5266 (pthread_barrier_wait): Likewise.
5267 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5268 __pthread_barrier_wait at version GLIBC_PRIVATE.
5269 * include/pthread.h (__pthread_barrier_init): Declare.
5270 (__pthread_barrier_wait): Likewise.
5271 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5272 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5273 (helper_thread): Likewise.
5274 (init_mq_netlink): Call __pthread_barrier_init instead of
5275 pthread_barrier_init.
5276
5277 [BZ #18542]
5278 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5279 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5280 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5281 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5282 vswscanf.
5283 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5284 Remove variable.
5285
5286 [BZ #18540]
5287 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5288 strong alias of _IO_fflush. Use libc_hidden_def.
5289 * libio/iofflush_u.c (fflush_unlocked): Rename to
5290 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5291 Use libc_hidden_weak.
5292 * include/stdio.h (__fflush_unlocked): Declare. Use
5293 libc_hidden_proto.
5294 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5295 fflush_unlocked.
5296 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5297 Remove variable.
5298
5299 [BZ #18539]
5300 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5301 define as weak alias of __addseverity.
5302 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5303 Remove variable.
5304 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5305 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5306 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5307
5308 [BZ #18536]
5309 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5310 (__tfind): Likewise.
5311 (__tdelete): Likewise.
5312 (__twalk): Likewise.
5313 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5314 __twalk to GLIBC_PRIVATE.
5315 * include/search.h (__tsearch): Use libc_hidden_proto.
5316 (__tfind): Likewise.
5317 (__tdelete): Likewise.
5318 (__twalk): Likewise.
5319 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5320 Call __tdelete instead of tdelete.
5321 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5322 tfind. Call __tsearch instead of tsearch.
5323 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5324 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5325 Remove variable.
5326 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5327
5328 [BZ #18534]
5329 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5330 (dprintf): Define as a weak alias of __dprintf, not a strong
5331 alias.
5332 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5333 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5334 dprintf.
5335 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5336 Remove variable.
5337 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5338 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5339
5340 [BZ #18533]
5341 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5342 not a strong alias.
5343 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5344 Remove variable.
5345
5346 [BZ #18532]
5347 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5348 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5349 (in6addr_loopback): Rename to __in6addr_loopback and define as
5350 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5351 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5352 libc_hidden_proto.
5353 (__in6addr_any): Likewise.
5354 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5355 in6addr_any.
5356 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5357 variable.
5358 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5359
5360 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5361
5362 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5363 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5364 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5365 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5366 redirections for pow.
5367 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5368 * sysdeps/x86_64/fpu/Versions: New versions added.
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5370 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5371 build of SSE, AVX2 and AVX512 IFUNC versions.
5372 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5373 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5374 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5375 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5376 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5377 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5378 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5379 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5380 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5381 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5382 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5383 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5384 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5385 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5386 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5387 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5388 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5389 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5390 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5391 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5392 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5393 * NEWS: Mention addition of x86_64 vector pow.
5394
5395 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5396 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5397 redirections for expf.
5398 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5399 * sysdeps/x86_64/fpu/Versions: New versions added.
5400 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5401 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5402 build of SSE, AVX2 and AVX512 IFUNC versions.
5403 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5404 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5405 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5406 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5407 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5408 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5409 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5410 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5411 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5412 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5413 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5414 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5415 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5416 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5417 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5418 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5419 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5420 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5421 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5422 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5423 * NEWS: Mention addition of x86_64 vector expf.
5424
5425 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5426 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5427 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5428 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5429 redirections for exp.
5430 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5431 * sysdeps/x86_64/fpu/Versions: New versions added.
5432 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5433 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5434 build of SSE, AVX2 and AVX512 IFUNC versions.
5435 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5436 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5438 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5439 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5440 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5441 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5442 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5443 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5444 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5445 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5446 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5447 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5448 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5449 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5450 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5451 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5452 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5453 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5454 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5455 * NEWS: Mention addition of x86_64 vector exp.
5456
5457 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5458 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5459 redirections for logf.
5460 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5461 * sysdeps/x86_64/fpu/Versions: New versions added.
5462 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5463 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5464 build of SSE, AVX2 and AVX512 IFUNC versions.
5465 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5466 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5467 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5468 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5469 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5470 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5471 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5472 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5473 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5474 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5475 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5476 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5477 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5478 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5479 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5480 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5481 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5482 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5483 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5484 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5485 * NEWS: Mention addition of x86_64 vector logf.
5486
5487 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5488 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5489 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5490 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5491 redirections for log.
5492 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5493 * sysdeps/x86_64/fpu/Versions: New versions added.
5494 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5495 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5496 build of SSE, AVX2 and AVX512 IFUNC versions.
5497 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5498 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5499 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5500 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5501 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5502 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5503 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5504 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5505 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5506 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5507 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5508 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5509 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5510 test.
5511 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5512 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5513 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5514 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5515 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5516 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5517 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5518 * NEWS: Mention addition of x86_64 vector log.
5519
5520 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5521
5522 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5523 cfi_adjust_cfa_offset argument.
5524 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5525 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5526
5527 [BZ #18034]
5528 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5529 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5530 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5531 ordering using ldar.
5532 (_dl_tlsdesc_dynamic): Likewise.
5533 (_dl_tlsdesc_return_lazy): Likewise.
5534 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5535 relaxed atomics instead of volatile and synchronize with release store.
5536 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5537 volatile.
5538 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5539
5540 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5541
5542 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5543 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5544 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5545 * sysdeps/x86_64/fpu/Versions: New versions added.
5546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5547 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5548 build of SSE, AVX2 and AVX512 IFUNC versions.
5549 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5550 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5551 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5552 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5553 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5554 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5555 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5556 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5557 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5558 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5559 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5560 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5561 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5562 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5563 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5564 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5565 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5566 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5567 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5568 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5569 * NEWS: Mention addition of x86_64 vector sinf.
5570
5571 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5572
5573 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5574 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5575 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5576 Remove variable.
5577 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5578 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5579
5580 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5581
5582 [BZ #18530]
5583 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5584 strong alias of _IO_fputs. Use libc_hidden_def.
5585 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5586 and define as weak alias of __fputs_unlocked. Use
5587 libc_hidden_weak.
5588 * include/stdio.h (__fputs_unlocked): Declare. Use
5589 libc_hidden_proto.
5590 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5591 fputs_unlocked.
5592
5593 [BZ #18529]
5594 * resolv/netdb.h [__USE_POSIX]: Change condition to
5595 [__USE_XOPEN2K].
5596 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5597 not expect.
5598 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5599 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5600 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5601 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5602 [XPG4 || UNIX98] (AI_ALL): Likewise.
5603 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5604 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5605 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5606 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5607 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5608 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5609 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5610 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5611 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5612 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5613 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5614 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5615 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5616 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5617 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5618 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5619 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5620 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5621 [XPG4 || UNIX98] (gai_strerror): Likewise.
5622 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5623 [XPG4 || UNIX98] (getnameinfo): Likewise.
5624
5625 [BZ #18528]
5626 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5627 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5628 __USE_XOPEN2K8].
5629 (getgrent): Likewise.
5630 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5631 expect.
5632 [XPG3 || POSIX2008] (endgrent): Likewise.
5633 [XPG3] (setgrent): Likewise.
5634 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5635 variable.
5636 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5637
5638 [BZ #18527]
5639 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5640 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5641 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5642 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5643 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5644 * include/unistd.h (__getlogin_r): Declare. Use
5645 libc_hidden_proto.
5646 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5647 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5648 variable.
5649 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5650 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5651 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5652
5653 2015-06-12 Martin Sebor <msebor@redhat.com>
5654
5655 [BZ #18512]
5656 * Makerules (check-install-supported): New target.
5657 (install): Add check-install-supported as a dependency.
5658 * manual/install.texi (Installing the C Library): Document
5659 that overriding prefix and exec_prefix is not supported.
5660 Mention DESTDIR.
5661 * INSTALL: Regenerate from the above.
5662
5663 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5664
5665 [BZ #18519]
5666 * posix/Versions (libc): Export __libc_pread at version
5667 GLIBC_PRIVATE.
5668 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5669 instead of pread.
5670 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5671 variable.
5672
5673 [BZ #18522]
5674 * misc/efgcvt_r.c
5675 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5676 (cvt_symbol): Use weak_alias instead of strong_alias.
5677 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5678 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5679 Remove variable.
5680 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5681 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5682
5683 [BZ #18520]
5684 * inet/herrno.c (h_errno): Rename to __h_errno.
5685 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5686 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5687 to __h_errno instead of h_errno.
5688 * nptl/herrno.c (h_errno): Rename to __h_errno.
5689 (__h_errno_location): Refer to __h_errno not h_errno.
5690 * resolv/Versions (h_errno): Rename to __h_errno.
5691 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5692 Remove variable.
5693 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5694
5695 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5696
5697 * configure.ac: More strict check for AVX512 assembler support.
5698 * configure: Regenerated.
5699
5700 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5701 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5702 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5703 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5704 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5705 * sysdeps/x86_64/fpu/Versions: New versions added.
5706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5707 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5708 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5709 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5711 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5712 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5714 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5715 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5716 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5717 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5718 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5719 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5720 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5721 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5722 test.
5723 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5724 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5725 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5726 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5727 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5728 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5729 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5730 * NEWS: Mention addition of x86_64 vector sin.
5731
5732 2015-06-11 Florian Weimer <fweimer@redhat.com>
5733
5734 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5735 comment.
5736
5737 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5738
5739 [BZ #18479]
5740 * nptl/pt-interp.c: New file.
5741 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5742 Add pt-interp.
5743 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5744 $(common-objpfx)runtime-linker.h.
5745
5746 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5747
5748 * Makeconfig (+interp): Remove unused variable.
5749 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5750 only. Depend on $(common-objpfx)runtime-linker.h instead of
5751 $(elf-objpfx)runtime-linker.h.
5752 ($(elf-objpfx)runtime-linker.h): Rename to
5753 $(common-objpfx)runtime-linker.h and move ...
5754 * Makerules [$(build-shared) = yes]: ... here.
5755 * elf/interp.c: Include <runtime-linker.h> instead of
5756 <elf/runtime-linker.h>.
5757
5758 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5759
5760 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5761 (__gettimeofday_syscall): Remove vsyscall fallback.
5762 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5763 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5764 Add syscall fallback function.
5765 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5766 if vDSO is not present.
5767 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5768 fallback function.
5769 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5770 present.
5771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5772 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5773
5774 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5775
5776 [BZ #18497]
5777 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5778 of wcscmp.
5779 (wcscmp): Define as weak alias of WCSCMP.
5780 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5781 wcscoll.
5782 (USE_HIDDEN_DEF): Define.
5783 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5784 __wcscoll. Don't use libc_hidden_weak.
5785 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5786 wcscmp.
5787 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5788 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5789 __GI_wcscmp.
5790 (weak_alias): Undefine and redefine.
5791 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5792 __wcscmp and define as weak alias of __wcscmp.
5793 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5794 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5795 (__wcscoll): Likewise.
5796 (wcscmp): Don't use libc_hidden_proto.
5797 (wcscoll): Likewise.
5798 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5799 wcscoll.
5800 * posix/regexec.c (check_node_accept_bytes): Likewise.
5801 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5802 variable.
5803 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5804 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5805
5806 [BZ #18507]
5807 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5808 __fstatvfs and define as weak alias of __fstatvfs. Use
5809 libc_hidden_weak.
5810 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5811 and define as weak alias of __statvfs. Use libc_hidden_weak.
5812 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5813 Define as alias of __fstatvfs, not fstatvfs.
5814 (fstatvfs64): Likewise.
5815 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5816 Define as alias of __statvfs, not statvfs.
5817 (statvfs64): Likewise.
5818 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5819 Remove variable.
5820
5821 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5822
5823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5824 (HAVE_GETCPU_VSYSCALL): Define.
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5826 (HAVE_GETCPU_VSYSCALL): Likewise.
5827 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5828 * sysdeps/unix/sysv/linux/sched_getcpu.c
5829 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5830 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5831 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5832 prototype.
5833 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5834 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5835 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5837 Define.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5840 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5842
5843 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5844
5845 * sysdeps/x86_64/fpu/Makefile: New file.
5846 * sysdeps/x86_64/fpu/Versions: New file.
5847 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5848 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5849 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5850 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5851 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5852 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5853 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5854 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5855 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5856 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5857 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5858 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5859 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5860 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5861 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5862 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5863 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5864 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5865 * sysdeps/x86_64/configure: Regenerated.
5866 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5867 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5868 * manual/install.texi (Configuring and compiling): Document
5869 --disable-mathvec.
5870 * INSTALL: Regenerated.
5871 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5872
5873 * math/Makefile: Added rules for vector tests.
5874 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5875 declaration under condition.
5876 * math/test-double-vlen2.h: New file.
5877 * math/test-double-vlen4.h: New file.
5878 * math/test-double-vlen8.h: New file.
5879 * math/test-vec-loop.h: Added initialization macro.
5880 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5882 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5883 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5884 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5885 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5886 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5887 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5888 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5889 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5890 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5891
5892 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5893 * sysdeps/x86_64/fpu/Versions: New versions added.
5894 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5895 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5896 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5897 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5898 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5899 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5900 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5901 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5902 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5903 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5904 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5905 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5906 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5907 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5908 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5909 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5910 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5911 * NEWS: Mention addition of x86_64 vector cosf.
5912
5913 * math/Makefile: Added CFLAGS for new tests.
5914 * math/test-float-vlen16.h: New file.
5915 * math/test-float-vlen4.h: New file.
5916 * math/test-float-vlen8.h: New file.
5917 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5918 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5919 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5920 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5921 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5922 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5923 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5924 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5925 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5926 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5927 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5928
5929 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5930
5931 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5932 * locale/programs/ld-ctype.c: Likewise.
5933
5934 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5935
5936 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5937 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5938 bit_ZMM16_31_state): New macro.
5939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5940 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5941
5942 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5943
5944 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5945
5946 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5947
5948 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5949
5950 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #18498]
5953 * libio/memstream.c (open_memstream): Rename to __open_memstream
5954 and define as weak alias of __open_memstream.
5955 * include/stdio.h (__open_memstream): Declare. Use
5956 libc_hidden_proto.
5957 (open_memstream): Don't use libc_hidden_proto.
5958 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5959 open_memstream.
5960 * posix/getopt.c (_getopt_internal_r): Likewise.
5961 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5962 variable.
5963 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5964 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5965 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5966
5967 [BZ #18496]
5968 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5969 instead of wcrtomb.
5970
5971 [BZ #18483]
5972 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5973 [__USE_XOPEN2K8]. Remove redundant #endif.
5974 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5975 Remove redundant #if.
5976 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5977 Remove variable.
5978 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5979 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5980
5981 [BZ #18495]
5982 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5983 (__iswlower): Likewise.
5984 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5985 (__iswlower): Likewise.
5986 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5987 instead of towlower.
5988 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5989 instead of iswlower. Call __towupper instead of towupper.
5990 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5991 instead of iswalnum.
5992
5993 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5994
5995 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5996 errors to stderr.
5997
5998 2015-06-05 Florian Weimer <fweimer@redhat.com>
5999
6000 [BZ #15661]
6001 [BZ #17322]
6002 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6003 Check for overflow properly. Check for O_APPEND. Ignore large
6004 file system block sizes. Add comments about problems.
6005 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6006 * manual/filesys.texi (Storage Allocation): New node.
6007
6008 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6009
6010 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6011 cancellable syscalls.
6012 (SYS_ify): Add guard to no redefine it.
6013 (INLINE_SYSCALL): Likewise.
6014 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6015 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6016 SYSCALL_CANCEL instead.
6017 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6018 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6019 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6020 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6021 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6022 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6023 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6024 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6025 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6026 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6027 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6028 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6029 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6030 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6031 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6033 Likewise.
6034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6035 (__libc_pread64): Likewise.
6036 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6037 (__libc_preadv): Likewise.
6038 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6039 (__libc_readv64): Likewise.
6040 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6041 (__libc_pwrite): Likewise.
6042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6043 (__libc_pwrite64): Likewise.
6044 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6045 (__libc_pwritev): Likewise.
6046 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6047 (__libc_pwritev64): Likewise.
6048 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6049 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6050 (sync_file_range): Likewise.
6051 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6052 Likewise.
6053 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6054 Likewise.
6055 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6056 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6057 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6058 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6059 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6060 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6061 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6062 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6064 Likewise.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6066 (__libc_read64): Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6068 Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6070 Likewise.
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6072 Likewise.
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6074 Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6076 (__libc_pread64): Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6078 Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6080 (__libc_pwrite64): Likewise.
6081 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6082 (sync_file_range): Likewise.
6083 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6084 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6085 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6086 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6087 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6088 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6089 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6090 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6091 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6092 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6093 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6094 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6095 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6096 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6097 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6098 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6099 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6100 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6102 Likewise.
6103 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6104 Likewise.
6105 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6106 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6107 Likewise.
6108 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6109 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6110 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6111 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6112 Likewise.
6113 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6114 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6115 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6116 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6118
6119 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6120
6121 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6122 Include dl-vdso.
6123 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6124 Use VDSO routines for gettimeofday, clock_gettime if
6125 available.
6126 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6127 Declare VDSO symbols.
6128 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6129 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6130 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6131 * sysdeps/unix/sysv/linux/arm/Versions: Add
6132 __vdso_clock_gettime.
6133
6134 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6135
6136 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6137 be an inline implementation regardless of library is built within.
6138 (open_not_cancel_2): Likewise.
6139 (__read_nocancel): Likewise.
6140 (__write_nocancel): Likewise.
6141 (openat_not_cancel): Likewise.
6142 (openat_not_cancel_3): Likewise.
6143 (openat64_not_cancel): Likewise.
6144 (openat64_not_cancel_3): Likewise.
6145 (__close_nocancel): Likewise.
6146 (pause_not_cancel): Likewise.
6147 (nanosleep_not_cancel): Likewise.
6148 (sigsuspend_not_cancel): Likewise.
6149
6150 2015-06-04 Torvald Riegel <triegel@redhat.com>
6151
6152 [BZ #14958]
6153 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6154 wake-up.
6155 (__pthread_rwlock_rdlock_slow): Likewise.
6156 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6157 Likewise.
6158 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6159 Likewise.
6160 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6161 * nptl/tst-rwlock16.c: New file.
6162 * nptl/Makefile (tests): Add new test.
6163
6164 2015-06-04 Torvald Riegel <triegel@redhat.com>
6165
6166 [BZ #18324]
6167 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6168 missing wake-up of readers.
6169 * nptl/tst-rwlock15.c: New file.
6170 * nptl/Makefile (tests): Add new test.
6171
6172 2015-06-03 Roland McGrath <roland@hack.frob.com>
6173
6174 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6175 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6176 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6177 and __nacl_supply_interface_rtld.
6178 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6179 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6180 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6181 Add __nacl_supply_interface_rtld.
6182 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6183
6184 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6185
6186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6187 isfinite.
6188 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6189 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6190
6191 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6192
6193 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6194 __signbit* with standard C99 macros.
6195 * math/e_exp10l.c: Likewise.
6196 * math/e_exp2l.c: Likewise.
6197 * math/e_scalb.c: Likewise.
6198 * math/e_scalbf.c: Likewise.
6199 * math/e_scalbl.c: Likewise.
6200 * math/s_ldexp.c: Likewise.
6201 * math/s_ldexpf.c: Likewise.
6202 * math/s_ldexpl.c: Likewise.
6203 * math/w_atan2.c: Likewise.
6204 * math/w_atan2f.c: Likewise.
6205 * math/w_atan2l.c: Likewise.
6206 * math/w_cosh.c: Likewise.
6207 * math/w_coshf.c: Likewise.
6208 * math/w_coshl.c: Likewise.
6209 * math/w_exp10.c: Likewise.
6210 * math/w_exp10f.c: Likewise.
6211 * math/w_exp10l.c: Likewise.
6212 * math/w_exp2.c: Likewise.
6213 * math/w_exp2f.c: Likewise.
6214 * math/w_exp2l.c: Likewise.
6215 * math/w_fmod.c: Likewise.
6216 * math/w_fmodf.c: Likewise.
6217 * math/w_fmodl.c: Likewise.
6218 * math/w_hypot.c: Likewise.
6219 * math/w_hypotf.c: Likewise.
6220 * math/w_hypotl.c: Likewise.
6221 * math/w_jnl.c: Likewise.
6222 * math/w_lgamma.c: Likewise.
6223 * math/w_lgamma_r.c: Likewise.
6224 * math/w_lgammaf.c: Likewise.
6225 * math/w_lgammaf_r.c: Likewise.
6226 * math/w_lgammal.c: Likewise.
6227 * math/w_lgammal_r.c: Likewise.
6228 * math/w_pow.c: Likewise.
6229 * math/w_powf.c: Likewise.
6230 * math/w_powl.c: Likewise.
6231 * math/w_remainder.c: Likewise.
6232 * math/w_remainderf.c: Likewise.
6233 * math/w_remainderl.c: Likewise.
6234 * math/w_scalb.c: Likewise.
6235 * math/w_scalbf.c: Likewise.
6236 * math/w_scalbl.c: Likewise.
6237 * math/w_scalbln.c: Likewise.
6238 * math/w_scalblnf.c: Likewise.
6239 * math/w_scalblnl.c: Likewise.
6240 * math/w_sinh.c: Likewise.
6241 * math/w_sinhf.c: Likewise.
6242 * math/w_sinhl.c: Likewise.
6243 * math/w_tgamma.c: Likewise.
6244 * math/w_tgammaf.c: Likewise.
6245 * math/w_tgammal.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6253 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6277 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6278 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6279 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6280 * stdio-common/printf_fp.c: Likewise.
6281 * stdio-common/printf_fphex.c: Likewise.
6282 * stdio-common/printf_size.c: Likewise.
6283
6284 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6285
6286 [BZ #18470]
6287 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6288 strnlen.
6289 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6290 Remove variable.
6291 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6292 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6293 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6294 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6295 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6296 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6297 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6298 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6299 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6300 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6301
6302 [BZ #18468]
6303 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6304 weak alias of __wmemchr. Use libc_hidden_weak.
6305 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6306 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6307 instead of wmemchr.
6308
6309 2015-06-02 Roland McGrath <roland@hack.frob.com>
6310
6311 [BZ #18383]
6312 * elf/tst-tlsalign-extern.c: New file.
6313 * elf/tst-tlsalign-extern-static.c: New file.
6314 * elf/tst-tlsalign-vars.c: New file.
6315 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6316 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6317 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6318 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6319 (test-xfail-tst-tlsalign-extern-static): New variable.
6320
6321 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6322
6323 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6324 Use variable name _sc_err instead of err.
6325 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6326 instead of ret.
6327 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6328 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6329 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6330 (INLINE_SYSCALL): Likewise.
6331
6332 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6333 * include/string.h (__strnlen): Use libc_hidden_proto.
6334 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6335 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6336 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6337 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6338 (libc_hidden_def): Undefine and redefine.
6339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6340 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6341 __GI_strnlen.
6342 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6343 libc_hidden_def.
6344 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6345
6346 [BZ #18469]
6347 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6348 weak alias of __towlower. Use libc_hidden_weak.
6349 (towupper): Rename to __towupper and define as weak alias of
6350 __towupper. Use libc_hidden_weak.
6351 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6352 (__towupper): Likewise.
6353 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6354 __towlower instead of towlower.
6355
6356 2015-06-02 Roland McGrath <roland@hack.frob.com>
6357
6358 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6359 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6360
6361 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6362
6363 * sysdeps/aarch64/libm-test-ulps: Update.
6364
6365 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6366
6367 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6368 Define.
6369 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6371 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6372 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6373 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6374 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6375 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6376
6377 2015-06-01 Martin Sebor <msebor@redhat.com>
6378
6379 [BZ #18116]
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6381 (__setcontext): Use extended four-operand version of mtsf whenever
6382 possible.
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6384 (__novec_swapcontext): Likewise.
6385
6386 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6387
6388 * benchtests/scripts/compare_bench.py: New file.
6389 * benchtests/scripts/import_bench.py (mean): New function.
6390 (split_list): Likewise.
6391 (do_for_all_timings): Likewise.
6392 (compress_timings): Likewise.
6393
6394 * benchtests/scripts/import_bench.py: New file.
6395 * benchtests/scripts/validate_benchout.py: Import import_bench
6396 instead of jsonschema.
6397 (validate_bench): Remove function.
6398 (main): Use import_bench.
6399
6400 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6401
6402 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6403 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6404
6405 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6406
6407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6408
6409 2015-05-28 Roland McGrath <roland@hack.frob.com>
6410
6411 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6412 set THREAD_SELF->tid to a magic value and futex-wake it.
6413 Pass its address to the thread_exit system call.
6414 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6415 bit is clear.
6416 * sysdeps/nacl/lowlevellock.h: New file.
6417 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6418
6419 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6420 Add TIMEOUT to current time, don't subtract it.
6421
6422 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 [BZ #2981]
6425 [BZ #18422]
6426 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6427 ($(objpfx)tst-audit2.out): Also depend on
6428 $(objpfx)tst-auditmod9b.so.
6429 * elf/tst-audit2.c: Include <dlfcn.h>.
6430 (calloc_called): New.
6431 (calloc): Allow to be called more than once.
6432 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6433
6434 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6435
6436 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6437 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6438
6439 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6440
6441 * stdlib/monetary.h: Fix comment.
6442
6443 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6444
6445 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6446 Avoid using variables in #defines that might cause shadowing.
6447 (INTERNAL_VSYSCALL_CALL): Likewise.
6448
6449 2015-05-26 Roland McGrath <roland@hack.frob.com>
6450
6451 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6452
6453 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6454 * nptl/lll_timedlock_wait.c: ... to this new file.
6455 * nptl/Makefile (libpthread-routines): Add it.
6456 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6457 * nptl/lll_timedwait_tid.c: ... to this new file.
6458 * nptl/Makefile (libpthread-routines): Add it.
6459 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6460 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6461 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6462 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6463 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6464 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6465 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6466 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6467 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6468 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6469
6470 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6471
6472 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6473 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6474 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6475 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6476 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6478 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6480 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6481 * sysdeps/unix/sysv/linux/tile/sysdep.h
6482 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6483 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6484 using vDSO syscall macro.
6485
6486 2015-05-26 Andriy Rysin <arysin@gmail.com>
6487
6488 [BZ #17293]
6489 * uk_UA: Fix sorting order for Ukrainian locale
6490
6491 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6492
6493 * stdlib/monetary.h: Fix comment.
6494
6495 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6496
6497 [BZ #18234]
6498 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6499 st_mtim and st_ctim members.
6500 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6501 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6502 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6503 (struct stat64): Likewise.
6504 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6505 (struct stat64): Likewise.
6506 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6507 (struct stat64): Likewise.
6508
6509 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6510
6511 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6512 Define and include sysdep-vdso.h.
6513 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6514 Likewise.
6515 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6516 Likewise.
6517 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6518 Define with VDSO_SYMBOL and use PTR_MANGLE.
6519 (__vdso_clock_gettime): Likewise.
6520 (__vdso_clock_getres): Likewise.
6521 (_libc_vdso_platform_setup): Likewise.
6522 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6523 Likewise.
6524 (_libc_vdso_platform_setup): Likewise.
6525 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6526 Likewise.
6527 (__vdso_clock_gettime): Likewise.
6528 (__vdso_clock_getres): Likewise.
6529 (__vdso_get_tbfreq): Likewise.
6530 (__vdso_getcpu): Likewise.
6531 (__vdso_time): Likewise.
6532 (__vdso_sigtramp_rt64): Likewise.
6533 (__vdso_signtramp32): Likewise.
6534 (__vdso_sigtramp_rt32): Likewise.
6535 (_libc_vdso_platform_setup): Likewise.
6536 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6537 Likewise.
6538 (__vdso_clock_gettime): Likewise.
6539 (__vdso_clock_getres): Likewise.
6540 (_libc_vdso_platform_setup): Likewise.
6541 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6542 Likewise.
6543 (__vdso_clock_gettime): Likewise.
6544 (_libc_vdso_platform_setup): Likewise.
6545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6546 Likewise.
6547 (__vdso_getcpu): Likewise.
6548 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6549 Use VDSO_SYMBOL macro to define.
6550 (__vdso_clock_gettime): Likewise.
6551 (__vdso_clock_getres): Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6553 Likewise.
6554 (__vdso_clock_gettime): Likewise.
6555 (__vdso_clock_getres): Likewise.
6556 (__vdso_get_tbfreq): Likewise.
6557 (__vdso_getcpu): Likewise.
6558 (__vdso_time): Likewise.
6559 (__vdso_sigtramp_rt64): Likewise.
6560 (__vdso_signtramp32): Likewise.
6561 (__vdso_sigtramp_rt32): Likewise.
6562 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6563 Likewise.
6564 (__vdso_clock_gettime): Likewise.
6565 (__vdso_clock_getres): Likewise.
6566 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6567 Likewise.
6568 (__vdso_clock_gettime): Likewise.
6569 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6570 Likewise.
6571 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6572 macro.
6573 (INTERNAL_VSYSCALL): Likewise.
6574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6575 Remove macro.
6576 (INTERNAL_VSYSCALL): Likewise.
6577 (INTERNAL_VSYSCALL_NCS): Likewise.
6578 (INTERNAL_VSYSCALL_CALL): New macro.
6579 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6581 Likewise.
6582 (INTERNAL_VSYSCALL): Likewise.
6583 (INTERNAL_VSYSCALL_NCS): Likewise.
6584 (INTERNAL_VSYSCALL_CALL): New macro.
6585 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6587 (INLINE_VSYSCALL): Remove macro.
6588 (INTERNAL_VSYSCALL): Remove macro.
6589 (INTERNAL_VSYSCALL_NCS): Remove macro.
6590 (INTERNAL_VSYSCALL_CALL): New macro.
6591 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6592 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6593 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6594 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6595 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6597 (INLINE_VSYSCALL): Remove macro.
6598 (INTERNAL_VSYSCALL): Likewise.
6599 (INTERNAL_VSYSCALL_NCS): Likewise.
6600 (INTERNAL_VSYSCALL_CALL): New macro.
6601 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6602 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6603 PTR_DEMANGLE on vDSO pointer.
6604 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6605 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6606 macro.
6607 (INTERNAL_SYSCALL): Likewise.
6608 (INTERNAL_VSYSCALL_NCS): Remove macro.
6609 (INTERNAL_VSYSCALL_CALL): New macro.
6610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6611 Remove macro.
6612 (INTERNAL_VSYSCALL): Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6614 sysdep-vdso.h instead of libc-vdso.h.
6615 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6616 definition.
6617 (INLINE_VSYSCALL): Likewise.
6618 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6619 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6620 definition.
6621 (INLINE_VSYSCALL): Likewise.
6622 (INTERNAL_VSYSCALL): Likewise.
6623 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6624 * sysdeps/unix/sysv/linux/timespec_get.c
6625 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6626 (timespec_get): Use ANSI prototype.
6627 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6628 and definition for Linux.
6629
6630 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6631
6632 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6633 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6634
6635 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 [BZ #2981]
6638 [BZ #18410]
6639 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6640 for missing DT_PLTRELSZ.
6641
6642 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6643
6644 Remove obsolete aliases that broke 'locale -a'
6645 [BZ #18412]
6646 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6647 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6648 breaking some applications that use 'locale -a' output.
6649 Change the encoding of this file from Latin-1 to ASCII to avoid
6650 other potential problems with people grepping this file.
6651
6652 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6653
6654 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6655 -fasynchronous-unwind-tables.
6656 (CFLAGS-sendto.c): Likewise.
6657 (CFLAGS-sendmsg.c): Likewise.
6658 (CFLAGS-connect.c): Likewise.
6659 (CFLAGS-recvmsg.c): Likewise.
6660 (CFLAGS-recvfrom.c): Likewise.
6661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6662 (SOCKETCALL): New macro: non-cancellable socketcall.
6663 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6664 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6665 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6666 * sysdeps/unix/sysv/linux/accept.c: New file.
6667 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6668 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6669 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6670 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6671 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6672 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6673 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6674 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6675 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6676 * sysdeps/unix/sysv/linux/send.c: Likewise.
6677 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6678 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6679 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6680 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6681 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6682 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6683 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6684 prototype.
6685 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6686 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6687 instead of __internal_xxx function.
6688 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6689 prototype.
6690 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6691 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6692 instead of __internal_xxx function.
6693 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6694 prototype.
6695 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6696 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6697 instead of __internal_xxx function.
6698 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6699 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6700 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6701 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6702 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6703 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6704 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6705 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6706 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6707 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6708 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6709 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6710 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6711 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6712 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6713 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6714 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6715 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6716 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6717 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6720 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6721 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6722 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6723 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6724 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6725 * sysdeps/unix/sysv/linux/send.S: Likewise.
6726 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6727 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6728 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6729 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6730 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6731 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6734 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6735 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6736 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6737 socketcall is implemented in GLIBC.
6738
6739 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6740
6741 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6742 (__fma): Ignore uninitialized warnings around packing.
6743 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6744 (__fmaf): Ignore uninitialized warnings around packing.
6745 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6746 (__fmal): Ignore uninitialized warnings around packing.
6747
6748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6749 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6751 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6752
6753 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6754 switch statement into default case.
6755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6756
6757 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6758 a conditional in forcing "inexact".
6759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6760 Likewise.
6761
6762 2015-05-22 Roland McGrath <roland@hack.frob.com>
6763
6764 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6765 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6766 for each INTERNAL_SYSCALL use.
6767
6768 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #438]
6771 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6772 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6773 variable.
6774
6775 [BZ #18444]
6776 * string/basename.c (basename): Rename to __basename and define as
6777 weak alias of __basename. Use libc_hidden_weak.
6778 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6779 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6780 __basename instead of basename.
6781 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6782 Remove variable.
6783 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6784
6785 2015-05-18 Florian Weimer <fweimer@redhat.com>
6786
6787 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6788 (_IO_JUMPS_FILE_plus): New.
6789 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6790 _IO_CAST_FIELD_ACCESS.
6791 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6792 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6793 * libio/freopen.c (freopen): Likewise.
6794 * libio/freopen64.c (freopen64): Likewise.
6795 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6796 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6797 * libio/iofwide.c (_IO_fwide): Likewise.
6798 * libio/memstream.c (open_memstream): Likewise.
6799 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6800 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6801 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6802
6803 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6804
6805 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6806 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6807 NADJ.
6808 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6809 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6810 NADJ.
6811 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6812 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6813 NADJ.
6814
6815 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6816 (p == 4) case.
6817
6818 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6819 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6820 Remove variable.
6821 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6822 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6823 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6824
6825 2015-05-21 Florian Weimer <fweimer@redhat.com>
6826
6827 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6828 Adjust jump table label generation macros.
6829
6830 2015-05-21 Florian Weimer <fweimer@redhat.com>
6831
6832 * stdio-common/vfprintf.c (vfprintf): Move local variables
6833 args_malloced, specs, specs_malloced, and the code after
6834 do_positional to the printf_positional function.
6835 (printf_positional): New function.
6836
6837 2015-05-21 Florian Weimer <fweimer@redhat.com>
6838
6839 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6840 function.
6841 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6842 STEP4_TABLE, process_arg): Move macro definitions
6843 out of the vfprintf function. (Cosmetic change only.)
6844
6845 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6846
6847 * benchtests/Makefile (stdio-common-bench): Define.
6848 (benchset): Add stdio-common-bench.
6849 * sprintf-inputs: New file.
6850 * sprintf-source.c: New file.
6851
6852 2015-05-21 Andreas Schwab <schwab@suse.de>
6853
6854 [BZ #13028]
6855 [BZ #17053]
6856 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6857 of struct __res_state.
6858 * resolv/res_send.c (__libc_res_nsend): Likewise.
6859 (get_nsaddr): New function.
6860 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6861 statp directly.
6862
6863 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6864
6865 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6866 -D_POSIX_C_SOURCE=199506L.
6867
6868 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6869
6870 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6871 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6872 Do not mention otherwise.
6873 [POSIX] (_XOPEN_VERSION): Do not expect.
6874 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6875 [POSIX] (_POSIX2_C_BIND): Likewise.
6876 [POSIX] (_POSIX2_VERSION): Likewise.
6877 [POSIX] (_XOPEN_XPG2): Likewise.
6878 [POSIX] (_XOPEN_XPG3): Likewise.
6879 [POSIX] (_XOPEN_XPG4): Likewise.
6880 [POSIX] (_XOPEN_UNIX): Likewise.
6881 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6882 [POSIX] (_POSIX_BARRIERS): Likewise.
6883 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6884 [POSIX] (_POSIX_CPUTIME): Likewise.
6885 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6886 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6887 [POSIX] (_POSIX_SHELL): Likewise.
6888 [POSIX] (_POSIX_SPAWN): Likewise.
6889 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6890 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6891 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6892 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6893 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6894 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6895 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6896 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6897 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6898 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6899 [POSIX] (_POSIX2_PBS): Likewise.
6900 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6901 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6902 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6903 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6904 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6905 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6906 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6907 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6908 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6909 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6910 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6911 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6912 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6913 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6914 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6915 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6916 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6917 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6918 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6919 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6920 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6921 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6922 [POSIX] (_SC_2_C_BIND): Likewise.
6923 [POSIX] (_SC_2_C_VERSION): Likewise.
6924 [POSIX] (_SC_2_PBS): Likewise.
6925 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6926 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6927 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6928 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6929 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6930 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6931 [POSIX] (_SC_BARRIERS): Likewise.
6932 [POSIX] (_SC_BASE): Likewise.
6933 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6934 [POSIX] (_SC_DEVICE_IO): Likewise.
6935 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6936 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6937 [POSIX] (_SC_FD_MGMT): Likewise.
6938 [POSIX] (_SC_FIFO): Likewise.
6939 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6940 [POSIX] (_SC_FILE_LOCKING): Likewise.
6941 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6942 [POSIX] (_SC_IOV_MAX): Likewise.
6943 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6944 [POSIX] (_SC_NETWORKING): Likewise.
6945 [POSIX] (_SC_PAGE_SIZE): Likewise.
6946 [POSIX] (_SC_PASS_MAX): Likewise.
6947 [POSIX] (_SC_PIPE): Likewise.
6948 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6949 [POSIX] (_SC_REGEXP): Likewise.
6950 [POSIX] (_SC_SHELL): Likewise.
6951 [POSIX] (_SC_SIGNALS): Likewise.
6952 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6953 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6954 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6955 [POSIX] (_SC_USER_GROUPS): Likewise.
6956 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6957 [POSIX] (_SC_STREAMS): Likewise.
6958 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6959 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6960 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6961 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6962 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6963 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6964 [POSIX] (_PC_FILESIZEBITS): Likewise.
6965 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6966 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6967 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6968 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6969 [POSIX] (uid_t): Likewise.
6970 [POSIX] (gid_t): Likewise.
6971 [POSIX] (off_t): Likewise.
6972 [POSIX] (pid_t): Likewise.
6973 [POSIX] (cuserid): Allow.
6974 (_SC_2_CHAR_TERM): Require constant.
6975 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6976 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6977 variable.
6978
6979 2015-05-20 Roland McGrath <roland@hack.frob.com>
6980
6981 * sysdeps/nacl/pthread-pids.h: New file.
6982 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6983 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6984
6985 * nptl/pthread-pids.h: New file.
6986 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6987 * nptl/nptl-init.c: Include <pthread-pids.h>.
6988 (__pthread_initialize_minimal_internal):
6989 Call __pthread_initialize_pids instead of set_tid_address syscall.
6990
6991 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6992 * sysdeps/posix/usleep.c: ... here.
6993
6994 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6995
6996 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6997 call_pselect6 object.
6998 [$(subdir) = io]: Remove call_sync_file_range object.
6999 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7000 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7001 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7002 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7003
7004 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7005
7006 * math/s_cproj.c: Add include "math_private.h".
7007 * math/s_cprojf.c: Likewise.
7008 * math/s_cprojl.c: Likewise.
7009
7010 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7011
7012 [BZ #18244]
7013 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7014 high mantissa bit when testing whether P is a NaN.
7015 * math/libm-test.inc (remainder_test_data): Add more tests.
7016 (remquo_test_data): Likewise.
7017
7018 [BZ #18049]
7019 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7020 below -32, return the argument, with underflow if subnormal.
7021 * math/auto-libm-test-in: Add more tests of atanh.
7022 * math/auto-libm-test-out: Regenerated.
7023
7024 2015-05-19 Roland McGrath <roland@hack.frob.com>
7025
7026 [BZ #18434]
7027 * nptl/tst-sem15.c: New file.
7028 * nptl/Makefile (tests): Add it.
7029 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7030 s/<</>>/ to fix typo in EOVERFLOW check.
7031 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7032
7033 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7034
7035 * manual/strings.texi (envz_remove): Fix typo in safety
7036 annotations.
7037
7038 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7039 Steve Ellcey <sellcey@imgtec.com>
7040
7041 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7042 in order to avoid strict alias warnings.
7043 (iruserok_af): Ditto for ra.
7044
7045 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7046
7047 [BZ #17581]
7048 * malloc/hooks.c
7049 (magicbyte): Convert to a function and avoid returning 0x01.
7050 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7051 (mem2chunk_check): Fix unsigned comparisons to zero.
7052 Hoist defs of sz and magic.
7053
7054 2015-05-19 Richard Henderson <rth@redhat.com>
7055
7056 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7057
7058 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7059
7060 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7061
7062 [BZ #16159]
7063 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7064 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7065 (reused_arena): Find a non-corrupt arena.
7066 (heap_trim): Pass arena to unlink.
7067 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7068 malloc_printerr.
7069 (top_check): Likewise.
7070 (free_check): Likewise.
7071 (realloc_check): Likewise.
7072 * malloc/malloc.c (malloc_printerr): Add arena argument.
7073 (unlink): Likewise.
7074 (munmap_chunk): Adjust.
7075 (ARENA_CORRUPTION_BIT): New macro.
7076 (arena_is_corrupt): Likewise.
7077 (set_arena_corrupt): Likewise.
7078 (sysmalloc): Use mmap if there are no usable arenas.
7079 (_int_malloc): Likewise.
7080 (__libc_malloc): Don't fail if arena_get returns NULL.
7081 (_mid_memalign): Likewise.
7082 (__libc_calloc): Likewise.
7083 (__libc_realloc): Adjust for additional argument to
7084 malloc_printerr.
7085 (_int_free): Likewise.
7086 (malloc_consolidate): Likewise.
7087 (_int_realloc): Likewise.
7088 (_int_memalign): Don't touch corrupt arenas.
7089 * malloc/tst-malloc-backtrace.c: New test case.
7090
7091 * Makefile (summarize-tests): Fix return value on success.
7092
7093 * manual/string.texi (Envz Functions): Add envz_remove.
7094
7095 2015-05-18 Roland McGrath <roland@hack.frob.com>
7096
7097 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7098 (invalid_name): New function, broken out of ...
7099 (__opendirat): ... here. Call it.
7100 (need_isdir_precheck): New function, broken out of ...
7101 (__opendirat): ... here. Call it.
7102 Use __fxstatat64, not __xstatat64.
7103 (opendir_oflags): New function, broken out of ...
7104 (__opendirat): ... here. Call it.
7105 (opendir_tail): New function, broken out of ...
7106 (__opendirat): ... here. Call it.
7107 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7108 opendir_tail, rather than punting to __opendirat.
7109 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7110
7111 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7112
7113 * .gitignore: Ignore generated *.pyc.
7114
7115 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7116
7117 * include/stdio.h: Define __need_wint_t.
7118 * test-skeleton.c: Avoid `for' loop initial declaration.
7119 * nptl/tst-initializers1.c: Use test-skeleton.c.
7120
7121 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7122
7123 [BZ #18418]
7124 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7125
7126 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7127
7128 [BZ #16352]
7129 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7130 (__ieee754_atanh): Force underflow exception for results with
7131 small absolute value.
7132 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7133 (__ieee754_atanhf): Force underflow exception for results with
7134 small absolute value.
7135 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7136 (__ieee754_atanh): Force underflow exception for results with
7137 small absolute value.
7138 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7139 (__ieee754_atanhf): Force underflow exception for results with
7140 small absolute value.
7141 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7142 (__ieee754_atanhl): Force underflow exception for results with
7143 small absolute value.
7144 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7145 (__ieee754_atanhl): Force underflow exception for results with
7146 small absolute value.
7147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7148 (__ieee754_atanhl): Force underflow exception for results with
7149 small absolute value.
7150 * math/auto-libm-test-in: Do not allow missing underflow
7151 exceptions from atanh.
7152 * math/auto-libm-test-out: Regenerated.
7153
7154 [BZ #18221]
7155 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7156 2**-28 as threshold for returning x or +/- 1/x.
7157 * math/auto-libm-test-in: Add more tests of tan.
7158 * math/auto-libm-test-out: Regenerated.
7159
7160 [BZ #18220]
7161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7162 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7163 * math/auto-libm-test-in: Add another test of lgamma.
7164 * math/auto-libm-test-out: Regenerated.
7165
7166 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7167
7168 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7169 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7170 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7171 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7172 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7173 (ADD2A): Use fabs. (SUB2A): Use fabs.
7174 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7177 (log1): Use fabs. (my_log2): Use fabs.
7178 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7179 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7180 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7181 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7183 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7184 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7185 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7186 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7187 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7188 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7189
7190 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7191
7192 [BZ #18217]
7193 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7194 as threshold for returning 1 - x.
7195 * math/auto-libm-test-in: Add more tests of erfc.
7196 * math/auto-libm-test-out: Regenerated.
7197
7198 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #18196]
7201 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7202 threshold for large arguments.
7203 * math/auto-libm-test-in: Add another test of atan.
7204 * math/auto-libm-test-out: Regenerated.
7205
7206 [BZ #16339]
7207 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7208 (__log1p): Force underflow exception for results with small
7209 absolute value.
7210 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7211 (__log1pf): Force underflow exception for results with small
7212 absolute value.
7213 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7214 (__log1p): Force underflow exception for results with small
7215 absolute value.
7216 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7217 (__log1pf): Force underflow exception for results with small
7218 absolute value.
7219 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7220 (__log1pl): Force underflow exception for results with small
7221 absolute value.
7222 * math/auto-libm-test-in: Do not allow missing underflow
7223 exceptions from log1p.
7224 * math/auto-libm-test-out: Regenerated.
7225
7226 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7227 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7228
7229 [BZ #16704]
7230 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7231
7232 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7233
7234 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7235 (libmvec): New variable.
7236 * configure.ac: Added option for mathvec build.
7237 * configure: Regenerated.
7238 * mathvec/Depend: New file.
7239 * mathvec/Makefile: New file.
7240 * shlib-versions: Added libmvec.
7241 * math/Makefile: Added rule for libm.so installation.
7242
7243 * bits/math-vector.h: New file.
7244 * bits/libm-simd-decl-stubs.h: New header.
7245 * math/Makefile (headers): Added new header
7246 libm-simd-decl-stubs.h.
7247 * math/math.h (__MATHCALL_VEC): New macro.
7248
7249 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7250 for conditions in testing functions.
7251 * math/Makefile: Added call of libm-have-vector-test.sh.
7252 * math/libm-test.inc (HAVE_VECTOR): New macros.
7253
7254 * math/libm-test.inc: START refactored.
7255 * math/test-double.c (TEST_MATHVEC): Add define.
7256 * math/test-float.c: Likewise.
7257 * math/test-idouble.c: Likewise.
7258 * math/test-ifloat.c: Likewise.
7259 * math/test-ildoubl.c: Likewise.
7260 * math/test-ldouble.c: Likewise.
7261 * sysdeps/generic/math-tests-arch.h
7262 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7263 architecture check.
7264
7265 * math/test-double.c (FUNC_TEST): New macro.
7266 * math/test-float.c: Likewise.
7267 * math/test-idouble.c: Likewise.
7268 * math/test-ifloat.c: Likewise.
7269 * math/test-ildoubl.c: Likewise.
7270 * math/test-ldouble.c: Likewise.
7271 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7272
7273 2015-05-13 Roland McGrath <roland@hack.frob.com>
7274
7275 * sysdeps/nacl/fdopendir.c: New file.
7276
7277 * dirent/scandir-tail.c: New file.
7278 * dirent/scandir64-tail.c: New file.
7279 * dirent/Makefile (routines): Add them.
7280 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7281 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7282 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7283 [!SCANDIR] (SCANDIR_TAIL): New macro.
7284 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7285 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7286 (SCANDIRAT): Macro removed.
7287 (SCANDIR_TAIL): New macro.
7288 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7289 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7290 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7291 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7292 (READDIR): Macro removed.
7293 (SCANDIR_TAIL): New macro.
7294 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7295 (SCANDIR_TAIL): New macro.
7296
7297 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7298 * dirent/scandir-cancel.c: ... to this new file.
7299 * dirent/Makefile (routines): Add it.
7300 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7301 * sysdeps/unix/sysv/linux/i386/scandir64.c
7302 (SKIP_SCANDIR_CANCEL): Macro removed.
7303 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7304
7305 * dirent/tst-scandir.c: New file.
7306 * dirent/tst-scandir64.c: New file.
7307 * dirent/Makefile (tests): Add them.
7308
7309 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7310
7311 [BZ #18409]
7312 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7313
7314 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7315
7316 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7317 list.
7318
7319 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7320
7321 * benchtests/bench-strcoll.c: New benchmark.
7322 * benchtests/Makefile: Generate locales and run benchmark.
7323 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7324 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7325 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7326 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7327 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7328 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7329 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7330 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7331 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7332 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7333 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7334 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7335 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7336 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7337 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7338 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7339 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7340 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7341 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7342 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7343 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7344 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7345 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7346 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7347
7348 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7349
7350 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7351 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7352
7353 2015-05-12 Roland McGrath <roland@hack.frob.com>
7354
7355 * posix/uname-values.h: New file.
7356 * posix/uname.c: Include that instead of <config-name.h>.
7357 * sysdeps/nacl/uname-values.h: New file.
7358 * sysdeps/arm/nacl/uname-values.h: New file.
7359
7360 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7361
7362 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7363 splitting into fields.
7364
7365 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7366
7367 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7368 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7369 * locale/localeinfo.h: Add enum collation_encoding_type.
7370 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7371 * programs/ld-collate.c (collate_output): Add encoding type info.
7372 * string/strcoll_l.c (STRDIFF): New function.
7373 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7374 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7375
7376 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7377
7378 [BZ #18397]
7379 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7380 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7381 <fpu_control.h> instead of <math/fpu_control.c>.
7382 * sysdeps/mips/mips32/fpu/Makefile: New file.
7383
7384 2015-05-11 Andreas Schwab <schwab@suse.de>
7385
7386 [BZ #18007]
7387 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7388 nss_endgrent.
7389 (_nss_compat_endgrent): Call nss_endgrent.
7390 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7391 nss_endpwent.
7392 (_nss_compat_endpwent): Call nss_endpwent.
7393 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7394 needent, call nss_setspent only if non-zero.
7395 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7396 (internal_endspent): Don't call nss_endspent.
7397 (_nss_compat_endspent): Call nss_endspent.
7398 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7399 Remove. All uses removed.
7400 (internal_setent): Remove parameter stayopen, add parameter
7401 stream. Use it instead of global variable.
7402 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7403 (internal_endent, internal_getent): Add parameter stream. Use it
7404 instead of global variable.
7405 (CONCAT(_nss_files_end,ENTNAME))
7406 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7407 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7408 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7409 uses removed.
7410 (internal_setent, internal_endent): Add parameter stream. Use it
7411 instead of global variable.
7412 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7413 stream.
7414 (get_next_alias): Add parameter stream.
7415 (_nss_files_getaliasent_r): Pass global stream.
7416 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7417 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7418 (_nss_files_gethostbyname4_r): Pass local stream to
7419 internal_setent, internal_getent and internal_endent. Remove
7420 locking.
7421
7422 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7423
7424 * tst-strfmon1.c (tests): Update expected currency symbol.
7425
7426 2015-05-08 Roland McGrath <roland@hack.frob.com>
7427
7428 * sysdeps/nacl/gethostname.c: New file.
7429
7430 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7431
7432 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7433 and sinh.
7434 * math/auto-libm-test-out: Regenerated.
7435 * sysdeps/i386/fpu/libm-test-ulps: Update.
7436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7437
7438 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7439
7440 [BZ #18125]
7441 * stdlib/tst-setcontext3.c: New file.
7442 * stdlib/tst-setcontext3.sh: New file.
7443 * stdlib/Makefile (tests): Add tst-setcontext3.
7444 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7445 to verify test program created output file.
7446 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7447 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7448 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7449 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7450
7451 2015-05-06 Roland McGrath <roland@hack.frob.com>
7452
7453 [BZ #18383]
7454 * elf/tst-tlsalign.c: New file.
7455 * elf/tst-tlsalign-static.c: New file.
7456 * elf/tst-tlsalign-lib.c: New file.
7457 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7458 (tests-static): Add tst-tlsalign-static.
7459 (modules-names): Add tst-tlsalign-lib.
7460 (test-xfail-tst-tlsalign): New variable.
7461 (test-xfail-tst-tlsalign-static): New variable.
7462
7463 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7464 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7465
7466 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7467
7468 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7469 csqrt, erfc, sin and sincos.
7470 * math/auto-libm-test-out: Regenerated.
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7473
7474 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7475
7476 * sysdeps/aarch64/libm-test-ulps: Update.
7477
7478 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7479
7480 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7481 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7482 * math/auto-libm-test-out: Regenerated.
7483 * sysdeps/i386/fpu/libm-test-ulps: Update.
7484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485
7486 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7487
7488 [BZ #18265]
7489 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7490 (wcsncpy): Likewise.
7491
7492 2015-05-05 Florian Weimer <fweimer@redhat.com>
7493
7494 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7495 Assume __ASSUME_FALLOCATE is always true.
7496 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7497 (__posix_fallocate64_l64): Likweise.
7498 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7499 (posix_fallocate): Likewise.
7500 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7501 (__posix_fallocate64_l64): Likewise.
7502 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7503 [!__ASSUME_FALLOCATE]: Add comment.
7504
7505 2015-05-05 Florian Weimer <fweimer@redhat.com>
7506
7507 * sysdeps/unix/sysv/linux/i386/Makefile
7508 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7509 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7510 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7511 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7512 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7513 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7514 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7515
7516 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7517
7518 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7519 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7520 tgamma.
7521 * math/auto-libm-test-out: Regenerated.
7522 * sysdeps/i386/fpu/libm-test-ulps: Update.
7523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7524
7525 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7526
7527 * math/auto-libm-test-in: Add more tests of tgamma.
7528 * math/auto-libm-test-out: Regenerated.
7529 * sysdeps/i386/fpu/libm-test-ulps: Update.
7530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531
7532 * math/auto-libm-test-in: Add more tests of tanh.
7533 * math/auto-libm-test-out: Regenerated.
7534 * sysdeps/i386/fpu/libm-test-ulps: Update.
7535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7536
7537 * math/auto-libm-test-in: Add more tests of tan.
7538 * math/auto-libm-test-out: Regenerated.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541
7542 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7543 * math/auto-libm-test-out: Regenerated.
7544 * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546
7547 * math/auto-libm-test-in: Add another test of pow.
7548 * math/auto-libm-test-out: Regenerated.
7549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7550
7551 * math/auto-libm-test-in: Add more tests of lgamma.
7552 * math/auto-libm-test-out: Regenerated.
7553 * sysdeps/i386/fpu/libm-test-ulps: Update.
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7555
7556 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7557 log1p.
7558 * math/auto-libm-test-out: Regenerated.
7559 * sysdeps/i386/fpu/libm-test-ulps: Update.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7561
7562 2015-05-01 Mark Wielaard <mjw@redhat.com>
7563
7564 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7565 Elf64_Chdr structs and ELFCOMPRESS constants.
7566
7567 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7568
7569 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7570 expm1.
7571 * math/auto-libm-test-out: Regenerated.
7572 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7574
7575 * math/auto-libm-test-in: Add more tests of erf and erfc.
7576 * math/auto-libm-test-out: Regenerated.
7577 * sysdeps/i386/fpu/libm-test-ulps: Update.
7578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7579
7580 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7581
7582 * config.h.in (HAVE_AARCH64_BE): Add.
7583
7584 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7585
7586 * math/auto-libm-test-in: Add more tests of csqrt.
7587 * math/auto-libm-test-out: Regenerated.
7588 * sysdeps/i386/fpu/libm-test-ulps: Update.
7589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7590
7591 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7592 * math/auto-libm-test-out: Regenerated.
7593 * sysdeps/i386/fpu/libm-test-ulps: Update.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595
7596 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7597
7598 2015-04-29 Roland McGrath <roland@hack.frob.com>
7599
7600 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7601 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7602
7603 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7604 (euidaccess, eaccess): Define as weak aliases.
7605
7606 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7607 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7608 but __suseconds_t is often 'long int' so some sources assume that
7609 type is being used (e.g. they use %ld to print tv_usec).
7610
7611 2015-04-29 Florian Weimer <fweimer@redhat.com>
7612
7613 [BZ #18007]
7614 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7615 (CVE-2014-8121)
7616 * nss/tst-nss-getpwent.c: New file.
7617 * nss/Makefile (tests): Add new test.
7618
7619 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #18346]
7622 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7623 exponents less than 48 as cases where high part of mantissa needs
7624 examining to determine whether argument is integral.
7625 * math/libm-test.inc (round_test_data): Add more tests.
7626
7627 2015-04-28 Mark Wielaard <mjw@redhat.com>
7628
7629 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7630
7631 2015-04-27 David S. Miller <davem@davemloft.net>
7632
7633 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7634 __tls_get_addr.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7636
7637 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7638
7639 [BZ#18333]
7640 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7641
7642 2015-04-27 Florian Weimer <fweimer@redhat.com>
7643
7644 [BZ#18333]
7645 * time/tzset.c (parse_tzname): Return error on memory allocation
7646 failure.
7647 * test-skeleton.c (struct temp_name_list): Change type of name
7648 member to non-const.
7649 (add_temp_file): Create a copy of the file name.
7650 (delete_temp_files): Deallocate memory.
7651 (create_temp_file): Add comment.
7652
7653 2015-04-24 Florian Weimer <fweimer@redhat.com>
7654
7655 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7656 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7657
7658 2015-04-24 Roland McGrath <roland@hack.frob.com>
7659
7660 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7661 * sysdeps/arm/configure: Regenerated.
7662
7663 2015-04-24 Florian Weimer <fweimer@redhat.com>
7664
7665 [BZ #17715]
7666 * time/tzfile.c (__tzfile_read): Check for large values of
7667 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7668 * time/tzset.c (__tzstring_len): New function, based on the old
7669 __tzstring function.
7670 (__tzstring): Call __tzstring_len.
7671 (parse_tzname): New helper function extracted from
7672 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7673 the input string.
7674 (parse_offset): New helper function extracted from
7675 __tzset_parse_tz. Replace switch with fallthrough with
7676 initialization before sscanf.
7677 (parse_rule): Likewise.
7678 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7679 new-style function definition.
7680 * timezone/Makefile (tests): Add tst-tzset.
7681 (tst-tzset.out): Dependencies on time zone files.
7682 (tst-tzset-ENV): Set TZDIR.
7683 (testdata/XT%): Copy crafted time zone files.
7684 * timezone/README: Mention crafted time zone files.
7685 * timezone/testdata/XT1, timezone/testdata/XT2,
7686 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7687 files.
7688 * timezone/tst-tzset.c: New test.
7689
7690 2015-04-24 Florian Weimer <fweimer@redhat.com>
7691
7692 * Makeconfig (+gccwarn): Remove -Winline.
7693
7694 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7695
7696 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7697
7698 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7699
7700 * NEWS: Mention sysconf() cache information support for s390.
7701 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7702
7703 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7704
7705 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7707 (__nearbyint): Likewise.
7708 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7709 (copysignl): Likewise.
7710
7711 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7712
7713 [BZ #18287]
7714 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7715 based on padding. (CVE-2015-1781)
7716
7717 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7718
7719 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7720 libc-vdso.h.
7721 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7722 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7723 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7724 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7725 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7726 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7727 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7729 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7732 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7733 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7734 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7735 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7736 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7737 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7739 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7740 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7741 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7742 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7743 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7744
7745 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7746
7747 * stdlib/setenv.c (__add_to_environ):
7748 Dump core quickly if setenv (..., NULL, ...) is called.
7749 This time, do it the right way, and pacify GCC with a pragma.
7750
7751 2015-04-17 Roland McGrath <roland@hack.frob.com>
7752
7753 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7754 IMAP->l_prev cannot be null, and #if out the code for the contrary
7755 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7756 believe that NS (&_dl_ns[NSID]) could point outside the array.
7757
7758 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7759 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7760 before using NSID as an index.
7761
7762 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7763
7764 [BZ #17825]
7765 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7766 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7767 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7768
7769 2015-04-17 Roland McGrath <roland@hack.frob.com>
7770
7771 Add preliminary port to Google Native Client on ARM.
7772 * abi-tags (.*-.*-nacl.*): New entry.
7773 * sysdeps/arm/nacl: New directory.
7774 * sysdeps/nacl: New directory.
7775
7776 2015-04-16 David S. Miller <davem@davemloft.net>
7777
7778 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7779 lowlevellock-futex.h
7780
7781 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7782
7783 * sysdeps/tile/configure.ac: New file.
7784 * sysdeps/tile/configure: Regenerated.
7785
7786 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7787
7788 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7789 conditionals for weak_alias and libc_hidden_weak.
7790 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7791 libc_hidden_weak and weak_alias.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7793 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7794 and weak_alias for static one.
7795
7796 2015-04-15 David S. Miller <davem@davemloft.net>
7797
7798 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7799
7800 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7801
7802 [BZ #18206]
7803 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7804 Use signed comparision instead of substraction to avoid
7805 overflow bug.
7806 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7807 Take the sign of ret.
7808 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7809 Do not expect precise return values. Only the sign matters.
7810 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7811 * wcsmbs/test-wcsncmp.c: New File.
7812 * string/test-strncmp.c: Add wcsncmp support.
7813
7814 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7815
7816 [BZ #6792]
7817 * math/w_log1p.c: New file.
7818 * math/w_log1pf.c: Likewise.
7819 * math/w_log1pl.c: Likewise.
7820 * math/Makefile (libm-calls): Add w_log1p.
7821 * math/s_log1pl.c (log1pl): Remove weak_alias.
7822 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7823 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7824 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7825 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7826 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7827 [NO_LONG_DOUBLE] (log1pl): Likewise.
7828 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7830 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7831 (log1p): Remove long_double_symbol.
7832 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7833 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7834 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7835 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7836 remove weak_alias for corresponding log1p function.
7837 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7838 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7839 * sysdeps/ia64/fpu/w_log1p.c: New file.
7840 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7841 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7842 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7843
7844 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7845
7846 [BZ #18247]
7847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7848 decimal exponent by 1.
7849 * stdlib/tst-strtod-round-data: Add more tests.
7850 * stdlib/tst-strtod-round.c (tests): Regenerated.
7851
7852 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7853
7854 * math/auto-libm-test-in: Add more tests of clog and clog10.
7855 * math/auto-libm-test-out: Regenerated.
7856 * sysdeps/i386/fpu/libm-test-ulps: Update.
7857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7858
7859 2015-04-09 Roland McGrath <roland@hack.frob.com>
7860
7861 * Makeconfig (module-cppflags): Exclude all .v.i files.
7862 (skip-module-cppflags): Variable removed.
7863
7864 * configure.ac (libc_config_ok): Initialize before reading
7865 preconfigure scripts, not after.
7866 * configure: Regenerated.
7867
7868 * test-skeleton.c (TIMEOUT): Move #define to top level.
7869 (main): Grok environment variable TEST_DIRECT. If set, print
7870 test expectation details into that file and then behave as if
7871 given --direct.
7872
7873 2015-04-09 Florian Weimer <fweimer@redhat.com>
7874
7875 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7876 warning on 32-bit.
7877
7878 2015-04-08 David S. Miller <davem@davemloft.net>
7879
7880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7881
7882 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7883
7884 * math/auto-libm-test-in: Add more tests of atanh.
7885 * math/auto-libm-test-out: Regenerated.
7886 * sysdeps/i386/fpu/libm-test-ulps: Update.
7887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7888
7889 * math/auto-libm-test-in: Add more tests of atan.
7890 * math/auto-libm-test-out: Regenerated.
7891 * sysdeps/i386/fpu/libm-test-ulps: Update.
7892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7893
7894 2015-04-08 Florian Weimer <fweimer@redhat.com>
7895
7896 * elf/pldd.c (main): Rewrite to use struct
7897 scratch_buffer instead of extend_alloca.
7898 * elf/pldd-xx.c (find_maps): Likewise.
7899 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7900 <alloca.h>.
7901 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7902 scratch_buffer instead of extend_alloca.
7903 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7904 grp/compat-initgroups.c.
7905 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7906 Rewrite to use struct scratch_buffer instead of extend_alloca.
7907 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7908 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7909
7910 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7911
7912 * math/auto-libm-test-in: Add more tests of cbrt.
7913 * math/auto-libm-test-out: Regenerated.
7914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7915
7916 * math/auto-libm-test-in: Add more tests of cabs.
7917 * math/auto-libm-test-out: Regenerated.
7918 * sysdeps/i386/fpu/libm-test-ulps: Update.
7919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7920
7921 [BZ #18210]
7922 [BZ #18211]
7923 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7924 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7925 computations.
7926 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7927 clog10.
7928 * math/auto-libm-test-out: Regenerated.
7929 * sysdeps/i386/fpu/libm-test-ulps: Update.
7930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7931
7932 [BZ #18197]
7933 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7934 (atan): Set FE_TONEAREST mode for internal computations.
7935 * math/auto-libm-test-in: Add more tests of atan.
7936 * math/auto-libm-test-out: Regenerated.
7937
7938 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7939
7940 [BZ #17930]
7941 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7942
7943 2015-04-07 Florian Weimer <fweimer@redhat.com>
7944
7945 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7946
7947 2015-04-07 Florian Weimer <fweimer@redhat.com>
7948
7949 * include/scratch_buffer.h: New file.
7950 * malloc/scratch_buffer_grow.c: Likewise.
7951 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7952 * malloc/scratch_buffer_set_array_size.c: Likewise.
7953 * malloc/tst-scratch_buffer.c: Likewise.
7954 * malloc/Makefile (routines): Add scratch_buffer_grow.
7955 (tests): Add test case.
7956 * malloc/Versions (GLIBC_PRIVATE): Export
7957 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7958 __libc_scratch_buffer_set_array_size.
7959
7960 2015-04-06 Richard Henderson <rth@redhat.com>
7961
7962 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7963 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7964
7965 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7966 unsigned int before printing.
7967
7968 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7969
7970 [BZ #17596]
7971 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7972 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7973
7974 2015-04-02 Florian Weimer <fweimer@redhat.com>
7975
7976 * include/libc-internal.h (libc_max_align_t): Define.
7977
7978 2015-04-02 Andreas Schwab <schwab@suse.de>
7979
7980 [BZ #16850]
7981 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7982
7983 2015-04-02 Mel Gorman <mgorman@suse.de>
7984
7985 [BZ #17195]
7986 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7987 as well as the main arena.
7988
7989 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 [BZ #18185]
7992 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7993 sharing L2 cache to 2 for Silvermont/Knights Landing.
7994
7995 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 [BZ #17711]
7998 * config.make.in (have-protected-data): New.
7999 * configure.ac: Check linker support for protected data symbol.
8000 * configure: Regenerated.
8001 * elf/Makefile (modules-names): Add tst-protected1moda and
8002 tst-protected1modb if $(have-protected-data) is yes.
8003 (tests): Add tst-protected1a and tst-protected1b if
8004 $(have-protected-data) is yes.
8005 ($(objpfx)tst-protected1a): New.
8006 ($(objpfx)tst-protected1b): Likewise.
8007 (tst-protected1modb.so-no-z-defs): Likewise.
8008 * elf/tst-protected1a.c: New file.
8009 * elf/tst-protected1b.c: Likewise.
8010 * elf/tst-protected1mod.h: Likewise.
8011 * elf/tst-protected1moda.c: Likewise.
8012 * elf/tst-protected1modb.c: Likewise.
8013
8014 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8015
8016 [BZ #17711]
8017 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8018 indicates it is called from do_lookup_x on relocation against
8019 protected data, skip the data definion in the executable from
8020 copy reloc.
8021 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8022 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8023 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8024 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8025 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8026 otherwise to 0.
8027 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8028 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8029 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8030 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8031 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8032 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8033
8034 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8035
8036 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8037 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8038
8039 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8040
8041 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8042 THREAD_SETMEM_NC.
8043 * sysdeps/x86_64/nptl/tls.h: Ditto.
8044
8045 2015-03-27 Roland McGrath <roland@hack.frob.com>
8046
8047 * dlfcn/tststatic.c (main): Converted to ...
8048 (do_test): ... this.
8049 (TEST_FUNCTION): New macro.
8050 Include test-skeleton.c.
8051
8052 2015-03-26 Alan Modra <amodra@gmail.com>
8053
8054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8055 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8056 zero for undefined weak.
8057 (elf_machine_plt_conflict): Similarly.
8058
8059 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8060
8061 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8062 atanh.
8063 * math/auto-libm-test-out: Regenerated.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8066
8067 * math/auto-libm-test-in: Add another test of asin.
8068 * math/auto-libm-test-out: Regenerated.
8069 * sysdeps/i386/fpu/libm-test-ulps: Update.
8070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8071
8072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8073 Remove macro.
8074 (LLL_EBX_REG): Likewise.
8075 (LLL_ENTER_KERNEL): Likewise.
8076
8077 * math/auto-libm-test-in: Add more tests of asin.
8078 * math/auto-libm-test-out: Regenerated.
8079 * sysdeps/i386/fpu/libm-test-ulps: Update.
8080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8081
8082 [BZ #18138]
8083 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8084 libc_do_syscall_args): New structure.
8085 (INTERNAL_SYSCALL_MAIN_0): New macro.
8086 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8087 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8088 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8089 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8090 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8091 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8092 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8093 Replace conditional definitions by conditional definitions of ....
8094 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8095 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8096 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8097 (libpthread-sysdep_routines): Add libc-do-syscall.
8098 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8099 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8100 to __NR_futex not 240.
8101
8102 2015-03-25 Alan Modra <amodra@gmail.com>
8103
8104 * NEWS: Advertise TLS optimization.
8105 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8106 (DT_PPC_NUM): Increment.
8107 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8108 (CHECK_STATIC_TLS): Use here.
8109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8110 TLS descriptors.
8111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8112 * sysdeps/powerpc/dl-tls.c: New file.
8113 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8114 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8115 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8116 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8120
8121 2015-03-25 Alan Modra <amodra@gmail.com>
8122
8123 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8124 for overlapping .opd entries" to "support...".
8125 * sysdeps/powerpc/powerpc64/configure: Regenerate
8126
8127 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8128
8129 * math/auto-libm-test-in: Add more tests of acos.
8130 * math/auto-libm-test-out: Regenerated.
8131 * sysdeps/i386/fpu/libm-test-ulps: Update.
8132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8133
8134 * math/auto-libm-test-in: Add more tests of expm1.
8135 * math/auto-libm-test-out: Regenerated.
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8138
8139 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8140
8141 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8142 * math/auto-libm-test-out: Regenerated.
8143 * sysdeps/i386/fpu/libm-test-ulps: Update.
8144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8145
8146 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8148
8149 * math/auto-libm-test-in: Add more tests of log2.
8150 * math/auto-libm-test-out: Regenerated.
8151 * sysdeps/i386/fpu/libm-test-ulps: Update.
8152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8153
8154 2015-03-23 Roland McGrath <roland@hack.frob.com>
8155
8156 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8157 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8158 _IO_IS_APPENDING bit in READ_WRITE instead.
8159
8160 2015-03-23 Florian Weimer <fweimer@redhat.com>
8161
8162 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8163 (__determine_cpumask_size): Replace extend_alloca with a
8164 variable-length array. Do not treat res == 0 as an error.
8165
8166 2015-03-23 Florian Weimer <fweimer@redhat.com>
8167
8168 [BZ #18100]
8169 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8170 and integer overflow.
8171 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8172 (main): Add integer overflow tests.
8173 * manual/pattern.texi (Calling Wordexp): Document additional use
8174 for WRDE_SYNTAX.
8175
8176 2015-03-23 Alan Modra <amodra@gmail.com>
8177
8178 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8179 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8180 and false branch of conditional.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8182 Likewise.
8183
8184 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8185
8186 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8187 libc-modules.h
8188 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8189 unused declaration of _hurd_intr_rpc_msg_in_trap.
8190 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8191 defined instead of whether it is non-zero.
8192 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8193 input constraint instead of both input and output constraint. Use ecx
8194 clobber instead of %ecx.
8195 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8196 mutex_unlock): Use a statement expression instead of an expression list.
8197 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8198 type to vm_size_t instead of vm_address_t.
8199 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8200 defined instead of whether it is non-zero.
8201 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8202 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8203 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8204 comparisons with mapaddr.
8205 * nscd/nscd-client.h: Include <time.h>.
8206 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8207 9th parameter to __vm_region instead of int.
8208 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8209 * scripts/check-local-headers.sh (exclude): Add device/,
8210 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8211 cthreads.h.
8212
8213 2015-03-19 Roland McGrath <roland@hack.frob.com>
8214
8215 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8216 to account for alignment padding.
8217 * sysdeps/arm/memmove.S: Likewise.
8218
8219 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8220
8221 * sysdeps/unix/sysv/linux/generic/README: New file.
8222
8223 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8224
8225 [BZ #18138]
8226 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8227 (futex_abstimed_wait)
8228 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8229 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8230 of lll_futex_timed_wait.
8231
8232 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8233
8234 [BZ #17542]
8235 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8236
8237 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8238
8239 [BZ #17090]
8240 [BZ #17620]
8241 [BZ #17621]
8242 [BZ #17628]
8243 * NEWS: Update.
8244 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8245 entries with Static TLS too. Skip entries past the end of the
8246 allocated DTV, from Alan Modra.
8247 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8248 Static TLS DTV entry set up from...
8249 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8250 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8251 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8252 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8253 for Static TLS.
8254 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8255 that the slot we find is associated with the given map before
8256 using its generation count.
8257 * nptl_db/db_info.c: Include ldsodefs.h.
8258 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8259 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8260 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8261 (link_map::l_tls_offset): New struct field.
8262 (dtv_t::counter): Likewise.
8263 (rtld_global): New struct.
8264 (_rtld_global): New rtld variable.
8265 (dl_tls_dtv_slotinfo_list): New rtld global field.
8266 (dtv_slotinfo_list): New struct.
8267 (dtv_slotinfo): Likewise.
8268 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8269 (td_lookup): Rename to...
8270 (td_mod_lookup): ... this. Use new mod parameter instead of
8271 LIBPTHREAD_SO.
8272 * nptl_db/td_thr_tlsbase.c: Include link.h.
8273 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8274 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8275 addresses even if the DTV is out of date or missing them.
8276 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8277 index zero-length arrays.
8278 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8279 (td_lookup): Make it a macro implemented in terms of...
8280 (td_mod_lookup): ... this declaration.
8281 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8282 (DB_MAIN_VARIABLE): Likewise.
8283
8284 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8285
8286 [BZ #18134]
8287 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8288
8289 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8290
8291 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8292
8293 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8294
8295 [BZ #18128]
8296 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8297 (atomic_add, atomic_increment_and_test)
8298 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8299
8300 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8301
8302 * stdlib/setenv.c (__add_to_environ):
8303 Dump core quickly if setenv (..., NULL, ...) is called.
8304
8305 2015-03-13 Roland McGrath <roland@hack.frob.com>
8306
8307 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8308 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8309 all the necessary asm magic in one place.
8310 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8311 using those.
8312
8313 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8314
8315 [BZ #14906]
8316 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8317 traced file mtime. Use consistent log message.
8318 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8319 (register_traced_file): Call install_watches. Always set mtime.
8320 (invalidate_cache): Iterate over all trace files. Call install_watches.
8321 (inotify_check_files): Don't inline. Handle watching parent
8322 directories and configuration file movement in and out.
8323 (handle_inotify_events): New function.
8324 (main_loop_poll): Call handle_inotify_events.
8325 (main_loop_epoll): Likewise.
8326 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8327 (struct traced_file): Use array of inotify fds. Add parent directory,
8328 and basename.
8329 (struct database_dyn): Remove unused file_mtime.
8330 (init_traced_file): New inline function.
8331 (define_traced_file): New macro.
8332 * nss/nss_db/db-init.c: Use define_traced_file.
8333 (_nss_db_init): Use init_traced_file.
8334 * nss/nss_files/files-init.c: Use define_traced_file.
8335 (_nss_files_init): Use init_traced_file.
8336
8337 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8338
8339 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8340 [_LIBC]: Do not include <stdlib.h>.
8341 [!_LIBC] (abort): Remove declaration.
8342 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8343 _FP_STATIC_ASSERT instead of conditionally calling abort.
8344 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8345 (_FP_EXTEND_CNAN): Likewise.
8346 (FP_TRUNC): Likewise.
8347 (__FP_CLZ): Likewise.
8348 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8349
8350 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8351
8352 * manual/string.texi (XPG basename): Fix prototype.
8353
8354 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8355
8356 [BZ #18080]
8357 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8358 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8359 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8360 (__setcontext): Likewise.
8361 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8362 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8363 Call rt_sigprocmask syscall one time to set new signal mask
8364 and retrieve the current signal mask instead of two calls.
8365 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8366 (__swapcontext): Likewise.
8367 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8368 * stdlib/tst-setcontext2.c: New file.
8369
8370 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8371
8372 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8373
8374 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8375
8376 [BZ #18093]
8377 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8378 the wrong size.
8379
8380 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8381
8382 [BZ #18043]
8383 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8384
8385 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8386
8387 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8388 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8389 Remove define.
8390 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8391 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8392 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8393 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8394 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8395 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8396 define.
8397 * nptl_db/td_symbol_list.c (td_lookup): Remove
8398 HAVE_ASM_GLOBAL_DOT_NAME code.
8399 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8400 HAVE_ASM_GLOBAL_DOT_NAME check.
8401 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8402 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8403 (DOT_LABEL): Remove define.
8404 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8405 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8406 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8407 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8408 (__TLS_GET_ADDR): Likewise.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8410 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8411
8412 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8413
8414 [BZ #18111]
8415 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8416 (_FPU_SETCW): Initialize cw from fpsr before storing.
8417 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8418 (fesetexceptflag): Rewrite using fpu_control.h.
8419 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8420
8421 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8422
8423 [BZ #18110]
8424 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8425 asms.
8426 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8427
8428 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8429
8430 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8431 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8432 abort.
8433 (_FP_FMA): Likewise.
8434 (_FP_DIV): Likewise.
8435
8436 2015-03-10 Roland McGrath <roland@hack.frob.com>
8437
8438 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8439 with 0 in that case.
8440 * Makefile (summarize-tests): New canned sequence, factored out of
8441 commands for targets tests and xtests. Display summary lines that
8442 don't start with PASS: or XFAIL: rather than ones that do start with
8443 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8444 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8445 do start with ERROR: or FAIL:.
8446 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8447 (except for [$(build-shared) = yes]).
8448 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8449 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8450 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8451 * nptl/Makefile: Revert 2015-03-04 changes.
8452 [$(CXX) empty] (tests-unsupported): New variable.
8453 * debug/Makefile: Likewise.
8454
8455 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8456 gnulib file. Replace __attribute with __attribute__ throughout.
8457
8458 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8459
8460 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8461
8462 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8463
8464 [BZ #18104]
8465 * math/auto-libm-test-in: Add another test of pow.
8466 * math/auto-libm-test-out: Regenerated.
8467
8468 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8469
8470 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8471 $(config-cflags-nofma).
8472
8473 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8474
8475 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8476 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8477 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8478 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8479 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8480 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8481 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8482 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8483 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8484 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8485 Add comment on closing #endif.
8486
8487 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8488
8489 * posix/wordexp.c (CHAR_IN_SET): New macro.
8490 (parse_param): Use it.
8491
8492 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8493
8494 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8495
8496 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8497
8498 [BZ #18043]
8499 * posix/wordexp.c (parse_param): Fix buffer overflow.
8500 * posix/wordexp-test.c (test_case): Add test case.
8501
8502 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8503
8504 [BZ #18042]
8505 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8506 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8507
8508 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8509
8510 [BZ #18043]
8511 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8512 (do_bz18043): Delete.
8513 (at_page_end): New.
8514 (testit): Refactor to have words at the edge of unreadable page.
8515
8516 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8517
8518 [BZ #16734]
8519 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8520 Cleanup read-only streams as well.
8521 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8522
8523 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8524
8525 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8526 <bits/libc-lockP.h>
8527
8528 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8529
8530 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8531 on [__KERNEL__].
8532 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8533 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8534 * soft-fp/op-common.h (_FP_DECL): Likewise.
8535
8536 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * elf/ifuncdep2.c (global): Replace
8539 __attribute__((visibility("protected"))) with
8540 asm (".protected global").
8541 * elf/ifuncmod1.c (global): Likewise.
8542 * elf/ifuncmod5.c (global): Likewise.
8543
8544 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8545
8546 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8547 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8548
8549 2015-03-06 Roland McGrath <roland@hack.frob.com>
8550
8551 * manual/install.texi (Configuring and compiling):
8552 Document test-wrapper-env-only.
8553 * INSTALL: Regenerated.
8554
8555 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8556
8557 [BZ #18043]
8558 * posix/wordexp.c (parse_param): Fix buffer overflow.
8559 * posix/wordexp-test.c (do_bz18043): Add test case.
8560
8561 2015-03-06 Vincent Bernat <vincent@bernat.im>
8562
8563 * time/tst-strptime2.c (do_test): Ensure failing tests are
8564 reported correctly.
8565 * time/tst-strptime3.c (do_test): Likewise.
8566
8567 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8568
8569 Fix aio_error thread-safety.
8570 * sysdeps/pthread/aio_error.c: New file
8571 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8572 synchronization.
8573
8574 2015-03-06 Florian Weimer <fweimer@redhat.com>
8575
8576 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8577 (group_number, vfprintf): Use it.
8578 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8579 (JUMP, REF): Use it.
8580 (WORK_BUFFER_SIZE): New enum constant.
8581 (process_arg, vfprintf): Use it.
8582
8583 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8584
8585 * manual/errno.texi (Error Messages): Complete example function
8586 by adding missing #define.
8587 (program_invocation_name): Add statement indicating GNU
8588 extension and reference which header file declares the variable.
8589 (program_invocation_short_name): Likewise.
8590
8591 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8592
8593 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8594 compatibility note.
8595
8596 2015-03-05 Roland McGrath <roland@hack.frob.com>
8597
8598 * Makeconfig (test-wrapper-env-only): New variable.
8599 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8600 then use that with $(test-wrapper-env-only) rather than using
8601 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8602
8603 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 [BZ #18082]
8606 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8607 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8608 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8609 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8610 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8611 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8612 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8613 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8614 Likewise.
8615 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8616 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8617 Likewise.
8618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8619 Likewise.
8620 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8621 Likewise.
8622 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8623 Likewise.
8624 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8626 Likewise.
8627 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8628 Likewise.
8629 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8630 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8631
8632 2015-03-04 Roland McGrath <roland@hack.frob.com>
8633
8634 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8635 (ETH_ALEN): New macro.
8636 (struct ether_addr): Use it for length of ether_addr_octet.
8637
8638 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8639 (setdb): Don't call __nss_configure_lookup for "rpc".
8640 (do_test): Don't call test_rpc.
8641 (output_rpcent, test_rpc): Functions moved ...
8642 * sunrpc/test-rpcent.c: ... to this new file.
8643 * sunrpc/Makefile (tests): Add it.
8644
8645 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8646 __xpg_sigpause.
8647 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8648 * nptl/tst-signal6.c: Likewise.
8649 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8650 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8651
8652 * configure.ac (libc_cv_cxx_link_ok): New check.
8653 Reset CXX to empty if it fails to link.
8654 * configure: Regenerated.
8655 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8656 bug-atexit3-lib only if $(CXX) is nonempty.
8657 * nptl/Makefile (tests): Likewise for tst-cancel24.
8658 (tests, tests-static): Likewise for tst-cancel24-static.
8659 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8660 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8661 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8662 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8663
8664 2015-03-04 Andreas Schwab <schwab@suse.de>
8665
8666 [BZ #17631]
8667 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8668 for non-GCC compilers.
8669 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8670 Likewise.
8671
8672 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8673
8674 [BZ #17776]
8675 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8676 integer before bitwise and assembly operations.
8677 (feclearexcept): Likewise.
8678 * math/test-fenvinline.c: New file.
8679 * math/Makefile: Add test-fenvinline test.
8680
8681 2015-03-03 Alan Modra <amodra@gmail.com>
8682
8683 [BZ #16512]
8684 * scripts/localplt.awk: Strip off symbol version.
8685 * NEWS: Mention bug fix.
8686
8687 2015-03-02 Roland McGrath <roland@hack.frob.com>
8688
8689 * sysdeps/pthread/timer_routines.c
8690 (timer_free_list, thread_free_list, thread_active_list): Make static.
8691
8692 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8693
8694 [BZ #17779]
8695 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8696 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8697 Undefine.
8698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8699 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8700 Likewise.
8701 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8702 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8703 Likewise.
8704
8705 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8706
8707 [BZ #18036]
8708 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8709 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8710
8711 2015-03-02 Andreas Schwab <schwab@suse.de>
8712
8713 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8714 variable name.
8715
8716 2015-03-02 Florian Weimer <fweimer@redhat.com>
8717
8718 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8719 Return error status.
8720
8721 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8722
8723 [BZ #15969]
8724 * locale/findlocale.c (_nl_find_locale): Introduce const
8725 version of loc_name and drop unsafe type casts.
8726
8727 2015-02-27 Roland McGrath <roland@hack.frob.com>
8728
8729 * dlfcn/tststatic2.c (main): Converted to ...
8730 (do_test): ... this.
8731 (TEST_FUNCTION): New macro.
8732 Include test-skeleton.c.
8733
8734 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8735
8736 [BZ #17711]
8737 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8738 (tests-pie): Add vismain.
8739 (CFLAGS-vismain.c): New.
8740 * elf/vismain.c: Add comments for PIE requirement.
8741
8742 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8743
8744 [BZ #18046]
8745 [BZ #18047]
8746 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8747 0x1p-56L as threshold for just returning the argument.
8748 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8749 0x1p-32L as threshold for just returning the argument.
8750 * math/auto-libm-test-in: Add more tests of atanh.
8751 * math/auto-libm-test-out: Regenerated.
8752 * sysdeps/i386/fpu/libm-test-ulps: Update.
8753 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8754
8755 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8756
8757 * string/bcopy.c (bcopy): Call memmove for performance.
8758
8759 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8760
8761 * string/bzero.c (__bzero): Call memset for performance.
8762
8763 2015-02-27 John David Anglin <dave.anglin@bell.net>
8764
8765 [BZ #18068]
8766 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8767 to 00100000.
8768
8769 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8770
8771 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8772
8773 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8774
8775 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8776 (__kernel_standard): Use CSTR macro when setting exc.name.
8777 * sysdeps/ieee754/Makefile [$(subdir) = math]
8778 (CFLAGS-k_standard.c): Remove variable.
8779
8780 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8781 setting p and q from "else if" to "else".
8782 (qzero): Likewise.
8783 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8784 (qone): Likewise.
8785 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8786 (qzerof): Likewise.
8787 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8788 (qonef): Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8790 (qzero): Likewise.
8791 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8792 (qone): Likewise.
8793
8794 [BZ #18038]
8795 [BZ #18039]
8796 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8797 return pi/2 for arguments below 0x1p-113L.
8798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8799 return pi/2 for arguments below 0x1p-106L.
8800 * math/auto-libm-test-in: Add more tests of acos.
8801 * math/auto-libm-test-out: Regenerated.
8802
8803 [BZ #16351]
8804 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8805 (MO): New macro.
8806 (__ieee754_asin): Force underflow exception for results with small
8807 absolute value.
8808 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8809 (MO): New macro.
8810 (__ieee754_asinf): Force underflow exception for results with
8811 small absolute value.
8812 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8813 (__ieee754_asin): Force underflow exception for results with small
8814 absolute value.
8815 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8816 (__ieee754_asinf): Force underflow exception for results with
8817 small absolute value.
8818 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8819 (__ieee754_asinl): Force underflow exception for results with
8820 small absolute value.
8821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8822 (__ieee754_asinl): Force underflow exception for results with
8823 small absolute value.
8824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8825 (__ieee754_asinl): Force underflow exception for results with
8826 small absolute value.
8827 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8828 Include <math.h>.
8829 * math/auto-libm-test-in: Do not mark underflow exceptions as
8830 possibly missing for bug 16351.
8831 * math/auto-libm-test-out: Regenerated.
8832
8833 [BZ #18030]
8834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8835 of power of 2 down when low part has opposite sign.
8836 * math/libm-test.inc (logb_test_data): Add more tests.
8837
8838 2015-02-26 Andreas Schwab <schwab@suse.de>
8839
8840 [BZ #18032]
8841 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8842 over collating symbol inside a bracket expression. Minor cleanup.
8843 * posix/tst-fnmatch3.c (do_test): Add test case.
8844
8845 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8846
8847 [BZ #18029]
8848 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8849 Adjust exponent of power of 2 down when low part has opposite
8850 sign.
8851 * math/libm-test.inc (ilogb_test_data): Add more tests.
8852
8853 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8854
8855 [BZ #15969]
8856 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8857 the previous change.
8858
8859 [BZ #15969]
8860 * locale/findlocale.c (_nl_find_locale): Retry archive search
8861 after alias expansion.
8862
8863 2015-02-25 Roland McGrath <roland@hack.frob.com>
8864
8865 * iconv/tst-iconv3.c (main): Converted to ...
8866 (do_test): ... this.
8867 (TEST_FUNCTION): New macro.
8868 Include test-skeleton.c.
8869
8870 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8871 (convert): Make function static.
8872 (test_unalign): Likewise. Add const to argument pointee types.
8873 (main): Replace with static function do_test.
8874 Print "Succeeded." only if RET is zero.
8875 (TEST_FUNCTION): New macro.
8876 Include test-skeleton.c.
8877
8878 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8879 returns a null pointer.
8880
8881 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8882
8883 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8884 to __memcpy_ppc only for static builds.
8885
8886 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8887
8888 [BZ #18020]
8889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8890 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8891 * math/auto-libm-test-in: Add more tests of asinh.
8892 * math/auto-libm-test-out: Regenerated.
8893 * sysdeps/i386/fpu/libm-test-ulps: Update.
8894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8895
8896 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8897
8898 [BZ #15850]
8899 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8900 and ip6_mtuinfo definitions here.
8901 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8902 in this define too. Update comment.
8903
8904 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8905
8906 * elf/sprof.c (load_shobj): Tweak error message to match others.
8907
8908 2015-02-24 Kevin Easton <kevin@guarana.org>
8909
8910 [BZ #16145] (partial fix)
8911 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8912 to reduce lock contention.
8913
8914 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8915
8916 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8917 (struct timex): Update time comment.
8918 (ADJ_SETOFFSET): Define.
8919
8920 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8921
8922 [BZ #18019]
8923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8924 2**56 not 2**28 as threshold for log (2x) formula.
8925 * math/auto-libm-test-in: Add more tests of acosh.
8926 * math/auto-libm-test-out: Regenerated.
8927 * sysdeps/i386/fpu/libm-test-ulps: Update.
8928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8929
8930 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8931
8932 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8933 parenthesis around the buf assignment.
8934 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8935
8936 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8937
8938 [BZ #16783]
8939 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8940 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8941 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8942 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8943 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8944 * math/libm-test.inc (scalb_test_data): Add more tests.
8945
8946 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8947
8948 [BZ #17916]
8949 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8950 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8951
8952 2015-02-24 Eric Rannaud <e@nanocritical.com>
8953
8954 [BZ #17523]
8955 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8956 * io/bits/fcntl2.h (open): Use it.
8957 (openat): Likewise.
8958 * io/open.c (__libc_open): Likewise.
8959 * io/open64.c (__libc_open64): Likewise.
8960 * io/open64_2.c (__open64_2): Likewise.
8961 * io/open_2.c (__open_2): Likewise.
8962 * io/openat.c (__openat): Likewise.
8963 * io/openat64.c (__openat64): Likewise.
8964 * io/openat64_2.c (__openat64_2): Likewise.
8965 * io/openat_2.c (__openat_2): Likewise.
8966 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8967 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8968 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8969 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8970 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8971 (__open_nocancel): Likewise.
8972 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8973 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8974 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8975
8976 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8977
8978 [BZ #14841]
8979 * resolv/gethnamaddr.c (getanswer): Skip logging if
8980 RES_USE_DNSSEC is set.
8981 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8982
8983 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8984
8985 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8986
8987 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8988
8989 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8990 201304L, for Unicode 7.
8991
8992 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 [BZ #17836]
8995 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8996 shared library. Add gmon-start.os otherwise.
8997 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8998 $(objpfx)gmon-start.os if builing shared library.
8999 ($(objpfx)g$(static-start-installed-name)): Likewise.
9000
9001 2015-02-23 Andreas Schwab <schwab@suse.de>
9002
9003 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9004
9005 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9006
9007 [BZ #17269]
9008 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9009 (enlarge_userbuf): Likewise.
9010
9011 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9012
9013 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9014 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9015 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9016 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9017
9018 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9019
9020 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9021 expression inside statement expression.
9022
9023 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9024
9025 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9026 <sysdeps/nptl/lowlevellock.h> and remove macros and
9027 functions that are now defined there.
9028 (SYS_futex): Remove.
9029 (lll_compare_and_swap): Remove.
9030 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9031
9032 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9033
9034 [BZ #17999]
9035 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9036 instead of scandirat.
9037 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9038 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9039 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9040 __scandirat.
9041 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9042 (__scandirat): Declare. Use libc_hidden_proto.
9043 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9044 Remove variable.
9045 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9046
9047 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9048
9049 [BZ #15319]
9050 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9051 (MO): New macro.
9052 (__ieee754_atan2): For results with small absolute value, force
9053 underflow exception and remove excess range and precision from
9054 return value.
9055 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9056 (MO): New macro.
9057 (__ieee754_atan2f): For results with small absolute value, force
9058 underflow exception and remove excess range and precision from
9059 return value.
9060 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9061 (MO): New macro.
9062 (__atan): For results with small absolute value, force underflow
9063 exception and remove excess range and precision from return value.
9064 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9065 (MO): New macro.
9066 (__atanf): For results with small absolute value, force underflow
9067 exception and remove excess range and precision from return value.
9068 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9069 <math.h>.
9070 (__ieee754_atan2): Force underflow exception for results with
9071 small absolute value.
9072 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9073 <math_private.h>.
9074 (atan): Force underflow exception for results with small absolute
9075 value.
9076 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9077 (__atanf): Force underflow exception for results with small
9078 absolute value.
9079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9080 <math.h>.
9081 (__atanl): Force underflow exception for results with small
9082 absolute value.
9083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9084 (__atanl): Force underflow exception for results with small
9085 absolute value.
9086 * sysdeps/x86/fpu/bits/mathinline.h
9087 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9088 (__ieee754_atan2): Only define inline for long double.
9089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9090 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9091 * math/auto-libm-test-in: Do not mark underflow exceptions as
9092 possibly missing for bug 15319. Add more tests of atan2.
9093 * math/auto-libm-test-out: Regenerated.
9094 * math/libm-test.inc (casin_test_data): Do not mark underflow
9095 exceptions as possibly missing for bug 15319.
9096 (casinh_test_data): Likewise.
9097 * sysdeps/i386/fpu/libm-test-ulps: Update.
9098
9099 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9100
9101 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9102 * sysdeps/mips/bits/endian.h: Fix comments.
9103
9104 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9105
9106 [BZ #17996]
9107 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9108 (hdestroy_r): Likewise.
9109 (hsearch_r): Likewise.
9110 (__hcreate_r): Declare and use libc_hidden_proto.
9111 (__hdestroy_r): Likewise.
9112 (__hsearch_r): Likewise.
9113 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9114 (hcreate): Call __hcreate_r instead of hcreate_r.
9115 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9116 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9117 as weak alias of __hcreate_r.
9118 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9119 __hdestroy_r.
9120 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9121 __hsearch_r.
9122 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9123 Remove variable.
9124 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9125 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9126 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9127 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9128
9129 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9130
9131 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9132 arena_lock into a single arena_get.
9133
9134 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9135
9136 * dl-reloc.c: Inlucde libc-internal.h.
9137 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9138 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9139 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9140 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9141 (grow_heap): Likewise.
9142 * malloc/malloc.c: Include libc-internal.h.
9143 (do_check_malloc): Call powerof2.
9144 (sysmalloc): Use pagesize. Call ALIGN_UP.
9145 (systrim): Use pagesize.
9146 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9147 (__libc_valloc): Use pagesize.
9148 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9149
9150 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9151
9152 [BZ #17991]
9153 * include/sys/resource.h (__getrlimit64): Declare. Use
9154 libc_hidden_proto.
9155 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9156 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9157 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9158 getrlimit64.
9159 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9160 __getrlimit64.
9161 [!getrlimit64] (getrlimit64): Define as weak alias of
9162 __getrlimit64. Use libc_hidden_weak.
9163 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9164 using __getrlimit64 not __new_getrlimit64.
9165 (__GI_getrlimit64): Likewise.
9166 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9167 Likewise.
9168 (__GI_getrlimit64): Likewise.
9169 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9171 (getrlimit): Add __getrlimit64 alias.
9172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9173 Likewise.
9174 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9175 Remove variable.
9176 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9177 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9178
9179 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9180
9181 * libio/fileops.c: Add missing sys/mman.h
9182 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9183
9184 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9185
9186 * manual/math.texi (Errors in Math Functions): Clarify goals
9187 regarding inexact and underflow exceptions.
9188
9189 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9190
9191 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9192 * sysdeps/mips/memset.S: Ditto.
9193
9194 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9195
9196 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9197
9198 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9199
9200 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9201 (__v1longjmp): Remove versioned symbol.
9202 (__v1siglongjmp): Remove alias and versioned symbol.
9203 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9204 (__v2siglongjmp): Likewise.
9205
9206 2015-02-16 Torvald Riegel <triegel@redhat.com>
9207
9208 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9209
9210 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9211
9212 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9213
9214 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9215
9216 [BZ #17987]
9217 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9218 zero result does not depend on the sign resulting from
9219 subtraction.
9220 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9221 Likewise.
9222 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9223 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9226 * math/libm-test.inc (remquo_test_data): Add more tests.
9227
9228 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9229
9230 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9231 Problem reported by J William Piggott.
9232
9233 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9234
9235 [BZ #17978]
9236 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9237 products 4 * y and 2 * y where those would overflow.
9238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9239 Likewise.
9240 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9241 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9243 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9244 * math/libm-test.inc (remquo_test_data): Add more tests.
9245
9246 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9247
9248 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9249 [defined _COMPILING_NEWLIB].
9250 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9251 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9252
9253 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9254 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9255
9256 2015-02-16 Torvald Riegel <triegel@redhat.com>
9257
9258 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9259 acquired.
9260
9261 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9262
9263 [BZ #17792]
9264 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9265 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9266 HOST_STACK_END_ADDR): Likewise.
9267
9268 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9269
9270 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9271 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9272 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9273
9274 2015-02-13 Roland McGrath <roland@hack.frob.com>
9275
9276 * sysdeps/generic/c++-types.data: New file.
9277 * sysdeps/generic/ld.abilist: New file.
9278 * sysdeps/generic/libBrokenLocale.abilist: New file.
9279 * sysdeps/generic/libanl.abilist: New file.
9280 * sysdeps/generic/libc.abilist: New file.
9281 * sysdeps/generic/libcrypt.abilist: New file.
9282 * sysdeps/generic/libdl.abilist: New file.
9283 * sysdeps/generic/libm.abilist: New file.
9284 * sysdeps/generic/libpthread.abilist: New file.
9285 * sysdeps/generic/libresolv.abilist: New file.
9286 * sysdeps/generic/librt.abilist: New file.
9287
9288 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9289
9290 [BZ #17569]
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9292 Compute absolute value of x as modified by fmod, not original
9293 value of x.
9294 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9295 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9296 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9297 RUN_TEST_ffI_f1_mod8.
9298 (remquo_test_data): Add more tests.
9299
9300 2015-02-13 Roland McGrath <roland@hack.frob.com>
9301
9302 * sysdeps/init_array/pt-crti.S: New file.
9303
9304 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9305
9306 [BZ #17967]
9307 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9308 __builtin_fmaf instead of relying on contraction of a * b + c.
9309
9310 2015-02-12 J William Piggott <elseifthen@gmx.com>
9311
9312 [BZ #17969]
9313 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9314 node.
9315
9316 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9317
9318 [BZ #17964]
9319 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9320 __builtin_fma instead of relying on contraction of a * b + c.
9321
9322 2015-02-12 Roland McGrath <roland@hack.frob.com>
9323
9324 * Makeconfig (ASFLAGS): Add -Werror=undef.
9325 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9326 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9327 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9328
9329 * Makeconfig (after-link): New variable.
9330 (+link-pie, +link-pie-tests): Use it.
9331 (+link-static, +link-static-tests): Likewise.
9332 (+link, +link-tests): Likewise.
9333 * Makerules (build-module, build-module-asneeded): Likewise.
9334 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9335 Likewise.
9336 * elf/Makefile ($(objpfx)ld.so): Likewise.
9337
9338 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9339
9340 [BZ #17965]
9341 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9342 both struct timeval and struct timespec.
9343
9344 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9345
9346 [BZ #16560]
9347 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9348 and redefine.
9349 (__ieee754_exp2l): Do not multiply small fractional parts by
9350 M_LN2l.
9351 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9352 small argument.
9353 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9354 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9355 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9356 * math/auto-libm-test-in: Add more tests of exp2.
9357 * math/auto-libm-test-out: Regenerated.
9358
9359 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9360
9361 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9362 unaligned path.
9363
9364 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9365
9366 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9367 little endian.
9368
9369 2015-02-12 Andreas Schwab <schwab@suse.de>
9370
9371 [BZ #15790]
9372 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9373 Filter out elision flags from value returned in kind.
9374 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9375 * nptl/tst-pthread-mutexattr.c: New file.
9376
9377 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9378
9379 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9380 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9381 into gnu-gnu, and update comment to refer to abi-tags.
9382
9383 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9384
9385 [BZ #15467]
9386 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9387 (__sincos): Set errno to EDOM for infinite argument.
9388 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9389 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9390 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9391 (__sincosl): Set errno to EDOM for infinite argument.
9392 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9393 (__sincosl): Set errno to EDOM for infinite argument.
9394 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9395 (__sincosl): Set errno to EDOM for infinite argument.
9396 * math/libm-test.inc (sincos_test_data): Test errno setting.
9397
9398 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9399
9400 * string/strxfrm_l.c: Remove #define STRCMP.
9401 * string/strcoll_l.c: Remove #define STRLEN.
9402 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9403 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9404
9405 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9406
9407 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9408 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9409 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9410 * sysdeps/mips/mips64/Makefile: ... here.
9411 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9412 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9413 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9414 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9415 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9416 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9417 * sysdeps/mips/mips64/n64/Implies: Likewise.
9418
9419 2015-02-10 Roland McGrath <roland@hack.frob.com>
9420
9421 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9422 <sys/time.h>, <string.h>, and <errno.h>.
9423 (dest_offset, dest_address, value, zero): Remove unused variables.
9424 (ldouble): Remove typedef.
9425 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9426 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9427 1). Fix code style.
9428 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9429 (check): Function removed.
9430 (CHECK): New macro.
9431 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9432 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9433 Don't call set_sigaction_FP and remove_sigaction_FP here.
9434 (ldouble_test): Just use 'long double' as macro argument, no need for
9435 the 'ldouble' typedef.
9436 (do_test): Set up SIGFPE handler at start, using plain signal rather
9437 than sigaction. Fix code style.
9438
9439 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9440
9441 [BZ #17949]
9442 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9443 jump label.
9444
9445 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9446
9447 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9448 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9449
9450 * sysdeps/powerpc/configure.ac: Remove file.
9451 * sysdeps/powerpc/configure: Likewise.
9452
9453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9454 [sysdep_routines]: Remove wordcopy-power6 object.
9455 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9456 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9457 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9458 (__memmove_ppc32): Likewise.
9459 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9460 file.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9463 Remove preprocessor.
9464
9465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9466 [sysdep_routines]: Remove wide chars objects.
9467 [wcsmbs]: New rule for wide char objects.
9468
9469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9470 Remove wordcopy-power6 obejct.
9471 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9472 Use local call for wordcopy and memcpy symbols.
9473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9475 implementation for loader.
9476 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9477
9478 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9479 Remove wordcopy-power7 object.
9480 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9481 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9482 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9483 (_wordcopy_fwd_dest_aligned): Likewise.
9484 (_wordcopy_bwd_aligned): Likewise.
9485 (_wordcopy_bwd_dest_aligned): Likewise.
9486
9487 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9488 Rewrite to call __memmove_ppc instead of include default
9489 implementation.
9490
9491 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9492 Remove wide chars objects.
9493 [wcsmbs]: New rule for wide char objects.
9494
9495 2015-02-09 Andreas Schwab <schwab@suse.de>
9496
9497 [BZ #17912]
9498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9499 in terms of __O_DIRECTORY.
9500
9501 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9502
9503 * time/getdate.c: Include <stdbool.h>.
9504 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9505 call PTR_MANGLE.
9506 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9507 PTR_DEMANGLE.
9508
9509 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9510
9511 Add ersatz _Static_assert on older C hosts
9512 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9513 pre-C11 C platform that is not known to support _Static_assert.
9514
9515 2015-02-07 Richard Braun <rbraun@sceen.net>
9516
9517 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9518 sigstate.
9519 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9520
9521 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9522
9523 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9524 priority against unexistent AIO_PRIO_DELTA_MAX.
9525 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9526 instead of int.
9527 * misc/fchflags.c (fchflags): Likewise.
9528 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9529 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9530 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9531 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9532 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9533 Declare macros.
9534 [__USE_MISC] (chflags, fchflags): Declare functions.
9535 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9536 EINVAL when nfds is greater than FD_SETSIZE.
9537 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9538 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9539 45.
9540 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9541 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9542 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9543 MACH_RCV_TIMED_OUT.
9544 * hurd/hurd/signal.h (_hurd_self_sigstate,
9545 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9546 Explicit casts from void *.
9547 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9548 * abi-tags: Rename gnu-gnu os into gnu.
9549
9550 [BZ #4719]
9551 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9552 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9553 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9554 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9555 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9556 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9557
9558 [BZ #17944]
9559 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9560 duplicates ADDR->sun_path with sockaddr LEN limitation.
9561 * sysdeps/mach/hurd/connect.c: Include <string.h>
9562 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9563 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9564 * sysdeps/mach/hurd/sendto.c: Likewise.
9565 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9566 implementing it by hand.
9567
9568 2015-02-06 Roland McGrath <roland@hack.frob.com>
9569
9570 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9571 Use sfi_breg on ldr.
9572 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9573 Likewise.
9574
9575 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9576 it's defined.
9577 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9578 Test SIGSETXID only if it's defined.
9579
9580 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9581
9582 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9583 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9584
9585 * nptl/tst-align2.c: Moved ...
9586 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9587 * nptl/Makefile (tests): Remove tst-align2.
9588 * sysdeps/unix/sysv/linux/Makefile
9589 [$(subdir) = nptl] (tests): Add tst-align-clone.
9590 * nptl/tst-getpid1.c: Moved ...
9591 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9592 * nptl/tst-getpid2.c: Moved ...
9593 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9594 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9595 * sysdeps/unix/sysv/linux/Makefile
9596 [$(subdir) = nptl] (tests): ... here.
9597 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9598 * sysdeps/unix/sysv/linux/Makefile
9599 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9600
9601 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9602 Drop trailing \n from perror argument. Use return rather than exit.
9603
9604 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9605 on [SA_SIGINFO].
9606 * nptl/tst-cancel21.c (do_test): Likewise.
9607 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9608 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9609 [!SA_SIGINFO]: Make it a stub test.
9610
9611 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9612 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9613
9614 * posix/tst-getlogin.c: Move to ...
9615 * login/tst-getlogin.c: ... here.
9616 * posix/Makefile (tests): Move tst-getlogin to ...
9617 * login/Makefile (tests): ... here.
9618
9619 * libio/tst-atime.c (do_test): Move local variables SV and E
9620 inside [ST_NOATIME] conditional.
9621
9622 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9623
9624 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9625
9626 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9627 (wait_code): New function replaces macro.
9628 Call nanosleep rather than syscall.
9629
9630 * nptl/pt-system.c: Rewritten. Put everything under
9631 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9632 Use IFUNC to redirect when possible.
9633
9634 * nptl/pt-longjmp.c: Rewritten. Put everything under
9635 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9636 Use IFUNC to redirect when possible.
9637
9638 * nptl/pt-fork.c: Rewritten. Put everything under
9639 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9640 Use IFUNC to redirect when possible.
9641 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9642
9643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9644 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9645 unconditionally nowadays. This included the only reference to
9646 __vdso_clock_gettime that appears outside libc proper.
9647 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9648 Remove version set (containing only __vdso_clock_gettime).
9649 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9650 Add attribute_hidden.
9651 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9652 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9653 libc_hidden_data_def.
9654 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9655 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9656
9657 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9658 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9659 setrpcent, and getrpcport to ...
9660 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9661 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9662 getrpcbynumber_r, and getrpcent_r to ...
9663 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9664 * inet/getrpcbyname.c: Moved ...
9665 * sunrpc/getrpcbyname.c: ... here.
9666 * inet/getrpcbyname_r.c: Moved ...
9667 * sunrpc/getrpcbyname_r.c: ... here.
9668 * inet/getrpcbynumber.c: Moved ...
9669 * sunrpc/getrpcbynumber.c: ... here.
9670 * inet/getrpcbynumber_r.c: Moved ...
9671 * sunrpc/getrpcbynumber_r.c: ... here.
9672 * inet/getrpcent.c: Moved ...
9673 * sunrpc/getrpcent.c: ... here.
9674 * inet/getrpcent_r.c: Moved ...
9675 * sunrpc/getrpcent_r.c: ... here.
9676 * inet/Makefile (routines): Move those to ...
9677 * sunrpc/Makefile (routines): ... here.
9678 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9679 the $(subdirs) list.
9680 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9681 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9682 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9683 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9684
9685 * elf/Makefile (routines): Include $(all-dl-routines), not just
9686 $(dl-routines).
9687 (rtld-routines): Likewise. Use = rather than :=.
9688 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9689 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9690 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9691 * sysdeps/arm/Makefile: Likewise.
9692 * sysdeps/i386/Makefile: Likewise.
9693 * sysdeps/x86_64/Makefile: Likewise.
9694 * sysdeps/hppa/Makefile [$(subdir) = elf]
9695 (sysdep_routines, sysdep-rtld-routines): Don't add
9696 $(sysdep-dl-routines) to these.
9697 * sysdeps/ia64/Makefile: Likewise.
9698 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9699 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9700 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9701 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9702 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9703 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9705 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9706 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9707 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9708 these; sysdep-dl-routines alone is enough.
9709
9710 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9711
9712 [BZ #17932]
9713 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9714 where multiplication results in zero and third argument is finite
9715 and nonzero.
9716 * math/auto-libm-test-in: Add more tests of fma.
9717 * math/auto-libm-test-out: Regenerated.
9718
9719 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9720 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9721 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9722 (_FP_CMP_EQ): Likewise.
9723 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9724
9725 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9726 extra argument CHECK_NAN. Redefine as wrapper around
9727 _FP_EXTEND_CNAN.
9728
9729 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9730
9731 * version.h (RELEASE): Set to "stable".
9732 (VERSION): Set to "2.21"
9733 * include/features.h (__GLIBC_MINOR__): Set to 21.
9734
9735 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9736
9737 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9738 Paul Eggert <eggert@cs.ucla.edu>
9739
9740 [BZ #16618]
9741 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9743 size in bytes. Store needed elements in wpmax. Use needed size
9744 in bytes for extend_alloca.
9745
9746 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9747
9748 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9749 binutls 2.25, and texinfo 5.2.
9750 * INSTALL: Regenerate.
9751 * sysdeps/nios2/configure: Regenerate.
9752 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9753 * manual/contrib.texi: Update.
9754 * po/be.po: Update.
9755 * po/bg.po: Update.
9756 * po/ca.po: Update.
9757 * po/cs.po: Update.
9758 * po/da.po: Update.
9759 * po/de.po: Update.
9760 * po/el.po: Update.
9761 * po/eo.po: Update.
9762 * po/es.po: Update.
9763 * po/fi.po: Update.
9764 * po/fr.po: Update.
9765 * po/gl.po: Update.
9766 * po/hr.po: Update.
9767 * po/hu.po: Update.
9768 * po/ia.po: Update.
9769 * po/id.po: Update.
9770 * po/it.po: Update.
9771 * po/ja.po: Update.
9772 * po/ko.po: Update.
9773 * po/lt.po: Update.
9774 * po/nb.po: Update.
9775 * po/nl.po: Update.
9776 * po/pl.po: Update.
9777 * po/pt_BR.po: Update.
9778 * po/ru.po: Update.
9779 * po/rw.po: Update.
9780 * po/sk.po: Update.
9781 * po/sl.po: Update.
9782 * po/sv.po: Update.
9783 * po/tr.po: Update.
9784 * po/uk.po: Update.
9785 * po/vi.po: Update.
9786 * po/zh_CN.po: Update.
9787 * po/zh_TW.po: Update.
9788
9789 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9790 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9791 * sysdeps/hppa/dl-irel.h: Remove #warning.
9792 * sysdeps/hppa/entry.h: Provide prototype for
9793 __canonicalize_funcptr_for_compare and cast argument.
9794 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9795 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9796 * sysdeps/hppa/sotruss-lib.c: New file.
9797 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9798 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9799 (atomic_compare_and_exchange_bool_acq): Likewise.
9800 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9801 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9802
9803 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9804 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9805 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9806
9807 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9808
9809 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9810 called function in non-PIC case.
9811
9812 2015-01-31 David S. Miller <davem@davemloft.net>
9813
9814 * sysdeps/sparc/sparc32/bits/atomic.h
9815 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9816 unlock not after it.
9817 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9818 volatile register usage warnings from the compiler.
9819
9820 * sysdeps/sparc/nptl/sem_init.c: Delete.
9821 * sysdeps/sparc/nptl/sem_post.c: Delete.
9822 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9823 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9824 * sysdeps/sparc/sparc32/sem_init.c: New file.
9825 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9826 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9827 padding explicitly initialized.
9828 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9829 padding for in-semaphore spinlock.
9830 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9831 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9832 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9833 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9834 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9836 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9837 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9838 version.
9839 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9840 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9841
9842 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9843
9844 [BZ #17801]
9845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9846 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9847 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9848 New.
9849 (index_AVX_Fast_Unaligned_Load): Likewise.
9850 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9851 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9852 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9853 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9854 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9855 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9856 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9857 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9858 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9859
9860 2015-01-29 Andreas Schwab <schwab@suse.de>
9861
9862 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9863
9864 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9865
9866 [BZ #17892]
9867 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9868
9869 2015-01-28 Martin Sebor <msebor@redhat.com>
9870
9871 * math/README.libm-test: Clarify. Add "How to read the test output."
9872
9873 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9874
9875 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9876 Define to 0.
9877
9878 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9879
9880 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9881 (__HAVE_64B_ATOMICS): Define to 0.
9882
9883 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9884
9885 [BZ #17885]
9886 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9887 value to set as new flag.
9888
9889 [BZ #16576]
9890 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9891 and use _ARCH_PPCSQ instead.
9892 (__ieee754_sqrt): Likewise.
9893 (__ieee754_sqrtf): Likewise.
9894 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9895 _ARCH_PPCSQ is defined.
9896 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9897 fsqrt instruction.
9898 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9899 _ARCH_PPCSQ is defined.
9900 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9901 fsqrts instruction.
9902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9903
9904 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9905
9906 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9907 bug (GCC BZ #64739).
9908
9909 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9912 Mark _retval as used.
9913 (lll_futex_wake_unlock): Likewise.
9914 (lll_futex_timed_wait_requeue_pi): Likewise.
9915
9916 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9917 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9918 register variables.
9919
9920 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9921 libm_hidden_def.
9922
9923 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9924 (__bswap_64): Mark as __always_inline.
9925
9926 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9927
9928 [BZ #15378]
9929 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9930 when none of the search directories exist.
9931
9932 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9933
9934 [BZ #17869]
9935 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9936 power8 in .machine directive.
9937
9938 [BZ #17868]
9939 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9940 set dependency from opd value.
9941
9942 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9945 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9946 architecture.
9947
9948 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9949
9950 [BZ #17870]
9951 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9952 with uint64_t.
9953 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9954 (uint64_t) 1.
9955 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9956 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9957 Replace 1UL with (uint64_t) 1.
9958 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9959 int with uint64_t.
9960
9961 2015-01-23 Roland McGrath <roland@hack.frob.com>
9962
9963 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9964 (if_freenameindex): Likewise.
9965
9966 * resource/getrlimit64.c: Add missing libc_hidden_def.
9967
9968 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9969
9970 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9971 __label__.
9972 (_FP_FMA): Likewise.
9973 (_FP_TO_INT_ROUND): Likewise.
9974 (_FP_FROM_INT): Likewise.
9975
9976 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9977
9978 [BZ #16418]
9979 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9980 Make code racy and cancel safe.
9981
9982 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9983
9984 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9985 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9986 attribution.
9987
9988 * pwd/tst-getpw.c: Rewrite.
9989
9990 [BZ #17702]
9991 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9992 (modules-names): Add moddummy1 and moddummy2.
9993 ($(objpfx)tst-rec-dlopen): Define.
9994 * dlfcn/moddummy1.c: New file.
9995 * dlfcn/moddummy2.c: New file.
9996 * dlfcn/tst-rec-dlopen.c: New file.
9997 * elf/dl-cache.c (_dl_load_cache_lookup):
9998 Return char*. Copy result with alloca/strcpy/strdup.
9999 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10000 returns char*. Free cached. If not saving realname
10001 free cached.
10002 * elf/dl-open.c (dl_open_worker): Do not assert that
10003 _r_debug->r_state is RT_CONSISTENT.
10004 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10005 returns char*.
10006
10007 2015-01-21 Torvald Riegel <triegel@redhat.com>
10008 Carlos O'Donell <carlos@redhat.com>
10009
10010 [BZ #12674]
10011 * nptl/sem_waitcommon.c: New file.
10012 * nptl/sem_wait.c: Include sem_waitcommon.c.
10013 (__sem_wait_cleanup, do_futex_wait): Remove.
10014 (__new_sem_wait): Adapt.
10015 (__new_sem_trywait): New function.
10016 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10017 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10018 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10019 (sem_timedwait): Adapt.
10020 * nptl/sem_post.c (__new_sem_post): Adapt.
10021 (futex_wake): New function.
10022 (__old_sem_post): Add release MO fence.
10023 * nptl/sem_open.c (sem_open): Adapt.
10024 * nptl/sem_init.c (__new_sem_init): Adapt.
10025 (futex_private_if_supported): New function.
10026 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10027 (__old_sem_getvalue): Add using previous code.
10028 * sysdeps/nptl/internaltypes.h: Adapt.
10029 * nptl/tst-sem13.c (do_test): Adapt.
10030 * nptl/tst-sem11.c (main): Adapt.
10031 * nptl/sem_trywait.c: Remove.
10032 * nptl/DESIGN-sem.txt: Remove.
10033 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10034 (gen-as-const-headers): Remove structsem.sym.
10035 * nptl/structsem.sym: Remove.
10036 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10037 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10038 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10039 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10040 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10041 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10042 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10043 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10044 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10045 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10046 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10047 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10048 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10049 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10050 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10051 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10052 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10053 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10054 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10055 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10056 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10057 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10058
10059 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10060
10061 * INSTALL: Regenerated.
10062
10063 * po/libc.pot: Regenerated.
10064
10065 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10066 Sandra Loosemore <sandra@codesourcery.com>
10067 Andrew Jenner <andrew@codesourcery.com>
10068 Joseph Myers <joseph@codesourcery.com>
10069 Nathan Sidwell <nathan@codesourcery.com>
10070
10071 * NEWS: Mention new Nios II port.
10072 * sysdeps/nios2/Implies: New file.
10073 * sysdeps/nios2/Makefile: New file.
10074 * sysdeps/nios2/Subdirs: New file.
10075 * sysdeps/nios2/Versions: New file.
10076 * sysdeps/nios2/__longjmp.S: New file.
10077 * sysdeps/nios2/abort-instr.h: New file.
10078 * sysdeps/nios2/backtrace.c: New file.
10079 * sysdeps/nios2/bits/endian.h: New file.
10080 * sysdeps/nios2/bits/fenv.h: New file.
10081 * sysdeps/nios2/bits/link.h: New file.
10082 * sysdeps/nios2/bits/setjmp.h: New file.
10083 * sysdeps/nios2/bsd-_setjmp.S: New file.
10084 * sysdeps/nios2/bsd-setjmp.S: New file.
10085 * sysdeps/nios2/configure: New generated file.
10086 * sysdeps/nios2/configure.ac: New file.
10087 * sysdeps/nios2/crti.S: New file.
10088 * sysdeps/nios2/crtn.S: New file.
10089 * sysdeps/nios2/dl-init.c: New file.
10090 * sysdeps/nios2/dl-machine.h: New file.
10091 * sysdeps/nios2/dl-sysdep.h: New file.
10092 * sysdeps/nios2/dl-tls.h: New file.
10093 * sysdeps/nios2/dl-trampoline.S: New file.
10094 * sysdeps/nios2/gccframe.h: New file.
10095 * sysdeps/nios2/gmp-mparam.h: New file.
10096 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10097 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10098 * sysdeps/nios2/ldsodefs.h: New file.
10099 * sysdeps/nios2/libc-tls.c: New file.
10100 * sysdeps/nios2/libm-test-ulps: New file.
10101 * sysdeps/nios2/machine-gmon.h: New file.
10102 * sysdeps/nios2/math-tests.h: New file.
10103 * sysdeps/nios2/math_private.h: New file.
10104 * sysdeps/nios2/memusage.h: New file.
10105 * sysdeps/nios2/nptl/Makefile: New file.
10106 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10107 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10108 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10109 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10110 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10111 * sysdeps/nios2/nptl/tls.h: New file.
10112 * sysdeps/nios2/preconfigure: New file.
10113 * sysdeps/nios2/s_fma.c: New file.
10114 * sysdeps/nios2/s_fmaf.c: New file.
10115 * sysdeps/nios2/setjmp.S: New file.
10116 * sysdeps/nios2/sfp-machine.h: New file.
10117 * sysdeps/nios2/sotruss-lib.c: New file.
10118 * sysdeps/nios2/stackguard-macros.h: New file.
10119 * sysdeps/nios2/stackinfo.h: New file.
10120 * sysdeps/nios2/start.S: New file.
10121 * sysdeps/nios2/sysdep.h: New file.
10122 * sysdeps/nios2/tls-macros.h: New file.
10123 * sysdeps/nios2/tst-audit.h: New file.
10124 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10125 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10126 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10127 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10128 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10129 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10130 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10131 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10132 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10133 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10134 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10135 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10136 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10137 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10138 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10139 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10140 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10141 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10142 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10143 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10144 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10145 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10146 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10147 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10148 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10149 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10150 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10151 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10152 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10153 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10154 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10155 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10156 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10157 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10158 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10159 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10160 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10161 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10162 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10163 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10164 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10165 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10166 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10167 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10168
10169 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10170
10171 [BZ #17844]
10172 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10173 (getutent): Use weak_alias in non SHARED case
10174 and default_symbol_version in SHARED case.
10175 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10176 (getutent_r, pututline): Likewise.
10177 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10178 (getutid): Likewise.
10179 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10180 (getutid_r): Likewise.
10181 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10182 (getutline): Likewise.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10184 (getutline_r): Likewise.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10186 (updwtmp): Likewise.
10187
10188 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10189
10190 [BZ #17848]
10191 * sysdeps/s390/s390-32/memcmp.S
10192 (memcmp_g5): Rename to __memcmp_g5.
10193 * sysdeps/s390/s390-32/memcpy.S
10194 (memcpy_g5): Rename to __memcpy_g5.
10195 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10196 (memcpy_mvcle) Rename to __memcpy_mvcle.
10197 * sysdeps/s390/s390-32/memset.S
10198 (memset_g5): Rename to __memset_g5.
10199 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10200 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10201 and use prefixed functions.
10202 * sysdeps/s390/s390-32/multiarch/memcmp.S
10203 (memcmp_z196): Rename to __memcmp_z196.
10204 (memcmp_z10): Rename to __memcmp_z10.
10205 (memcmp): Set alias to __memcmp_g5.
10206 (bcmp): Set alias to __memcmp_g5.
10207 * sysdeps/s390/s390-32/multiarch/memcpy.S
10208 (memcpy_z196): Rename to __memcpy_z196.
10209 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10210 (memcpy_z10): Rename to __memcpy_z10.
10211 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10212 (memcpy): Set alias to __memcpy_g5.
10213 * sysdeps/s390/s390-32/multiarch/memset.S
10214 (memset_z196): Rename to __memset_z196.
10215 Jump to __memset_mvcle instead of memset_mvcle.
10216 (memset_z10): Rename to __memset_z10.
10217 Jump to __memset_mvcle instead of memset_mvcle.
10218 (memset_mvcle) Rename to __memset_mvcle.
10219 (memset): Set alias to __memset_g5.
10220 * sysdeps/s390/s390-64/memcmp.S
10221 (memcmp_z900): Rename to __memcmp_z900.
10222 * sysdeps/s390/s390-64/memcpy.S
10223 (memcpy_z900): Rename to __memcpy_z900.
10224 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10225 (memcpy_mvcle) Rename to __memcpy_mvcle.
10226 * sysdeps/s390/s390-64/memset.S
10227 (memset_z900): Rename to __memset_z900.
10228 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10229 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10230 and use prefixed functions.
10231 * sysdeps/s390/s390-64/multiarch/memcmp.S
10232 (memcmp_z196): Rename to __memcmp_z196.
10233 (memcmp_z10): Rename to __memcmp_z10.
10234 (memcmp): Set alias to __memcmp_z900.
10235 (bcmp): Set alias to __memcmp_z900.
10236 * sysdeps/s390/s390-64/multiarch/memcpy.S
10237 (memcpy_z196): Rename to __memcpy_z196.
10238 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10239 (memcpy_z10): Rename to __memcpy_z10.
10240 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10241 (memcpy): Set alias to __memcpy_z900.
10242 * sysdeps/s390/s390-64/multiarch/memset.S
10243 (memset_z196): Rename to __memset_z196.
10244 Jump to __memset_mvcle instead of memset_mvcle.
10245 (memset_z10): Rename to __memset_z10.
10246 Jump to __memset_mvcle instead of memset_mvcle.
10247 (memset_mvcle) Rename to __memset_mvcle.
10248 (memset): Set alias to __memset_z900.
10249
10250 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #17748]
10253 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10254 __fesetenv instead of fesetenv.
10255
10256 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10257
10258 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10259 macro.
10260
10261 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262
10263 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10264 regression on LE.
10265
10266 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10267 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10268 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10269 strncmp-power8 object.
10270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10271 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10272 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10273 * NEWS: Update.
10274
10275 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10276 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10277
10278 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10279 trailing byte check.
10280
10281 2015-01-13 David S. Miller <davem@davemloft.net>
10282
10283 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10284
10285 2015-01-13 Roland McGrath <roland@hack.frob.com>
10286
10287 * login/logout.c (logout): Use memset rather than bzero.
10288 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10289 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10290 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10291 (_gethtbyaddr): Likewise.
10292 * locale/programs/simple-hash.c (bcopy): Macro removed.
10293
10294 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295
10296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10297 Add strcmp-power8 object.
10298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10299 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10300 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10301 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10302 __strcmp_power8 implementation.
10303 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10304 * NEWS: Update.
10305
10306 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10307 Add strncpy-power8 and stpncpy-power8 objects.
10308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10309 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10310 implementations.
10311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10312 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10313 __stpncpy_power8 implementation.
10314 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10315 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10316 __strncpy_power8 implementation.
10317 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10318 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10319 * NEWS: Update.
10320
10321 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10322 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10323 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10324
10325 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10326 strncat-power8 object.
10327 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10328 __strcat_power8 implementation.
10329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10330 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10331 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10332 optimized strcat for power8.
10333
10334 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10335 strcpy-power8 and stpcpy-power8 objects.
10336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10337 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10338 implementations.
10339 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10340 multiarch stpcpy implementation for POWER8.
10341 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10342 multiarch strcpy implementation for POWER8.
10343 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10344 __strcpy_power8 function.
10345 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10346 stpcpy for POWER8.
10347 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10348 strcpy for POWER8.
10349 * NEWS: Update.
10350
10351 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10352
10353 [BZ #16009]
10354 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10355 weights and rules. Use do_xfrm_cached if data fits in cache,
10356 do_xfrm otherwise. Moved former main loop to...
10357 * (do_xfrm_cached): New function.
10358 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10359 find_idx, find_position and stack_push.
10360 * (find_idx): New function.
10361 * (find_position): Likewise.
10362 * localedata/sort-test.sh: Added test run for do_xfrm.
10363 * localedata/xfrm-test.c (main): Added command line option
10364 -nocache to run the test with strings that are too large for
10365 the STRXFRM cache.
10366
10367 2015-01-13 Torvald Riegel <triegel@redhat.com>
10368
10369 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10370 variable to lll_futex_wake call, not the value itself.
10371
10372 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10373
10374 [BZ #17803]
10375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10376 twom64. Adjust value to 0x1p-64L.
10377 (__scalblnl): Only return standard underflowing result for K <=
10378 -64 not K <= -63; adjust exponent for underflowing result by 64
10379 not 63.
10380 * math/libm-test.inc (scalbn_test_data): Add more tests.
10381 (scalbln_test_data): Likewise.
10382
10383 [BZ #17834]
10384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10385 0x1p63L.
10386 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10387 not HX.
10388 * math/libm-test.inc (scalbn_test_data): Add more tests.
10389 (scalbln_test_data): Likewise.
10390
10391 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392 Stefani Seibold <stefani@seibold.net>
10393
10394 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10395 (sysdep_routines): Add dl-vdso here, ...
10396 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10397 (sysdep_routines): ... not here.
10398 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10399 fallback when vDSO is not presented.
10400 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10401 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10402 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10403 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10404 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10406 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10407 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10408 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10410 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10411 fallback configurable symbol when vDSO is not available.
10412 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10413 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10414 be able to redefine fallback symbol when vDSO is not available.
10415 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10416 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10417
10418 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10419
10420 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10421 (TLS_INIT_TP): Add tm_capable initialization.
10422 (TLS_DEFINE_INIT_TP): Likewise.
10423 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10424 TCB.
10425 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10426 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10427 calculation.
10428 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10429 transactoion is lock elision is built and TCB tm_capable is set.
10430 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10432 (INTERNAL_SYSCALL_NCS): Likewise.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10434 (INTERNAL_SYSCALL_NCS): Likewise.
10435 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10436
10437 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10438 for powerpc.
10439 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10440 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10441 and remove it for 32 bits case.
10442 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10444 initialization.
10445 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10446 Disable lock elision with rdlocks if elision is not available.
10447
10448 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10449 (sysdep_routines): Add lock elision objects.
10450 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10451 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10452 [pthread_mutex_t] (__elision): Add field.
10453 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10454 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10455 elision definitions for powerpc.
10456 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10457 implementation of lock elision for powerpc.
10458 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10459 implementation of timed lock elision for powerpc.
10460 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10461 implementation of trylock with lock elision for powerpc.
10462 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10463 implementaion of unlock for lock elision for powerpc.
10464 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10465 automatic enable lock elision for mutexes.
10466 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10467 transaction execution definitions for powerpc.
10468 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10469 definitions.
10470 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10471 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10472 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10473 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10474 * NEWS: Update.
10475
10476 2015-01-09 Roland McGrath <roland@hack.frob.com>
10477
10478 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10479 for #include of <shm-directory.h>.
10480
10481 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10482
10483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10484 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10485
10486 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10487
10488 [BZ #17791]
10489 * NEWS: Mention bug fix.
10490 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10491 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10492 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10493
10494 2015-01-09 Torvald Riegel <triegel@redhat.com>
10495
10496 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10497
10498 2015-01-09 Torvald Riegel <triegel@redhat.com>
10499
10500 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10501
10502 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10503
10504 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10505 pointer and cast to uintptr_t.
10506
10507 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10508
10509 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10510 removed.
10511 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10512
10513 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10514
10515 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10516 of 0.
10517
10518 2015-01-08 Roland McGrath <roland@hack.frob.com>
10519
10520 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10521 <nptl/pthreadP.h> instead.
10522 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10523
10524 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10525 already defined.
10526 [__SIGRTMIN] (init): Function removed.
10527 [__SIGRTMIN] (initialized): Variable removed.
10528 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10529 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10530 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10531 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10532 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10533 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10534 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10535 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10536 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10537 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10538 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10539 * sysdeps/nptl/allocrtsig.c: New file.
10540 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10541 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10542 * sysdeps/generic/testrtsig.h: File removed.
10543
10544 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10545 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10546
10547 * nptl/nptl-init.c (pthread_functions): Conditionalize
10548 .ptr__nptl_setxid initialization on [SIGSETXID].
10549
10550 * sysdeps/nptl/sys/procfs.h: New file.
10551 * nptl_db/Makefile (headers): Add it.
10552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10553
10554 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10555 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10556 * nptl/pthread_attr_setaffinity.c: Include it.
10557 * nptl/pthread_setattr_default_np.c: Likewise.
10558 * nptl/check-cpuset.h: New file.
10559
10560 2015-01-08 Richard Henderson <rth@redhat.com>
10561
10562 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10563 (CFLAGS-tst-execstack-prog.c): Likewise.
10564 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10565
10566 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10567 Sandra Loosemore <sandra@codesourcery.com>
10568 Andrew Jenner <andrew@codesourcery.com>
10569 Joseph Myers <joseph@codesourcery.com>
10570 Nathan Sidwell <nathan@codesourcery.com>
10571
10572 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10573 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10574 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10575 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10576 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10577 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10578 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10579 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10580 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10581 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10582 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10583 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10584 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10585 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10586 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10587 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10588 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10589
10590 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10591
10592 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10593 timespec struct member in syscall macro.
10594 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10595 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10596 first timeval struct member in syscall macro.
10597 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10598
10599 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10600
10601 [BZ #17748]
10602 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10603 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10604 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10605 __feupdateenv and define as weak alias of __feupdateenv. Use
10606 libm_hidden_weak.
10607 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10608 libm_hidden_def.
10609 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10610 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10611 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10612 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10613 libm_hidden_def.
10614 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10615 __feupdateenv and define as weak alias of __feupdateenv. Use
10616 libm_hidden_weak.
10617 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10618 libm_hidden_def.
10619 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10620 __feupdateenv and define as weak alias of __feupdateenv. Use
10621 libm_hidden_weak.
10622 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10623 libm_hidden_def.
10624 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10625 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10626 (__feupdateenv): Likewise.
10627 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10628 __feupdateenv and define as weak alias of __feupdateenv. Use
10629 libm_hidden_weak.
10630 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10631 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10632 libm_hidden_def.
10633 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10634 function.
10635 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10636 libm_hidden_def.
10637 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10638 __feupdateenv instead of feupdateenv.
10639 (default_libc_feupdateenv_test): Likewise.
10640 (libc_feresetround_ctx): Likewise.
10641
10642 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10643
10644 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10645 prototype.
10646
10647 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10648
10649 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10650 COLL_SYM in a couple of places to avoid uninitialized variable
10651 wanings on tilegx gcc 4.8.2.
10652
10653 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10654
10655 * sysdeps/aarch64/strcpy.S: New file.
10656 * sysdeps/aarch64/stpcpy.S: New file.
10657 * NEWS: Updated.
10658
10659 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10660
10661 * sysdeps/aarch64/strrchr.S: New file.
10662 * NEWS: Updated.
10663
10664 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10665
10666 [BZ #17658]
10667 * stdlib/setenv.c: Fix memory leak when setting large,
10668 duplicate string.
10669
10670 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10671
10672 [BZ #17273]
10673 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10674 and tabs from buffer before parsing fstab entry.
10675 * misc/tst-mntent.c (main): Add test for mount entry with
10676 trailing spaces and tabs.
10677
10678 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10679
10680 [BZ #17748]
10681 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10682 * math/fesetround.c (fesetround): Rename to __fesetround and
10683 define as weak alias of __fesetround. Use libm_hidden_weak.
10684 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10685 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10686 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10687 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10688 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10689 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10690 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10691 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10692 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10693 __fesetround_inline.
10694 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10695 __fesetround_inline instead of __fesetround.
10696 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10697 __fesetround and define as weak alias of __fesetround. Use
10698 libm_hidden_weak. Call __fesetround_inline instead of
10699 __fesetround.
10700 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10701 __fesetround and define as weak alias of __fesetround. Use
10702 libm_hidden_weak.
10703 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10704 Likewise.
10705 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10706 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10707 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10708 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10709 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10710 __fesetround and define as weak alias of __fesetround. Use
10711 libm_hidden_weak.
10712 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10713 __fesetround instead of fesetround.
10714 (default_libc_feholdexcept_setround): Likewise.
10715 (libc_feholdsetround_ctx): Likewise.
10716 (libc_feholdsetround_noex_ctx): Likewise.
10717
10718 [BZ #17748]
10719 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10720 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10721 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10722 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10723 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10724 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10725 define as weak alias of __fesetenv. Use libm_hidden_weak.
10726 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10727 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10728 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10729 define as weak alias of __fesetenv. Use libm_hidden_weak.
10730 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10731 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10732 define as weak alias of __fesetenv. Use libm_hidden_weak.
10733 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10734 libm_hidden_def.
10735 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10736 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10737 Likewise.
10738 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10739 define as weak alias of __fesetenv. Use libm_hidden_weak.
10740 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10741 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10742 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10743 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10744 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10745 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10746 __fesetenv instead of fesetenv.
10747 (libc_feresetround_noex_ctx): Likewise.
10748 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10749 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10751 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10752 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10753 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10754 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10755 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10756 (__feupdateenv): Likewise.
10757 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10758 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10759 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10760 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10761
10762 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10763
10764 [BZ #17806]
10765 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10766 addresses have been freed.
10767
10768 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10769
10770 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10771 and nservall.
10772
10773 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10774
10775 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10776 Clean up check_pf allocation pattern. addresses
10777
10778 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10779
10780 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10781 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10782 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10783 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10784 * nptl/pthread_join.c (pthread_join): Likewise.
10785 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10786 * sysdeps/posix/waitid.c (__waitid): Likewise.
10787 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10788 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10789 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10790 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10791 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10792 Likewise.
10793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10794 (__libc_pread64): Likewise.
10795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10796 (__libc_pwrite): Likewise.
10797 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10798 (__libc_pwrite64): Likewsie.
10799 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10800 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10801 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10802 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10803 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10804 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10805 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10807 Likewise.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10809 (__libc_pread64): Likewise.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10811 Likewise.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10813 (__libc_pwrite64): Likewise.
10814 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10815 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10816 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10817 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10818 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10819 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10820 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10821 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10822 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10823 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10824 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10825 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10826 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10827 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10828 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10830 Likewise.
10831
10832 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10833
10834 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10835 (CFLAGS-test-double.c): Likewise.
10836 (CFLAGS-test-ldouble.c): Likewise.
10837 (CPPFLAGS-test-ifloat.c): Likewise.
10838 (CPPFLAGS-test-idouble.c): Likewise.
10839 (CPPFLAGS-test-ildoubl.c): Likewise.
10840 (CFLAGS-test-test-fenv.c): Remove variable.
10841 (CFLAGS-test-misc.c): Likewise.
10842
10843 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10844
10845 [BZ #17797]
10846 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10847 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10848 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10849 CLOCKS_PER_SEC == 1000000.
10850 * time/clocktest.c (main): Replace %ld with %jd and cast to
10851 intmax_t.
10852
10853 2015-01-05 Roland McGrath <roland@hack.frob.com>
10854
10855 * sysdeps/generic/unwind-resume.h: New file.
10856 * sysdeps/gnu/unwind-resume.c: Include it.
10857 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10858 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10859 argument list.
10860 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10861 global rather than static.
10862 (_Unwind_Resume): Update user.
10863 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10864 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10865 rather than static. Add __attribute__ ((cold)).
10866 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10867 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10868 * sysdeps/arm/arm-unwind-resume.S: New file.
10869 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10870 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10871 * sysdeps/arm/Makefile [$(subdir) = csu]
10872 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10873 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10874 Add rt-arm-unwind-resume.
10875 [$(subdir) = nptl]
10876 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10877 Add pt-arm-unwind-resume.
10878 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10879 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10880
10881 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10882
10883 [BZ #17748]
10884 * include/fenv.h (__feholdexcept): Declare. Use
10885 libm_hidden_proto.
10886 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10887 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10888 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10889 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10890 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10891 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10892 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10893 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10894 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10895 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10896 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10897 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10898 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10899 (feholdexcept): Likewise.
10900 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10901 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10902 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10903 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10904 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10905 __feholdexcept instead of feholdexcept.
10906 (default_libc_feholdexcept_setround): Likewise.
10907
10908 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10909
10910 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10911 to avoid using stl/str to align destination.
10912
10913 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10914
10915 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10916
10917 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10918
10919 [BZ #17796]
10920 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10921 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10922 Define as weak alias not strong alias.
10923
10924 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10925
10926 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10927 bltzal with addiupc.
10928 (RTLD_START): Ditto.
10929
10930 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10931
10932 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10933 for __vdso_* functions in declarations.
10934 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10935 definitions.
10936 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10937 INTERNAL_VSYSCALL): Use struct return types to check for error.
10938
10939 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10940 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10941 function with cast from llround().
10942 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10943 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10944 Define.
10945
10946 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #17793]
10949 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10950 Define as weak alias not strong alias.
10951
10952 [BZ #17635]
10953 * ctype/ctype-c99.c: New file. isblank implementation moved from
10954 ...
10955 * ctype/ctype-extn.c: ... here.
10956 (__isblank_l): Move to ...
10957 * ctype/ctype-c99_l.c: ... here. New file.
10958 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10959 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10960 Remove variable.
10961 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10962 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10963 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10964 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10965 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10966
10967 [BZ #17777]
10968 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10969 (posix_fadvise64): Define as weak alias not strong alias.
10970 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10971 (posix_fallocate64): Likewise.
10972 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10973 Remove variable.
10974 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10975 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10976 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10977 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10978 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10979
10980 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10981
10982 [BZ #16191]
10983 * NEWS: Mention bug fix.
10984 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10985 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10986 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10987 (HOST_STACK_END_ADDR): Likewise.
10988
10989 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10990
10991 [BZ #17748]
10992 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10993 * math/fegetround.c (fegetround): Rename to __fegetround and
10994 define as weak alias of __fegetround. Use libm_hidden_weak.
10995 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10996 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10997 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10998 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10999 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11000 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11001 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11002 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11003 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11004 Undefine after rather than before function definition; use
11005 parentheses around function name in definition.
11006 (__fegetround): Also undefine macro after function definition.
11007 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11008 __fegetround and define as weak alias of __fegetround. Use
11009 libm_hidden_weak. Do not undefine as macro.
11010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11011 Likewise.
11012 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11013 __fegetround and define as weak alias of __fegetround. Use
11014 libm_hidden_weak.
11015 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11016 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11017 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11018 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11019 __fegetround and define as weak alias of __fegetround. Use
11020 libm_hidden_weak.
11021 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11022 __fegetround instead of fegetround.
11023
11024 [BZ #17782]
11025 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11026 Condition macro definition on [__USE_MISC].
11027
11028 [BZ #17781]
11029 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11030 (struct sigaction): Change type of sa_flags field to int.
11031
11032 [BZ #17780]
11033 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11034 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11035 __glibc_reserved0.
11036
11037 * nptl/version.c (banner): Use single year in copyright notice.
11038
11039 * NEWS: Update copyright dates.
11040 * catgets/gencat.c (print_version): Likewise.
11041 * csu/version.c (banner): Likewise.
11042 * debug/catchsegv.sh: Likewise.
11043 * debug/pcprofiledump.c (print_version): Likewise.
11044 * debug/xtrace.sh (do_version): Likewise.
11045 * elf/ldconfig.c (print_version): Likewise.
11046 * elf/ldd.bash.in: Likewise.
11047 * elf/pldd.c (print_version): Likewise.
11048 * elf/sotruss.sh: Likewise.
11049 * elf/sprof.c (print_version): Likewise.
11050 * iconv/iconv_prog.c (print_version): Likewise.
11051 * iconv/iconvconfig.c (print_version): Likewise.
11052 * locale/programs/locale.c (print_version): Likewise.
11053 * locale/programs/localedef.c (print_version): Likewise.
11054 * login/programs/pt_chown.c (print_version): Likewise.
11055 * malloc/memusage.sh (do_version): Likewise.
11056 * malloc/memusagestat.c (print_version): Likewise.
11057 * malloc/mtrace.pl: Likewise.
11058 * manual/libc.texinfo: Likewise.
11059 * nptl/version.c (banner): Likewise.
11060 * nscd/nscd.c (print_version): Likewise.
11061 * nss/getent.c (print_version): Likewise.
11062 * nss/makedb.c (print_version): Likewise.
11063 * posix/getconf.c (main): Likewise.
11064 * scripts/test-installation.pl: Likewise.
11065 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11066
11067 2015-01-02 Will Newton <will.newton@linaro.org>
11068
11069 * sysdeps/arm/armv7/configure: Removed.
11070 * sysdeps/arm/armv7/configure.ac: Likewise.
11071
11072 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11073
11074 * All files with FSF copyright notices: Update copyright dates
11075 using scripts/update-copyrights.
11076 * intl/plural.c: Regenerated.
11077 * locale/programs/charmap-kw.h: Likewise.
11078 * locale/programs/locfile-kw.h: Likewise.
11079
11080 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11081
11082 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11083
11084 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11085
11086 [BZ #17748]
11087 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11088 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11089 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11090 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11091 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11092 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11093 define as weak alias of __fegetenv. Use libm_hidden_weak.
11094 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11095 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11096 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11097 define as weak alias of __fegetenv. Use libm_hidden_weak.
11098 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11099 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11100 define as weak alias of __fegetenv. Use libm_hidden_weak.
11101 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11102 libm_hidden_def.
11103 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11104 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11105 Likewise.
11106 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11107 define as weak alias of __fegetenv. Use libm_hidden_weak.
11108 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11109 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11110 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11111 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11112 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11113 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11114 __fegetenv instead of fegetenv.
11115 (libc_feholdsetround_noex_ctx): Likewise.
11116
11117 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11118
11119 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11120 (Elf_MIPS_ABIFlags_v0): New structure.
11121 (EF_MIPS_FP64): Define.
11122 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11123 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11124 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11125 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11126 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11127 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11128 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11129 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11130 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11131 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11132 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11133 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11134 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11135 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11136 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11137 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11138 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11139 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11140 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11141 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11142 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11143 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11144 field.
11145 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11146 EF_MIPS_FP64.
11147 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11148 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11149 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11150 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11151 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11152 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11153 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11154 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11155 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11156 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11157 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11158 record the current FP ABI extension.
11159 (mips-mode-switch): Define to show if kernel headers support mode
11160 switching.
11161 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11162 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11163 supported SYSV ABI version to 3.
11164 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11165 feature.
11166
11167 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11168 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11169
11170 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11171 path.
11172 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11173
11174 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11175
11176 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11177 __fegetround and redefine to call __fegetround. Remove condition
11178 on [!__NO_MATH_INLINES].
11179 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11180 function.
11181 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11183 Remove macro.
11184 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11185 instead of <fenv_libc.h>.
11186 (__llrintl): Call fegetround instead of __fegetround.
11187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11188 instead of <fenv_libc.h>.
11189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11190 (__lrintl): Call fegetround instead of __fegetround.
11191 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11192 instead of <fenv_libc.h>.
11193 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11194 (__rintl): Call fegetround instead of __fegetround.
11195
11196 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11197
11198 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11199 arrays.
11200
11201 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11202
11203 [BZ #17775]
11204 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11205 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11206 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11207
11208 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11209
11210 * sysdeps/i386/tls-macros.h: Include <features.h>.
11211 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11212 (TLS_IE): Likewise.
11213 (TLS_LD): Likewise.
11214 (TLS_GD): Likewise.
11215 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11216 define for GCC >= 5.0.
11217
11218 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11219
11220 * math/test-fenv.c (test_single_exception, set_single_exc,
11221 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11222 feexcp_mask_test, feenable_test, fe_single_test): Add
11223 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11224 case where they are not used.
11225 * math/libm-test.inc: Likewise.
11226 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11227 unused in the absence of FP rounding/exception support.
11228 * stdio-common/tst-printf-round.c: Likewise.
11229 * stdlib/tst-strtod-round.c: Likewise.
11230 * stdlib/tst-strtod-underflow.c: Likewise.
11231
11232 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11233
11234 [BZ #17723]
11235 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11236 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11237 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11238 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11239 libm_hidden_weak.
11240 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11241 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11242 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11243 libm_hidden_def.
11244 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11245 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11246 libm_hidden_weak.
11247 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11248 Likewise.
11249 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11250 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11251 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11252 libm_hidden_weak.
11253 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11254 libm_hidden_def.
11255 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11256 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11257 (__feraiseexcept): Likewise.
11258 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11259 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11260 libm_hidden_weak.
11261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11262 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11263 libm_hidden_def.
11264 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11265 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11266 Use libm_hidden_def.
11267 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11268 libm_hidden_def.
11269 (feraiseexcept): Define as weak not strong alias. Use
11270 libm_hidden_weak.
11271 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11272 New inline function. Factored out of ...
11273 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11274 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11275 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11276 feraiseexcept.
11277 * math/w_acos.c (__acos): Likewise.
11278 * math/w_asin.c (__asin): Likewise.
11279 * math/w_ilogb.c (__ilogb): Likewise.
11280 * math/w_j0.c (y0): Likewise.
11281 * math/w_j1.c (y1): Likewise.
11282 * math/w_jn.c (yn): Likewise.
11283 * math/w_log.c (__log): Likewise.
11284 * math/w_log10.c (__log10): Likewise.
11285 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11286 * sysdeps/aarch64/fpu/math_private.h
11287 (libc_feupdateenv_test_aarch64): Likewise.
11288 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11289 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11290 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11291 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11292 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11293 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11294 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11295 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11296 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11297 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11298
11299 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11300
11301 [BZ #17732]
11302 * io/test-utime.c (main): Replace %ld with %jd and cast to
11303 intmax_t.
11304 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11305 * nptl/tst-mutex5.c: Include <stdint.h>.
11306 (do_test): Replace %ld with %jd and cast to intmax_t.
11307 * posix/tst-regex.c (run_test): Likewise.
11308 (run_test_backwards): Likewise.
11309 * rt/tst-clock.c: Include <stdint.h>.
11310 (clock_test): Replace %ld with %jd and cast to intmax_t.
11311 * rt/tst-cpuclock1.c: Include <stdint.h>.
11312 (do_test): Replace %lu with %ju and cast to uintmax_t.
11313 * rt/tst-cpuclock2.c: Include <stdint.h>.
11314 (do_test): Replace %lu with %ju and cast to uintmax_t.
11315 * rt/tst-mqueue1.c: Include <stdint.h>.
11316 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11317 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11318 intmax_t.
11319 * rt/tst-mqueue4.c (do_test): Likewise.
11320 * rt/tst-timer4.c: Include <stdint.h>.
11321 (check_ts): Replace %ld with %jd and cast to intmax_t.
11322 (do_test): Likewise.
11323 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11324 and cast to intmax_t.
11325 * sysdeps/pthread/tst-timer.c (main): Likewise.
11326 * time/clocktest.c (main): Likewise.
11327 * time/tst-posixtz.c (do_test): Likewise.
11328 * timezone/tst-timezone.c (main): Likewise.
11329
11330 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11331 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11334 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11336 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11337 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11338 version if bit_Fast_Unaligned_Load is set.
11339 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11340 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11341 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11342 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11343 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11344 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11346 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11347 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11348 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11349 to 4.
11350 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11351 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11352 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11353 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11354
11355 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11356
11357 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11358 instead of #if to avoid a Wundef warning.
11359 * stdlib/tst-limits.c (do_test): Likewise.
11360
11361 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11362 parallel other exception macros.
11363 (fegetenv): Convert from macro to extern inline so that it applies
11364 retroactively to inline functions already seen by the compiler.
11365 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11366
11367 * posix/Makefile (before-compile): Use $(objpfx) for
11368 posix-conf-vars-def.h.
11369
11370 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11371
11372 * posix/getconf.c (main): Use size_t for type of I.
11373 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11374 NSPEC.
11375
11376 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11377 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11378 * posix/posix-envs.def: Likewise.
11379 * sysdeps/posix/sysconf.c: Likewise.
11380 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11381 (specs): Remove array.
11382 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11383 array.
11384
11385 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11386 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11387 (__sysconf): Use CONF_IS_* macros.
11388
11389 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11390 ($(objpfx)posix-conf-vars-def.h): New target.
11391 * posix/posix-conf-vars.list: New file.
11392 * posix/posix-conf-vars.h: New file.
11393 * posix/confstr.c: Include posix-conf-vars.h.
11394 (confstr): Use CONF_IS_* macros.
11395 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11396 CONF_IS_* macros.
11397 * scripts/gen-posix-conf-vars.awk: New file.
11398
11399 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11400
11401 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11402 fegetround): Add no-op macros to avoid linknamespace issues.
11403
11404 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11405 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11406
11407 * sysdeps/unix/sysv/linux/tile/sysdep.h
11408 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11409 assembly-specific section to avoid a redefinition warning.
11410
11411 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11412 long before casting to pointer to avoid a cast warning.
11413
11414 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11415
11416 * sysdeps/tile/tilegx/Implies: New file.
11417
11418 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11419
11420 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11421
11422 2014-12-23 Florian Weimer <fweimer@redhat.com>
11423
11424 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11425
11426 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11427
11428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11429 not define.
11430 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11431 <kernel-features.h>.
11432 (__utimes) [__NR_utimes]: Make code unconditional.
11433 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11434 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11435 (__ASSUME_UTIMES): Do not undefine.
11436 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11437 (__ASSUME_UTIMES): Likewise.
11438 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11439 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11440 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11441 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11442
11443 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11444
11445 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11446
11447 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11448
11449 [BZ #17747]
11450 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11451 alias to weak alias for j0l, y0l.
11452 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11453 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11454
11455 [BZ #17746]
11456 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11457 conversion.
11458
11459 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11460
11461 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11462 to zero if not already defined.
11463
11464 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11465
11466 [BZ #17724]
11467 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11468 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11469 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11470 (char *) casts added.
11471 * sysdeps/ieee754/k_standardf.c: New file.
11472 * sysdeps/ieee754/k_standardl.c: Likewise.
11473 * math/Makefile (libm-support): Remove k_standard.
11474 (libm-calls): Add k_standard.
11475
11476 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11477
11478 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11479 Optimize to avoid an unnecessary FPCR read.
11480
11481 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11482
11483 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11484 Optimize to reduce FPCR/FPSR accesses.
11485
11486 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11487
11488 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11489 Call libc_fetestexcept_aarch64.
11490
11491 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11492
11493 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11494 Call libc_fesetround_aarch64.
11495
11496 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11497
11498 [BZ #17733]
11499 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11500 (__bind): Do not define as weak alias.
11501 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11502 define.
11503 (__getsockname): Do not define as weak alias.
11504
11505 2014-12-22 Will Newton <will.newton@linaro.org>
11506
11507 * manual/install.texi: Document that we require bison 2.7
11508 or above.
11509 * INSTALL: Regenerate.
11510 * configure.ac: Use AC_CHECK_PROG_VER instead of
11511 AC_PATH_PROG when checking for bison and check for
11512 version 2.7 or above.
11513 * configure: Regenerate.
11514
11515 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11516
11517 [BZ #17745]
11518 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11519 * sysdeps/tile/ffsll.c (ffsll): To here.
11520
11521 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11522
11523 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11526 if not defined.
11527 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11528 definition.
11529 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11530 hidden ___tls_get_addr.
11531 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11532 hidden __tls_get_addr.
11533 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11534 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11535 Likewise.
11536
11537 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11538
11539 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11540 _dl_init call.
11541
11542 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11545 from "call _dl_init@PLT".
11546 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11547
11548 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11549
11550 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11551 guarantees.
11552
11553 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11554
11555 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11556
11557 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11558
11559 [BZ #17744]
11560 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11561 strnlen.
11562
11563 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11564
11565 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11566 of multu on MIPSr6.
11567 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11568 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11569 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11570 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11571 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11572
11573 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11574
11575 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11576 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11577 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11578 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11579 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11580 mips32r6/mips64r6.
11581 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11582
11583 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11584
11585 * string/strncat.c (STRNCAT): Simplify implementation.
11586
11587 2014-12-19 David S. Miller <davem@davemloft.net>
11588
11589 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11590 access the quad as both a long double and as a series of 4 words.
11591
11592 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11593 link_map->l_info array access.
11594
11595 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11596
11597 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11598
11599 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11600 * math/atest-exp2.c (TIMEOUT): Likewise.
11601 * math/atest-sincos.c (TIMEOUT): Likewise.
11602
11603 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11604
11605 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11606 -Wno-error with -fno-builtin-lround.
11607
11608 2014-12-19 Torvald Riegel <triegel@redhat.com>
11609
11610 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11611 Contains futex constants and functions moved over from ...
11612 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11613 <lowlevellock-futex.h>.
11614 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11615 (lll_timedwait_tid): Add comments and parentheses around macro
11616 arguments.
11617
11618 2014-12-19 Torvald Riegel <triegel@redhat.com>
11619
11620 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11621 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11622 (__lll_private_flag): Remove.
11623 (lll_futex_wait): Likewise.
11624 (lll_futex_timed_wait): Likewise.
11625 (lll_futex_wake): Likewise.
11626 (lll_futex_requeue): Likewise.
11627 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11628 (__lll_timedwait_tid): Spell out argument names.
11629 (lll_timedwait_tid): Add comments and parentheses around macro
11630 arguments.
11631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11632 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11633
11634 2014-12-19 Torvald Riegel <triegel@redhat.com>
11635
11636 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11637 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11638 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11639 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11640 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11641 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11642 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11643 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11644 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11646 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11647 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11649 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11650 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11651 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11652 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11653 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11654 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11655
11656 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * sysdeps/x86_64/x32/Makefile: New file.
11659
11660 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11661
11662 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11663 1L with (mp_limb_t) 1.
11664
11665 2014-12-17 Roland McGrath <roland@hack.frob.com>
11666
11667 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11668 * nptl/libc_pthread_init.c: ... here.
11669 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11670 * nptl/register-atfork.c: ... here.
11671
11672 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11673 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11674 Use assert_perror to check its return value.
11675 (__gai_create_helper_thread): Likewise.
11676
11677 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11678
11679 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11680
11681 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11682
11683 [BZ #17725]
11684 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11685 __profil_counter.
11686 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11687 Likewise.
11688 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11689 Likewise.
11690 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11691 Likewise.
11692 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11693 (profil_counter): Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11695 (profil_counter): Likewise.
11696 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11697 Likewise.
11698 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11699 Likewise.
11700 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11701 (profil_counter): Likewise.
11702 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11703 Likewise.
11704 [!__profil_counter] (profil_counter): Define as weak alias of
11705 __profil_counter.
11706 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11707 (profil_counter): Rename to __profil_counter.
11708 [!__profil_counter] (profil_counter): Define as weak alias of
11709 __profil_counter.
11710 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11711 (profil_counter): Rename to __profil_counter.
11712 [!__profil_counter] (profil_counter): Define as weak alias of
11713 __profil_counter.
11714 * sysdeps/posix/profil.c: Update comment referring to
11715 profil_counter.
11716 (__profil): Use __profil_counter instead of profil_counter.
11717 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11718 __profil_counter. Use __profil_counter_ushort and
11719 __profil_counter_uint in definitions.
11720 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11721 instead of profil_counter_uint and profil_counter_ushort.
11722
11723 [BZ #17722]
11724 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11725 define as weak alias of __inet_makeaddr.
11726 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11727 as weak alias of __inet_addr.
11728 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11729 as weak alias of __inet_pton. Use libc_hidden_weak.
11730 * include/arpa/inet.h (__inet_pton): Declare. Use
11731 libc_hidden_proto.
11732 (inet_makeaddr): Don't use libc_hidden_proto.
11733 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11734 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11735 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11736 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11737 Remove variable.
11738 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11739 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11740
11741 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11742
11743 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11744
11745 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11746
11747 * stdio-common/bug-vfprintf-nargs.c (do_test):
11748 Cast value to intptr_t to avoid format warning
11749 for usage with PRIdPTR printing macro.
11750
11751 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11752
11753 * libio/tst-widetext.c (do_test):
11754 Use format type %td instead of %Zd for ptrdiff_t
11755 in order to avoid format warning.
11756
11757 2014-12-17 Andreas Schwab <schwab@suse.de>
11758
11759 * nscd/mem.c (gc): Add size_t cast to match printf format.
11760
11761 2014-12-16 Roland McGrath <roland@hack.frob.com>
11762
11763 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11764 (init): Apply PTR_MANGLE to pointers before storing them.
11765 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11766 before using them.
11767
11768 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11769
11770 [BZ #17719]
11771 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11772 define as weak alias of __memrchr.
11773 (__memrchr): Do not define as strong alias of memrchr.
11774 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11775 Remove variable.
11776 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11777 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11778 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11779
11780 [BZ #17717]
11781 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11782 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11783 (if_indextoname): Rename to __if_indextoname and define as weak
11784 alias of __if_indextoname. Use libc_hidden_weak.
11785 (if_freenameindex): Rename to __if_freenameindex and define as
11786 weak alias of __if_freenameindex.
11787 (if_nameindex): Rename to __if_nameindex and define as weak alias
11788 of __if_nameindex.
11789 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11790 __if_nametoindex and define as weak alias of __if_nametoindex.
11791 Use libc_hidden_weak.
11792 (if_freenameindex): Rename to __if_freenameindex and define as
11793 weak alias of __if_freenameindex.
11794 (if_nameindex): Rename to __if_nameindex and define as weak alias
11795 of __if_nameindex.
11796 (if_indextoname): Rename to __if_indextoname and define as weak
11797 alias of __if_indextoname. Use libc_hidden_weak.
11798 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11799 __if_nametoindex and define as weak alias of __if_nametoindex.
11800 Use libc_hidden_weak.
11801 (if_freenameindex): Rename to __if_freenameindex and define as
11802 weak alias of __if_freenameindex. Use libc_hidden_weak.
11803 (if_nameindex_netlink): Use __if_freenameindex instead of
11804 if_freenameindex.
11805 (if_nameindex): Rename to __if_nameindex and define as weak alias
11806 of __if_nameindex. Use libc_hidden_weak.
11807 (if_indextoname): Rename to __if_indextoname and define as weak
11808 alias of __if_indextoname. Use libc_hidden_weak.
11809 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11810 libc_hidden_proto.
11811 [!_ISOMAC] (__if_freenameindex): Likewise.
11812 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11813 if_nametoindex.
11814 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11815 variable.
11816 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11817 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11818 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11819 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11820 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11821 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11822 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11823
11824 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11825 Remove variable.
11826 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11827 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11828
11829 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
11831 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11832 subscript above bounds'
11833
11834 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11835 bounds.
11836
11837 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11838
11839 * libio/tst-fopenloc.c: Use test-skeleton.c.
11840
11841 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11842 (entry): Rename to ITEM.
11843 (do_test, comp): Adjust.
11844
11845 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11846
11847 2014-12-16 Torvald Riegel <triegel@redhat.com>
11848
11849 * string/tester.c: Include <libc-internal.h>.
11850 (test_memset): Ignore -Wmemset-transposed-args.
11851
11852 2014-12-16 Torvald Riegel <triegel@redhat.com>
11853
11854 * misc/tst-mntent2.c (do_test): Fix warning.
11855
11856 2014-12-16 Torvald Riegel <triegel@redhat.com>
11857
11858 * elf/tst-unique4lib.cc(a): Mark as used.
11859
11860 2014-12-16 Florian Weimer <fweimer@redhat.com>
11861
11862 [BZ #17630]
11863 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11864 names.
11865
11866 2014-12-16 Allan McRae <allan@archlinux.org>
11867
11868 * stdio-common/Makefile (tests): Re-add bug26.
11869
11870 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11871
11872 [BZ #17657]
11873 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11874 static array.
11875
11876 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11877
11878 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11879 (__lll_lock_wait): Likewise.
11880 (__lll_timedlock_wait): Likewise.
11881 (__lll_timedwait_tid): Likewise.
11882 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11883 (__lll_robust_timedlock_wait): Likewise.
11884 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11885 (lll_cond_trylock): Likewise.
11886 (__lll_lock): Likewise.
11887 (__lll_robust_lock): Likewise.
11888 (__lll_cond_lock): Likewise.
11889 (lll_robust_cond_lock): Likewise.
11890 (__lll_timedlock): Likewise.
11891 (__lll_robust_timedlock): Likewise.
11892 (__lll_unlock): Likewise.
11893 (__lll_robust_unlock): Likewise.
11894 (lll_wait_tid): Likewise.
11895 (lll_timedwait_tid): Likewise.
11896
11897 2014-12-15 Torvald Riegel <triegel@redhat.com>
11898
11899 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11900
11901 2014-12-15 Torvald Riegel <triegel@redhat.com>
11902
11903 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11904
11905 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11906
11907 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11908 * stdio-common/tst-sprintf.c: Likewise.
11909
11910 2014-12-15 Torvald Riegel <triegel@redhat.com>
11911
11912 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11913
11914 2014-12-15 Jeff Law <law@redhat.com>
11915
11916 [BZ #16617]
11917 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11918 on the heap. (CVE-2012-3406)
11919 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11920 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11921 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11922
11923 2014-12-15 Will Newton <will.newton@linaro.org>
11924
11925 * manual/install.texi: Bump required version of texinfo
11926 to 4.7 from 4.5.
11927 * INSTALL: Regenerated.
11928 * configure.ac: Check for makeinfo version 4.7 and above.
11929 * configure: Regenerated.
11930
11931 2014-12-12 Roland McGrath <roland@hack.frob.com>
11932
11933 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11934 PREFIX, string constant to insert between directory and name.
11935 * sysdeps/posix/shm_open.c: Update caller.
11936 * sysdeps/posix/shm_unlink.c: Likewise.
11937 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11938 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11939 (SEM_SHM_PREFIX): New macro.
11940 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11941 [$(have-thread-library) = no].
11942 * nptl/Makefile (libpthread-routines): Add shm-directory.
11943 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11944 * sysdeps/nptl/shm-directory.h: New file.
11945 * sysdeps/posix/shm-directory.c
11946 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11947 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11948 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11949 INTERNAL_SYSCALL.
11950 (__where_is_shmfs): Function removed.
11951 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11952 Variables removed.
11953 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11954 Use SHM_GET_NAME.
11955 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11956
11957 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11958 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11959 unconditional for use inside libpthread.
11960 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11961
11962 2014-12-12 Roland McGrath <roland@hack.frob.com>
11963
11964 * nptl/pthread_getaffinity.c: New file.
11965 * nptl/pthread_setaffinity.c: New file.
11966 * nptl/pthread_getname.c: New file.
11967 * nptl/pthread_setname.c: New file.
11968
11969 * nptl/pthread_create.c (START_THREAD_DEFN)
11970 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11971
11972 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11974
11975 * resolv/res_send.c (send_vc): Disable warning resplen may
11976 be used uninitialized.
11977
11978 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11979
11980 * nptl/tst-mutex6.c
11981 (ATTR_NULL): New define checks ATTR against NULL.
11982 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11983 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11984
11985 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11986
11987 [BZ #17581]
11988 * malloc/hooks.c
11989 (mem2mem_check): Revert my previous change.
11990 (malloc_check_get_size): Revert my previous change.
11991 (mem2chunk_check): Revert my previous change.
11992
11993 2014-12-11 Roland McGrath <roland@hack.frob.com>
11994
11995 * sysdeps/posix/shm-directory.c: New file.
11996 * sysdeps/posix/shm-directory.h: New file.
11997 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11998 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11999 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12000 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12001 Transmute EPERM to EACCES.
12002 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12003 from ...
12004 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12005 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12006
12007 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12008
12009 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12010 pointer and cast to uintptr_t.
12011 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12012 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12013 Add cast to avoid warning.
12014 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12015
12016 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12017
12018 * nptl/semaphore.h: Move to ...
12019 * sysdeps/pthread/semaphore.h: ... here.
12020 * Makefile (installed-headers): Change nptl/semaphore.h to
12021 sysdeps/pthread/semaphore.h.
12022
12023 2014-12-11 Roland McGrath <roland@hack.frob.com>
12024
12025 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12026 generated error format strings.
12027
12028 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12029 -Wformat-extra-args warnings for scanf formats.
12030 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12031 test of zero-length format (duh).
12032 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12033 corner-case scanf format test.
12034 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12035 generated fprintf format string.
12036 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12037 corner-case sprintf format tests.
12038 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12039 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12040 -Wformat-extra-args warnings throughout.
12041 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12042 (CFLAGS-scanf4.c): Likewise.
12043 (CFLAGS-scanf7.c): Likewise.
12044 (CFLAGS-tst-sprintf.c): Likewise.
12045 (CFLAGS-tst-printf.c): Likewise.
12046 (CFLAGS-tst-printfsz.c): Likewise.
12047
12048 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12049
12050 * include/cpio.h: New file.
12051 * include/fmtmsg.h: Likewise.
12052
12053 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12054 corresponding format argument to size_t.
12055 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12056 arguments.
12057 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12058 corresponding format argument to size_t.
12059 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12060 arguments.
12061 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12062 corresponding format argument to size_t.
12063 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12064 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12065 (CFLAGS-tst-mbswcs2.c): Likewise.
12066 (CFLAGS-tst-mbswcs3.c): Likewise.
12067 (CFLAGS-tst-mbswcs4.c): Likewise.
12068 (CFLAGS-tst-mbswcs5.c): Likewise.
12069 (CFLAGS-tst-trans.c): Likewise
12070
12071 2014-12-11 Roland McGrath <roland@hack.frob.com>
12072
12073 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12074 rather than assuming they won't contain any '%'s.
12075
12076 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12077
12078 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12079 inhibit_loop_to_libcall to avoid recursive calls.
12080 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12081 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12082
12083 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12084
12085 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12086 prototype.
12087
12088 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12089
12090 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12091 integer value instead of boolean.
12092
12093 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12094
12095 * malloc/malloc.c: Fix powerof2 check.
12096
12097 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12098
12099 * locale/programs/locfile.h (maybe_swap_uint32):
12100 Remove inline and add unused attribute.
12101
12102 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12103
12104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12105 Truncating assembler expression to a .long expression.
12106
12107 2014-12-11 Andreas Schwab <schwab@suse.de>
12108
12109 * elf/rtld.c (struct map_args): Constify str member.
12110 (do_preload): Constify fname argument.
12111
12112 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113
12114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12115 constants definition.
12116
12117 2014-12-11 Andreas Schwab <schwab@suse.de>
12118
12119 [BZ #16657]
12120 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12121 FORCE_ELISION instead of DO_ELISION.
12122 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12123 Remove.
12124 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12125 Likewise.
12126
12127 * iconvdata/gconv-modules: Remove duplicate entry.
12128
12129 2014-12-11 Will Newton <will.newton@linaro.org>
12130
12131 Merge gettext 0.19.3 into intl/.
12132
12133 This involves a number of cosmetic changes to comments
12134 and ANSI function definitions and prototypes throughout
12135 all the files. The gettext copyright header is used but
12136 with the date ranges taken from the glibc copy.
12137
12138 * NEWS: Add gettext merge to 2.21.
12139 * intl/bindtextdom.c: Switch to gettext copyright.
12140 Use ANSI definitions and prototypes.
12141 Use gl_* locking primitives rather than __libc_* ones.
12142 Use __builtin_expect rather than __glibc_likely/unlikely.
12143 * intl/dcgettext.c: Switch to gettext copyright.
12144 Use ANSI definitions and prototypes.
12145 * intl/dcigettext.c: Switch to gettext copyright.
12146 Use ANSI definitions and prototypes.
12147 (INTDIV0_RAISES_SIGFPE): New define.
12148 Use gl_* locking primitives rather than __libc_* ones.
12149 Include eval-plural.h instead of plural-eval.c.
12150 Use __builtin_expect rather than __glibc_likely/unlikely.
12151 * intl/dcngettext.c: Switch to gettext copyright.
12152 Use ANSI definitions and prototypes.
12153 * intl/dgettext.c: Likewise.
12154 * intl/dngettext.c: Likewise.
12155 * intl/plural-eval.c: Renamed to...
12156 * intl/eval-plural.h: ...this.
12157 * intl/explodename.c: Switch to gettext copyright.
12158 Use ANSI definitions and prototypes.
12159 (_nl_explode_name): Use strchr instead of __rawmemchr.
12160 * intl/finddomain.c: Switch to gettext copyright.
12161 Use ANSI definitions and prototypes.
12162 Use gl_* locking primitives rather than __libc_* ones.
12163 (_nl_find_domain): Use malloc rather than alloca for
12164 allocation of temporary locale name.
12165 * intl/gettext.c: Switch to gettext copyright.
12166 Use ANSI definitions and prototypes.
12167 * intl/gettextP.h: Switch to gettext copyright.
12168 Use ANSI definitions and prototypes.
12169 Use gl_* locking primitives rather than __libc_* ones.
12170 * intl/gmo.h: Switch to gettext copyright.
12171 (struct sysdep_string): Move struct segment_pair outside of
12172 struct definition.
12173 * intl/hash-string.c: Use ANSI definitions and prototypes.
12174 * intl/hash-string.h: Switch to gettext copyright.
12175 Use ANSI definitions and prototypes.
12176 * intl/l10nflist.c: Switch to gettext copyright.
12177 Use ANSI definitions and prototypes.
12178 (_nl_normalize_codeset): Avoid integer overflow.
12179 * intl/loadinfo.h: Switch to gettext copyright.
12180 Use ANSI definitions and prototypes.
12181 (LIBINTL_DLL_EXPORTED): New define.
12182 (PATH_SEPARATOR): New define.
12183 * intl/loadmsgcat.c: Switch to gettext copyright.
12184 * intl/localealias.c: Switch to gettext copyright.
12185 Use ANSI definitions and prototypes.
12186 (_nl_expand_alias): Use PATH_SEPARATOR.
12187 * intl/ngettext.c: Switch to gettext copyright.
12188 Use ANSI definitions and prototypes.
12189 * intl/plural-exp.c: Likewise.
12190 * intl/plural-exp.h: Switch to gettext copyright.
12191 Use ANSI definitions and prototypes.
12192 (struct expression): Move definition of enum operator outside
12193 of struct definition.
12194 * intl/plural.c: Regenerate.
12195 * intl/plural.y: Switch to gettext copyright.
12196 Use ANSI definitions and prototypes.
12197 Port to bison 3.0.
12198 * intl/textdomain.c: Switch to gettext copyright.
12199 Use ANSI definitions and prototypes.
12200 Use gl_* locking primitives rather than __libc_* ones.
12201
12202 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12203
12204 * debug/warning-nop.c: Add used atrribute.
12205
12206 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12207
12208 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12209
12210 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12211 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12212 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12213
12214 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12215 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 [BZ #17634]
12218 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12219 Undefine after defining function. Define as weak alias of
12220 __wcschr. Use libc_hidden_weak.
12221 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12222 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12223 (libc_hidden_def): Also define __GI___wcschr alias.
12224 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12225 __wcschr and define as weak alias of __wcschr.
12226 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12227 __wcschr.
12228 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12229 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12230 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12231 libc_hidden_weak. Do not use libc_hidden_def.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12233 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12234 __GI___wcschr alias.
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12236 [IS_IN (libc)] (wcschr): Define as macro expanding to
12237 __redirect_wcschr.
12238 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12239 [IS_IN (libc)] (__wcschr_power6): Likewise.
12240 [IS_IN (libc)] (__wcschr_power7): Likewise.
12241 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12242 instead of wcschr.
12243 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12244 __libc_wcschr.
12245 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12246 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12247 __wcschr and define as weak alias of __wcschr. Use
12248 libc_hidden_builtin_def.
12249 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12250 as weak alias of __wcschr. Use libc_hidden_weak.
12251 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12252 wcschr.
12253 * time/era.c (_nl_init_era_entries): Likewise.
12254 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12255 variable.
12256 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12257 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12258
12259 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12260
12261 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12262 format for long int variable.
12263
12264 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12265
12266 [BZ #10672]
12267 * manual/search.texi: (Array Sort Function): Remove claim how to make
12268 qsort stable.
12269
12270 2014-12-10 Andreas Schwab <schwab@suse.de>
12271
12272 [BZ #12847]
12273 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12274 user-controlled locks.
12275
12276 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12277
12278 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12279 register.
12280
12281 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12282
12283 * configure.ac (--disable-werror): New configure option.
12284 (enable_werror): New AC_SUBST.
12285 * configure: Regenerated.
12286 * config.make.in (enable-werror): New variable.
12287 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12288 -Wno-error=undef.
12289 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12290 * manual/install.texi (Configuring and compiling): Document
12291 --disable-werror.
12292 * INSTALL: Regenerated.
12293 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12294 (CFLAGS-tst-chk2.c): Likewise.
12295 (CFLAGS-tst-chk3.c): Likewise.
12296 (CFLAGS-tst-chk4.cc): Likewise.
12297 (CFLAGS-tst-chk5.cc): Likewise.
12298 (CFLAGS-tst-chk6.cc): Likewise.
12299 (CFLAGS-tst-lfschk1.c): Likewise.
12300 (CFLAGS-tst-lfschk2.c): Likewise.
12301 (CFLAGS-tst-lfschk3.c): Likewise.
12302 (CFLAGS-tst-lfschk4.cc): Likewise.
12303 (CFLAGS-tst-lfschk5.cc): Likewise.
12304 (CFLAGS-tst-lfschk6.cc): Likewise.
12305
12306 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12307 (main): Disable -Wdeprecated-declarations around calls to
12308 register_printf_function.
12309
12310 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12311 (do_test): Disable -Wdiv-by-zero around some calls to
12312 fwrite_unlocked and fread_unlocked.
12313
12314 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12315 (DIAG_POP_NEEDS_COMMENT): Likewise.
12316 (_DIAG_STR1): Likewise.
12317 (_DIAG_STR): Likewise.
12318 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12319 * stdio-common/bug21.c: Include <libc-internal.h>.
12320 (do_test): Disable -Wformat around call to sscanf.
12321 * stdio-common/scanf14.c: Include <libc-internal.h>.
12322 (main): Disable -Wformat around some calls to scanf functions.
12323
12324 2014-12-09 Torvald Riegel <triegel@redhat.com>
12325
12326 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12327
12328 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329
12330 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12331 stack variable alignment.
12332
12333 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12334
12335 [BZ #17682]
12336 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12337 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12338 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12339 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12340 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12341 __getrlimit instead of getrlimit.
12342 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12343 __gettimeofday instead of gettimeofday.
12344 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12345 Likewise.
12346 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12347 Likewise.
12348 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12349 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12350 Remove variable.
12351 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12352 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12353
12354 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12355
12356 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12357 for wide-character tests.
12358
12359 2014-12-04 Roland McGrath <roland@hack.frob.com>
12360
12361 * io/openat64.c: #include <libc-internal.h>
12362 (__openat64): Prototypify. Use ignore_value on MODE.
12363 * io/openat.c: Likewise.
12364 * misc/reboot.c: #include <libc-internal.h>
12365 (reboot): Prototypify. Use ignore_value on HOWTO.
12366 * misc/ptrace.c: #include <libc-internal.h>
12367 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12368
12369 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12370
12371 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12372 XPG4, UNIX98 and XOPEN2K.
12373 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12374 Remove variable.
12375 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12376
12377 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12378
12379 * libio/fileops.c: Use ISO C style for function definitions.
12380 * libio/iofopen.c: Likewise.
12381 * libio/wfileops.c: Likewise.
12382
12383 [BZ #17653]
12384 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12385 offset on EOF.
12386 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12387 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12388 (fgets_func): Function pointer to fgets and fgetws.
12389 (do_ftell_test): Add test to verify ftell value after read
12390 EOF.
12391 (do_test): Set fgets_func.
12392
12393 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12394 O_TRUNC flag for w and w+ modes.
12395 (do_rewind_test): Likewise.
12396 (do_ftell_test): Likewise.
12397 (do_write_test): Likewise.
12398
12399 [BZ #17647]
12400 * libio/fileops.c (do_ftell): Seek only when there are
12401 unflushed writes.
12402 * libio/wfileops.c (do_ftell_wide): Likewise.
12403 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12404 test case.
12405 (do_one_test): Call it.
12406
12407 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12408
12409 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12410 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12411 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12412 Remove variable.
12413 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12414 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12415 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12416
12417 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12418
12419 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12420 Remove variable.
12421 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12422
12423 [BZ #17668]
12424 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12425 as weak alias of __getifaddrs. Use libc_hidden_weak.
12426 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12427 __freeifaddrs. Use libc_hidden_weak.
12428 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12429 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12430 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12431 __freeifaddrs. Use libc_hidden_weak.
12432 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12433 __getifaddrs and define as weak alias of __getifaddrs. Use
12434 libc_hidden_weak.
12435 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12436 __freeifaddrs. Use libc_hidden_weak.
12437 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12438 Remove variable.
12439 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12440 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12441
12442 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12443
12444 [BZ #17601]
12445 * sysdeps/mips/start.S (__start): Use indirect jump to call
12446 __libc_start_main.
12447
12448 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12449
12450 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12451
12452 * nptl/tst-mutex1.c: Include <stdbool.h>.
12453 [!ATTR] (ATTR_NULL): New macro.
12454 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12455 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12456 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12457
12458 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12459 to char *.
12460
12461 [BZ #17665]
12462 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12463 Change conditional to [__USE_MISC].
12464
12465 [BZ #17664]
12466 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12467 fgets_unlocked.
12468 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12469 __fgets_unlocked.
12470 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12471 fgets_unlocked.
12472 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12473 Remove variable.
12474 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12475 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12476 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12477 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12478 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12479 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12480 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12481 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12482 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12483
12484 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12485
12486 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12487
12488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12489 Remove strpbrk objects.
12490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12491 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12492 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12493 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12494 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12495 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12496
12497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12498 Remove strcspn objects.
12499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12500 (__libc_ifunc_impl_list): Remove strcspn implementation.
12501 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12502 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12503 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12504 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12505
12506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12507 Remove strspn objetcs.
12508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12509 (__libc_ifunc_impl_list): Remove strspn implementation.
12510 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12511 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12512 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12513 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12514
12515 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12516
12517 [BZ #17581]
12518 * malloc/hooks.c
12519 (mem2mem_check): Add a terminator to the chain of checking blocks.
12520 (malloc_check_get_size): Use it here.
12521 (mem2chunk_check): Ditto.
12522
12523 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12524
12525 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12526 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12527
12528 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12529
12530 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12531
12532 * nptl/nptl-init.c: Include libc-internal.h.
12533 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12534
12535 * elf/ldconfig.c (search_dir): Expand comment.
12536
12537 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12538
12539 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12540 variable.
12541 (linknamespace-symlist-stdlibs-tests): Likewise.
12542 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12543 instead of $(objpfx)symlist-stdlibs.
12544 (linknamespace-libs-isoc): New variable.
12545 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12546 (linknamespace-libs-ISO): New variable.
12547 (linknamespace-libs-ISO99): Likewise.
12548 (linknamespace-libs-ISO11): Likewise.
12549 (linknamespace-libs-XPG3): Likewise.
12550 (linknamespace-libs-XPG4): Likewise.
12551 (linknamespace-libs-POSIX): Likewise.
12552 (linknamespace-libs-UNIX98): Likewise.
12553 (linknamespace-libs-XOPEN2K): Likewise.
12554 (linknamespace-libs-POSIX2008): Likewise.
12555 (linknamespace-libs-XOPEN2K8): Likewise.
12556 ($(objpfx)symlist-stdlibs): Replace by
12557 $(linknamespace-symlist-stdlibs-tests). Use
12558 $(linknamespace-libs-$*) as set of libraries.
12559 ($(linknamespace-header-tests)): Update dependencies. Use
12560 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12561 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12562 * conform/linknamespace.pl: Remove comment about considering
12563 definitions of symbols from irrelevant libraries.
12564
12565 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 [BZ #13862]
12568 * elf/dl-tls.c: Include <atomic.h>.
12569 (oom): Remove #ifdef SHARED/#endif.
12570 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12571 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12572 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12573 big enough.
12574 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12575 * nptl/Makefile (tests): Add tst-stack4.
12576 (modules-names): Add tst-stack4mod.
12577 ($(objpfx)tst-stack4): New.
12578 (tst-stack4mod.sos): Likewise.
12579 ($(objpfx)tst-stack4.out): Likewise.
12580 ($(tst-stack4mod.sos)): Likewise.
12581 (clean): Likewise.
12582 * nptl/tst-stack4.c: New file.
12583 * nptl/tst-stack4mod.c: Likewise.
12584
12585 2014-11-27 J. Brown <jb999@gmx.de>
12586
12587 * sysdeps/x86/bits/string.h: Add recent CPUs.
12588
12589 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12590
12591 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12592 sigblock.
12593
12594 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12595 feof.
12596
12597 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12598 variable.
12599
12600 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12601
12602 * nscd/connections.c: Include libc-internal.h because of macro
12603 usage ignore_value.
12604
12605 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12606
12607 * string/bits/string3.h (__warn_memset_zero_len): Don't
12608 declare for gcc newer than 5.0.
12609 (memset): Don't test for zero-length __LEN for gcc newer than
12610 5.0.
12611
12612 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12613
12614 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12615 size_t for %zu format.
12616
12617 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12618 difference, not %ju.
12619
12620 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12621
12622 * include/libc-internal.h (ignore_value): New macro.
12623 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12624 with ignore_value.
12625
12626 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12627 definition.
12628
12629 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12630 pthread_cleanup_push to void *.
12631
12632 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12633 Undefine.
12634
12635 [BZ #16619]
12636 [BZ #16740]
12637 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12638 instead of 1L << 52.
12639
12640 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12641 * libio/bug-rewind2.c (do_test): Likewise.
12642
12643 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12644 * debug/test-strcpy_chk-ifunc.c: Likewise.
12645 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12646 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12647 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12648 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12649 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12650 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12651 * Rules [$(multi-arch) = no] (tests): Do not filter out
12652 $(tests-ifunc).
12653 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12654 * debug/Makefile (tests-ifunc): Remove variable.
12655 (tests): Do not add $(tests-ifunc).
12656 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12657 (tests): Do not add $(tests-ifunc).
12658 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12659 [TEST_IFUNC]: Remove conditionals.
12660 * string/test-string.h (TEST_IFUNC): Remove macro.
12661 [TEST_IFUNC]: Remove conditionals.
12662
12663 * string/test-strchr.c [!WIDE] (L): New macro.
12664 [WIDE] (L): Likewise.
12665 (check1): Use CHAR instead of char. Use L on string and character
12666 constants.
12667
12668 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12669
12670 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12671 tests.
12672 * sysdeps/powerpc/bits/atomic.h
12673 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12674 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12675 (atomic_exchange_and_add_acq): Likewise.
12676 (atomic_exchange_and_add_rel): Likewise.
12677 * sysdeps/powerpc/powerpc32/bits/atomic.h
12678 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12679 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12680 * sysdeps/powerpc/powerpc64/bits/atomic.h
12681 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12682 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12683
12684 2014-11-26 Torvald Riegel <triegel@redhat.com>
12685
12686 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12687 Change synchronization of __sched_fifo_min_prio and
12688 __sched_fifo_max_prio.
12689 * nptl/pthread_mutexattr_getprioceiling.c
12690 (pthread_mutexattr_getprioceiling): Likewise.
12691 * nptl/pthread_mutexattr_setprioceiling.c
12692 (pthread_mutexattr_setprioceiling): Likewise.
12693 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12694 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12695 Likewise.
12696
12697 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12698
12699 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12700 void.
12701
12702 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12703
12704 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12705 third argument const.
12706
12707 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12708
12709 fnmatch: work around GCC compiler warning bug with uninit var
12710 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12711 This works around a bug with x86-64 GCC 4.9.2 and earlier
12712 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12713 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12714 used uninitialized in this function [-Wmaybe-uninitialized]".
12715
12716 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12717
12718 * posix/bug-regex31.c (main): Return RES not 0.
12719
12720 2014-11-25 Anton Blanchard <anton@samba.org>
12721
12722 * sysdeps/powerpc/bits/atomic.h
12723 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12724
12725 2014-11-24 Sterling Augustine <saugustine@google.com>
12726
12727 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12728
12729 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12730
12731 [BZ #17608]
12732 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12733
12734 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #17633]
12737 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12738 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12739 variable.
12740 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12741 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12742
12743 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12744
12745 * string/strncpy.c (strncpy): Improve performance by using memset.
12746
12747 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12748
12749 * string/strcpy.c (strcpy):
12750 Improve performance by using strlen and memcpy.
12751
12752 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12753
12754 * string/strcoll_l.c (get_next_seq): __always_inline.
12755 * string/strcoll_l.c (do_compare): __always_inline.
12756
12757 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12758
12759 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12760 defined.
12761 * include/mqueue.h: Likewise.
12762 * include/stdlib.h: Likewise.
12763
12764 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12765 (get_null_defines): Adjust.
12766 * sunrpc/Makefile: Adjust comment.
12767 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12768 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12769 (CFLAGS-interp.c): Likewise.
12770 (CFLAGS-ldconfig.c): Likewise.
12771 (CPPFLAGS-.os): Likewise.
12772 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12773 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12774 * extra-modules.mk (extra-modules.mk): Likewise.
12775 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12776 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12777 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12778 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12779 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12780 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12781 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12782 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12783 * iconvdata/Makefile (CPPFLAGS): Likewise.
12784 (cpp-srcs-left): Add libof for all iconvdata routines.
12785 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12786 * include/assert.h: Likewise.
12787 * include/ctype.h: Likewise.
12788 * include/errno.h: Likewise.
12789 * include/libc-symbols.h: Likewise.
12790 * include/math.h: Likewise.
12791 * include/netdb.h: Likewise.
12792 * include/resolv.h: Likewise.
12793 * include/stdio.h: Likewise.
12794 * include/stdlib.h: Likewise.
12795 * include/string.h: Likewise.
12796 * include/sys/stat.h: Likewise.
12797 * include/wctype.h: Likewise.
12798 * intl/l10nflist.c: Likewise.
12799 * libidn/idn-stub.c: Likewise.
12800 * libio/libioP.h: Likewise.
12801 * nptl/libc_multiple_threads.c: Likewise.
12802 * nptl/pthreadP.h: Likewise.
12803 * posix/regex_internal.h: Likewise.
12804 * resolv/res_hconf.c: Likewise.
12805 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12806 * sysdeps/arm/memmove.S: Likewise.
12807 * sysdeps/arm/sysdep.h: Likewise.
12808 * sysdeps/generic/_itoa.h: Likewise.
12809 * sysdeps/generic/symbol-hacks.h: Likewise.
12810 * sysdeps/gnu/errlist.awk: Likewise.
12811 * sysdeps/gnu/errlist.c: Likewise.
12812 * sysdeps/i386/i586/memcpy.S: Likewise.
12813 * sysdeps/i386/i586/memset.S: Likewise.
12814 * sysdeps/i386/i686/memcpy.S: Likewise.
12815 * sysdeps/i386/i686/memmove.S: Likewise.
12816 * sysdeps/i386/i686/mempcpy.S: Likewise.
12817 * sysdeps/i386/i686/memset.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12835 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12865 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12870 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12873 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12876 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12879 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12880 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12881 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12882 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12883 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12884 * sysdeps/posix/closedir.c: Likewise.
12885 * sysdeps/posix/opendir.c: Likewise.
12886 * sysdeps/posix/readdir.c: Likewise.
12887 * sysdeps/posix/rewinddir.c: Likewise.
12888 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12889 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12890 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12891 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12892 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12893 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12894 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12895 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12899 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12900 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12901 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12902 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12903 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12904 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12905 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12906 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12908 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12910 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12911 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12916 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12923 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12924 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12925 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12926 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12927 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12928 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12929 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12930 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12932 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12933 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12934 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12935 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12936 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12937 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12938 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12939 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12940 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12942 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12943 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12944 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12945 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12946 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12947 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12948 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12949 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12951 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12952 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12953 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12954 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12955 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12956 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12957 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12958 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12959 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12960 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12961 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12962 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12963 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12964 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12965 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12966 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12967 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12968 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12971 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12972 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12973 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12974 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12975 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12976 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12977 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12978 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12979 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12980 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12982 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12984 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12986 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12987 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12988 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12989 * sysdeps/unix/alpha/sysdep.S: Likewise.
12990 * sysdeps/unix/alpha/sysdep.h: Likewise.
12991 * sysdeps/unix/make-syscalls.sh: Likewise.
12992 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12993 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12994 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12995 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12996 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12997 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12998 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12999 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13000 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13001 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13002 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13003 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13004 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13005 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13006 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13007 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13008 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13009 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13010 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13011 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13012 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13013 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13014 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13015 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13016 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13017 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13021 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13022 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13023 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13024 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13026 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13031 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13032 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13033 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13034 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13035 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13036 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13039 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13042 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13043 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13044 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13045 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13046 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13047 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13048 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13050 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13051 * sysdeps/x86_64/memcpy.S: Likewise.
13052 * sysdeps/x86_64/memmove.c: Likewise.
13053 * sysdeps/x86_64/memset.S: Likewise.
13054 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13056 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13057 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13058 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13061 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13062 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13063 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13064 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13065 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13066 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13067 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13068 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13069 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13071 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13072 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13073 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13074 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13075 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13077 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13078 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13079 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13080 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13081 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13082 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13083 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13084 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13085 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13086 * sysdeps/x86_64/strcmp.S: Likewise.
13087
13088 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13089
13090 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13091 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13092 * elf/rtld-Rules: Likewise.
13093 * elf/setup-vdso.h: Likewise.
13094 * include/assert.h: Likewise.
13095 * include/bits/stdlib-float.h: Likewise.
13096 * include/errno.h: Likewise.
13097 * include/sys/stat.h: Likewise.
13098 * include/unistd.h: Likewise.
13099 * sysdeps/aarch64/setjmp.S: Likewise.
13100 * sysdeps/alpha/setjmp.S: Likewise.
13101 * sysdeps/arm/__longjmp.S: Likewise.
13102 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13103 * sysdeps/arm/setjmp.S: Likewise.
13104 * sysdeps/arm/sysdep.h: Likewise.
13105 * sysdeps/generic/_itoa.h: Likewise.
13106 * sysdeps/generic/dl-sysdep.h: Likewise.
13107 * sysdeps/generic/ldsodefs.h: Likewise.
13108 * sysdeps/i386/dl-tls.h: Likewise.
13109 * sysdeps/i386/setjmp.S: Likewise.
13110 * sysdeps/m68k/setjmp.c: Likewise.
13111 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13112 * sysdeps/mach/hurd/opendir.c: Likewise.
13113 * sysdeps/posix/getcwd.c: Likewise.
13114 * sysdeps/posix/opendir.c: Likewise.
13115 * sysdeps/posix/profil.c: Likewise.
13116 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13117 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13120 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13121 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13122 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13123 * sysdeps/s390/dl-tls.h: Likewise.
13124 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13125 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13126 * sysdeps/sh/sh3/setjmp.S: Likewise.
13127 * sysdeps/sh/sh4/setjmp.S: Likewise.
13128 * sysdeps/unix/alpha/sysdep.h: Likewise.
13129 * sysdeps/unix/arm/sysdep.S: Likewise.
13130 * sysdeps/unix/i386/sysdep.S: Likewise.
13131 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13132 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13133 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13134 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13136 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13137 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13138 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13139 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13140 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13141 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13142 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13143 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13146 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13150 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13154 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13155 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13159 * sysdeps/x86_64/setjmp.S: Likewise.
13160
13161 * include/math.h: Use IS_IN instead of IS_IN_libm.
13162 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13174 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13179 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13182 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13183 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13184 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13185 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13186 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13187 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13189 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13190 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13191 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13192 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13196 Likewise.
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13198 Likewise.
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13200 Likewise.
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13202 Likewise.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13204 Likewise.
13205 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13206 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13208 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13209 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13210 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13216 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13217 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13218 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13219 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13220 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13221 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13222 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13223 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13224 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13225 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13226 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13227 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13229 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13231 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13232
13233 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13234 * nptl/pthreadP.h: Likewise.
13235 * nptl_db/structs.def: Likewise.
13236 * sysdeps/arm/sysdep.h: Likewise.
13237 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13238 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13239 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13240 * sysdeps/unix/alpha/sysdep.h: Likewise.
13241 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13242 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13243 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13244 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13245 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13246 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13247 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13248 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13249 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13250 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13251 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13252 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13253 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13254 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13259 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13262 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13263 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13264 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13265 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13267
13268 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13269 * nptl/pthreadP.h: Likewise.
13270 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13271 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13272 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13273 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13274 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13275 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13276 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13277 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13278 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13279 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13280 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13281 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13283 Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13285 Likewise.
13286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13288 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13292 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13294
13295 * dlfcn/dladdr.c: Use IS_IN.
13296 * dlfcn/dladdr1.c: Likewise.
13297 * dlfcn/dlclose.c: Likewise.
13298 * dlfcn/dlerror.c: Likewise.
13299 * dlfcn/dlinfo.c: Likewise.
13300 * dlfcn/dlmopen.c: Likewise.
13301 * dlfcn/dlopen.c: Likewise.
13302 * dlfcn/dlsym.c: Likewise.
13303 * dlfcn/dlvsym.c: Likewise.
13304
13305 * include/ifaddrs.h: Use IS_IN.
13306 * inet/check_pf.c: Likewise.
13307 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13308 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13309
13310 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13311 IS_IN_ldconfig.
13312 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13313 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13314
13315 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13316 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13317 IS_IN (libc).
13318
13319 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13320
13321 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13322 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13323 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13324 * include/libc-symbols.h (IS_IN_LIB): New macro.
13325 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13326 * include/netdb.h: Likewise.
13327 * include/stap-probe.h: Remove all uses of IN_LIB.
13328
13329 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13330 instead of IN_MODULE.
13331 * include/libc-symbols.h (IN_MODULE): Define using
13332 MODULE_NAME.
13333 (PASTE_NAME, PASTE_NAME1): New macros.
13334 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13335 of IN_LIB.
13336 (STAP_PROBE_ASM): Likewise.
13337
13338 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13339
13340 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13341 __mach_init in dlopened libc.
13342
13343 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13344
13345 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13346 * sysdeps/arm/preconfigure: Regenerate.
13347
13348 2014-11-21 Roland McGrath <roland@hack.frob.com>
13349
13350 * nptl/pthread_create.c (__pthread_create_2_1): Set
13351 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13352 when copying values from IATTR into PD.
13353
13354 2014-11-21 Will Newton <will.newton@linaro.org>
13355 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13356
13357 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13358 Refactor inline-asm. Also add comment.
13359
13360 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13361 ElfW macro instead of hardcoded Elf64 types.
13362 (la_aarch64_gnu_pltenter): Likewise.
13363 * sysdeps/aarch64/dl-machine.h
13364 (elf_machine_runtime_setup): Use ElfW(Addr).
13365
13366 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13367 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13368 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13369 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13370 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13371 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13372 (R_AARCH64_TLS_DTPMOD): This.
13373 (R_AARCH64_TLS_DTPREL64): Rename to ...
13374 (R_AARCH64_TLS_DTPREL): This.
13375 (R_AARCH64_TLS_TPREL64): Rename to ...
13376 (R_AARCH64_TLS_TPREL): This.
13377 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13378 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13379 R_AARCH64_TLS_TPREL64.
13380 (elf_machine_rela): Likewise.
13381
13382 2014-11-21 Torvald Riegel <triegel@redhat.com>
13383
13384 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13385 by setting it to 0. 64b atomics are not supported currently.
13386
13387 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13388
13389 [BZ #16469]
13390 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13391 search domain names.
13392
13393 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13394
13395 [BZ #16469]
13396 * NEWS: Update.
13397 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13398 trailing dot.
13399 * posix/tst-getaddrinfo5.c: New.
13400 * posix/Makefile (tests): Add it.
13401
13402 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13403
13404 [BZ #14498]
13405 * NEWS: Fixed.
13406 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13407 after parsing line but before break_if_match.
13408 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13409 if there is a protocol mismatch.
13410
13411 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13412
13413 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13414 because the potential race is on the user-supplied stream.
13415
13416 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13417
13418 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13419 string literal if not passed a buffer.
13420 * manual/job.texi (ctermid): Update reasoning, note deviation
13421 from posix, suggest mtasurace when not passed a buffer, for
13422 future non-preliminary safety notes.
13423
13424 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13425
13426 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13427 of not passing it a buffer.
13428 Reported by Peng Haitao.
13429
13430 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13431
13432 * manual/Makefile ($(objpfx)stamp-summary): Require
13433 check-safety.sh to pass.
13434 * manual/check-safety.sh: Wish for verification that every
13435 @deftypefn and @deftypefun is followed by a @safety remark.
13436
13437 2014-11-20 Roland McGrath <roland@hack.frob.com>
13438
13439 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13440
13441 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13442 PTHREAD_CANCEL_ASYNCHRONOUS.
13443 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13444 send SIGCANCEL.
13445
13446 * nptl/default-sched.h: New file.
13447 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13448 * nptl/pthread_create.c: Include it.
13449 (__pthread_create_2_1): Use collect_default_sched instead of making
13450 Linux syscalls here directly.
13451
13452 2014-11-20 Torvald Riegel <triegel@redhat.com>
13453
13454 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13455 __pthread_once): Use C11 atomics.
13456
13457 2014-11-20 Torvald Riegel <triegel@redhat.com>
13458
13459 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13460
13461 2014-11-20 Torvald Riegel <triegel@redhat.com>
13462
13463 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13464 atomic_thread_fence_acquire, atomic_thread_fence_release,
13465 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13466 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13467 atomic_compare_exchange_weak_relaxed,
13468 atomic_compare_exchange_weak_acquire,
13469 atomic_compare_exchange_weak_release,
13470 atomic_exchange_acquire, atomic_exchange_release,
13471 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13472 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13473 atomic_fetch_and_acquire,
13474 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13475
13476 2014-11-20 Torvald Riegel <triegel@redhat.com>
13477
13478 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13479 USE_ATOMIC_COMPILER_BUILTINS): Define.
13480 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13481 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13482 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13483 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13484 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13485 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13486 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13487 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13488 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13489 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13490 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13491 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13492 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13493 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13494 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13495 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13496 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13497 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13498 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13499 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13500 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13501 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13502 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13503 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13504 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13505 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13506 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13507 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13508 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13510 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13512 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13514 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13515 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13516 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13518 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13520
13521 2014-11-19 Roland McGrath <roland@hack.frob.com>
13522
13523 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13524 the sched_priority value here. It was already checked when the user
13525 called pthread_attr_setschedparam.
13526
13527 * nptl/tst-bad-schedattr.c: New file.
13528 * nptl/Makefile (tests): Add it.
13529
13530 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13531 Florian Weimer <fweimer@redhat.com>
13532 Joseph Myers <joseph@codesourcery.com>
13533 Adam Conrad <adconrad@0c3.net>
13534 Andreas Schwab <schwab@suse.de>
13535 Brooks <bmoses@google.com>
13536
13537 [BZ #17625]
13538 * wordexp-test.c (__dso_handle): Add prototype.
13539 (__register_atfork): Likewise.
13540 (__app_register_atfork): New function.
13541 (registered_forks): New global.
13542 (register_fork): New function.
13543 (test_case): Add 3 new tests for WRDE_CMDSUB.
13544 (main): Call __app_register_atfork.
13545 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13546 fork count is non-zero fail the test.
13547 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13548 is set.
13549 (parse_dollars): Remove check for WRDE_NOCMD.
13550 (parse_dquote): Likewise.
13551
13552 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13553
13554 * Makeconfig (built-modules): List non-library modules to be
13555 built.
13556 (module-cppflags): Include libc-modules.h for
13557 everything except shlib-versions.v.i.
13558 (CPPFLAGS): Use it.
13559 (before-compile): Add libc-modules.h.
13560 ($(common-objpfx)libc-modules.h,
13561 $(common-objpfx)libc-modules.stmp): New targets.
13562 (common-generated): Add libc-modules.h and libc-modules.stmp.
13563 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13564 * include/libc-symbols.h: Don't include libc-modules.h.
13565 * include/libc-modules.h: Remove file.
13566 * scripts/gen-libc-modules.awk: New script to generate
13567 libc-modules.h.
13568 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13569 Depend on libc-modules.stmp.
13570
13571 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13572
13573 * Makeconfig (in-module): Get value of libof set for the
13574 translation unit.
13575 (CPPFLAGS): Use $(in-module).
13576 * Makerules: Don't suffix routine names for nonlib.
13577 * include/libc-modules.h: New file.
13578 * include/libc-symbols.h: Include libc-modules.h
13579 (IS_IN): New macro to replace IS_IN_* macros.
13580 * elf/Makefile: Set libof-* for each routine.
13581 * elf/rtld-Rules: Likewise.
13582 * extra-modules.mk: Likewise.
13583 * iconv/Makefile: Likewise.
13584 * iconvdata/Makefile: Likewise.
13585 * locale/Makefile: Likewise.
13586 * malloc/Makefile: Likewise.
13587 * nss/Makefile: Likewise.
13588 * sysdeps/gnu/Makefile: Likewise.
13589 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13590 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13591 * sysdeps/s390/s390-64/Makefile: Likewise.
13592 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13593 CPPFLAGS for nscd instead of nonlib.
13594
13595 2014-11-18 Roland McGrath <roland@hack.frob.com>
13596
13597 * nptl/createthread.c: New file.
13598
13599 * nptl/createthread.c: Moved ...
13600 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13601
13602 * nptl/createthread.c: Add proper top-line comment.
13603 (do_clone): Folded into ...
13604 (create_thread): ... here. Take new arguments STOPPED_START and
13605 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13606 increment __nptl_threads, do event-reporting logic, do
13607 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13608 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13609 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13610 just send SIGCANCEL.
13611 * nptl/pthread_create.c: Forward-declare create_thread before
13612 including createthread.c.
13613 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13614 declaration, and new macro START_THREAD_SELF to replace argument.
13615 Remove return statement.
13616 (report_thread_creation): New function.
13617 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13618 synchronization logic, and __nptl_nthreads increment here, around
13619 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13620 PD->parent_cancelhandling here, before create_thread. When
13621 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13622 __deallocate_stack, and ENOMEM translation here.
13623
13624 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13625
13626 [BZ #17616]
13627 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13628 (mptwo): Rename to __mptwo.
13629 (__inv): Use __mptwo instead of mptwo.
13630 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13631 (mptwo): Rename to __mptwo.
13632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13633 of mpone and __mptwo instead of mptwo.
13634 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13635 instead of mpone.
13636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13637 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13638 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13639 of mpone and __mptwo instead of mptwo.
13640 (__mpranred): Use __mpone instead of mpone.
13641 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13642 variable.
13643 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13644 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13645 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13646 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13647 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13648 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13649 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13650 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13651 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13652 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13653 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13654 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13655 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13656 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13657 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13658 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13659 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13660 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13661 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13662
13663 2014-11-18 Tom de Vries <tom@codesoucery.com>
13664
13665 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13666 replace BSD Handler xref with BSD Signal Handling.
13667
13668 2014-11-17 Richard Henderson <rth@redhat.com>
13669
13670 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13671 (_FP_PACK_RAW_2): Remove.
13672 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13673 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13674 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13675 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13676 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13677 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13678 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13679 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13680 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13681 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13682 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13683 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13684 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13685 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13686 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13687 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13688
13689 2014-11-14 Roland McGrath <roland@hack.frob.com>
13690
13691 * signal/signal.h [__USE_MISC]
13692 (struct sigvec): Remove type.
13693 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13694 (sigvec): Remove declaration.
13695 * sysdeps/posix/sigvec.c: Moved ...
13696 * signal/sigvec.c: ... here, replacing old file.
13697 (struct sigvec): New type, copied from old signal.h definition.
13698 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13699 (__sigvec): Convert definition to prototype.
13700 (sigvec): Replace weak_alias with compat_symbol.
13701 * signal/Versions (libc: GLIBC_2.21): New version set.
13702 * include/signal.h: Remove __sigvec declaration.
13703 * sysdeps/unix/bsd/sigvec.c: Remove file.
13704 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13705 * manual/signal.texi (BSD Handler): Remove subsection.
13706 Move siginterrupt up to ...
13707 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13708 (Blocking in BSD): Fold subsection into its parent.
13709 * NEWS: Mention sigvec removal.
13710
13711 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13712
13713 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13714 (DLA_FMS): Make definition conditional only on [__FMA4__].
13715 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13716 definition.
13717
13718 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13719 Make definition conditional only on [PROF].
13720 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13721 definition.
13722 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13723 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13724
13725 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13726 !__GNUC__].
13727 * include/signal.h (__sigpause): Move declaration above call to
13728 libc_hidden_proto.
13729 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13730 variable.
13731 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13732 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13733
13734 2014-11-14 David S. Miller <davem@davemloft.net>
13735
13736 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13737 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13738
13739 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13740
13741 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13742 * configure: Regenerated.
13743 * manual/install.texi (Tools for Compilation): Document a
13744 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13745 compiler verified to work.
13746 * INSTALL: Regenerated.
13747
13748 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13749 redeclare with asm name.
13750 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13751 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13752 including <string.h>.
13753 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13754 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13755 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13756 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13757 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13758 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13759 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13760
13761 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13762
13763 * stdlib/strtol.c (__strtol): Use prototype definition.
13764
13765 [BZ #17594]
13766 * stdlib/strtol.c (SYM__): New macro.
13767 (SYM__1): Likewise.
13768 (__strtol): Likewise.
13769 (strtol): Rename to __strtol and define as weak alias of
13770 __strtol. Use libc_hidden_weak.
13771
13772 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13773
13774 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13775 Use numbered labels in inline assembly.
13776
13777 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13778
13779 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13780 Add setjmp LIBC_PROBE.
13781 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13782 Likewise.
13783 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13784 Add longjmp, longjmp_target LIBC_PROBE.
13785 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13786 Likewise.
13787
13788 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13789
13790 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13791 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13792 to get rid of unused variable warning.
13793
13794 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13795
13796 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13797 Check for unwind_backtrace == NULL only in SHARED case.
13798 (__backchain_backtrace): Compile only in SHARED case.
13799 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13800 Likewise.
13801 (__backchain_backtrace): Declare as static.
13802
13803 2014-11-12 Roland McGrath <roland@hack.frob.com>
13804
13805 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13806 (__libc_multiple_threads_ptr): Variable moved ...
13807 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13808
13809 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13810
13811 * conform/GlibcConform.pm: New file.
13812 * conform/conformtest.pl: Use GlibcConform module.
13813 * conform/linknamespace.pl: New file.
13814 * conform/list-header-symbols.pl: Likewise.
13815 * conform/Makefile (linknamespace-symlists-base): New variable.
13816 (linknamespace-symlists-tests): Likewise.
13817 (linknamespace-header-base): Likewise.
13818 (linknamespace-header-tests): Likewise.
13819 (tests-special): Add new tests.
13820 ($(linknamespace-symlists-tests)): New rule.
13821 (linknamespace-libs): New variable.
13822 ($(objpfx)symlist-stdlibs): New rule.
13823 ($(linknamespace-header-tests)): Likewise.
13824 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13825 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13826 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13827 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13828 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13829 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13830 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13831 (test-xfail-ISO/math.h/linknamespace): Likewise.
13832 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13833 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13834 (test-xfail-ISO/time.h/linknamespace): Likewise.
13835 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13836 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13837 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13838 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13839 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13840 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13841 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13842 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13843 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13844 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13845 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13846 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13847 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13848 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13849 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13850 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13851 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13852 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13853 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13854 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13855 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13856 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13857 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13858 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13859 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13860 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13861 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13862 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13863 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13864 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13865 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13866 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13867 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13868 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13869 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13870 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13871 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13872 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13873 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13874 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13875 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13876 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13877 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13878 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13879 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13880 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13881 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13882 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13883 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13884 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13885 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13886 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13887 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13888 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13889 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13890 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13891 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13892 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13893 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13894 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13895 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13896 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13897 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13898 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13899 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13900 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13901 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13902 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13903 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13904 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13905 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13906 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13907 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13908 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13909 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13910 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13911 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13912 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13913 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13914 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13915 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13916 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13917 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13918 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13919 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13920 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13921 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13922 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13923 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13924 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13925 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13926 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13927 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13928 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13929 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13930 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13931 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13932 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13933 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13934 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13935 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13936 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13937 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13938 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13939 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13940 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13941 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13942 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13943 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13944 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13945 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13946 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13947 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13948 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13949 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13950 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13951 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13952 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13953 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13954 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13955 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13956 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13957 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13958 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13959 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13960 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13961 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13962 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13963 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13964 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13965 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13966 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13967 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13968 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13969 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13970 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13971 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13972 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13973 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13974 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13975 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13976 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13977 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13978 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13979 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13980 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13981 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13982 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13983 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13984 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13985
13986 [BZ #17589]
13987 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13988 of fgets_unlocked.
13989
13990 [BZ #17585]
13991 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13992 (memmem): Rename to __memmem and define as weak alias of
13993 __memmem. Use libc_hidden_weak.
13994 (__memmem): Use libc_hidden_def.
13995 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13996 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13997 memmem.
13998
13999 [BZ #17582]
14000 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14001 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14002 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14003 and define as weak alias of __fgets_unlocked. Use
14004 libc_hidden_weak.
14005 (__fgets_unlocked): Use libc_hidden_def.
14006 * include/stdio.h (__fgets_unlocked): Declare. Use
14007 libc_hidden_proto.
14008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14009 __fgets_unlocked instead of fgets_unlocked.
14010 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14011 (GET_NPROCS_CONF_PARSER): Likewise.
14012 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14013 (GET_NPROCS_CONF_PARSER): Likewise.
14014
14015 [BZ #17574]
14016 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14017 weak alias of __wmemset. Use libc_hidden_weak.
14018 (__wmemset): Use libc_hidden_def.
14019 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14020 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14021 of wmemset.
14022
14023 [BZ #17573]
14024 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14025 with asm name __mempcpy.
14026 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14027
14028 [BZ #17572]
14029 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14030 and define as weak alias of __rawmemchr.
14031 (__rawmemchr): Do not define as strong alias of rawmemchr.
14032
14033 [BZ #17571]
14034 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14035 alias of __qsort_r.
14036 (qsort): Call __qsort_r instead of qsort_r.
14037 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14038 (__qsort_r): Declare. Call libc_hidden_proto.
14039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14040 instead of qsort_r.
14041 * nscd/gai.c (__qsort_r): Define to qsort_r.
14042 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14043 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14044 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14045
14046 [BZ #17570]
14047 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14048 define as weak alias of __malloc_info.
14049
14050 [BZ #17584]
14051 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14052 as weak alias of __rewinddir. Don't use libc_hidden_def.
14053 (__rewinddir): Use libc_hidden_def.
14054 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14055 as weak alias of __rewinddir. Don't use libc_hidden_def.
14056 (__rewinddir): Use libc_hidden_def.
14057 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14058 weak alias of __rewinddir. Don't use libc_hidden_def.
14059 (__rewinddir): Use libc_hidden_def.
14060 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14061 (__rewinddir): Use libc_hidden_proto.
14062 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14063 rewinddir.
14064 (__getcwd): Use __rewinddir instead of rewinddir.
14065
14066 [BZ #17583]
14067 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14068 alias of __fileno. Use libc_hidden_weak.
14069 (__fileno): Use libc_hidden_def.
14070 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14071 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14072 alias of __ftello.
14073 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14074 __ftello.
14075 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14076 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14077 libc_hidden_def.
14078 (fread_unlocked): Don't use libc_hidden_ver.
14079 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14080 and define as weak alias of __fread_unlocked. Don't use
14081 libc_hidden_def.
14082 (__fread_unlocked): Use libc_hidden_def.
14083 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14084 (ftello): Don't use libc_hidden_proto.
14085 (__ftello): Declare. Use libc_hidden_proto.
14086 (fread_unlocked): Don't use libc_hidden_proto.
14087 (__fread_unlocked): Declare. Use libc_hidden_proto.
14088 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14089 and __ftello instead of fileno, fread_unlocked and ftello.
14090
14091 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14092
14093 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14094 GOT12.
14095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14096 Likewise.
14097 (_dl_start_user): Likewise.
14098 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14099
14100 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14101 Siddhesh Poyarekar <siddhesh@redhat.com>
14102
14103 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14104 Move argv and envp down instead of moving argc up.
14105 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14106
14107 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14108
14109 [BZ #17506]
14110 * test-skeleton.c (main): Return successful if one of
14111 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14112 * string/tst-strcoll-overflow.c: Define expected status.
14113
14114 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14115
14116 [BZ #17475]
14117 * locale/iso-639.def: Define Bhili and Tulu language codes.
14118
14119 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14120
14121 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14122
14123 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14124
14125 [BZ #17555]
14126 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14127
14128 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14129
14130 * configure.ac: Updated check of minimal required version to
14131 2.22.
14132 * manual/install.texi (Tools for Compilation): Updated version
14133 number.
14134 * configure: Regenerated.
14135 * INSTALL: Likewise.
14136
14137 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14138
14139 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14140 __tls_get_addr.
14141
14142 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14143
14144 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14145 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14146 (__waitpid): Don't define as alias. Use libc_hidden_def not
14147 libc_hidden_weak.
14148 (waitpid): Define as alias of __waitpid.
14149 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14150 __waitpid.
14151 (__waitpid): Don't define as alias. Use libc_hidden_def not
14152 libc_hidden_weak.
14153 (waitpid): Define as alias of __waitpid.
14154 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14155 __libc_waitpid alias.
14156 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14157 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14158 Likewise.
14159 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14161 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14162 alias.
14163 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14164 __waitpid.
14165 (__waitpid): Don't define as alias. Use libc_hidden_def not
14166 libc_hidden_weak.
14167 (waitpid): Define as alias of __waitpid.
14168
14169 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14170
14171 * manual/llio.texi: Add comment that write safety has been
14172 fixed in Linux.
14173
14174 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14175 (localplt-build-dso): Add elf/ld.so.
14176 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14177 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14178 and free for ld.so.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14180 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14182 Likewise.
14183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14184 Likewise.
14185 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14186 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14187 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14188 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14189 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14190 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14193 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14196
14197 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #14132]
14200 * include/libc-symbols.h (INTUSE): Remove macro.
14201 (INTDEF): Likewise.
14202 (INTVARDEF): Likewise.
14203 (_INTVARDEF): Likewise.
14204 (INTDEF2): Likewise.
14205 (INTVARDEF2): Likewise.
14206 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14207 rtld_hidden_def instead of INTVARDEF.
14208 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14209 (_dl_starting_up_internal): Remove declaration.
14210 (_dl_starting_up): Use rtld_hidden_proto.
14211 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14212 declaration.
14213 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14214 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14215 _dl_starting_up.
14216 * elf/dl-writev.h (_dl_writev): Likewise.
14217 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14218 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14219 _dl_starting_up_internal.
14220
14221 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14222
14223 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14224 test-skeleton.c.
14225
14226 2014-11-05 Will Newton <will.newton@linaro.org>
14227
14228 * benchtests/Makefile: (bench-malloc): Add malloc thread
14229 scalability benchmark.
14230 * benchtests/bench-malloc-threads.c: New file.
14231
14232 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14233
14234 * sysdeps/aarch64/strchrnul.S: New file.
14235
14236 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14237
14238 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14239 definition.
14240 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14241 Likwise.
14242 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14243 Likewise.
14244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14245 Likewise.
14246 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14247 Likewise.
14248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14249 Likewise.
14250
14251 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14252
14253 * catgets/test-gencat.c: Use test-skeleton.c.
14254 * catgets/tst-catgets.c: Likewise.
14255 * csu/tst-empty.c: Likewise.
14256 * elf/tst-audit2.c: Likewise.
14257 * elf/tst-global1.c: Likewise.
14258 * elf/tst-pathopt.c: Likewise.
14259 * elf/tst-piemod1.c: Likewise.
14260 * elf/tst-tls10.c: Likewise.
14261 * elf/tst-tls11.c: Likewise.
14262 * elf/tst-tls12.c: Likewise.
14263 * gnulib/tst-gcc.c: Likewise.
14264 * iconvdata/tst-e2big.c: Likewise.
14265 * iconvdata/tst-loading.c: Likewise.
14266 * iconv/tst-iconv1.c: Likewise.
14267 * iconv/tst-iconv2.c: Likewise.
14268 * inet/test-inet6_opt.c: Likewise.
14269 * inet/tst-gethnm.c: Likewise.
14270 * inet/tst-network.c: Likewise.
14271 * inet/tst-ntoa.c: Likewise.
14272 * intl/tst-codeset.c: Likewise.
14273 * intl/tst-gettext2.c: Likewise.
14274 * intl/tst-gettext3.c: Likewise.
14275 * intl/tst-ngettext.c: Likewise.
14276 * intl/tst-translit.c: Likewise.
14277 * io/test-stat.c: Likewise.
14278 * libio/test-fmemopen.c: Likewise.
14279 * libio/tst-freopen.c: Likewise.
14280 * libio/tst-sscanf.c: Likewise.
14281 * libio/tst-ungetwc1.c: Likewise.
14282 * libio/tst-ungetwc2.c: Likewise.
14283 * libio/tst-widetext.c: Likewise.
14284 * localedata/tst-ctype.c: Likewise.
14285 * localedata/tst-digits.c: Likewise.
14286 * localedata/tst-leaks.c: Likewise.
14287 * localedata/tst-mbswcs1.c: Likewise.
14288 * localedata/tst-mbswcs2.c: Likewise.
14289 * localedata/tst-mbswcs3.c: Likewise.
14290 * localedata/tst-mbswcs4.c: Likewise.
14291 * localedata/tst-mbswcs5.c: Likewise.
14292 * localedata/tst-setlocale.c: Likewise.
14293 * localedata/tst-trans.c: Likewise.
14294 * localedata/tst-wctype.c: Likewise.
14295 * localedata/tst-xlocale1.c: Likewise.
14296 * login/tst-grantpt.c: Likewise.
14297 * malloc/tst-calloc.c: Likewise.
14298 * malloc/tst-malloc.c: Likewise.
14299 * malloc/tst-mallocstate.c: Likewise.
14300 * malloc/tst-mcheck.c: Likewise.
14301 * malloc/tst-mtrace.c: Likewise.
14302 * malloc/tst-obstack.c: Likewise.
14303 * math/atest-exp2.c: Likewise.
14304 * math/atest-exp.c: Likewise.
14305 * math/atest-sincos.c: Likewise.
14306 * math/test-matherr.c: Likewise.
14307 * math/test-misc.c: Likewise.
14308 * math/test-powl.c: Likewise.
14309 * math/tst-definitions.c: Likewise.
14310 * misc/tst-dirname.c: Likewise.
14311 * misc/tst-efgcvt.c: Likewise.
14312 * misc/tst-fdset.c: Likewise.
14313 * misc/tst-hsearch.c: Likewise.
14314 * misc/tst-mntent2.c: Likewise.
14315 * nptl/tst-sem7.c: Likewise.
14316 * nptl/tst-sem8.c: Likewise.
14317 * nptl/tst-sem9.c: Likewise.
14318 * nss/test-netdb.c: Likewise.
14319 * posix/tst-fnmatch.c: Likewise.
14320 * posix/tst-getlogin.c: Likewise.
14321 * posix/tst-gnuglob.c: Likewise.
14322 * posix/tst-mmap.c: Likewise.
14323 * pwd/tst-getpw.c: Likewise.
14324 * resolv/tst-inet_ntop.c: Likewise.
14325 * rt/tst-timer.c: Likewise.
14326 * stdio-common/test-fseek.c: Likewise.
14327 * stdio-common/test-popen.c: Likewise.
14328 * stdio-common/test-vfprintf.c: Likewise.
14329 * stdio-common/tst-cookie.c: Likewise.
14330 * stdio-common/tst-fileno.c: Likewise.
14331 * stdio-common/tst-gets.c: Likewise.
14332 * stdio-common/tst-obprintf.c: Likewise.
14333 * stdio-common/tst-perror.c: Likewise.
14334 * stdio-common/tst-sprintf2.c: Likewise.
14335 * stdio-common/tst-sprintf3.c: Likewise.
14336 * stdio-common/tst-sprintf.c: Likewise.
14337 * stdio-common/tst-swprintf.c: Likewise.
14338 * stdio-common/tst-tmpnam.c: Likewise.
14339 * stdio-common/tst-unbputc.c: Likewise.
14340 * stdio-common/tst-wc-printf.c: Likewise.
14341 * stdlib/tst-environ.c: Likewise.
14342 * stdlib/tst-fmtmsg.c: Likewise.
14343 * stdlib/tst-limits.c: Likewise.
14344 * stdlib/tst-rand48-2.c: Likewise.
14345 * stdlib/tst-rand48.c: Likewise.
14346 * stdlib/tst-random2.c: Likewise.
14347 * stdlib/tst-random.c: Likewise.
14348 * stdlib/tst-strtol.c: Likewise.
14349 * stdlib/tst-strtoll.c: Likewise.
14350 * stdlib/tst-tls-atexit.c: Likewise.
14351 * stdlib/tst-xpg-basename.c: Likewise.
14352 * string/test-ffs.c: Likewise.
14353 * string/tst-bswap.c: Likewise.
14354 * string/tst-inlcall.c: Likewise.
14355 * string/tst-strtok.c: Likewise.
14356 * string/tst-strxfrm.c: Likewise.
14357 * sysdeps/x86_64/tst-audit10.c: Likewise.
14358 * sysdeps/x86_64/tst-audit3.c: Likewise.
14359 * sysdeps/x86_64/tst-audit4.c: Likewise.
14360 * sysdeps/x86_64/tst-audit5.c: Likewise.
14361 * time/tst-ftime_l.c: Likewise.
14362 * time/tst-getdate.c: Likewise.
14363 * time/tst-mktime3.c: Likewise.
14364 * time/tst-mktime.c: Likewise.
14365 * time/tst-posixtz.c: Likewise.
14366 * time/tst-strptime2.c: Likewise.
14367 * time/tst-strptime3.c: Likewise.
14368 * wcsmbs/tst-btowc.c: Likewise.
14369 * wcsmbs/tst-mbrtowc.c: Likewise.
14370 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14371 * wcsmbs/tst-wchar-h.c: Likewise.
14372 * wcsmbs/tst-wcpncpy.c: Likewise.
14373 * wcsmbs/tst-wcrtomb.c: Likewise.
14374 * wcsmbs/tst-wcsnlen.c: Likewise.
14375 * wcsmbs/tst-wcstof.c: Likewise.
14376
14377 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14378
14379 [BZ #14132]
14380 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14381 INTDEF.
14382 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14383 declaration.
14384 (_dl_mcount): Use rtld_hidden_proto.
14385 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14386 _dl_mcount.
14387 * elf/rtld.c (_rtld_global_ro): Likewise.
14388
14389 [BZ #14132]
14390 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14391 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14392 of _dl_init_internal.
14393 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14394 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14395 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14396 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14397 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14398 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14399 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14400 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14401 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14402 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14403 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14404 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14405 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14406 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14407 * sysdeps/tile/dl-start.S (_start): Likewise.
14408 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14409 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14410
14411 [BZ #14132]
14412 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14413 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14414 (rtld_progname): Make macro definition unconditional.
14415 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14416 INTDEF.
14417 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14418 (dl_main): Likewise.
14419 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14420 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14421 instead of _dl_argv_internal.
14422 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14423 __GI__dl_argv instead of INTUSE(_dl_argv).
14424 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14425 __GI__dl_argv instead of _dl_argv_internal.
14426
14427 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14428 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14429 macro.
14430 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14431 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14432 New macro.
14433 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14434 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14435 macro.
14436 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14437 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14438
14439 2014-11-04 Andreas Schwab <schwab@suse.de>
14440
14441 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14442
14443 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14444
14445 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14446 mtvsrd instruction in binary form.
14447
14448 2014-11-03 Andreas Schwab <schwab@suse.de>
14449
14450 [BZ #17522]
14451 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14452 for less than MB_LEN_MAX use a local buffer of that size.
14453 * libio/tst-fputws.c: New file.
14454 * libio/Makefile (tests): Add tst-fputws.
14455
14456 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14457
14458 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14459 the size of the fpu_fr.fpu_dregs[] array.
14460
14461 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14462
14463 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14464 (__nanosleep): Do not define as alias.
14465 (nanosleep): Define as alias of __nanosleep.
14466 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14467 __libc_nanosleep name.
14468
14469 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14470
14471 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14472 install.texi in comment.
14473
14474 2014-10-31 Torvald Riegel <triegel@redhat.com>
14475
14476 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14477 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14478 ... add here and use lwsync or sync ...
14479 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14480 ... and add here using lwsync.
14481
14482 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14483
14484 * elf/dl-machine-reject-phdr.h: New file.
14485 * elf/dl-load.c: #include that.
14486 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14487 if that returned true.
14488
14489 2014-10-31 Roland McGrath <roland@hack.frob.com>
14490
14491 [BZ #17496]
14492 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14493 gen-as-const-headers chunk. Add a big scare comment after the last
14494 safe place to touch before-compile.
14495
14496 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14497
14498 * manual/install.texi (Tools for Compilation): Update autoconf
14499 version requirements.
14500 * INSTALL: Regenerated.
14501
14502 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14503 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14504 (__libc_pselect): Likewise.
14505
14506 [BZ #14138]
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14511
14512 2014-10-31 Torvald Riegel <triegel@redhat.com>
14513
14514 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14515 correct barrier instruction.
14516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14517 Likewise.
14518 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14519 Likewise.
14520
14521 2014-10-30 Roland McGrath <roland@hack.frob.com>
14522
14523 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14524 after defining inlines. Instead, just use parens to defeat macro
14525 expansion of __isctype in its declaration.
14526
14527 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14528
14529 * include/sys/uio.h (__libc_readv): Remove declaration.
14530 (__libc_writev): Likewise.
14531 * misc/readv.c (__libc_readv): Rename to __readv.
14532 (__readv): Do not define as alias.
14533 (readv): Define as alias of __readv.
14534 * misc/writev.c (__libc_writev): Rename to __writev.
14535 (__writev): Do not define as alias.
14536 (writev): Define as alias of __writev.
14537 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14538 (__readv): Do not define as alias.
14539 (readv): Define unconditionally as alias of __readv.
14540 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14541 (__writev): Do not define as alias.
14542 (writev): Define unconditionally as alias of __writev.
14543 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14544 name.
14545 (writev): Do not define __libc_writev name.
14546
14547 2014-10-30 Roland McGrath <roland@hack.frob.com>
14548
14549 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14550 (convert_charseq): New function, broken out of ...
14551 (use_from_charmap): ... here. Call it.
14552 (use_to_charmap): Use convert_charseq and free instead of duplicating
14553 its code with a variable-length stack struct.
14554
14555 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14556
14557 * include/fcntl.h (__libc_creat): Remove declaration.
14558 * io/creat.c (__libc_creat): Rename to creat.
14559 (creat): Do not define as alias.
14560 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14561 of creat instead of __libc_creat.
14562 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14563 to creat.
14564 (creat): Do not define as alias.
14565 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14566 __libc_creat.
14567 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14568 __libc_creat name.
14569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14570 Likewise.
14571
14572 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14573
14574 * manual/llio.texi: Add comments discussing why write() may be
14575 considered MT-unsafe on Linux.
14576
14577 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14578
14579 * dl-load.c (local_strdup): Remove.
14580 (expand_dynamic_string_token): Use __strdup.
14581 (decompose_rpath): Likewise.
14582 (_dl_map_object): Likewise.
14583
14584 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14585
14586 [BZ #14132]
14587 * sysdeps/generic/unwind-dw2-fde.c
14588 (__register_frame_info_bases_internal): Do not declare.
14589 (__register_frame_info_table_bases_internal): Likewise.
14590 (__deregister_frame_info_bases_internal): Likewise.
14591 (__register_frame_info_bases): Declare and use hidden_proto before
14592 definition. Use hidden_def instead of INTDEF.
14593 (__register_frame_info_table_bases): Likewise.
14594 (__deregister_frame_info_bases): Likewise.
14595 (__register_frame_info): Do not use INTUSE.
14596 (__register_frame): Likewise.
14597 (__register_frame_info_table): Likewise.
14598 (__register_frame_table): Likewise.
14599 (__deregister_frame_info): Likewise.
14600 (__deregister_frame): Likewise.
14601
14602 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14603
14604 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14605 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14606 not undefine.
14607 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14608 Likewise.
14609 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14610 Likewise.
14611
14612 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14613
14614 [BZ #14138]
14615 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14616 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14617 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14618 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14620 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14621 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14622 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14623 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14624 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14625 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14626 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14627 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14628 syscall.
14629 (setfsuid): Likewise.
14630 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14631 (setfsuid): Likewise.
14632 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14633 (setfsuid): Likewise.
14634 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14635 Likewise.
14636 (setfsuid): Likewise.
14637 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14638 (setfsuid): Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14640 Likewise.
14641 (setfsuid): Likewise.
14642
14643 2014-10-27 Andreas Schwab <schwab@suse.de>
14644
14645 [BZ #17501]
14646 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14647 check for Slow_SSE4_2 feature bit.
14648 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14649 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14650 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14651 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14652
14653 2014-10-24 Roland McGrath <roland@hack.frob.com>
14654
14655 * configure.ac: Validate compiler version with a empirical test of
14656 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14657 $CC -v output.
14658 * configure: Regenerated.
14659
14660 * inet/htons.c (htons): Prototypify.
14661 * inet/htonl.c (htonl): Likewise.
14662
14663 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14664
14665 * string/strncat.c (strncat): Improve performance by using strlen.
14666
14667 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14668
14669 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14670
14671 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14672
14673 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14674 Call libc_fetestexcept_aarch64.
14675
14676 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14677
14678 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14679 Call libc_feholdexcept_aarch64.
14680
14681 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14682
14683 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14684 Call get_rounding_mode.
14685
14686 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14687
14688 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14689 Simplify logic.
14690
14691 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14692
14693 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14694 Simplify logic.
14695
14696 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14697
14698 [BZ #14138]
14699 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14700 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14701 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14702 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14703 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14704 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14705 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14706 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14707 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14708 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14709 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14710 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14711 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14712 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14713 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14714 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14715 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14716 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14717 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14718 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14719 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14720 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14721 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14722 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14723 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14725 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14726 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14727 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14728 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14729 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14730 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14731 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14732 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14733 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14735 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14736 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14737 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14738 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14739 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14740 syscall.
14741 (geteuid): Likewise.
14742 (getgid): Likewise.
14743 (getuid): Likewise.
14744 (getresgid): Likewise.
14745 (getresuid): Likewise.
14746 (getgroups): Likewise.
14747 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14748 (geteuid): Likewise.
14749 (getgid): Likewise.
14750 (getuid): Likewise.
14751 (getresgid): Likewise.
14752 (getresuid): Likewise.
14753 (getgroups): Likewise.
14754 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14755 (geteuid): Likewise.
14756 (getgid): Likewise.
14757 (getuid): Likewise.
14758 (getresgid): Likewise.
14759 (getresuid): Likewise.
14760 (getgroups): Likewise.
14761 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14762 Likewise.
14763 (geteuid): Likewise.
14764 (getgid): Likewise.
14765 (getuid): Likewise.
14766 (getresgid): Likewise.
14767 (getresuid): Likewise.
14768 (getgroups): Likewise.
14769 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14770 (geteuid): Likewise.
14771 (getgid): Likewise.
14772 (getuid): Likewise.
14773 (getresgid): Likewise.
14774 (getresuid): Likewise.
14775 (getgroups): Likewise.
14776 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14777 Likewise.
14778 (geteuid): Likewise.
14779 (getgid): Likewise.
14780 (getuid): Likewise.
14781 (getgroups): Likewise.
14782
14783 [BZ #14138]
14784 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14785 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14786 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14788 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14789 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14790 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14791 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14792 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14793 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14795 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14797 __chown.
14798 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14799 (lchown): Likewise.
14800 (fchown): Likewise.
14801 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14802 Likewise.
14803 (lchown): Likewise.
14804 (fchown): Likewise.
14805 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14806 (lchown): Likewise.
14807 (fchown): Likewise.
14808 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14809 Likewise.
14810 (lchown): Likewise.
14811 (fchown): Likewise.
14812
14813 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14814
14815 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14816 Simplify logic.
14817
14818 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14819
14820 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14821 Cleanup logic.
14822
14823 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14824
14825 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14826 Remove unused include.
14827
14828 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14829
14830 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14832 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14833 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14834
14835 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14836 Helge Deller <deller@gmx.de>
14837
14838 [BZ #17508]
14839 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14840 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14841 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14842
14843 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14844
14845 [BZ #14132]
14846 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14847 Remove macro definition.
14848 (__ashrdi3_v_glibc20): Likewise.
14849 (__lshrdi3_v_glibc20): Likewise.
14850 (__cmpdi2_v_glibc20): Likewise.
14851 (__ucmpdi2_v_glibc20): Likewise.
14852 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14853 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14854 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14855 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14856 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14857 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14858
14859 2014-10-22 Roland McGrath <roland@hack.frob.com>
14860
14861 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14862 old GNU extension [0] syntax.
14863 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14864 alloca rather than an array member with variable length.
14865 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14866 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14867 (parse_opt): ... here. Likewise use alloca there.
14868 Validate the -i argument before checking for rootness.
14869 (send_shutdown): New function, broken out of ...
14870 (parse_opt): ... here.
14871
14872 2014-10-22 Roland McGrath <roland@hack.frob.com>
14873
14874 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14875 macro to get at the _rt_local_ro field.
14876 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14877 ([PIC] case) or _dl_hwcap ([!PIC] case).
14878 * sysdeps/arm/setjmp.S: Likewise.
14879
14880 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14881 * sysdeps/arm/configure.ac: New check to define it.
14882 * sysdeps/arm/configure: Regenerated.
14883 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14884 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14885 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14886 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14887 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14888 Use move/movt pair instead of a load.
14889 (LDST_GLOBAL): Macro removed.
14890 (LDR_GLOBAL): New macro replaces it.
14891 (LDR_HIDDEN): New macro.
14892 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14893 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14894
14895 * setjmp/tst-setjmp-static.c: New file.
14896 * setjmp/Makefile (tests): Add it.
14897 (tests-static): New variable.
14898
14899 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14900
14901 [BZ #17485]
14902 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14903
14904 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14905
14906 [BZ #14132]
14907 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14908
14909 2014-10-21 Roland McGrath <roland@hack.frob.com>
14910
14911 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14912
14913 2014-10-20 Roland McGrath <roland@hack.frob.com>
14914
14915 * io/fts.c (dirent_not_directory): New function.
14916 (fts_build): Call it.
14917
14918 2014-10-20 Roland McGrath <roland@hack.frob.com>
14919
14920 * nptl/version.c (__nptl_main): Use normal __write rather than
14921 INTERNAL_SYSCALL.
14922 (banner): Update copyright years.
14923
14924 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14925 gettimeofday.
14926 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14927 * nptl/pthread_cond_timedwait.c: Likewise.
14928 * nptl/pthread_mutex_timedlock.c: Likewise.
14929 * nptl/sem_timedwait.c: Likewise.
14930
14931 * sysdeps/nptl/bits/libc-lock.h
14932 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14933 (__libc_lock_init_recursive): Return void, not 0.
14934 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14935 (__libc_rwlock_init): Likewise.
14936 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14937
14938 2014-10-20 Torvald Riegel <triegel@redhat.com>
14939
14940 [BZ #15215]
14941 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14942 (__pthread_once_slow): ... here.
14943 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14944 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14945
14946 2014-10-20 Torvald Riegel <triegel@redhat.com>
14947
14948 [BZ #15215]
14949 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14950 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14951 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14952 * nptl/pthread_once.c (__pthread_once): Likewise.
14953 Update comments.
14954
14955 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14956
14957 [BZ #14138]
14958 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14959 name.
14960 (writev): Use __libc_writev as strong name.
14961 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14962 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14963
14964 2014-10-17 Roland McGrath <roland@hack.frob.com>
14965
14966 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14967
14968 * sysdeps/i386/nptl/tls.h
14969 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14970 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14971 New macros.
14972 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14973 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14974 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14975 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14976 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14977 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14978
14979 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14980 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14981 on [__NR_futex].
14982 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14983 broken out of ...
14984 (__pthread_mutex_init): ... here. Call it.
14985 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14986 Conditionalize PI cases on [__NR_futex].
14987 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14988 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14989 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14990
14991 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14992 conditional on [SIGSETXID].
14993 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14994 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14995 is defined. Likewise for SIGSETXID.
14996 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14997 Conditionalize definitions on [SIGSETXID].
14998 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14999 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15000 unblocking on [SIGCANCEL].
15001
15002 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15003 [__NR_set_robust_list].
15004
15005 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15008 (do_compare): Likewise.
15009
15010 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15011
15012 [BZ #15884]
15013 * string/strcoll_l.c: Don't include stdio.h.
15014 (coll_seq): Remove members idxarr and rulearr.
15015 (get_next_seq_cached): Remove function.
15016 (get_next_seq): Likewise.
15017 (get_next_seq_nocache): Rename to get_next_seq.
15018 (do_compare): Remove function.
15019 (do_compare_nocache): Rename to do_compare.
15020 (STRCOLL): Remove weight and rules cache.
15021
15022 2014-10-16 Roland McGrath <roland@hack.frob.com>
15023
15024 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15025 * sysdeps/arm/sfp-machine.h: ... to here.
15026 * sysdeps/arm/Implies: Remove arm/soft-fp.
15027
15028 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15029
15030 * conform/data/sys/utsname.h-data (*_t): Allow.
15031 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15032 [POSIX] (WEXITED): Do not expect constant.
15033 [POSIX] (WSTOPPED): Likewise.
15034 [POSIX] (WNOHANG): Likewise.
15035 [POSIX] (WNOWAIT): Likewise.
15036 [POSIX] (siginfo_t): Do not expect type or elements.
15037 [POSIX] (pid_t): Do not expect type.
15038 [POSIX] (signal.h): Do not allow header.
15039 [POSIX] (sys/resource.h): Likewise.
15040 [POSIX] (si_*): Do not allow pattern.
15041 [POSIX] (W*): Likewise.
15042 [POSIX] (P_*): Likewise.
15043 [POSIX] (BUS_*): Likewise.
15044 [POSIX] (CLD_*): Likewise.
15045 [POSIX] (FPE_*): Likewise.
15046 [POSIX] (ILL_*): Likewise.
15047 [POSIX] (POLL_*): Likewise.
15048 [POSIX] (SEGV_*): Likewise.
15049 [POSIX] (SI_*): Likewise.
15050 [POSIX] (TRAP_*): Likewise.
15051 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15052 variable.
15053
15054 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15055
15056 [BZ #12926]
15057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15058 infinite loop when __recvmsg returns 0.
15059
15060 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15061
15062 * CANCEL-FCT-WAIVE: Remove file.
15063 * CANCEL-FILE-WAIVE: Likewise.
15064
15065 [BZ #14132]
15066 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15067 instead of INTVARDEF.
15068 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15069 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15070 rtld_hidden_data_def instead of INTVARDEF.
15071 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15072 * elf/dl-deps.c (expand_dst): Likewise.
15073 * elf/dl-load.c (_dl_dst_count): Likewise.
15074 (_dl_dst_substitute): Likewise.
15075 (decompose_rpath): Likewise.
15076 (_dl_init_paths): Likewise.
15077 (open_path): Likewise.
15078 (_dl_map_object): Likewise.
15079 * elf/rtld.c (dl_main): Likewise.
15080 (process_dl_audit): Likewise.
15081 (process_envvars): Likewise.
15082 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15083 Remove declaration.
15084 (__libc_enable_secure): Use rtld_hidden_proto.
15085
15086 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15087
15088 * elf/dl-load.c
15089 (add_path): New function broken out of _dl_rtld_di_serinfo.
15090 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15091
15092 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15093
15094 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15095 parentheses around macro arguments.
15096 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15097 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15098 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15099 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15100 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15101 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15102 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15103 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15104 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15107 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15108 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15109 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15110 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15111 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15112 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15113 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15114 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15115 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15116 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15117 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15118 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15120 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15121 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15124 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15125 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15126 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15127 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15128 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15129 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15130 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15131 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15132 Likewise.
15133 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15136 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15140 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15141 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15142 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15144 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15145 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15149 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15152 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15153 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15154 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15155 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15156 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15157 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15158 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15159 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15160 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15161 (_FP_FRAC_SRS_1): Likewise.
15162 (_FP_FRAC_CLZ_1): Likewise.
15163 (_FP_MUL_MEAT_1_imm): Likewise.
15164 (_FP_MUL_MEAT_1_wide): Likewise.
15165 (_FP_MUL_MEAT_1_hard): Likewise.
15166 (_FP_SQRT_MEAT_1): Likewise.
15167 (_FP_FRAC_ASSEMBLE_1): Likewise.
15168 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15169 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15170 (__FP_CLZ_2): Likewise.
15171 (_FP_MUL_MEAT_2_wide): Likewise.
15172 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15173 (_FP_MUL_MEAT_2_gmp): Likewise.
15174 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15175 (_FP_SQRT_MEAT_2): Likewise.
15176 (_FP_FRAC_ASSEMBLE_2): Likewise.
15177 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15178 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15179 (_FP_FRAC_CLZ_4): Likewise.
15180 (_FP_MUL_MEAT_4_wide): Likewise.
15181 (_FP_MUL_MEAT_4_gmp): Likewise.
15182 (_FP_SQRT_MEAT_4): Likewise.
15183 (_FP_FRAC_ASSEMBLE_4): Likewise.
15184 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15185 * soft-fp/op-common.h (_FP_CMP): Likewise.
15186 (_FP_CMP_EQ): Likewise.
15187 (_FP_CMP_UNORD): Likewise.
15188 (_FP_TO_INT): Likewise.
15189 (_FP_FROM_INT): Likewise.
15190 [!__FP_CLZ] (__FP_CLZ): Likewise.
15191 (_FP_DIV_HELP_imm): Likewise.
15192 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15193 Likewise.
15194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15195 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15196 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15197 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15198 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15199 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15201 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15202 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15203 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15205 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15206 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15207 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15208 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15209 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15210 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15211 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15213 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15214 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15215 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15216 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15219 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15220 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15223 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15224 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15225 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15227 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15228 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15229 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15230 (FP_UNPACK_RAW_SP): Likewise.
15231 (FP_PACK_RAW_S): Likewise.
15232 (FP_PACK_RAW_SP): Likewise.
15233 (FP_UNPACK_S): Likewise.
15234 (FP_UNPACK_SP): Likewise.
15235 (FP_UNPACK_SEMIRAW_S): Likewise.
15236 (FP_UNPACK_SEMIRAW_SP): Likewise.
15237 (FP_PACK_S): Likewise.
15238 (FP_PACK_SP): Likewise.
15239 (FP_PACK_SEMIRAW_S): Likewise.
15240 (FP_PACK_SEMIRAW_SP): Likewise.
15241 (_FP_SQRT_MEAT_S): Likewise.
15242 (FP_CMP_S): Likewise.
15243 (FP_CMP_EQ_S): Likewise.
15244 (FP_CMP_UNORD_S): Likewise.
15245 (FP_TO_INT_S): Likewise.
15246 (FP_FROM_INT_S): Likewise.
15247
15248 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15249
15250 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15251 (FP_EX_INVALID_IMZ): Likewise.
15252 (FP_EX_INVALID_IMZ_FMA): Likewise.
15253 (FP_EX_INVALID_ISI): Likewise.
15254 (FP_EX_INVALID_ZDZ): Likewise.
15255 (FP_EX_INVALID_IDI): Likewise.
15256 (FP_EX_INVALID_SQRT): Likewise.
15257 (FP_EX_INVALID_CVI): Likewise.
15258 (FP_EX_INVALID_VC): Likewise.
15259 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15260 "invalid" exceptions.
15261 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15262 (_FP_ADD_INTERNAL): Likewise.
15263 (_FP_MUL): Likewise.
15264 (_FP_FMA): Likewise.
15265 (_FP_DIV): Likewise.
15266 (_FP_CMP_CHECK_NAN): Likewise.
15267 (_FP_SQRT): Likewise.
15268 (_FP_TO_INT): Likewise.
15269 (FP_EXTEND): Likewise.
15270
15271 2014-10-09 Allan McRae <allan@archlinux.org>
15272
15273 * po/fr.po: Update French translation from translation project.
15274
15275 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15276
15277 [BZ #14132]
15278 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15279 of INTDEF.
15280 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15281 (__cxa_atexit): Use libc_hidden_proto.
15282 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15283
15284 [BZ #14132]
15285 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15286 declaration.
15287 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15288 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15289 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15290 [!_ISOMAC] (__iswctype_internal): Likewise.
15291 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15292 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15293 alias.
15294 (fcntl): Remove __fcntl_internal alias.
15295 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15296 __connect_internal alias.
15297 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15298 Likewise.
15299
15300 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15301 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15302 FP_DENORM_ZERO.
15303 (_FP_CHECK_FLUSH_ZERO): New macro.
15304 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15305 (_FP_CMP): Likewise.
15306 (_FP_CMP_EQ): Likewise.
15307 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15308 FP_DENORM_ZERO.
15309 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15310 (FP_TRUNC): Likewise.
15311
15312 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15313 treated as invalid conversion, not as normal exponent.
15314
15315 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15316 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15317 (_FP_CMP_EQ): Likewise.
15318 (_FP_CMP_UNORD): Likewise.
15319 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15320 (FP_CMP_EQ_D): Likewise.
15321 (FP_CMP_UNORD_D): Likewise.
15322 * soft-fp/extended.h (FP_CMP_E): Likewise.
15323 (FP_CMP_EQ_E): Likewise.
15324 (FP_CMP_UNORD_E): Likewise.
15325 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15326 (FP_CMP_EQ_Q): Likewise.
15327 (FP_CMP_UNORD_Q): Likewise.
15328 * soft-fp/single.h (FP_CMP_S): Likewise.
15329 (FP_CMP_EQ_S): Likewise.
15330 (FP_CMP_UNORD_S): Likewise.
15331 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15332 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15333 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15334 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15335 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15336 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15337 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15338 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15339 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15340 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15341 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15342 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15343 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15344 to FP_CMP_Q.
15345 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15346 FP_CMP_Q.
15347 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15348 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15349 FP_CMP_EQ_Q.
15350 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15351 FP_CMP_Q.
15352 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15353 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15354 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15355 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15356 FP_CMP_EQ_Q.
15357 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15358 FP_CMP_Q.
15359 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15360 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15361 FP_CMP_EQ_Q.
15362 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15363 FP_CMP_Q.
15364 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15365 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15366 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15367 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15368 FP_CMP_EQ_Q.
15369
15370 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15371 a subnormal result, set the underflow exception if trapping on
15372 underflow is enabled.
15373 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15374 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15375 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15376 redefine to 0.
15377 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15378 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15379 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15380 * soft-fp/extendxftf2.c (__extendxftf2): Use
15381 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15382
15383 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15384 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15385 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15386 FP_HANDLE_EXCEPTIONS.
15387 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15388 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15389 FP_HANDLE_EXCEPTIONS.
15390 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15391 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15392 FP_HANDLE_EXCEPTIONS.
15393 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15394 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15395 FP_HANDLE_EXCEPTIONS.
15396
15397 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15398
15399 [BZ #14132]
15400 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15401 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15402 use INTUSE.
15403 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15404 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15405 Remove alias.
15406 (__adjtimex): Define using libc_hidden_ver.
15407 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15408 Remove declaration.
15409 (ntp_gettime): Call __adjtimex directly.
15410 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15411 Remove declaration.
15412 (ntp_gettimex): Call __adjtimex directly.
15413 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15414 __adjtimex_internal alias.
15415
15416 2014-10-08 Roland McGrath <roland@hack.frob.com>
15417
15418 [BZ #17460]
15419 * nscd/nscd.c (more_help): Rewrite list of tables collection
15420 using xstrdup and asprintf.
15421
15422 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15423
15424 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15425 Roland McGrath <roland@hack.frob.com>
15426
15427 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15428 (do_lookup_unique): ... local function 'enter' here; update callers.
15429
15430 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15433 compat_symbol calls on [SHARED].
15434 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15435 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15436 Remove.
15437 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15438 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15439 (oldsetrlimit): Remove.
15440 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15442 (lchown): New syscall entry.
15443 (oldsetrlimit): Remove.
15444 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15445 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15446 (oldsetrlimit): Remove.
15447 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15448
15449 [BZ #14138]
15450 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15451 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15452 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15453 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15454 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15455 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15456 (fchown): Likewise.
15457 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15458 (fchown): Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15460 Likewise.
15461
15462 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15463
15464 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15465 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15466 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15467 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15468 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15469 Likewise.
15470 (__old_sem_post): Likewise.
15471
15472 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15473
15474 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15475 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15476 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15477 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15478 Use INLINE_VSYSCALL macro.
15479 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15480 __vdso_clock_gettime.
15481 * sysdeps/unix/sysv/linux/tile/init-first.c
15482 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15483 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15484 __vdso_clock_gettime.
15485
15486 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15487 to set up frame more cleanly.
15488
15489 * sysdeps/tile/memcmp.c: New file.
15490
15491 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15492
15493 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15494 * sysdeps/tile/tilegx/strcasestr.c: New file.
15495 * sysdeps/tile/tilegx/strnlen.c: New file.
15496 * sysdeps/tile/tilegx/strstr.c: New file.
15497
15498 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15499
15500 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15501
15502 * nptl/tst-setuid3.c: Write errors to stdout.
15503
15504 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15505
15506 * elf/dl-deps.c
15507 (preload): New functions broken out of _dl_map_object_deps.
15508 (_dl_map_object_deps): Remove a nested function. Update call sites.
15509
15510 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15511
15512 [BZ #14138]
15513 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15514 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15515
15516 2014-10-01 Steve Ellcey <sellcey@mips.com>
15517
15518 * sysdeps/mips/strcmp.S: New.
15519
15520 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15521
15522 [BZ #14138]
15523 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15524 (linkat): Likewise.
15525 (mkdirat): Likewise.
15526 (readlinkat): Likewise.
15527 (renameat): Likewise.
15528 (symlinkat): Likewise.
15529 (unlinkat): Likewise.
15530 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15531 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15532 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15533 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15534 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15535 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15536 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15537
15538 2014-09-30 Will Newton <will.newton@linaro.org>
15539
15540 * math/math.h: Define long double math functions if
15541 _LIBC_TEST is defined.
15542 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15543
15544 * localedata/Makefile: Move assignment to tests-special
15545 into an ifdef testing run-built-tests.
15546 * timezone/Makefile: Likewise.
15547
15548 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15549
15550 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15551 with $(BASH) not $(SHELL).
15552
15553 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15554 Matthew LeGendre <legendre1@llnl.gov>
15555
15556 [BZ #17411]
15557 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15558 l_reloc_result.
15559
15560 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15561
15562 * stdio-common/printf_fp.c
15563 (hack_digit): New function, broken out of ...
15564 (__printf_fp): ... local function here. Update call sites.
15565 hack_digit now takes an additional parameter that is a pointer
15566 to a struct of the referenced locals. Those locals moved inside
15567 the struct and references updated.
15568
15569 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15570
15571 * aclocal.m4: Require autoconf 2.69.
15572 * configure: Regenerated.
15573 * sysdeps/aarch64/configure: Likewise.
15574 * sysdeps/alpha/configure: Likewise.
15575 * sysdeps/arm/armv7/configure: Likewise.
15576 * sysdeps/arm/configure: Likewise.
15577 * sysdeps/ia64/configure: Likewise.
15578 * sysdeps/mach/configure: Likewise.
15579 * sysdeps/mips/configure: Likewise.
15580 * sysdeps/s390/configure: Likewise.
15581 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15583
15584 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15585 file.
15586 * sysdeps/ia64/configure.ac: Likewise.
15587
15588 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15589
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15591 specify symbol version for ld.so. Do not include entry for
15592 libpthread.
15593 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15594 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15595 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15596
15597 [BZ #14171]
15598 * Makeconfig [$(build-shared) = yes]
15599 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15600 makefiles.
15601 [$(build-shared) = yes && $(soversions.mk-done) = t]
15602 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15603 [$(build-shared) = yes && $(soversions.mk-done) = t]
15604 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15605 to Makerules.
15606 [$(build-shared) = yes && $(soversions.mk-done) = t]
15607 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15608 here.
15609 [$(build-shared) = yes && $(soversions.mk-done) = t]
15610 (common-generated): Don't append gnu/lib-names.h and
15611 gnu/lib-names.stmp here.
15612 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15613 (lib-names-h-abi): New variable.
15614 [$(build-shared) = yes && $(soversions.mk-done) = t]
15615 (lib-names-stmp-abi): Likewise.
15616 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15617 abi-variants] (before-compile): Append
15618 $(common-objpfx)$(lib-names-h-abi).
15619 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15620 abi-variants] (common-generated): Append gnu/lib-names.h.
15621 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15622 abi-variants] (install-others-nosubdir): Depend on
15623 $(inst_includedir)/$(lib-names-h-abi).
15624 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15625 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15626 [$(build-shared) = yes && $(soversions.mk-done) = t]
15627 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15628 [$(build-shared) = yes && $(soversions.mk-done) = t]
15629 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15630 [$(build-shared) = yes && $(soversions.mk-done) = t]
15631 (common-generated): Append $(lib-names-h-abi) and
15632 $(lib-names-stmp-abi).
15633 * scripts/lib-names.awk: Do not handle multi being set.
15634 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15635 Remove variable.
15636 (abi-lp64_be-ld-soname): Likewise.
15637 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15638 Likewise.
15639 (abi-hard-ld-soname): Likewise.
15640 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15641 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15642 Remove variable.
15643 (abi-o32_hard-ld-soname): Likewise.
15644 (abi-o32_soft_2008-ld-soname): Likewise.
15645 (abi-o32_hard_2008-ld-soname): Likewise.
15646 (abi-n32_soft-ld-soname): Likewise.
15647 (abi-n32_hard-ld-soname): Likewise.
15648 (abi-n32_soft_2008-ld-soname): Likewise.
15649 (abi-n32_hard_2008-ld-soname): Likewise.
15650 (abi-n64_soft-ld-soname): Likewise.
15651 (abi-n64_hard-ld-soname): Likewise.
15652 (abi-n64_soft_2008-ld-soname): Likewise.
15653 (abi-n64_hard_2008-ld-soname): Likewise.
15654 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15655 Likewise.
15656 (abi-64-v2-ld-soname): Likewise.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15658 ld.so entries.
15659 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15660 variable.
15661 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15662 entry.
15663 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15664 variable.
15665 (abi-64-ld-soname): Likewise.
15666 (abi-x32-ld-soname): Likewise.
15667 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15668 entry.
15669 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15670
15671 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15672
15673 [BZ #14138]
15674 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15675 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15676 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15677 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15678 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15679 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15680 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15681 syscall entry for GLIBC_2.2 symbol version.
15682 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15683 Likewise.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15685 (setrlimit): Likewise.
15686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15687 Likewise.
15688
15689 2014-09-23 Will Newton <will.newton@linaro.org>
15690
15691 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15692 _LINUX_ARM_SYSDEP_H include guard too.
15693 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15694 define.
15695
15696 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15697
15698 * sysdeps/unix/sysv/linux/eventfd.c:
15699 Make first argument unsigned.
15700 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15701 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15702
15703 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15704
15705 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15706 * socket/sys/socket.h: Likewise
15707 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15708
15709 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15710
15711 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15712
15713 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15714
15715 * time/tst-ftime.c: New test.
15716 * time/Makefile (tests): Add tst-ftime.
15717
15718 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15719
15720 * soft-fp/extended.h: Fix comment formatting.
15721 * soft-fp/op-1.h: Likewise.
15722 * soft-fp/op-2.h: Likewise.
15723 * soft-fp/op-4.h: Likewise.
15724 * soft-fp/op-8.h: Likewise.
15725 * soft-fp/op-common.h: Likewise.
15726 * soft-fp/soft-fp.h: Likewise.
15727
15728 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15729
15730 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15731
15732 [BZ #6652]
15733 * Makeconfig (soversions-default-setname): Remove variable.
15734 ($(common-objpfx)soversions.i): Don't pass default_setname to
15735 soversions.awk.
15736 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15737 oldest_abi to abi-versions.awk.
15738 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15739 * config.make.in (oldest-abi): Remove variable.
15740 * configure.ac (--enable-oldest-abi): Remove configure option.
15741 * configure: Regenerated.
15742 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15743 text.
15744 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15745 * scripts/soversions.awk: Do not handle default_setname variable.
15746 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15747 variable.
15748 * sysdeps/mach/hurd/configure: Regenerated.
15749 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15750 variable.
15751 * sysdeps/unix/sysv/linux/configure: Regenerated.
15752
15753 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15754
15755 * elf/Makefile (CFLAGS-interp.c): Remove.
15756 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15757 path string.
15758 * elf/interp.c: Include generated runtime-linker.h
15759
15760 * Makerules (lib%.so): Don't include $(+interp) in
15761 prerequisites.
15762 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15763 * dlfcn/eval.c: Remove file.
15764
15765 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15766 macros.
15767
15768 [BZ #17266]
15769 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15770 4.2 and newer.
15771
15772 [BZ #17370]
15773 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15774
15775 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 Jakub Jelinek <jakub@redhat.com>
15777
15778 [BZ #17266]
15779 * libio/stdio.h: Check definition of __fortify_function
15780 instead of __extern_always_inline to include bits/stdio2.h.
15781 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15782 check if __extern_always_inline is defined.
15783 [__USE_MISC || __USE_XOPEN]: Likewise.
15784 [__USE_ISOC99] Likewise.
15785 * misc/sys/cdefs.h (__fortify_function): Define only if
15786 __extern_always_inline is defined.
15787 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15788 __extern_always_inline and __extern_inline only for g++-4.3
15789 and newer or a compatible gcc.
15790
15791 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15792
15793 [BZ #17371]
15794 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15795 last change to handle zero prefix length.
15796
15797 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15798
15799 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15800 _SC_REGEX_VERSION.
15801
15802 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15803 _POSIX_RAW_SOCKETS.
15804
15805 2014-09-13 Allan McRae <allan@archlinux.org>
15806
15807 * po/ru.po: Update Russian translation from translation project.
15808
15809 2014-09-12 Roland McGrath <roland@hack.frob.com>
15810
15811 * locale/programs/locale.c (show_locale_vars): Inline local function
15812 into its sole call site. Clean up some style nits.
15813 (print_item): New function, broken out of ...
15814 (show_info): ... local function here. Clean up style nits.
15815
15816 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15817 out of ...
15818 (set_class_defaults): ... local function set_default here.
15819 Define set_default as a macro locally to pass constant parameters.
15820 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15821 rather than a shared local.
15822
15823 * stdlib/rpmatch.c (try): New function, broken out of ...
15824 (rpmatch): ... local function here. Also, prototypify definition.
15825
15826 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15827
15828 * scripts/soversions.awk: Do not handle configuration names.
15829 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15830 vendor and os variables to soversions.awk.
15831 * configure.ac: Do not modify gnu-* host_os.
15832 * configure: Regenerated
15833 * shlib-versions: Remove first column with configuration names.
15834 * nptl/shlib-versions: Likewise.
15835 * nptl_db/shlib-versions: Likewise.
15836 * sysdeps/hppa/shlib-versions: Likewise.
15837 * sysdeps/m68k/shlib-versions: Likewise.
15838 * sysdeps/mach/hurd/shlib-versions: Likewise.
15839 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15840 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15841 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15842 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15843 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15844 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15845 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15846 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15848 Likewise.
15849 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15850 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15851 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15853 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15854 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15855 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15856 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15857
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15859 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15861 Regenerated.
15862 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15864 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15865
15866 * shlib-versions: Remove OS-specific entries. Moved to files in
15867 sysdeps.
15868 * sysdeps/mach/hurd/shlib-versions: New file.
15869 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15870
15871 * nptl/shlib-versions: Remove architecture-specific entries.
15872 Moved to files in sysdeps.
15873 * shlib-versions: Likewise.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15875 file.
15876 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15877 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15878 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15880
15881 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15882 (UDP_NO_CHECK6_RX): Likewise.
15883
15884 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * sysdeps/posix/sysconf.c (__sysconf): Spell
15887 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15888
15889 2014-08-12 Florian Weimer <fweimer@redhat.com>
15890
15891 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15892 loading.
15893 * iconv/Versions (__gconv_transliterate): Export for use from
15894 gconv modules.
15895 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15896 (struct __gconv_trans_data, __gconv_trans_fct,
15897 __gconv_trans_context_fct, __gconv_trans_query_fct,
15898 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15899 definitions.
15900 (struct __gconv_step_data): Remove __trans member.
15901 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15902 longer hidden. Remove unused trans_data argument.
15903 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15904 (__gconv_translit_find): Remove declaration.
15905 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15906 prototype.
15907 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15908 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15909 trans_data argument. Add hidden definition.
15910 (__gconv_translit_find): Remove.
15911 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15912 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15913 * iconv/skeleton.c: Remove transliteration initialization.
15914 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15915 __gconv_step_data initialization.
15916 * libio/iofwide.c (__libio_translit_): Remove.
15917 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15918 * wcsmbs/btowc.c (__btowc): Likewise.
15919 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15920 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15921 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15922 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15923 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15924 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15925 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15926 * wcsmbs/wctob.c (wctob): Likewise.
15927
15928 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15929
15930 [BZ #16194]
15931 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15932 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15933 register usage.
15934 * sysdeps/x86/Makefile: Adjust.
15935
15936 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15937 Roland McGrath <roland@hack.frob.com>
15938
15939 * locale/weight.h: Add include guard.
15940 (findidx): Make static rather than auto; take new parameters
15941 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15942 * locale/weightwc.h: Likewise.
15943 * posix/fnmatch_loop.c
15944 (FCT): Change type of EXTRA from int32_t to wint_t.
15945 Don't include either header inside the function.
15946 Call FINDIDX rather than findidx, and pass new arguments.
15947 #undef FINDIDX at the end of the file.
15948 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15949 FINDIDX before including fnmatch_loop.c for the non-wide version.
15950 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15951 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15952 for the wide version.
15953 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15954 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15955 Pass new arguments to findidx.
15956 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15957 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15958 Don't #include it inside the function. Pass new arguments to findidx.
15959 * posix/regex_internal.h
15960 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15961 (re_string_elem_size_at): Don't #include it inside the function.
15962 Pass new arguments to findidx.
15963 * string/strcoll_l.c: #include WEIGHT_H at top level.
15964 (get_next_seq): Don't #include it inside the function.
15965 Pass new arguments to findidx.
15966 (get_next_seq_nocache): Likewise.
15967 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15968 (STRXFRM): Don't #include it inside the function.
15969 Pass new arguments to findidx.
15970
15971 2014-09-11 Florian Weimer <fweimer@redhat.com>
15972
15973 [BZ #17344]
15974 * malloc/malloc.c (unlink): Turn asserts into a call to
15975 malloc_printerr.
15976
15977 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15978
15979 [BZ #17370]
15980 * libio/wfileops (do_ftell_wide): Free OUT.
15981
15982 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15983
15984 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15985
15986 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15987
15988 [BZ #17363]
15989 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15990 group if the current group is empty.
15991
15992 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15993
15994 * benchtests/bench-memset.c (test_main): Add more test from size
15995 from 32 to 512 bytes.
15996 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15997 Add POWER8 memset object.
15998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15999 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16000 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16001 implementation.
16002 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16003 Likewise.
16004 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16005 multiarch POWER8 memset optimization.
16006 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16007 POWER8 memset optimization.
16008
16009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16010 Remove bzero multiarch objects.
16011 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16012 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16014 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16015 Remove define.
16016 [__bzero]: Redefine to specific name.
16017 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16018 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16019 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16020 define.
16021 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16023
16024 2014-09-10 Florian Weimer <fweimer@redhat.com>
16025
16026 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16027 warnings into errors.
16028
16029 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16030 __cxa_thread_atexit_impl prototype.
16031
16032 2014-09-09 Steve Ellcey <sellcey@mips.com>
16033
16034 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16035 Fix capitalization of error message.
16036
16037 2014-09-09 Steve Ellcey <sellcey@mips.com>
16038
16039 * sysdeps/mips/preconfigure: Modify ABI tests.
16040
16041 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16042
16043 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16044
16045 2014-09-07 Roland McGrath <roland@hack.frob.com>
16046 Carlos O'Donell <carlos@systemhalted.org>
16047
16048 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16049 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16050 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16051 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16052 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16053 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16054 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16055 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16056 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16057 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16058 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16059 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16060 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16061 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16062 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16063 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16064 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16065 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16066 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16067 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16068 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16069 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16070 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16071 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16072 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16073 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16074 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16075 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16076 Deconditionalize the code that was previously under [RESET_PID].
16077 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16078 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16079 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16080 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16081 include sysdep.h.
16082
16083 2014-09-08 Allan McRae <allan@archlinux.org>
16084
16085 * version.h (RELEASE): Set to "development".
16086 (VERSION): Set to "2.20.90"
16087
16088 2014-09-07 Allan McRae <allan@archlinux.org
16089
16090 * version.h (RELEASE): Set to "stable".
16091 (VERSION): Set to "2.20"
16092 * include/features.h (__GLIBC_MINOR__): Set to 20.
16093
16094 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16095 Liebler.
16096
16097 * po/ko.po: Update Korean translation from translation project.
16098
16099 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16100
16101 [BZ #17354]
16102 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16103 macro for handling signed relocations.
16104
16105 2014-09-03 Florian Weimer <fweimer@redhat.com>
16106
16107 [BZ #17325]
16108 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16109 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16110 assert.
16111 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16112 * iconvdata/ibm935.c (BODY): Likewise.
16113 * iconvdata/ibm937.c (BODY): Likewise.
16114 * iconvdata/ibm939.c (BODY): Likewise.
16115 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16116 assert.
16117 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16118 script.
16119 * iconvdata/run-iconv-test.sh: New test loop for checking for
16120 decoder crashers.
16121
16122 2014-09-02 Khem Raj <raj.khem@gmail.com>
16123
16124 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16125 libm_hidden_ver.
16126
16127 2014-09-01 Allan McRae <allan@archlinux.org>
16128
16129 * po/eo.po: Update Esperanto translation from translation project.
16130
16131 * po/ca.po: Update Catalan translation from translation project.
16132
16133 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16134
16135 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16136 __proc_dostop call.
16137
16138 2014-08-27 Mark Wielaard <mjw@redhat.com>
16139
16140 [BZ #17319]
16141 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16142 to call set_thread_area instead of hand written asm.
16143 (__NR_set_thread_area): Removed define.
16144 (TLS_FLAG_WRITABLE): Likewise.
16145 (__ASSUME_SET_THREAD_AREA): Remove check.
16146 (TLS_EBX_ARG): Remove define.
16147 (TLS_LOAD_EBX): Likewise.
16148
16149 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16150
16151 Simplify atomicity of socket creation in bind.
16152
16153 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16154 looking up the name after linking the file.
16155
16156 2014-08-27 Allan McRae <allan@archlinux.org>
16157
16158 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16159
16160 2014-08-26 Florian Weimer <fweimer@redhat.com>
16161
16162 [BZ #17187]
16163 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16164 trans_compare, open_translit, __gconv_translit_find):
16165 Remove module loading code.
16166
16167 2014-08-26 Allan McRae <allan@archlinux.org>
16168
16169 * po/vi.po: Update Vietnamese translation from translation project.
16170
16171 * po/uk.po: Update Ukrainian translation from translation project.
16172
16173 * po/fr.po: Update French translation from translation project.
16174
16175 * po/ru.po: Update Russian translation from translation project.
16176
16177 * po/pl.po: Update Polish translation from translation project.
16178
16179 * po/cs.po: Update Czech translation from translation project.
16180
16181 * po/de.po: Update German translation from translation project.
16182
16183 * po/bg.po: Update Bulgarian translation from translation project.
16184
16185 * po/sv.po: Update Sweedish translation from translation project.
16186
16187 * po/nl.po: Update Dutch translation from translation project.
16188
16189 * po/es.po: Update Spanish translation from translation project.
16190
16191 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
16193 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16194
16195 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16196 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16197 (CPPFLAGS-iconvconfig): Likewise.
16198 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16199
16200 * include/libc-symbols.h: Remove unnecessary check for
16201 NOT_IN_libc.
16202 * nptl/pthreadP.h: Likewise.
16203 * sysdeps/aarch64/setjmp.S: Likewise.
16204 * sysdeps/alpha/setjmp.S: Likewise.
16205 * sysdeps/arm/sysdep.h: Likewise.
16206 * sysdeps/i386/setjmp.S: Likewise.
16207 * sysdeps/m68k/setjmp.c: Likewise.
16208 * sysdeps/posix/getcwd.c: Likewise.
16209 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16211 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16212 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16213 * sysdeps/sh/sh3/setjmp.S: Likewise.
16214 * sysdeps/sh/sh4/setjmp.S: Likewise.
16215 * sysdeps/unix/alpha/sysdep.h: Likewise.
16216 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16218 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16219 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16224 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16227 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16229 * sysdeps/x86_64/setjmp.S: Likewise.
16230
16231 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16232
16233 [BZ #17263]
16234 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16235 <stdint.h>.
16236 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16237 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16238
16239 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16240
16241 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16242
16243 [BZ #17262]
16244 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16245 and __x86_64__ when disabling x87 inline functions.
16246
16247 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 [BZ #17259]
16250 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16251 asm statement with __cpuid_count.
16252
16253 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16254
16255 * configure.ac: Change __ehdr_start code to dereference the struct.
16256 Run readelf on the output to look for relocations.
16257 * configure: Regenerated.
16258
16259 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16260
16261 [BZ #17261]
16262 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16263 value to 0.
16264 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16265
16266 2014-08-12 Roland McGrath <roland@hack.frob.com>
16267
16268 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16269
16270 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16271
16272 [BZ #16892]
16273 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16274 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16275
16276 2014-08-12 Sean Anderson <seanga2@gmail.com>
16277
16278 * malloc/malloc.c: Fix typo in comment.
16279
16280 2014-08-09 Allan McRae <allan@archlinux.org>
16281
16282 * Regenerate libc.po.
16283
16284 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16285
16286 * intl/tst-gettext2.sh: Check every lang file for creation.
16287
16288 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16289
16290 * sysdeps/aarch64/fpu/math_private.h
16291 (libc_feholdsetround_noex_aarch64_ctx): New function.
16292
16293 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16294
16295 * sysdeps/arm/armv6/strcpy.S (strcpy):
16296 Fix performance issue in misaligned cases.
16297
16298 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16299
16300 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16301 Move definition from termios.h.
16302 (struct termio): Likewise.
16303 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16304 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16305 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16306 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16307 Likewise.
16308 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16309 Move definition to ioctl-types.h
16310 (struct termio): Likewise.
16311 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16312 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16313 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16314 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16315 Likewise.
16316
16317 2014-08-05 Richard Henderson <rth@redhat.com>
16318
16319 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16320 exceptions.
16321 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16322 Add fraiseexcpt.
16323 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16324 Use __feraiseexcept.
16325 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16326 Protect libm symbols with IS_IN_libm.
16327
16328 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16329
16330 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16331
16332 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16333
16334 2014-08-04 Will Newton <will.newton@linaro.org>
16335
16336 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16337 file.
16338
16339 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16340
16341 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16342 variants for each function.
16343
16344 2014-08-04 Roland McGrath <roland@hack.frob.com>
16345
16346 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16347 appended ...
16348 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16349 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16350 appended ...
16351 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16352 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16353 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16354 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16355 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16356 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16357 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16358 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16359 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16360 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16361 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16362 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16363 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16364 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16365 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16366 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16367 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16368 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16369 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16370 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16371 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16372 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16374 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16375 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16376 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16377 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16378 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16379 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16380 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16381 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16382 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16383 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16384 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16385 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16386 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16387 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16388 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16389 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16390 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16391 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16393 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16394 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16395 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16396 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16397 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16398 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16399 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16400 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16401 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16402 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16403 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16404 Update #include.
16405 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16406 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16407
16408 2014-08-04 Roland McGrath <roland@hack.frob.com>
16409
16410 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16411 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16412 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16413 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16414 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16415 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16416
16417 2014-08-04 Roland McGrath <roland@hack.frob.com>
16418
16419 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16420 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16421 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16422 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16423
16424 2014-08-04 Roland McGrath <roland@hack.frob.com>
16425
16426 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16427 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16428 (__libc_vfork): Define function under this name.
16429 (__vfork): Define as an alias.
16430 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16431 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16432
16433 2014-08-04 Roland McGrath <roland@hack.frob.com>
16434
16435 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16436 that was previously under [RESET_PID].
16437 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16438
16439 2014-08-04 Andreas Schwab <schwab@suse.de>
16440
16441 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16442
16443 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16444
16445 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16446 (main): Likewise.
16447
16448 2014-08-01 Roland McGrath <roland@hack.frob.com>
16449
16450 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16451
16452 2014-08-01 Richard Henderon <rth@redhat.com>
16453
16454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16455 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16456 typo in exact zero test.
16457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16458 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16460
16461 2014-08-01 Roland McGrath <roland@hack.frob.com>
16462
16463 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16464 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16465 * sysdeps/arm/sysdep.h: ... here.
16466 [!__ASSEMBLER__]: Include <stdint.h>.
16467
16468 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16469
16470 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16471 (HAVE_WCTYPE_H): Likewise.
16472 (HAVE_ISWCTYPE): Likewise.
16473 (ENABLE_NLS): Likewise.
16474 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16475 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16476
16477 * posix/regex_internal.c: Check if DEBUG is defined and is
16478 set.
16479
16480 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16481 (HAVE_MBSRTOWCS): Likewise.
16482 * posix/fnmatch.c: Include string.h unconditionally.
16483
16484 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16485
16486 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16487 reversal.
16488
16489 2014-07-31 Roland McGrath <roland@hack.frob.com>
16490
16491 * sysdeps/generic/safe-fatal.h: New file.
16492 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16493 * nptl/forward.c: Include it.
16494 (__pthread_unwind): Use __safe_fatal as default action, rather
16495 than a bogus use of INTERNAL_SYSCALL that could never work.
16496
16497 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16498 * configure.ac (libc_cv_builtin_trap): New test.
16499 * configure: Regenerated.
16500 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16501 (ABORT_INSTRUCTION): Define using __builtin_trap.
16502
16503 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16504 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16505 * sysdeps/nptl/nptl-signals.h: New file.
16506 * nptl/pthreadP.h: Include <nptl-signals.h>.
16507
16508 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16509
16510 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16511 (ONE_DIRECTION): Define.
16512 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16513 (ONE_DIRECTION): Define.
16514 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16515 (ONE_DIRECTION): Define.
16516
16517 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16518
16519 * sysdeps/s390/Makefile: Delete file.
16520 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16521 * sysdeps/s390/__longjmp.c: Delete file.
16522 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16523 Remove fields __flags and __reserved.
16524 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16525 and add versioning.
16526 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16527 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16528 * sysdeps/s390/rtld-setjmp.S: Likewise.
16529 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16530 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16531 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16532 * sysdeps/s390/s390-32/setjmp.S: ... here.
16533 Add versioning.
16534 (__sigsetjmp): Remove setting __flags field.
16535 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16536 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16537 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16538 * sysdeps/s390/s390-64/setjmp.S: ... here.
16539 Add versioning.
16540 (__sigsetjmp): Remove setting __flags field.
16541 * sysdeps/s390/setjmp.S: Delete file.
16542 * sysdeps/s390/sigjmp.c: Likewise.
16543 * sysdeps/s390/v1-longjmp.c: Likewise.
16544 * sysdeps/s390/v1-setjmp.h: Likewise.
16545 * sysdeps/s390/v1-sigjmp.c: Likewise.
16546 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16547 Remove v1-longjmp_chk.
16548 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16549 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16550 Include debug/longjmp_chk.c and add versioning.
16551 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16552 Include nptl/pt-longjmp.c and add versioning.
16553 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16554 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16555 Include __longjmp.c.
16556 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16557 Move to ...
16558 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16559 (__getcontext): Remove setting __flags field.
16560 Add versioning.
16561 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16562 Don't restore upper high grps.
16563 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16564 Likewise.
16565 (__swapcontext): Remove setting uc_flags field.
16566 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16567 Delete file.
16568 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16569 Include __longjmp.c.
16570 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16571 Move to ...
16572 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16573 (__getcontext): Remove setting __flags field.
16574 Add versioning.
16575 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16576 (__swapcontext): Remove setting uc_flags field.
16577 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16579 Remove fields uc_high_gprs and __reserved.
16580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16581 New file with reverted content.
16582 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16583 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16584 Regenerated.
16585 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16586 Regenerated.
16587
16588 2014-07-31 Andreas Schwab <schwab@suse.de>
16589
16590 * config.h.in (HAVE_IFUNC): Define to 0.
16591 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16592 definedness.
16593
16594 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16595
16596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16597 memmove-avx-unaligned, memcpy-avx-unaligned and
16598 mempcpy-avx-unaligned.
16599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16600 Add tests for AVX memcpy functions.
16601 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16602 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16603 memcpy_chk.
16604 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16605 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16606 memmove_chk.
16607 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16608 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16609 mempcpy_chk.
16610 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16611 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16612 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16613
16614 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615
16616 [BZ #17213]
16617 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16618 powerpc64le.
16619
16620 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16621
16622 [BZ #16839]
16623 * manual/llio.texi: Add section about open file description locks.
16624 * manual/examples/ofdlocks.c: Example of open file description
16625 lock usage.
16626 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16627 F_OFD_SETLK, and F_OFD_SETLKW.
16628
16629 2014-07-23 Allan McRae <allan@archlinux.org>
16630
16631 * po/es.po: Update Spanish translation from translation project.
16632
16633 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16634
16635 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16636
16637 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16638
16639 [BZ #17078]
16640 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16641 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16642 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16643
16644 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16645
16646 [BZ #17088]
16647 * math/fesetenv.c (__fesetenv)
16648 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16649 * math/feupdateenv.c (__feupdateenv)
16650 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16651
16652 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16653 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16654 (__ASSUME_SOCKETCALL): Do not define.
16655
16656 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16657 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16658 (__ASSUME_SOCKETCALL): Do not define.
16659 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16660 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16661 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16662 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16663 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16664 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16665 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16666 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16667
16668 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16669 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16670 (__ASSUME_SOCKETCALL): Do not define.
16671 (__ASSUME_IPC64): Define unconditionally.
16672 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16673 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16674 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16675 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16676 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16677 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16678 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16679 Likewise.
16680
16681 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16682 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16683 (__ASSUME_SOCKETCALL): Do not define.
16684 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16685 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16686 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16687 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16688 (__ASSUME_REQUEUE_PI): Define unconditionally.
16689 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16690 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16691 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16692 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16693 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16694 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16695
16696 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16697 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16698 (__ASSUME_SOCKETCALL): Do not define.
16699 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16700 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16701 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16702 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16703 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16704 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16705
16706 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16707 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16708 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16709 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16710 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16711 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16712 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16713 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16714 (__ASSUME_GETCPU_SYSCALL): Likewise.
16715
16716 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16717 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16718 cases for individual architectures.
16719 * sysdeps/gnu/configure: Regenerated.
16720 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16721 LIBC_SLIBDIR_RTLDDIR.
16722 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16723 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16724 LIBC_SLIBDIR_RTLDDIR.
16725 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16727 LIBC_SLIBDIR_RTLDDIR.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16729 Regenerated.
16730 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16731 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16732 file.
16733 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16734 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16735 file.
16736 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16737 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16738 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16739 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16740
16741 * sysdeps/aarch64/shlib-versions: Move to ...
16742 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16743 * sysdeps/alpha/shlib-versions: Move to ...
16744 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16745 * sysdeps/arm/shlib-versions: Move to ...
16746 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16747 * sysdeps/hppa/shlib-versions: Move all contents except for
16748 libgcc_s entry to ...
16749 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16750 entry from ...
16751 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16752 * sysdeps/ia64/shlib-versions: Move to ...
16753 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16754 entry from ...
16755 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16756 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16757 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16758 * sysdeps/microblaze/shlib-versions: Move to ...
16759 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16760 * sysdeps/mips/shlib-versions: Move to ...
16761 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16762 entry from ...
16763 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16764 * sysdeps/tile/shlib-versions: Move to ...
16765 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16766 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16767 from ...
16768 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16769 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16770 entry from ...
16771 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16772
16773 2014-07-17 Will Newton <will.newton@linaro.org>
16774
16775 * sysdeps/arm/bits/atomic.h
16776 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16777 (__arch_compare_and_exchange_bool_16_int): Likewise.
16778 (__arch_compare_and_exchange_bool_64_int): Likewise.
16779
16780 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16781 into an #else block.
16782
16783 2014-07-16 Roland McGrath <roland@hack.frob.com>
16784
16785 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16786 just Linux configurations. Test empirically that the compiler sets
16787 __ARM_EABI__, rather than using the tuple to decide.
16788 * sysdeps/arm/preconfigure: Regenerated.
16789 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16790 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16791 contents appended ...
16792 * sysdeps/arm/configure.ac: ... here.
16793 * sysdeps/arm/configure: Regenerated.
16794
16795 2014-07-15 Roland McGrath <roland@hack.frob.com>
16796
16797 * nptl/pthread_kill.c: New file.
16798 * nptl/pthread_sigmask.c: New file.
16799 * nptl/pthread_sigqueue.c: New file.
16800
16801 * sysdeps/nptl/lowlevellock.h: New file.
16802 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16803 * sysdeps/nptl/lowlevellock-futex.h: New file.
16804
16805 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16806 Remove dead declarations.
16807
16808 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16811 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16812 config-cflags-avx2.
16813 * sysdeps/x86_64/configure.ac: Likewise.
16814 * sysdeps/i386/configure: Regenerated.
16815 * sysdeps/x86_64/configure: Likewise.
16816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16817 memset-avx2 only if config-cflags-avx2 is yes.
16818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16819 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16820 defined.
16821 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16822 only if HAVE_AVX2_SUPPORT is defined.
16823 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16824
16825 2014-07-14 Alan Modra <amodra@gmail.com>
16826
16827 [BZ #17153]
16828 * elf/elf.h (DT_PPC64_NUM): Correct value.
16829 * NEWS: Add to fixed bug list.
16830
16831 2014-07-13 Jim Meyering <meyering@fb.com>
16832
16833 [BZ 17150]
16834 regex: don't deref NULL upon heap allocation failure
16835 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16836 failure in one more place.
16837 To trigger the segfault, configure grep -with-included-regex,
16838 build it, and run these commands:
16839 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16840
16841 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16842
16843 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16844
16845 2014-07-11 Richard Henderson <rth@redhat.com>
16846
16847 * sysdeps/aarch64/libm-test-ulps: Update.
16848
16849 2014-07-10 Florian Weimer <fweimer@redhat.com>
16850
16851 [BZ #17135]
16852 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16853 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16854 (__nptl_setxid): Initialize error member. Call
16855 __nptl_setxid_error.
16856 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16857 * nptl/descr.h (struct xid_command): Add error member.
16858 * nptl/tst-setuid3.c: New file.
16859 * nptl/Makefile (tests): Add it.
16860
16861 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16862
16863 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16864 New define.
16865 (__lll_trylock): Use __lll_base_trylock.
16866 (__lll_cond_trylock): Likewise.
16867
16868 2014-07-10 Roland McGrath <roland@hack.frob.com>
16869
16870 * nptl/pthread_create.c (start_thread): Use atomic_or and
16871 lll_futex_wake directly rather than lll_robust_dead.
16872 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16873 (lll_robust_dead): Macro removed.
16874 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16875 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16876 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16877 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16878 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16879 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16880 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16881 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16882 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16884 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16885 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16886 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16887 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16889
16890 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16891 Use atomic_compare_and_exchange_val_acq directly rather than
16892 lll_robust_trylock.
16893 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16894 (__lll_robust_trylock, lll_robust_trylock): Removed.
16895 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16896 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16897 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16899 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16900 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16901 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16902 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16903 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16904 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16905 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16906 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16907 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16909
16910 2014-07-02 Florian Weimer <fweimer@redhat.com>
16911
16912 * manual/locale.texi (Locale Names): New section documenting
16913 locale name syntax. Adjust menu and node chaining accordingly.
16914 (Choosing Locale): Reference Locale Names, Locale Categories.
16915 Mention setting LC_ALL=C. Reflect that name syntax is now
16916 documented.
16917 (Locale Categories): New section title. Reference Locale Names.
16918 LC_ALL is an environment variable, but not a category.
16919 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16920 description, now in Locale Name. Reference that section. Locale
16921 name syntax is now documented.
16922
16923 2014-07-02 Florian Weimer <fweimer@redhat.com>
16924
16925 [BZ #17137]
16926 * locale/findlocale.c (name_present, valid_locale_name): New
16927 functions.
16928 (_nl_find_locale): Use the loc_name variable to store name
16929 candidates. Call name_present and valid_locale_name to check and
16930 validate locale names. Return an error if the locale is invalid.
16931
16932 2014-07-02 Florian Weimer <fweimer@redhat.com>
16933
16934 * locale/setlocale.c (setlocale): Use strdup for allocating
16935 composite name copy.
16936
16937 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16938
16939 Sync up with gnulib.
16940 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16941 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16942 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16943 and _GL_ARG_NONNULL.
16944 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16945 [!_LIBC]: Include code for Windows and Cygwin.
16946 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16947 Include prototype for int strerror_r.
16948 [!_LIBC] (is_open): New function.
16949 (flush_stdout): New function.
16950 (print_errno_message): Use it.
16951 (error): Likewise.
16952 (error_at_line): Likewise.
16953 (error_tail) Add function attribute macros. Use
16954 __builtin_expect.
16955
16956 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16957
16958 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16959
16960 * io/ftw.c: Include sys/param.h unconditionally.
16961
16962 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16963
16964 [BZ #17125]
16965 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16966 libc_freeres_ptr.
16967 (freecache): New function to free CACHE on exit.
16968
16969 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16970 initialization.
16971
16972 2014-07-09 David S. Miller <davem@davemloft.net>
16973
16974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16975
16976 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16977 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16978 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16979 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16980 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16981 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16982 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16983 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16984 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16985 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16986 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16987 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16988 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16989
16990 2014-07-09 Andreas Schwab <schwab@suse.de>
16991
16992 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16993 output.
16994 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16995 (do_test): Likewise.
16996
16997 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16998
16999 2014-07-09 Will Newton <will.newton@linaro.org>
17000
17001 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17002 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17003 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17004 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17005 * sysdeps/hppa/start.S (_start): Likewise.
17006
17007 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17008
17009 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17010
17011 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17012 defined.
17013
17014 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17015
17016 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17017 after checking that it is non-NULL.
17018
17019 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17020
17021 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17022
17023 * sysdeps/powerpc/memmove.c: Remove file.
17024 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17025 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17026 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17027 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17028 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17029 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17030 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17031 string memmove instead of removed powerpc one.
17032
17033 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17034 [weak_alias]: Fix compiler warning due trailing data.
17035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17036 [weak_alias]: Likewise.
17037 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17038 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17039
17040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17041 (__libc_ifunc_impl_list): Add memmove functions.
17042
17043 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17044
17045 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17046 Remove code.
17047 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17048 Likewise
17049 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17050 Likewise
17051 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17052 Likewise
17053 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17054 Likewise
17055 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17056 Likewise
17057 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17058 Likewise
17059 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17060 Likewise
17061 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17062 Likewise
17063 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17064 Likewise
17065 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17066 Likewise
17067 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17068 Likewise
17069 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17070 Likewise
17071 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17072 Likewise
17073 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17074 Likewise
17075 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17076 Likewise
17077 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17078 Likewise
17079
17080 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17081
17082 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17083 to avoid alignment traps in non-cacheable memory.
17084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17085
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17087 multiarch objects.
17088 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17089 file: multiarch power7 memmove.
17090 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17091 multiarch default memmove.
17092 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17093 multiarch memove for powerpc32/power4.
17094
17095 * string/bcopy.c: Use full path to include memmove.c.
17096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17097 multiarch objects.
17098 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17099 bcopy for powerpc64.
17100 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17101 bcopy for powerpc64.
17102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17103 and memmove implementations.
17104 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17105 optimized multiarch memmove for POWER7/powerpc64.
17106 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17107 default multiarch memmove for powerpc64.
17108 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17109 multiarch for powerpc64.
17110 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17111 for POWER7/powerpc64.
17112 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17113 memmove for POWER7/powerpc64.
17114
17115 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17116 glibc default one.
17117
17118 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17119 __ELF_NATIVE_CLASS equal to 64.
17120
17121 2014-07-07 Roland McGrath <roland@hack.frob.com>
17122
17123 * sysdeps/nptl/lowlevellock.h: File removed.
17124
17125 * NEWS: NPTL is no longer an add-on!
17126 * nptl/internaltypes.h: Moved ...
17127 * sysdeps/nptl/internaltypes.h: ... here.
17128 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17129 * sysdeps/nptl/fork.c: Likewise.
17130 * sysdeps/nptl/gai_misc.h: Likewise.
17131 * sysdeps/nptl/librt-cancellation.c: Likewise.
17132 * sysdeps/nptl/jmp-unwind.c: Likewise.
17133 * sysdeps/nptl/setxid.h: Likewise.
17134 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17135 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17136 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17137 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17138 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17139 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17140 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17141 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17142 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17143 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17144 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17145 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17146 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17147 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17148 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17150 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17151 * nptl/Makeconfig: Moved ...
17152 * sysdeps/nptl/Makeconfig: ... here.
17153 * nptl/configure: File removed.
17154 * nptl/ANNOUNCE: File removed.
17155 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17156 * sysdeps/unix/sysv/linux/configure: Regenerated.
17157
17158 * nptl/Makefile (routines): Add libc_pthread_init,
17159 libc_multiple_threads, register-atfork and unregister-atfork.
17160 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17161 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17162 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17163 pthread-pi-defines.sym, structsem.sym.
17164 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17165 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17166 [$(subdir) = nptl] (tests): Add tst-setgetname.
17167 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17168 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17169 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17170 [!LIBC_SIGACTION]: Remove aliases.
17171 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17172 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17173 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17174 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17175 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17176 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17178 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17179 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17180 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17181 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17182 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17183 __libc_allocate_rtsig_private.
17184 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17185 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17186 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17187 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17188 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17189 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17190 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17191 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17192 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17193 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17194 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17195 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17196 * nptl/internaltypes.h: ... here.
17197 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17198 * sysdeps/nptl/jmp-unwind.c: ... here.
17199 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17200 * nptl/libc-lowlevellock.c: ... here.
17201 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17202 * nptl/libc_multiple_threads.c: ... here.
17203 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17204 * nptl/libc_pthread_init.c: ... here.
17205 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17206 * nptl/lowlevelbarrier.sym: ... here.
17207 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17208 * nptl/lowlevelcond.sym: ... here.
17209 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17210 * nptl/lowlevellock.c: ... here.
17211 * nptl/lowlevellock.h: Moved ...
17212 * sysdeps/nptl/lowlevellock.h: ... here.
17213 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17214 * nptl/lowlevelrobustlock.c: ... here.
17215 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17216 * nptl/lowlevelrobustlock.sym: ... here.
17217 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17218 * nptl/lowlevelrwlock.sym: ... here.
17219 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17220 * nptl/pt-fork.c: ... here.
17221 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17222 * nptl/pthread-pi-defines.sym: ... here.
17223 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17224 * nptl/pthread_attr_getaffinity.c: ... here.
17225 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17226 * nptl/pthread_attr_setaffinity.c: ... here.
17227 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17228 * nptl/pthread_mutex_cond_lock.c: ... here.
17229 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17230 Update #include.
17231 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17232 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17233 * nptl/pthread_once.c: ... here, replacing old file.
17234 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17235 * nptl/pthread_yield.c: ... here.
17236 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17237 * nptl/register-atfork.c: ... here.
17238 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17239 * nptl/sem_post.c: ... here.
17240 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17241 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17242 * nptl/sem_timedwait.c: ... here.
17243 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17244 * nptl/sem_trywait.c: ... here.
17245 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17246 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17247 * nptl/sem_wait.c: ... here.
17248 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17249 * nptl/structsem.sym: ... here.
17250 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17251 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17252 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17253 * nptl/unregister-atfork.c: ... here.
17254 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17255 * nptl/unwindbuf.sym: ... here.
17256 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17257 * sysdeps/nptl/fork.c: ... here.
17258 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17259 * sysdeps/nptl/fork.h: ... here.
17260 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17261 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17262 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17263 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17264 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17265 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17266 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17267 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17268 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17269 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17270 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17271 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17272 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17273 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17274 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17276 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17278 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17279 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17280 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17281 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17282 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17283 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17284 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17285 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17286 * sysdeps/unix/sysv/linux/raise.c: ... here.
17287 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17288 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17289 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17290 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17291 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17292 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17293 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17294 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17295 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17296 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17297 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17298 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17300 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17301 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17302
17303 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17304
17305 * sysdeps/generic/memcopy.h: Add comment for
17306 MEMCPY_OK_FOR_FWD_MEMMOVE.
17307
17308 2014-07-04 Will Newton <will.newton@linaro.org>
17309
17310 * string/memchr.c: Merge from gnulib.
17311 [_LIBC]: Remove conditionals.
17312 (__ptr_t): Remove define.
17313 (LONG_MAX_32_BITS): Likewise.
17314 (LONG_MAX): Likewise.
17315 (MEMCHR): Use ANSI prototype and optimize algorithm.
17316
17317 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17318
17319 2014-07-03 Roland McGrath <roland@hack.frob.com>
17320
17321 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17322 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17323
17324 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17325 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17326 in a bare environment with no <stdlib.h> installed.
17327 * sysdeps/nptl/configure: Regenerated.
17328
17329 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17330
17331 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17332 AC_EGREP_CPP for kernel header checks, so they only succeed if
17333 including <linux/version.h> actually works right.
17334 * sysdeps/unix/sysv/linux/configure: Regenerated.
17335
17336 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17337 value so it's not diagnosed as unused.
17338
17339 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17340 thing) with "ifeq ($(subdir),rt)".
17341
17342 2014-07-03 Richard Henderson <rth@redhat.com>
17343
17344 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17345 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17346 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17347
17348 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17349 (math_force_eval): New.
17350
17351 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17352 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17353
17354 * sysdeps/alpha/fpu/s_round.c: Remove file.
17355 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17356
17357 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17358 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17359 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17360 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17361 (_dl_start, print_statistics): Likewise.
17362 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17363 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17364
17365 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17366 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17367 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17368 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17370 (HP_SMALL_TIMING_AVAIL): Define.
17371 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17372 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17373 (HP_SMALL_TIMING_AVAIL): Define.
17374 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17375 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17376
17377 * sysdeps/aarch64/hp-timing.h: New file.
17378
17379 * sysdeps/generic/hp-timing.h: Remove dead comment.
17380 * sysdeps/generic/hp-timing-common.h: New file.
17381 * sysdeps/alpha/hp-timing.h: Include it.
17382 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17383 * sysdeps/i386/i686/hp-timing.h: Likewise.
17384 * sysdeps/ia64/hp-timing.h: Likewise.
17385 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17386 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17387 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17388 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17389 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17390 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17391 (hp_timing_t): New.
17392
17393 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17394 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17395 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17396 * elf/rtld.c (_dl_start_final): Likewise.
17397 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17398 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17399 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17400 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17401 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17403 (HP_TIMING_DIFF_INIT): Remove.
17404 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17406 (HP_TIMING_DIFF_INIT): Remove.
17407 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17408 * sysdeps/i386/i686/hp-timing.c: Remove file.
17409 * sysdeps/x86_64/hp-timing.c: Remove file.
17410 * sysdeps/ia64/hp-timing.c: Remove file.
17411 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17412 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17413 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17414 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17415
17416 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17417 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17418 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17419 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17420 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17421 (HP_TIMING_ACCUM): Remove.
17422 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17423 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17424 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17425
17426 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17427 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17428 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17429 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17431 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17432 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17433 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17434
17435 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17436
17437 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17438
17439 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17440
17441 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17442
17443 Sync up with gettext.
17444 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17445 [_MSC_VER]: Include malloc.h
17446 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17447 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17448 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17449 TEMP_FAILURE_RETRY. Cast return of alloca.
17450 [!_LIBC] Call gl_rwlock_init.
17451 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17452
17453 2014-07-02 Roland McGrath <roland@hack.frob.com>
17454
17455 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17456 before checking its value.
17457
17458 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17459
17460 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17461
17462 * debug/memcpy_chk.c: Don't include pagecopy.h.
17463 * debug/mempcpy_chk.c: Likewise.
17464 * string/memcpy.c: Likewise.
17465 * string/memmove.c: Likewise.
17466 * sysdeps/powerpc/memmove.c: Likewise.
17467 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17468 definition of PAGE_COPY_FWD_MAYBE here...
17469 * sysdeps/generic/pagecopy.h: ... from here.
17470 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17471
17472 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17473 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17474
17475 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17477 optimizations.
17478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17479 (__libc_ifunc_impl_list): Likewise.
17480 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17481 multiarch strcat for PPC64.
17482 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17483 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17484
17485 2014-07-02 Roland McGrath <roland@hack.frob.com>
17486
17487 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17488
17489 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17490
17491 * intl/loadmsgcat.c: Remove declaration of
17492 get_sysdep_segment_value.
17493 (get_sysdep_segment_value): Use ISO C style.
17494 (_nl_load_domain): Use ISO C style. Get rid of redundant
17495 semicolon. Fix typo and formatting in comment.
17496 (_nl_unload_domain): Use ISO C style.
17497
17498 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17499
17500 2014-07-02 Will Newton <will.newton@linaro.org>
17501
17502 * malloc/obstack.c: Merge from gnulib master.
17503 [HAVE_CONFIG_H]: Remove conditional code.
17504 [!_LIBC]: Include config.h.
17505 [!ELIDE_CODE]: Don't include inttypes.h, include
17506 stdint.h unconditionally.
17507 (print_and_abort): Mark as _Noreturn.
17508 (_obstack_allocated_p): Mark as __attribute_pure__.
17509 (obstack_free): Rename to __obstack_free.
17510 [!__attribute__]: Remove conditional code.
17511 * malloc/obstack.h: Merge from gnulib master.
17512 [__cplusplus]: Move conditional down.
17513 [!__attribute_pure__]: Define __attribute_pure__ here
17514 if it is not already defined.
17515 (_obstack_memory_used): Mark as __attribute_pure__.
17516 [!__obstack_free]: Define as obstack_free.
17517 [__GNUC__]: Remove check for ancient NeXT gcc.
17518
17519 2014-07-02 Will Newton <will.newton@linaro.org>
17520 Paul Eggert <eggert@cs.ucla.edu>
17521
17522 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17523
17524 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17525
17526 * resolv/gethnamaddr.c: Add comment warning that the file is
17527 not maintained.
17528
17529 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17530
17531 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17532 entries.
17533
17534 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17535 entry for aio_cancel and aio_cancel64.
17536 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17537 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17538 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17539 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17540 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17541 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17542 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17543 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17544 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17545 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17546 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17547 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17548 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17549
17550 2014-07-01 Roland McGrath <roland@hack.frob.com>
17551
17552 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17553 * nptl/pthread_mutex_lock.c: Likewise.
17554 * nptl/pthread_mutex_timedlock.c: Likewise.
17555 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17556
17557 2014-07-01 Richard henderson <rth@redhat.com>
17558
17559 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17560 (__isnan, __isnanl): Remove.
17561 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17562
17563 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17564
17565 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17566
17567 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17568
17569 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17570
17571 * resolv/nss_dns/dns-host.c (getanswer_r)
17572 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17573
17574 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17575
17576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17577 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17578 undefine.
17579 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17580 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17581
17582 2014-07-01 Roland McGrath <roland@hack.frob.com>
17583
17584 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17585 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17586
17587 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17588 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17589
17590 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17591 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17592 ... here.
17593 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17595
17596 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17597 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17598 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17599 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17600
17601 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17602 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17603 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17604 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17605 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17606 Moved ...
17607 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17608 ... here.
17609 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17610 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17611 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17612 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17613 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17614 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17615 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17616 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17617 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17618 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17619 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17620 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17621 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17622 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17623 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17624 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17625 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17626 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17627 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17628 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17629 ... here.
17630 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17631 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17632 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17633 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17634 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17635 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17636 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17637 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17638
17639 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17640
17641 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17642 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17643 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17644 Add sysdep.
17645
17646 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17647
17648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17649
17650 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17651
17652 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17653 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17654
17655 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17656
17657 * sysdeps/arm/libm-test-ulps: Regenerated.
17658
17659 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17660 Roland McGrath <roland@hack.frob.com>
17661
17662 * test-skeleton.c (signal_handler): Kill the whole process group
17663 before killing the child individually.
17664 (main): Report any failure on `setpgid'.
17665
17666 2014-06-30 Roland McGrath <roland@hack.frob.com>
17667
17668 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17669 from _TLS_H to _ARM_NPTL_TLS_H.
17670 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17671 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17672
17673 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17674
17675 [BZ #16539]
17676 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17677 (__expm1l): Return argument unchanged when small but not
17678 subnormal.
17679
17680 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17681 include macro name.
17682 (_FP_UNPACK_RAW_1_P): Likewise.
17683 (_FP_PACK_RAW_1): Likewise.
17684 (_FP_PACK_RAW_1_P): Likewise.
17685 (_FP_MUL_MEAT_1_wide): Likewise.
17686 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17687 (_FP_MUL_MEAT_1_hard): Likewise.
17688 (_FP_DIV_MEAT_1_imm): Likewise.
17689 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17690 (_FP_DIV_MEAT_1_udiv): Likewise.
17691 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17692 (_FP_UNPACK_RAW_2): Likewise.
17693 (_FP_UNPACK_RAW_2_P): Likewise.
17694 (_FP_PACK_RAW_2): Likewise.
17695 (_FP_PACK_RAW_2_P): Likewise.
17696 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17697 (_FP_MUL_MEAT_2_wide): Likewise.
17698 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17699 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17700 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17701 (_FP_MUL_MEAT_2_gmp): Likewise.
17702 (_FP_DIV_MEAT_2_udiv): Likewise.
17703 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17704 (_FP_FRAC_SRL_4): Likewise.
17705 (_FP_FRAC_SRST_4): Likewise.
17706 (_FP_FRAC_SRS_4): Likewise.
17707 (_FP_UNPACK_RAW_4): Likewise.
17708 (_FP_UNPACK_RAW_4_P): Likewise.
17709 (_FP_PACK_RAW_4): Likewise.
17710 (_FP_PACK_RAW_4_P): Likewise.
17711 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17712 (_FP_MUL_MEAT_4_wide): Likewise.
17713 (_FP_MUL_MEAT_4_gmp): Likewise.
17714 (umul_ppppmnnn): Likewise.
17715 (_FP_DIV_MEAT_4_udiv): Likewise.
17716 (__FP_FRAC_ADD_4): Likewise.
17717 (__FP_FRAC_SUB_3): Likewise.
17718 (__FP_FRAC_SUB_4): Likewise.
17719 (__FP_FRAC_DEC_3): Likewise.
17720 (__FP_FRAC_DEC_4): Likewise.
17721 (__FP_FRAC_ADDI_4): Likewise.
17722 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17723 (_FP_FRAC_SRL_8): Likewise.
17724 (_FP_FRAC_SRS_8): Likewise.
17725
17726 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17727 include macro name.
17728 (FP_UNPACK_RAW_EP): Likewise.
17729 (FP_PACK_RAW_E): Likewise.
17730 (FP_PACK_RAW_EP): Likewise.
17731 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17732 (_FP_ISSIGNAN): Likewise.
17733 (_FP_ADD_INTERNAL): Likewise.
17734 (_FP_FMA): Likewise.
17735 (_FP_CMP): Likewise.
17736 (_FP_SQRT): Likewise.
17737 (_FP_TO_INT): Likewise.
17738 (_FP_FROM_INT): Likewise.
17739 (FP_EXTEND): Likewise.
17740 (_FP_DIV_MEAT_N_loop): Likewise.
17741
17742 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17743
17744 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17745 throughout.
17746
17747 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17748
17749 [BZ #17097]
17750 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17751 result with correct sign in case of exponents that produce
17752 overflow except for X very close to 1.
17753
17754 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17755
17756 mktime: merge #if/#ifdef usage from glibc
17757 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17758 as that works with both Glibc's and Gnulib's style.
17759 See thread starting at Siddhesh Poyarekar's bug report at:
17760 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17761
17762 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17763
17764 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17765 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17766 * sysdeps/tile/tilegx/memmove.c: Remove file.
17767
17768 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17769
17770 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17771 abi-name definition.
17772 * scripts/soversions.awk: Do not handle or generate ABI lines.
17773 * shlib-versions: Remove ABI entries.
17774 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17775 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17776
17777 2014-06-27 Roland McGrath <roland@hack.frob.com>
17778
17779 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17780 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17781 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17782 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17783 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17784 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17786 Moved ...
17787 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17788 ... here.
17789 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17790 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17792 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17793 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17794 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17796 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17797 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17798 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17800 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17801 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17802 Moved ...
17803 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17805 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17807 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17809 Moved ...
17810 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17812 Moved ...
17813 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17815 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17817 Moved ...
17818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17820 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17822 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17824 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17826 Moved ...
17827 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17829 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17830 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17831 Moved ...
17832 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17833 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17834 Moved ...
17835 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17836 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17837 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17838 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17839 Moved ...
17840 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17841 ... here.
17842 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17843 Identical file removed.
17844 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17845 Moved ...
17846 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17847 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17848 Identical file removed.
17849 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17850 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17851 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17852 Moved ...
17853 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17854 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17855 Identical file removed.
17856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17857 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17858 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17859 Identical file removed.
17860 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17861 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17863 Identical file removed.
17864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17865 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17867 Identical file removed.
17868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17869 Moved ...
17870 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17872 Identical file removed.
17873 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17874 Moved ...
17875 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17877 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17879 Identical file removed.
17880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17881 Moved ...
17882 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17883 ... here.
17884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17885 Identical file removed.
17886 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17887 Moved ...
17888 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17889 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17890 Identical file removed.
17891 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17892 Moved ...
17893 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17894 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17895 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17896 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17898 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17899 Moved ...
17900 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17902 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17903
17904 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17905 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17906 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17907 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17908 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17909
17910 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17911
17912 [BZ #17092]
17913 * nscd/nscd.c (monitor_child): Return exit status of child
17914 instead of return value from wait syscall.
17915
17916 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17917
17918 * configure.ac (libc_commonpagesize): Remove variable.
17919 (libc_relro_required): Likewise.
17920 (libc_cv_z_relro): Remove configure test.
17921 * configure: Regenerated.
17922 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17923 variable.
17924 (libc_relro_required): Likewise.
17925 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17926 (libc_relro_required): Likewise.
17927 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17928 (libc_relro_required): Likewise.
17929 * sysdeps/arm/preconfigure: Regenerated.
17930 * sysdeps/ia64/preconfigure: Remove file.
17931 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17932 variable.
17933 (libc_relro_required): Likewise.
17934
17935 [BZ #16561]
17936 [BZ #16562]
17937 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17938 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17939 recompute overflowing results in original rounding mode.
17940 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17941 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17942 recompute overflowing results in original rounding mode.
17943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17944 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17945 recompute overflowing results in original rounding mode.
17946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17947 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17948 recompute overflowing results in original rounding mode.
17949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17950 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17951 recompute overflowing results in original rounding mode.
17952 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17953 (libc_feholdsetround_ctx): New macro.
17954 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17957
17958 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17959
17960 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17961 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17962 corresponding .cpsetup call.
17963
17964 2014-06-26 Roland McGrath <roland@hack.frob.com>
17965
17966 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17967 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17968 * sysdeps/arm/Makefile [$(subdir) = csu]
17969 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17970 (static-only-routines): Add aeabi_read_tp here.
17971 (shared-only-routines): Add libc-aeabi_read_tp here.
17972 (CFLAGS-libc-start.c): Add -fexceptions here.
17973 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17974 (sysdep_routines, static-only-routines, shared-only-routines):
17975 Don't add to these here.
17976 (CFLAGS-libc-start.c): Likewise.
17977
17978 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17979 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17980 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17981 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17982 * sysdeps/arm/Makefile [$(subdir) = rt]
17983 (librt-sysdep_routines, librt-shared-only-routines):
17984 Append rt-aeabi_unwind_cpp_pr1 here.
17985 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17986 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17987 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17988 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17989 Append nptl-aeabi_unwind_cpp_pr1 here.
17990 (tests): Filter out tst-cleanupx4 here.
17991 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17992 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17993 Don't do those here.
17994
17995 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17996
17997 * scripts/list-sources.sh: Do not handle ports specially.
17998
17999 2014-06-26 Roland McGrath <roland@hack.frob.com>
18000
18001 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18002 * sysdeps/arm/feupdateenv.c: Likewise.
18003
18004 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18005
18006 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18007
18008 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18009 trailing whitespace removed.
18010 * scripts/config.guess: Update to version 2014-03-23.
18011 * scripts/config.sub: Update to version 2014-05-01
18012 * scripts/install-sh: Update to version 2013-12-25.23.
18013 * scripts/move-if-change: Update from gnulib.
18014
18015 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18016
18017 * debug/memmove_chk.c: Remove pagecopy.h include.
18018
18019 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18020
18021 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18022 identical to gnulib mktime.
18023
18024 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18025
18026 * configure.ac: Do not test for machine being rs6000. Do not test
18027 for powerpc*-*soft.
18028 * configure: Regenerated.
18029
18030 [BZ #11505]
18031 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18032 test.
18033 * configure: Regenerated.
18034 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18035 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18036 Remove configure test.
18037 * sysdeps/arm/configure: Regenerated.
18038 * sysdeps/nptl/configure.ac: Do not check
18039 libc_cv_asm_cfi_directives.
18040 * sysdeps/nptl/configure: Regenerated.
18041 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18042 * sysdeps/x86_64/nptl/configure: Remove generated file.
18043 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18044 unconditional.
18045 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18046
18047 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18048
18049 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18050 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18051 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18052 it is defined.
18053
18054 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18055 instead of whether it is defined.
18056 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18057 * sysdeps/hppa/dl-machine.h: Likewise.
18058 * sysdeps/ia64/dl-machine.h: Likewise.
18059 * sysdeps/m68k/dl-machine.h: Likewise.
18060 * sysdeps/microblaze/dl-machine.h: Likewise.
18061 * sysdeps/mips/dl-machine.: Likewise.
18062 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18063 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18064 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18065 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18066 * sysdeps/sh/dl-machine.h: Likewise.
18067 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18069 * sysdeps/tile/dl-machine.h: Likewise.
18070 * sysdeps/x86_64/dl-machine.h: Likewise.
18071
18072 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18073 code.
18074 (verify_persistent_db): Likewise.
18075
18076 2014-06-26 Roland McGrath <roland@hack.frob.com>
18077
18078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18079 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18081 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18083 Moved ...
18084 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18085 ... here.
18086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18087 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18089 Identical file removed.
18090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18095 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18101 Moved ...
18102 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18104 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18106 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18108 Moved ...
18109 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18111 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18113 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18115 Identical file removed.
18116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18117 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18119 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18121 Moved ...
18122 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18123 ... here.
18124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18127 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18129 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18131 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18133 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18135 Moved ...
18136 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18138 Moved ...
18139 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18141 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18146 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18147
18148 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18149 folded into ...
18150 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18151 * sysdeps/unix/sysv/linux/s390/Versions
18152 (libpthread: GLIBC_2.19): New version set.
18153 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18154 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18155 (librt: GLIBC_2.3.3): New version set.
18156 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18157 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18158 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18159 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18160 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18161 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18162 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18163 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18164 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18165 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18166 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18167 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18168 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18169 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18170 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18171 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18172 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18173 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18174 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18175 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18176 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18177 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18178 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18179 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18180 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18181 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18182 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18183 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18184 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18185 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18186 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18187 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18192 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18194 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18196 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18198 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18200 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18201
18202 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18203 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18204 (__libc_vfork): Define the function under this name.
18205 [!NOT_IN_libc] (__vfork): Make this an alias.
18206 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18208 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18209 (__libc_vfork): Define the function under this name.
18210 [!NOT_IN_libc] (__vfork): Make this an alias.
18211 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18212 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18213 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18216 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18217
18218 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18219 code that was previously under [RESET_PID].
18220 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18221 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18223
18224 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18225 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18226 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18227 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18228 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18229 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18230 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18231 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18232 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18233 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18234 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18235 Moved ...
18236 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18237 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18238 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18239 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18240 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18241 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18242 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18243 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18244 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18245 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18246 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18247 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18248 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18249 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18250 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18251 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18252 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18253 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18254 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18256 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18258 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18259 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18260 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18261 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18262 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18263 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18264 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18265
18266 2014-06-25 Roland McGrath <roland@hack.frob.com>
18267
18268 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18269 that was previously under [RESET_PID].
18270 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18271
18272 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18273
18274 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18275 not undefine and redefine.
18276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18277 [O_CLOEXEC]: Make code unconditional.
18278 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18279 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18280 <kernel-features.h>.
18281 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18282 conditional variable definition.
18283 (shm_open) [O_CLOEXEC]: Make code unconditional.
18284 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18285 code.
18286
18287 * configure.ac (USE_REGPARMS): Don't define here.
18288 * configure: Regenerated.
18289 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18290 * sysdeps/i386/configure: Regenerated.
18291
18292 * nptl/createthread.c: Don't include kernel-features.h.
18293 * nptl/pthread_cancel.c: Likewise.
18294 * nptl/pthread_condattr_setclock.c: Likewise.
18295 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18296 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18297 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18298 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18299 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18300 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18301 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18304 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18305 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18306 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18307 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18308 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18309 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18310 * nscd/gai.c: Likewise.
18311 * nss/nss_db/db-open.c: Likewise.
18312 * sysdeps/generic/ldsodefs.h: Likewise.
18313 * sysdeps/sh/nptl/tls.h: Likewise.
18314 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18315 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18316 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18317 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18318 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18319 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18320 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18321 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18323 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18324 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18325 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18326 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18327 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18328 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18329 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18330 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18331 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18332 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18333 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18334 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18336 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18337 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18338 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18340 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18341 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18342 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18343 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18344 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18345 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18346 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18347 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18348 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18349 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18350 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18351 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18352 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18353 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18354 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18355 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18356 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18357 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18358 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18359 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18360 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18361 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18362 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18363 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18364 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18365 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18366 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18367 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18368 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18369 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18371 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18394 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18395 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18396 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18397 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18398 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18399 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18400 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18401 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18402 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18403 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18404 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18405 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18406 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18407 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18408 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18409 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18410 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18411 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18412 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18413 * sysdeps/unix/sysv/linux/system.c: Likewise.
18414 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18415 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18416 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18417 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18418 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18420 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18421
18422 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18423 * configure: Regenerated.
18424 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18425
18426 * configure.ac (base_machine): Do not set specially for particular
18427 machines here.
18428 * configure: Regenerated.
18429 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18430 settings from configure.ac.
18431 * sysdeps/i386/preconfigure: New file.
18432 * sysdeps/s390/preconfigure: Likewise.
18433 * sysdeps/sh/preconfigure: Likewise.
18434 * sysdeps/sparc/preconfigure: Likewise.
18435
18436 2014-06-25 Roland McGrath <roland@hack.frob.com>
18437
18438 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18439 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18440 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18441 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18442 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18443 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18444 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18445 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18446 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18447 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18448 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18449 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18450 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18451 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18452 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18453 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18454 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18455 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18456 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18457
18458 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18459 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18460 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18461 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18462 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18463 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18464 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18465 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18466 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18467 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18468 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18469 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18470 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18471 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18472 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18473 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18474 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18475 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18476 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18477 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18479 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18480 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18481 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18482 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18483 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18485 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18486 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18487 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18488 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18489 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18490 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18491 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18492 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18493 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18494 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18495 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18496
18497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18498 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18500 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18502 Moved ...
18503 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18504 ... here.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18508 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18510 Moved ...
18511 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18513 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18515 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18517 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18519 Moved ...
18520 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18522 Moved ...
18523 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18525 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18527 Moved ...
18528 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18530 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18532 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18534 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18536 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18538 Moved ...
18539 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18540 ... here.
18541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18542 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18544 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18546 Moved ...
18547 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18549 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18551 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18553 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18555 Moved ...
18556 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18558 Moved ...
18559 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18563 Moved ...
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18568 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18569
18570 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18571
18572 * timezone/checktab.awk: Update from tzcode 2014e.
18573 * timezone/private.h: Likewise.
18574 * timezone/tzfile.h: Likewise.
18575 * timezone/zdump.c: Likewise.
18576 * timezone/zic.c: Likewise.
18577
18578 * sysdeps/unix/sysv/linux/kernel-features.h
18579 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18580 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18581 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18582 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18583 Remove conditional code.
18584
18585 2014-06-25 Will Newton <will.newton@linaro.org>
18586
18587 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18588 (_dl_arm_cap_flags): Add HWCAP2 values.
18589 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18590 (_DL_HWCAP_COUNT): Increase to 37.
18591 (_DL_HWCAP_LAST): New define.
18592 (_DL_HWCAP2_LAST): New define.
18593 (_dl_procinfo): Add support for printing
18594 AT_HWCAP2 entries.
18595 (_dl_string_hwcap): Use _dl_hwcap_string.
18596
18597 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18598
18599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18600
18601 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18602
18603 * README: Do not mention ports directory.
18604
18605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18606 Remove macro.
18607 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18608 <kernel-features.h>.
18609 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18610 conditional variable definition.
18611 (__futimes): Update comment.
18612 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18613 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18614
18615 [BZ #16560]
18616 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18617 arguments close to 0.
18618 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18619 Likewise.
18620 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18621 Likewise.
18622 * math/auto-libm-test-in: Add more tests of exp10.
18623 * math/auto-libm-test-out: Regenerated.
18624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18625
18626 * sysdeps/unix/sysv/linux/kernel-features.h
18627 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18628 * sysdeps/unix/sysv/linux/readv.c: Do not include
18629 <kernel-features.h>.
18630 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18631 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18632 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18633 unconditional.
18634 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18635 conditional code.
18636 * sysdeps/unix/sysv/linux/writev.c: Do not include
18637 <kernel-features.h>.
18638 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18639 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18640 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18641 unconditional.
18642 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18643 conditional code.
18644
18645 2014-06-25 Will Newton <will.newton@linaro.org>
18646
18647 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18648 comment changes throughout the file. Remove checks
18649 for HAVE_*_H definitions that are not required.
18650 (__gen_tempname): Call abort if an unknown kind value is
18651 passed.
18652
18653 2014-06-25 Andreas Schwab <schwab@suse.de>
18654
18655 [BZ #17086]
18656 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18657 scalbln, scalblnf, scalblnl in libc.
18658
18659 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18660
18661 [BZ #17086]
18662 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18663 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18664 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18665
18666 2014-06-24 Roland McGrath <roland@hack.frob.com>
18667
18668 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18669 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18670 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18671 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18672 Update #include.
18673 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18674 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18675 Update #include.
18676 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18677 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18678 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18679 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18680 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18681 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18682 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18683 * sysdeps/x86/bits/semaphore.h: ... here.
18684 * sysdeps/x86/nptl/elide.h: Moved ...
18685 * sysdeps/x86/elide.h: ... here.
18686 * sysdeps/x86_64/nptl/Implies: File removed.
18687 * sysdeps/i386/nptl/Implies: File removed.
18688
18689 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18690
18691 [BZ #16539]
18692 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18693 return the argument for normal arguments with exponent below -64.
18694 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18695 Likewise.
18696 * math/auto-libm-test-in: Add another test of expm1.
18697 * math/auto-libm-test-out: Regenerated.
18698
18699 [BZ #16287]
18700 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18701 calling __erfcl for arguments at least 16.
18702 * math/auto-libm-test-in: Add more tests of erf.
18703 * math/auto-libm-test-out: Regenerated.
18704
18705 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18706 individual architectures.
18707 * sysdeps/unix/sysv/linux/configure: Regenerated.
18708 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18709 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18710 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18711 (ldd_rewrite_script): Define variable.
18712 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18714 file.
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18716 generated file.
18717 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18718 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18719 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18720 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18721 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18722 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18723 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18724 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18725
18726 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18727
18728 [BZ #17084]
18729 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18730 Rename member __data.d to __data.__elision_data.
18731
18732 2014-06-24 Wilco <wdijkstr@arm.com>
18733
18734 * NEWS: Add 16918 to fixed bug list.
18735
18736 2014-06-24 Wilco <wdijkstr@arm.com>
18737
18738 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18739
18740 2014-06-24 Wilco <wdijkstr@arm.com>
18741
18742 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18743 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18744 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18745 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18746 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18747 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18748 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18749 Use _FPU_MASK_RM.
18750
18751 2014-06-24 Wilco <wdijkstr@arm.com>
18752
18753 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18754
18755 2014-06-24 Wilco <wdijkstr@arm.com>
18756
18757 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18758 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18759 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18760 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18761
18762 2014-06-24 Wilco <wdijkstr@arm.com>
18763
18764 [BZ #16918]
18765 * sysdeps/arm/feupdateenv.c (feupdateenv):
18766 Rewrite to reduce FPSCR accesses and fix return value.
18767
18768 2014-06-24 Wilco <wdijkstr@arm.com>
18769
18770 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18771 Optimize to avoid unnecessary FPSCR writes.
18772 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18773 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18774 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18775 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18776
18777 2014-06-24 Wilco <wdijkstr@arm.com>
18778
18779 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18780 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18781 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18782 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18783 Call libc_fetestexcept_vfp.
18784 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18785 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18786 __SOFTFP__ ifdef so that they can be built for softfp.
18787
18788 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18789
18790 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18791 argument type signed char.
18792
18793 * Makerules (check-abi): Dump diff of symlist if the test
18794 fails.
18795
18796 2014-06-23 Roland McGrath <roland@hack.frob.com>
18797
18798 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18799 using abort.
18800
18801 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18802 Remove unused variable ST.
18803
18804 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18805
18806 [BZ #16354]
18807 [BZ #17061]
18808 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18809 small arguments before calling __expm1.
18810 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18811 small arguments before calling __expm1f.
18812 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18813 small arguments before calling __expm1l.
18814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18815 Likewise.
18816 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18817 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18818 spurious underflow for some cosh tests.
18819 * math/auto-libm-test-out: Regenerated.
18820 * sysdeps/i386/fpu/libm-test-ulps: Update.
18821
18822 [BZ #17050]
18823 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18824 (__ieee754_y1): Set errno if return value overflows.
18825 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18826 (__ieee754_y1f): Set errno if return value overflows.
18827 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18828 (__ieee754_y1l): Set errno if return value overflows.
18829 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18830 (__ieee754_y1l): Set errno if return value overflows.
18831 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18832 * math/auto-libm-test-out: Regenerated.
18833
18834 * math/gen-auto-libm-tests.c: Document use of
18835 ignore-zero-inf-sign.
18836 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18837 (input_flags): Add ignore-zero-inf-sign.
18838 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18839 * math/gen-libm-test.pl (generate_testfile): Handle
18840 ignore-zero-inf-sign.
18841 * math/auto-libm-test-in: Mark some cpow tests with
18842 ignore-zero-inf-sign and some with xfail-rounding.
18843 * math/auto-libm-test-out: Regenerated.
18844 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18845 * sysdeps/i386/fpu/libm-test-ulps: Update.
18846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847
18848 [BZ #16315]
18849 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18850 overflowing or underflowing operations take place with sign of
18851 result.
18852 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18853 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18854 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18855 (__ieee754_pow): Recompute overflowing and underflowing results in
18856 original rounding mode.
18857 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18858 (__powl_helper): Allow negative argument X and scale negated value
18859 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18860 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18861 overflowing or underflowing operations take place with sign of
18862 result.
18863 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18864 Include <math.h>.
18865 * math/auto-libm-test-in: Add more tests of pow.
18866 * math/auto-libm-test-out: Regenerated.
18867 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18868 (pow_tonearest_test_data): Remove.
18869 (pow_test_tonearest): Likewise.
18870 (pow_towardzero_test_data): Likewise.
18871 (pow_test_towardzero): Likewise.
18872 (pow_downward_test_data): Likewise.
18873 (pow_test_downward): Likewise.
18874 (pow_upward_test_data): Likewise.
18875 (pow_test_upward): Likewise.
18876 (main): Don't call removed functions.
18877 * sysdeps/i386/fpu/libm-test-ulps: Update.
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18879
18880 2014-06-23 Roland McGrath <roland@hack.frob.com>
18881
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18883 Moved ...
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18886 Moved ...
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18889 Moved ...
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18892 Moved ...
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18895 File removed.
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18897 File removed.
18898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18899 File removed.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18901 File removed.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18903 File removed.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18905 File removed.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18907 File removed.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18909 File removed.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18911 File removed.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18913 File removed.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18915 File removed.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18917 File removed.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18919 Moved ...
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18922 Moved ...
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18924 ... here.
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18926 Moved ...
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18929 Moved ...
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18932 Moved ...
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18935 Moved ...
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18938 Moved ...
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18941 Moved ...
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18944 Moved ...
18945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18948 ... here.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18950 Moved ...
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18953 Moved ...
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18955 ... here.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18957 Moved ...
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18959 ... here.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18961 Moved ...
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18963 ... here.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18965 Moved ...
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18968 Moved ...
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18973 Moved ...
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18975 ... here.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18977 Moved ...
18978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18979 ... here.
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18981 Moved ...
18982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18984 Moved ...
18985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18987 Moved ...
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18990 Moved ...
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18993 Moved ...
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18995 ... here.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18997 Moved ...
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19000 Moved ...
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19003 Moved ...
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19006 Moved ...
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19011 Moved ...
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19014 Moved ...
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19017 Moved ...
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19019 ... here.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19021 Moved ...
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19023 ... here.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19025 Moved ...
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19027 ... here.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19029 Moved ...
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19032 Moved ...
19033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19035 Moved ...
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19038 Moved ...
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19040 ... here.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19042 Moved ...
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19044 ... here.
19045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19046 Moved ...
19047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19048 ... here.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19050 Moved ...
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19053 Moved ...
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19055
19056 2014-06-23 Will Newton <will.newton@linaro.org>
19057 Wilco <wdijkstr@arm.com>
19058
19059 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19060 implementation. Include get-rounding-mode.h.
19061 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19062 [!libc_feholdsetround_noex_ctx]: Define
19063 libc_feholdsetround_noex_ctx.
19064 [!libc_feholdsetround_noexf_ctx]: Define
19065 libc_feholdsetround_noexf_ctx.
19066 [!libc_feholdsetround_noexl_ctx]: Define
19067 libc_feholdsetround_noexl_ctx.
19068 (libc_feholdsetround_ctx): New function.
19069 (libc_feresetround_ctx): New function.
19070 (libc_feholdsetround_noex_ctx): New function.
19071 (libc_feresetround_noex_ctx): New function.
19072
19073 2014-06-23 Roland McGrath <roland@hack.frob.com>
19074
19075 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19076 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19077 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19078 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19079 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19080 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19081
19082 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19083 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19084 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19085 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19086 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19087 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19088 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19089 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19090 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19091 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19092 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19093 Moved ...
19094 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19095 ... here.
19096 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19097 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19099 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19101 Moved ...
19102 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19103 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19104 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19105 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19106 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19107 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19108 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19109 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19110 Moved ...
19111 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19113 Moved ...
19114 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19116 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19118 Moved ...
19119 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19121 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19122 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19123 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19124 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19125 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19126 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19127 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19128 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19129 Moved ...
19130 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19131 ... here.
19132 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19133 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19134 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19135 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19136 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19137 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19139 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19143 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19145 Moved ...
19146 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19147 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19148 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19149 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19150 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19151 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19152 Moved ...
19153 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19155 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19156 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19157 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19158
19159 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19160 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19162 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19163 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19164 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19165 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19166 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19168 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19169 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19170 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19171 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19172 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19173 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19174 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19175 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19176 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19177 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19178 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19179 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19180 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19181 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19182 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19183 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19184 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19185 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19186 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19187
19188 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19189
19190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19191 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19192 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19193 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19194 (IPV6_PMTUDISC_INTERFACE): Likewise.
19195 (IPV6_PMTUDISC_OMIT): Likewise.
19196
19197 2014-06-23 Andreas Schwab <schwab@suse.de>
19198
19199 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19200 Remove unused errout label.
19201
19202 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19203
19204 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19205 macro: hardware supports Vector Crypto instructions.
19206
19207 2014-06-23 Will Newton <will.newton@linaro.org>
19208
19209 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19210 rather than __builtin_expect.
19211
19212 * elf/dl-lookup.c (undefined_msg): Remove variable.
19213 (_dl_lookup_symbol_x): Replace undefined_msg with string
19214 literal.
19215
19216 * elf/dl-lookup.c (do_lookup_unique): New function.
19217 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19218 to a separate function.
19219
19220 2014-06-23 Andreas Schwab <schwab@suse.de>
19221
19222 [BZ #17079]
19223 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19224 before reading the next line.
19225
19226 2014-06-23 Will Newton <will.newton@linaro.org>
19227
19228 * test-skeleton.c (signal_handler): Use printf and %m
19229 rather than perror. Use printf rather than fprintf to
19230 stderr. Use puts rather than fputs to stderr.
19231 (main): Likewise.
19232
19233 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19234
19235 * nscd/nscd.c (thread_info_t): Remove typedef.
19236 (thread_info): Remove variable.
19237
19238 2014-06-21 Allan McRae <allan@archlinux.org>
19239
19240 * NEWS: Mention CVE-2014-4043.
19241
19242 2014-06-20 Roland McGrath <roland@hack.frob.com>
19243
19244 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19245 * nptl/smp.h: ... here.
19246
19247 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19248
19249 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19250 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19251 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19252 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19253
19254 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19255 * nptl/stack-aliasing.h: New file.
19256 * sysdeps/i386/i686/stack-aliasing.h: New file.
19257 * sysdeps/i386/i686/nptl/Makefile: File removed.
19258 * sysdeps/x86_64/stack-aliasing.h: New file.
19259 * sysdeps/x86_64/nptl/Makefile
19260 (CFLAGS-pthread_create.c): Variable removed.
19261
19262 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19263 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19264 old file.
19265 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19266 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19267 old file.
19268
19269 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19272 (__ASSUME_SIGFRAME_V2): Remove macro.
19273 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19274 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19275 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19276 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19277 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19278 Declare as function. Remove conditional macro definitions.
19279 (__default_rt_sa_restorer): Likewise.
19280 (__default_sa_restorer_v1): Remove declaration.
19281 (__default_sa_restorer_v2): Likewise.
19282 (__default_rt_sa_restorer_v1): Likewise.
19283 (__default_rt_sa_restorer_v2): Likewise.
19284 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19285 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19286 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19287
19288 2014-06-20 Roland McGrath <roland@hack.frob.com>
19289
19290 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19291 (libpthread-routines): Add sysdep.
19292 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19293 * sysdeps/unix/sysv/linux/sparc/Versions
19294 (libpthread: GLIBC_2.3.3): New version set.
19295 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19296 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19297 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19298 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19299 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19300 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19301 Moved ...
19302 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19303 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19304 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19305 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19306 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19307 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19308 * sysdeps/sparc/nptl/sem_init.c: ... here.
19309 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19310 * sysdeps/sparc/nptl/sem_post.c: ... here.
19311 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19312 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19313 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19314 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19315 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19316 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19317 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19318 (libpthread-routines): Add cpu_relax.
19319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19320 File removed.
19321 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19322 (librt: GLIBC_2.3.3): New version set.
19323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19324 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19326 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19329 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19331 Moved ...
19332 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19334 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19336 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19338 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19340 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19342 Moved ...
19343 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19344 Update #include.
19345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19346 Moved ...
19347 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19348 Update #include.
19349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19350 Moved ...
19351 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19352 Update #include.
19353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19354 Moved ...
19355 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19356 Update #include.
19357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19358 Moved ...
19359 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19360 Update #include.
19361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19362 Moved ...
19363 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19364 Update #include.
19365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19366 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19372 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19374 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19376 Moved ...
19377 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19379 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19381 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19382
19383 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19384
19385 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19386 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19387 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19388 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19389 * nscd/nscd.c: Likewise.
19390 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19391 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19392 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19393 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19394
19395 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19396 <kernel-features.h>.
19397 (init_mq_netlink): Remove conditional have_sock_cloexec
19398 definitions. Remove code conditional on have_sock_cloexec < 0.
19399 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19400 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19401 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19402 <kernel-features.h>.
19403 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19404 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19405
19406 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19407
19408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19409 Add tests for memset_chk and memset.
19410
19411 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19412 with AVX2_Usable.
19413
19414 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19415
19416 [BZ #16046]
19417 * elf/tst-dl-iter-static.c: New file.
19418 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19419
19420 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19421 error.
19422
19423 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19424
19425 * sysdeps/unix/sysv/linux/kernel-features.h
19426 (__ASSUME_F_GETOWN_EX): Remove macro.
19427 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19428 <kernel-features.h>.
19429 (miss_F_GETOWN_EX): Remove variable or macro.
19430 (do_fcntl): Do not check miss_F_GETOWN_EX.
19431 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19432
19433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19434 Remove macro.
19435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19436 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19437 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19438
19439 * sysdeps/unix/sysv/linux/kernel-features.h
19440 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19441 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19442 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19443 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19444
19445 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19446
19447 [BZ #17075]
19448 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19449 Fix calculation of the symbol's value.
19450 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19451 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19452 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19453 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19454 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19455 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19456 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19457 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19458 (modules-names): Add `tst-armtlsdescmod',
19459 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19460 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19461 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19462 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19463 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19464 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19465 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19466 ($(objpfx)tst-armtlsdescloc): New dependency.
19467 ($(objpfx)tst-armtlsdescextnow): Likewise.
19468 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19469 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19470 TLS scheme support.
19471 * sysdeps/arm/configure: Regenerate.
19472
19473 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19474
19475 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19476 (__atfct_seterrno_2): Likewise.
19477 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19478 <kernel-features.h>.
19479 (__ASSUME_ATFCTS): Do not undefine and redefine.
19480 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19481 (__have_atfcts): Remove conditional definition.
19482 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19483 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19484 unreachable if [__ASSUME_ATFCTS].
19485 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19486 not undefine and redefine.
19487 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19488 <kernel-features.h>.
19489 (faccessat) [__NR_faccessat]: Make code unconditional.
19490 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19491 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19492 <kernel-features.h>.
19493 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19494 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19495 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19496 <kernel-features.h>.
19497 (fchownat) [__NR_fchownat]: Make code unconditional.
19498 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19499 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19500 <kernel-features.h>.
19501 (futimesat) [__NR_futimesat]: Make code unconditional.
19502 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19503 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19504 <kernel-features.h>.
19505 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19506 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19507 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19508 <kernel-features.h>.
19509 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19510 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19511 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19512 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19513 <kernel-features.h>.
19514 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19515 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19516 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19517 <kernel-features.h>.
19518 (linkat) [__NR_linkat]: Make code unconditional.
19519 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19520 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19521 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19522 <kernel-features.h>.
19523 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19524 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19525 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19526 <kernel-features.h>.
19527 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19528 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19529 * sysdeps/unix/sysv/linux/openat.c: Do not include
19530 <kernel-features.h>.
19531 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19532 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19533 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19534 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19535 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19536 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19537 <kernel-features.h>.
19538 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19539 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19540 result of INLINE_SYSCALL directly, not via int variable.
19541 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19542 <kernel-features.h>.
19543 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19544 (renameat) [__NR_renameat]: Make code unconditional.
19545 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19546 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19547 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19548 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19549 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19550 (__ASSUME_ATFCTS): Do not undefine and redefine.
19551 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19552 <kernel-features.h>.
19553 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19554 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19555 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19556 <kernel-features.h>.
19557 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19558 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19559 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19560 (__ASSUME_ATFCTS): Do not undefine and redefine.
19561 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19562 <kernel-features.h>.
19563 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19564 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19565 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19566 <kernel-features.h>.
19567 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19568 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19569
19570 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19573
19574 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19575
19576 [BZ #17069]
19577 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19578 constructed tree before returning error.
19579 * posix/bug-regexp36.c: Expand test case.
19580
19581 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19582
19583 [BZ #6803]
19584 * math/libm-test.inc (scalbln_test_date):
19585 Add errno expectations.
19586 * math/w_scalblnf.c: New File.
19587 Add wrapper which checks for setting errno to ERANGE.
19588 Add weak_alias for corresponding scalbln function.
19589 * math/w_scalbln.c: Likewise.
19590 * math/w_scalblnl.c: Likewise.
19591 * math/Makefile (libm-calls): Add w_scalbln.
19592 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19593 Remove weak_alias for corresponding scalbln function.
19594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19596 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19598 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19599 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19600 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19601 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19602 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19603 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19604 Remove long_double_symbol for scalblnl function in libm, libc.
19605 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19606 Add wrapper which checks for setting errno to ERANGE.
19607 Add long_double_symbol for scalblnl function in libm, libc.
19608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19609 Remove long_double_symbol for scalblnl in libm.
19610 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19611 Add wrapper which checks for setting errno to ERANGE.
19612 Add long_double_symbol for scalblnl function in libm.
19613 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19614 Do not use wrapper because of own implementation.
19615
19616 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19617
19618 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19619 3 bytes for __pad1 for x32.
19620 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19621
19622 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19623 H.J. Lu <hongjiu.lu@intel.com>
19624
19625 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19626 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19627 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19628 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19629 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19630
19631 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19632
19633 [BZ #17069]
19634 * posix/regcomp.c (parse_expression): Deallocate partially
19635 constructed tree before returning error.
19636 * posix/Makefile.c (tests): Add bug-regex36.
19637 (generated): Add bug-regex36.mtrace.
19638 (tests-special): Add $(objpfx)bug-regex36-mem.out
19639 (bug-regex36-ENV): New variable.
19640 ($(objpfx)bug-regex36-mem.out): New rule.
19641 * posix/bug-regex36.c: New file.
19642
19643 2014-06-19 Will Newton <will.newton@linaro.org>
19644
19645 * malloc/malloc.c (systrim): If extra is zero then return
19646 early.
19647
19648 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19649
19650 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19651
19652 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19653
19654 * sysdeps/aarch64/strchr.S: New file.
19655
19656 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19657
19658 [BZ #17022]
19659 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19660 from arguments -2 or below.
19661 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19662 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19663
19664 2014-06-18 Andreas Schwab <schwab@suse.de>
19665
19666 [BZ #17062]
19667 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19668 of a bracket expr not to run off the end of the string.
19669 * posix/Makefile (tests): Add tst-fnmatch3.
19670 * posix/tst-fnmatch3.c: New file.
19671
19672 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19673
19674 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19675 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19676 [$(cross-compiling) = no]: Likewise.
19677 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19678 [$(cross-compiling) = no]: Likewise.
19679
19680 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19681
19682 [BZ #17031]
19683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19684 double, adjusted for any remainder from the high double.
19685 * math/libm-test.inc (nearbyint): Add tests.
19686 (rint): Likewise.
19687
19688 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19689
19690 * nptl/sysdeps/powerpc/Makefile: Moved ...
19691 * sysdeps/powerpc/nptl/Makefile: ... here.
19692 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19693 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19694 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19695 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19696 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19697 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19698 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19699 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19700 * nptl/sysdeps/powerpc/tls.h: Moved ...
19701 * sysdeps/powerpc/nptl/tls.h: ... here.
19702
19703 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19704
19705 [BZ #16681]
19706 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19707 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19708 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19709 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19710 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19711 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19712 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19713 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19714 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19715
19716 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19717
19718 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19719
19720 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19721
19722 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19723 defined operator.
19724
19725 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19726 $TIMEOUTFACTOR.
19727
19728 2014-06-16 Florian Weimer <fweimer@redhat.com>
19729
19730 [BZ #17058]
19731 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19732 non-executed part of the test.
19733
19734 2014-06-16 Andreas Schwab <schwab@suse.de>
19735
19736 * string/bits/string2.h (strdup, strndup): Update feature guard.
19737
19738 2014-06-14 David S. Miller <davem@davemloft.net>
19739
19740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19741
19742 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19743
19744 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19745 that was previously under [RESET_PID].
19746 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19747
19748 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19749 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19750 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19751 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19752 (__libc_vfork): New strong alias.
19753 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19754
19755 2014-06-14 Andi Kleen <ak@linux.intel.com>
19756
19757 * sysdeps/generic/elide.h: New file.
19758
19759 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19760
19761 * Makefile (installed-headers): Adjust path of pthread.h header.
19762
19763 2014-06-13 Roland McGrath <roland@hack.frob.com>
19764
19765 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19766 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19767 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19768 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19769
19770 * nptl/sysdeps/s390/Makefile: Moved ...
19771 * sysdeps/s390/nptl/Makefile: ... here.
19772 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19773 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19774 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19775 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19776 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19777 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19778 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19779 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19780 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19781 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19782 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19783 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19784 * nptl/sysdeps/s390/tls.h: Moved ...
19785 * sysdeps/s390/nptl/tls.h: ... here.
19786
19787 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19788 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19789
19790 2014-06-13 David S. Miller <davem@davemloft.net>
19791
19792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19794 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19795 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19799 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19800 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19801 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19802 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19803 Remove RESET_PID cpp guards.
19804 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19805 Remove RESET_PID cpp guards.
19806 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19807
19808 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19809
19810 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19811 __sp to uintptr_t.
19812
19813 2014-06-13 Andi Kleen <ak@linux.intel.com>
19814
19815 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19817 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19818 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19819 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19820 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19821 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19822 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19823 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19824 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19827 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19828 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19829 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19830 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19831 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19832 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19833 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19835
19836 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19837 (pthread_rwlock_rdlock): Add elision.
19838 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19839 (pthread_rwlock_wrlock): Add elision.
19840 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19841 (pthread_rwlock_trywrlock): Add elision.
19842 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19843 (pthread_rwlock_tryrdlock): Add elision.
19844 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19845 (pthread_rwlock_tryrdlock): Add elision unlock.
19846 * nptl/sysdeps/pthread/pthread.h:
19847 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19848 (PTHREAD_RWLOCK_INITIALIZER,
19849 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19850 Handle new elision field.
19851 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19852 * sysdeps/arm/nptl/bits/pthreadtypes.h
19853 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19854 * sysdeps/sh/nptl/bits/pthreadtypes.h
19855 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19856 * sysdeps/tile/nptl/bits/pthreadtypes.h
19857 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19858 * sysdeps/a/nptl/bits/pthreadtypes.h
19859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19860 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19862 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19864 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19866 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19868 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19870 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19872 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19874 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19876 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19877 (elision_init): Set try_xbegin to zero when no RTM.
19878 * sysdeps/x86/nptl/bits/pthreadtypes.h
19879 (pthread_rwlock_t): Change __pad1 to __rwelision.
19880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19881
19882 2014-06-13 Andi Kleen <ak@linux.intel.com>
19883
19884 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19885 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19886 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19887 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19888
19889 2014-06-13 Meador Inge <meadori@codesourcery.com>
19890
19891 [BZ #16996]
19892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19893 that the cached result has been set before returning it.
19894
19895 2014-06-12 Roland McGrath <roland@hack.frob.com>
19896
19897 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19898 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19899 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19900 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19901 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19902 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19903
19904 * nptl/sysdeps/sparc/Makefile: Moved ...
19905 * sysdeps/sparc/nptl/Makefile: ... here.
19906 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19907 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19908 * nptl/sysdeps/sparc/tls.h: Moved ...
19909 * sysdeps/sparc/nptl/tls.h: ... here.
19910 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19911 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19912 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19913 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19914 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19915 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19916 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19917 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19918 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19919 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19920 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19921 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19922 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19923 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19924 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19925 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19926 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19927 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19928 Update #include.
19929 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19930 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19931 Update #include.
19932 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19934 Update #include.
19935 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19936 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19937 Update #include.
19938
19939 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19940
19941 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19942 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19943
19944 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19945 (struct list_links): Type removed.
19946 (struct thread_node, struct timer_node): Replace struct list_links
19947 with struct list_head.
19948 (list_unlink_ip): Likewise.
19949 * sysdeps/pthread/timer_routines.c
19950 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19951 (list_append, list_insbefore): Likewise.
19952 (list_init): Function removed.
19953 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19954 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19955 * sysdeps/pthread/Makefile: ... here, new file.
19956
19957 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19958 * sysdeps/nptl/Implies: ... here.
19959 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19960 * nptl/sysdeps/pthread/list.h: Moved ...
19961 * include/list.h: ... here.
19962 * nptl/sysdeps/pthread/createthread.c: Moved ...
19963 * nptl/createthread.c: ... here.
19964 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19965 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19966 * nptl/pt-longjmp.c: ... here.
19967 * nptl/sysdeps/pthread/Makefile: Moved ...
19968 * sysdeps/nptl/Makefile: ... here.
19969 * nptl/sysdeps/pthread/Subdirs: Moved ...
19970 * sysdeps/nptl/Subdirs: ... here.
19971 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19972 * sysdeps/nptl/aio_misc.h: ... here.
19973 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19974 * sysdeps/nptl/bits/libc-lock.h: ... here.
19975 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19976 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19977 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19978 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19979 * nptl/sysdeps/pthread/configure: Moved ...
19980 * sysdeps/nptl/configure: ... here.
19981 * nptl/sysdeps/pthread/configure.ac: Moved ...
19982 * sysdeps/nptl/configure.ac: ... here.
19983 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19984 * sysdeps/nptl/gai_misc.h: ... here.
19985 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19986 * sysdeps/nptl/librt-cancellation.c: ... here.
19987 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19988 * sysdeps/nptl/malloc-machine.h: ... here.
19989 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19990 * sysdeps/nptl/pthread-functions.h: ... here.
19991 * nptl/sysdeps/pthread/pthread.h: Moved ...
19992 * sysdeps/nptl/pthread.h: ... here.
19993 * nptl/sysdeps/pthread/setxid.h: Moved ...
19994 * sysdeps/nptl/setxid.h: ... here.
19995 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19996 * sysdeps/nptl/sigfillset.c: ... here.
19997 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19998 * sysdeps/nptl/tcb-offsets.h: ... here.
19999 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20000 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20001 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20002 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20003 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20004 * sysdeps/pthread/allocalim.h: ... here.
20005 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20006 * sysdeps/pthread/bits/sigthread.h: ... here.
20007 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20008 * sysdeps/pthread/flockfile.c: ... here.
20009 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20010 * sysdeps/pthread/ftrylockfile.c: ... here.
20011 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20012 * sysdeps/pthread/funlockfile.c: ... here.
20013 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20014 * sysdeps/pthread/posix-timer.h: ... here.
20015 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20016 * sysdeps/pthread/timer_create.c: ... here.
20017 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20018 * sysdeps/pthread/timer_delete.c: ... here.
20019 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20020 * sysdeps/pthread/timer_getoverr.c: ... here.
20021 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20022 * sysdeps/pthread/timer_gettime.c: ... here.
20023 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20024 * sysdeps/pthread/timer_routines.c: ... here.
20025 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20026 * sysdeps/pthread/timer_settime.c: ... here.
20027 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20028 * sysdeps/pthread/tst-timer.c: ... here.
20029 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20030 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20031
20032 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20033 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20034
20035 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20036 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20037 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20038 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20039 Update #include target.
20040 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20041 * sysdeps/i386/i686/nptl/Makefile: ... here.
20042 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20043 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20044 Update #include target.
20045 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20046 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20047 * nptl/sysdeps/i386/Makefile: Moved ...
20048 * sysdeps/i386/nptl/Makefile: ... here.
20049 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20050 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20051 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20052 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20053 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20054 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20055 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20056 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20057 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20058 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20059 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20060 * nptl/sysdeps/i386/tls.h: Moved ...
20061 * sysdeps/i386/nptl/tls.h: ... here.
20062
20063 * sysdeps/sh/Makefile [$(subdir) = csu]
20064 (gen-as-const-headers): Add tcb-offsets.sym.
20065 * nptl/sysdeps/sh/Makefile: File removed.
20066 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20067 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20068 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20069 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20070 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20071 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20072 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20073 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20074 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20075 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20076 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20077 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20078 * nptl/sysdeps/sh/tls.h: Moved ...
20079 * sysdeps/sh/nptl/tls.h: ... here.
20080 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20081 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20082 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20083 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20084 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20085 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20086 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20087 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20088 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20089 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20090 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20091 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20092 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20093 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20094 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20095 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20096 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20097 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20098 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20099 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20100 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20101 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20103 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20105 Moved ...
20106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20108 Moved ...
20109 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20111 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20113 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20114 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20115 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20116 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20117 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20118 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20119 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20120 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20121 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20122 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20123 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20124 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20125 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20126 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20127 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20128
20129 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20130
20131 * posix/spawn_faction_addopen.c: Include string.h.
20132
20133 2014-06-11 Roland McGrath <roland@hack.frob.com>
20134
20135 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20136 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20137 * nptl/sysdeps/x86_64/Makefile: Moved ...
20138 * sysdeps/x86_64/nptl/Makefile: ... here.
20139 * nptl/sysdeps/x86_64/configure: Moved ...
20140 * sysdeps/x86_64/nptl/configure: ... here.
20141 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20142 * sysdeps/x86_64/nptl/configure.ac: ... here.
20143 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20144 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20145 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20146 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20147 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20148 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20149 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20150 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20151 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20152 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20153 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20154 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20155 * nptl/sysdeps/x86_64/tls.h: Moved ...
20156 * sysdeps/x86_64/nptl/tls.h: ... here.
20157 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20158 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20159 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20160 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20161
20162 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20163
20164 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20165
20166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20167
20168 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20169
20170 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20171 type.
20172 [POSIX] (off_t): Likewise.
20173 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20174 [POSIX] (S_ISBLK): Require macro.
20175 [POSIX] (S_ISCHR): Likewise.
20176 [POSIX] (S_ISDIR): Likewise.
20177 [POSIX] (S_ISFIFO): Likewise.
20178 [POSIX] (S_ISREG): Likewise.
20179 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20180 optional-macro.
20181 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20182 type.
20183 [POSIX] (time_t): Likewise.
20184 [POSIX] (timer_t): Likewise.
20185
20186 2014-06-11 Florian Weimer <fweimer@redhat.com>
20187
20188 [BZ #17048]
20189 * posix/spawn_int.h (struct __spawn_action): Make the path string
20190 non-const to support deallocation.
20191 * posix/spawn_faction_addopen.c
20192 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20193 * posix/spawn_faction_destroy.c
20194 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20195 path in all spawn_do_open actions.
20196 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20197 posix_spawn_file_actions_addopen.
20198
20199 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20200
20201 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20202 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20203 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20204 conditional code always true.
20205 (__libc_vfork): New alias.
20206
20207 2014-06-11 Roland McGrath <roland@hack.frob.com>
20208
20209 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20210 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20211
20212 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20213
20214 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20215 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20216
20217 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20218 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20219
20220 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20221 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20222
20223 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20224
20225 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20226 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20227 multiarch strcmp for PPC64.
20228 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20229 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20231 multiarch optimizations.
20232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20233 (__libc_ifunc_impl_list): Likewise.
20234
20235 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20236
20237 * benchtests/scripts/validate_benchout.py: New script.
20238 * benchtests/Makefile (bench-func): Call it.
20239 * benchtests/scripts/benchout.schema.json: New file.
20240
20241 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20242
20243 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20244 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20245 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20246 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20247 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20248 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20249 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20250 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20251 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20252 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20253 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20254 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20255 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20256 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20257 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20258 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20260 Moved ...
20261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20262 ... here.
20263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20264 Moved ...
20265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20267 Moved ...
20268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20269 ... here.
20270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20271 Moved ...
20272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20273 ... here.
20274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20275 Moved ...
20276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20278 Moved ...
20279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20280 ... here.
20281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20282 Moved ...
20283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20284 ... here.
20285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20286 Moved ...
20287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20289 Moved ...
20290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20291 ... here.
20292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20293 Moved ...
20294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20295 ... here.
20296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20297 Moved ...
20298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20299 ... here.
20300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20301 Moved ...
20302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20304 Moved ...
20305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20306 ... here.
20307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20308 Moved ...
20309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20310 ... here.
20311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20312 Moved ...
20313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20314 ... here.
20315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20316 Moved ...
20317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20319 Moved ...
20320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20321 ... here.
20322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20323 Moved ...
20324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20325 ... here.
20326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20327 Moved ...
20328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20330 Moved ...
20331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20332 ... here.
20333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20334 Moved ...
20335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20337 Moved ...
20338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20340 Moved ...
20341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20342 ... here.
20343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20344 Moved ...
20345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20346 ... here.
20347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20348 Moved ...
20349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20350 ... here.
20351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20352 Moved ...
20353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20355 Moved ...
20356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20357 ... here.
20358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20359 Moved ...
20360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20361 ... here.
20362 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20363 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20364 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20365 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20366 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20367 Moved ...
20368 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20369 ... here.
20370 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20371 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20372 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20373 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20375 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20377 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20379 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20381 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20383 Moved ...
20384 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20386 Moved ...
20387 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20389 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20391 Moved ...
20392 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20393 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20394 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20395 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20396 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20397 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20398 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20399
20400 2014-06-10 Wilco <wdijkstr@arm.com>
20401
20402 * math/test-fenv-return.c: New file.
20403 * math/Makefile: Add new test test-fenv-return.
20404
20405 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20406
20407 [BZ #17042]
20408 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20409 when x - 1 is zero.
20410 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20411 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20412 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20413 0.0L for an argument of 1.0L.
20414 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20415 Likewise.
20416 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20417 value when x - 1 is zero.
20418 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421
20422 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20423
20424 [BZ #15119]
20425 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20426
20427 2014-06-09 Roland McGrath <roland@hack.frob.com>
20428
20429 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20430 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20431
20432 2014-06-09 Roland McGrath <roland@hack.frob.com>
20433
20434 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20435 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20436
20437 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20438 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20439
20440 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20441 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20442
20443 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20444 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20445
20446 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20447 if not already defined.
20448 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20449 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20450 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20451 (TLS_INIT_TP): Use it.
20452 (TLS_DEFINE_INIT_TP): New macro.
20453 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20454
20455 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20456
20457 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20458 constant.
20459 [POSIX] (IXANY): Likewise.
20460 [POSIX] (OLCUC): Likewise.
20461 [POSIX || POSIX2008] (CBAUD): Do not allow.
20462 [POSIX || POSIX2008] (DEFECHO): Likewise.
20463 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20464 [POSIX || POSIX2008] (ECHOKE): Likewise.
20465 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20466 [POSIX || POSIX2008] (EXTA): Likewise.
20467 [POSIX || POSIX2008] (EXTB): Likewise.
20468 [POSIX || POSIX2008] (FLUSHO): Likewise.
20469 [POSIX || POSIX2008] (LOBLK): Likewise.
20470 [POSIX || POSIX2008] (PENDIN): Likewise.
20471 [POSIX || POSIX2008] (SWTCH): Likewise.
20472 [POSIX || POSIX2008] (VDISCARD): Likewise.
20473 [POSIX || POSIX2008] (VDSUSP): Likewise.
20474 [POSIX || POSIX2008] (VLNEXT): Likewise.
20475 [POSIX || POSIX2008] (VREPRINT): Likewise.
20476 [POSIX || POSIX2008] (VSTATUS): Likewise.
20477 [POSIX || POSIX2008] (VWERASE): Likewise.
20478 (B*): Change to B[0123456789]*.
20479 * conform/data/time.h-data [POSIX || UNIX98]
20480 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20481 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20482 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20483 [POSIX] (tm_*): Do not allow.
20484
20485 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20486
20487 * Makefile (install): Don't set LANGUAGE.
20488 * Makefile.in (install): Likewise.
20489 * assert/Makefile (test-assert-ENV): Remove variable.
20490 (test-assert-perr-ENV): Likewise.
20491 * elf/Makefile (neededtest4-ENV): Likewise.
20492 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20493 [$(cross-compiling) = no]: Don't set LANGUAGE.
20494 * io/ftwtest-sh (LANG): Remove variable.
20495 * libio/Makefile (tst-widetext-ENV): Likewise.
20496 * manual/install.texi (Running make install): Don't refer to
20497 environment settings for make install.
20498 * INSTALL: Regenerated.
20499 * nptl/tst-tls6.sh: Don't set LANG.
20500 * posix/globtest.sh (LANG): Remove variable.
20501 * string/Makefile (tester-ENV): Likewise.
20502 (inl-tester-ENV): Likewise.
20503 (noinl-tester-ENV): Likewise.
20504 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20505 [$(cross-compiling) = no]: Don't set LANGUAGE.
20506 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20507 without explicit environment settings.
20508
20509 2014-06-06 Roland McGrath <roland@hack.frob.com>
20510
20511 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20512 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20513 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20514 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20515
20516 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20517
20518 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20519 other files in the crypt directory.
20520 * crypt/crypt.c: Remove duplicate includes.
20521 * crypt/crypt-entry.c: Likewise.
20522 * crypt/crypt_util.c: Likewise.
20523
20524 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20525
20526 * Makeconfig (run-program-env): New variable.
20527 (run-program-prefix-before-env): Likewise.
20528 (run-program-prefix-after-env): Likewise.
20529 (run-program-prefix): Define in terms of new variables.
20530 (built-program-cmd-before-env): New variable.
20531 (built-program-cmd-after-env): Likewise.
20532 (built-program-cmd): Define in terms of new variables.
20533 (test-program-prefix-before-env): New variable.
20534 (test-program-prefix-after-env): Likewise.
20535 (test-program-prefix): Define in terms of new variables.
20536 (test-program-cmd-before-env): New variable.
20537 (test-program-cmd-after-env): Likewise.
20538 (test-program-cmd): Define in terms of new variables.
20539 * Rules (make-test-out): Use $(run-program-env).
20540 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20541 (help): Do not mention environment variables. Mention
20542 --timeoutfactor option.
20543 (timeoutfactor): New variable.
20544 (blacklist_exports): Remove function.
20545 (exports): Remove variable.
20546 (command): Do not include ${exports}.
20547 * manual/install.texi (Configuring and compiling): Do not mention
20548 test wrappers preserving environment variables. Mention that last
20549 assignment to a variable must take precedence.
20550 * INSTALL: Regenerated.
20551 * benchtests/Makefile (run-bench): Use $(run-program-env).
20552 * catgets/Makefile ($(objpfx)test1.cat): Use
20553 $(built-program-cmd-before-env), $(run-program-env) and
20554 $(built-program-cmd-after-env).
20555 ($(objpfx)test2.cat): Do not specify environment variables
20556 explicitly.
20557 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20558 $(run-program-env) and $(built-program-cmd-after-env).
20559 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20560 $(run-program-env) and $(test-program-cmd-after-env).
20561 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20562 explicitly.
20563 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20564 run_program_env and test_program_cmd_after_env arguments.
20565 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20566 * elf/tst-pathopt.sh: Use run_program_env argument.
20567 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20568 $(test-wrapper-env) and $(run-program-env).
20569 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20570 run_program_env arguments.
20571 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20572 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20573 $(test-program-prefix-before-env), $(run-program-env) and
20574 $(test-program-prefix-after-env).
20575 ($(objpfx)tst-gettext2.out): Likewise.
20576 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20577 run_program_env and test_program_prefix_after_env arguments.
20578 * intl/tst-gettext2.sh: Likewise.
20579 * intl/tst-gettext4.sh: Do not set environment variables
20580 explicitly.
20581 * intl/tst-gettext6.sh: Likewise.
20582 * intl/tst-translit.sh: Likewise.
20583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20584 $(test-program-prefix-before-env), $(run-program-env) and
20585 $(test-program-prefix-after-env).
20586 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20587 run_program_env and test_program_prefix_after_env arguments.
20588 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20589 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20590 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20591 explicitly with each use of ${test_wrapper_env}.
20592 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20593 $(test-program-prefix-before-env), $(run-program-env) and
20594 $(test-program-prefix-after-env).
20595 * posix/tst-getconf.sh: Do not set environment variables
20596 explicitly.
20597 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20598 run_program_env and test_program_prefix_after_env arguments.
20599 * stdio-common/tst-printf.sh: Do not set environment variables
20600 explicitly.
20601 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20602 $(test-program-prefix-before-env), $(run-program-env) and
20603 $(test-program-prefix-after-env).
20604 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20605 run_program_env and test_program_prefix_after_env arguments.
20606 Split $test calls into $test_pre and $test.
20607 * timezone/Makefile (build-testdata): Use
20608 $(built-program-cmd-before-env), $(run-program-env) and
20609 $(built-program-cmd-after-env).
20610
20611 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20612
20613 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20614 strlen for non SHARED builds.
20615
20616 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20617
20618 * nptl/allocatestack.c (check_list): Inlined function...
20619 (__reclaim_stacks): ... here.
20620
20621 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20622
20623 [BZ #15698]
20624 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20625 memory overrun.
20626
20627 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20628
20629 * Rules (make-test-out): Include
20630 LOCPATH=$(common-objpfx)localedata in default environment.
20631 * debug/Makefile (tst-chk1-ENV): Remove variable.
20632 (tst-chk2-ENV): Likewise.
20633 (tst-chk3-ENV): Likewise.
20634 (tst-chk4-ENV): Likewise.
20635 (tst-chk5-ENV): Likewise.
20636 (tst-chk6-ENV): Likewise.
20637 (tst-lfschk1-ENV): Likewise.
20638 (tst-lfschk2-ENV): Likewise.
20639 (tst-lfschk3-ENV): Likewise.
20640 (tst-lfschk4-ENV): Likewise.
20641 (tst-lfschk5-ENV): Likewise.
20642 (tst-lfschk6-ENV): Likewise.
20643 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20644 (tst-iconv7-ENV): Likewise.
20645 * intl/Makefile (LOCPATH-ENV): Likewise.
20646 (tst-codeset-ENV): Likewise.
20647 (tst-gettext3-ENV): Likewise.
20648 (tst-gettext5-ENV): Likewise.
20649 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20650 (tst-fopenloc-ENV): Likewise.
20651 (tst-fgetws-ENV): Remove variable.
20652 (tst-ungetwc1-ENV): Likewise.
20653 (tst-ungetwc2-ENV): Likewise.
20654 (bug-ungetwc2-ENV): Likewise.
20655 (tst-swscanf-ENV): Likewise.
20656 (bug-ftell-ENV): Likewise.
20657 (tst-fgetwc-ENV): Likewise.
20658 (tst-fseek-ENV): Likewise.
20659 (tst-ftell-partial-wide-ENV): Likewise.
20660 (tst-ftell-active-handler-ENV): Likewise.
20661 (tst-ftell-append-ENV): Likewise.
20662 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20663 (tst-regexloc-ENV): Likewise.
20664 (bug-regex1-ENV): Likewise.
20665 (tst-regex-ENV): Likewise.
20666 (tst-regex2-ENV): Likewise.
20667 (bug-regex5-ENV): Likewise.
20668 (bug-regex6-ENV): Likewise.
20669 (bug-regex17-ENV): Likewise.
20670 (bug-regex18-ENV): Likewise.
20671 (bug-regex19-ENV): Likewise.
20672 (bug-regex20-ENV): Likewise.
20673 (bug-regex22-ENV): Likewise.
20674 (bug-regex23-ENV): Likewise.
20675 (bug-regex25-ENV): Likewise.
20676 (bug-regex26-ENV): Likewise.
20677 (bug-regex30-ENV): Likewise.
20678 (bug-regex32-ENV): Likewise.
20679 (bug-regex33-ENV): Likewise.
20680 (bug-regex34-ENV): Likewise.
20681 (bug-regex35-ENV): Likewise.
20682 (tst-rxspencer-ENV): Likewise.
20683 (tst-rxspencer-no-utf8-ENV): Likewise.
20684 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20685 (tst-sscanf-ENV): Likewise.
20686 (tst-swprintf-ENV): Likewise.
20687 (tst-swscanf-ENV): Likewise.
20688 (test-vfprintf-ENV): Likewise.
20689 (scanf13-ENV): Likewise.
20690 (bug14-ENV): Likewise.
20691 (tst-grouping-ENV): Likewise.
20692 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20693 (tst-strtod3-ENV): Likewise.
20694 (tst-strtod4-ENV): Likewise.
20695 (tst-strtod5-ENV): Likewise.
20696 (testmb2-ENV): Likewise./
20697 * string/Makefile (tst-strxfrm-ENV): Likewise.
20698 (tst-strxfrm2-ENV): Likewise.
20699 (bug-strcoll1-ENV): Likewise.
20700 (test-strcasecmp-ENV): Likewise.
20701 (test-strncasecmp-ENV): Likewise.
20702 * time/Makefile (tst-strptime-ENV): Likewise.
20703 (tst-ftime_l-ENV): Likewise.
20704 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20705 (tst-mbrtowc-ENV): Likewise.
20706 (tst-wcrtomb-ENV): Likewise.
20707 (tst-mbrtowc2-ENV): Likewise.
20708 (tst-c16c32-1-ENV): Likewise.
20709 (tst-mbsnrtowcs-ENV): Likewise.
20710
20711 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20712
20713 * manual/resource.texi (How to get information about the memory
20714 subsystem?): Fix typo.
20715 Reported by Peon de la Parra Ivan <peon@keba.com>
20716
20717 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20718
20719 [BZ #16882]
20720 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20721 (pthread_spin_lock): Branch out of spin loop to proper location.
20722 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20723 (pthread_spin_lock): Likewise.
20724
20725 * nptl/tst-spin4.c: New test.
20726 * nptl/Makefile (tests): Add tst-spin4.
20727
20728 2014-06-03 Andreas Schwab <schwab@suse.de>
20729
20730 [BZ #15946]
20731 * resolv/res_send.c (send_dg): Reload file descriptor after
20732 calling reopen.
20733
20734 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20735
20736 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20737
20738 2014-06-03 Richard Henderson <rth@redhat.com>
20739
20740 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20741 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20742 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20743 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20744 in the SAVE_PID block.
20745 (__libc_vfork): New alias.
20746 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20747
20748 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20749 child in registers, not on the stack. Remove RESET_PID conditionals.
20750 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20751
20752 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20753
20754 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20755
20756 2014-06-03 Wilco <wdijkstr@arm.com>
20757
20758 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20759 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20760 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20761 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20762 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20763 Likewise.
20764
20765 2014-06-03 Wilco <wdijkstr@arm.com>
20766
20767 * sysdeps/aarch64/fpu/math_private.h
20768 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20769 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20770 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20771 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20772 Fix declarations.
20773
20774 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20775
20776 * crypt/crypt-private.h: Include ufc-crypt.h.
20777 (__b64_from_24bit): Declare extern.
20778 * crypt/crypt_util.c(__b64_from_24bit): New function.
20779 (b64t): New static const variable.
20780 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20781 (b64t): Remove variable.
20782 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20783 * crypt/sha256-crypt.c: Include crypt-private.h.
20784 (b64t): Remove variable.
20785 (__sha256_crypt_r): Remove b64_from_24bit and replace
20786 with __b64_from_24bit.
20787 * crypt/sha512-crypt.c: Likewise.
20788
20789 2014-06-02 Roland McGrath <roland@hack.frob.com>
20790
20791 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20792 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20793 Label the code __libc_vfork rather than __vfork.
20794 [!NOT_IN_libc] (vfork): Define as weak alias.
20795 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20796 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20797 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20798
20799 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20800
20801 * malloc/malloc.c (malloc_info): Fix format specifier for
20802 n_mmaps.
20803
20804 2014-06-02 Wilco <wdijkstr@arm.com>
20805
20806 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20807 FPCR write.
20808
20809 2014-06-02 Wilco <wdijkstr@arm.com>
20810
20811 [BZ #17009]
20812 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20813 Rewrite to reduce FPCR/FPSR accesses.
20814
20815 2014-06-01 David S. Miller <davem@davemloft.net>
20816
20817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20818
20819 2014-05-31 David S. Miller <davem@davemloft.net>
20820
20821 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20822 to occur in round to nearest mode when |x| >= 2.0
20823
20824 2014-05-30 Richard Henderson <rth@twiddle.net>
20825
20826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20827 (PSEUDO_RET_NOERRNO): Remove.
20828 (ret): Don't redefine.
20829 (ret_NOERRNO): Define in terms of ret.
20830 (ret_ERRVAL): Likewise.
20831
20832 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20833 use of PSEUDO_RET; perform the error check directly.
20834
20835 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20836
20837 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20838 with __int128_t.
20839
20840 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20841
20842 * malloc/malloc (malloc_info): Fix formatting.
20843
20844 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20845 Roland McGrath <roland@hack.frob.com>
20846
20847 * malloc/malloc (malloc_info): Also print mmapped statistics.
20848
20849 2014-05-30 Roland McGrath <roland@hack.frob.com>
20850
20851 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20852 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20853
20854 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20855
20856 * malloc/malloc.c (malloc_info): Inline mi_arena.
20857
20858 2014-05-29 Richard Henderson <rth@twiddle.net>
20859
20860 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20861 Remove comma before expanding ASM_ARGS_##nr.
20862 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20863 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20864 of ASM_ARGS_##nr.
20865 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20866 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20867 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20868 (ASM_ARGS_1): Add leading comma.
20869
20870 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20871 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20872 to __errno_location.
20873 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20874 Remove the expected plt for __errno_location.
20875
20876 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20877 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20878 call to __read_tp.
20879
20880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20881 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20882 it and break it down.
20883 (DOCARGS_0, DOCARGS_1): Do nothing.
20884 (DOCARGS_2): Update to store into the new stack frame.
20885 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20886 (UNDOCARGS_1): Update to restore from the new stack frame.
20887 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20888 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20889
20890 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20891 (SINGLE_THREAD_P): New parameter for result regno.
20892 (PSEUDO): Update to match; use cbz instead of beq.
20893
20894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20895 Use ENTRY to define the _nocancel entry point. Share the syscall
20896 and syscall error check paths with the cancel path.
20897 (PSEUDO_END): New.
20898
20899 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20900 whitespace; tabs before and after asm mnemonics.
20901
20902 2014-05-29 Eric Wong <normalperson@yhbt.net>
20903
20904 [BZ #15132]
20905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20906 Call fstat64 or stat64 internally, depending on arguments passed.
20907 Replace stat buffer argument with file descriptor argument.
20908 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20909 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20910 Pass fd to __internal_statvfs instead of calling fstat64.
20911 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20912 Pass fd to __internal_statvfs64 instead of calling fstat64.
20913 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20914 Pass -1 to __internal_statvfs instead of calling stat64.
20915 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20916 Pass -1 to __internal_statvfs64 instead of calling stat64.
20917
20918 2014-05-28 Roland McGrath <roland@hack.frob.com>
20919
20920 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20921 that was previously under [RESET_PID].
20922 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20923
20924 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20925 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20926
20927 2014-05-27 Roland McGrath <roland@hack.frob.com>
20928
20929 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20930
20931 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20932 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20933
20934 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20935
20936 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20937
20938 2014-05-27 Andreas Schwab <schwab@suse.de>
20939
20940 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20941 TLS_INIT_TP macro.
20942 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20943 * elf/rtld.c (init_tls, dl_main): Likewise.
20944 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20945 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20946 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20947 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20948 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20949 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20950 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20951 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20952 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20953 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20954 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20955 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20956 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20957 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20958 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20959 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20960 * sysdeps/generic/tls.h: Update description.
20961
20962 2014-05-27 Will Newton <will.newton@linaro.org>
20963
20964 [BZ #16990]
20965 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20966 and restore r2 rather than just restoring.
20967
20968 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20969
20970 [BZ #16724]
20971 * libio/tst-ftell-append.c: New test case.
20972 * libio/Makefile (tests): Add test case.
20973 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20974 append mode.
20975 * libio/wfileops.c (do_ftell_wide): Likewise.
20976
20977 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978
20979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20980
20981 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20982 ...
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20985 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20986 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20987 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20988 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20989 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20990 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20992 Moved ...
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20994 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20995 Moved ...
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20997 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20998 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20999 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21000 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21001 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21002 ...
21003 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21004 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21005 Moved ...
21006 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21007 here.
21008 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21009 ...
21010 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21011 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21012 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21013
21014 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21015 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21016 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21017 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21018
21019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21020 merge into ...
21021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21023 ...
21024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21025 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21026 ...
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21029 Moved ...
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21031 here.
21032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21033 Moved ...
21034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21036 Moved ...
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21038
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21040 conditional [RESET_PID].
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21043 removed.
21044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21045 removed.
21046
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21048 <tcb-offsets.h>.
21049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21050 (__libc_vfork): New strong alias.
21051 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21052 removed.
21053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21054 Removed.
21055
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21057 <tcb-offsets.h>.
21058 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21059 (__libc_vfork): New strong alias.
21060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21061 removed.
21062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21063 removed.
21064
21065 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21066
21067 * malloc/malloc.c (mi_arena): New function.
21068 (malloc_info): Remove nested function mi_arena. Call non-nosted
21069 function mi_arena.
21070
21071 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21072
21073 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21074 by insrwi.
21075 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21076 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21077 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21078 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21079 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21080 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21082
21083 2014-05-26 Andreas Schwab <schwab@suse.de>
21084
21085 [BZ #16984]
21086 * locale/programs/repertoire.c (repertoire_read): Add slash
21087 between I18NPATH element and file name.
21088 * locale/programs/locfile.c (locfile_read): Likewise.
21089
21090 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21091
21092 * nptl/pthread_mutexattr_settype.c
21093 (__pthread_mutexattr_settype):
21094 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21095
21096 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21097
21098 * nptl/tst-mutex5 (do_test):
21099 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21100
21101 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21102
21103 * benchtests/README: Document 'init' directive.
21104 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21105 BENCH_INIT.
21106 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21107 (parse_file): Recognize 'init' directive.
21108
21109 2014-05-26 Kyle McMartin <kyle@redhat.com>
21110
21111 [BZ #16796]
21112 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21113 alignment of struct pthread.
21114
21115 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21116
21117 [BZ #16878]
21118 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21119 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21120 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21121 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21122
21123 2014-05-25 Richard Henderson <rth@twiddle.net>
21124
21125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21126 (SINGLE_THREAD_P_PIC): Remove.
21127 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21128 (SINGLE_THREAD_P_PIC): Remove.
21129
21130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21131 branch to syscall error ...
21132 (PSEUDO): ... here.
21133 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21134 from __local_syscall_error to .Lsyscall_error.
21135 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21136 (SYSCALL_ERROR): Update label name.
21137
21138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21139 Do not use DOARGS/UNDOARGS.
21140 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21141 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21142 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21143 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21144 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21145
21146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21147 block comment.
21148
21149 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21150 define if !NOT_IN_libc.
21151 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21152 define with non-default symbol versions.
21153
21154 2014-05-23 Richard Henderson <rth@twiddle.net>
21155
21156 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21157 (vfork, __vfork): Define via compat_symbol.
21158
21159 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21160 [!HAVE_IFUNC] (vfork_compat): Remove.
21161 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21162
21163 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21164
21165 [BZ #16978]
21166 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21167 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21168 variable.
21169
21170 2014-05-23 Richard Henderson <rth@twiddle.net>
21171
21172 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21173 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21174 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21175 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21176
21177 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21178 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21179 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21180 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21181 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21182 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21183 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21184 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21185 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21186 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21187 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21188 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21189 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21190 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21191 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21192 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21193 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21194 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21195 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21196 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21197 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21198 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21199 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21200 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21201 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21202 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21203 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21204 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21205 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21206 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21207 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21208 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21209 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21210 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21211 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21212 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21213 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21214 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21215 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21216 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21217 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21218 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21219 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21220 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21221 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21222 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21223 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21224 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21225 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21226 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21227 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21228 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21229 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21230 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21231 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21232 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21233
21234 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21235 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21236 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21237 before exiting on error.
21238 (__libc_vfork): New strong alias.
21239 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21240 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21241
21242 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21243 that was previously under [RESET_PID].
21244 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21245
21246 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21247
21248 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21249
21250 [BZ #16977]
21251 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21252 value when x - 1 is zero.
21253 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21254 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21255 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21256 0.0L for an argument of 1.0L.
21257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21258 Likewise.
21259 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21260 value when x - 1 is zero.
21261 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21262 * sysdeps/i386/fpu/libm-test-ulps: Update.
21263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21264
21265 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21266
21267 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21268 alphasort and versionsort.
21269
21270 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21271
21272 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21273 macro.
21274 [copysignf]: Likewise.
21275
21276 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21277
21278 * crypt/md5-crypt.c: Fix formatting.
21279
21280 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21281
21282 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21283 (b64_from_24bit): New function.
21284
21285 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21286
21287 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21288 libc_hidden_builtin_def to ifunc.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21290 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21291
21292 2014-05-21 Roland McGrath <roland@hack.frob.com>
21293
21294 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21295 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21296
21297 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21298
21299 * nscd/Depend (linuxthreads): Remove.
21300 (nptl): Add.
21301 * resolv/Depend (linuxthreads): Remove.
21302 * rt/Depend (linuxthreads): Remove.
21303
21304 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21305 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21306 $(common-objpfx)elf/.
21307 (link-libc-before-gnulib): Likewise.
21308 (elfobjdir): Remove variable.
21309 * Makefile (install): Use $(elf-objpfx) instead of
21310 $(common-objpfx)elf/.
21311 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21312 $(elfobjdir)/.
21313 (link-libc-deps): Likewise.
21314 ($(common-objpfx)libc.so): Likewise.
21315 ($(common-objpfx)linkobj/libc.so): Likewise.
21316 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21317 instead of $(common-objpfx)elf/.
21318 (symbolic-link-list): Likewise.
21319 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21320 [$(cross-compiling) = no]: Likewise.
21321 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21322 $(elfobjdir)/.
21323 (static-gnulib-arch): Likewise.
21324 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21325 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21326 $(common-objpfx)elf/.
21327
21328 2014-05-21 Richard Henderson <rth@redhat.com>
21329
21330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21331 (SINGLE_THREAD_P): Use the correct width load. Fold
21332 into the ldr offset.
21333
21334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21335 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21336
21337 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21338
21339 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21340 (libgcc_s_resume): Use __attribute_used__.
21341 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21342 Likewise.
21343
21344 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21345
21346 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21347 optimization when used with float constants.
21348
21349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21350
21351 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21352
21353 [BZ #16915]
21354 * locale/nl_langinfo_l.c: Make direct reference to every
21355 _nl_current_CATEGORY symbol.
21356 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21357 (tests-static): Add tst-langinfo-static.
21358 (tests-special): Add tst-langinfo-static.out.
21359 ($(objpfx)tst-langinfo.out): Redirect output.
21360 ($(objpfx)tst-langinfo-static.out): New.
21361 * localedata/tst-langinfo.sh: Send output to stdout.
21362 * localedata/tst-langinfo-static.c: New file.
21363
21364 [BZ #16965]
21365 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21366 when the shift amount is modulo the limb size.
21367
21368 2014-05-20 Richard Henderson <rth@redhat.com>
21369
21370 [BZ #16967]
21371 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21372 Change type of sa_flags from unsigned int to int.
21373
21374 [BZ #16966]
21375 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21376
21377 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21378
21379 2014-05-20 Will Newton <will.newton@linaro.org>
21380
21381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21382 Test the return value of the system call in the nocancel case.
21383
21384 2014-05-20 Will Newton <will.newton@linaro.org>
21385 Yvan Roux <yvan.roux@linaro.org>
21386
21387 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21388 #include of asm/ptrace.h.
21389 (PTRACE_GET_THREAD_AREA): Remove #undef.
21390 (PTRACE_GETHBPREGS): Likewise.
21391 (PTRACE_SETHBPREGS): Likewise.
21392 (struct user_regs_struct): New structure.
21393 (struct user_fpsimd_struct): New structure.
21394 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21395 #include of asm/ptrace.h and second #include of sys/user.h.
21396 (PTRACE_GET_THREAD_AREA): Remove #undef.
21397 (PTRACE_GETHBPREGS): Likewise.
21398 (PTRACE_SETHBPREGS): Likewise.
21399 (ELF_NGREG): Use new struct user_regs_struct.
21400 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21401
21402 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21403
21404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21406
21407 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21408
21409 [BZ #16958]
21410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21411 membar to avoid block loads/stores to overlap previous stores.
21412
21413 2014-05-17 Richard Henderson <rth@redhat.com>
21414
21415 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21416 Create the __##syscall_name##_nocancel entry point.
21417 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21418 Remove; let the sysdep-cancel.h code create it.
21419
21420 2014-05-17 David S. Miller <davem@davemloft.net>
21421
21422 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21423 Protect with __USE_GNU.
21424 (TIOCSET_TEMPT): Likewise.
21425 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21426 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21427 these are already provided in bits/ioctl-types.h
21428
21429 2014-05-16 Roland McGrath <roland@hack.frob.com>
21430
21431 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21432 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21433
21434 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21435 Use wait4 regardless of [__NR_waitpid].
21436
21437 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21438
21439 PR libgcc/60166
21440 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21441 (_FP_NANSIGN_Q): Set the quiet bit.
21442
21443 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21444
21445 * benchtests/Makefile
21446 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21447 not $(common-objpfx)math/libm.so.
21448 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21449 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21450 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21451 $(common-objpfx)dlfcn/libdl.so.
21452 ($(objpfx)tst-audit8): Depend on $(libm), not
21453 $(common-objpfx)math/libm.so.
21454 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21455 not $(common-objpfx)dlfcn/libdl.so.
21456 * math/Makefile
21457 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21458 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21459 [$(build-shared) = yes].
21460 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21461 $(common-objpfx)nptl/libpthread.so.
21462 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21463 $(common-objpfx)math/libm.so$(libm.so-version) or
21464 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21465 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21466 $(common-objpfx)dlfcn/libdl.so.
21467 * setjmp/Makefile (link-libm): Remove variable.
21468 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21469 * stdio-common/Makefile (link-libm): Remove variable.
21470 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21471 * stdlib/Makefile (link-libm): Remove variable.
21472 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21473 ($(objpfx)tst-strtod-round): Likewise.
21474 ($(objpfx)tst-tininess): Likewise.
21475 ($(objpfx)tst-strtod-underflow): Likewise.
21476 ($(objpfx)tst-strtod6): Likewise.
21477 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21478 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21479 $(common-objpfx)dlfcn/libdl.so.
21480
21481 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21482
21483 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21484 BSD terminal modes definitions.
21485
21486 2014-05-16 Roland McGrath <roland@hack.frob.com>
21487
21488 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21489 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21490
21491 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21492 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21493 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21494 Don't do #include_next.
21495 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21496 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21497 Don't do #include_next.
21498 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21499 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21500 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21501 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21502
21503 2014-05-16 Allan McRae <allan@archlinux.org>
21504
21505 * po/sv.po: Update Swedish translation from translation project.
21506
21507 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21508 in sed expression.
21509
21510 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21511
21512 [BZ #16917]
21513 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21514 errno if the TIOCGPTN ioctl fails with an error different than
21515 EINVAL.
21516 * login/tst-ptsname.c: New file.
21517 * login/Makefile (tests): Add tst-ptsname.
21518
21519 [BZ #16943]
21520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21521 and prlimit64.
21522
21523 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21524
21525 [BZ #16849]
21526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21527 herrno to return EAI_AGAIN.
21528
21529 2014-05-14 Roland McGrath <roland@hack.frob.com>
21530
21531 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21532 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21533 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21534 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21535 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21536 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21537 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21538 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21540 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21541 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21542 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21543 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21544 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21545 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21546 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21547 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21548 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21549 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21550 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21551 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21552 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21553 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21554 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21555 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21556 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21557 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21558 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21559 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21560 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21562 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21564 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21566 Moved ...
21567 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21569 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21571 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21573 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21575 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21577 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21579 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21581 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21583 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21585 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21587 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21589 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21591 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21593 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21595 Moved ...
21596 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21598 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21600 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21602 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21604 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21606 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21608 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21610 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21612 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21614 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21616 Moved ...
21617 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21619 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21620
21621 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21622 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21623 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21624 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21625 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21626 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21627 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21628 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21629 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21630 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21631 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21632 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21633 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21634 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21635 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21636 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21637 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21638 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21639 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21640 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21641 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21642 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21643 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21644 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21645 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21646 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21647 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21648 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21649 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21650 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21651 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21652
21653 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21654 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21655
21656 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21657 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21658 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21659 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21660 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21661 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21662 Moved ...
21663 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21664 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21665 Moved ...
21666 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21667 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21668 Moved ...
21669 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21671 Moved ...
21672 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21673 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21674 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21676 Moved ...
21677 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21678 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21679 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21680 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21681 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21682 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21683 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21685 Moved ...
21686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21688 Moved ...
21689 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21690 ... here.
21691 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21692 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21693 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21694 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21696 Moved ...
21697 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21698 ... here.
21699 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21700 Moved ...
21701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21702 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21703 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21704 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21705 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21706 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21707 Moved ...
21708 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21709 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21710 Moved ...
21711 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21712 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21713 Moved ...
21714 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21716 Moved ...
21717 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21718 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21719 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21721 Moved ...
21722 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21723 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21724 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21725 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21726 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21727 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21728 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21730 Moved ...
21731 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21733 Moved ...
21734 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21735 ... here.
21736 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21737 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21738 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21739 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21741 Moved ...
21742 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21743 ... here.
21744 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21745 Moved ...
21746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21747 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21748 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21749 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21750 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21751 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21752 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21753 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21754 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21755 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21756 Moved ...
21757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21758 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21759 Moved ...
21760 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21761 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21762 Moved ...
21763 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21764 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21765 Moved ...
21766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21767 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21768 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21769 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21770 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21771 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21772 Moved ...
21773 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21774 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21775 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21777 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21778 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21779 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21780 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21781 Moved ...
21782 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21784 Moved ...
21785 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21786 ... here.
21787 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21788 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21789 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21790 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21792 Moved ...
21793 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21794 ... here.
21795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21796 Moved ...
21797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21798 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21799 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21800 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21801 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21802 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21803 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21804 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21805 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21806 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21807 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21808
21809 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21810 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21811
21812 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21813 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21814
21815 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21816 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21817 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21818 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21819 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21820 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21821 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21822 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21823 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21824 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21825 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21826 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21827 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21828 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21829 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21830 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21831 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21833 Moved ...
21834 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21836 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21838 Moved ...
21839 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21840 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21841 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21843 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21846 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21847 Moved ...
21848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21850 Moved ...
21851 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21853 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21855 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21857 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21858 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21859 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21860 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21861 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21862 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21863 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21864 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21865 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21866 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21867 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21868
21869 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21870 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21871 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21872 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21873 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21874
21875 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21876 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21877 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21878 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21879 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21880 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21881 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21882 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21883 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21884 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21885
21886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21888
21889 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21890 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21891 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21892 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21893 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21894 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21895 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21896 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21897 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21898 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21899 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21900 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21901 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21902 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21904 Update #include.
21905 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21906 Likewise.
21907 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21908 Likewise.
21909 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21910 Likewise.
21911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21912 Likewise.
21913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21914 Likewise.
21915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21916 Likewise.
21917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21918 Likewise.
21919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21920 Likewise.
21921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21922 Likewise.
21923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21926 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21928 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21929 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21930 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21933 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21934 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21935 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21936 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21937 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21938
21939 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21940 that was previously under [RESET_PID].
21941 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21942 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21943 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21944
21945 * sysdeps/i386/nptl/Implies: New file.
21946 * sysdeps/x86_64/nptl/Implies: New file.
21947 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21948 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21949 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21950 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21951
21952 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21953 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21954 (__libc_vfork): New strong alias.
21955 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21956 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21957
21958 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21959 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21960 (__libc_vfork): New strong alias.
21961 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21962 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21963
21964 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21966 (__libc_vfork): New strong alias.
21967 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21968 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21969 * nptl/pt-vfork.c: New file.
21970 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21971 (libpthread: GLIBC_2.20): New version set (empty).
21972
21973 2014-05-14 Will Newton <will.newton@linaro.org>
21974
21975 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21976 rather than #if.
21977
21978 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21979
21980 [BZ #16564]
21981 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21982 arguments with exponent 65 or above.
21983 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21984 arguments 0x1p113L or above.
21985 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21986 to arguments 0x1p107L or above.
21987 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21988 positive arguments with exponent 65 or above.
21989 * math/auto-libm-test-in: Add more tests of log1p.
21990 * math/auto-libm-test-out: Regenerated.
21991
21992 [BZ #16928]
21993 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21994 non-finite arguments is +0.
21995 * math/s_cacosf.c (__cacosf): Likewise.
21996 * math/s_cacosl.c (__cacosl): Likewise.
21997 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21998 * sysdeps/i386/fpu/libm-test-ulps: Update.
21999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22000
22001 [BZ #16927]
22002 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22003 value.
22004 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22005 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22006 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22007 for explicit high bit of mantissa when testing for argument equal
22008 to 1.
22009 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22010 * sysdeps/i386/fpu/libm-test-ulps: Update.
22011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22012
22013 [BZ #16516]
22014 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22015 (__erf): Scale by 16 instead of 8 in potentially underflowing
22016 case. Ensure exception if result actually underflows.
22017 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22018 (__erff): Scale by 16 instead of 8 in potentially underflowing
22019 case. Ensure exception if result actually underflows.
22020 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22021 (efx8): Remove variable.
22022 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22023 case. Ensure exception if result actually underflows.
22024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22025 (efx8): Remove variable.
22026 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22027 case. Ensure exception if result actually underflows.
22028 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22029 (efx8): Remove variable.
22030 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22031 case. Ensure exception if result actually underflows.
22032 * math/auto-libm-test-in: Add more tests of erf.
22033 * math/auto-libm-test-out: Regenerated.
22034
22035 2014-05-14 Andreas Schwab <schwab@suse.de>
22036
22037 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22038 Remove code conditionalized on USE___THREAD.
22039
22040 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22041 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22042 not definedness.
22043
22044 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22045
22046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22047 Define unconditionally.
22048 (__ASSUME_O_CLOEXEC): Likewise.
22049 (__ASSUME_SOCK_CLOEXEC): Likewise.
22050 (__ASSUME_IN_NONBLOCK): Likewise.
22051 (__ASSUME_PIPE2): Likewise.
22052 (__ASSUME_EVENTFD2): Likewise.
22053 (__ASSUME_SIGNALFD4): Likewise.
22054 (__ASSUME_DUP3): Likewise.
22055 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22056 (__ASSUME_DUP3): Do not define.
22057 (__ASSUME_EVENTFD2): Likewise.
22058 (__ASSUME_IN_NONBLOCK): Likewise.
22059 (__ASSUME_O_CLOEXEC): Likewise.
22060 (__ASSUME_PIPE2): Likewise.
22061 (__ASSUME_SIGNALFD4): Likewise.
22062 (__ASSUME_SOCK_CLOEXEC): Likewise.
22063 (__ASSUME_UTIMES): Undefine.
22064 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22065 (__ASSUME_UTIMES): Do not define.
22066 (__ASSUME_O_CLOEXEC): Likewise.
22067 (__ASSUME_SOCK_CLOEXEC): Likewise.
22068 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22069 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22070 0x020621].
22071 (__ASSUME_PIPE2): Likewise.
22072 (__ASSUME_EVENTFD2): Likewise.
22073 (__ASSUME_SIGNALFD4): Likewise.
22074 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22075 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22076 Do not define.
22077 (__ASSUME_EVENTFD2): Likewise.
22078 (__ASSUME_SIGNALFD4): Likewise.
22079 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22080 (__ASSUME_32BITUIDS): Likewise.
22081 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22082 (__ASSUME_IPC64): Likewise.
22083 (__ASSUME_ST_INO_64_BIT): Likewise.
22084 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22085 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22086 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22087 (__ASSUME_UTIMES): Do not define.
22088 (__ASSUME_PSELECT): Likewise.
22089 (__ASSUME_PPOLL): Likewise.
22090 (__ASSUME_O_CLOEXEC): Likewise.
22091 (__ASSUME_SOCK_CLOEXEC): Likewise.
22092 (__ASSUME_IN_NONBLOCK): Likewise.
22093 (__ASSUME_PIPE2): Likewise.
22094 (__ASSUME_EVENTFD2): Likewise.
22095 (__ASSUME_SIGNALFD4): Likewise.
22096 (__ASSUME_DUP3): Likewise.
22097 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22098 (__ASSUME_UTIMES): Likewise.
22099 (__ASSUME_O_CLOEXEC): Likewise.
22100 (__ASSUME_SOCK_CLOEXEC): Likewise.
22101 (__ASSUME_IN_NONBLOCK): Likewise.
22102 (__ASSUME_PIPE2): Likewise.
22103 (__ASSUME_EVENTFD2): Likewise.
22104 (__ASSUME_SIGNALFD4): Likewise.
22105 (__ASSUME_DUP3): Likewise.
22106 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22107 (__ASSUME_UTIMES): Likewise.
22108 (__ASSUME_O_CLOEXEC): Likewise.
22109 (__ASSUME_SOCK_CLOEXEC): Likewise.
22110 (__ASSUME_IN_NONBLOCK): Likewise.
22111 (__ASSUME_PIPE2): Likewise.
22112 (__ASSUME_EVENTFD2): Likewise.
22113 (__ASSUME_SIGNALFD4): Likewise.
22114 (__ASSUME_DUP3): Likewise.
22115 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22116 Likewise.
22117 (__ASSUME_UTIMES): Likewise.
22118 (__ASSUME_EVENTFD2): Likewise.
22119 (__ASSUME_SIGNALFD4): Likewise.
22120 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22121 (__ASSUME_O_CLOEXEC): Likewise.
22122 (__ASSUME_SOCK_CLOEXEC): Likewise.
22123 (__ASSUME_IN_NONBLOCK): Likewise.
22124 (__ASSUME_PIPE2): Likewise.
22125 (__ASSUME_EVENTFD2): Likewise.
22126 (__ASSUME_SIGNALFD4): Likewise.
22127 (__ASSUME_DUP3): Likewise.
22128 (__ASSUME_UTIMES): Undefine.
22129
22130 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22131 feclearexcept. Remove symbol versioning code.
22132 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22133 symbol versioning code.
22134 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22135 symbol versioning code.
22136 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22137 feupdateenv. Remove symbol versioning code.
22138 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22139 fegetexceptflag. Remove symbol versioning code.
22140 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22141 fesetexceptflag. Remove symbol versioning code.
22142 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22143 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22144 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22145 (__posix_fadvise64_l32): Remove prototype.
22146 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22147 code.
22148
22149 2014-05-13 Roland McGrath <roland@hack.frob.com>
22150
22151 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22152 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22153 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22154 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22155
22156 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22157
22158 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22159 current working directory
22160
22161 2014-05-13 Roland McGrath <roland@hack.frob.com>
22162
22163 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22164 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22165 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22166 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22167 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22168 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22169 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22170 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22171 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22172 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22173 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22174 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22175 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22176 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22177 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22178 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22179 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22180 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22181 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22182 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22183 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22184 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22185 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22186 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22187 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22188 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22189 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22190 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22191 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22192 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22193 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22194 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22195 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22196 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22197 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22198 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22199 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22200 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22201 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22202 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22203 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22204 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22205
22206 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22207 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22208
22209 * sysdeps/unix/sysv/linux/arm/Makefile
22210 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22211 Add rt-aeabi_unwind_cpp_pr1.
22212 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22213 Add nptl-aeabi_unwind_cpp_pr1.
22214 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22215 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22216 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22217 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22218 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22219 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22220
22221 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22222 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22223 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22224 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22225
22226 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22227 Deconditionalize the code that was previously under [RESET_PID].
22228 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22229
22230 * sysdeps/generic/exit-thread.h: New file.
22231 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22232 * include/unistd.h (__exit_thread): Remove declaration.
22233 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22234 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22235 * csu/libc-start.c: Include <exit-thread.h>.
22236 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22237 * nptl/pthread_create.c: Include <exit-thread.h>.
22238 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22239 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22240 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22241 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22242 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22243 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22244 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22245 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22246 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22247 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22248 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22249 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22250 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22251 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22252 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22253 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22254 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22255
22256 2014-05-13 Andreas Schwab <schwab@suse.de>
22257
22258 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22259
22260 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22261
22262 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22263 (__ASSUME_UTIMES): Do not condition on kernel version.
22264 (__ASSUME_PSELECT): Define unconditionally.
22265 (__ASSUME_PPOLL): Likewise.
22266 (__ASSUME_ATFCTS): Likewise.
22267 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22268 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22269 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22270 (__ASSUME_UTIMENSAT): Define unconditionally.
22271 (__ASSUME_PRIVATE_FUTEX): Likewise.
22272 (__ASSUME_FALLOCATE): Likewise.
22273 (__ASSUME_O_CLOEXEC): Likewise.
22274 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22275 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22276 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22277 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22278 (__ASSUME_IN_NONBLOCK): Likewise.
22279 (__ASSUME_PIPE2): Likewise.
22280 (__ASSUME_EVENTFD2): Likewise.
22281 (__ASSUME_SIGNALFD4): Likewise.
22282 (__ASSUME_DUP3): Likewise.
22283 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22284 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22285 (__ASSUME_AT_RANDOM): Likewise.
22286 (__ASSUME_PREADV): Likewise.
22287 (__ASSUME_PWRITEV): Likewise.
22288 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22289 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22290 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22291 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22292 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22294 (__ASSUME_O_CLOEXEC): Define unconditionally.
22295 (__ASSUME_PSELECT): Do not undefine conditionally.
22296 (__ASSUME_PPOLL): Likewise.
22297 (__ASSUME_ATFCTS): Likewise.
22298 (__ASSUME_SET_ROBUST_LIST): Likewise.
22299 (__ASSUME_UTIMENSAT): Likewise.
22300 (__ASSUME_FDATASYNC): Define unconditionally.
22301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22302 (__ASSUME_SIGFRAME_V2): Likewise.
22303 )__ASSUME_EVENTFD2): Likewise.
22304 (__ASSUME_SIGNALFD4): Likewise.
22305 (__ASSUME_PSELECT): Do not undefine conditionally.
22306 (__ASSUME_PPOLL): Likewise.
22307 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22308 (__ASSUME_PSELECT): Define unconditionally.
22309 (__ASSUME_PPOLL): Likewise.
22310 (__ASSUME_O_CLOEXEC): Likewise.
22311 (__ASSUME_SOCK_CLOEXEC): Likewise.
22312 (__ASSUME_IN_NONBLOCK): Likewise.
22313 (__ASSUME_PIPE2): Likewise.
22314 (__ASSUME_EVENTFD2): Likewise.
22315 (__ASSUME_SIGNALFD4): Likewise.
22316 (__ASSUME_DUP3): Likewise.
22317 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22318 (__ASSUME_O_CLOEXEC): Likewise.
22319 (__ASSUME_SOCK_CLOEXEC): Likewise.
22320 (__ASSUME_IN_NONBLOCK): Likewise.
22321 (__ASSUME_PIPE2): Likewise.
22322 (__ASSUME_EVENTFD2): Likewise.
22323 (__ASSUME_SIGNALFD4): Likewise.
22324 (__ASSUME_DUP3): Likewise.
22325 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22326 (__ASSUME_EVENTFD2): Likewise.
22327 (__ASSUME_SIGNALFD4): Likewise.
22328 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22329
22330 2014-05-12 Andreas Schwab <schwab@suse.de>
22331
22332 [BZ #16932]
22333 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22334 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22335 than maximum RPC packet size.
22336 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22337 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22338 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22339 (_nss_nis_getservbyport_r): Likewise.
22340
22341 2014-05-12 Will Newton <will.newton@linaro.org>
22342
22343 * malloc/Makefile (tests): Add tst-mallopt.
22344 * malloc/tst-mallopt.c: New file.
22345
22346 2014-05-09 Roland McGrath <roland@hack.frob.com>
22347
22348 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22349 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22350
22351 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22352
22353 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22354 (tst-tlsmod6.so): Likewise.
22355
22356 2014-05-09 Roland McGrath <roland@hack.frob.com>
22357
22358 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22359
22360 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22361
22362 [BZ #16064]
22363 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22364 and <dl-procinfo.h>.
22365 (__fegetenv): Save SSE state in envp->__eip if supported.
22366 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22367 envp->__eip if supported.
22368 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22369 and <dl-procinfo.h>.
22370 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22371 __data_offset and __data_selector in environment to 0. Set SSE
22372 state if supported.
22373 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22374 test-fenv-sse.
22375 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22376 -mfpmath=sse.
22377 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22378
22379 2014-05-09 Will Newton <will.newton@linaro.org>
22380
22381 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22382 and libc_relro_required for ARM.
22383 * sysdeps/arm/preconfigure: Regenerate.
22384
22385 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22386 Stefan Liebler <stli@linux.vnet.ibm.com>
22387
22388 * config.make.in (enable-lock-elision): New Makefile variable.
22389 * configure.ac: Likewise.
22390 * configure: Regenerate.
22391 * sysdeps/s390/configure.ac:
22392 Add check for gcc transactions support.
22393 * sysdeps/s390/configure: Regenerate.
22394 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22395 Build elision files if enabled.
22396 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22397 Add lock elision support for s390.
22398 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22399 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22400 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22401 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22402 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22403 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22404 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22405 Likewise.
22406 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22407 Likewise.
22408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22409 Likewise.
22410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22411 Likewise.
22412 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22413 (__lll_timedlock_elision, __lll_lock_elision)
22414 (__lll_unlock_elision, __lll_trylock_elision)
22415 (lll_timedlock_elision, lll_lock_elision)
22416 (lll_unlock_elision, lll_trylock_elision): Add.
22417 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22418 (pthread_mutex_t): Add lock elision support for s390.
22419
22420 2014-05-14 Wilco <wdijkstr@arm.com>
22421
22422 * sysdeps/arm/fclrexcpt.c: Cleanup.
22423 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22424 * sysdeps/arm/feenablxcpt.c: Cleanup.
22425 * sysdeps/arm/fegetenv.c: Cleanup.
22426 * sysdeps/arm/fegetexcept.c: Cleanup.
22427 * sysdeps/arm/fegetround.c: Cleanup.
22428 * sysdeps/arm/feholdexcpt.c: Cleanup.
22429 * sysdeps/arm/fesetenv.c: Cleanup.
22430 * sysdeps/arm/fesetround.c: Cleanup.
22431 * sysdeps/arm/feupdateenv.c: Cleanup.
22432 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22433 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22434 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22435 * sysdeps/arm/ftestexcept.c: Cleanup.
22436 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22437 * sysdeps/arm/setfpucw.c: Cleanup.
22438
22439 2014-05-09 Will Newton <will.newton@linaro.org>
22440
22441 * sysdeps/arm/armv7/strcmp.S: New file.
22442 * NEWS: Mention addition of ARMv7 optimized strcmp.
22443
22444 2014-05-08 Roland McGrath <roland@hack.frob.com>
22445
22446 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22447 look for %.ac rather than %.in.
22448
22449 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22450 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22451 * sysdeps/mach/hurd/configure: Regenerated.
22452 * sysdeps/unix/sysv/linux/configure: Regenerated.
22453
22454 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22455
22456 2014-05-07 Steve Ellcey <sellcey@mips.com>
22457
22458 [BZ# 16922]
22459 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22460 (LONG_SUB): Ditto.
22461 (PTR_SUB): Ditto.
22462
22463 2014-05-07 Andreas Schwab <schwab@suse.de>
22464
22465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22466 when skipping over non-matching result from nscd.
22467
22468 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22469
22470 [BZ #16876]
22471 * nptl/sockperf.c (client): Check socket return value.
22472
22473 [BZ #16877]
22474 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22475 nscd security class.
22476
22477 2014-05-06 Roland McGrath <roland@hack.frob.com>
22478
22479 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22480 * sysdeps/arm/unwind.h: ... here.
22481
22482 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22483
22484 [BZ# 16916]
22485 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22486 Define.
22487
22488 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22489
22490 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22491 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22492 multiarch strncpy for PPC64.
22493 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22494 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22496 multiarch optimizations.
22497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22498 (__libc_ifunc_impl_list): Likewise.
22499 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22500 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22501 multiarch stpncpy for PPC64.
22502 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22503 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22504
22505 2014-05-06 Andreas Schwab <schwab@suse.de>
22506
22507 [BZ #16912]
22508 * gmon/mcount.c (_MCOUNT_DECL): Use
22509 atomic_compare_and_exchange_bool_acq instead of
22510 catomic_compare_and_exchange_bool_acq.
22511
22512 2014-05-05 Roland McGrath <roland@hack.frob.com>
22513
22514 * elf/Makefile (others, install-bin): Remove pldd.
22515 (pldd-modules): Variable removed.
22516 ($(objpfx)pldd): Target removed.
22517 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22518 (others, install-bin): Append pldd here.
22519 ($(objpfx)pldd): New target.
22520
22521 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22522 to 0, so the first #if test emitted later doesn't see it undefined.
22523 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22524 * sysdeps/gnu/errlist.c: Regenerated.
22525
22526 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22527
22528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22529 [libc_hidden_builtin_def]: Define to empty value.
22530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22531 [libc_hidden_builtin_def]: Likewise.
22532 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22533 [libc_hidden_builtin_def]: Likewise.
22534 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22535 [libc_hidden_builtin_def]: Likewise.
22536 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22537 __redirect_memcpy and define ifunc as default hidden symbol.
22538 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22539 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22540
22541 2014-05-04 Adam Conrad <adconrad@0c3.net>
22542
22543 * locale/iso-4217.def: Reintroduce XDR currency.
22544
22545 2014-05-04 Allan McRae <allan@archlinux.org>
22546
22547 * po/eo.po: Update Esperanto translation from translation project.
22548
22549 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22550
22551 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22552 and FEATURE_INDEX_MAX to 1.
22553 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22554
22555 2014-05-01 Steve Ellcey <sellcey@mips.com>
22556
22557 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22558 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22559 * iconvdata/big5.c (ONE_DIRECTION): Define.
22560 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22561 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22562 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22563 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22564 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22565 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22566 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22567 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22568 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22569 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22570 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22571 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22572 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22573 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22574 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22575 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22576 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22577 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22578 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22579 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22580 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22581 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22582 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22583 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22584 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22585 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22586 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22587 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22588 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22589 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22590 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22591 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22592 * iconvdata/johab.c (ONE_DIRECTION): Define.
22593 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22594 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22595 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22596 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22597 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22598 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22599 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22600 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22601 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22602 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22603
22604 2014-05-01 Roland McGrath <roland@hack.frob.com>
22605
22606 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22607 (_IO_JUMPS_OFFSET): Define to 0.
22608
22609 * nptl/sysdeps/pthread/bits/libc-lock.h
22610 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22611 (__libc_lock_define_initialized_recursive): Always define using
22612 initializer. Modern compilers treat uninitialized (implicit zero) and
22613 explicit zero initializers the same (i.e. put the datum in bss).
22614
22615 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22616
22617 * nscd/nscd-client.h: Include <string.h>.
22618
22619 2014-05-01 David S. Miller <davem@davemloft.net>
22620
22621 [BZ #16885]
22622 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22623 multiple zero bytes exist at the end of a string.
22624 Reported by Aurelien Jarno <aurelien@aurel32.net>
22625
22626 * string/test-strcmp.c (check): Add explicit test for situations where
22627 there are multiple zero bytes after the first.
22628
22629 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22630
22631 [BZ #16890]
22632 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22633 when compiling wprintf.
22634 * stdio-common/tstdiomisc.c (t3): New function.
22635 (main): Call it.
22636
22637 2014-05-01 Steve Ellcey <sellcey@mips.com>
22638
22639 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22640 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22641 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22642 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22643
22644 2014-05-01 Steve Ellcey <sellcey@mips.com>
22645
22646 * stdlib/longlong.h: Updated from GCC.
22647
22648 2014-05-01 Will Newton <will.newton@linaro.org>
22649 Bernard Ogden <bernie.ogden@linaro.org>
22650
22651 * NEWS: Update fixed bug list.
22652
22653 [BZ #15119]
22654 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22655
22656 2014-04-30 David S. Miller <davem@davemloft.net>
22657
22658 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22659 (libc_feholdexcept_setround_sparc_ctx): New function.
22660 (libc_fesetenv_sparc_ctx): Likewise.
22661 (libc_feupdateenv_sparc_ctx): Likewise.
22662 (libc_feholdsetround_sparc_ctx): Likewise.
22663 (libc_feholdexcept_setround_ctx): Define.
22664 (libc_feholdexcept_setroundf_ctx): Likewise.
22665 (libc_feholdexcept_setroundl_ctx): Likewise.
22666 (libc_fesetenv_ctx): Likewise.
22667 (libc_fesetenvf_ctx): Likewise.
22668 (libc_fesetenvl_ctx): Likewise.
22669 (libc_feupdateenv_ctx): Likewise.
22670 (libc_feupdateenvf_ctx): Likewise.
22671 (libc_feupdateenvl_ctx): Likewise.
22672 (libc_feresetround_ctx): Likewise.
22673 (libc_feresetroundf_ctx): Likewise.
22674 (libc_feresetroundl_ctx): Likewise.
22675 (libc_feholdsetround_ctx): Likewise.
22676 (libc_feholdsetroundf_ctx): Likewise.
22677 (libc_feholdsetroundl_ctx): Likewise.
22678
22679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22680 with __USE_GNU instead of XOPEN cpp guards.
22681
22682 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22683 0.
22684
22685 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22686 with XOPEN cpp guards.
22687
22688 2014-04-30 Julian Brown <julian@codesourcery.com>
22689
22690 [BZ #16888]
22691 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22692 handling.
22693
22694 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22695
22696 [BZ #9894]
22697 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22698 Change to 2.6.32.
22699 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22700 * sysdeps/unix/sysv/linux/configure: Regenerated.
22701 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22702 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22703 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22704 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22705 * README: Update reference to required Linux kernel version.
22706 * manual/install.texi (Linux): Update reference to required Linux
22707 kernel headers version.
22708 * INSTALL: Regenerated.
22709
22710 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22711 header inclusion.
22712 [POSIX] (limits.h): Likewise.
22713 [POSIX] (math.h): Likewise.
22714 [POSIX] (sys/wait.h): Likewise.
22715 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22716 function.
22717 [POSIX] (stddef.h): Do not allow header inclusion.
22718
22719 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22720
22721 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22722
22723 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22724
22725 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22726 Return immediately after lll_futex_wake.
22727
22728 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22729
22730 [BZ #16791]
22731 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22732 structure.
22733 (datahead_init_pos): Call datahead_init_common early.
22734 (datahead_init_neg): Likewise.
22735
22736 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22737 datahead_init_neg): New functions.
22738 * nscd/aicache.c (addhstaiX): Use them.
22739 * nscd/grpcache.c (cache_addgr): Likewise.
22740 * nscd/hstcache.c (cache_addhst): Likewise.
22741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22742 * nscd/netgroupcache.c (do_notfound): Likewise.
22743 (addgetnetgrentX): Likewise.
22744 (addinnetgrX): Likewise.
22745 * nscd/pwdcache.c (cache_addpw): Likewise.
22746 * nscd/servicescache.c (cache_addserv): Likewise.
22747
22748 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22749 Atsushi Onoe <atsushi@onoe.org>
22750
22751 [BZ #14308]
22752 [BZ #12994]
22753 [BZ #13651]
22754 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22755 one response is valid.
22756 * resolv/res_send.c (send_dg): Check for validity of other
22757 response if the current response is a referral.
22758
22759 2014-04-29 Steve Ellcey <sellcey@mips.com>
22760
22761 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22762
22763 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22764
22765 [BZ #16823]
22766 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22767 Always divide by positive zero when computing -Inf result.
22768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22769 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22770
22771 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22772
22773 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22774 FPSCR if value do not change.
22775 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22776 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22777 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22778 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22779 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22780 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22781 function.
22782
22783 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22784
22785 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22786 * sysdeps/unix/sysv/linux/hppa: Move directory from
22787 ports/systeps/unix/sysv/linux/hppa.
22788 * README: Update listing for hppa-*-linux-gnu.
22789
22790 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22791
22792 [BZ #16754]
22793 * manual/stdio.texi (Hook functions): Fix types of stream hook
22794 functions.
22795 [BZ #16854]
22796 * socket/sys/socket.h: Fix typo in comment.
22797
22798 2014-04-28 Wilco <wdijkstr@arm.com>
22799
22800 * sysdeps/arm/fenv_private.h: New file.
22801 * sysdeps/arm/math_private.h: New file.
22802 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22803
22804 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22807 with __int128_t.
22808 (La_x86_64_retval): Likewise.
22809
22810 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22811
22812 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22813 fpsr if value didn't change.
22814 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22815 to fpcr if value didn't change.
22816 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22817 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22818 fpsr or fpcr if value didn't change.
22819 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22820 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22821 fpcr if value didn't change.
22822 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22823 to fpsr if value didn't change.
22824
22825 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22826
22827 * nptl/tst-sem3.c: Use test-skeleton.c
22828 (main): Rename to do_test. Use return instead of
22829 exit.
22830 * nptl/tst-sem4.c: Use test-skeleton.c
22831 (main): Rename to do_test.
22832
22833 2014-04-22 David S. Miller <davem@davemloft.net>
22834
22835 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22836 (struct sigaction): New struct member __glibc_reserved0, change
22837 type of sa_flags to int.
22838
22839 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22840
22841 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22842 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22843
22844 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22845
22846 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22847 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22848
22849 2014-04-22 Will Newton <will.newton@linaro.org>
22850 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22851
22852 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22853 (__longjmp): Add longjmp and longjmp_target SystemTap
22854 probes.
22855 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22856 (__sigsetjmp): Add setjmp SystemTap probe.
22857
22858 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22859
22860 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22861 match manual order.
22862
22863 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22864
22865 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22866
22867 * sysdeps/powerpc/fpu/fenv_private.h
22868 (libc_feholdexcept_setroundl_ctx): Define to
22869 libc_feholdexcept_setround_ppc_ctx.
22870 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22871 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22872 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22873 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22874
22875 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22876
22877 * sysdeps/aarch64/math-tests.h: New file.
22878
22879 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22880
22881 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22882 New.
22883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22884 Check and set bit_AVX2_Usable.
22885 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22886 macro.
22887 (bit_AVX2): Likewise.
22888 (index_AVX2_Usable): Likewise.
22889 (CPUID_AVX2): Likewise.
22890 (HAS_AVX2): Likewise.
22891
22892 2014-04-17 Will Newton <will.newton@linaro.org>
22893
22894 * manual/setjmp.texi (System V contexts): Add note that
22895 calling setcontext on a context created by a call to a
22896 signal handler is undefined. Update text to note that
22897 setcontext from a signal handler is possible but not
22898 recommended.
22899
22900 [BZ #16629]
22901 * stdlib/tst-setcontext.c: Include signal.h.
22902 (main): Check that the signal stack before and
22903 after swapcontext is the same.
22904
22905 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22906 Re-implement to restore registers in user code and avoid
22907 rt_sigreturn system call.
22908
22909 2014-04-17 Wilco <wdijkstr@arm.com>
22910
22911 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22912 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22913 * math/test-fenv.c: Skip exception trap tests on targets which only
22914 support non-stop mode.
22915
22916 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22917 Wilco Dijkstra <wilco.dijkstra@arm.com>
22918
22919 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22920 (libc_feholdsetround_aarch64_ctx)
22921 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22922 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22923 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22924 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22925 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22926 (libc_feresetround_noexl_ctx): Define.
22927
22928 2014-04-16 Richard Henderson <rth@redhat.com>
22929
22930 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22931
22932 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22933 unwind tables.
22934
22935 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22936 const from the non-libc, non-ldso copy.
22937
22938 * sysdeps/alpha/libm-test-ulps: Regenerate.
22939
22940 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22941 Wilco Dijkstra <wilco.dijkstra@arm.com>
22942
22943 * sysdeps/aarch64/fpu/math_private.h: New file.
22944
22945 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22946
22947 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22948
22949 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22950
22951 [BZ #16275]
22952 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22953 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22955 Intel MPX bound registers before _dl_profile_fixup.
22956 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22957 registers after _dl_profile_fixup. Save and restore bound
22958 registers bnd0/bnd1 when calling _dl_call_pltexit.
22959 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22960 (LR_BND_OFFSET): Likewise.
22961 (LRV_BND0_OFFSET): Likewise.
22962 (LRV_BND1_OFFSET): Likewise.
22963
22964 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22965
22966 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22967 to...
22968 * sysdeps/mach/hurd/i386/tls.h: ... here.
22969 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22970 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22971 fields.
22972
22973 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22974
22975 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22976
22977 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22978
22979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22980
22981 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22982
22983 [BZ #14770]
22984 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22985 * sysdeps/s390/configure: Regenerate.
22986
22987 [BZ #16824]
22988 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22989 Set round-to-nearest internally to reduce error accumulation.
22990
22991 2014-04-16 Alan Modra <amodra@gmail.com>
22992
22993 [BZ #16740]
22994 [BZ #16619]
22995 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22996 * math/libm-test.inc (frexp_test_data): Add tests.
22997 * NEWS: Update fixed bug list.
22998
22999 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23000
23001 * benchtests/Makefile: Depend on libraries in build directory.
23002 (bench-math): Separate out math tests.
23003 (bench-pthread): Separate out pthread tests.
23004 (bench): Include math and pthread tests.
23005
23006 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23007
23008 [BZ #16831]
23009 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23010 _dl_debug_initialize.
23011
23012 * configure.ac: Remove SELinux header check.
23013 * configure: Regenerate.
23014 * nscd/selinux.c (perms): Array of const char* to permission names.
23015 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23016 default policy. Call string_to_security_class and string_to_av_perm to
23017 translate strings. Enforce default policy and call avs_has_perm with
23018 results of translated strings.
23019
23020 2014-04-13 David S. Miller <davem@davemloft.net>
23021
23022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23023
23024 2014-04-12 Allan McRae <allan@archlinux.org>
23025
23026 [BZ #16838]
23027 * manual/string.texi (Collation Functions): Fix qsort argument
23028 order in example.
23029 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23030
23031 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23032
23033 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23034 Make the test a no-op if there are no exceptions defined.
23035
23036 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23037
23038 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23039 enable-hardcoded-path-in-tests
23040
23041 2014-04-11 Will Newton <will.newton@linaro.org>
23042
23043 * benchtests/Makefile (extra-objs): Add json-lib.o.
23044 (bench-func): Tidy up JSON output.
23045 * benchtests/bench-skeleton.c: Include json-lib.h.
23046 (main): Use JSON library functions to do output of
23047 benchmark results.
23048 * benchtests/bench-timing-type.c (main): Output the
23049 timing type simply, leaving formatting to the user.
23050 * benchtests/json-lib.c: New file.
23051 * benchtests/json-lib.h: Likewise.
23052
23053 2014-04-11 Torvald Riegel <triegel@redhat.com>
23054
23055 [BZ #15215]
23056 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23057 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23058 memory barriers. Add comments.
23059 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23060 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23061 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23062 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23063 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23064 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23065
23066 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23067
23068 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23069 * sysdeps/s390/s390-64/configure.ac: ... this ...
23070 * sysdeps/s390/configure.ac: ... to here.
23071 * sysdeps/s390/s390-32/configure: Delete file.
23072 * sysdeps/s390/s390-64/configure: Delete file.
23073 * sysdeps/s390/configure: Regenerate.
23074
23075 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23076
23077 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23078
23079 2014-04-11 Will Newton <will.newton@linaro.org>
23080
23081 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23082 to zero if it is not defined elsewhere. (mtrim): Test
23083 the value of MALLOC_DEBUG with #if rather than #ifdef.
23084
23085 2014-04-10 Torvald Riegel <triegel@redhat.com>
23086
23087 * benchtests/pthread_once-inputs: New file.
23088 * benchtests/pthread_once-source.c: New file.
23089 * benchtests/README: Update documentation.
23090
23091 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23092 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 [BZ #16275]
23095 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23096 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23097 * sysdeps/x86_64/configure: Regenerated.
23098 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23099 macro.
23100 (REGISTER_SAVE_RAX): Likewise.
23101 (REGISTER_SAVE_RCX): Likewise.
23102 (REGISTER_SAVE_RDX): Likewise.
23103 (REGISTER_SAVE_RSI): Likewise.
23104 (REGISTER_SAVE_RDI): Likewise.
23105 (REGISTER_SAVE_R8): Likewise.
23106 (REGISTER_SAVE_R9): Likewise.
23107 (REGISTER_SAVE_BND0): Likewise.
23108 (REGISTER_SAVE_BND1): Likewise.
23109 (REGISTER_SAVE_BND2): Likewise.
23110 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23111 bound registers when calling _dl_fixup.
23112
23113 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114
23115 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23116 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23117 of its definition.
23118 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23119 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23120 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23121 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23122 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23123 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23124 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23125
23126 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23127
23128 [BZ #15514]
23129 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23130 pathconf(_PC_NAME_MAX).
23131
23132 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23133
23134 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23135 Remove macro usage.
23136 (__PTHREAD_SPINS): Move definition to ...
23137 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23138 (__PTHREAD_SPINS): ... here.
23139 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23140 (__PTHREAD_SPIN): Likewise.
23141 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23142 (__PTHREAD_SPIN): Likewise.
23143 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23144 (__PTHREAD_SPIN): Likewise.
23145 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23146 (__PTHREAD_SPIN): Likewise.
23147 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23148 (__PTHREAD_SPIN): Likewise.
23149 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23150 (__PTHREAD_SPIN): Likewise.
23151 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23152 (__PTHREAD_SPIN): Likewise.
23153 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23154 (__PTHREAD_SPIN): Likewise.
23155 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23156 (__PTHREAD_SPIN): Likewise.
23157 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23158 (__PTHREAD_SPIN): Likewise.
23159 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23160 (__PTHREAD_SPIN): Likewise.
23161 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23162 (__PTHREAD_SPIN): Likewise.
23163
23164 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23165 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23166 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23167 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23168 imply folder.
23169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23170 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23171 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23172 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23173 correct imply path.
23174 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23175 strlen symbol for non multi-arch builds.
23176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23177 missing hidden_def and weak_alias.
23178
23179 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23180
23181 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23182
23183 2014-04-07 Will Newton <will.newton@linaro.org>
23184
23185 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23186 and contents. [!_LIBC] Remove #ifndef and contents.
23187 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23188 * string/memccpy.c (__memccpy): Use ANSI prototype.
23189 * string/memfrob.c (memfrob): Likewise.
23190 * string/strcoll.c (STRCOLL): Likewise.
23191 * string/strlen.c (strlen): Likewise.
23192 * string/strtok.c (STRTOK): Likewise.
23193 * string/strcat.c: Remove unused #include of memcopy.h.
23194 (strcat): Use ANSI prototype.
23195 * string/strchr.c: Remove unused #include of memcopy.h.
23196 (strchr): Use ANSI prototype.
23197 * string/strcmp.c: Remove unused #include of memcopy.h.
23198 (strcmp): Use ANSI prototype.
23199 * string/strcpy.c: Remove unused #include of memcopy.h.
23200 (strcpy): Use ANSI prototype.
23201
23202 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23203
23204 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23205 * config.make.in (config-extra-cppflags): Set it from
23206 libc_extra_cppflags.
23207 * configure.ac (libc_extra_cflags): Make it accumulate over
23208 configure fragments.
23209 (libc_extra_cppflags): New flag.
23210 * configure. Regenerate.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23212 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23213 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23215
23216 [BZ #16815]
23217 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23218 result for FE_DOWNWARD rounding mode.
23219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23220 Likewise.
23221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23222
23223 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23224
23225 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23226 in function argument name.
23227
23228 2014-04-03 David Svoboda <svoboda@cert.org>
23229
23230 [BZ #5666]
23231 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23232 explicitly.
23233
23234 2014-04-03 Roland McGrath <roland@hack.frob.com>
23235
23236 * elf/dl-unmap-segments.h: New file.
23237 * sysdeps/generic/ldsodefs.h
23238 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23239 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23240 * elf/dl-fptr.c: Likewise.
23241 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23242 * sysdeps/aarch64/tlsdesc.c: Likewise.
23243 * sysdeps/arm/tlsdesc.c: Likewise.
23244 * sysdeps/i386/tlsdesc.c: Likewise.
23245 * sysdeps/tile/dl-runtime.c: Likewise.
23246 * sysdeps/x86_64/tlsdesc.c: Likewise.
23247 * elf/dl-load.h: New file.
23248 * elf/dl-load.c: Include it.
23249 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23250 Macros moved to dl-load.h.
23251 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23252 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23253 Use _dl_unmap_segments in place of __munmap.
23254 Break out segment-mapping loop into ...
23255 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23256
23257 2014-04-03 Will Newton <will.newton@linaro.org>
23258
23259 * elf/dl-lookup.c (do_lookup_x): Remove comment
23260 referring to nested function and move variable
23261 declarations down to before first use.
23262
23263 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23264
23265 [BZ #16799]
23266 [BZ #16800]
23267 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23268 with 0 numerator.
23269 * math/s_catanf.c (__catanf): Likewise.
23270 * math/s_catanh.c (__catanh): Likewise.
23271 * math/s_catanhf.c (__catanhf): Likewise.
23272 * math/s_catanhl.c (__catanhl): Likewise.
23273 * math/s_catanl.c (__catanl): Likewise.
23274 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23275 by positive zero when computing -Inf result.
23276 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23277 (catanh_test): Likewise.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280
23281 [BZ #16789]
23282 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23283 instead of using underflowing value in computing result.
23284 * math/s_clog10.c (__clog10): Likewise.
23285 * math/s_clog10f.c (__clog10f): Likewise.
23286 * math/s_clog10l.c (__clog10l): Likewise.
23287 * math/s_clogf.c (__clogf): Likewise.
23288 * math/s_clogl.c (__clogl): Likewise.
23289 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23290 (clog10_test): Likewise.
23291 * sysdeps/i386/fpu/libm-test-ulps: Update.
23292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23293
23294 2014-04-02 Alan Modra <amodra@gmail.com>
23295
23296 [BZ #16739]
23297 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23298 output when value is near a power of two. Use int64_t for lx and
23299 remove casts. Use decimal rather than hex exponent constants.
23300 Don't use long double multiplication when double will suffice.
23301 * math/libm-test.inc (nextafter_test_data): Add tests.
23302 * NEWS: Add 16739 and 16786 to bug list.
23303
23304 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23305
23306 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23307
23308 2014-04-01 Will Newton <will.newton@linaro.org>
23309
23310 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23311 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23312
23313 2014-04-01 Florian Weimer <fweimer@redhat.com>
23314
23315 [BZ #13347]
23316 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23317 * nptl/tst-setuid2.c: New file.
23318 * nptl/Makefile (xtests): Add tst-setuid2.
23319
23320 2014-04-01 Alan Modra <amodra@gmail.com>
23321
23322 [BZ #16786]
23323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23324
23325 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23326
23327 [BZ #6803]
23328 [BZ #6804]
23329 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23330 set errno as appropriate.
23331 * math/w_scalbf.c (__scalbf): Likewise.
23332 * math/w_scalbl.c (__scalbl): Likewise.
23333 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23334 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23335 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23336 Add more NaN tests.
23337
23338 [BZ #16349]
23339 * math/w_atan2.c: Include <errno.h>.
23340 (__atan2): Set errno for result underflowing to zero.
23341 * math/w_atan2f.c: Include <errno.h>.
23342 (__atan2f): Set errno for result underflowing to zero.
23343 * math/w_atan2l.c: Include <errno.h>.
23344 (__atan2l): Set errno for result underflowing to zero.
23345 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23346 tests.
23347 * math/auto-libm-test-out: Regenerated.
23348
23349 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23350
23351 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23352 Encode instruction correctly in little endian.
23353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23354 Likewise.
23355 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23356 Likewise.
23357 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23358 Likewise.
23359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23360 Likewise.
23361
23362 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23363
23364 [BZ #9894]
23365 * sysdeps/unix/sysv/linux/kernel-features.h
23366 [__sparc__ && !__arch64__ && !__sparc_v9__]
23367 (__ASSUME_SET_ROBUST_LIST): Do not define.
23368 [__sparc__ && !__arch64__ && !__sparc_v9__]
23369 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23370 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23371 Likewise.
23372 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23373 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23374 (__ASSUME_REQUEUE_PI): Likewise.
23375 (__ASSUME_SET_ROBUST_LIST): Likewise.
23376 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23377 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23378 Undefine.
23379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23380 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23381 Likewise.
23382 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23383 Likewise.
23384 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23385 Likewise.
23386 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23387 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23388 Undefine.
23389 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23390 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23391 Likewise.
23392
23393 [BZ #16648]
23394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23395 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23396 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23397
23398 2014-03-31 Will Newton <will.newton@linaro.org>
23399
23400 * benchtests/Makefile (bench): Add ffs and ffsll to list
23401 of tests.
23402 * benchtests/ffs-inputs: New file.
23403 * benchtests/ffsll-inputs: Likewise.
23404
23405 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23406
23407 [BZ #16770]
23408 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23409 too large before casting to int.
23410 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23411 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23412 * math/libm-test.inc (scalb_test_data): Add more tests.
23413
23414 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23415
23416 * benchtests/Makefile (DETAILED_OPT): New make option.
23417 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23418 set.
23419 * benchtests/bench-skeleton.c: Include stdbool.h.
23420 (main): Store and print timings per input.
23421 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23422 member to each argument value.
23423 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23424 (_print_arg_data): Initialize per-input timing to 0.
23425
23426 * benchtests/Makefile (timing-type): New binary.
23427 (bench-clean): Also remove bench-timing-type.
23428 (bench): New target for timing-type.
23429 (bench-func): Print output in JSON format.
23430 * benchtests/bench-skeleton.c (main): Print output in JSON
23431 format.
23432 * benchtests/bench-timing-type.c: New file.
23433 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23434 (TIMING_PRINT_STATS): Remove.
23435 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23436 name separately.
23437
23438 * benchtests/bench-modf.c: Remove.
23439 * benchtests/modf-inputs: New inputs file.
23440
23441 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23442
23443 [BZ #16362]
23444 * math/s_clog10.c (M_PI_LOG10E): New macro.
23445 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23446 imaginary parts are 0.
23447 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23448 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23449 imaginary parts are 0.
23450 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23451 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23452 imaginary parts are 0.
23453 * math/libm-test.inc (clog10_test_data): Update expected results
23454 for when real and imaginary parts are 0.
23455
23456 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23457
23458 * elf/dl-load.c: Finish conversion of __builtin_expect into
23459 __glibc_{un}likely.
23460
23461 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23462
23463 [BZ #16348]
23464 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23465 1+x for argument with exponent below -67.
23466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23467 Likewise.
23468 * math/auto-libm-test-in: Add more tests of exp.
23469 * math/auto-libm-test-out: Regenerated.
23470
23471 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23472
23473 [BZ #16759]
23474 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23475 (nscd_getnetgrent): Use it.
23476
23477 [BZ #16760]
23478 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23479 of stpcpy.
23480
23481 2014-03-27 Andi Kleen <ak@linux.intel.com>
23482
23483 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23484 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23485 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23486 (lll_robust_unlock): Remove out of line section. Use cfi
23487 intrinsics.
23488 (LLL_STUB_UNWIND_INFO*): Remove.
23489 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23490 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23491 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23492 (lll_robust_unlock): Remove out of line section. Use cfi
23493 intrinsics.
23494 (LLL_STUB_UNWIND_INFO*): Remove.
23495
23496 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23497
23498 [BZ #16758]
23499 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23500 blank values.
23501
23502 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23503
23504 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23505
23506 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23507
23508 [BZ #16198]
23509 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23510 fnstenv.
23511 * math/test-fenv-preserve.c: New file.
23512 * math/Makefile (tests): Add test-fenv-preserve.
23513
23514 2014-03-26 Will Newton <will.newton@linaro.org>
23515
23516 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23517
23518 2014-03-25 Roland McGrath <roland@hack.frob.com>
23519
23520 * scripts/versionlist.awk: Partition the version sets and emit all
23521 GLIBC_* (sorted) before all others (sorted).
23522
23523 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23524
23525 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23526 GLIBC_2.2.5 version.
23527
23528 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23529
23530 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23531 calls.
23532
23533 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23534 previous change.
23535
23536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23537
23538 2014-03-25 Andreas Schwab <schwab@suse.de>
23539
23540 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23541 label to be used after in6ailist is initialized.
23542
23543 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23544
23545 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23546 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23547
23548 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23549
23550 [BZ #16357]
23551 [BZ #16599]
23552 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23553 min_plus_half.
23554 (fp_formats): Update initializers.
23555 (init_fp_formats): Initialize new field.
23556 (output_for_one_input_case): Allow underflow for results up to
23557 min_plus_half.
23558 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23559 * math/auto-libm-test-in: Don't mark some underflows from asin and
23560 atanh as spurious.
23561 * math/auto-libm-test-out: Regenerated.
23562 * sysdeps/i386/fpu/libm-test-ulps: Update.
23563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23564
23565 2014-03-25 Andreas Schwab <schwab@suse.de>
23566
23567 * libio/Makefile (tst-ftell-partial-wide-ENV)
23568 (tst-ftell-active-handler-ENV): Define.
23569
23570 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23571
23572 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23573
23574 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23575
23576 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23577
23578 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23579
23580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23581 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23582 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23583
23584 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23585
23586 [BZ #16634]
23587 * elf/dl-load.c (open_verify): Add mode parameter.
23588 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23589 (open_path): Change from boolean 'secure' to complete flag 'mode'
23590 (_dl_map_object): Adjust.
23591 * elf/Makefile (tests): Add tst-dlopen-aout.
23592 * elf/tst-dlopen-aout.c: New test.
23593
23594 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23595
23596 [BZ #16714]
23597 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23598 (struct stat): Rename member pad0 to __glibc_reserved0.
23599
23600 [BZ #16712]
23601 * sysdeps/s390/s390-32/bits/wordsize.h
23602 (__WORDSIZE32_SIZE_ULONG): New define.
23603 * sysdeps/s390/s390-64/bits/wordsize.h
23604 (__WORDSIZE32_SIZE_ULONG): Likewise.
23605 * sysdeps/generic/stdint.h (SIZE_MAX):
23606 Define as UL if __WORDSIZE32_SIZE_ULONG.
23607
23608 [BZ #16713]
23609 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23610 (__glibc_reserved0): New variable.
23611 (sa_flags): Change type to int.
23612
23613 * posix/Makefile (before-compile): Use += before-compile instead
23614 of a :=.
23615
23616 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23617 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23618
23619 2014-03-20 Andreas Schwab <schwab@suse.de>
23620
23621 [BZ #16743]
23622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23623 non-matching result from nscd.
23624
23625 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23626
23627 * scripts/bench.py: Moved to ...
23628 * benchtests/scripts/bench.py: ... here.
23629 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23630
23631 2014-03-24 Andreas Schwab <schwab@suse.de>
23632
23633 [BZ #16002]
23634 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23635 alloca_account and account alloca use for struct in6ailist.
23636
23637 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23638
23639 [BZ #16284]
23640 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23641 rounding mode to recompute results that overflow to infinity or
23642 underflow to zero.
23643 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23644 bug 16284.
23645 * math/auto-libm-test-out: Regenerated.
23646 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23647 (ccosh_test): Likewise.
23648 (csin_test_data): Use plus_oflow.
23649 (csin_test): Use ALL_RM_TEST.
23650 (csinh_test_data): Use plus_oflow.
23651 (csinh_test): Use ALL_RM_TEST.
23652 * sysdeps/i386/fpu/libm-test-ulps: Update.
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23654
23655 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23656
23657 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23658 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23659 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23660
23661 [BZ #16731]
23662 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23663 when x - 1 is zero.
23664 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23665 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23666 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23668 argument is 1.
23669 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23670 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23671 zero.
23672 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23673 * sysdeps/i386/fpu/libm-test-ulps: Update.
23674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23675
23676 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23677
23678 * scripts/bench.pl: Remove file.
23679 * scripts/bench.py: New benchmark script.
23680 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23681 * benchtests/README: Mention python dependency.
23682 * scripts/pylintrc: New file.
23683 * scripts/pylint: New file.
23684
23685 * bits/mathdef.h: Use #ifdef instead of #if.
23686 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23687 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23688 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23689 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23690 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23691 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23692
23693 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23694 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23695
23696 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23698 and strpbrk-ppc64 objects.
23699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23700 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23701 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23702 multiarch strpbrk for POWER7.
23703 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23704 multiarch strpbrk for PPC64.
23705 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23706 ifunc selector.
23707 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23708 strpbrk for POWER7.
23709
23710 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23711
23712 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23713 (atan_test): Likewise.
23714 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23715 (atanh_test): Use ALL_RM_TEST.
23716 (atan2_test_data): Likewise.
23717 (cabs_test): Likewise.
23718 (cacosh_test): Likewise.
23719 (carg_test): Likewise.
23720 (casin_test): Likewise.
23721 (casinh_test): Likewise.
23722 (cbrt_test): Likewise.
23723 (csqrt_test): Likewise.
23724 (erf_test): Likewise.
23725 (erfc_test): Likewise.
23726 (pow10_test): Likewise.
23727 (exp2_test): Likewise.
23728 (hypot_test): Likewise.
23729 (j0_test): Likewise.
23730 (j1_test): Likewise.
23731 (lgamma_test): Likewise.
23732 (gamma_test): Likewise.
23733 (sincos_test): Likewise.
23734 (tanh_test): Likewise.
23735 (y0_test): Likewise.
23736 (y1_test): Likewise.
23737 * sysdeps/i386/fpu/libm-test-ulps: Update.
23738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23739
23740 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23741
23742 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23744 and strcspn-ppc64 objects.
23745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23746 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23747 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23748 multiarch strcspn for POWER7.
23749 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23750 multiarch strcspn for PPC64.
23751 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23752 ifunc selector.
23753 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23754 strcspn for POWER7.
23755
23756 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23757
23758 * math/gen-libm-test.pl (generate_testfile): Expect only function
23759 name as argument to AUTO_TESTS_* and pass results for all rounding
23760 modes to parse_args.
23761 (parse_auto_input): Separate inputs of automatic tests from
23762 outputs before storing in %auto_tests.
23763 * math/libm-test.inc (acos_test_data): Update call to
23764 AUTO_TESTS_f_f.
23765 (acos_test): Use ALL_RM_TEST.
23766 (acos_tonearest_test_data): Remove.
23767 (acos_test_tonearest): Likewise.
23768 (acos_towardzero_test_data): Likewise.
23769 (acos_test_towardzero): Likewise.
23770 (acos_downward_test_data): Likewise.
23771 (acos_test_downward): Likewise.
23772 (acos_upward_test_data): Likewise.
23773 (acos_test_upward): Likewise.
23774 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23775 (asin_test_data): Likewise.
23776 (asin_test): Use ALL_RM_TEST.
23777 (asin_tonearest_test_data): Remove.
23778 (asin_test_tonearest): Likewise.
23779 (asin_towardzero_test_data): Likewise.
23780 (asin_test_towardzero): Likewise.
23781 (asin_downward_test_data): Likewise.
23782 (asin_test_downward): Likewise.
23783 (asin_upward_test_data): Likewise.
23784 (asin_test_upward): Likewise.
23785 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23786 (atan_test_data): Likewise.
23787 (atanh_test_data): Likewise.
23788 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23789 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23790 (carg_test_data): Likewise.
23791 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23792 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23793 (ccosh_test_data): Likewise.
23794 (cexp_test_data): Likewise.
23795 (clog_test_data): Likewise.
23796 (clog10_test_data): Likewise.
23797 (cos_test_data): Update call to AUTO_TESTS_f_f.
23798 (cos_test): Use ALL_RM_TEST.
23799 (cos_tonearest_test_data): Remove.
23800 (cos_test_tonearest): Likewise.
23801 (cos_towardzero_test_data): Likewise.
23802 (cos_test_towardzero): Likewise.
23803 (cos_downward_test_data): Likewise.
23804 (cos_test_downward): Likewise.
23805 (cos_upward_test_data): Likewise.
23806 (cos_test_upward): Likewise.
23807 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23808 (cosh_test): Use ALL_RM_TEST.
23809 (cosh_tonearest_test_data): Remove.
23810 (cosh_test_tonearest): Likewise.
23811 (cosh_towardzero_test_data): Likewise.
23812 (cosh_test_towardzero): Likewise.
23813 (cosh_downward_test_data): Likewise.
23814 (cosh_test_downward): Likewise.
23815 (cosh_upward_test_data): Likewise.
23816 (cosh_test_upward): Likewise.
23817 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23818 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23819 (ctan_test_data): Likewise.
23820 (ctan_test): Use ALL_RM_TEST.
23821 (ctan_tonearest_test_data): Remove.
23822 (ctan_test_tonearest): Likewise.
23823 (ctan_towardzero_test_data): Likewise.
23824 (ctan_test_towardzero): Likewise.
23825 (ctan_downward_test_data): Likewise.
23826 (ctan_test_downward): Likewise.
23827 (ctan_upward_test_data): Likewise.
23828 (ctan_test_upward): Likewise.
23829 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23830 (ctanh_test): Use ALL_RM_TEST.
23831 (ctanh_tonearest_test_data): Remove.
23832 (ctanh_test_tonearest): Likewise.
23833 (ctanh_towardzero_test_data): Likewise.
23834 (ctanh_test_towardzero): Likewise.
23835 (ctanh_downward_test_data): Likewise.
23836 (ctanh_test_downward): Likewise.
23837 (ctanh_upward_test_data): Likewise.
23838 (ctanh_test_upward): Likewise.
23839 (erf_test_data): Update call to AUTO_TESTS_f_f.
23840 (erfc_test_data): Likewise.
23841 (exp_test_data): Likewise.
23842 (exp_test): Use ALL_RM_TEST.
23843 (exp_tonearest_test_data): Remove.
23844 (exp_test_tonearest): Likewise.
23845 (exp_towardzero_test_data): Likewise.
23846 (exp_test_towardzero): Likewise.
23847 (exp_downward_test_data): Likewise.
23848 (exp_test_downward): Likewise.
23849 (exp_upward_test_data): Likewise.
23850 (exp_test_upward): Likewise.
23851 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23852 (exp10_test): Use ALL_RM_TEST.
23853 (exp10_tonearest_test_data): Remove.
23854 (exp10_test_tonearest): Likewise.
23855 (exp10_towardzero_test_data): Likewise.
23856 (exp10_test_towardzero): Likewise.
23857 (exp10_downward_test_data): Likewise.
23858 (exp10_test_downward): Likewise.
23859 (exp10_upward_test_data): Likewise.
23860 (exp10_test_upward): Likewise.
23861 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23862 (expm1_test_data): Likewise.
23863 (expm1_test): Use ALL_RM_TEST.
23864 (expm1_tonearest_test_data): Remove.
23865 (expm1_test_tonearest): Likewise.
23866 (expm1_towardzero_test_data): Likewise.
23867 (expm1_test_towardzero): Likewise.
23868 (expm1_downward_test_data): Likewise.
23869 (expm1_test_downward): Likewise.
23870 (expm1_upward_test_data): Likewise.
23871 (expm1_test_upward): Likewise.
23872 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23873 (fma_test): Use ALL_RM_TEST.
23874 (fma_towardzero_test_data): Remove.
23875 (fma_test_towardzero): Likewise.
23876 (fma_downward_test_data): Likewise.
23877 (fma_test_downward): Likewise.
23878 (fma_upward_test_data): Likewise.
23879 (fma_test_upward): Likewise.
23880 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23881 (j0_test_data): Update call to AUTO_TESTS_f_f.
23882 (j1_test_data): Likewise.
23883 (jn_test_data): Update call to AUTO_TESTS_if_f.
23884 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23885 (log_test_data): Update call to AUTO_TESTS_f_f.
23886 (log10_test_data): Likewise.
23887 (log1p_test_data): Likewise.
23888 (log2_test_data): Likewise.
23889 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23890 (pow_tonearest_test_data): Likewise.
23891 (sin_test_data): Update call to AUTO_TESTS_f_f.
23892 (sin_test): Use ALL_RM_TEST.
23893 (sin_tonearest_test_data): Remove.
23894 (sin_test_tonearest): Likewise.
23895 (sin_towardzero_test_data): Likewise.
23896 (sin_test_towardzero): Likewise.
23897 (sin_downward_test_data): Likewise.
23898 (sin_test_downward): Likewise.
23899 (sin_upward_test_data): Likewise.
23900 (sin_test_upward): Likewise.
23901 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23902 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23903 (sinh_test): Use ALL_RM_TEST.
23904 (sinh_tonearest_test_data): Remove.
23905 (sinh_test_tonearest): Likewise.
23906 (sinh_towardzero_test_data): Likewise.
23907 (sinh_test_towardzero): Likewise.
23908 (sinh_downward_test_data): Likewise.
23909 (sinh_test_downward): Likewise.
23910 (sinh_upward_test_data): Likewise.
23911 (sinh_test_upward): Likewise.
23912 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23913 (sqrt_test): Use ALL_RM_TEST.
23914 (sqrt_tonearest_test_data): Remove.
23915 (sqrt_test_tonearest): Likewise.
23916 (sqrt_towardzero_test_data): Likewise.
23917 (sqrt_test_towardzero): Likewise.
23918 (sqrt_downward_test_data): Likewise.
23919 (sqrt_test_downward): Likewise.
23920 (sqrt_upward_test_data): Likewise.
23921 (sqrt_test_upward): Likewise.
23922 (tan_test_data): Update call to AUTO_TESTS_f_f.
23923 (tan_test): Use ALL_RM_TEST.
23924 (tan_tonearest_test_data): Remove.
23925 (tan_test_tonearest): Likewise.
23926 (tan_towardzero_test_data): Likewise.
23927 (tan_test_towardzero): Likewise.
23928 (tan_downward_test_data): Likewise.
23929 (tan_test_downward): Likewise.
23930 (tan_upward_test_data): Likewise.
23931 (tan_test_upward): Likewise.
23932 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23933 (tgamma_test_data): Likewise.
23934 (y0_test_data): Likewise.
23935 (y1_test_data): Likewise.
23936 (yn_test_data): Update call to AUTO_TESTS_if_f.
23937 (main): Do not call removed functions.
23938
23939 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23940
23941 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23942 (ldexp_test_data): Remove.
23943 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23944 scalbn_test_data.
23945 (scalb_test): Use ALL_RM_TEST.
23946
23947 2014-03-19 Andreas Schwab <schwab@suse.de>
23948
23949 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23950
23951 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23952
23953 [BZ #16649]
23954 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23956 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23958 (__ASSUME_PREADV): Undefine.
23959 (__ASSUME_PWRITEV): Likewise.
23960
23961 2014-03-18 Roland McGrath <roland@hack.frob.com>
23962
23963 * bits/mman-linux.h: Add comment about non-Linux use.
23964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23965 bits/mman-linux.h resting place.
23966
23967 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23968 * bits/mman-linux.h: ... here.
23969
23970 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23971
23972 * conform/conformtest.pl: Add standard definition when calling C
23973 preprocessor on data files.
23974 (checknamespace): Remove unused variable.
23975
23976 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23977
23978 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23979 minus_oflow, plus_uflow and minus_uflow in expected results.
23980 * math/libm-test.inc (scalbn_test_data): Add more tests of
23981 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23982 minus_uflow.
23983 (scalbn_test): Use ALL_RM_TEST.
23984 (scalbln_test_data): Add more tests of negative arguments. Use
23985 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23986 (scalbln_test): Use ALL_RM_TEST.
23987
23988 2014-03-18 Roland McGrath <roland@hack.frob.com>
23989
23990 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23991
23992 2014-03-18 Will Newton <will.newton@linaro.org>
23993
23994 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23995 inaccurate comment.
23996
23997 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23998
23999 * Makerules [!subdir] (check-abi): Exit with error status if a
24000 test failed.
24001
24002 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24003
24004 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24005 for rint. Include results for all rounding modes.
24006 (nearbyint_test): Use ALL_RM_TEST.
24007 (rint_test_data): Include all tests used for nearbyint.
24008
24009 2014-03-17 Will Newton <will.newton@linaro.org>
24010
24011 * nptl/sysdeps/pthread/pthread.h: Revert previous
24012 change.
24013
24014 * sysdeps/generic/ldsodefs.h: Revert previous
24015 change.
24016
24017 * libio/genops.c: Revert previous change.
24018 * libio/libioP.h: Likewise.
24019 * stdio-common/vfprintf.c: Likewise.
24020
24021 * sysdeps/generic/math_private.h: Revert previous
24022 change.
24023
24024 * sysdeps/generic/math_private.h: Check whether
24025 HAVE_RM_CTX is defined with #ifdef rather
24026 than #if.
24027
24028 * argp/argp-fmtstream.h: Check whether
24029 __STRICT_ANSI__ is defined with #ifdef rather
24030 than #if.
24031 * argp/argp.h: Likewise.
24032
24033 * libio/genops.c: Check whether
24034 _IO_JUMPS_OFFSET is defined with #ifdef rather
24035 than #if.
24036 * libio/libioP.h: Likewise.
24037 * stdio-common/vfprintf.c: Likewise.
24038
24039 * sysdeps/generic/ldsodefs.h: Check whether
24040 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24041 than #if.
24042
24043 * nptl/sysdeps/pthread/pthread.h: Check
24044 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24045 its value.
24046
24047 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24048
24049 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24050 setting O_APPEND.
24051 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24052 test case.
24053
24054 [BZ #16680]
24055 * libio/fileops.c (_IO_file_open): Seek to end of file but
24056 don't cache the offset.
24057 (get_file_offset): Remove function.
24058 (do_ftell): Use cached offset when available.
24059 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24060 don't cache the offset.
24061 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24062 case.
24063 (do_one_test): Call it.
24064 (do_ftell_test): Fix up expected old offset for a+ mode.
24065 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24066 available.
24067
24068 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24069 up test status with function return status.
24070 (do_write_test): Likewise.
24071 (do_append_test): Likewise.
24072
24073 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24074 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24075 Remove.
24076
24077 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24078
24079 * math/gen-libm-test.pl (parse_args): Handle results specified for
24080 each rounding mode separately.
24081 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24082 tests and results from lrint_tonearest_test_data,
24083 lrint_towardzero_test_data, lrint_downward_test_data and
24084 lrint_upward_test_data.
24085 (lrint_test): Use ALL_RM_TEST.
24086 (lrint_tonearest_test_data): Remove.
24087 (lrint_test_tonearest): Likewise.
24088 (lrint_towardzero_test_data): Likewise.
24089 (lrint_test_towardzero): Likewise.
24090 (lrint_downward_test_data): Likewise.
24091 (lrint_test_downward): Likewise.
24092 (lrint_upward_test_data): Likewise.
24093 (lrint_test_upward): Likewise.
24094 (llrint_test_data): Merge in per-rounding-mode tests and results
24095 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24096 llrint_downward_test_data and llrint_upward_test_data.
24097 (llrint_test): Use ALL_RM_TEST.
24098 (llrint_tonearest_test_data): Remove.
24099 (llrint_test_tonearest): Likewise.
24100 (llrint_towardzero_test_data): Likewise.
24101 (llrint_test_towardzero): Likewise.
24102 (llrint_downward_test_data): Likewise.
24103 (llrint_test_downward): Likewise.
24104 (llrint_upward_test_data): Likewise.
24105 (llrint_test_upward): Likewise.
24106 (rint_test_data): Merge in per-rounding-mode tests and results
24107 from rint_tonearest_test_data, rint_towardzero_test_data,
24108 rint_downward_test_data and rint_upward_test_data. Add
24109 per-rounding-mode results for tests not in those arrays.
24110 (rint_test): Use ALL_RM_TEST.
24111 (rint_tonearest_test_data): Remove.
24112 (rint_test_tonearest): Likewise.
24113 (rint_towardzero_test_data): Likewise.
24114 (rint_test_towardzero): Likewise.
24115 (rint_downward_test_data): Likewise.
24116 (rint_test_downward): Likewise.
24117 (rint_upward_test_data): Likewise.
24118 (rint_test_upward): Likewise.
24119 (main): Don't call removed functions.
24120
24121 2014-03-14 Roland McGrath <roland@hack.frob.com>
24122
24123 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24124 "Compiled on ..." crapola. It is anti-useful.
24125
24126 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24127
24128 * scripts/evaluate-test.sh: Handle fourth argument to determine
24129 whether test run should stop on failure.
24130 * Makeconfig (stop-on-test-failure): New variable.
24131 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24132 $(stop-on-test-failure).
24133 * Makefile (tests): Give a summary of results from testing and
24134 exit with failure status if they include an ERROR or FAIL.
24135 (xtests): Likewise.
24136 * manual/install.texi (Configuring and compiling): Mention
24137 stop-on-test-failure=y.
24138 * INSTALL: Regenerated.
24139
24140 2014-03-14 Roland McGrath <roland@hack.frob.com>
24141
24142 * scripts/versionlist.awk: New file.
24143 * Makerules [$(build-shared) = yes]
24144 (postclean-generated): Add Versions.def, not Versions.def.v and
24145 Versions.def.v.i.
24146 ($(common-objpfx)Versions.def.v.i): Target removed.
24147 ($(common-objpfx)Versions.def): New target.
24148 ($(common-objpfx)Versions.all): Depend on that rather that
24149 $(common-objpfx)Versions.def.v.
24150 * Versions.def: File removed.
24151
24152 * Makeconfig (+gccwarn): Add -Wundef.
24153 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24154 a dl-sysdep.h breaking its contract.
24155 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24156 * include/stackinfo.h: New file.
24157 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24158 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24159 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24160 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24161 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24162 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24163 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24164 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24165 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24166 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24167 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24168 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24169 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24170 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24171 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24172
24173 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24174
24175 [BZ #16707]
24176 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24177 implementation.
24178 * math/libm-test.inc (round_test_data): Add more tests.
24179
24180 [BZ #16706]
24181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24182 implementation.
24183 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24184
24185 [BZ #16701]
24186 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24187 implementation.
24188 * math/libm-test.inc (ceil_test_data): Add more tests.
24189
24190 * math/libm-test.inc (trunc_test_data): Add more tests related to
24191 BZ#16414.
24192
24193 2014-03-14 Roland McGrath <roland@hack.frob.com>
24194
24195 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24196 with #if rather than #ifdef.
24197 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24198
24199 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24200
24201 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24202 first. Disable AVX-512 GCC support if assembler doesn't support
24203 it.
24204 * sysdeps/x86_64/configure: Regenerated.
24205
24206 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24207
24208 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24209 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24210 (__old_pthread_attr_setstack): Likewise.
24211 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24212 [!_STACK_GROWS_DOWN]: Likewise.
24213
24214 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24215
24216 * config.make.in (have-bash2): Delete.
24217 * configure.ac (libc_cv_have_bash2): Delete.
24218 * configure: Regenerate.
24219 * elf/Makefile (common-ldd-rewrite): Rename to ...
24220 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24221 (sh-ldd-rewrite): Delete.
24222 (bash-ldd-rewrite): Delete.
24223 (have-bash2): Delete checks.
24224 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24225 ldd-rewrite.
24226
24227 * config.make.in (have-ksh): Delete.
24228 (KSH): Delete.
24229 * configure.ac (libc_cv_have_ksh): Delete.
24230 * configure: Regenerate.
24231
24232 * elf/Makefile: Delete $(have-ksh) check.
24233 ($(objpfx)sotruss): Change KSH to BASH.
24234 * elf/sotruss.ksh: Rename to ...
24235 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24236 function style to match POSIX. Drop ksh vim mode setting.
24237
24238 * manual/time.texi (Specifying the Time Zone with TZ): Change
24239 Tuesday to Thursday.
24240
24241 * debug/tst-longjmp_chk2.c: Update header comment.
24242 (stackoverflow_handler): Add comment. Call assert on pass value.
24243
24244 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24245
24246 [BZ #16194]
24247 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24248 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24249 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24250 (La_x86_64_vector): Add zmm.
24251 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24252 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24253 ($(objpfx)tst-audit10): New target.
24254 ($(objpfx)tst-audit10.out): Likewise.
24255 (tst-audit10-ENV): New.
24256 (AVX512-CFLAGS): Likewise.
24257 (CFLAGS-tst-audit10.c): Likewise.
24258 (CFLAGS-tst-auditmod10a.c): Likewise.
24259 (CFLAGS-tst-auditmod10b.c): Likewise.
24260 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24261 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24262 * sysdeps/x86_64/configure: Regenerated.
24263 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24264 AVX-512 zmm register support.
24265 (_dl_x86_64_save_sse): Likewise.
24266 (_dl_x86_64_restore_sse): Likewise.
24267 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24268 size vector registers.
24269 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24270 (ZMM_SIZE): Likewise.
24271 * sysdeps/x86_64/tst-audit10.c: New file.
24272 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24273 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24274
24275 2014-03-13 Roland McGrath <roland@hack.frob.com>
24276
24277 * configure.ac (HAVE_EHDR_START): New check.
24278 * configure: Regenerated.
24279 * config.h.in (HAVE_EHDR_START): New #undef.
24280 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24281 assuming the lowest-addressed segment maps the start of the file.
24282
24283 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24284
24285 * INSTALL: Regenerated.
24286
24287 2014-03-13 Will Newton <will.newton@linaro.org>
24288
24289 * manual/setjmp.texi (System V contexts): Improve
24290 clarity and grammar of documentation.
24291
24292 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24293
24294 [BZ #16381]
24295 * elf/Makefile (tests): Add tst-pie2.
24296 (tests-pie): Add tst-pie2.
24297 * elf/tst-pie2.c: New file.
24298 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24299 for ET_EXEC.
24300 * elf/rtld.c (map_doit): Load executable as lt_executable.
24301 (dl_main): Likewise.
24302
24303 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24304
24305 [BZ #16642]
24306 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24307 (__ASSUME_PSELECT): Undefine.
24308
24309 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24310
24311 [BZ #16689]
24312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24313 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24314 static build.
24315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24316 selector for static builds.
24317
24318 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24319
24320 [BZ #16695]
24321 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24322 key in the buffer.
24323
24324 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24325
24326 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24327 IFUNC selector for static builds.
24328
24329 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24330
24331 * sysdeps/mips/math_private.h [__mips_hard_float]
24332 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24333 libc_feresetround_mips_ctx.
24334 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24335 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24336 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24337
24338 [BZ #16677]
24339 * math/s_nextafter.c (__nextafter): Do not return value from
24340 overflowing computation.
24341 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24342 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24343 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24344 Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24346 Likewise.
24347 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24348 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24349
24350 2014-03-11 Roland McGrath <roland@hack.frob.com>
24351
24352 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24353 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24354 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24355 the new mov targetting sp.
24356
24357 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24358
24359 [BZ #16683]
24360 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24361 Define it for static builds as well.
24362 (NO_BZERO_IMPL): Likewise.
24363
24364 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24365
24366 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24367 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24368 multiarch strspn for PPC64.
24369 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24370 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24372 (__libc_ifunc_impl_list): Likewise.
24373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24374 multiarch optimizations
24375 * string/strspn.c (strspn): Using macro to redefine symbol name.
24376
24377 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24378 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24379
24380 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24381 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24382 multiarch strncat for PPC64.
24383 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24384 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24386 (__libc_ifunc_impl_list): Likewise.
24387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24388 multiarch optimizations
24389
24390 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24391
24392 [BZ #16639]
24393 * nscd/nscd.service: Make service type forking.
24394
24395 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24396
24397 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24398 sign in non default rounding modes.
24399 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24400
24401 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24402
24403 * math/libm-test.inc (ALL_RM_TEST): New macro.
24404 (ceil_test): Use ALL_RM_TEST.
24405 (cimag_test): Likewise.
24406 (conj_test): Likewise.
24407 (copysign_test): Likewise.
24408 (cproj_test): Likewise.
24409 (creal_test): Likewise.
24410 (fabs_test): Likewise.
24411 (floor_test): Likewise.
24412 (fmax_test): Likewise.
24413 (fmin_test): Likewise.
24414 (fmod_test): Likewise.
24415 (fpclassify_test): Likewise.
24416 (frexp_test): Likewise.
24417 (ilogb_test): Likewise.
24418 (isfinite_test): Likewise.
24419 (finite_test): Likewise.
24420 (isgreater_test): Likewise.
24421 (isgreaterequal_test): Likewise.
24422 (isinf_test): Likewise.
24423 (isless_test): Likewise.
24424 (islessequal_test): Likewise.
24425 (islessgreater_test): Likewise.
24426 (isnan_test): Likewise.
24427 (isnormal_test): Likewise.
24428 (issignaling_test): Likewise.
24429 (isunordered_test): Likewise.
24430 (logb_test): Likewise.
24431 (logb_downward_test_data): Remove.
24432 (logb_test_downward): Likewise.
24433 (lround_test): Use ALL_RM_TEST.
24434 (llround_test): Likewise.
24435 (modf_test): Likewise.
24436 (nexttoward_test): Likewise.
24437 (remainder_test): Likewise.
24438 (drem_test): Likewise.
24439 (remainder_tonearest_test_data): Likewise.
24440 (remainder_test_tonearest): Likewise.
24441 (drem_test_tonearest): Likewise.
24442 (remainder_towardzero_test_data): Likewise.
24443 (remainder_test_towardzero): Likewise.
24444 (drem_test_towardzero): Likewise.
24445 (remainder_downward_test_data): Likewise.
24446 (remainder_test_downward): Likewise.
24447 (drem_test_downward): Likewise.
24448 (remainder_upward_test_data): Likewise.
24449 (remainder_test_upward): Likewise.
24450 (drem_test_upward): Likewise.
24451 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24452 (round_test): Use ALL_RM_TEST.
24453 (signbit_test): Likewise.
24454 (trunc_test): Likewise.
24455 (significand_test): Likewise.
24456 (main): Don't call removed functions.
24457
24458 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24459
24460 [BZ #16674]
24461 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24462 || __USE_XOPEN2K8].
24463 (ILL_ILLOPN): Likewise.
24464 (ILL_ILLADR): Likewise.
24465 (ILL_ILLTRP): Likewise.
24466 (ILL_PRVOPC): Likewise.
24467 (ILL_PRVREG): Likewise.
24468 (ILL_COPROC): Likewise.
24469 (ILL_BADSTK): Likewise.
24470 (FPE_INTDIV): Likewise.
24471 (FPE_INTOVF): Likewise.
24472 (FPE_FLTDIV): Likewise.
24473 (FPE_FLTOVF): Likewise.
24474 (FPE_FLTUND): Likewise.
24475 (FPE_FLTRES): Likewise.
24476 (FPE_FLTINV): Likewise.
24477 (FPE_FLTSUB): Likewise.
24478 (SEGV_MAPERR): Likewise.
24479 (SEGV_ACCERR): Likewise.
24480 (BUS_ADRALN): Likewise.
24481 (BUS_ADRERR): Likewise.
24482 (BUS_OBJERR): Likewise.
24483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24484 (TRAP_TRACE): Likewise.
24485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24486 __USE_XOPEN2K8].
24487 (CLD_KILLED): Likewise.
24488 (CLD_DUMPED): Likewise.
24489 (CLD_TRAPPED): Likewise.
24490 (CLD_STOPPED): Likewise.
24491 (CLD_CONTINUED): Likewise.
24492 (POLL_IN): Likewise.
24493 (POLL_OUT): Likewise.
24494 (POLL_MSG): Likewise.
24495 (POLL_ERR): Likewise.
24496 (POLL_PRI): Likewise.
24497 (POLL_HUP): Likewise.
24498 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24499 Likewise.
24500 (ILL_ILLOPN): Likewise.
24501 (ILL_ILLADR): Likewise.
24502 (ILL_ILLTRP): Likewise.
24503 (ILL_PRVOPC): Likewise.
24504 (ILL_PRVREG): Likewise.
24505 (ILL_COPROC): Likewise.
24506 (ILL_BADSTK): Likewise.
24507 (FPE_INTDIV): Likewise.
24508 (FPE_INTOVF): Likewise.
24509 (FPE_FLTDIV): Likewise.
24510 (FPE_FLTOVF): Likewise.
24511 (FPE_FLTUND): Likewise.
24512 (FPE_FLTRES): Likewise.
24513 (FPE_FLTINV): Likewise.
24514 (FPE_FLTSUB): Likewise.
24515 (SEGV_MAPERR): Likewise.
24516 (SEGV_ACCERR): Likewise.
24517 (BUS_ADRALN): Likewise.
24518 (BUS_ADRERR): Likewise.
24519 (BUS_OBJERR): Likewise.
24520 (BUS_MCEERR_AR): Likewise.
24521 (BUS_MCEERR_AO): Likewise.
24522 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24523 (TRAP_TRACE): Likewise.
24524 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24525 __USE_XOPEN2K8].
24526 (CLD_KILLED): Likewise.
24527 (CLD_DUMPED): Likewise.
24528 (CLD_TRAPPED): Likewise.
24529 (CLD_STOPPED): Likewise.
24530 (CLD_CONTINUED): Likewise.
24531 (POLL_IN): Likewise.
24532 (POLL_OUT): Likewise.
24533 (POLL_MSG): Likewise.
24534 (POLL_ERR): Likewise.
24535 (POLL_PRI): Likewise.
24536 (POLL_HUP): Likewise.
24537 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24538 (ILL_ILLOPN): Likewise.
24539 (ILL_ILLADR): Likewise.
24540 (ILL_ILLTRP): Likewise.
24541 (ILL_PRVOPC): Likewise.
24542 (ILL_PRVREG): Likewise.
24543 (ILL_COPROC): Likewise.
24544 (ILL_BADSTK): Likewise.
24545 (FPE_INTDIV): Likewise.
24546 (FPE_INTOVF): Likewise.
24547 (FPE_FLTDIV): Likewise.
24548 (FPE_FLTOVF): Likewise.
24549 (FPE_FLTUND): Likewise.
24550 (FPE_FLTRES): Likewise.
24551 (FPE_FLTINV): Likewise.
24552 (FPE_FLTSUB): Likewise.
24553 (SEGV_MAPERR): Likewise.
24554 (SEGV_ACCERR): Likewise.
24555 (BUS_ADRALN): Likewise.
24556 (BUS_ADRERR): Likewise.
24557 (BUS_OBJERR): Likewise.
24558 (BUS_MCEERR_AR): Likewise.
24559 (BUS_MCEERR_AO): Likewise.
24560 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24561 (TRAP_TRACE): Likewise.
24562 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24563 __USE_XOPEN2K8].
24564 (CLD_KILLED): Likewise.
24565 (CLD_DUMPED): Likewise.
24566 (CLD_TRAPPED): Likewise.
24567 (CLD_STOPPED): Likewise.
24568 (CLD_CONTINUED): Likewise.
24569 (POLL_IN): Likewise.
24570 (POLL_OUT): Likewise.
24571 (POLL_MSG): Likewise.
24572 (POLL_ERR): Likewise.
24573 (POLL_PRI): Likewise.
24574 (POLL_HUP): Likewise.
24575 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24576 Likewise.
24577 (ILL_ILLOPN): Likewise.
24578 (ILL_ILLADR): Likewise.
24579 (ILL_ILLTRP): Likewise.
24580 (ILL_PRVOPC): Likewise.
24581 (ILL_PRVREG): Likewise.
24582 (ILL_COPROC): Likewise.
24583 (ILL_BADSTK): Likewise.
24584 (ILL_BADIADDR): Likewise.
24585 (ILL_BREAK): Likewise.
24586 (FPE_INTDIV): Likewise.
24587 (FPE_INTOVF): Likewise.
24588 (FPE_FLTDIV): Likewise.
24589 (FPE_FLTOVF): Likewise.
24590 (FPE_FLTUND): Likewise.
24591 (FPE_FLTRES): Likewise.
24592 (FPE_FLTINV): Likewise.
24593 (FPE_FLTSUB): Likewise.
24594 (FPE_DECOVF): Likewise.
24595 (FPE_DECDIV): Likewise.
24596 (FPE_DECERR): Likewise.
24597 (FPE_INVASC): Likewise.
24598 (FPE_INVDEC): Likewise.
24599 (SEGV_MAPERR): Likewise.
24600 (SEGV_ACCERR): Likewise.
24601 (SEGV_PSTKOVF): Likewise.
24602 (BUS_ADRALN): Likewise.
24603 (BUS_ADRERR): Likewise.
24604 (BUS_OBJERR): Likewise.
24605 (BUS_MCEERR_AR): Likewise.
24606 (BUS_MCEERR_AO): Likewise.
24607 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24608 (TRAP_TRACE): Likewise.
24609 (TRAP_BRANCH): Likewise.
24610 (TRAP_HWBKPT): Likewise.
24611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24612 __USE_XOPEN2K8].
24613 (CLD_KILLED): Likewise.
24614 (CLD_DUMPED): Likewise.
24615 (CLD_TRAPPED): Likewise.
24616 (CLD_STOPPED): Likewise.
24617 (CLD_CONTINUED): Likewise.
24618 (POLL_IN): Likewise.
24619 (POLL_OUT): Likewise.
24620 (POLL_MSG): Likewise.
24621 (POLL_ERR): Likewise.
24622 (POLL_PRI): Likewise.
24623 (POLL_HUP): Likewise.
24624 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24625 (ILL_ILLOPN): Likewise.
24626 (ILL_ILLADR): Likewise.
24627 (ILL_ILLTRP): Likewise.
24628 (ILL_PRVOPC): Likewise.
24629 (ILL_PRVREG): Likewise.
24630 (ILL_COPROC): Likewise.
24631 (ILL_BADSTK): Likewise.
24632 (FPE_INTDIV): Likewise.
24633 (FPE_INTOVF): Likewise.
24634 (FPE_FLTDIV): Likewise.
24635 (FPE_FLTOVF): Likewise.
24636 (FPE_FLTUND): Likewise.
24637 (FPE_FLTRES): Likewise.
24638 (FPE_FLTINV): Likewise.
24639 (FPE_FLTSUB): Likewise.
24640 (SEGV_MAPERR): Likewise.
24641 (SEGV_ACCERR): Likewise.
24642 (BUS_ADRALN): Likewise.
24643 (BUS_ADRERR): Likewise.
24644 (BUS_OBJERR): Likewise.
24645 (BUS_MCEERR_AR): Likewise.
24646 (BUS_MCEERR_AO): Likewise.
24647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24648 (TRAP_TRACE): Likewise.
24649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24650 __USE_XOPEN2K8].
24651 (CLD_KILLED): Likewise.
24652 (CLD_DUMPED): Likewise.
24653 (CLD_TRAPPED): Likewise.
24654 (CLD_STOPPED): Likewise.
24655 (CLD_CONTINUED): Likewise.
24656 (POLL_IN): Likewise.
24657 (POLL_OUT): Likewise.
24658 (POLL_MSG): Likewise.
24659 (POLL_ERR): Likewise.
24660 (POLL_PRI): Likewise.
24661 (POLL_HUP): Likewise.
24662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24663 (ILL_ILLOPN): Likewise.
24664 (ILL_ILLADR): Likewise.
24665 (ILL_ILLTRP): Likewise.
24666 (ILL_PRVOPC): Likewise.
24667 (ILL_PRVREG): Likewise.
24668 (ILL_COPROC): Likewise.
24669 (ILL_BADSTK): Likewise.
24670 (FPE_INTDIV): Likewise.
24671 (FPE_INTOVF): Likewise.
24672 (FPE_FLTDIV): Likewise.
24673 (FPE_FLTOVF): Likewise.
24674 (FPE_FLTUND): Likewise.
24675 (FPE_FLTRES): Likewise.
24676 (FPE_FLTINV): Likewise.
24677 (FPE_FLTSUB): Likewise.
24678 (SEGV_MAPERR): Likewise.
24679 (SEGV_ACCERR): Likewise.
24680 (BUS_ADRALN): Likewise.
24681 (BUS_ADRERR): Likewise.
24682 (BUS_OBJERR): Likewise.
24683 (BUS_MCEERR_AR): Likewise.
24684 (BUS_MCEERR_AO): Likewise.
24685 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24686 (TRAP_TRACE): Likewise.
24687 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24688 __USE_XOPEN2K8].
24689 (CLD_KILLED): Likewise.
24690 (CLD_DUMPED): Likewise.
24691 (CLD_TRAPPED): Likewise.
24692 (CLD_STOPPED): Likewise.
24693 (CLD_CONTINUED): Likewise.
24694 (POLL_IN): Likewise.
24695 (POLL_OUT): Likewise.
24696 (POLL_MSG): Likewise.
24697 (POLL_ERR): Likewise.
24698 (POLL_PRI): Likewise.
24699 (POLL_HUP): Likewise.
24700 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24701 (ILL_ILLOPN): Likewise.
24702 (ILL_ILLADR): Likewise.
24703 (ILL_ILLTRP): Likewise.
24704 (ILL_PRVOPC): Likewise.
24705 (ILL_PRVREG): Likewise.
24706 (ILL_COPROC): Likewise.
24707 (ILL_BADSTK): Likewise.
24708 (FPE_INTDIV): Likewise.
24709 (FPE_INTOVF): Likewise.
24710 (FPE_FLTDIV): Likewise.
24711 (FPE_FLTOVF): Likewise.
24712 (FPE_FLTUND): Likewise.
24713 (FPE_FLTRES): Likewise.
24714 (FPE_FLTINV): Likewise.
24715 (FPE_FLTSUB): Likewise.
24716 (SEGV_MAPERR): Likewise.
24717 (SEGV_ACCERR): Likewise.
24718 (BUS_ADRALN): Likewise.
24719 (BUS_ADRERR): Likewise.
24720 (BUS_OBJERR): Likewise.
24721 (BUS_MCEERR_AR): Likewise.
24722 (BUS_MCEERR_AO): Likewise.
24723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24724 (TRAP_TRACE): Likewise.
24725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24726 __USE_XOPEN2K8].
24727 (CLD_KILLED): Likewise.
24728 (CLD_DUMPED): Likewise.
24729 (CLD_TRAPPED): Likewise.
24730 (CLD_STOPPED): Likewise.
24731 (CLD_CONTINUED): Likewise.
24732 (POLL_IN): Likewise.
24733 (POLL_OUT): Likewise.
24734 (POLL_MSG): Likewise.
24735 (POLL_ERR): Likewise.
24736 (POLL_PRI): Likewise.
24737 (POLL_HUP): Likewise.
24738 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24739 (ILL_ILLOPN): Likewise.
24740 (ILL_ILLADR): Likewise.
24741 (ILL_ILLTRP): Likewise.
24742 (ILL_PRVOPC): Likewise.
24743 (ILL_PRVREG): Likewise.
24744 (ILL_COPROC): Likewise.
24745 (ILL_BADSTK): Likewise.
24746 (ILL_DBLFLT): Likewise.
24747 (ILL_HARDWALL): Likewise.
24748 (FPE_INTDIV): Likewise.
24749 (FPE_INTOVF): Likewise.
24750 (FPE_FLTDIV): Likewise.
24751 (FPE_FLTOVF): Likewise.
24752 (FPE_FLTUND): Likewise.
24753 (FPE_FLTRES): Likewise.
24754 (FPE_FLTINV): Likewise.
24755 (FPE_FLTSUB): Likewise.
24756 (SEGV_MAPERR): Likewise.
24757 (SEGV_ACCERR): Likewise.
24758 (BUS_ADRALN): Likewise.
24759 (BUS_ADRERR): Likewise.
24760 (BUS_OBJERR): Likewise.
24761 (BUS_MCEERR_AR): Likewise.
24762 (BUS_MCEERR_AO): Likewise.
24763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24764 (TRAP_TRACE): Likewise.
24765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24766 __USE_XOPEN2K8].
24767 (CLD_KILLED): Likewise.
24768 (CLD_DUMPED): Likewise.
24769 (CLD_TRAPPED): Likewise.
24770 (CLD_STOPPED): Likewise.
24771 (CLD_CONTINUED): Likewise.
24772 (POLL_IN): Likewise.
24773 (POLL_OUT): Likewise.
24774 (POLL_MSG): Likewise.
24775 (POLL_ERR): Likewise.
24776 (POLL_PRI): Likewise.
24777 (POLL_HUP): Likewise.
24778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24779 (ILL_ILLOPN): Likewise.
24780 (ILL_ILLADR): Likewise.
24781 (ILL_ILLTRP): Likewise.
24782 (ILL_PRVOPC): Likewise.
24783 (ILL_PRVREG): Likewise.
24784 (ILL_COPROC): Likewise.
24785 (ILL_BADSTK): Likewise.
24786 (FPE_INTDIV): Likewise.
24787 (FPE_INTOVF): Likewise.
24788 (FPE_FLTDIV): Likewise.
24789 (FPE_FLTOVF): Likewise.
24790 (FPE_FLTUND): Likewise.
24791 (FPE_FLTRES): Likewise.
24792 (FPE_FLTINV): Likewise.
24793 (FPE_FLTSUB): Likewise.
24794 (SEGV_MAPERR): Likewise.
24795 (SEGV_ACCERR): Likewise.
24796 (BUS_ADRALN): Likewise.
24797 (BUS_ADRERR): Likewise.
24798 (BUS_OBJERR): Likewise.
24799 (BUS_MCEERR_AR): Likewise.
24800 (BUS_MCEERR_AO): Likewise.
24801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24802 (TRAP_TRACE): Likewise.
24803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24804 __USE_XOPEN2K8].
24805 (CLD_KILLED): Likewise.
24806 (CLD_DUMPED): Likewise.
24807 (CLD_TRAPPED): Likewise.
24808 (CLD_STOPPED): Likewise.
24809 (CLD_CONTINUED): Likewise.
24810 (POLL_IN): Likewise.
24811 (POLL_OUT): Likewise.
24812 (POLL_MSG): Likewise.
24813 (POLL_ERR): Likewise.
24814 (POLL_PRI): Likewise.
24815 (POLL_HUP): Likewise.
24816 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24817 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24818
24819 [BZ #16670]
24820 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24821 before #include of <time.h>.
24822 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24823 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24824 (test-xfail-UNIX98/sched.h/conform): Likewise.
24825
24826 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24827
24828 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24829 error absence of trapping exception support.
24830 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24831
24832 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24833
24834 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24835 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24836 * timezone/Makefile (testdata): Move definition above include of
24837 Rules.
24838 (test-zones): New variable.
24839 (tests-special): Add zone files.
24840 (build-testdata): Use $(evaluate-test).
24841
24842 * elf/Makefile (tests-special): Rename tests to end with .out.
24843 ($(objpfx)noload-mem): Likewise.
24844 ($(objpfx)tst-leaks1-mem): Likewise.
24845 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24846 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24847 $(objpfx)test-iconvconfig.out.
24848 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24849 set -e inside subshell and redirect output to file.
24850 * iconvdata/Makefile (generated): Rename tests to end with .out.
24851 Correct type.
24852 (tests-special): Rename tests to end with .out.
24853 ($(objpfx)mtrace-tst-loading): Likewise.
24854 * intl/Makefile (generated): Likewise.
24855 (tests-special): Likewise.
24856 ($(objpfx)mtrace-tst-gettext): Likewise.
24857 * misc/Makefile (generated): Likewise.
24858 (tests-special): Likewise.
24859 ($(objpfx)tst-error1-mem): Likewise.
24860 * nptl/Makefile (tests-special): Likewise.
24861 ($(objpfx)tst-stack3-mem): Likewise.
24862 (generated): Likewise.
24863 * posix/Makefile (generated): Likewise.
24864 (tests-special): Likewise.
24865 (xtests-special): Likewise.
24866 ($(objpfx)tst-fnmatch-mem): Likewise.
24867 ($(objpfx)bug-regex2-mem): Likewise.
24868 ($(objpfx)bug-regex14-mem): Likewise.
24869 ($(objpfx)bug-regex21-mem): Likewise.
24870 ($(objpfx)bug-regex31-mem): Likewise.
24871 ($(objpfx)tst-vfork3-mem): Likewise.
24872 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24873 ($(objpfx)tst-pcre-mem): Likewise.
24874 ($(objpfx)tst-boost-mem): Likewise.
24875 ($(objpfx)bug-ga2-mem): Likewise.
24876 ($(objpfx)bug-glob2-mem): Likewise.
24877 * resolv/Makefile (generate): Likewise.
24878 (tests-special): Likewise.
24879 (xtests-special): Likewise.
24880 (generated): Likewise.
24881 ($(objpfx)mtrace-tst-leaks): Likewise.
24882 ($(objpfx)mtrace-tst-leaks2): Likewise.
24883
24884 * scripts/merge-test-results.sh: New file.
24885 * Makefile (tests-special-notdir): New variable.
24886 (tests): Run merge-test-results.sh.
24887 (xtests): Likewise.
24888 * Rules (tests-special-notdir): New variable.
24889 (xtests-special-notdir): Likewise.
24890 (tests): Run merge-test-results.sh
24891 (xtests): Likewise.
24892
24893 * Makeconfig (test-xfail-name): New variable.
24894 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24895 compute variable name for expected failures.
24896 * conform/Makefile (conformtest-headers-data): New variable.
24897 (conformtest-standards): Likewise.
24898 (conformtest-headers-ISO): Likewise.
24899 (conformtest-headers-ISO99): Likewise.
24900 (conformtest-headers-ISO11): Likewise.
24901 (conformtest-headers-POSIX): Likewise.
24902 (conformtest-headers-XPG3): Likewise.
24903 (conformtest-headers-XPG4): Likewise.
24904 (conformtest-headers-UNIX98): Likewise.
24905 (conformtest-headers-XOPEN2K): Likewise.
24906 (conformtest-headers-POSIX2008): Likewise.
24907 (conformtest-headers-XOPEN2K8): Likewise.
24908 (conformtest-header-list-base): Likewise.
24909 (conformtest-header-list-tests): Likewise.
24910 (conformtest-header-base): Likewise.
24911 (conformtest-header-tests): Likewise.
24912 (tests-special): Add $(conformtest-header-list-tests). If
24913 [$(fast-check) && !$(cross-compiling)], add
24914 $(conformtest-header-tests) instead of
24915 $(objpfx)run-conformtest.out.
24916 (generated): Add $(conformtest-header-list-base). If
24917 [$(fast-check) && !$(cross-compiling)], add
24918 $(conformtest-header-base). Remove previous setting.
24919 ($(conformtest-header-list-tests)): New target.
24920 (test-xfail-run-conformtest): Remove variable.
24921 ($(objpfx)run-conformtest.out): Remove target.
24922 (test-xfail-ISO11/complex.h/conform): New variable.
24923 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24924 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24925 (test-xfail-XPG3/varargs.h/conform): Likewise.
24926 (test-xfail-XPG4/varargs.h/conform): Likewise.
24927 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24928 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24929 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24930 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24931 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24932 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24933 (test-xfail-XPG3/ftw.h/conform): Likewise.
24934 (test-xfail-XPG3/grp.h/conform): Likewise.
24935 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24936 (test-xfail-XPG3/limits.h/conform): Likewise.
24937 (test-xfail-XPG3/pwd.h/conform): Likewise.
24938 (test-xfail-XPG3/search.h/conform): Likewise.
24939 (test-xfail-XPG3/signal.h/conform): Likewise.
24940 (test-xfail-XPG3/stdio.h/conform): Likewise.
24941 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24942 (test-xfail-XPG3/string.h/conform): Likewise.
24943 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24944 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24945 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24946 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24947 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24948 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24949 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24950 (test-xfail-XPG3/termios.h/conform): Likewise.
24951 (test-xfail-XPG3/time.h/conform): Likewise.
24952 (test-xfail-XPG3/unistd.h/conform): Likewise.
24953 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24954 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24955 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24956 (test-xfail-XPG4/netdb.h/conform): Likewise.
24957 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24958 (test-xfail-XPG4/signal.h/conform): Likewise.
24959 (test-xfail-XPG4/stdio.h/conform): Likewise.
24960 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24961 (test-xfail-XPG4/stropts.h/conform): Likewise.
24962 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24963 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24964 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24965 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24966 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24967 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24968 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24969 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24970 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24971 (test-xfail-XPG4/termios.h/conform): Likewise.
24972 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24973 (test-xfail-XPG4/unistd.h/conform): Likewise.
24974 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24975 (test-xfail-POSIX/sched.h/conform): Likewise.
24976 (test-xfail-POSIX/signal.h/conform): Likewise.
24977 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24978 (test-xfail-POSIX/tar.h/conform): Likewise.
24979 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24980 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24981 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24982 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24983 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24984 (test-xfail-UNIX98/sched.h/conform): Likewise.
24985 (test-xfail-UNIX98/signal.h/conform): Likewise.
24986 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24987 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24988 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24989 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24990 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24991 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24992 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24993 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24994 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24995 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24996 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24997 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24998 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24999 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25000 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25001 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25002 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25003 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25004 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25005 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25006 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25007 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25008 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25009 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25010 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25011 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25012 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25013 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25014 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25015 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25016 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25017 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25018 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25019 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25020 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25021 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25022 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25023 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25024 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25025 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25026 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25027 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25028 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25029 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25030 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25031 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25032 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25033 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25034 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25035 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25036 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25037 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25038 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25039 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25040 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25041 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25042 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25043 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25044 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25045 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25046 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25047 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25048 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25049 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25050 (conformtest-cc-flags): Likewise.
25051 ($(conformtest-header-tests): New target.
25052 * conform/check-header-lists.sh: New file.
25053 * conform/run-conformtest.sh: Remove.
25054
25055 * conform/conformtest.pl: Allow ' and \ in values given for
25056 constants.
25057 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25058 inclusion.
25059 [POSIX] (sys/types.h): Likewise.
25060 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25061 inclusion.
25062 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25063 inclusion.
25064 * conform/data/signal.h-data (SIGIO): Remove expectation.
25065 [XPG3] (SIGBUS): Do not expect.
25066 [POSIX || XPG3] (SIGPOLL): Likewise.
25067 [POSIX || XPG3] (SIGPROF): Likewise.
25068 [POSIX || XPG3] (SIGSYS): Likewise.
25069 [XPG3] (SIGTRAP): Likewise.
25070 [POSIX || XPG3] (SIGURG): Likewise.
25071 [POSIX || XPG3] (SIGVTALRM): Likewise.
25072 [POSIX || XPG3] (SIGXCPU): Likewise.
25073 [POSIX || XPG3] (SIGXFSZ): Likewise.
25074 [POSIX] (SA_SIGINFO): Expect.
25075 [XPG3] (siginfo_t): Do not expect type or contents.
25076 [POSIX] (si_pid): Do not expect element.
25077 [POSIX] (si_uid): Likewise.
25078 [POSIX] (si_addr): Likewise.
25079 [POSIX] (si_status): Likewise.
25080 [POSIX] (si_band): Likewise.
25081 [XPG4] (si_value): Likewise.
25082 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25083 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25084 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25085 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25086 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25087 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25088 [POSIX || XPG3] (ILL_COPROC): Likewise.
25089 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25090 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25091 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25092 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25093 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25094 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25095 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25096 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25097 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25098 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25099 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25100 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25101 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25102 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25103 [POSIX || XPG3] (CLD_EXITED): Likewise.
25104 [POSIX || XPG3] (CLD_KILLED): Likewise.
25105 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25106 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25107 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25108 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25109 [POSIX || XPG3] (POLL_IN): Likewise.
25110 [POSIX || XPG3] (POLL_OUT): Likewise.
25111 [POSIX || XPG3] (POLL_MSG): Likewise.
25112 [POSIX || XPG3] (POLL_ERR): Likewise.
25113 [POSIX || XPG3] (POLL_PRI): Likewise.
25114 [POSIX || XPG3] (POLL_HUP): Likewise.
25115 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25116 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25117 (SIG*): Do not allow.
25118 [XPG3] (si_*): Likewise.
25119 [XPG3] (SI_*): Likewise.
25120 [XPG3 || XPG4] (sigev_*): Likewise.
25121 [XPG3 || XPG4] (SIGEV_*): Likewise.
25122 [XPG3 || XPG4] (sival_*): Likewise.
25123 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25124 [POSIX || XPG3] (BUS_*): Likewise.
25125 [POSIX || XPG3] (CLD_*): Likewise.
25126 [POSIX || XPG3] (FPE_*): Likewise.
25127 [POSIX || XPG3] (ILL_*): Likewise.
25128 [POSIX || XPG3] (POLL_*): Likewise.
25129 [POSIX || XPG3] (SEGV_*): Likewise.
25130 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25131 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25132 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25133 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25134 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25135 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25136 Specify type and value.
25137 (TVERSLEN): Likewise.
25138 (REGTYPE): Likewise.
25139 (AREGTYPE): Likewise.
25140 (LNKTYPE): Likewise.
25141 (SYMTYPE): Likewise.
25142 (CHRTYPE): Likewise.
25143 (BLKTYPE): Likewise.
25144 (DIRTYPE): Likewise.
25145 (FIFOTYPE): Likewise.
25146 (CONTTYPE): Likewise.
25147 (TSUID): Likewise.
25148 (TSGID): Likewise.
25149 (TSVTX): Likewise.
25150 (TUREAD): Likewise.
25151 (TUWRITE): Likewise.
25152 (TUEXEC): Likewise.
25153 (TGREAD): Likewise.
25154 (TGWRITE): Likewise.
25155 (TGEXEC): Likewise.
25156 (TOREAD): Likewise.
25157 (TOWRITE): Likewise.
25158 (TOEXEC): Likewise.
25159 [POSIX] (TSVTX): Expect constant.
25160
25161 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25162
25163 * Makefile (tests): Change dependencies to ....
25164 (tests-special): ... additions to this variable.
25165 (tests): Depend on $(tests-special).
25166 * Makerules (check-abi-list): New variable.
25167 (check-abi): Depend on $(check-abi-list).
25168 [$(subdir) = elf] (tests-special): Add
25169 $(objpfx)check-abi-libc.out.
25170 [$(build-shared) = yes && subdir] (tests-special): Add
25171 $(check-abi-list).
25172 [$(build-shared) = yes && subdir] (tests): Do not depend on
25173 check-abi.
25174 * Rules (tests): Depend on $(tests-special).
25175 (xtests): Depend on $(xtests-special).
25176 * catgets/Makefile (tests): Change dependencies to ....
25177 (tests-special): ... additions to this variable.
25178 * conform/Makefile (tests): Change dependencies to ....
25179 (tests-special): ... additions to this variable.
25180 * elf/Makefile (tests): Change dependencies to ....
25181 (tests-special): ... additions to this variable.
25182 * grp/Makefile (tests): Change dependencies to ....
25183 (tests-special): ... additions to this variable.
25184 * iconv/Makefile (xtests): Change dependencies to ....
25185 (xtests-special): ... additions to this variable.
25186 * iconvdata/Makefile (tests): Change dependencies to ....
25187 (tests-special): ... additions to this variable.
25188 * intl/Makefile (tests): Change dependencies to ....
25189 (tests-special): ... additions to this variable. Also add
25190 $(objpfx)tst-gettext.out.
25191 * io/Makefile (tests): Change dependencies to ....
25192 (tests-special): ... additions to this variable.
25193 * libio/Makefile (tests): Change dependencies to ....
25194 (tests-special): ... additions to this variable.
25195 * malloc/Makefile (tests): Change dependencies to ....
25196 (tests-special): ... additions to this variable.
25197 * misc/Makefile (tests): Change dependencies to ....
25198 (tests-special): ... additions to this variable.
25199 * nptl/Makefile (tests): Change dependencies to ....
25200 (tests-special): ... additions to this variable.
25201 * nptl_db/Makefile (tests): Change dependencies to ....
25202 (tests-special): ... additions to this variable.
25203 * posix/Makefile (tests): Change dependencies to ....
25204 (tests-special): ... additions to this variable.
25205 (xtests): Change dependencies to ....
25206 (xtests-special): ... additions to this variable.
25207 * resolv/Makefile (tests): Change dependencies to ....
25208 (tests-special): ... additions to this variable.
25209 (xtests): Change dependencies to ....
25210 (xtests-special): ... additions to this variable.
25211 * stdio-common/Makefile (tests): Change dependencies to ....
25212 (tests-special): ... additions to this variable.
25213 (do-tst-unbputc): Remove target.
25214 (do-tst-printf): Likewise.
25215 * stdlib/Makefile (tests): Change dependencies to ....
25216 (tests-special): ... additions to this variable.
25217 * string/Makefile (tests): Change dependencies to ....
25218 (tests-special): ... additions to this variable.
25219 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25220 (tests-special): ... additions to this variable.
25221
25222 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25223 whole file.
25224 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25225 whole file.
25226 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25227 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25228
25229 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25230 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25231 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25232 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25233 * conform/data/libgen.h-data [XPG3]: Likewise.
25234 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25235 * conform/data/ndbm.h-data [XPG3]: Likewise.
25236 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25237 * conform/data/netdb.h-data [XPG3]: Likewise.
25238 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25239 * conform/data/poll.h-data [XPG3]: Likewise.
25240 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25241 * conform/data/strings.h-data [XPG3]: Likewise.
25242 * conform/data/stropts.h-data [XPG3]: Likewise.
25243 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25244 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25245 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25246 Likewise.
25247 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25248 * conform/data/sys/time.h-data [XPG3]: Likewise.
25249 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25250 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25251 * conform/data/sys/un.h-data [XPG3]: Likewise.
25252 * conform/data/syslog.h-data [XPG3]: Likewise.
25253 * conform/data/ucontext.h-data [XPG3]: Likewise.
25254 * conform/data/utmpx.h-data [XPG3]: Likewise.
25255 * conform/data/varargs.h-data [UNIX98]: Enable file.
25256
25257 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25258
25259 * math/libm-test.inc (struct test_f_f_data): Move expected results
25260 into structure for each rounding mode.
25261 (struct test_ff_f_data): Likewise.
25262 (struct test_ff_f_data_nexttoward): Likewise.
25263 (struct test_fi_f_data): Likewise.
25264 (struct test_fl_f_data): Likewise.
25265 (struct test_if_f_data): Likewise.
25266 (struct test_fff_f_data): Likewise.
25267 (struct test_c_f_data): Likewise.
25268 (struct test_f_f1_data): Likewise.
25269 (struct test_fF_f1_data): Likewise.
25270 (struct test_ffI_f1_data): Likewise.
25271 (struct test_c_c_data): Likewise.
25272 (struct test_cc_c_data): Likewise.
25273 (struct test_f_i_data): Likewise.
25274 (struct test_ff_i_data): Likewise.
25275 (struct test_f_l_data): Likewise.
25276 (struct test_f_L_data): Likewise.
25277 (struct test_fFF_11_data): Likewise.
25278 (RM_): New macro.
25279 (RM_FE_DOWNWARD): Likewise.
25280 (RM_FE_TONEAREST): Likewise.
25281 (RM_FE_TOWARDZERO): Likewise.
25282 (RM_FE_UPWARD): Likewise.
25283 (RUN_TEST_LOOP_f_f): Update references to expected results.
25284 (RUN_TEST_LOOP_2_f): Likewise.
25285 (RUN_TEST_LOOP_fff_f): Likewise.
25286 (RUN_TEST_LOOP_c_f): Likewise.
25287 (RUN_TEST_LOOP_f_f1): Likewise.
25288 (RUN_TEST_LOOP_fF_f1): Likewise.
25289 (RUN_TEST_LOOP_fI_f1): Likewise.
25290 (RUN_TEST_LOOP_ffI_f1): Likewise.
25291 (RUN_TEST_LOOP_c_c): Likewise.
25292 (RUN_TEST_LOOP_cc_c): Likewise.
25293 (RUN_TEST_LOOP_f_i): Likewise.
25294 (RUN_TEST_LOOP_f_i_tg): Likewise.
25295 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25296 (RUN_TEST_LOOP_f_b): Likewise.
25297 (RUN_TEST_LOOP_f_b_tg): Likewise.
25298 (RUN_TEST_LOOP_f_l): Likewise.
25299 (RUN_TEST_LOOP_f_L): Likewise.
25300 (RUN_TEST_LOOP_fFF_11): Likewise.
25301 * math/gen-libm-test.pl (parse_args): Output four copies of
25302 expected results for each test.
25303
25304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25305 (__ASSUME_UTIMES): Remove.
25306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25307 (__ASSUME_UTIMES): Likewise.
25308
25309 * math/gen-auto-libm-tests.c: Update comment on output format.
25310 (output_for_one_input_case): Generate before-rounding and
25311 after-rounding information as conditions on output flags not
25312 floating-point format.
25313 * math/auto-libm-test-out: Regenerated.
25314 * math/gen-libm-test.pl (cond_value): New function.
25315 (or_cond_value): Use cond_value.
25316 (generate_testfile): Handle conditional exceptions.
25317
25318 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25319
25320 * math/libm-test.inc (max_valid_error): New variable.
25321 (init_max_error): Take new argument specifying whether function
25322 results are exactly determined. Set max_valid_error and bound
25323 other variables for errors based on this argument.
25324 (set_max_error): Do not record results above max_valid_error.
25325 (check_float_internal): Only accept errors of up to 0.5ulps if
25326 also at most max_valid_error.
25327 (START): Take new argument EXACT and pass it to init_max_error.
25328 (acos_test): Update call to START.
25329 (acos_test_tonearest): Likewise.
25330 (acos_test_towardzero): Likewise.
25331 (acos_test_downward): Likewise.
25332 (acos_test_upward): Likewise.
25333 (acosh_test): Likewise.
25334 (asin_test): Likewise.
25335 (asin_test_tonearest): Likewise.
25336 (asin_test_towardzero): Likewise.
25337 (asin_test_downward): Likewise.
25338 (asin_test_upward): Likewise.
25339 (asinh_test): Likewise.
25340 (atan_test): Likewise.
25341 (atanh_test): Likewise.
25342 (atan2_test): Likewise.
25343 (cabs_test): Likewise.
25344 (cacos_test): Likewise.
25345 (cacosh_test): Likewise.
25346 (carg_test): Likewise.
25347 (casin_test): Likewise.
25348 (casinh_test): Likewise.
25349 (catan_test): Likewise.
25350 (catanh_test): Likewise.
25351 (cbrt_test): Likewise.
25352 (ccos_test): Likewise.
25353 (ccosh_test): Likewise.
25354 (ceil_test): Likewise.
25355 (cexp_test): Likewise.
25356 (cimag_test): Likewise.
25357 (clog_test): Likewise.
25358 (clog10_test): Likewise.
25359 (conj_test): Likewise.
25360 (copysign_test): Likewise.
25361 (cos_test): Likewise.
25362 (cos_test_tonearest): Likewise.
25363 (cos_test_towardzero): Likewise.
25364 (cos_test_downward): Likewise.
25365 (cos_test_upward): Likewise.
25366 (cosh_test): Likewise.
25367 (cosh_test_tonearest): Likewise.
25368 (cosh_test_towardzero): Likewise.
25369 (cosh_test_downward): Likewise.
25370 (cosh_test_upward): Likewise.
25371 (cpow_test): Likewise.
25372 (cproj_test): Likewise.
25373 (creal_test): Likewise.
25374 (csin_test): Likewise.
25375 (csinh_test): Likewise.
25376 (csqrt_test): Likewise.
25377 (ctan_test): Likewise.
25378 (ctan_test_tonearest): Likewise.
25379 (ctan_test_towardzero): Likewise.
25380 (ctan_test_downward): Likewise.
25381 (ctan_test_upward): Likewise.
25382 (ctanh_test): Likewise.
25383 (ctanh_test_tonearest): Likewise.
25384 (ctanh_test_towardzero): Likewise.
25385 (ctanh_test_downward): Likewise.
25386 (ctanh_test_upward): Likewise.
25387 (erf_test): Likewise.
25388 (erfc_test): Likewise.
25389 (exp_test): Likewise.
25390 (exp_test_tonearest): Likewise.
25391 (exp_test_towardzero): Likewise.
25392 (exp_test_downward): Likewise.
25393 (exp_test_upward): Likewise.
25394 (exp10_test): Likewise.
25395 (exp10_test_tonearest): Likewise.
25396 (exp10_test_towardzero): Likewise.
25397 (exp10_test_downward): Likewise.
25398 (exp10_test_upward): Likewise.
25399 (pow10_test): Likewise.
25400 (exp2_test): Likewise.
25401 (expm1_test): Likewise.
25402 (expm1_test_tonearest): Likewise.
25403 (expm1_test_towardzero): Likewise.
25404 (expm1_test_downward): Likewise.
25405 (expm1_test_upward): Likewise.
25406 (fabs_test): Likewise.
25407 (fdim_test): Likewise.
25408 (floor_test): Likewise.
25409 (fma_test): Likewise.
25410 (fma_test_towardzero): Likewise.
25411 (fma_test_downward): Likewise.
25412 (fma_test_upward): Likewise.
25413 (fmax_test): Likewise.
25414 (fmin_test): Likewise.
25415 (fmod_test): Likewise.
25416 (fpclassify_test): Likewise.
25417 (frexp_test): Likewise.
25418 (hypot_test): Likewise.
25419 (ilogb_test): Likewise.
25420 (isfinite_test): Likewise.
25421 (finite_test): Likewise.
25422 (isgreater_test): Likewise.
25423 (isgreaterequal_test): Likewise.
25424 (isinf_test): Likewise.
25425 (isless_test): Likewise.
25426 (islessequal_test): Likewise.
25427 (islessgreater_test): Likewise.
25428 (isnan_test): Likewise.
25429 (isnormal_test): Likewise.
25430 (issignaling_test): Likewise.
25431 (isunordered_test): Likewise.
25432 (j0_test): Likewise.
25433 (j1_test): Likewise.
25434 (jn_test): Likewise.
25435 (ldexp_test): Likewise.
25436 (lgamma_test): Likewise.
25437 (gamma_test): Likewise.
25438 (lrint_test): Likewise.
25439 (lrint_test_tonearest): Likewise.
25440 (lrint_test_towardzero): Likewise.
25441 (lrint_test_downward): Likewise.
25442 (lrint_test_upward): Likewise.
25443 (llrint_test): Likewise.
25444 (llrint_test_tonearest): Likewise.
25445 (llrint_test_towardzero): Likewise.
25446 (llrint_test_downward): Likewise.
25447 (llrint_test_upward): Likewise.
25448 (log_test): Likewise.
25449 (log10_test): Likewise.
25450 (log1p_test): Likewise.
25451 (log2_test): Likewise.
25452 (logb_test): Likewise.
25453 (logb_test_downward): Likewise.
25454 (lround_test): Likewise.
25455 (llround_test): Likewise.
25456 (modf_test): Likewise.
25457 (nearbyint_test): Likewise.
25458 (nextafter_test): Likewise.
25459 (nexttoward_test): Likewise.
25460 (pow_test): Likewise.
25461 (pow_test_tonearest): Likewise.
25462 (pow_test_towardzero): Likewise.
25463 (pow_test_downward): Likewise.
25464 (pow_test_upward): Likewise.
25465 (remainder_test): Likewise.
25466 (drem_test): Likewise.
25467 (remainder_test_tonearest): Likewise.
25468 (drem_test_tonearest): Likewise.
25469 (remainder_test_towardzero): Likewise.
25470 (drem_test_towardzero): Likewise.
25471 (remainder_test_downward): Likewise.
25472 (drem_test_downward): Likewise.
25473 (remainder_test_upward): Likewise.
25474 (drem_test_upward): Likewise.
25475 (remquo_test): Likewise.
25476 (rint_test): Likewise.
25477 (rint_test_tonearest): Likewise.
25478 (rint_test_towardzero): Likewise.
25479 (rint_test_downward): Likewise.
25480 (rint_test_upward): Likewise.
25481 (round_test): Likewise.
25482 (scalb_test): Likewise.
25483 (scalbn_test): Likewise.
25484 (scalbln_test): Likewise.
25485 (signbit_test): Likewise.
25486 (sin_test): Likewise.
25487 (sin_test_tonearest): Likewise.
25488 (sin_test_towardzero): Likewise.
25489 (sin_test_downward): Likewise.
25490 (sin_test_upward): Likewise.
25491 (sincos_test): Likewise.
25492 (sinh_test): Likewise.
25493 (sinh_test_tonearest): Likewise.
25494 (sinh_test_towardzero): Likewise.
25495 (sinh_test_downward): Likewise.
25496 (sinh_test_upward): Likewise.
25497 (sqrt_test): Likewise.
25498 (sqrt_test_tonearest): Likewise.
25499 (sqrt_test_towardzero): Likewise.
25500 (sqrt_test_downward): Likewise.
25501 (sqrt_test_upward): Likewise.
25502 (tan_test): Likewise.
25503 (tan_test_tonearest): Likewise.
25504 (tan_test_towardzero): Likewise.
25505 (tan_test_downward): Likewise.
25506 (tan_test_upward): Likewise.
25507 (tanh_test): Likewise.
25508 (tgamma_test): Likewise.
25509 (trunc_test): Likewise.
25510 (y0_test): Likewise.
25511 (y1_test): Likewise.
25512 (yn_test): Likewise.
25513 (significand_test): Likewise.
25514
25515 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25516 individual tests in comment.
25517 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25518 (prev_max_error): New variable.
25519 (prev_real_max_error): Likewise.
25520 (prev_imag_max_error): Likewise.
25521 (compare_ulp_data): Don't refer to test names in comment.
25522 (find_test_ulps): Remove function.
25523 (find_function_ulps): Likewise.
25524 (find_complex_function_ulps): Likewise.
25525 (init_max_error): Take function name as argument. Look up ulps
25526 for that function.
25527 (print_ulps): Remove function.
25528 (print_max_error): Use prev_max_error instead of calling
25529 find_function_ulps.
25530 (print_complex_max_error): Use prev_real_max_error and
25531 prev_imag_max_error instead of calling find_complex_function_ulps.
25532 (check_float_internal): Take max_ulp parameter instead of calling
25533 find_test_ulps. Don't call print_ulps.
25534 (check_float): Update call to check_float_internal.
25535 (check_complex): Update calls to check_float_internal.
25536 (START): Pass argument to init_max_error.
25537 * math/gen-libm-test.pl (%results): Don't include "kind"
25538 information.
25539 (parse_ulps): Don't handle ulps of individual tests.
25540 (print_ulps_file): Likewise.
25541 (output_ulps): Likewise.
25542 * math/README.libm-test: Update.
25543 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25544 individual tests.
25545 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25546 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25547 * sysdeps/arm/libm-test-ulps: Likewise.
25548 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25549 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25550 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25551 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25552 * sysdeps/microblaze/libm-test-ulps: Likewise.
25553 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25556 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25558 * sysdeps/sh/libm-test-ulps: Likewise.
25559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25560 * sysdeps/tile/libm-test-ulps: Likewise.
25561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25562
25563 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25564
25565 * math/libm-test.inc (print_complex_max_error): Check separately
25566 whether real and imaginary errors are within allowed range and
25567 pass 0 to print_complex_function_ulps instead of value within
25568 allowed range.
25569
25570 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25571
25572 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25573 formatting.
25574 (get_handles_fopen): Likewise.
25575 (do_write_test): Likewise.
25576
25577 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25578
25579 * libio/fileops.c (do_ftell): Use cached offset when
25580 available.
25581 * libio/iofwide.c (do_ftell_wide): Likewise.
25582 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25583 _IO_file_attach.
25584 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25585
25586 [BZ #16532]
25587 * libio/libioP.h (get_file_offset): New function.
25588 * libio/fileops.c (get_file_offset): Likewise.
25589 (do_ftell): Likewise.
25590 (_IO_new_file_seekoff): Split out ftell logic.
25591 * libio/wfileops.c (do_ftell_wide): Likewise.
25592 (_IO_wfile_seekoff): Split out ftell logic.
25593 * libio/tst-ftell-active-handler.c: New test case.
25594 * libio/Makefile (tests): Add it.
25595
25596 2014-03-03 Roland McGrath <roland@hack.frob.com>
25597
25598 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25599 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25600
25601 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25602
25603 [BZ #16639]
25604 * nscd/connections.c (nscd_init): Call do_exit.
25605 (start_threads): Call do_exit and notify_parent.
25606 (begin_drop_privileges): Call do_exit.
25607 (finish_drop_privileges): Likewise.
25608 * nscd/selinux.c (preserve_capabilities): Likewise.
25609 (install_real_capabilities): Likewise.
25610 (nscd_selinux_enabled): Likewise.
25611 (avc_create_thread): Likewise.
25612 (avc_alloc_lock): Likewise.
25613 (nscd_avc_init): Likewise.
25614 * nscd/nscd.c (parent_fd): New static variable.
25615 (main): Create a pipe between parent and child processes.
25616 Skip closing parent_fd.
25617 (monitor_child): New function.
25618 (do_exit): Likewise.
25619 (notify_parent): Likewise.
25620 * nscd/nscd.h (notify_parent): Likewise.
25621 (do_exit): Likewise.
25622
25623 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25624
25625 * malloc/malloc.c (__libc_calloc): Revert last change.
25626
25627 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25628
25629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25630
25631 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25632
25633 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25635 implementation.
25636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25637 (__libc_ifunc_impl_list): Likewise.
25638 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25639 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25640 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25641 * string/strrchr.c: Define STRRCHR.
25642
25643 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25644
25645 * benchtest/bench-strtok.c (simple_strtok): Delete.
25646 (strtok_string): Use as benchmark.
25647 * string/strtok (STRTOK): New macro.
25648
25649 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25650
25651 * manual/threads.texi: Add header and standard comments to all
25652 functions.
25653
25654 * elf/dl-lookup.c (check_match): New function.
25655 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25656 (do_lookup_x): Remove nested function check_match. Use non-nested
25657 function check_match.
25658
25659 2014-02-28 Roland McGrath <roland@hack.frob.com>
25660
25661 * csu/Makefile (generated, before-compile): Use += rather than =.
25662 * catgets/Makefile (generated, generated-dirs): Likewise.
25663 * debug/Makefile (generated): Likewise.
25664 * dlfcn/Makefile (generated): Likewise.
25665 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25666 * iconvdata/Makefile (before-compile, generated): Likewise.
25667 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25668 * libio/Makefile (generated): Likewise.
25669 * malloc/Makefile (generated): Likewise.
25670 * manual/Makefile (generated, generated-dirs): Likewise.
25671 * misc/Makefile (generated): Likewise.
25672 * posix/Makefile (generated): Likewise.
25673 * resolv/Makefile (generated): Likewise.
25674 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25675 * timezone/Makefile (generated, generated-dirs): Likewise.
25676
25677 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25678
25679 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25680
25681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25682 power8 implementation.
25683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25684 file: POWER8 llround ifunc implementation.
25685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25686 (__lllround): Add POWER8 implementation.
25687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25688 POWER8 llround implementation.
25689
25690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25691 power8 implementation.
25692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25693 file: POWER8 llrint ifunc implementation.
25694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25695 Add POWER8 implementation.
25696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25697 POWER8 llrint implementation.
25698
25699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25700 power8 implementation.
25701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25702 file: POWER8 finite ifunc implementation.
25703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25704 Add POWER8 implementation.
25705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25706 Likewise.
25707 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25708 POWER8 finite implementation.
25709 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25710
25711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25712 power8 implementation.
25713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25714 file: POWER8 isinf ifunc implementation.
25715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25716 POWER8 implementation.
25717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25718 Likewise.
25719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25720 isinf implementation.
25721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25722
25723 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25724 (INIT_ARCH): Add hwcap2 initialization.
25725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25726 power8 implementation.
25727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25728 file: POWER8 isnan ifunc implementation.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25730 POWER8 implementation.
25731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25732 Likewise.
25733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25734 isnan implementation.
25735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25736
25737 2014-02-27 Joey Ye <joey.ye@arm.com>
25738
25739 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25740 (_FP_NANFRAC_Q): Set to zero.
25741
25742 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25743
25744 [BZ #16623]
25745 * math/auto-libm-test-in: New test inputs.
25746 * math/auto-libm-test-out: Regenerate.
25747 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25748 and DA.
25749 (__cos): Likewise.
25750 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25751
25752 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25753
25754 * scripts/evaluate-test.sh: Take new argument indicating whether
25755 failure is expected.
25756 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25757 indicating whether failure is expected.
25758 * conform/Makefile (test-xfail-run-conformtest): New variable.
25759 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25760 level.
25761 * posix/Makefile (test-xfail-annexc): New variable.
25762 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25763
25764 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25765
25766 * argp/Makefile: Include Makeconfig immediately after defining
25767 subdir.
25768 * assert/Makefile: Likewise.
25769 * benchtests/Makefile: Likewise.
25770 * catgets/Makefile: Likewise.
25771 * conform/Makefile: Likewise.
25772 * crypt/Makefile: Likewise.
25773 * csu/Makefile: Likewise.
25774 (all): Remove target.
25775 * ctype/Makefile: Include Makeconfig immediately after defining
25776 subdir.
25777 * debug/Makefile: Likewise.
25778 * dirent/Makefile: Likewise.
25779 * dlfcn/Makefile: Likewise.
25780 * gmon/Makefile: Likewise.
25781 * gnulib/Makefile: Likewise.
25782 * grp/Makefile: Likewise.
25783 * gshadow/Makefile: Likewise.
25784 * hesiod/Makefile: Likewise.
25785 * hurd/Makefile: Likewise.
25786 (all): Remove target.
25787 * iconvdata/Makefile: Include Makeconfig immediately after
25788 defining subdir.
25789 * inet/Makefile: Likewise.
25790 * intl/Makefile: Likewise.
25791 * io/Makefile: Likewise.
25792 * libio/Makefile: Likewise.
25793 (all): Remove target.
25794 * locale/Makefile: Include Makeconfig immediately after defining
25795 subdir.
25796 * login/Makefile: Likewise.
25797 * mach/Makefile: Likewise.
25798 (all): Remove target.
25799 * malloc/Makefile: Include Makeconfig immediately after defining
25800 subdir.
25801 (all): Remove target.
25802 * manual/Makefile: Include Makeconfig immediately after defining
25803 subdir.
25804 * math/Makefile: Likewise.
25805 * misc/Makefile: Likewise.
25806 * nis/Makefile: Likewise.
25807 * nss/Makefile: Likewise.
25808 * po/Makefile: Likewise.
25809 (all): Remove target.
25810 * posix/Makefile: Include Makeconfig immediately after defining
25811 subdir.
25812 * pwd/Makefile: Likewise.
25813 * resolv/Makefile: Likewise.
25814 * resource/Makefile: Likewise.
25815 * rt/Makefile: Likewise.
25816 * setjmp/Makefile: Likewise.
25817 * shadow/Makefile: Likewise.
25818 * signal/Makefile: Likewise.
25819 * socket/Makefile: Likewise.
25820 * soft-fp/Makefile: Likewise.
25821 * stdio-common/Makefile: Likewise.
25822 * stdlib/Makefile: Likewise.
25823 * streams/Makefile: Likewise.
25824 * string/Makefile: Likewise.
25825 * sunrpc/Makefile: Likewise.
25826 (all): Remove target.
25827 * sysvipc/Makefile: Include Makeconfig immediately after defining
25828 subdir.
25829 * termios/Makefile: Likewise.
25830 * time/Makefile: Likewise.
25831 * timezone/Makefile: Likewise.
25832 (all): Remove target.
25833 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25834 subdir.
25835 * wctype/Makefile: Likewise.
25836
25837 2014-02-26 Steve Ellcey <sellcey@mips.com>
25838
25839 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25840 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25841 (libc_feholdexcept_setround_mips): Ditto.
25842 (libc_feholdsetround): New.
25843 (libc_feholdsetroundf): New.
25844 (libc_feholdsetroundl): New.
25845 (libc_feupdateenv_test_mips): New.
25846 (libc_feupdateenv_test): New.
25847 (libc_feupdateenv_testf): New.
25848 (libc_feupdateenv_testl): New.
25849 (libc_feresetround): New.
25850 (libc_feresetroundf): New.
25851 (libc_feresetroundl): New.
25852 (libc_fetestexcept_mips): New.
25853 (libc_fetestexcept): New.
25854 (libc_fetestexceptf): New.
25855 (libc_fetestexceptl): New.
25856 (HAVE_RM_CTX): New.
25857 (libc_feholdexcept_setround_mips_ctx): New.
25858 (libc_feholdexcept_setround_ctx): New.
25859 (libc_feholdexcept_setroundf_ctx): New.
25860 (libc_feholdexcept_setroundl_ctx): New.
25861 (libc_fesetenv_mips_ctx): New.
25862 (libc_fesetenv_ctx): New.
25863 (libc_fesetenv_ctxf): New.
25864 (libc_fesetenv_ctxl): New.
25865 (libc_feupdateenv_mips_ctx): New.
25866 (libc_feupdateenv_ctx): New.
25867 (libc_feupdateenvf_ctx): New.
25868 (libc_feupdateenvl_ctx): New.
25869 (libc_feholdsetround_mips_ctx): New.
25870 (libc_feholdsetround_ctx): New.
25871 (libc_feholdsetroundf_ctx): New.
25872 (libc_feholdsetroundl_ctx): New.
25873 (libc_feresetround_mips_ctx): New.
25874 (libc_feresetround_ctx): New.
25875 (libc_feresetroundf_ctx): New.
25876 (libc_feresetroundl_ctx): New.
25877
25878 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25879
25880 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25881
25882 * manual/ipc.texi: New file.
25883 * manual/Makefile (chapters): Add ipc.
25884 * manual/job.texi: Add "Inter-Process Communication" to next.
25885 * manual/process.texi: Add "Inter-Process Communication" to prev.
25886
25887 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25888
25889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25890
25891 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25892
25893 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25894
25895 * manual/arith.texi: Fix spaces after sentences.
25896 * manual/charset.texi: Likewise.
25897 * manual/errno.texi: Likewise.
25898 * manual/install.texi: Likewise.
25899 * manual/llio.texi: Likewise.
25900 * manual/locale.texi: Likewise.
25901 * manual/maint.texi: Likewise.
25902 * manual/math.texi: Likewise.
25903 * manual/memory.texi: Likewise.
25904 * manual/message.texi: Likewise.
25905 * manual/probes.texi: Likewise.
25906 * manual/resource.texi: Likewise.
25907 * manual/signal.texi: Likewise.
25908 * manual/socket.texi: Likewise.
25909 * manual/stdio.texi: Likewise.
25910 * manual/string.texi: Likewise.
25911 * manual/time.texi: Likewise.
25912 * manual/users.texi: Likewise.
25913
25914 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25915
25916 [BZ #16632]
25917 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25918 _DEFAULT_SOURCE is defined.
25919
25920 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25921 Carlos O'Donell <carlos@redhat.com>
25922
25923 [BZ #16613]
25924 * elf/dl-tls.c (_dl_count_modids): New function.
25925 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25926 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25927 audit library and increment generation counter.
25928 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25929 * elf/tst-audit9.c: New file.
25930 * elf/tst-auditmod9a.c: New file.
25931 * elf/tst-auditmod9b.c: New file.
25932 * elf/Makefile: Add rules to build and run tst-audit9.
25933
25934 2014-02-25 Florian Weimer <fweimer@redhat.com>
25935
25936 [BZ #15347]
25937 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25938
25939 2014-02-25 Will Newton <will.newton@linaro.org>
25940
25941 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25942 (__longjmp): Restore sp and lr before restoring callee
25943 saved registers. Add longjmp and longjmp_target
25944 SystemTap probe point.
25945 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25946 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25947 Define to zero to match jmpbuf layout.
25948 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25949 (__sigsetjmp): Save sp and lr before saving callee
25950 saved registers. Add setjmp SystemTap probe point.
25951
25952 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25953
25954 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25955
25956 2014-02-24 Andreas Schwab <schwab@suse.de>
25957
25958 [BZ #15804]
25959 * elf/pldd.c (wait_for_ptrace_stop): New function.
25960 (main): Call it after attaching.
25961
25962 2014-02-22 Roland McGrath <roland@hack.frob.com>
25963
25964 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25965 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25966 Versions files is now verboten.
25967 * hurd/Versions (libc: GLIBC_2.0):
25968 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25969 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25970 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25971 * mach/Versions: Likewise.
25972
25973 * csu/Versions: Remove unused %include.
25974 * resolv/Versions: Likewise.
25975
25976 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25977
25978 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25979 ($(objpfx)check-local-headers.out): Likewise.
25980 ($(objpfx)begin-end-check.out): Likewise.
25981 * Makerules (check-abi-%.out): Likewise.
25982 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25983 ($(objpfx)test2.cat): Likewise.
25984 ($(objpfx)de/libc.cat): Likewise.
25985 ($(objpfx)test-gencat.out): Likewise.
25986 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25987 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25988 ($(objpfx)noload-mem): Likewise.
25989 ($(objpfx)tst-pathopt.out): Likewise.
25990 ($(objpfx)tst-rtld-load-self.out): Likewise.
25991 ($(objpfx)tst-array1-cmp.out): Likewise.
25992 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25993 ($(objpfx)tst-array2-cmp.out): Likewise.
25994 ($(objpfx)tst-array3-cmp.out): Likewise.
25995 ($(objpfx)tst-array4-cmp.out): Likewise.
25996 ($(objpfx)tst-array5-cmp.out): Likewise.
25997 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25998 ($(objpfx)check-textrel.out): Likewise.
25999 ($(objpfx)check-execstack.out): Likewise.
26000 ($(objpfx)check-localplt.out): Likewise.
26001 ($(objpfx)order2-cmp.out): Likewise.
26002 ($(objpfx)tst-leaks1-mem): Likewise.
26003 ($(objpfx)tst-leaks1-static-mem): Likewise.
26004 ($(objpfx)tst-initorder-cmp.out): Likewise.
26005 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26006 ($(objpfx)tst-unused-dep.out): Likewise.
26007 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26008 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26009 * iconv/Makefile (test-iconvconfig): Likewise.
26010 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26011 ($(objpfx)iconv-test.out): Likewise.
26012 ($(objpfx)tst-tables.out): Likewise.
26013 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26014 ($(objpfx)tst-gettext.out): Likewise.
26015 ($(objpfx)tst-translit.out): Likewise.
26016 ($(objpfx)tst-gettext2.out): Likewise.
26017 ($(objpfx)tst-gettext4.out): Likewise.
26018 ($(objpfx)tst-gettext6.out): Likewise.
26019 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26020 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26021 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26022 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26023 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26024 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26025 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26026 ($(objpfx)wordexp-tst.out): Likewise.
26027 ($(objpfx)annexc.out): Likewise.
26028 ($(objpfx)tst-fnmatch-mem): Likewise.
26029 ($(objpfx)bug-regex2-mem): Likewise.
26030 ($(objpfx)bug-regex14-mem): Likewise.
26031 ($(objpfx)bug-regex21-mem): Likewise.
26032 ($(objpfx)bug-regex31-mem): Likewise.
26033 ($(objpfx)tst-vfork3-mem): Likewise.
26034 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26035 ($(objpfx)tst-pcre-mem): Likewise.
26036 ($(objpfx)tst-boost-mem): Likewise.
26037 ($(objpfx)tst-getconf.out): Likewise.
26038 ($(objpfx)bug-ga2-mem): Likewise.
26039 ($(objpfx)bug-glob2-mem): Likewise.
26040 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26041 ($(objpfx)mtrace-tst-leaks2): Likewise.
26042 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26043 ($(objpfx)tst-printf.out): Likewise.
26044 ($(objpfx)tst-setvbuf1.out): Likewise.
26045 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26046 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26047 ($(objpfx)tst-fmtmsg.out): Likewise.
26048 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26049 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26050
26051 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26052 * bits/sigaction.h [__USE_MISC]: Likewise.
26053 * bits/waitstatus.h: Update #endif comments.
26054 * ctype/ctype.h: Likewise.
26055 * dirent/dirent.h: Likewise.
26056 [__USE_MISC]: Remove redundant conditionals.
26057 * grp/grp.h: Update #endif comments.
26058 [__USE_GNU]: Remove redundant conditionals.
26059 [__USE_MISC]: Likewise.
26060 * inet/netinet/in.h [__USE_GNU]: Likewise.
26061 * io/sys/stat.h [__USE_MISC]: Likewise.
26062 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26063 * libio/bits/stdio.h: Update #endif comments.
26064 [__USE_MISC]: Remove redundant conditionals.
26065 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26066 * libio/stdio.h: Update #endif comments.
26067 [__USE_MISC]: Remove redundant conditionals.
26068 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26069 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26070 * math/math.h: Update #else and #endif comments.
26071 [__USE_MISC]: Remove redundant conditionals.
26072 * misc/sys/uio.h: Update #endif comments.
26073 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26074 * posix/glob.h [__USE_MISC]: Likewise.
26075 * posix/sys/types.h: Update #endif comments.
26076 [__USE_MISC]: Remove redundant conditionals.
26077 * posix/sys/wait.h: Update #endif comments.
26078 [__USE_MISC]: Remove redundant conditionals.
26079 * posix/unistd.h: Update #endif comments.
26080 [__USE_MISC]: Remove redundant conditionals.
26081 * pwd/pwd.h [__USE_GNU]: Likewise.
26082 [__USE_MISC]: Likewise.
26083 * resolv/netdb.h [__USE_GNU]: Likewise.
26084 * signal/signal.h: Update #endif comments.
26085 [__USE_MISC]: Remove redundant conditionals.
26086 * stdlib/stdlib.h: Update #else and #endif comments.
26087 [__USE_MISC]: Remove redundant conditionals.
26088 [__USE_GNU]: Likewise.
26089 * string/bits/string2.h [__USE_MISC]: Likewise.
26090 * string/string.h: Update #endif comments.
26091 [__USE_MISC]: Remove redundant conditionals.
26092 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26093 Likewise.
26094 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26095 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26096 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26097 Likewise.
26098 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26099 Likewise.
26100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26101 comments.
26102 [__USE_MISC]: Remove redundant conditionals.
26103 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26104 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26105 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26106 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26107 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26108 Likewise.
26109 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26110 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26111 Likewise.
26112 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26113 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26114 Likewise.
26115 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26116 Likewise.
26117 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26118 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26119 Likewise.
26120 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26121 Likewise.
26122 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26123 * sysdeps/x86/bits/string.h: Update #endif comments.
26124 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26125 conditionals.
26126 * time/sys/time.h: Update #endif comments.
26127 * time/time.h: Likewise.
26128 [__USE_MISC]: Remove redundant conditionals.
26129
26130 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26131
26132 [BZ #16600]
26133 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26134
26135 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26136
26137 * Versions.def (librt): Add GLIBC_2.17.
26138
26139 2014-02-21 Adam Conrad <adconrad@0c3.net>
26140
26141 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26142 synonym for _SYS_AUXV_H to allow direct inclusion.
26143 * sysdeps/sparc/bits/hwcap.h: Likewise.
26144 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26145 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26146 * sysdeps/sparc/sysdep.h: Likewise.
26147
26148 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26149
26150 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26151
26152 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26153
26154 * benchtests/bench-strrchr.c: Print length instead of position.
26155
26156 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26157
26158 [BZ #16611]
26159 * sysdeps/unix/sysv/linux/kernel-features.h
26160 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26161 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26162 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26163 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26164 Likewise.
26165 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26166 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26167 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26168 (__ASSUME_SENDMMSG): Define instead of using previous
26169 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26170 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26171 (__ASSUME_SENDMMSG_SYSCALL): Define.
26172 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26173 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26174 Likewise.
26175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26176 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26177 Likewise.
26178 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26179 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26180 Likewise.
26181 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26182 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26183 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26184 [__ASSUME_SENDMMSG]: Change conditionals to
26185 [__ASSUME_SENDMMSG_SOCKETCALL].
26186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26187 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26188 Define.
26189 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26190 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26191 Likewise.
26192 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26193 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26194 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26195 [!__ASSUME_SENDMMSG]: Change conditional to
26196 [!__ASSUME_SENDMMSG_SOCKETCALL].
26197 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26198 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26199 Define.
26200
26201 [BZ #16610]
26202 * sysdeps/unix/sysv/linux/kernel-features.h
26203 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26204 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26205 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26206 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26207 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26208 [__i386__ || __sparc__]
26209 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26210 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26211 (__ASSUME_RECVMMSG): Define instead of using previous
26212 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26213 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26214 (__ASSUME_RECVMMSG_SYSCALL): Define.
26215 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26217 Likewise.
26218 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26219 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26220 Likewise.
26221 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26222 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26223 Likewise.
26224 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26225 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26226 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26227 [__ASSUME_RECVMMSG]: Change condition to
26228 [__ASSUME_RECVMMSG_SOCKETCALL].
26229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26230 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26231 Define.
26232 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26233 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26235 Likewise.
26236 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26237 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26238 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26239 [!__ASSUME_RECVMMSG]: Change condition to
26240 [!__ASSUME_RECVMMSG_SOCKETCALL].
26241 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26242 (__ASSUME_RECVMMSG_SYSCALL): Define.
26243
26244 [BZ #16609]
26245 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26246 __powerpc__ || __s390__ || __sh__ || __sparc__]
26247 (__ASSUME_SOCKETCALL): Define.
26248 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26249 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26250 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26251 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26252 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26253 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26254 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26255 (__ASSUME_ACCEPT4): Define instead of using previous
26256 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26257 __powerpc__ || __sparc__ || __s390__)] condition.
26258 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26259 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26260 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26261 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26262 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26263 [!__ASSUME_ACCEPT4]: Change condition to
26264 [!__ASSUME_ACCEPT4_SOCKETCALL].
26265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26266 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26267 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26268 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26269 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26270 __ASSUME_ACCEPT4_SYSCALL.
26271 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26272 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26273 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26275 __ASSUME_ACCEPT4_SYSCALL.
26276 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26277 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26278 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26279 [__ASSUME_ACCEPT4]: Change condition to
26280 [__ASSUME_ACCEPT4_SOCKETCALL].
26281 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26282 (__ASSUME_SOCKETCALL): Define.
26283 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26285 (__ASSUME_SOCKETCALL): Define.
26286 (__ASSUME_ACCEPT4): Remove.
26287 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26288 Define.
26289 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26290 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26291 Likewise.
26292 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26293 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26294
26295 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26296 macro.
26297 (HWCAP_ARM_LPAE): Likewise.
26298 (HWCAP_ARM_EVTSTRM): Likewise.
26299 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26300 Add vpfd32, lpae and evtstrm.
26301 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26302 Increase to 22.
26303
26304 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26305
26306 * math/auto-libm-test-in: Add tests of clog10.
26307 * math/auto-libm-test-out: Regenerated.
26308 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26309 * sysdeps/i386/fpu/libm-test-ulps: Update.
26310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26311
26312 2014-02-18 Andreas Schwab <schwab@suse.de>
26313
26314 [BZ #16574]
26315 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26316 Store non-zero if the second buffer was newly allocated.
26317 (send_dg): Likewise.
26318 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26319 to send_vc and send_dg.
26320 (res_nsend): Pass NULL for ansp2_malloced.
26321 * resolv/res_query.c (__libc_res_nquery): Add parameter
26322 answerp2_malloced and pass it down to __libc_res_nsend.
26323 (res_nquery): Pass additional NULL to __libc_res_nquery.
26324 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26325 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26326 second answer buffer if answerp2_malloced was set.
26327 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26328 (__libc_res_nquerydomain): Add parameter
26329 answerp2_malloced and pass it down to __libc_res_nquery.
26330 (res_nquerydomain): Pass additional NULL to
26331 __libc_res_nquerydomain.
26332 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26333 additional NULL to __libc_res_nsend and __libc_res_nquery.
26334 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26335 additional NULL to __libc_res_nsearch.
26336 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26337 parameter of __libc_res_nsearch to check for separately allocated
26338 second buffer.
26339 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26340 __libc_res_nquery.
26341 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26342 additional NULL to __libc_res_nquery.
26343 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26344 __libc_res_nsearch.
26345 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26346 * include/resolv.h: Update prototypes of __libc_res_nquery,
26347 __libc_res_nsearch, __libc_res_nsend.
26348
26349 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26350
26351 * math/auto-libm-test-in: Add tests of fma.
26352 * math/auto-libm-test-out: Regenerated.
26353 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26354 (fma_towardzero_test_data): Likewise.
26355 (fma_downward_test_data): Likewise.
26356 (fma_upward_test_data): Likewise.
26357 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26358 mpc_mode.
26359 (rounding_modes): Add values for new field.
26360 (func_calc_method): Add value mpfr_fff_f.
26361 (func_calc_desc): Add mpfr_fff_f union field.
26362 (test_function): Add field exact_args.
26363 (FUNC): Add macro argument EXACT_ARGS.
26364 (FUNC_mpfr_f_f): Update call to FUNC.
26365 (FUNC_mpfr_f_f): Likewise.
26366 (FUNC_mpfr_ff_f): Likewise.
26367 (FUNC_mpfr_if_f): Likewise.
26368 (FUNC_mpc_c_f): Likewise.
26369 (FUNC_mpc_c_c): Likewise.
26370 (test_functions): Add fma. Update calls to FUNC.
26371 (handle_input_arg): Add argument exact_args.
26372 (add_test): Update call to handle_input_arg.
26373 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26374 (output_for_one_input_case): Update call to calc_generic_results.
26375 Recalculate exact zero results in each rounding mode.
26376
26377 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26378 non-negative before setting low bit.
26379 * math/auto-libm-test-in: Mark one asin test possibly having
26380 spurious underflow.
26381 * math/auto-libm-test-out: Regenerated.
26382 * sysdeps/i386/fpu/libm-test-ulps: Update.
26383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384
26385 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26386
26387 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26388 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26389 ports/sysdeps/unix/sysv/linux/microblaze.
26390 * README: Add missing listing for microblaze*-*-linux-gnu.
26391
26392 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26393
26394 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26395 duplicate code
26396
26397 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26398
26399 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26400 * sysdeps/unix/sysv/linux/ia64: Move directory from
26401 ports/sysdeps/unix/sysv/linux/ia64.
26402 * README: Update listing for ia64-*-linux-gnu.
26403
26404 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26405 Joseph Myers <joseph@codesourcery.com>
26406
26407 * Makeconfig (test-name): New variable.
26408 (evaluate-test): Likewise.
26409 * Makerules (do-test-clean): Remove .test-result files.
26410 (common-mostlyclean): Likewise.
26411 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26412 * scripts/evaluate-test.sh: New file.
26413
26414 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26415
26416 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26417 separate $(objpfx)tst-fopenloc-cmp.out and
26418 $(objpfx)tst-fopenloc-mem.out targets.
26419 (tests): Update dependencies.
26420 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26421 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26422 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26423 (tst-rxspencer-no-utf8-ARGS): New variable.
26424 (tst-rxspencer-no-utf8-ENV): Likewise.
26425 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26426 instead of $(objpfx)tst-rxspencer-mem.
26427 ($(objpfx)tst-rxspencer-mem): Change target to
26428 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26429 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26430 * posix/tst-rxspencer-no-utf8.c: New file.
26431
26432 * elf/Makefile ($(objpfx)order.out): Remove rule.
26433 [$(run-built-tests) = yes] (tests): Depend on
26434 $(objpfx)order-cmp.out.
26435 ($(objpfx)order-cmp.out): New rule.
26436 [$(run-built-tests) = yes] (tests): Depend on
26437 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26438 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26439 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26440 $(objpfx)tst-array5-static-cmp.out.
26441 ($(objpfx)tst-array1.out): Remove rule.
26442 ($(objpfx)tst-array1-cmp.out): New rule.
26443 ($(objpfx)tst-array1-static.out): Remove rule.
26444 ($(objpfx)tst-array1-static-cmp.out): New rule.
26445 ($(objpfx)tst-array2.out): Remove rule.
26446 ($(objpfx)tst-array2-cmp.out): New rule.
26447 ($(objpfx)tst-array3.out): Remove rule.
26448 ($(objpfx)tst-array3-cmp.out): New rule.
26449 ($(objpfx)tst-array4.out): Remove rule.
26450 ($(objpfx)tst-array4-cmp.out): New rule.
26451 ($(objpfx)tst-array5.out): Remove rule.
26452 ($(objpfx)tst-array5-cmp.out): New rule.
26453 ($(objpfx)tst-array5-static.out): Remove rule.
26454 ($(objpfx)tst-array5-static-cmp.out): New rule.
26455 [$(run-built-tests) = yes] (tests): Depend on
26456 $(objpfx)order2-cmp.out.
26457 ($(objpfx)order2.out): Remove rule.
26458 ($(objpfx)order2-cmp.out): New rule.
26459 ($(objpfx)tst-initorder.out): Remove rule.
26460 [$(run-built-tests) = yes] (tests): Depend on
26461 $(objpfx)tst-initorder-cmp.out.
26462 ($(objpfx)tst-initorder-cmp.out): New rule.
26463 ($(objpfx)tst-initorder2.out): Remove rule.
26464 [$(run-built-tests) = yes] (tests): Depend on
26465 $(objpfx)tst-initorder2-cmp.out.
26466 ($(objpfx)tst-initorder2-cmp.out): New rule.
26467 [$(run-built-tests) = yes] (tests): Depend on
26468 $(objpfx)tst-unused-dep-cmp.out.
26469 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26470 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26471 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26472 on $(objpfx)tst-setvbuf1-cmp.out.
26473 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26474 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26475 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26476 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26477 ($(objpfx)tst-svc.out): Remove rule.
26478 ($(objpfx)tst-svc-cmp.out): New rule.
26479
26480 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26481
26482 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26483 * ctype/ctype.h [__USE_MISC]: Likewise.
26484 * dirent/dirent.h [__USE_MISC]: Likewise.
26485 * grp/grp.h [__USE_MISC]: Likewise.
26486 * io/fcntl.h [__USE_MISC]: Likewise.
26487 * io/sys/stat.h [__USE_MISC]: Likewise.
26488 * libio/stdio.h [__USE_MISC]: Likewise.
26489 * posix/unistd.h [__USE_MISC]: Likewise.
26490 * pwd/pwd.h [__USE_MISC]: Likewise.
26491 * stdlib.h [__USE_MISC]: Likewise.
26492 * string/bits/string2.h [__USE_MISC]: Likewise.
26493 * string/string.h [__USE_MISC]: Likewise.
26494 * time/time.h [__USE_MISC]: Likewise.
26495
26496 2014-02-13 Andreas Schwab <schwab@suse.de>
26497
26498 [BZ #16574]
26499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26500 second answer buffer if it was separately allocated.
26501
26502 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26503
26504 * sysdeps/mips/math-tests.h: Include <features.h>.
26505 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26506 (ROUNDING_TESTS_long_double): Do not define.
26507 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26508 (EXCEPTION_TESTS_long_double): Likewise.
26509 * sysdeps/mips/mips64/libm-test-ulps: Update.
26510
26511 * include/features.h (__USE_BSD): Remove macro definitions.
26512 (__USE_SVID): Likewise.
26513 (_BSD_SOURCE): Likewise.
26514 (_SVID_SOURCE): Likewise.
26515 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26516 from definition of _DEFAULT_SOURCE.
26517 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26518 [_DEFAULT_SOURCE].
26519 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26520 * bits/mman.h [__USE_BSD]: Likewise.
26521 * bits/termios.h [__USE_BSD]: Likewise.
26522 * bits/waitstatus.h [__USE_BSD]: Likewise.
26523 * ctype/ctype.h [__USE_SVID]: Likewise.
26524 * dirent/dirent.h [__USE_BSD]: Likewise.
26525 * grp/grp.h [__USE_SVID]: Likewise.
26526 [__USE_BSD]: Likewise.
26527 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26528 * io/fcntl.h [__USE_BSD]: Likewise.
26529 * io/ftw.h [__USE_BSD]: Likewise.
26530 * io/sys/stat.h [__USE_BSD]: Likewise.
26531 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26532 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26533 * libio/stdio.h [__USE_SVID]: Likewise.
26534 [__USE_BSD]: Likewise.
26535 * math/math.h [__USE_SVID]: Likewise.
26536 [__USE_BSD]: Likewise.
26537 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26538 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26539 * misc/search.h [__USE_SVID]: Likewise.
26540 * misc/sys/mman.h [__USE_BSD]: Likewise.
26541 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26542 * misc/sys/uio.h [__USE_BSD]: Likewise.
26543 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26544 * posix/glob.h [__USE_BSD]: Likewise.
26545 * posix/regex.h [__USE_BSD]: Likewise.
26546 * posix/sys/types.h [__USE_BSD]: Likewise.
26547 [__USE_SVID]: Likewise.
26548 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26549 * posix/sys/wait.h [__USE_BSD]: Likewise.
26550 [__USE_SVID]: Likewise.
26551 * posix/unistd.h [__USE_BSD]: Likewise.
26552 [__USE_SVID]: Likewise.
26553 * pwd/pwd.h [__USE_SVID]: Likewise.
26554 * resolv/netdb.h [__USE_BSD]: Likewise.
26555 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26556 * signal/signal.h [__USE_BSD]: Likewise.
26557 [__USE_SVID]: Likewise.
26558 * socket/sys/socket.h [__USE_BSD]: Likewise.
26559 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26560 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26561 [__USE_SVID]: Likewise.
26562 * string/bits/string2.h [__USE_BSD]: Likewise.
26563 [__USE_SVID]: Likewise.
26564 * string/bits/string3.h [__USE_BSD]: Likewise.
26565 * string/endian.h [__USE_BSD]: Likewise.
26566 * string/string.h [__USE_SVID]: Likewise.
26567 [__USE_BSD]: Likewise.
26568 * string/strings.h [__USE_BSD]: Likewise.
26569 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26570 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26571 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26572 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26573 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26574 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26575 Likewise.
26576 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26577 Likewise.
26578 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26579 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26580 Likewise.
26581 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26582 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26583 Likewise.
26584 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26585 Likewise.
26586 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26587 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26588 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26589 Likewise.
26590 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26591 Likewise.
26592 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26593 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26594 * termios/termios.h [__USE_BSD]: Likewise.
26595 * time/sys/time.h [__USE_BSD]: Likewise.
26596 * time/time.h [__USE_BSD]: Likewise.
26597 [__USE_SVID]: Likewise.
26598
26599 * Makefile (subdir_targets): Remove subdir_lint.out.
26600
26601 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26602 (do-tst-printf): Likewise.
26603 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26604 $(objpfx)tst-printf.out.
26605
26606 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26607
26608 * Makerules (check-abi-%): Change target to
26609 $(objpfx)check-abi-%.out.
26610 (check-abi target): Update dependencies.
26611 (check-abi-pattern variable): Redirect output of diff to $@.
26612 (check-abi variable): Likewise.
26613 * elf/Makefile (check-abi): Update dependencies.
26614
26615 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26616 unused.
26617 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26618 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26619 subnormal range.
26620 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26621 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26622 value has largest subnormal exponent.
26623 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26624 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26625 * sysdeps/aarch64/soft-fp/sfp-machine.h
26626 (_FP_TININESS_AFTER_ROUNDING): New macro.
26627 * sysdeps/alpha/soft-fp/sfp-machine.h
26628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26629 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26630 Likewise.
26631 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26633 * sysdeps/mips/soft-fp/sfp-machine.h
26634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26635 * sysdeps/powerpc/soft-fp/sfp-machine.h
26636 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26637 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26638 Likewise.
26639 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26640 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26641 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26643 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26644 Likewise.
26645
26646 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26647
26648 [BZ #16545]
26649 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26650 model 1.
26651
26652 2014-02-12 Richard Henderson <rth@redhat.com>
26653
26654 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26655 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26656 * sysdeps/unix/sysv/linux/alpha: Move directory from
26657 ports/sysdeps/unix/sysv/linux/alpha.
26658 * README: Update listing for alpha-*-linux-gnu.
26659
26660 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26661
26662 * include/features.h: Update comment documenting feature test
26663 macros.
26664 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26665 _DEFAULT_SOURCE.
26666 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26667 (_SVID_SOURCE): Likewise.
26668 (_DEFAULT_SOURCE): Update description of default features.
26669 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26670 with _GNU_SOURCE.
26671 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26672 (S_ISVTX): Likewise.
26673 * manual/math.texi (Mathematical Constants): Likewise.
26674 * manual/signal.texi (Interrupted Primitives): Likewise.
26675 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26676 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26677 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26678 Don't refer to _SVID_SOURCE in warning text.
26679
26680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26681
26682 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26683 already defined.
26684 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26685 * sysdeps/mips/dl-lookup.c: Remove.
26686 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26687
26688 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26689
26690 [BZ #16447]
26691 * math/auto-libm-test-in: Add testcase for expl.
26692 * math/auto-libm-test-out: Regenerate.
26693 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26694 calculation of unsafe.
26695 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26696
26697 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26698
26699 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26700 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26701 ports/sysdeps/unix/sysv/linux/aarch64.
26702 * README: Update listing for aarch64*-*-linux-gnu.
26703
26704 2014-02-11 Will Newton <will.newton@linaro.org>
26705
26706 * manual/probes.texi (Mathematical Function Probes): Use
26707 "triggered" instead of "hit".
26708
26709 * manual/probes.texi (Internal Probes): Add documentation
26710 of setjmp, longjmp and longjmp_target probes.
26711
26712 * include/stap-probe.h: Add comment about probe argument
26713 format.
26714
26715 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26716 definition. (tr_where, tr_freehook, tr_mallochook,
26717 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26718
26719 2014-02-11 David S. Miller <davem@davemloft.net>
26720
26721 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26722 processing int_tests.
26723
26724 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26725
26726 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26727 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26728 * sysdeps/unix/sysv/linux/mips: Move directory from
26729 ports/sysdeps/unix/sysv/linux/mips.
26730 * README: Update listing for mips-*-linux-gnu and
26731 mips64-*-linux-gnu.
26732
26733 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26734
26735 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26736 * sysdeps/unix/sysv/linux/m68k: Move directory from
26737 ports/sysdeps/unix/sysv/linux/m68k.
26738 * README: Update listing for m68k-*-linux-gnu.
26739
26740 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26741
26742 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26743 * sysdeps/unix/sysv/linux/generic: Move directory from
26744 ports/sysdeps/unix/sysv/linux/generic.
26745 * sysdeps/unix/sysv/linux/tile: Move directory from
26746 ports/sysdeps/unix/sysv/linux/tile.
26747 * README: Update listing for tile*-*-linux-gnu.
26748
26749 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26750
26751 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26752 __builtin_expect.
26753 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26754 * catgets/open_catalog.c (__open_catalog): Likewise.
26755 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26756 * debug/confstr_chk.c: Likewise.
26757 * debug/fread_chk.c (__fread_chk): Likewise.
26758 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26759 * debug/getgroups_chk.c: Likewise.
26760 * debug/mbsnrtowcs_chk.c: Likewise.
26761 * debug/mbsrtowcs_chk.c: Likewise.
26762 * debug/mbstowcs_chk.c: Likewise.
26763 * debug/memcpy_chk.c: Likewise.
26764 * debug/memmove_chk.c: Likewise.
26765 * debug/mempcpy_chk.c: Likewise.
26766 * debug/memset_chk.c: Likewise.
26767 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26768 * debug/strcat_chk.c (__strcat_chk): Likewise.
26769 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26770 * debug/strncat_chk.c (__strncat_chk): Likewise.
26771 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26772 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26773 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26774 * debug/wcpncpy_chk.c: Likewise.
26775 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26776 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26777 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26778 * debug/wcsncpy_chk.c: Likewise.
26779 * debug/wcsnrtombs_chk.c: Likewise.
26780 * debug/wcsrtombs_chk.c: Likewise.
26781 * debug/wcstombs_chk.c: Likewise.
26782 * debug/wmemcpy_chk.c: Likewise.
26783 * debug/wmemmove_chk.c: Likewise.
26784 * debug/wmempcpy_chk.c: Likewise.
26785 * debug/wmemset_chk.c: Likewise.
26786 * dirent/scandirat.c (SCANDIRAT): Likewise.
26787 * dlfcn/dladdr1.c (dladdr1): Likewise.
26788 * dlfcn/dladdr.c (dladdr): Likewise.
26789 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26790 * dlfcn/dlerror.c (__dlerror): Likewise.
26791 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26792 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26793 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26794 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26795 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26796 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26797 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26798 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26799 Likewise.
26800 * elf/dl-conflict.c: Likewise.
26801 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26802 * elf/dl-dst.h: Likewise.
26803 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26804 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26805 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26806 * elf/dl-init.c (call_init, _dl_init): Likewise.
26807 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26808 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26809 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26810 Likewise.
26811 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26812 Likewise.
26813 * elf/dl-minimal.c (__libc_memalign): Likewise.
26814 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26815 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26816 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26817 * elf/dl-sym.c (do_sym): Likewise.
26818 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26819 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26820 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26821 * elf/dl-writev.h (_dl_writev): Likewise.
26822 * elf/ldconfig.c (search_dir): Likewise.
26823 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26824 (dl_main): Likewise.
26825 * elf/setup-vdso.h (setup_vdso): Likewise.
26826 * grp/compat-initgroups.c (compat_call): Likewise.
26827 * grp/fgetgrent.c (fgetgrent): Likewise.
26828 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26829 * grp/putgrent.c (putgrent): Likewise.
26830 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26831 Likewise.
26832 * hurd/hurdinit.c: Likewise.
26833 * iconvdata/8bit-gap.c (struct): Likewise.
26834 * iconvdata/ansi_x3.110.c : Likewise.
26835 * iconvdata/big5.c : Likewise.
26836 * iconvdata/big5hkscs.c : Likewise.
26837 * iconvdata/cp1255.c: Likewise.
26838 * iconvdata/cp1258.c : Likewise.
26839 * iconvdata/cp932.c : Likewise.
26840 * iconvdata/euc-cn.c: Likewise.
26841 * iconvdata/euc-jisx0213.c : Likewise.
26842 * iconvdata/euc-jp.c: Likewise.
26843 * iconvdata/euc-jp-ms.c : Likewise.
26844 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26845 * iconvdata/gb18030.c : Likewise.
26846 * iconvdata/gbbig5.c (const): Likewise.
26847 * iconvdata/gbgbk.c: Likewise.
26848 * iconvdata/gbk.c : Likewise.
26849 * iconvdata/ibm1364.c : Likewise.
26850 * iconvdata/ibm930.c : Likewise.
26851 * iconvdata/ibm932.c: Likewise.
26852 * iconvdata/ibm933.c : Likewise.
26853 * iconvdata/ibm935.c : Likewise.
26854 * iconvdata/ibm937.c : Likewise.
26855 * iconvdata/ibm939.c : Likewise.
26856 * iconvdata/ibm943.c: Likewise.
26857 * iconvdata/iso_11548-1.c: Likewise.
26858 * iconvdata/iso-2022-cn.c : Likewise.
26859 * iconvdata/iso-2022-cn-ext.c : Likewise.
26860 * iconvdata/iso-2022-jp-3.c: Likewise.
26861 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26862 * iconvdata/iso-2022-kr.c : Likewise.
26863 * iconvdata/iso646.c (gconv_end): Likewise.
26864 * iconvdata/iso_6937-2.c : Likewise.
26865 * iconvdata/iso_6937.c : Likewise.
26866 * iconvdata/iso8859-1.c: Likewise.
26867 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26868 * iconvdata/shift_jisx0213.c : Likewise.
26869 * iconvdata/sjis.c : Likewise.
26870 * iconvdata/t.61.c : Likewise.
26871 * iconvdata/tcvn5712-1.c : Likewise.
26872 * iconvdata/tscii.c: Likewise.
26873 * iconvdata/uhc.c : Likewise.
26874 * iconvdata/unicode.c (gconv_end): Likewise.
26875 * iconvdata/utf-16.c (gconv_end): Likewise.
26876 * iconvdata/utf-32.c (gconv_end): Likewise.
26877 * iconvdata/utf-7.c (base64): Likewise.
26878 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26879 * iconv/gconv_close.c (__gconv_close): Likewise.
26880 * iconv/gconv_open.c (__gconv_open): Likewise.
26881 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26882 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26883 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26884 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26885 (ucs4le_internal_loop_single): Likewise.
26886 * iconv/iconv.c (iconv): Likewise.
26887 * iconv/iconv_close.c: Likewise.
26888 * iconv/loop.c (SINGLE): Likewise.
26889 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26890 * include/atomic.h: Likewise.
26891 * inet/inet6_option.c (option_alloc): Likewise.
26892 * intl/bindtextdom.c (set_binding_values): Likewise.
26893 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26894 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26895 * intl/localealias.c (read_alias_file): Likewise.
26896 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26897 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26898 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26899 * libio/fmemopen.c (fmemopen): Likewise.
26900 * libio/iofgets.c (_IO_fgets): Likewise.
26901 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26902 * libio/iofgetws.c (fgetws): Likewise.
26903 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26904 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26905 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26906 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26907 * locale/findlocale.c (_nl_find_locale): Likewise.
26908 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26909 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26910 Likewise.
26911 * locale/setlocale.c (setlocale): Likewise.
26912 * login/programs/pt_chown.c (main): Likewise.
26913 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26914 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26915 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26916 (mmap, mmap64, mremap, munmap): Likewise.
26917 * math/e_exp2l.c: Likewise.
26918 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26919 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26920 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26921 * math/s_catan.c (__catan): Likewise.
26922 * math/s_catanf.c (__catanf): Likewise.
26923 * math/s_catanh.c (__catanh): Likewise.
26924 * math/s_catanhf.c (__catanhf): Likewise.
26925 * math/s_catanhl.c (__catanhl): Likewise.
26926 * math/s_catanl.c (__catanl): Likewise.
26927 * math/s_ccosh.c (__ccosh): Likewise.
26928 * math/s_ccoshf.c (__ccoshf): Likewise.
26929 * math/s_ccoshl.c (__ccoshl): Likewise.
26930 * math/s_cexp.c (__cexp): Likewise.
26931 * math/s_cexpf.c (__cexpf): Likewise.
26932 * math/s_cexpl.c (__cexpl): Likewise.
26933 * math/s_clog10.c (__clog10): Likewise.
26934 * math/s_clog10f.c (__clog10f): Likewise.
26935 * math/s_clog10l.c (__clog10l): Likewise.
26936 * math/s_clog.c (__clog): Likewise.
26937 * math/s_clogf.c (__clogf): Likewise.
26938 * math/s_clogl.c (__clogl): Likewise.
26939 * math/s_csin.c (__csin): Likewise.
26940 * math/s_csinf.c (__csinf): Likewise.
26941 * math/s_csinh.c (__csinh): Likewise.
26942 * math/s_csinhf.c (__csinhf): Likewise.
26943 * math/s_csinhl.c (__csinhl): Likewise.
26944 * math/s_csinl.c (__csinl): Likewise.
26945 * math/s_csqrt.c (__csqrt): Likewise.
26946 * math/s_csqrtf.c (__csqrtf): Likewise.
26947 * math/s_csqrtl.c (__csqrtl): Likewise.
26948 * math/s_ctan.c (__ctan): Likewise.
26949 * math/s_ctanf.c (__ctanf): Likewise.
26950 * math/s_ctanh.c (__ctanh): Likewise.
26951 * math/s_ctanhf.c (__ctanhf): Likewise.
26952 * math/s_ctanhl.c (__ctanhl): Likewise.
26953 * math/s_ctanl.c (__ctanl): Likewise.
26954 * math/w_pow.c: Likewise.
26955 * math/w_powf.c: Likewise.
26956 * math/w_powl.c: Likewise.
26957 * math/w_scalb.c (sysv_scalb): Likewise.
26958 * math/w_scalbf.c (sysv_scalbf): Likewise.
26959 * math/w_scalbl.c (sysv_scalbl): Likewise.
26960 * misc/error.c (error_tail): Likewise.
26961 * misc/pselect.c (__pselect): Likewise.
26962 * nis/nis_callback.c (__nis_create_callback): Likewise.
26963 * nis/nis_call.c (__nisfind_server): Likewise.
26964 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26965 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26966 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26967 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26968 * nis/nis_lookup.c (nis_lookup): Likewise.
26969 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26970 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26971 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26972 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26973 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26974 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26975 * nis/nss_compat/compat-initgroups.c (add_group)
26976 (internal_getgrent_r): Likewise.
26977 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26978 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26979 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26980 (internal_getspnam_r): Likewise.
26981 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26982 (_nss_nis_getaliasbyname_r): Likewise.
26983 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26984 (_nss_nis_getntohost_r): Likewise.
26985 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26986 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26987 (_nss_nis_getgrgid_r): Likewise.
26988 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26989 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26990 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26991 (_nss_nis_gethostbyname4_r): Likewise.
26992 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26993 (initgroups_netid): Likewise.
26994 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26995 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26996 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26997 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26998 (_nss_nis_getprotobynumber_r): Likewise.
26999 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27000 (_nss_nis_getsecretkey): Likewise.
27001 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27002 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27003 (_nss_nis_getpwuid_r): Likewise.
27004 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27005 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27006 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27007 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27008 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27009 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27010 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27011 Likewise.
27012 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27013 (_nss_nisplus_getntohost_r): Likewise.
27014 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27015 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27016 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27017 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27018 Likewise.
27019 * nis/nss_nisplus/nisplus-initgroups.c
27020 (_nss_nisplus_initgroups_dyn): Likewise.
27021 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27022 (_nss_nisplus_getnetbyaddr_r): Likewise.
27023 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27024 (_nss_nisplus_getprotobynumber_r): Likewise.
27025 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27026 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27027 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27028 Likewise.
27029 * nis/nss_nisplus/nisplus-service.c
27030 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27031 (_nss_nisplus_getservbyport_r): Likewise.
27032 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27033 (_nss_nisplus_getspnam_r): Likewise.
27034 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27035 Likewise.
27036 * nscd/aicache.c (addhstaiX): Likewise.
27037 * nscd/cache.c (cache_search, prune_cache): Likewise.
27038 * nscd/connections.c (register_traced_file, send_ro_fd)
27039 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27040 (main_loop_epoll): Likewise.
27041 * nscd/grpcache.c (addgrbyX): Likewise.
27042 * nscd/hstcache.c (addhstbyX): Likewise.
27043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27044 * nscd/mem.c (gc, mempool_alloc): Likewise.
27045 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27046 (addinnetgrX): Likewise.
27047 * nscd/nscd-client.h (__nscd_acquire_maplock)
27048 (__nscd_drop_map_ref): Likewise.
27049 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27050 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27051 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27052 Likewise.
27053 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27055 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27056 (__nscd_get_map_ref): Likewise.
27057 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27058 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27059 Likewise.
27060 * nscd/pwdcache.c (addpwbyX): Likewise.
27061 * nscd/selinux.c (preserve_capabilities): Likewise.
27062 * nscd/servicescache.c (addservbyX): Likewise.
27063 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27064 * posix/fnmatch.c (fnmatch): Likewise.
27065 * posix/getopt.c (_getopt_internal_r): Likewise.
27066 * posix/glob.c (glob, glob_in_dir): Likewise.
27067 * posix/wordexp.c (exec_comm_child): Likewise.
27068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27069 (getanswer_r, gaih_getanswer_slice): Likewise.
27070 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27071 * resolv/res_init.c: Likewise.
27072 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27073 * resolv/res_query.c (__libc_res_nquery): Likewise.
27074 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27075 Likewise.
27076 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27077 * stdio-common/perror.c (perror): Likewise.
27078 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27079 * stdio-common/tmpnam.c (tmpnam): Likewise.
27080 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27081 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27082 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27083 Likewise.
27084 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27085 * stdlib/putenv.c (putenv): Likewise.
27086 * stdlib/setenv.c (__add_to_environ): Likewise.
27087 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27088 * stdlib/strtol_l.c (INTERNAL): Likewise.
27089 * string/memmem.c (memmem): Likewise.
27090 * string/strerror.c (strerror): Likewise.
27091 * string/strnlen.c (__strnlen): Likewise.
27092 * string/test-memmem.c (simple_memmem): Likewise.
27093 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27094 * sunrpc/pm_getport.c (__get_socket): Likewise.
27095 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27096 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27097 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27098 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27099 Likewise.
27100 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27102 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27103 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27104 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27105 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27106 Likewise.
27107 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27108 Likewise.
27109 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27110 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27111 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27112 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27113 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27115 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27116 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27117 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27118 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27119 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27120 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27121 Likewise.
27122 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27123 Likewise.
27124 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27125 Likewise.
27126 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27128 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27129 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27130 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27131 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27132 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27135 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27136 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27138 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27139 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27141 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27142 Likewise.
27143 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27144 Likewise.
27145 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27146 Likewise.
27147 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27148 Likewise.
27149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27151 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27152 Likewise.
27153 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27154 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27155 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27156 * sysdeps/posix/sleep.c: Likewise.
27157 * sysdeps/posix/tempname.c: Likewise.
27158 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27159 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27160 Likewise.
27161 * sysdeps/powerpc/powerpc32/dl-machine.h
27162 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27163 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27165 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27166 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27167 Likewise.
27168 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27169 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27170 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27171 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27172 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27173 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27174 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27175 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27176 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27177 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27179 (elf_machine_lazy_rel): Likewise.
27180 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27182 (elf_machine_lazy_rel): Likewise.
27183 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27184 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27185 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27186 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27187 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27188 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27189 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27191 Likewise.
27192 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27193 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27194 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27195 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27196 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27197 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27198 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27199 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27200 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27201 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27202 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27203 Likewise.
27204 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27205 (__posix_fallocate64_l64): Likewise.
27206 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27207 (posix_fallocate): Likewise.
27208 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27209 Likewise.
27210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27211 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27212 (getifaddrs_internal): Likewise.
27213 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27214 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27215 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27216 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27217 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27218 (__posix_fallocate64_l64): Likewise.
27219 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27220 Likewise.
27221 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27222 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27223 (__get_clockfreq): Likewise.
27224 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27225 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27226 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27229 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27230 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27231 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27232 Likewise.
27233 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27234 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27235 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27236 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27237 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27238 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27239 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27240 Likewise.
27241 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27242 (posix_fallocate): Likewise.
27243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27244 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27245 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27246 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27247 (elf_machine_rela, elf_machine_rela_relative)
27248 (elf_machine_lazy_rel): Likewise.
27249 * time/asctime.c (asctime_internal): Likewise.
27250 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27251 * time/tzset.c (__tzset_parse_tz): Likewise.
27252 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27253 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27254 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27255 * wcsmbs/wcsmbsload.h: Likewise.
27256
27257 [BZ #15894]
27258 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27259
27260 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27261 (arena_get2): Remove THREAD_STATS conditionals.
27262 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27263 (__malloc_stats, int): Likewise.
27264
27265 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27266
27267 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27268 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27269
27270 * manual/setjmp.texi: Fix typos/grammar errors.
27271
27272 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27273 Only return early when n is <= 0. Delete unused return statement.
27274
27275 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27276 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27277 * debug/tst-longjmp_chk3.c: New file.
27278
27279 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27280 (test_main): Replace code with set_fortify_handler call.
27281 * debug/test-strcpy_chk.c: Likewise.
27282 * debug/tst-chk1.c: Likewise.
27283 * debug/tst-longjmp_chk.c: Likewise.
27284 * test-skeleton.c: Include fcntl.h & paths.h
27285 (set_fortify_handler): Define.
27286
27287 * debug/tst-longjmp_chk.c: Add header comment and include
27288 ../test-skeleton.c.
27289 (do_test): Mark static.
27290 (TEST_FUNCTION): Define.
27291
27292 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27293 (IP_PMTUDISC_INTERFACE): Likewise.
27294 (IP_MULTICAST_IF): Likewise.
27295 (IP_MULTICAST_TTL): Likewise.
27296 (IP_MULTICAST_LOOP): Likewise.
27297 (IP_ADD_MEMBERSHIP): Likewise.
27298 (IP_DROP_MEMBERSHIP): Likewise.
27299 (IP_UNBLOCK_SOURCE): Likewise.
27300 (IP_BLOCK_SOURCE): Likewise.
27301 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27302 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27303 (IP_MSFILTER): Likewise.
27304 (MCAST_JOIN_GROUP): Likewise.
27305 (MCAST_BLOCK_SOURCE): Likewise.
27306 (MCAST_UNBLOCK_SOURCE): Likewise.
27307 (MCAST_LEAVE_GROUP): Likewise.
27308 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27309 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27310 (MCAST_MSFILTER): Likewise.
27311 (IP_MULTICAST_ALL): Likewise.
27312 (IP_UNICAST_IF): Likewise.
27313
27314 * timezone/Makefile: Delete $(have-ksh) check.
27315 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27316 * timezone/tzselect.ksh: Add +x mode bits.
27317
27318 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27319 (ANON_INODE_FS_MAGIC): Likewise.
27320 (BDEVFS_MAGIC): Likewise.
27321 (BINFMTFS_MAGIC): Likewise.
27322 (BTRFS_TEST_MAGIC): Likewise.
27323 (CRAMFS_MAGIC_WEND): Likewise.
27324 (DEBUGFS_MAGIC): Likewise.
27325 (ECRYPTFS_SUPER_MAGIC): Likewise.
27326 (EXT3_SUPER_MAGIC): Likewise.
27327 (EXT4_SUPER_MAGIC): Likewise.
27328 (FUTEXFS_SUPER_MAGIC): Likewise.
27329 (HOSTFS_SUPER_MAGIC): Likewise.
27330 (HUGETLBFS_MAGIC): Likewise.
27331 (MINIX3_SUPER_MAGIC): Likewise.
27332 (MTD_INODE_FS_MAGIC): Likewise.
27333 (NILFS_SUPER_MAGIC): Likewise.
27334 (OPENPROM_SUPER_MAGIC): Likewise.
27335 (PIPEFS_MAGIC): Likewise.
27336 (PSTOREFS_MAGIC): Likewise.
27337 (QNX6_SUPER_MAGIC): Likewise.
27338 (RAMFS_MAGIC): Likewise.
27339 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27340 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27341 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27342 (SECURITYFS_MAGIC): Likewise.
27343 (SELINUX_MAGIC): Likewise.
27344 (SMACK_MAGIC): Likewise.
27345 (SOCKFS_MAGIC): Likewise.
27346 (SQUASHFS_MAGIC): Likewise.
27347 (STACK_END_MAGIC): Likewise.
27348 (TMPFS_MAGIC): Likewise.
27349 (USBDEVICE_SUPER_MAGIC): Likewise.
27350 (V9FS_MAGIC): Likewise.
27351 (XENFS_SUPER_MAGIC): Likewise.
27352 (CRAMFS_MAGIC): Fix typo in comment.
27353 (EXT2_SUPER_MAGIC): Update comment.
27354 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27355
27356 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27357
27358 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27359 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27360 * sysdeps/unix/sysv/linux/arm: Move directory from
27361 ports/sysdeps/unix/sysv/linux/arm.
27362 * README: Update listing for arm-*-linux-gnueabi.
27363
27364 * README: Remove mention of am33.
27365
27366 2014-02-07 Roland McGrath <roland@hack.frob.com>
27367
27368 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27369 than the comma operator, to avoid "rhs of comma has no effect"
27370 compiler warnings.
27371 (__sigfillset, __sigandset, __sigorset): Likewise.
27372 * include/signal.h (__sigemptyset): Likewise.
27373 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27374
27375 2014-02-07 Allan McRae <allan@archlinux.org>
27376
27377 * version.h (RELEASE): Set to "development".
27378 (VERSION): Set to "2.19.90"
27379 * NEWS: Add 2.20 section.
27380
27381 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27382
27383 [BZ #16529]
27384 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27385
27386 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27387
27388 * manual/contrib.texi: Update entry for Carlos O'Donell,
27389 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27390
27391 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27392
27393 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27394
27395 * sysdeps/unix/sysv/linux/kernel-features.h
27396 [__LINUX_KERNEL_VERSION >= 0x020621]
27397 (__ASSUME_PROC_PID_TASK_COMM): Define.
27398
27399 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27400
27401 [BZ #16398]
27402 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27403 conversion when destination buffer does not have enough space.
27404 * libio/tst-ftell-partial-wide.c: New test case.
27405 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27406
27407 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27408 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27409 Leonard and Allan McRae.
27410
27411 2014-02-04 David S. Miller <davem@davemloft.net>
27412
27413 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27414 32-bit.
27415
27416 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27417
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27419 New file
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27421 New file
27422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27423 New file.
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27425 New file.
27426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27427 New file.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27429 New file.
27430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27431 New file.
27432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27433 New file.
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27435 New file.
27436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27437 New file.
27438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27439 New file.
27440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27441 New file.
27442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27443 New file.
27444
27445 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27446
27447 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27448 * shlib-versions: Likewise.
27449
27450 2014-02-04 Roland McGrath <roland@hack.frob.com>
27451 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27452
27453 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27454 (abilist-pattern): New variable, set to %-le.abilist.
27455
27456 * Makerules (abilist-pattern): New variable.
27457 (vpath): Use $(abilist-pattern) in place of %.abilist.
27458 (check-abi-% pattern rule): Likewise.
27459 (check-abi, update-abi): Likewise.
27460
27461 2014-02-04 Eric Wong <normalperson@yhbt.net>
27462
27463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27464
27465 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27466
27467 * manual/startup.texi: Add next, previous, and top entries for
27468 the `Program Arguments' and `Environment Variables' nodes.
27469
27470 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27471
27472 * manual/macros.texi: Add comments before MTASC-safety macros.
27473
27474 * manual/users.texi: Document MTASC-safety properties.
27475
27476 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27477 (pthread_getspecific, pthread_setspecific): Format with
27478 @deftypefun, and add @safety note.
27479 * manual/signal.texi: Move comments that analyze the above
27480 functions to their home place.
27481
27482 2014-02-03 Allan McRae <allan@archlinux.org>
27483
27484 * po/sl.po: Update Slovenian translation from translation project.
27485
27486 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27487
27488 * manual/time.texi (timegm): Add missing blank after @c.
27489 Reported by Joseph Myers <joseph@codesourcery.com>.
27490
27491 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27492
27493 * manual/check-safety.sh: New.
27494 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27495
27496 * manual/terminal.texi: Document MTASC-safety properties.
27497
27498 * manual/filesys.texi: Document MTASC-safety properties.
27499
27500 * manual/errno.texi: Document MTASC-safety properties.
27501
27502 * manual/intro.texi: Document safety identifiers and
27503 conditionals.
27504
27505 * manual/string.texi (wcstok): Fix prototype.
27506 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27507
27508 * manual/time.texi: Document MTASC-safety properties.
27509
27510 * manual/string.texi: Document MTASC-safety properties.
27511
27512 * manual/threads.texi: Document MTASC-safety properties.
27513
27514 * manual/stdio.texi: Document MTASC-safety properties.
27515
27516 * manual/syslog.texi: Document MTASC-safety properties.
27517
27518 * manual/sysinfo.texi: Document MTASC-safety properties.
27519
27520 * manual/startup.texi: Document MTASC-safety properties.
27521
27522 * manual/socket.texi: Document MTASC-safety properties.
27523
27524 * manual/signal.texi: Document MTASC-safety properties.
27525
27526 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27527
27528 * manual/setjmp.texi: Document MTASC-safety properties.
27529
27530 * manual/search.texi: Document MTASC-safety properties.
27531
27532 * manual/resource.texi: Document MTASC-safety properties.
27533
27534 * manual/process.texi: Document MTASC-safety properties.
27535
27536 * manual/platform.texi: Document MTASC-safety properties.
27537
27538 * manual/pipe.texi: Document MTASC-safety properties.
27539
27540 * manual/pattern.texi: Document MTASC-safety properties.
27541
27542 * manual/message.texi: Document MTASC-safety properties.
27543
27544 [BZ #12751]
27545 * manual/memory.texi: Document MTASC-safety properties.
27546
27547 * manual/math.texi: Document MTASC-safety properties.
27548
27549 * manual/locale.texi: Document MTASC-safety properties.
27550
27551 * manual/llio.texi: Document MTASC-safety properties.
27552
27553 * manual/libdl.texi: New.
27554
27555 * manual/lang.texi: Document MTASC-safety properties.
27556
27557 * manual/job.texi: Document MTASC-safety properties.
27558
27559 * manual/getopt.texi: Document MTASC-safety properties.
27560
27561 * manual/ctype.texi: Document MTASC-safety properties.
27562
27563 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27564
27565 [BZ #16046]
27566 * csu/libc-tls.c (static_map): Remove variable.
27567 (__libc_setup_tls): Use main executable's link map for TLS data.
27568 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27569 casing for LM_ID_BASE and GL(dl_nns).
27570 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27571 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27572 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27573 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27574 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27575 member.
27576 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27577 l_phnum members.
27578
27579 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27580
27581 * manual/debug.texi: Document MTASC-safety properties.
27582
27583 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27584
27585 [BZ #16510]
27586 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27587 of __x86_64__ when disabling x87 inline functions.
27588
27589 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27590
27591 * manual/charset.texi: Document MTASC-safety properties.
27592
27593 * manual/crypt.texi: Document MTASC-safety properties.
27594
27595 * manual/conf.texi: Document MTASC-safety properties.
27596
27597 * manual/arith.texi: Document MTASC-safety properties.
27598
27599 * manual/argp.texi: Document MTASC-safety properties.
27600
27601 * manual/macros.texi: Introduce macros to document multi
27602 thread, asynchronous signal and asynchronous cancellation
27603 safety properties.
27604 * manual/intro.texi: Introduce the properties themselves.
27605
27606 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27607
27608 * sysdeps/sh/sh4/Makefile: New file.
27609
27610 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27611
27612 * math/gen-libm-test.pl ($srcdir): New variable.
27613 ($auto_input): Use it.
27614
27615 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27616
27617 [BZ #16506]
27618 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27619 access beyond array bounds when parsing netgroups file.
27620
27621 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27622 the old buffer before realloc.
27623
27624 2014-01-27 Allan McRae <allan@archlinux.org>
27625
27626 * po/fr.po: Update French translation from translation project.
27627
27628 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27629
27630 * sysdeps/sh/libm-test-ulps: Regenerate.
27631
27632 2014-01-24 David S. Miller <davem@davemloft.net>
27633
27634 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27635
27636 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27637
27638 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27639 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27640
27641 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27642
27643 [BZ #16474]
27644 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27645 string pointers after reallocation.
27646
27647 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27648
27649 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27650 __SH4A__ instead of __SH_FPU_ANY__.
27651
27652 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27653
27654 * sysdeps/sh/fpu_control.h: New file.
27655 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27656 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27657 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27658 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27659 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27660 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27661 * sysdeps/sh/sys/ucontext.h: Remove.
27662 * sysdeps/sh/sys: Remove directory.
27663
27664 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27665
27666 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27667 s390/sys/ucontext.h.
27668 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27670
27671 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27672
27673 [BZ #15605]
27674 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27675
27676 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27677
27678 [BZ#16431]
27679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27680 Adjust the vDSO correctly for internal calls.
27681 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27682
27683 2014-01-20 Allan McRae <allan@archlinux.org>
27684
27685 * po/ca.po: Update Catalan translation from translation project.
27686
27687 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27688
27689 * sysdeps/s390/sotruss-lib.c: New file.
27690
27691 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27692
27693 [BZ#16430]
27694 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27695 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27696 local calls issues by not having a PLT stub required for IFUNC calls.
27697 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27698
27699 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27700
27701 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27702 * math/test-fpucw-static.c: Likewise.
27703
27704 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27705
27706 [BZ #16453]
27707 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27708
27709 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27710
27711 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27712 implementation for powerpc.
27713
27714 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27715
27716 [BZ #14782]
27717 * sysdeps/posix/system.c (__libc_system): Do not enable
27718 asynchronous cancellation.
27719
27720 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27721
27722 [BZ #16427]
27723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27724 handling only for numbers special also in the IEEE case.
27725
27726 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27727
27728 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27729
27730 2014-01-11 Allan McRae <allan@archlinux.org>
27731
27732 * po/bg.po: Update Bulgarian translation from translation project.
27733
27734 * po/de.po: Update German translation from translation project.
27735
27736 2014-01-10 Roland McGrath <roland@hack.frob.com>
27737
27738 * sysdeps/generic/gcc-compat.h: New file.
27739
27740 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27741
27742 * benchtests/asin-inputs: Correct slow inputs.
27743 * benchtests/acos-inputs: Likewise.
27744
27745 2014-01-10 Allan McRae <allan@archlinux.org>
27746
27747 * po:sv.po: Update Swedish translation from translation project.
27748
27749 * po/vi.po: Update Vietnamese translation from translation project.
27750
27751 * po/eo.po: Update Esperanto translation from translation project.
27752
27753 * po/cs.po: Update Czech translation from translation project.
27754
27755 * po/nl.po: Update Dutch translation from translation project.
27756
27757 * po/pl.po: Update Polish translation from translation project.
27758
27759 * po/ru.po: Update Russian translation from translation project.
27760
27761 * po/uk.po: Update Ukrainian translation from translation project.
27762
27763 2014-01-08 Brooks Moses <bmoses@google.com>
27764
27765 * elf/dl-load.c: Fix comment typo.
27766
27767 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27768
27769 * po/header.pot: Rename to...
27770 * po/pot.header: ... this.
27771 * po/Makefile: Use pot.header.
27772
27773 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27774 Maxim Kuvyrkov <maxim@kugelworks.com>
27775
27776 [BZ #16394]
27777 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27778 SRC and DEST against LEN.
27779
27780 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27781
27782 [BZ #16414]
27783 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27784 implementation.
27785 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27786
27787 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27788
27789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27790
27791 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27792
27793 [BZ #16408]
27794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27795 for large positive arguments.
27796
27797 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27798
27799 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27800
27801 * math/auto-libm-test-in: Mark various tests with
27802 xfail-rounding:ldbl-128ibm.
27803 * math/auto-libm-test-out: Regenerated.
27804
27805 [BZ #16407]
27806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27807 Increase overflow threshold.
27808
27809 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27810
27811 [BZ #14286]
27812 * stdio-common/vfprintf.c: Check for integer overflow.
27813
27814 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27815
27816 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27817 the first argument and return value of __tls_get_addr_internal.
27818
27819 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27820
27821 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27822 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27823
27824 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27825
27826 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27827 * sysdeps/s390/rtld-global-offsets.sym: New file.
27828 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27829 GLIBC_2.19 symbol.
27830 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27831 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27832 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27833 ... this.
27834 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27835 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27836 ... this.
27837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27838 Regenerate.
27839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27840 Regenerate.
27841 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27842 halfs of GPRs for high_gprs contexts.
27843 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27844 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27845 field.
27846 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27847 uc_flags field.
27848 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27849 64 bit versions:
27850 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27851 for high GPRs (uc_high_gprs) and for future extensions
27852 (__reserved).
27853 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27854 for future extensions (__reserved).
27855 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27856 64 bit versions:
27857 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27858 SC_HIGHGPRS offset definition.
27859 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27860 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27861
27862 * Versions.def: Add GLIBC_2.19 for libpthread.
27863 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27864 siglongjmp for libpthread with GLIBC_2.19 symver.
27865 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27866 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27867 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27868 * sysdeps/s390/__longjmp.c: New file.
27869 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27870 * sysdeps/s390/longjmp.c: New file.
27871 * sysdeps/s390/setjmp.S: New file.
27872 * sysdeps/s390/sigjmp.S: New file.
27873 * sysdeps/s390/v1-longjmp.c: New file.
27874 * sysdeps/s390/v1-setjmp.h: New file.
27875 * sysdeps/s390/v1-sigjmp.c: New file.
27876 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27877 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27878 GLIBC_2.19 version.
27879 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27880 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27881 versioned symbols for ____longjmp_chk.
27882 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27883 Likewise.
27884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27885 Regenerate.
27886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27887 Regenerate.
27888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27889 Regenerate.
27890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27891 Regenerate.
27892 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27893 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27894 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27895 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27896 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27897 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27898 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27899 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27900 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27901 * sysdeps/s390/rtld-__longjmp.c: New file.
27902 * sysdeps/s390/rtld-setjmp.S: New file.
27903
27904 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27905
27906 [BZ #16400]
27907 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27908 Return -__logl (x) for small positive arguments without evaluating
27909 a polynomial.
27910
27911 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27912
27913 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27914 Rename to ...
27915 (__ptrace_peeksiginfo_args): ... this.
27916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27919
27920 2014-01-06 Allan McRae <allan@archlinux.org>
27921
27922 * inet/netinet/in.h: Fix typo in comment.
27923
27924 2014-01-05 Andreas Jaeger <aj@suse.de>
27925
27926 * sysdeps/i386/fpu/libm-test-ulps: Update.
27927
27928 2014-01-05 Allan McRae <allan@archlinux.org>
27929
27930 * po/libc.pot: Regenerated.
27931
27932 * malloc/memusagestat.c: Fix gettext call formatting.
27933
27934 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27935
27936 * nscd/nscd.c: Improve usage() output.
27937
27938 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27939
27940 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27941 * sysdeps/unix/sysv/linux/configure: Regenerated.
27942 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27943 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27944
27945 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27946
27947 [BZ #16390]
27948 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27949 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27950
27951 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27952
27953 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27954 extra tokens at end of #undef directive.
27955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27956 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27957 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27958
27959 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27960
27961 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27962
27963 * math/auto-libm-test-in: Mark various tests with
27964 xfail-rounding:ldbl-128ibm.
27965 * math/auto-libm-test-out: Regenerated.
27966
27967 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27968
27969 [BZ #16386]
27970 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27971 numbers with subnormal high part when calculating exponent.
27972
27973 [BZ #16385]
27974 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27975 fabs.
27976
27977 [BZ #16384]
27978 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27979 M_LN2l.
27980 (__ieee754_acoshl): Use __log1pl not __log1p.
27981
27982 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27983
27984 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27985 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27986 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27987 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27988 (reused_arena, arena_get2): Convert to GNU style.
27989 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27990 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27991 (memalign_check, __malloc_set_state): Likewise.
27992 * malloc/mallocbug.c (main): Likewise.
27993 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27994 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27995 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27996 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27997 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27998 (__posix_memalign, malloc_info): Likewise.
27999 * malloc/malloc.h: Likewise.
28000 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28001 (mallochook, memalignhook, reallochook, mabort): Likewise.
28002 * malloc/mcheck.h: Likewise.
28003 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28004 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28005 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28006 * malloc/morecore.c (__default_morecore): Likewise.
28007 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28008 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28009 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28010 (print_and_abort): Likewise.
28011 * malloc/obstack.h: Likewise.
28012 * malloc/set-freeres.c (__libc_freeres): Likewise.
28013 * malloc/tst-mallocstate.c (main): Likewise.
28014 * malloc/tst-mtrace.c (main): Likewise.
28015 * malloc/tst-realloc.c (do_test): Likewise.
28016
28017 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28018
28019 [BZ #16366]
28020 * nscd/netgroupcache.c (do_notfound): New function.
28021 (addgetnetgrentX): Use it.
28022
28023 [BZ # 16365]
28024 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28025 NSS_STATUS_NOTFOUND.
28026
28027 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28028
28029 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28031
28032 2014-01-01 Allan McRae <allan@archlinux.org>
28033
28034 * scripts/update-copyrights: Update configure input file suffix.
28035
28036 * NEWS: Update copyright year.
28037 * catgets/gencat.c: Likewise.
28038 * csu/version.c: Likewise.
28039 * debug/catchsegv.sh: Likewise.
28040 * debug/pcprofiledump.c: Likewise.
28041 * debug/xtrace.sh: Likewise.
28042 * elf/ldconfig.c: Likewise.
28043 * elf/ldd.bash.in: Likewise.
28044 * elf/pldd.c: Likewise.
28045 * elf/sotruss.ksh: Likewise.
28046 * elf/sprof.c: Likewise.
28047 * iconv/iconv_prog.c: Likewise.
28048 * iconv/iconvconfig.c: Likewise.
28049 * locale/programs/locale.c: Likewise.
28050 * locale/programs/localedef.c: Likewise.
28051 * login/programs/pt_chown.c: Likewise.
28052 * malloc/memusage.sh: Likewise.
28053 * malloc/memusagestat.c: Likewise.
28054 * malloc/mtrace.pl: Likewise.
28055 * manual/libc.texinfo: Likewise.
28056 * nscd/nscd.c: Likewise.
28057 * nss/getent.c: Likewise.
28058 * nss/makedb.c: Likewise.
28059 * posix/getconf.c: Likewise.
28060 * scripts/test-installation.pl: Likewise.
28061
28062 * All files with FSF copyright notices: Update copyright dates
28063 using scripts/update-copyrights.
28064 * intl/plural.c: Regenerated.
28065 * locale/programs/charmap-kw.h: Likewise.
28066 * locale/programs/locfile-kw.h: Likewise.
28067
28068 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28069
28070 * sysdeps/unix/sysv/linux/configure: Regenerated.
28071 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28072 the linux/fanotify.h header.
28073 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28074 HAVE_LINUX_FANOTIFY_H is defined.
28075
28076 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28077
28078 * benchtests/cos-inputs: New inputs.
28079 * benchtests/sin-inputs: Likewise.
28080
28081 * benchtests/atan-inputs: New inputs. Fix name of multiple
28082 precision fallback inputs.
28083
28084 * benchtests/atanh-inputs: New inputs.
28085 * benchtests/tanh-inputs: Likewise.
28086
28087 * benchtests/acosh-inputs: New inputs.
28088 * benchtests/asinh-inputs: Likewise.
28089
28090 * benchtests/cosh-inputs: New inputs.
28091 * benchtests/sinh-inputs: Likewise.
28092
28093 * benchtests/acos-inputs: Add more inputs.
28094 * benchtests/asin-inputs: Likewise.
28095
28096 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28097
28098 [BZ #16375]
28099 * manual/arith.texi: Fix spelling.
28100 * manual/charset.texi: Likewise.
28101 * manual/errno.texi: Likewise.
28102 * manual/filesys.texi: Likewise.
28103 * manual/lang.texi: Likewise.
28104 * manual/llio.texi: Likewise.
28105 * manual/locale.texi: Likewise.
28106 * manual/message.texi: Likewise.
28107 * manual/resource.texi: Likewise.
28108 * manual/search.texi: Likewise.
28109 * manual/setjmp.texi: Likewise.
28110 * manual/stdio.texi: Likewise.
28111 * manual/string.texi: Likewise.
28112 * manual/sysinfo.texi: Likewise.
28113 * manual/time.texi: Likewise.
28114
28115 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28116
28117 * po/sl.po: New file.
28118
28119 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28120
28121 * .gitignore: Add core/.gdbinit/.gdb_history.
28122
28123 2013-12-27 Allan McRae <allan@archlinux.org>
28124
28125 [BZ #16369]
28126 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28127 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28128
28129 2013-12-24 Brooks Moses <bmoses@google.com>
28130
28131 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28132 all compilers that claim C++98 compliance, not just GCC.
28133 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28134 Likewise.
28135
28136 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28137
28138 * NEWS: Restore accidentally deleted bug-fix entries.
28139
28140 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28141 Ondřej Bílka <neleai@seznam.cz>
28142
28143 [BZ #15073]
28144 * malloc/malloc.c (_int_free): Perform sanity check only if we
28145 have_lock.
28146
28147 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28148
28149 [BZ #12986]
28150 * manual/stdio.texi (String Input Conversions): Clarify that character
28151 classes are not supported.
28152
28153 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28154
28155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28156
28157 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28158
28159 [BZ #16337]
28160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28161 Calculate results for small negative arguments directly rather
28162 than using reflection formula with special underflow handling.
28163
28164 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28165 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28166 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28167 (fchflags): Likewise.
28168 (revoke): Likewise.
28169 (setlogin): Likewise.
28170 (sigaltstack): Likewise.
28171 (wait4): Likewise.
28172 (sigblock): Remove.
28173 (sigsetmask): Likewise.
28174 (wait3): Likewise.
28175 (waitpid): Likewise.
28176 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28177 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28178 file.
28179 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28180 * sysdeps/unix/bsd/Makefile: ... here.
28181 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28182 * sysdeps/unix/bsd/Versions: ... here.
28183 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28184 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28185 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28186 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28187 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28188 * sysdeps/unix/bsd/sigblock.c: ... here.
28189 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28190 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28191 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28192 * sysdeps/unix/bsd/sigvec.c: ... here.
28193 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28194 * sysdeps/unix/bsd/tcdrain.c: ... here.
28195 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28196 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28197 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28198 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28199 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28200 * sysdeps/unix/bsd/wait.c: ... here.
28201 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28202 * sysdeps/unix/bsd/wait3.c: ... here.
28203 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28204 * sysdeps/unix/bsd/waitpid.c: ... here.
28205
28206 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28207
28208 [BZ #16356]
28209 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28210 round-to-nearest for [!USE_AS_EXPM1L].
28211 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28212 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28213 more tests of exp and exp10. Expect some exp10 tests to miss
28214 exceptions or fail in directed rounding modes.
28215 * math/auto-libm-test-out: Regenerated.
28216 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28217 (exp10_test_tonearest): New function.
28218 (exp10_towardzero_test_data): New array.
28219 (exp10_test_towardzero): New function.
28220 (exp10_downward_test_data): New array.
28221 (exp10_test_downward): New function.
28222 (exp10_upward_test_data): New array.
28223 (exp10_test_upward): New function.
28224 (main): Call the new functions.
28225 * sysdeps/i386/fpu/libm-test-ulps: Update.
28226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28227
28228 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28229
28230 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28231 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28232 * math/auto-libm-test-out: Regenerated.
28233 * math/libm-test.inc (acosh_test_data): Add more tests.
28234 (atanh_test_data): Likewise.
28235 (ceil_test_data): Likewise.
28236 (copysign_test_data): Likewise.
28237 * sysdeps/i386/fpu/libm-test-ulps: Update.
28238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28239
28240 * timezone/checktab.awk: Update from tzcode 2013i.
28241 * timezone/private.h: Likewise.
28242 * timezone/scheck.c: Likewise.
28243 * timezone/tzfile.h: Likewise.
28244 * timezone/tzselect.ksh: Likewise.
28245 * timezone/zdump.c: Likewise.
28246 * timezone/zic.c: Likewise.
28247
28248 * math/auto-libm-test-in: Add tests of cpow.
28249 * math/auto-libm-test-out: Regenerated.
28250 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28251 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28252 mpc_cc_c.
28253 (func_calc_desc): Add mpc_cc_c union field.
28254 (test_functions): Add cpow.
28255 (special_fill_2pi): New function.
28256 (special_real_inputs): Add 2pi.
28257 (calc_generic_results): Handle mpc_cc_c.
28258 * sysdeps/i386/fpu/libm-test-ulps: Update.
28259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28260
28261 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28262 csqrt, ctan and ctanh.
28263 * math/auto-libm-test-out: Regenerated.
28264 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28265 (TEST_COND_x86): Likewise.
28266 (ccos_test_data): Use AUTO_TESTS_c_c.
28267 (ccosh_test_data): Likewise.
28268 (cexp_test_data): Likewise.
28269 (clog_test_data): Likewise.
28270 (csqrt_test_data): Likewise.
28271 (ctan_test_data): Likewise.
28272 (ctan_tonearest_test_data): Likewise.
28273 (ctan_towardzero_test_data): Likewise.
28274 (ctan_downward_test_data): Likewise.
28275 (ctan_upward_test_data): Likewise.
28276 (ctanh_test_data): Likewise.
28277 (ctanh_tonearest_test_data): Likewise.
28278 (ctanh_towardzero_test_data): Likewise.
28279 (ctanh_downward_test_data): Likewise.
28280 (ctanh_upward_test_data): Likewise.
28281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28282 mpc_c_c.
28283 (func_calc_desc): Add mpc_c_c union field.
28284 (FUNC_mpc_c_c): New macro.
28285 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28286 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28287 ctanh.
28288 (special_fill_min_subnorm_p120): New function.
28289 (special_real_inputs): Add min_subnorm_p120.
28290 (calc_generic_results): Handle mpc_c_c.
28291 * sysdeps/i386/fpu/libm-test-ulps: Update.
28292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28293
28294 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28295
28296 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28297 (do_sin_slow): New functions.
28298 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28299 (cslow2, csloww1, csloww2): Use the new functions.
28300
28301 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28302 Use M to change sign of result instead of X. Assume X is
28303 positive.
28304 (csloww1): Likewise.
28305 (__sin): Adjust.
28306 (__cos): Adjust.
28307
28308 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28309 arguments A and DA.
28310 (__sin): Adjust.
28311 (__cos): Likewise.
28312
28313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28314 (__cos): Likewise.
28315 (sloww1): Don't adjust sign of DX.
28316 (csloww1): Likewise.
28317 (sloww2): Use X directly and don't adjust sign of DX.
28318 (csloww2): Likewise.
28319
28320 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28321
28322 * math/auto-libm-test-in: Add tests of cabs and carg.
28323 * math/auto-libm-test-out: Regenerated.
28324 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28325 (carg_test_data): Likewise.
28326 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28327 mpc_c_f.
28328 (func_calc_desc): Add mpc_c_f union field.
28329 (test_functions): Add cabs and carg.
28330 (calc_generic_results): Handle mpc_c_f.
28331
28332 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28333 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28334 as a macro and a compat symbol.
28335 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28336 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28337 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28338 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28339 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28340 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28341 not use .hidden.
28342 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28343 Likewise.
28344 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28345 Likewise.
28346 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28347 Likewise.
28348 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28349 Likewise.
28350 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28351 Likewise.
28352 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28353 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28354 from GLIBC_2.3.2.
28355
28356 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28357
28358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28359
28360 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28361
28362 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28363 trailing whitespace removed.
28364 * scripts/config.guess: Update to version 2013-11-29.
28365 * scripts/config.sub: Update to version 2013-10-01.
28366
28367 * math/auto-libm-test-in: Add tests of sincos.
28368 * math/auto-libm-test-out: Regenerated.
28369 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28370 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28371 mpfr_f_11.
28372 (func_calc_desc): Add mpfr_f_11 union field.
28373 (test_functions): Add sincos.
28374 (calc_generic_results): Handle mpfr_f_11.
28375 * sysdeps/i386/fpu/libm-test-ulps: Update.
28376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28377
28378 2013-12-19 Andreas Schwab <schwab@suse.de>
28379
28380 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28381 CALL_MCOUNT.
28382 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28383 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28384 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28385
28386 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28387
28388 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28389 * sysdeps/i386/fpu/libm-test-ulps: Update.
28390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28391
28392 [BZ #16293]
28393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28394 round-to-nearest mode when using frndint.
28395 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28396 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28397 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28398 Likewise.
28399 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28400 sinh test to fail.
28401 * math/auto-libm-test-out: Regenerated.
28402 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28403 (TEST_COND_x86): Likewise.
28404 (expm1_tonearest_test_data): New array.
28405 (expm1_test_tonearest): New function.
28406 (expm1_towardzero_test_data): New array.
28407 (expm1_test_towardzero): New function.
28408 (expm1_downward_test_data): New array.
28409 (expm1_test_downward): New function.
28410 (expm1_upward_test_data): New array.
28411 (expm1_test_upward): New function.
28412 (main): Run the new test functions.
28413 * sysdeps/i386/fpu/libm-test-ulps: Update.
28414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28415
28416 * include/features.h: Update comment documenting feature test
28417 macros. Mention _DEFAULT_SOURCE in comment.
28418 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28419 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28420 _BSD_SOURCE and _SVID_SOURCE.
28421 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28422 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28423 !_SVID_SOURCE]: Likewise.
28424 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28425 (__USE_POSIX_IMPLICITLY): Define.
28426 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28427 (_POSIX_SOURCE): Undefine and redefine.
28428 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28429 (_POSIX_C_SOURCE): Likewise.
28430 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28431 (Feature Test Macros): Update documentation of default features.
28432
28433 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28434
28435 * benchtests/Makefile: Add bench-strtok.
28436 * benchtests/bench-strtok.c: New file: strtok benchtest.
28437
28438 2013-12-19 Allan McRae <allan@archlinux.org>
28439
28440 * manual/install.texi: Suppress menu for plain text output.
28441 * INSTALL: Regenerated.
28442
28443 2013-12-18 Brooks Moses <bmoses@google.com>
28444
28445 [BZ #15846]
28446 * misc/getauxval.c: Include errno.h.
28447 (__getauxval): Set errno to ENOENT if the requested type is not
28448 found.
28449 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28450 don't declare with __attribute_const__.
28451 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28452 * manual/startup.texi: Document that getauxval sets errno.
28453
28454 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28455
28456 * math/auto-libm-test-in: Add tests of jn and yn.
28457 * math/auto-libm-test-out: Regenerated.
28458 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28459 (yn_test_data): Likewise.
28460 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28461 mpfr_if_f.
28462 (func_calc_desc): Add mpfr_if_f union field.
28463 (FUNC_mpfr_if_f): New macro.
28464 (test_functions): Add jn and yn.
28465 (calc_generic_results): Assert type of second input for
28466 mpfr_ff_f. Handle mpfr_if_f.
28467 (output_for_one_input_case): Disable all checking for arguments
28468 fitting floating-point types in case of an integer argument.
28469 * sysdeps/i386/fpu/libm-test-ulps: Update.
28470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28471
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28473 Don't expect fegetround reference in libm.so.
28474
28475 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28476
28477 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28478 $(config-cflags-nofma).
28479
28480 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28481
28482 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28483 * math/auto-libm-test-out: Regenerated.
28484
28485 [BZ #16338]
28486 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28487 to determine exponent and adjust argument to have exponent of -1.
28488 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28489 log2.
28490 * math/auto-libm-test-out: Regenerated.
28491 * sysdeps/i386/fpu/libm-test-ulps: Update.
28492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28493
28494 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28495
28496 * manual/probes.texi: Remove cases when per-thread arenas are
28497 disabled.
28498
28499 2013-12-18 Andreas Schwab <schwab@suse.de>
28500
28501 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28502 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28503 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28504 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28505 * sysdeps/i386/i686/multiarch/Makefile: Update.
28506 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28507
28508 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28509
28510 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28511 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28512
28513 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28514
28515 [BZ #15968]
28516 Support TZ transition times < 00:00:00.
28517 This is needed for version-3 tz-format files; it supports time
28518 stamps past 2037 for America/Godthab (the only entry in the tz
28519 database for which this change is relevant).
28520 * manual/time.texi (TZ Variable): Document transition times
28521 from -167:59:59 through -00:00:01.
28522 * time/tzset.c (tz_rule): Time of day is now signed.
28523 (__tzset_parse_tz): Parse negative time of day.
28524
28525 Document TZ transition times >= 25:00:00.
28526 * manual/time.texi (TZ Variable): Document transition times from
28527 25:00:00 through 167:59:59. These are already supported, and this
28528 support will help with version-3 tz-format files.
28529
28530 * manual/time.texi (TZ Variable): Modernize North America example
28531 to reflect current (i.e., 2007-and-later) daylight saving rules.
28532
28533 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28534
28535 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28536
28537 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28538 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28541 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28542 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28543 * sysdeps/unix/bsd/clock.c: Likewise.
28544 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28545 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28546 * sysdeps/unix/bsd/init-posix.c: Likewise.
28547 * sysdeps/unix/bsd/poll.c: Likewise.
28548 * sysdeps/unix/bsd/ptsname.c: Likewise.
28549 * sysdeps/unix/bsd/seekdir.c: Likewise.
28550 * sysdeps/unix/bsd/setegid.c: Likewise.
28551 * sysdeps/unix/bsd/seteuid.c: Likewise.
28552 * sysdeps/unix/bsd/setgid.c: Likewise.
28553 * sysdeps/unix/bsd/setrgid.c: Likewise.
28554 * sysdeps/unix/bsd/setruid.c: Likewise.
28555 * sysdeps/unix/bsd/setsid.c: Likewise.
28556 * sysdeps/unix/bsd/setuid.c: Likewise.
28557 * sysdeps/unix/bsd/sigaction.c: Likewise.
28558 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28559 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28560 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28561 * sysdeps/unix/bsd/telldir.c: Likewise.
28562 * sysdeps/unix/bsd/times.c: Likewise.
28563 * sysdeps/unix/bsd/usleep.c: Likewise.
28564
28565 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28566 ($(objpfx)libbsd-compat.a): Remove rule.
28567
28568 * include/features.h (__FAVOR_BSD): Do not define.
28569 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28570 features conflicting with POSIX.
28571 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28572 (_BSD_SOURCE): Remove description of not being a subset of other
28573 feature test macros.
28574 * manual/job.texi (getpgrp): Do not document BSD version.
28575 (getpgid): Do not document by reference to BSD getpgrp.
28576 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28577 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28578 * signal/signal.h [__FAVOR_BSD]: Likewise.
28579 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28580 instead of making contents conditional on [__FAVOR_BSD].
28581 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28582
28583 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28584
28585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28586
28587 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28588
28589 [BZ #16314]
28590 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28591 values below 2**-450, not 2**-500.
28592 * math/auto-libm-test-in: Don't allow spurious underflow from
28593 hypot.
28594 * math/auto-libm-test-out: Regenerated.
28595
28596 [BZ #16316]
28597 [BZ #16330]
28598 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28599 values of ha and hb and sort them after adjusting subnormal
28600 arguments.
28601 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28602 Likewise.
28603 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28604 values of ea and eb and sort them after adjusting subnormal
28605 arguments.
28606 * math/auto-libm-test-in: Do not expect some hypot tests of
28607 subnormals to fail. Add more hypot tests.
28608 * math/auto-libm-test-out: Regenerated.
28609
28610 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28611
28612 [BZ #13304]
28613 * sysdeps/sh/s_fma.c: New file.
28614 * sysdeps/sh/s_fmaf.c: New file.
28615 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28616 version.
28617 * sysdeps/sh/Implies: Add sh/soft-fp.
28618
28619 2013-12-16 Roland McGrath <roland@hack.frob.com>
28620
28621 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28622 level of indirection to members `objname', `errstring', `malloced'.
28623 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28624 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28625 it as the __longjmp argument (just pass 1 instead).
28626 (_dl_catch_error): Initialize C with argument pointers and address of
28627 volatile local ERRCODE rather than copying values out of C at return.
28628
28629 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28630
28631 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28632 * math/auto-libm-test-out: Regenerated.
28633 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28634 (hypot_test_data): Likewise.
28635 (pow_test_data): Likewise.
28636 (pow_tonearest_test_data): Likewise.
28637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28638 mpfr_ff_f.
28639 (func_calc_desc): Add mpfr_ff_f union field.
28640 (FUNC_mpfr_ff_f): New macro.
28641 (test_functions): Add atan2, hypot and pow.
28642 (special_fill_min): New function.
28643 (special_fill_minus_min): Likewise.
28644 (special_fill_min_subnorm): Likewise.
28645 (special_fill_minus_min_subnorm): Likewise.
28646 (special_real_inputs): Add min, -min, min_subnorm and
28647 -min_subnorm.
28648 (calc_generic_results): Handle mpfr_ff_f.
28649 * sysdeps/i386/fpu/libm-test-ulps: Update.
28650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28651
28652 2013-12-16 Will Newton <will.newton@linaro.org>
28653
28654 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28655 (Aligned Memory Blocks): Add documentation for aligned_alloc
28656 and suggest it as an alternative to posix_memalign.
28657 (Hooks for Malloc): Document __memalign_hook is also called
28658 for aligned_alloc. (Summary of Malloc): Add summary for
28659 aligned alloc. Document __memalign_hook is also called
28660 for aligned_alloc.
28661
28662 2013-12-16 Will Newton <will.newton@linaro.org>
28663
28664 * manual/memory.texi (Malloc Examples): Clarify default
28665 alignment documentation. Suggest posix_memalign rather
28666 than memalign or valloc.
28667 (Aligned Memory Blocks): Remove suggestion to use memalign
28668 or valloc. Remove obsolete comment about BSD.
28669 Document memalign errno values and mark the function obsolete.
28670 Document posix_memalign returned error codes. Mark valloc
28671 as obsolete. (Hooks for Malloc): __memalign_hook is also
28672 called for posix_memalign and valloc.
28673 (Summary of Malloc): Add posix_memalign to function summary.
28674 __memalign_hook is also called for posix_memalign and valloc.
28675
28676 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28677
28678 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28679 TAYLOR_SIN.
28680 (__sin): Adjust.
28681 (__cos): Likewise.
28682 (sloww): Use mynumber union. Expand ternary operator into
28683 if-else statements.
28684 (cslow): use mynumber union.
28685
28686 2013-12-16 Allan McRae <allan@archlinux.org>
28687
28688 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28689 * configure: Regenerated.
28690
28691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28692
28693 [BZ #14120]
28694 * configure.ac: Added --enable-maintainer-mode. Check for
28695 autoconf when enabled.
28696 * configure: Regenerated.
28697
28698 * nscd/nscd.service: New file.
28699 * nscd/nscd.tmpfiles: New file.
28700
28701 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28702
28703 [BZ #12100]
28704 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28705 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28706 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28707 (strstr): Add __strstr_sse2_unaligned ifunc.
28708 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28709 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28710 (strcasestr): Remove __strcasestr_sse42 ifunc.
28711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28714
28715 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28716
28717 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28718 * sysdeps/sh/bits/fenv.h: ... here.
28719 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28720
28721 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28722
28723 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28724
28725 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28726 hypotf multiarch implementations.
28727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28729 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28730 multiarch hypot for PPC64.
28731 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28732 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28733 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28734 multiarch hypotf for PPC64.
28735
28736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28737 modff multiarch implementations.
28738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28741 multiarch modf for PPC64.
28742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28745 multiarch modff for PPC64.
28746
28747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28748 and logl multiarch implementations.
28749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28752 multiarch logb for PPC64.
28753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28756 multiarch logb for PPC64.
28757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28760 multiarch logb for PPC64.
28761
28762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28763 isinff multiarch implementation.
28764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28765 file.
28766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28768 multiarch isinf for PPC64.
28769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28770 file.
28771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28772 multiarch isinff for PPC64.
28773
28774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28775 finitef multiarch implementation.
28776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28777 file.
28778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28780 multiarch finite for PPC64.
28781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28782 file.
28783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28784 multiarch finitef for PPC64.
28785
28786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28787 lrint multiarch implementation.
28788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28789 file.
28790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28792 multiarch llrint for PPC64.
28793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28794 multiarch lrint for PPC64.
28795
28796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28797 copysignf multiarch implementation.
28798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28799 file.
28800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28801 file.
28802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28803 multiarch copysign for PPC64.
28804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28805 multiarch copysignf for PPC64.
28806
28807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28808 multiarch implementation.
28809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28810 file.
28811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28812 file.
28813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28814 file.
28815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28816 file.
28817 multiarch llround for PPC64.
28818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28819 multiarch trunc for PPC64.
28820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28821 multiarch truncf for PPC64.
28822
28823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28824 multiarch implementation.
28825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28826 file.
28827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28828 file.
28829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28830 file.
28831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28832 file.
28833 multiarch llround for PPC64.
28834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28835 multiarch round for PPC64.
28836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28837 multiarch roundf for PPC64.
28838
28839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28840 multiarch implementation.
28841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28842 file.
28843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28844 file.
28845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28846 file.
28847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28848 file.
28849 multiarch llround for PPC64.
28850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28851 multiarch floor for PPC64.
28852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28853 multiarch floorf for PPC64.
28854
28855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28856 multiarch implementation.
28857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28858 file.
28859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28860 file.
28861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28862 file.
28863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28864 file.
28865 multiarch llround for PPC64.
28866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28867 multiarch ceil for PPC64.
28868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28869 multiarch ceilf for PPC64.
28870
28871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28872 multiarch implementation.
28873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28874 file.
28875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28876 file.
28877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28878 file.
28879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28880 multiarch llround for PPC64.
28881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28882 multiarch lround for PPC64.
28883
28884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28885 multiarch implementation.
28886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28889 file.
28890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28893 multiarch isnan for PPC64.
28894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28895 multiarch isnanf for PPC64.
28896
28897 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28898 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28899 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28900 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28901 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28903
28904 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28908
28909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28910 multiarch implementations.
28911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28912 (__libc_ifunc_impl_list): Likewise.
28913 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28914 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28915 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28916 multiarch stpcpy for PPC64.
28917
28918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28919 multiarch implementations.
28920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28921 (__libc_ifunc_impl_list): Likewise.
28922 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28923 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28924 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28925 multiarch strcpy for PPC64.
28926
28927 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28928 redefine function name.
28929 (_wordcopy_fwd_dest_aligned): Likewise.
28930 (_wordcopy_bwd_aligned): Likewise.
28931 (_wordcopy_bwd_dest_aligned): Likewise.
28932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28933 multiarch implementations.
28934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28935 (__libc_ifunc_impl_list): Likewise.
28936 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28937 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28938 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28939 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28940 multiarch wcscpy for PPC64.
28941
28942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28943 multiarch implementations.
28944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28945 (__libc_ifunc_impl_list): Likewise.
28946 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28947 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28948 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28949 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28950 multiarch wcscpy for PPC64.
28951
28952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28953 multiarch implementations.
28954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28955 (__libc_ifunc_impl_list): Likewise.
28956 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28957 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28958 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28959 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28960 multiarch wcsrchr for PPC64.
28961
28962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28963 multiarch implementations.
28964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28965 (__libc_ifunc_impl_list): Likewise.
28966 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28967 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28968 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28969 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28970 multiarch wcschr for PPC64.
28971
28972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28973 multiarch implementations.
28974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28975 (__libc_ifunc_impl_list): Likewise.
28976 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28977 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28978 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28979 multiarch strchrnul for PPC64.
28980
28981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28982 implementations.
28983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28984 (__libc_ifunc_impl_list): Likewise.
28985 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28986 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28987 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28988 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28989 strchr for PPC64.
28990
28991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28992 implementations.
28993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28994 (__libc_ifunc_impl_list): Likewise.
28995 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28996 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28997 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28998 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28999 strncmp for PPC64.
29000
29001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29002 multiarch implementations.
29003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29004 (__libc_ifunc_impl_list): Likewise.
29005 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29006 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29007 strncasecmp for PPC64.
29008 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29009 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29010 multiarch strncasecmp_l for PPC64.
29011
29012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29013 multiarch implementations.
29014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29015 (__libc_ifunc_impl_list): Likewise.
29016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29018 multiarch strcasecmp for PPC64.
29019 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29020 file.
29021 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29022 multiarch strcasecmp_l for PPC64.
29023
29024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29025 implementations.
29026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29027 (__libc_ifunc_impl_list): Likewise.
29028 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29029 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29030 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29031 strnlen for PPC64.
29032
29033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29034 implementations.
29035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29036 (__libc_ifunc_impl_list): Likewise.
29037 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29038 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29039 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29040 strlen for PPC64.
29041
29042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29043 implementations.
29044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29045 (__libc_ifunc_impl_list): Likewise.
29046 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29047 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29048 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29049 rawmemrchr for PPC64.
29050
29051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29052 implementation.
29053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29054 (__libc_ifunc_impl_list): Likewise.
29055 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29056 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29057 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29058 memrchr for PPC64.
29059
29060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29061 implementation.
29062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29063 (__libc_ifunc_impl_list): Likewise.
29064 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29065 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29066 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29067 memchr for PPC64.
29068
29069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29070 implementation.
29071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29072 (__libc_ifunc_impl_list): Likewise.
29073 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29074 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29075 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29076 mempcpy for PPC64.
29077
29078 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29079 avoid cretion of __bzero symbol.
29080 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29081 Likewise.
29082 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29083 Likewise.
29084 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29085 Likewise.
29086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29087 multiarch implementations.
29088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29089 (__libc_ifunc_impl_list): Likewise.
29090 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29091 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29092 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29093 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29094 bzero for PPC32.
29095 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29096 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29097 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29098 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29099 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29100 memset for PPC64.
29101 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29102
29103 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29105 implementations.
29106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29107 (__libc_ifunc_impl_list): Likewise.
29108 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29109 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29110 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29111 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29112 memcmp for PPC64.
29113
29114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29115 multiarch for POWER/PPC64.
29116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29117 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29119 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29120 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29121 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29122 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29123 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29124 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29125 memcpy for PPC64.
29126
29127 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29128 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29129 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29130 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29131 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29132 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29133 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29134 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29135 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29136 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29137 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29138 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29139 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29140 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29141 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29149
29150 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29151
29152 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29153
29154 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29155
29156 * benchtests/Makefile (bench): Add exp2 and log2.
29157 (LDLIBS-bench-exp2): Add -lm.
29158 (LDLIBS-bench-log2): Likewise.
29159 * benchtests/exp2-inputs: New inputs file.
29160 * benchtests/log2-inputs: New inputs file.
29161 * benchtests/log-inputs: Add new inputs.
29162 * benchtests/tan-inputs: Likewise.
29163
29164 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29165
29166 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29167 definition...
29168 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29169 (csloww2): ... from here.
29170
29171 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29172 instead of structures.
29173 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29174 (POLYNOMIAL): Likewise.
29175 (TAYLOR_SLOW): Likewise.
29176 (__sin): Likewise.
29177 (__cos): Likewise.
29178 (slow1): Likewise.
29179 (slow2): Likewise.
29180 (sloww): Likewise.
29181 (sloww1); Likewise.
29182 (sloww2): Likewise.
29183 (bsloww1): Likewise.
29184 (bsloww2): Likewise.
29185 (cslow2): Likewise.
29186 (csloww): Likewise.
29187 (csloww1): Likewise.
29188 (csloww2): Likewise.
29189
29190 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29191
29192 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29193 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29194 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29195 * malloc/hooks.c (realloc_check): Likewise.
29196
29197 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29198 * malloc/arena.c: Remove PER_THREAD conditional.
29199 [!PER_THREAD]: Remove code.
29200 (ptmalloc_unlock_all2): Likewise.
29201 (ptmalloc_init): Likewise.
29202 (_int_new_arena): Likewise.
29203 (arena_get2): Likewise.
29204 * malloc/hooks.c (__malloc_get_state): Likewise.
29205 (__malloc_set_state): Likewise.
29206 * malloc/malloc.c: Likewise.
29207 (struct malloc_state): Likewise.
29208 (struct malloc_par): Likewise.
29209 (__libc_realloc): Likewise.
29210 (__libc_mallopt): Likewise.
29211
29212 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29213
29214 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29215
29216 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29217
29218 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29219 macro to a function. Check for zero perturb_byte.
29220 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29221
29222 * malloc/malloc.c: (force_reg): Remove.
29223 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29224 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29225 force_reg by atomic_forced_read.
29226 * malloc/arena.c (ptmalloc_init): Likewise.
29227 * malloc/hooks.c (top_check): Likewise.
29228
29229 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29230
29231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29232
29233 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29234
29235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29236
29237 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29238
29239 * math/auto-libm-test-in: Add tests of lgamma.
29240 * math/auto-libm-test-out: Regenerated.
29241 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29242 (M_LOG_2_SQRT_PIl): Likewise.
29243 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29244 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29245 mpfr_f_f1.
29246 (func_calc_desc): Add mpfr_f_f1 union field.
29247 (ARGS1): New macro.
29248 (ARGS2): Likewise.
29249 (ARGS3): Likewise.
29250 (ARGS4): Likewise.
29251 (RET1): Likewise.
29252 (RET2): Likewise.
29253 (CALC): Likewise.
29254 (FUNC): Likewise.
29255 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29256 (test_functions): Add lgamma.
29257 (calc_generic_results): Handle mpfr_f_f1.
29258 * sysdeps/i386/fpu/libm-test-ulps: Update.
29259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29260
29261 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29262
29263 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29264 __mpn_add_n for PowerPC64/POWER7.
29265 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29266 __mpn_sub_n for PowerPC64/POWER7.
29267
29268 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29269 __mpn_addmul_1 for PowerPC64.
29270 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29271 __mpn_submul_1 for PowerPC64.
29272 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29273 for PowerPC64.
29274 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29275 for PowerPC64.
29276
29277 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29278
29279 [BZ #15089]
29280 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29281
29282 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29283
29284 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29285
29286 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29287 add multiarch folders.
29288 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29289 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29290 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29291 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29292 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29293 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29294 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29295 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29296 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29297 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29298 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29305
29306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29307 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29309 New file.
29310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29311 New file.
29312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29313 multiarch __ieee754_hypot for PowerPC32.
29314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29315 New file.
29316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29317 New file.
29318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29319 multiarch __ieee754_hypotf for PowerPC32.
29320
29321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29322 long_double_symbol only if __logbl is defined.
29323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29324 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29326 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29328 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29329 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29330 path for implementation.
29331 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29332 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29334 logb, and logbl multiarch implementations for PowerPC32.
29335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29336 file.
29337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29338 file.
29339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29340 multiarch logb for PowerPC32.
29341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29342 file.
29343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29344 file.
29345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29346 multiarch logbf for PowerPC32.
29347 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29349 file.
29350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29351 multiarch logbl implementation for PowerPC32.
29352
29353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29354 and modff multiarch implementations.
29355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29356 New file.
29357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29358 New file.
29359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29360 multiarch modf for PowerPC32.
29361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29362 New file.
29363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29364 New file.
29365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29366 multiarch modff for PowerPC32.
29367
29368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29369 and lrintf multiarch implementations.
29370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29371 New file.
29372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29373 New file.
29374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29375 multiarch lrint for PowerPC32.
29376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29377 file: multiarch lrintf for PowerPC32.
29378
29379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29380 and lroundf multiarch implementations.
29381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29382 New file.
29383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29384 New file.
29385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29386 New file.
29387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29388 multiarch lround for PowerPC32.
29389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29390 file: multiarch lroundf for PowerPC32.
29391
29392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29393 copysign and copysignf multiarch implementations.
29394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29395 New file.
29396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29397 New file.
29398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29399 file: multiarch copysign for PowerPC32.
29400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29401 file: multiarch copysignf for PowerPC32.
29402
29403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29404 and truncf multiarch implementations.
29405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29406 New file.
29407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29408 file.
29409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29410 multiarch trunc for PowerPC32.
29411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29412 New file.
29413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29414 New file.
29415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29416 multiarch truncf for PowerPC32.
29417
29418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29419 and roundf multiarch implementations.
29420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29421 New file.
29422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29423 file.
29424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29425 multiarch round for PowerPC32.
29426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29427 New file.
29428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29429 New file.
29430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29431 multiarch roundf for PowerPC32.
29432
29433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29434 and floorf multiarch implementations.
29435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29436 New file.
29437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29438 file.
29439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29440 multiarch floor for PowerPC32.
29441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29442 New file.
29443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29444 New file.
29445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29446 multiarch floorf for PowerPC32.
29447
29448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29449 and ceilf multiarch implementations.
29450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29451 New file.
29452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29453 file.
29454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29455 multiarch ceil for PowerPC32.
29456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29457 New file.
29458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29459 file.
29460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29461 multiarch ceilf for PowerPC32.
29462
29463 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29464 is defined.
29465 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29466 FINITEF is defined.
29467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29468 and finitef multiarch implementations.
29469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29470 New file.
29471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29472 file.
29473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29474 multiarch finite for PowerPC32.
29475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29476 New file.
29477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29478 file: multiarch finitef for PowerPC32.
29479
29480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29481 and isinff multiarch implementations.
29482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29483 file.
29484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29485 file.
29486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29487 multiarch isinf for PowerPC32.
29488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29489 New file.
29490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29491 multiarch isinff for PowerPC32.
29492
29493 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29494 alias when __isnan is defined.
29495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29496 and isnanf multiarch implementations.
29497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29498 file.
29499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29500 file.
29501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29502 file.
29503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29504 file.
29505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29506 multiarch isnan for PowerPC32.
29507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29508 New file.
29509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29510 New file.
29511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29512 multiarch isnanf for PowerPC32.
29513
29514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29515 and sqrtf multiarch implementations.
29516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29517 file.
29518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29519 file.
29520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29521 multiarch sqrt for PowerPC32.
29522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29523 file.
29524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29525 file.
29526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29527 multiarch sqrtf for PowerPC32.
29528
29529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29530 and llroundf multiarch implementations.
29531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29532 New file.
29533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29534 New file.
29535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29536 New file.
29537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29538 file: multiarch llround for PowerPC32.
29539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29540 file: multiarch llroundf for PowerPC32.
29541
29542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29543 multiarch PowerPC32 fpu implementations.
29544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29545 New file.
29546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29547 New file.
29548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29549 multiarch llrint for PowerPC32.
29550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29551 New file.
29552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29553 New file.
29554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29555 file.
29556
29557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29558
29559 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29560 file.
29561 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29562 file.
29563 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29564 file.
29565 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29566 multiarch wordcopy for PPC32.
29567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29568 wordcopy objects.
29569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29570 (__libc_ifunc_impl_list): Likewise.
29571 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29572 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29574 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29575 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29576 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29577
29578 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29580 file.
29581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29582 file.
29583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29584 file.
29585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29586 multiarch wcscpy for PPC32.
29587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29588 multiarch objects.
29589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29590 (__libc_ifunc_impl_list): Likewise.
29591 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29592 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29593 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29594 sysdeps/powerpc/power6/wcscpy.c.
29595
29596 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29598 file.
29599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29600 file.
29601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29602 file.
29603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29604 multiarch wcsrchr for PPC32.
29605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29606 multiarch objects.
29607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29608 (__libc_ifunc_impl_list): Likewise.
29609 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29610 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29611 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29612 sysdeps/powerpc/power6/wcsrchr.c.
29613
29614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29615 file.
29616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29617 file.
29618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29620 multiarch wcschr for PPc32.
29621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29622 multiarch objects.
29623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29624 (__libc_ifunc_impl_list): Likewise.
29625 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29626 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29627 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29628 sysdeps/powerpc/power6/wcschr.c.
29629
29630 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29631 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29632 file.
29633 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29634 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29635 file: multiarch strchr for PPC32.
29636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29637 multiarch objects.
29638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29639 (__libc_ifunc_impl_list): Likewise.
29640
29641 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29642 name.
29643 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29644 file.
29645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29646 file.
29647 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29648 multiarch strchrnul for PPC32.
29649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29650 multiarch objects.
29651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29652 (__libc_ifunc_impl_list): Likewise.
29653
29654 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29655 file.
29656 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29657 multiarch strncasecmp for PPC32.
29658 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29659 file.
29660 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29661 multiarch strncasecmp_l for PPC32.
29662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29663 strncasecmp multiarch objects.
29664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29665 (__libc_ifunc_impl_list): Likewise.
29666
29667 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29668 file.
29669 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29670 multiarch strncasecmp for PPC32.
29671 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29672 New file.
29673 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29674 multiarch strcasecmp_l for PPC32.
29675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29676 multiarch objects.
29677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29678 (__libc_ifunc_impl_list): Likewise.
29679
29680 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29681 file.
29682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29683 file.
29684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29685 multiarch strncmp for PPC32.
29686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29687 multiarch objects.
29688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29689 (__libc_ifunc_impl_list): Likewise.
29690
29691 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29692 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29693 file.
29694 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29695 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29697 multiarch objects.
29698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29699 (__libc_ifunc_impl_list): Likewise.
29700
29701 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29702 file.
29703 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29704 file.
29705 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29707 multiarch objects.
29708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29709 (__libc_ifunc_impl_list): Likewise.
29710
29711 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29712 file.
29713 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29714 file.
29715 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29716 multiarch rawmemchr for PPC32.
29717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29718 multiarch objects.
29719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29720 (__libc_ifunc_impl_list): Likewise.
29721
29722 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29723 file.
29724 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29725 file.
29726 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29727 file: memrchr multiarch for PPC32.
29728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29729 multiarch objects.
29730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29731 (__libc_ifunc_impl_list): Likewise.
29732
29733 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29735 file.
29736 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29737 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29738 multiarch memchr for PPC32.
29739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29740 multiarch objects.
29741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29742 (__libc_ifunc_impl_list): Likewise.
29743
29744 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29745 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29746 file.
29747 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29748 file.
29749 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29750 file: multiarch mempcpy for PPC32.
29751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29752 multiarch objects.
29753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29754 (__libc_ifunc_impl_list): Likewise.
29755
29756 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29757 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29758 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29760 multiarch bzero for PPC32.
29761 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29762 file.
29763 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29764 file.
29765 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29766 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29767 file: multiarch memset for PPC32.
29768 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29770 memset multiarch objects.
29771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29772 (__libc_ifunc_impl_list): Likewise.
29773
29774 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29775 file.
29776 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29778 memcmp for PPC32.
29779 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29781 multiarch objects.
29782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29783 (__libc_ifunc_impl_list): Likewise.
29784
29785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29788 file.
29789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29790 file.
29791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29792 file.
29793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29794 multiarch memcpy for PPC32.
29795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29796 multiarch objects.
29797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29798 (__libc_ifunc_impl_list): Likewise.
29799
29800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29801 support multiarch for POWER/PPC32.
29802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29803 Likewise.
29804 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29806 Implies file to make multiarch folder appers before the fpu and
29807 default folder for power4 configuration.
29808
29809 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29810
29811 * scripts/bench.pl: Append volatile keyword to type.
29812
29813 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29814
29815 * sysdeps/sh/sotruss-lib.c: New file.
29816 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29817
29818 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29819
29820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29821
29822 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29823
29824 [BZ #6810]
29825 * math/w_tgamma.c: Include <errno.h>.
29826 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29827 * math/w_tgammaf.c: Include <errno.h>.
29828 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29829 * math/w_tgammal.c: Include <errno.h>.
29830 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29831 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29832 underflow. Add more tgamma tests.
29833 * math/auto-libm-test-out: Regenerated.
29834 * sysdeps/i386/fpu/libm-test-ulps: Update.
29835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29836
29837 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29838 sin, sinh, tan, tanh, tgamma, y0 and y1.
29839 * math/auto-libm-test-out: Regenerated.
29840 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29841 (TEST_COND_x86): Likewise.
29842 (M_E2l): Remove macro.
29843 (M_E3l): Likewise.
29844 (M_2_SQRT_PIl): Likewise.
29845 (M_SQRT_PIl): Likewise.
29846 (M_1_DIV_El): Likewise.
29847 (log_test_data): Use AUTO_TESTS_f_f.
29848 (log10_test_data): Likewise.
29849 (log1p_test_data): Likewise.
29850 (log2_test_data): Likewise.
29851 (sin_test_data): Likewise.
29852 (sin_tonearest_test_data): Likewise.
29853 (sin_towardzero_test_data): Likewise.
29854 (sin_downward_test_data): Likewise.
29855 (sin_upward_test_data): Likewise.
29856 (sinh_test_data): Likewise.
29857 (sinh_tonearest_test_data): Likewise.
29858 (sinh_towardzero_test_data): Likewise.
29859 (sinh_downward_test_data): Likewise.
29860 (sinh_upward_test_data): Likewise.
29861 (tan_test_data): Likewise.
29862 (tan_tonearest_test_data): Likewise.
29863 (tan_towardzero_test_data): Likewise.
29864 (tan_downward_test_data): Likewise.
29865 (tan_upward_test_data): Likewise.
29866 (tanh_test_data): Likewise.
29867 (tgamma_test_data): Likewise.
29868 (y0_test_data): Likewise.
29869 (y1_test_data): Likewise.
29870 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29871 (special_real_inputs): Add pi/4.
29872 * sysdeps/i386/fpu/libm-test-ulps: Update.
29873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29874
29875 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29876
29877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29878 "longjmp_target" static probes.
29879 (__longjmp): Rename to __longjmp_symbol.
29880 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29881 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29882 on which longjmp to generate.
29883 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29884 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29885 probe.
29886 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29887 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29888 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29889 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29890 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29891 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29893 __longjmp_symbol based on which __longjmp to generate.
29894 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29895 probe.
29896 (setjmp): Rename to setjmp_symbol.
29897 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29898 (_setjmp): Rename to _setjmp_symbol.
29899 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29900 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29901 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29902 which setjmp to generate.
29903 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29904 "longjmp_target" static probes.
29905
29906 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29907
29908 * benchtests/README: Add note about output arguments.
29909 * benchtests/bench-sincos.c: Remove file.
29910 * benchtests/sincos-inputs: New file.
29911 * scripts/bench.pl: Identify output arguments and define
29912 static variables for them.
29913
29914 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29915
29916 [BZ #15941]
29917 * Makefile (INSTALL): Add install-plain.texi as the primary
29918 dependency.
29919 * manual/install-plain.texi: New file.
29920 * manual/install.texi: Include node directive only for
29921 non-plaintext output.
29922
29923 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29924
29925 * stdlib/longlong.h: Update from GCC.
29926
29927 [BZ #6807]
29928 [BZ #15901]
29929 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29930 * math/w_j0f.c (y0f): Likewise.
29931 * math/w_j0l.c (__y0l): Likewise.
29932 * math/w_j1.c (y1): Likewise.
29933 * math/w_j1f.c (y1f): Likewise.
29934 * math/w_j1l.c (__y1l): Likewise
29935 * math/w_jn.c (yn): Likewise.
29936 * math/w_jnf.c (ynf): Likewise.
29937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29938 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29939 value for Bessel function domain errors outside _SVID_ mode.
29940 Adjust sign of return value for yn (negative integer, 0).
29941 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29942 by zero in return for negative x and set sign appropriately for
29943 negative n.
29944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29946 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29947 expectations in error cases.
29948 (y1_test_data): Likewise.
29949 (yn_test_data): Likewise.
29950 * sysdeps/i386/fpu/libm-test-ulps: Update.
29951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29952
29953 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29954
29955 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29956 "64" to "64-v1". Add "64-v2".
29957 (abi-64-options): Rename to ...
29958 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29959 (abi-64-condition): Rename to ...
29960 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29961 (abi-64-ld-soname): Rename to ...
29962 (abi-64-v1-ld-soname): ... this.
29963 (abi-64-v2-options): Define.
29964 (abi-64-v2-condition): Likewise.
29965 (abi-64-v2-ld-soname): Likewise.
29966 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29967 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29971
29972 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29973 Alan Modra <amodra@gmail.com>
29974
29975 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29976 New versions for use with the ELFv2 ABI.
29977 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29978 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29979 declaration.
29980 (struct La_ppc64v2_retval): Likewise.
29981 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29982 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29983 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29984 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29985 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29987 Do not save or restore CR.
29988 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29989 (_dl_profile_resolve): Do no save or restore CR. Support extended
29990 return values for ELFv2 ABI. Fix location of FPR return registers.
29991 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29992 updated values for _CALL_ELF == 2.
29993 (La_regs, La_retval, int_retval): Likewise.
29994
29995 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29996
29997 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29998 (FRAME_MIN_SIZE_PARM): Likewise.
29999 (FRAME_BACKCHAIN): Likewise.
30000 (FRAME_CR_SAVE): Likewise.
30001 (FRAME_LR_SAVE): Likewise.
30002 (FRAME_TOC_SAVE): Likewise.
30003 (FRAME_PARM_SAVE): Likewise.
30004 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30005 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30006 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30007 (call_mcount_parm_offset): New macro.
30008 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30009 (PROF): Use symbolic stack frame offsets.
30010 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30012 Redefine in terms of FRAME_MIN_SIZE.
30013 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30014 (_dl_profile_resolve): Likewise. Update comment.
30015 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30016 symbols stack frame offsets.
30017 (__sigsetjmp): Likewise.
30018 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30019 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30020 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30021 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30022
30023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30024 (FRAME_BACKCHAIN): Remove.
30025 (FRAME_CR_SAVE): Likewise.
30026 (FRAME_LR_SAVE): Likewise.
30027 (FRAME_COMPILER_DW): Likewise.
30028 (FRAME_LINKER_DW): Likewise.
30029 (FRAME_TOC_SAVE): Likewise.
30030 (FRAME_PARM_SAVE): Likewise.
30031 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30032 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30033 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30035 (CHECK_SP): Use symbolic stack frame offsets.
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30037 zone" instead of caller's parameter save area for temp storage.
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30039 Likewise. Also, use symbolic stack frame offsets.
30040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30041 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30042 our own stack frame instead of the caller's.
30043 (__socket): Use symbolic stack frame offsets.
30044
30045 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30046 Alan Modra <amodra@gmail.com>
30047
30048 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30049 Define.
30050 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30051 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30052 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30053 New function.
30054 (elf_machine_fixup_plt): Call it.
30055 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30056 reloc arguments.
30057 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30058 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30059 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30060 r2 before calling target.
30061
30062 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30063 Alan Modra <amodra@gmail.com>
30064
30065 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30066 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30067 versions of macros to support ELFv2 ABI.
30068 (LOCALENTRY): New macro.
30069 (ENTRY, EALIGN): Use it.
30070 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30071 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30072 fall through into ENTRY entry point.
30073 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30074 Only define if _CALL_ELF != 2.
30075
30076 (elf_machine_matches_host): Verify ABI version matches.
30077 (RTLD_START): Use LOCALENTRY.
30078 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30079 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30080 (PLT_ENTRY_WORDS): New macro.
30081 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30082 (elf_machine_runtime_setup): Support ELFv2 ABI.
30083 (elf_machine_fixup_plt): Likewise.
30084 (elf_machine_plt_conflict): Likewise.
30085 (resolve_ifunc): Likewise.
30086 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30087 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30088 Likewise.
30089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30090 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30092 (makecontext): Support ELFv2 ABI.
30093 * elf/elf.h (EF_PPC64_ABI): Define.
30094
30095 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30096
30097 * sysdeps/powerpc/powerpc64/sysdep.h
30098 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30099 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30100 (ENTRY) [ASSEMBLER]: ... but instead here ...
30101 (EALIGN) [ASSEMBLER]: ... and here.
30102 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30103 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30104 (ENTRY_2) [!ASSEMBLER]: Use it.
30105 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30106 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30108 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30109 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30111 Use PPC64_LOAD_FUNCPTR.
30112
30113 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30114
30115 2013-12-04 Alan Modra <amodra@gmail.com>
30116
30117 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30118 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30119 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30120 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30121
30122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30123 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30124 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30125 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30126 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30127 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30128
30129 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30130
30131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30132 (__makecontext): Fix incorrect CFI when backtracing out of
30133 context created via makecontext.
30134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30135 (__setcontext): Fix incorrect CFI during switch to new context.
30136 (__novec_setcontext): Likewise.
30137
30138 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30139
30140 [BZ #4772]
30141 * time/strptime_l.c (__strptime_internal): Allow modifiers
30142 in strptime.
30143 * time/tst-strptime.c (day_tests): Add testcase.
30144
30145 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30146
30147 * scripts/bench.pl: Skip over blank lines.
30148
30149 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30150
30151 [BZ #926]
30152 * manual/time.texi (Calendar Time): Clarify what timezone functions
30153 use.
30154
30155 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30156
30157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30158
30159 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30160
30161 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30162 implementation.
30163 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30164 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30165 * debug/memset_chk.c (__memset_chk): Likewise.
30166 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30167 * debug/strncpy_chk.c: Likewise.
30168
30169 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30170
30171 [BZ #15268]
30172 [BZ #15425]
30173 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30174 (__ieee754_exp): For possibly underflowing results, check size of
30175 result and force underflow exception if required.
30176 * math/auto-libm-test-in: Add more tests of exp.
30177 * math/auto-libm-test-out: Regenerated.
30178 * sysdeps/i386/fpu/libm-test-ulps: Update.
30179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30180
30181 [BZ #16283]
30182 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30183 * math/w_exp2f.c (__exp2f): Likewise.
30184 * math/w_exp2l.c (__exp2l): Likewise.
30185 * math/auto-libm-test-in: Do not allow missing errno on exp2
30186 underflow.
30187 * math/auto-libm-test-out: Regenerated.
30188
30189 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30190
30191 [BZ #16274]
30192 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30193 handle filename validation.
30194 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30195 (do_open): Delete.
30196
30197 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30198
30199 [BZ #6786]
30200 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30201 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30202 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30203 <float.h>.
30204 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30205 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30206 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30208 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30210 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30211 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30212 Add more erfc tests.
30213 * math/auto-libm-test-out: Regenerated.
30214 * sysdeps/i386/fpu/libm-test-ulps: Update.
30215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30216
30217 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30218 exp2, expm1, j0 and j1.
30219 * math/auto-libm-test-out: Regenerated.
30220 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30221 (erfc_test_data): Likewise.
30222 (exp_test_data): Likewise.
30223 (exp_tonearest_test_data): Likewise.
30224 (exp_towardzero_test_data): Likewise.
30225 (exp_downward_test_data): Likewise.
30226 (exp_upward_test_data): Likewise.
30227 (exp10_test_data): Likewise.
30228 (exp2_test_data): Likewise.
30229 (expm1_test_data): Likewise.
30230 (j0_test_data): Likewise.
30231 (j1_test_data): Likewise.
30232 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30233 (input_flag_type): Add flag_xfail_rounding.
30234 (input_flags): Add xfail-rounding.
30235 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30236 (output_for_one_input_case): Handle flag_xfail_rounding.
30237 * sysdeps/i386/fpu/libm-test-ulps: Update.
30238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30239
30240 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30241
30242 [BZ #16289]
30243 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30244 division by 0.
30245
30246 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30247
30248 [BZ #16195]
30249 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30250 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30251 (STAP_PROBE0): New macro.
30252 (STAP_PROBE1): Likewise.
30253 (STAP_PROBE2): Likewise.
30254 (STAP_PROBE3): Likewise.
30255 (STAP_PROBE4): Likewise.
30256
30257 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30258
30259 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30260
30261 2013-12-02 Steve Ellcey <sellcey@mips.com>
30262
30263 * benchtests/Makefile (bench): Add sqrt.
30264 (LDLIBS-bench-sqrt): New.
30265 * benchtests/sqrt-input: New.
30266
30267 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30268
30269 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30270 (GAIH_EAI): Likewise.
30271 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30272 (gaih_inet): Likewise.
30273 (getaddrinfo): Don't use GAIH_EAI.
30274
30275 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30276 (struct gaih): Remove definition.
30277
30278 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30279
30280 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30281 Use HERRNOP directly.
30282
30283 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30284
30285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30286
30287 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30288
30289 * math/gen-auto-libm-tests.c (test_functions): Add more
30290 single-argument functions.
30291 (special_fill_pi_2): New function.
30292 (special_fill_minus_pi_2): Likewise.
30293 (special_fill_pi_6): Likewise.
30294 (special_fill_minus_pi_6): Likewise.
30295 (special_fill_pi_3): Likewise.
30296 (special_fill_2pi_3): Likewise.
30297 (special_fill_e): Likewise.
30298 (special_fill_1_e): Likewise.
30299 (special_fill_e_minus_1): Likewise.
30300 (special_real_inputs): Add more special inputs.
30301 (output_for_one_input_case): Do not require ERANGE on underflow to
30302 zero if round-to-nearest result does not underflow to zero, unless
30303 exact results required.
30304 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30305 atan, atanh, cbrt, cos and cosh.
30306 * math/auto-libm-test-out: Regenerated.
30307 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30308 (acos_tonearest_test_data): Likewise.
30309 (acos_towardzero_test_data): Likewise.
30310 (acos_downward_test_data): Likewise.
30311 (acos_upward_test_data): Likewise.
30312 (acosh_test_data): Likewise.
30313 (asin_test_data): Likewise.
30314 (asin_tonearest_test_data): Likewise.
30315 (asin_towardzero_test_data): Likewise.
30316 (asin_upward_test_data): Likewise.
30317 (asinh_test_data): Likewise.
30318 (atan_test_data): Likewise.
30319 (atanh_test_data): Likewise.
30320 (cbrt_test_data): Likewise.
30321 (cos_test_data): Likewise.
30322 (cos_tonearest_test_data): Likewise.
30323 (cos_towardzero_test_data): Likewise.
30324 (cos_downward_test_data): Likewise.
30325 (cos_upward_test_data): Likewise.
30326 (cosh_test_data): Likewise.
30327 (cosh_tonearest_test_data): Likewise.
30328 (cosh_towardzero_test_data): Likewise.
30329 (cosh_downward_test_data): Likewise.
30330 (cosh_upward_test_data): Likewise.
30331 * sysdeps/i386/fpu/libm-test-ulps: Update.
30332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333
30334 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30335
30336 [BZ #6787]
30337 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30338 * math/w_exp10f.c (__exp10f): Likewise.
30339 * math/w_exp10l.c (__exp10l): Likewise.
30340 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30341 errno settings in existing tests.
30342
30343 [BZ #14032]
30344 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30345 precision control set to double precision.
30346 * sysdeps/i386/fpu/w_sqrt.c: New file.
30347 * math/auto-libm-test-in: Add more tests.
30348 * math/auto-libm-test-out: Update.
30349
30350 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30351 (sqrt_test_tonearest): New function.
30352 (sqrt_towardzero_test_data): New variable.
30353 (sqrt_test_towardzero): New function.
30354 (sqrt_downward_test_data): New variable.
30355 (sqrt_test_downward): New function.
30356 (sqrt_upward_test_data): New variable.
30357 (sqrt_test_upward): New function.
30358 (main): Call the new functions.
30359
30360 * math/gen-auto-libm-tests.c: New file.
30361 * math/auto-libm-test-in: Likewise.
30362 * math/auto-libm-test-out: New generated file.
30363 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30364 variables.
30365 (%beautify): Add generated representations of zero.
30366 (top level): Set $auto_input and call parse_auto_input.
30367 (beautify): Remove trailing "f" from hex float constants.
30368 (parse_args): Handle XFAIL_TEST.
30369 (convert_condition): New function.
30370 (or_value): Likewise.
30371 (or_cond_value): Likewise.
30372 (generate_testfile): Handle AUTO_TESTS_* lines.
30373 (parse_auto_input): New function.
30374 * math/libm-test.inc (XFAIL_TEST): New macro.
30375 (ERRNO_UNCHANGED): Update value.
30376 (ERRNO_EDOM): Likewise.
30377 (ERRNO_ERANGE): Likewise.
30378 (IGNORE_RESULT): Likewise.
30379 (TEST_COND_flt_32): New macro.
30380 (TEST_COND_dbl_64): Likewise.
30381 (TEST_COND_ldbl_96_intel): Likewise.
30382 (TEST_COND_ldbl_96_m68k): Likewise.
30383 (TEST_COND_ldbl_128): Likewise.
30384 (TEST_COND_ldbl_128ibm): Likewise.
30385 (TEST_COND_long32): Likewise.
30386 (TEST_COND_long64): Likewise.
30387 (TEST_COND_before_rounding): Likewise.
30388 (TEST_COND_after_rounding): Likewise.
30389 (enable_test): Handle XFAIL_TEST flag.
30390 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30391 with finite results.
30392 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30393 auto-libm-test-out.
30394
30395 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30396 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30397
30398 [BZ #16214]
30399 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30400 __tls_get_addr_internal instead of __tls_get_offset in order to
30401 avoid GOT pointer dependency. Make rtld export
30402 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30403 __tls_get_addr since we are a __tls_get_offset platform.
30404 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30405 GOT pointer being set up before.
30406 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30407
30408 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30409
30410 * manual/math.texi (Errors in Math Functions): Document accuracy
30411 goals.
30412
30413 [BZ #15004]
30414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30415 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30416 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30418 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30420 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30426 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30430
30431 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30432 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30433 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30434 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30435 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30436 Likewise.
30437 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30438 Likewise.
30439 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30440 Likewise.
30441 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30442 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30443 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30444 atomic-feupdateenv and flt-rounds.
30445 * sysdeps/powerpc/nofpu/Versions (libc): Add
30446 __atomic_feholdexcept, __atomic_feclearexcept,
30447 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30448 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30449 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30450 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30451 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30452 here.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30454 Update.
30455
30456 * manual/arith.texi (FP Exceptions): Document that exceptions may
30457 not be raised when matherr is used.
30458 (Math Error Reporting): Document overflow in directed rounding
30459 modes. Document that errno may not be set when finite values are
30460 returned on overflow. Document intent to set errno on underflow
30461 only for underflow to zero.
30462
30463 [BZ #16271]
30464 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30465 round-to-nearest then adjust result for other rounding modes.
30466 * include/fenv.h (fegetround): Use libm_hidden_proto.
30467 * math/fegetround.c (fegetround): Use libm_hidden_def.
30468 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30469 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30470 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30471 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30472 Likewise.
30473 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30474 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30475 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30476 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30477
30478 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30479
30480 [BZ #16077]
30481 * nss/Versions (libnss_files): Add
30482 _nss_files_gethostbyname3_r.
30483 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30484 New function.
30485 (HOST_DB_LOOKUP): Remove macro.
30486 (_nss_files_gethostbyname_r): Implement function without the
30487 HOST_DB_LOOKUP macro.
30488 (_nss_files_gethostbyname2_r): Likewise.
30489
30490 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30491
30492 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30493
30494 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30495
30496 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30497 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30498 warning.
30499
30500 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30501
30502 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30503 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30504 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30505 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30506 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30507 __fe_nomask_env_priv and attribute_hidden.
30508 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30509 (libc_feupdateenv_test_ppc): Likewise.
30510 (libc_feresetround_ppc): Likewise.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30512 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30513 compat_symbol macro.
30514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30515 (__fe_nomask_env): Likewise.
30516 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30517
30518 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30519
30520 * string/Makefile: Remove ifunc tests.
30521 * string/test-string.h: Define TEST_IFUNC.
30522 * string/test-bcopy-ifunc.c: Remove.
30523 * string/test-bzero-ifunc.c: Likewise.
30524 * string/test-memccpy-ifunc.c: Likewise.
30525 * string/test-memchr-ifunc.c: Likewise.
30526 * string/test-memcmp-ifunc.c: Likewise.
30527 * string/test-memcpy-ifunc.c: Likewise.
30528 * string/test-memmem-ifunc.c: Likewise.
30529 * string/test-memmove-ifunc.c: Likewise.
30530 * string/test-mempcpy-ifunc.c: Likewise.
30531 * string/test-memrchr-ifunc.c: Likewise.
30532 * string/test-memset-ifunc.c: Likewise.
30533 * string/test-rawmemchr-ifunc.c: Likewise.
30534 * string/test-stpcpy-ifunc.c: Likewise.
30535 * string/test-stpncpy-ifunc.c: Likewise.
30536 * string/test-strcasecmp-ifunc.c: Likewise.
30537 * string/test-strcasestr-ifunc.c: Likewise.
30538 * string/test-strcat-ifunc.c: Likewise.
30539 * string/test-strchr-ifunc.c: Likewise.
30540 * string/test-strchrnul-ifunc.c: Likewise.
30541 * string/test-strcmp-ifunc.c: Likewise.
30542 * string/test-strcpy-ifunc.c: Likewise.
30543 * string/test-strcspn-ifunc.c: Likewise.
30544 * string/test-strlen-ifunc.c: Likewise.
30545 * string/test-strncasecmp-ifunc.c: Likewise.
30546 * string/test-strncat-ifunc.c: Likewise.
30547 * string/test-strncmp-ifunc.c: Likewise.
30548 * string/test-strncpy-ifunc.c: Likewise.
30549 * string/test-strnlen-ifunc.c: Likewise.
30550 * string/test-strpbrk-ifunc.c: Likewise.
30551 * string/test-strrchr-ifunc.c: Likewise.
30552 * string/test-strspn-ifunc.c: Likewise.
30553 * string/test-strstr-ifunc.c: Likewise.
30554
30555 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30556
30557 * benchtests/Makefile: Remove ifunc tests.
30558 * benchtests/bench-string.h: Define TEST_IFUNC.
30559 * benchtests/bench-bcopy-ifunc.c: Remove.
30560 * benchtests/bench-bzero-ifunc.c: Likewise.
30561 * benchtests/bench-memccpy-ifunc.c: Likewise.
30562 * benchtests/bench-memchr-ifunc.c: Likewise.
30563 * benchtests/bench-memcmp-ifunc.c: Likewise.
30564 * benchtests/bench-memcpy-ifunc.c: Likewise.
30565 * benchtests/bench-memmem-ifunc.c: Likewise.
30566 * benchtests/bench-memmove-ifunc.c: Likewise.
30567 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30568 * benchtests/bench-memrchr-ifunc.c: Likewise.
30569 * benchtests/bench-memset-ifunc.c: Likewise.
30570 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30571 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30572 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30573 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30574 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30575 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30576 * benchtests/bench-strcat-ifunc.c: Likewise.
30577 * benchtests/bench-strchr-ifunc.c: Likewise.
30578 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30579 * benchtests/bench-strcmp-ifunc.c: Likewise.
30580 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30581 * benchtests/bench-strcpy-ifunc.c: Likewise.
30582 * benchtests/bench-strcspn-ifunc.c: Likewise.
30583 * benchtests/bench-strlen-ifunc.c: Likewise.
30584 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30585 * benchtests/bench-strncat-ifunc.c: Likewise.
30586 * benchtests/bench-strncmp-ifunc.c: Likewise.
30587 * benchtests/bench-strncpy-ifunc.c: Likewise.
30588 * benchtests/bench-strnlen-ifunc.c: Likewise.
30589 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30590 * benchtests/bench-strrchr-ifunc.c: Likewise.
30591 * benchtests/bench-strsep-ifunc.c: Likewise.
30592 * benchtests/bench-strspn-ifunc.c: Likewise.
30593 * benchtests/bench-strstr-ifunc.c: Likewise.
30594
30595 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30596
30597 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30598
30599 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30600
30601 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30602 * rt/aio.h: Likewise.
30603 * sysdeps/gnu/bits/utmp.h: Likewise.
30604 * sysdeps/gnu/bits/utmpx.h: Likewise.
30605 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30606 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30607 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30608 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30609 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30610 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30611 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30612 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30613 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30614 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30615 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30616 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30617 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30619 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30620 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30621 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30622 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30623 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30624 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30625 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30626 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30627 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30628 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30629 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30631 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30632 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30633 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30634 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30635 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30636 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30637 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30638 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30639 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30640 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30641 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30642 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30643 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30645 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30646 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30647
30648 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30649
30650 [BZ #16245]
30651 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30652 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30653
30654 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30655
30656 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30657 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30658 Likewise.
30659
30660 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30661
30662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30663 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30664 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30665 (__fesetround): Remove define.
30666 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30667 rounding and exceptions handling.
30668 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30669 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30670 (__fe_nomask_env): Likewise.
30671 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30672 __fegetround instead of fegetround.
30673 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30674 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30675
30676 2013-11-21 Roland McGrath <roland@hack.frob.com>
30677
30678 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30679 it's there.
30680
30681 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30682
30683 2013-11-21 Meador Inge <meadori@codesourcery.com>
30684
30685 [BZ #11157]
30686 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30687 (encrypt_r): Likewise.
30688 * malloc/obstack.h (obstack_free): Likewise.
30689 * posix/unistd.h (encrypt): Likewise.
30690
30691 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30692
30693 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30694 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30695 DL_CALL_DT_FINI() that call the functions directly.
30696 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30697 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30698 * elf/dl-fini.c: Likewise.
30699
30700 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30701
30702 * malloc/hooks.c (memalign_check): Add alignment rounding.
30703 * malloc/malloc.c (_mid_memalign): New function.
30704 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30705 Implement by calling _mid_memalign.
30706 * manual/probes.texi (Memory Allocation Probes): Remove
30707 memory_valloc_retry and memory_pvalloc_retry.
30708
30709 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30710
30711 * locale/programs/locarchive.c (open_archive): Add const
30712 qualifier to ARCHIVEFNAME and copy default fname to
30713 DEFAULT_FNAME.
30714
30715 [BZ #15601]
30716 * libio/tst-widetext.input: Rename Oriya to Odia.
30717 * locale/iso-639.def: Likewise.
30718
30719 * manual/probes.texi (Mathematical Function Probes): Add
30720 documentation for sin, cos, asin and acos probes.
30721 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30722 (__sin32): Add slowasin probe.
30723 (__cos32): Add slowacos probe.
30724 (__mpsin): Add slowsin probe.
30725 (__mpcos): Add slowcos probe.
30726
30727 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30728
30729 [BZ #15483]
30730 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30731 thread-local __sim_exceptions_thread and global
30732 __sim_exceptions_global.
30733 (__sim_disabled_exceptions): Change to thread-local
30734 __sim_disabled_exceptions_thread and global
30735 __sim_disabled_exceptions_global.
30736 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30737 and global __sim_round_mode_global.
30738 (__simulate_exceptions): Use thread-local floating-point state and
30739 set global state from it as needed.
30740 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30741 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30742 __sim_round_mode_thread.
30743 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30744 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30745 and global __sim_exceptions_global.
30746 (__sim_disabled_exceptions): Change to thread-local
30747 __sim_disabled_exceptions_thread and global
30748 __sim_disabled_exceptions_global.
30749 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30750 and global __sim_round_mode_global.
30751 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30752 (SIM_SET_GLOBAL): Likewise.
30753 * sysdeps/powerpc/soft-fp/sfp-machine.h
30754 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30755 __sim_round_mode_thread.
30756 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30757 __sim_disabled_exceptions_thread.
30758 (__sim_exceptions): Change to __sim_exceptions_thread.
30759 (__sim_disabled_exceptions): Change to
30760 __sim_disabled_exceptions_thread.
30761 (__sim_round_mode): Change to __sim_round_mode_thread.
30762 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30763 thread-local floating-point state and set global state from it as
30764 needed.
30765 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30766 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30767 (__sim_disabled_exceptions): Remove extern declaration.
30768 (feenableexcept): Use thread-local floating-point state and set
30769 global state from it as needed.
30770 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30771 extern declaration.
30772 (__sim_disabled_exceptions): Likewise.
30773 (__sim_round_mode): Likewise.
30774 (__fegetenv): Use thread-local floating-point state.
30775 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30776 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30777 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30778 floating-point state and set global state from it as needed.
30779 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30780 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30781 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30782 Likewise.
30783 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30784 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30785 Likewise.
30786 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30787 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30788 Use __sim_round_mode_thread.
30789 * math/test-fenv-tls.c: New file.
30790 * math/Makefile (tests): Add test-fenv-tls.
30791 ($(objpfx)test-fenv-tls): Depend on
30792 $(common-objpfx)nptl/libpthread.so.
30793
30794 2013-11-19 Andreas Schwab <schwab@suse.de>
30795
30796 * locale/programs/locale.c (show_info): Decode wordarray elements.
30797 * locale/categories.def (LC_MONETARY): Add element for
30798 _NL_MONETARY_CRNCYSTR.
30799 * locale/C-monetary.c (conversion_rate): New variable.
30800 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30801 element.
30802
30803 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30804
30805 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30806 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30807
30808 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30809
30810 * elf/Makefile (tst-auxv): New test.
30811 * elf/tst-auxv.c: New
30812 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30813
30814 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30815
30816 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30817 (hidden_proto): Caller changed.
30818 (hidden_tls_proto): New macro.
30819 (libc_hidden_tls_proto): Likewise.
30820 (rtld_hidden_tls_proto): Likewise.
30821 (libm_hidden_tls_proto): Likewise.
30822 (libresolv_hidden_tls_proto): Likewise.
30823 (librt_hidden_tls_proto): Likewise.
30824 (libdl_hidden_tls_proto): Likewise.
30825 (libnss_files_hidden_tls_proto): Likewise.
30826 (libnsl_hidden_tls_proto): Likewise.
30827 (libnss_nisplus_hidden_tls_proto): Likewise.
30828 (libutil_hidden_tls_proto): Likewise.
30829
30830 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30831
30832 [BZ #10253]
30833 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30834 (decompose_rpath): Defer expansion to fillin_rpath.
30835 (_dl_init_paths): Pass linkmap to fillin_rpath.
30836
30837 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30838
30839 * benchtests/Makefile: Add strsep.
30840 * benchtests/bench-strsep.c: New file: strsep benchtest.
30841 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30842
30843 2013-11-18 Andreas Schwab <schwab@suse.de>
30844
30845 * locale/programs/locale.c (show_info) [case byte]: Check for
30846 '\377' instead of '\177'.
30847 * locale/C-monetary.c (not_available): Always use "\377".
30848 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30849 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30850 detect unavailable sign_posn locale elements.
30851 * locale/localeconv.c (__localeconv): For grouping and
30852 mon_grouping handle "\177" and "\377" like no grouping.
30853 (INT_ELEM): New macro. Use it to set all numeric members.
30854 * locale/programs/ld-monetary.c (monetary_read)
30855 <tok_mon_grouping>: Normalize single -1 to the empty string.
30856 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30857 Likewise.
30858
30859 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30860
30861 [BZ #16055]
30862 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30863 when we match (nil).
30864 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30865
30866 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30867
30868 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30869 (NO_TEST_INLINE): Update value.
30870 (ERRNO_UNCHANGED): Likewise.
30871 (ERRNO_EDOM): Likewise.
30872 (ERRNO_ERANGE): Likewise.
30873 (IGNORE_RESULT): Likewise.
30874 (check_float_internal): Check signs of NaN results if
30875 TEST_NAN_SIGN used.
30876 (check_complex): Pass TEST_NAN_SIGN flag through to second
30877 check_float_internal call.
30878 (copysign_test_data): Add tests with quiet NaNs as second
30879 argument. Use TEST_NAN_SIGN.
30880 (fabs_test_data): Add test of negative quiet NaN argument. Use
30881 TEST_NAN_SIGN.
30882 (signbit_test_data): Add tests of quiet NaN argument.
30883 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30884
30885 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30886 $ignore_result.
30887 (parse_args): Handle function results specified as IGNORE.
30888 * math/libm-test.inc (IGNORE_RESULT): New macro.
30889 (check_float_internal): Do not check numerical result if flag
30890 IGNORE_RESULT set.
30891 (check_complex): Pass through IGNORE_RESULT to second
30892 check_float_internal call.
30893 (check_int): Do not check numerical result if flag IGNORE_RESULT
30894 set.
30895 (check_long): Likewise.
30896 (check_bool): Likewise.
30897 (check_longlong): Likewise.
30898 (lrint_test_data): Add tests of infinite and NaN arguments.
30899 (lrint_tonearest_test_data): Likewise.
30900 (lrint_towardzero_test_data): Likewise.
30901 (lrint_downward_test_data): Likewise.
30902 (lrint_upward_test_data): Likewise.
30903 (llrint_test_data): Likewise.
30904 (llrint_tonearest_test_data): Likewise.
30905 (llrint_towardzero_test_data): Likewise.
30906 (llrint_downward_test_data): Likewise.
30907 (llrint_upward_test_data): Likewise.
30908 (lround_test_data): Likewise.
30909 (llround_test_data): Likewise.
30910
30911 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30912 (ERRNO_UNCHANGED): Update value.
30913 (ERRNO_EDOM): Likewise.
30914 (ERRNO_ERANGE): Likewise.
30915 (NO_TEST_INLINE_FLOAT): New macro.
30916 (NO_TEST_INLINE_DOUBLE): Likewise.
30917 (enable_test): New function.
30918 (RUN_TEST_f_f): Check enable_test before running test.
30919 (RUN_TEST_2_f): Likewise.
30920 (RUN_TEST_fff_f): Likewise.
30921 (RUN_TEST_c_f): Likewise.
30922 (RUN_TEST_f_f1): Likewise.
30923 (RUN_TEST_fF_f1): Likewise.
30924 (RUN_TEST_fI_f1): Likewise.
30925 (RUN_TEST_ffI_f1): Likewise.
30926 (RUN_TEST_c_c): Likewise.
30927 (RUN_TEST_cc_c): Likewise.
30928 (RUN_TEST_f_i): Likewise.
30929 (RUN_TEST_f_i_tg): Likewise.
30930 (RUN_TEST_ff_i_tg): Likewise.
30931 (RUN_TEST_f_b): Likewise.
30932 (RUN_TEST_f_b_tg): Likewise.
30933 (RUN_TEST_f_l): Likewise.
30934 (RUN_TEST_f_L): Likewise.
30935 (RUN_TEST_fFF_11): Likewise.
30936 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30937 conditionals.
30938 (cosh_test_data): Likewise.
30939 (exp_test_data): Likewise.
30940 (expm1_test_data): Likewise.
30941 (hypot_test_data): Likewise.
30942 (pow_test_data): Likewise.
30943 (sinh_test_data): Likewise.
30944 (tanh_test_data): Likewise.
30945 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30946 flags argument.
30947
30948 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30949 tests with quiet NaN input and output.
30950 (acosh_test_data): Likewise.
30951 (asin_test_data): Likewise.
30952 (asinh_test_data): Likewise.
30953 (atan_test_data): Likewise.
30954 (atanh_test_data): Likewise.
30955 (atan2_test_data): Likewise.
30956 (cbrt_test_data): Likewise.
30957 (cos_test_data): Likewise.
30958 (cosh_test_data): Likewise.
30959 (erf_test_data): Likewise.
30960 (erfc_test_data): Likewise.
30961 (exp_test_data): Likewise.
30962 (exp10_test_data): Likewise.
30963 (exp2_test_data): Likewise.
30964 (expm1_test_data): Likewise.
30965 (hypot_test_data): Likewise.
30966 (j0_test_data): Likewise.
30967 (j1_test_data): Likewise.
30968 (jn_test_data): Likewise.
30969 (lgamma_test_data): Likewise.
30970 (log_test_data): Likewise.
30971 (log10_test_data): Likewise.
30972 (log1p_test_data): Likewise.
30973 (log2_test_data): Likewise.
30974 (pow_test_data): Likewise.
30975 (scalb_test_data): Likewise.
30976 (sin_test_data): Likewise.
30977 (sincos_test_data): Likewise.
30978 (sinh_test_data): Likewise.
30979 (tan_test_data): Likewise.
30980 (tanh_test_data): Likewise.
30981 (tgamma_test_data): Likewise.
30982 (y0_test_data): Likewise.
30983 (y1_test_data): Likewise.
30984 (yn_test_data): Likewise.
30985
30986 [BZ #16167]
30987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30988 argument being NaN and avoid computations with second argument in
30989 that case.
30990 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30991 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30992 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30993
30994 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30995
30996 * locale/iso-639.def: Add Chitwani Tharu (the).
30997
30998 2013-11-14 Andreas Schwab <schwab@suse.de>
30999
31000 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31001 word instead of empty string.
31002
31003 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31004
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31006 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31008 (__fe_nomask_env): Likewise.
31009
31010 2013-11-13 Steve Ellcey <sellcey@mips.com>
31011
31012 * benchtests/bench-timing.h: Include time.h.
31013
31014 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 [BZ #15997]
31017 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31018 to 3.4.0 for x32.
31019 * sysdeps/unix/sysv/linux/configure: Regenerated.
31020
31021 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31022
31023 [BZ #16151]
31024 * stdlib/strtod_l.c (round_and_return): Do not consider
31025 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31026 exponent one less than half the least subnormal exponent.
31027 * stdlib/test-strtod-round-data: Add more tests.
31028 * stdlib/tst-strtod-round.c (tests): Regenerated.
31029
31030 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31031
31032 [BZ #14143]
31033 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31034 (__fe_mask_env): Likewise.
31035 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31036 libm_hidden_proto and add function prototype.
31037 (__fe_mask_env): Add function prototype.
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31039 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31041 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31043 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31044
31045 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31046
31047 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31048 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31049
31050 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31051
31052 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31053 of htab_find_slot().
31054
31055 2013-11-11 David S. Miller <davem@davemloft.net>
31056
31057 [BZ #16150]
31058 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31059 symbol in the non-vis3 case in static builds.
31060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31061 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31062 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31063 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31064
31065 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31066
31067 [BZ #387]
31068 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31069 it is empty.
31070
31071 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31072
31073 * benchtests/Makefile: Add bench-strtod.
31074 * benchtests/bench-strtod.c: New file: strtod benchtest
31075
31076 2013-11-11 Andreas Schwab <schwab@suse.de>
31077
31078 [BZ #16153]
31079 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31080 terminating NUL in key length.
31081
31082 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31083
31084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31085 Add artificial ODP entry for vDSO symbol for PPC64.
31086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31087 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31088
31089 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31090
31091 [BZ #15374]
31092 * nss/getent.c (services_keys): Recognize services starting with digit.
31093
31094 2013-11-06 David S. Miller <davem@davemloft.net>
31095
31096 [BZ #15985]
31097 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31098 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31099
31100 2013-11-06 Will Newton <will.newton@linaro.org>
31101
31102 * manual/memory.texi (Malloc Examples): Remove register
31103 keyword from examples.
31104
31105 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31106
31107 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31108
31109 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31110
31111 [BZ #6981]
31112 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31113 depending on [__GCC_IEC_559 > 0].
31114 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31115 depending on [__GCC_IEC_559_COMPLEX > 0].
31116
31117 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31118
31119 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31120 to iso-639.def.
31121
31122 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31123
31124 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31125
31126 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31127
31128 [BZ #16112]
31129 * malloc/malloc (malloc_info): Do not handle first bin as
31130 special case.
31131
31132 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31133
31134 * locale/iso-639.def: Add Central Nahuatl (nhn).
31135
31136 2013-11-01 Bruno Haible <bruno@clisp.org>
31137
31138 [BZ #7003]
31139 * manual/math.texi (BSD Random): Specify range upper bound as
31140 in POSIX.
31141
31142 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31143
31144 * locale/iso-639.def: Add Meadow Mari (mhr).
31145
31146 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31147
31148 [BZ #14752], [BZ #15763]
31149 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31150 Validate name.
31151 * rt/tst_shm.c: Add test for escaping directory.
31152
31153 2013-10-31 Andreas Schwab <schwab@suse.de>
31154
31155 [BZ #15917]
31156 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31157 followed by 'x' as part of digit sequence.
31158 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31159
31160 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31161
31162 [BZ #16037]
31163 * configure.ac: allow GNU Make 4.0 and greater.
31164 * configure: Regenerated.
31165
31166 2013-10-30 Will Newton <will.newton@linaro.org>
31167
31168 [BZ #16038]
31169 * malloc/hooks.c (memalign_check): Limit alignment to the
31170 maximum representable power of two.
31171 * malloc/malloc.c (__libc_memalign): Likewise.
31172 * malloc/tst-memalign.c (do_test): Add test for very
31173 large alignment values.
31174 * malloc/tst-posix_memalign.c (do_test): Likewise.
31175
31176 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31177
31178 [BZ #11087]
31179 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31180 (munmap_chunk): Likewise.
31181 (mremap_chunk): Likewise.
31182
31183 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31184
31185 [BZ #15799]
31186 * stdlib/div.c (div): Remove obsolete code.
31187 * stdlib/ldiv.c (ldiv): Likewise.
31188 * stdlib/lldiv.c (lldiv): Likewise.
31189
31190 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31191
31192 [BZ #16071]
31193 * nss/nss_files/files-XXX.c (get_contents_ret): New
31194 enumerator.
31195 (get_contents): New function.
31196 (internal_getent): Use it. Expand size of LINEBUFLEN.
31197
31198 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31199
31200 * configure.in: Moved to ...
31201 * configure.ac: ... here. Change reference to configure.in
31202 to configure.ac.
31203 * sysdeps/arm/preconfigure.ac: ... here.
31204 configure.in to configure.ac.
31205 * sysdeps/gnu/configure.in: Moved to ...
31206 * sysdeps/gnu/configure.ac: ... here.
31207 * sysdeps/i386/configure.in: Moved to ...
31208 * sysdeps/i386/configure.ac: ... here.
31209 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31210 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31211 * sysdeps/mach/configure.in: Moved to ...
31212 * sysdeps/mach/configure.ac: ... here.
31213 * sysdeps/mach/hurd/configure.in: Moved to ...
31214 * sysdeps/mach/hurd/configure.ac: ... here.
31215 * sysdeps/powerpc/configure.in: Moved to ...
31216 * sysdeps/powerpc/configure.ac: ... here.
31217 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31218 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31219 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31220 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31221 * sysdeps/s390/s390-32/configure.in: Moved to ...
31222 * sysdeps/s390/s390-32/configure.ac: ... here.
31223 * sysdeps/s390/s390-64/configure.in: Moved to ...
31224 * sysdeps/s390/s390-64/configure.ac: ... here.
31225 * sysdeps/sh/configure.in: Moved to ...
31226 * sysdeps/sh/configure.ac: ... here.
31227 * sysdeps/sparc/configure.in: Moved to ...
31228 * sysdeps/sparc/configure.ac: ... here.
31229 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31230 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31231 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31232 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31233 * sysdeps/x86_64/configure.in: Moved to ...
31234 * sysdeps/x86_64/configure.ac: ... here.
31235 * sysdeps/x86_64/preconfigure.in: Moved to ...
31236 * sysdeps/x86_64/preconfigure.ac: ... here.
31237 * aclocal.m4: Change reference to configure.in to configure.ac.
31238 * config.h.in: Likewise.
31239 * manual/install.texi: Likewise.
31240 * manual/maint.texi: Likewise.
31241 * Makefile: Likewise.
31242 * malloc/Makefile: Likewise.
31243 * nscd/Makefile: Likewise.
31244 * Makeconfig: Change reference to configure.in and
31245 preconfigure.in to configure.ac and preconfigure.ac
31246 respectively.
31247 * INSTALL: Regenerated.
31248 * configure: Likewise.
31249 * sysdeps/gnu/configure: Likewise.
31250 * sysdeps/i386/configure: Likewise.
31251 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31252 * sysdeps/mach/configure: Likewise.
31253 * sysdeps/mach/hurd/configure: Likewise.
31254 * sysdeps/powerpc/configure: Likewise.
31255 * sysdeps/powerpc/powerpc32/configure: Likewise.
31256 * sysdeps/powerpc/powerpc64/configure: Likewise.
31257 * sysdeps/s390/s390-32/configure: Likewise.
31258 * sysdeps/s390/s390-64/configure: Likewise.
31259 * sysdeps/sh/configure: Likewise.
31260 * sysdeps/sparc/configure: Likewise.
31261 * sysdeps/unix/sysv/linux/configure: Likewise.
31262 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31263 * sysdeps/x86_64/configure: Likewise.
31264 * sysdeps/x86_64/preconfigure: Likewise.
31265
31266 2013-10-29 Andreas Schwab <schwab@suse.de>
31267
31268 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31269
31270 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31271
31272 * benchtests/pow-inputs: Add new inputs.
31273
31274 * benchtests/exp-inputs: Add new inputs.
31275
31276 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31277 conditional check for return value.
31278 (__cos32): Likewise.
31279
31280 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31281
31282 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31283 to provide a boost for large inputs with word alignment.
31284 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31285 implementation based on optimized PPC64 strcpy.
31286 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31287 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31288 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31289 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31290
31291 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31292
31293 [BZ #2801]
31294 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31295
31296 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31297
31298 [BZ #14876]
31299 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31300 * time/tst-strptime.c (day_tests): Add testcase.
31301
31302 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31303
31304 [BZ #14029]
31305 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31306
31307 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31308
31309 [BZ #16074]
31310 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31311 MAP_FAILED on error.
31312
31313 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31314
31315 [BZ #16072]
31316 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31317 heap for large requests.
31318
31319 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31320
31321 [BZ #9954]
31322 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31323 result if the result has no associated interface.
31324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31325 interface for all 127.X.Y.Z addresses.
31326
31327 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31328
31329 * locale/iso-639.def: Add Ligurian (lij)
31330
31331 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31332
31333 [BZ #15825]
31334 * sunrpc/rpc_main.c: Document rpcgen -5.
31335
31336 2013-10-19 Michael Stahl <mstahl@redhat.com>
31337
31338 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31339
31340 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31341
31342 [BZ #10278]
31343 * posix/glob.c: Match only directories when trailing slash is present.
31344 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31345 (main): Add testcase.
31346
31347 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31348
31349 [BZ #15670]
31350 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31351
31352 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31353
31354 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31355 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31356 AUTH_DES and cindex for FIPS 140-2.
31357 (DES Encryption): Add cindex FIPS 46-3.
31358
31359 * locale/locarchive.h (struct locarhandle): Add fname.
31360 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31361 if an optional argument was specified to --list-archive,
31362 otherwise NULL.
31363 * locale/programs/locarchive.c (show_archive_content): Take new
31364 argument fname and pass it via ah.fname to open_archive.
31365 * locale/programs/localedef.h: Update decl.
31366 (open_archive): If AH->fname is non-null, open that file
31367 rather than the default file name, and don't ignore ENOENT.
31368 (create_archive): Set AH.fname to NULL.
31369 (delete_locales_from_archive): Likewise.
31370 (add_locales_to_archive): Likewise.
31371 * locale/programs/locfile.c (write_all_categories): Likewise.
31372
31373 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31374 Aldy Hernandez <aldyh@redhat.com>
31375
31376 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31377 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31378 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31379 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31380 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31381 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31382 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31383 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31384 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31385 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31386 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31387 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31388 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31389 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31390 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31391 Likewise.
31392 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31393 Likewise.
31394 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31395 Likewise.
31396 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31397 Likewise.
31398 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31399 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31400 Likewise.
31401 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31402 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31403 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31404 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31405 Likewise.
31406 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31407 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31408 * sysdeps/powerpc/preconfigure: Likewise.
31409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31410 Likewise.
31411 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31412 Replace contents of file by #include of <fenv_libc.h>.
31413 * sysdeps/powerpc/soft-fp/sfp-machine.h
31414 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31415 and <sys/prctl.h>.
31416 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31425 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31426 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31427 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31429 Allow copysignl PLT reference to be missing.
31430
31431 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31432 Joseph Myers <joseph@codesourcery.com
31433
31434 [BZ #15948]
31435 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31436 single character.
31437 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31438
31439 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31440
31441 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31442 * elf/tst-tls1.c: Likewise.
31443 * elf/tst-tls10.h: Likewise.
31444 * elf/tst-tls14.c: Likewise.
31445 * elf/tst-tls2.c: Likewise.
31446 * elf/tst-tls3.c: Likewise.
31447 * elf/tst-tls4.c: Likewise.
31448 * elf/tst-tls5.c: Likewise.
31449 * elf/tst-tls6.c: Likewise.
31450 * elf/tst-tls7.c: Likewise.
31451 * elf/tst-tls8.c: Likewise.
31452 * elf/tst-tls9.c: Likewise.
31453 * elf/tst-tlsmod1.c: Likewise.
31454 * elf/tst-tlsmod13.c: Likewise.
31455 * elf/tst-tlsmod13a.c: Likewise.
31456 * elf/tst-tlsmod14a.c: Likewise.
31457 * elf/tst-tlsmod16a.c: Likewise.
31458 * elf/tst-tlsmod16b.c: Likewise.
31459 * elf/tst-tlsmod2.c: Likewise.
31460 * elf/tst-tlsmod3.c: Likewise.
31461 * elf/tst-tlsmod4.c: Likewise.
31462 * elf/tst-tlsmod5.c: Likewise.
31463 * elf/tst-tlsmod6.c: Likewise.
31464
31465 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31466
31467 [BZ #12486]
31468 * malloc/malloc.c: remove checks for statistics.
31469
31470 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31471
31472 [BZ #15277]
31473 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31474 * inet/tst-network.c: Add testcase.
31475
31476 2013-10-17 Andreas Schwab <schwab@suse.de>
31477
31478 [BZ #15218]
31479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31480 to determine canonical name.
31481
31482 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31483
31484 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31485 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31487 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31489 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31490 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31491 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31492 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31493 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31495 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31496 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31497 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31498 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31499 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31501 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31502 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31503 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31507 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31508 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31509 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31510 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31511 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31512 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31513 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31514 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31516 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31517 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31518 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31519 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31520 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31521 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31522 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31523 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31524 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31525 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31526 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31527 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31528 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31529 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31530 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31531 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31532 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31534 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31535 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31536 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31537 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31539 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31541 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31542
31543 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31544
31545 [BZ #16041]
31546 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31547 make result into a quiet NaN.
31548
31549 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31550
31551 * soft-fp/adddf3.c: Fix horizontal whitespace.
31552 * soft-fp/addsf3.c: Likewise.
31553 * soft-fp/addtf3.c: Likewise.
31554 * soft-fp/divdf3.c: Likewise.
31555 * soft-fp/divsf3.c: Likewise.
31556 * soft-fp/divtf3.c: Likewise.
31557 * soft-fp/double.h: Likewise.
31558 * soft-fp/eqdf2.c: Likewise.
31559 * soft-fp/eqsf2.c: Likewise.
31560 * soft-fp/eqtf2.c: Likewise.
31561 * soft-fp/extenddftf2.c: Likewise.
31562 * soft-fp/extended.h: Likewise.
31563 * soft-fp/extendsfdf2.c: Likewise.
31564 * soft-fp/extendsftf2.c: Likewise.
31565 * soft-fp/extendxftf2.c: Likewise.
31566 * soft-fp/fixdfdi.c: Likewise.
31567 * soft-fp/fixdfsi.c: Likewise.
31568 * soft-fp/fixdfti.c: Likewise.
31569 * soft-fp/fixsfdi.c: Likewise.
31570 * soft-fp/fixsfsi.c: Likewise.
31571 * soft-fp/fixsfti.c: Likewise.
31572 * soft-fp/fixtfdi.c: Likewise.
31573 * soft-fp/fixtfsi.c: Likewise.
31574 * soft-fp/fixtfti.c: Likewise.
31575 * soft-fp/fixunsdfdi.c: Likewise.
31576 * soft-fp/fixunsdfsi.c: Likewise.
31577 * soft-fp/fixunsdfti.c: Likewise.
31578 * soft-fp/fixunssfdi.c: Likewise.
31579 * soft-fp/fixunssfsi.c: Likewise.
31580 * soft-fp/fixunssfti.c: Likewise.
31581 * soft-fp/fixunstfdi.c: Likewise.
31582 * soft-fp/fixunstfsi.c: Likewise.
31583 * soft-fp/fixunstfti.c: Likewise.
31584 * soft-fp/floatdidf.c: Likewise.
31585 * soft-fp/floatdisf.c: Likewise.
31586 * soft-fp/floatditf.c: Likewise.
31587 * soft-fp/floatsidf.c: Likewise.
31588 * soft-fp/floatsisf.c: Likewise.
31589 * soft-fp/floatsitf.c: Likewise.
31590 * soft-fp/floattidf.c: Likewise.
31591 * soft-fp/floattisf.c: Likewise.
31592 * soft-fp/floattitf.c: Likewise.
31593 * soft-fp/floatundidf.c: Likewise.
31594 * soft-fp/floatundisf.c: Likewise.
31595 * soft-fp/floatunditf.c: Likewise.
31596 * soft-fp/floatunsidf.c: Likewise.
31597 * soft-fp/floatunsisf.c: Likewise.
31598 * soft-fp/floatunsitf.c: Likewise.
31599 * soft-fp/floatuntidf.c: Likewise.
31600 * soft-fp/floatuntisf.c: Likewise.
31601 * soft-fp/floatuntitf.c: Likewise.
31602 * soft-fp/fmadf4.c: Likewise.
31603 * soft-fp/fmasf4.c: Likewise.
31604 * soft-fp/fmatf4.c: Likewise.
31605 * soft-fp/gedf2.c: Likewise.
31606 * soft-fp/gesf2.c: Likewise.
31607 * soft-fp/getf2.c: Likewise.
31608 * soft-fp/ledf2.c: Likewise.
31609 * soft-fp/lesf2.c: Likewise.
31610 * soft-fp/letf2.c: Likewise.
31611 * soft-fp/muldf3.c: Likewise.
31612 * soft-fp/mulsf3.c: Likewise.
31613 * soft-fp/multf3.c: Likewise.
31614 * soft-fp/negdf2.c: Likewise.
31615 * soft-fp/negsf2.c: Likewise.
31616 * soft-fp/negtf2.c: Likewise.
31617 * soft-fp/op-1.h: Likewise.
31618 * soft-fp/op-2.h: Likewise.
31619 * soft-fp/op-4.h: Likewise.
31620 * soft-fp/op-8.h: Likewise.
31621 * soft-fp/op-common.h: Likewise.
31622 * soft-fp/quad.h: Likewise.
31623 * soft-fp/single.h: Likewise.
31624 * soft-fp/soft-fp.h: Likewise.
31625 * soft-fp/sqrtdf2.c: Likewise.
31626 * soft-fp/sqrtsf2.c: Likewise.
31627 * soft-fp/sqrttf2.c: Likewise.
31628 * soft-fp/subdf3.c: Likewise.
31629 * soft-fp/subsf3.c: Likewise.
31630 * soft-fp/subtf3.c: Likewise.
31631 * soft-fp/truncdfsf2.c: Likewise.
31632 * soft-fp/trunctfdf2.c: Likewise.
31633 * soft-fp/trunctfsf2.c: Likewise.
31634 * soft-fp/trunctfxf2.c: Likewise.
31635 * soft-fp/unorddf2.c: Likewise.
31636 * soft-fp/unordsf2.c: Likewise.
31637 * soft-fp/unordtf2.c: Likewise.
31638
31639 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31640
31641 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31642 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31643
31644 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31645
31646 * elf/dl-libc.c: Clear initfini list after freeing.
31647
31648 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31649
31650 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31651 * soft-fp/addsf3.c: Likewise.
31652 * soft-fp/addtf3.c: Likewise.
31653 * soft-fp/divdf3.c: Likewise.
31654 * soft-fp/divsf3.c: Likewise.
31655 * soft-fp/divtf3.c: Likewise.
31656 * soft-fp/double.h: Likewise.
31657 * soft-fp/eqdf2.c: Likewise.
31658 * soft-fp/eqsf2.c: Likewise.
31659 * soft-fp/eqtf2.c: Likewise.
31660 * soft-fp/extenddftf2.c: Likewise.
31661 * soft-fp/extended.h: Likewise.
31662 * soft-fp/extendsfdf2.c: Likewise.
31663 * soft-fp/extendsftf2.c: Likewise.
31664 * soft-fp/extendxftf2.c: Likewise.
31665 * soft-fp/fixdfdi.c: Likewise.
31666 * soft-fp/fixdfsi.c: Likewise.
31667 * soft-fp/fixdfti.c: Likewise.
31668 * soft-fp/fixsfdi.c: Likewise.
31669 * soft-fp/fixsfsi.c: Likewise.
31670 * soft-fp/fixsfti.c: Likewise.
31671 * soft-fp/fixtfdi.c: Likewise.
31672 * soft-fp/fixtfsi.c: Likewise.
31673 * soft-fp/fixtfti.c: Likewise.
31674 * soft-fp/fixunsdfdi.c: Likewise.
31675 * soft-fp/fixunsdfsi.c: Likewise.
31676 * soft-fp/fixunsdfti.c: Likewise.
31677 * soft-fp/fixunssfdi.c: Likewise.
31678 * soft-fp/fixunssfsi.c: Likewise.
31679 * soft-fp/fixunssfti.c: Likewise.
31680 * soft-fp/fixunstfdi.c: Likewise.
31681 * soft-fp/fixunstfsi.c: Likewise.
31682 * soft-fp/fixunstfti.c: Likewise.
31683 * soft-fp/floatdidf.c: Likewise.
31684 * soft-fp/floatdisf.c: Likewise.
31685 * soft-fp/floatditf.c: Likewise.
31686 * soft-fp/floatsidf.c: Likewise.
31687 * soft-fp/floatsisf.c: Likewise.
31688 * soft-fp/floatsitf.c: Likewise.
31689 * soft-fp/floattidf.c: Likewise.
31690 * soft-fp/floattisf.c: Likewise.
31691 * soft-fp/floattitf.c: Likewise.
31692 * soft-fp/floatundidf.c: Likewise.
31693 * soft-fp/floatundisf.c: Likewise.
31694 * soft-fp/floatunsidf.c: Likewise.
31695 * soft-fp/floatunsisf.c: Likewise.
31696 * soft-fp/floatuntidf.c: Likewise.
31697 * soft-fp/floatuntisf.c: Likewise.
31698 * soft-fp/floatuntitf.c: Likewise.
31699 * soft-fp/fmadf4.c: Likewise.
31700 * soft-fp/fmasf4.c: Likewise.
31701 * soft-fp/fmatf4.c: Likewise.
31702 * soft-fp/gedf2.c: Likewise.
31703 * soft-fp/gesf2.c: Likewise.
31704 * soft-fp/getf2.c: Likewise.
31705 * soft-fp/ledf2.c: Likewise.
31706 * soft-fp/lesf2.c: Likewise.
31707 * soft-fp/letf2.c: Likewise.
31708 * soft-fp/muldf3.c: Likewise.
31709 * soft-fp/mulsf3.c: Likewise.
31710 * soft-fp/multf3.c: Likewise.
31711 * soft-fp/negdf2.c: Likewise.
31712 * soft-fp/negsf2.c: Likewise.
31713 * soft-fp/negtf2.c: Likewise.
31714 * soft-fp/op-1.h: Likewise.
31715 * soft-fp/op-2.h: Likewise.
31716 * soft-fp/op-4.h: Likewise.
31717 * soft-fp/op-8.h: Likewise.
31718 * soft-fp/op-common.h: Likewise.
31719 * soft-fp/quad.h: Likewise.
31720 * soft-fp/single.h: Likewise.
31721 * soft-fp/soft-fp.h: Likewise.
31722 * soft-fp/sqrtdf2.c: Likewise.
31723 * soft-fp/sqrtsf2.c: Likewise.
31724 * soft-fp/sqrttf2.c: Likewise.
31725 * soft-fp/subdf3.c: Likewise.
31726 * soft-fp/subsf3.c: Likewise.
31727 * soft-fp/subtf3.c: Likewise.
31728 * soft-fp/truncdfsf2.c: Likewise.
31729 * soft-fp/trunctfdf2.c: Likewise.
31730 * soft-fp/trunctfsf2.c: Likewise.
31731 * soft-fp/trunctfxf2.c: Likewise.
31732 * soft-fp/unorddf2.c: Likewise.
31733 * soft-fp/unordsf2.c: Likewise.
31734 * soft-fp/unordtf2.c: Likewise.
31735
31736 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31737
31738 [BZ #15672]
31739 * misc/error.c (error_tail): Fix possible buffer overflow.
31740
31741 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31742
31743 [BZ #13028]
31744 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31745 address.
31746
31747 2013-10-14 P. J. McDermott <pj@pehjota.net>
31748
31749 [BZ #832]
31750 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31751 testing pipefail option.
31752
31753 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31754
31755 * soft-fp/double.h: Indent preprocessor directives inside #if.
31756 * soft-fp/extended.h: Likewise.
31757 * soft-fp/op-2.h: Likewise.
31758 * soft-fp/op-4.h: Likewise.
31759 * soft-fp/op-common.h: Likewise.
31760 * soft-fp/quad.h: Likewise.
31761 * soft-fp/single.h: Likewise.
31762 * soft-fp/soft-fp.h: Likewise.
31763
31764 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31765
31766 * iconv/iconv_prog.c: Fix typos.
31767 * stdio-common/psiginfo-data.h: Likewise.
31768
31769 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31770
31771 [BZ #15764]
31772 * locale/setlocale.c: Fix typo.
31773
31774 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31775
31776 [BZ #16036]
31777 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31778 signaling NaN arguments.
31779 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31780 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31781
31782 [BZ #14910]
31783 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31784 unordered operands.
31785 * soft-fp/gesf2.c (__gesf2): Likewise.
31786 * soft-fp/getf2.c (__getf2): Likewise.
31787 * soft-fp/ledf2.c (__ledf2): Likewise.
31788 * soft-fp/lesf2.c (__lesf2): Likewise.
31789 * soft-fp/letf2.c (__letf2): Likewise.
31790
31791 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31792 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31793 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31794 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31795 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31796 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31797 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31798 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31799 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31800 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31801 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31802 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31803 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31804 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31805 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31806 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31807 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31808 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31809 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31810 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31811 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31812 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31813 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31814 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31815 * soft-fp/floattidf.c (__floattidf): Likewise.
31816 * soft-fp/floattisf.c (__floattisf): Likewise.
31817 * soft-fp/floattitf.c (__floattitf): Likewise.
31818 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31819 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31820 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31821 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31822 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31823 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31824 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31825 * soft-fp/gesf2.c (__gesf2): Likewise.
31826 * soft-fp/getf2.c (__getf2): Likewise.
31827 * soft-fp/ledf2.c (__ledf2): Likewise.
31828 * soft-fp/lesf2.c (__lesf2): Likewise.
31829 * soft-fp/letf2.c (__letf2): Likewise.
31830
31831 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31832 Undefine and redefine.
31833 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31834 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31835 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31836 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31837 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31838 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31839 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31840 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31841 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31842 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31843 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31844 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31845 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31846 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31847 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31848
31849 [BZ #16032]
31850 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31851 without decrementing exponent if mantissa >= that for the
31852 denominator, not >.
31853 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31854 denominator, not >. Decrement exponent in < case instead of
31855 incrementing in >= case.
31856 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31857 without decrementing exponent if mantissa >= that for the
31858 denominator, not >.
31859
31860 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31861 computing saturated result for unsigned overflow.
31862
31863 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31864 Jeff Law <law@redhat.com>
31865
31866 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31867 (atan2Mp): Add systemtap probe marker.
31868 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31869 (__ieee754_log): Add systemtap probe marker.
31870 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31871 (atanMp): Add systemtap probe marker.
31872 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31873 (tanMp): Add systemtap probe marker.
31874 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31875 (__slowexp): Add systemtap probe marker.
31876 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31877 (__slowpow): Add systemtap probe marker.
31878 * manual/probes.texi: Document probes.
31879
31880 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31881
31882 [BZ #15362]
31883 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31884 written.
31885 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31886 written.
31887 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31888 written to buffer but not flushed.
31889 * libio/iofwrite_u.c: Likewise.
31890 * libio/iopadn.c: Return bytes returned even if EOF was
31891 encountered.
31892 * libio/iowpadn.c: Likewise.
31893 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31894 if _IO_padn does not write the whole buffer.
31895 [!COMPILE_WPRINTF] (PAD): Likewise.
31896
31897 2013-10-10 David S. Miller <davem@davemloft.net>
31898
31899 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31900 directory block.
31901
31902 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31903
31904 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31905 instead of FSF address.
31906 * soft-fp/fixdfti.c: Likewise.
31907 * soft-fp/fixsfti.c: Likewise.
31908 * soft-fp/fixtfti.c: Likewise.
31909 * soft-fp/fixunsdfti.c: Likewise.
31910 * soft-fp/fixunssfti.c: Likewise.
31911 * soft-fp/fixunstfti.c: Likewise.
31912 * soft-fp/floattidf.c: Likewise.
31913 * soft-fp/floattisf.c: Likewise.
31914 * soft-fp/floattitf.c: Likewise.
31915 * soft-fp/floatuntidf.c: Likewise.
31916 * soft-fp/floatuntisf.c: Likewise.
31917 * soft-fp/floatuntitf.c: Likewise.
31918 * soft-fp/trunctfxf2.c: Likewise.
31919
31920 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31921 * soft-fp/fixdfti.c: Likewise.
31922 * soft-fp/fixsfti.c: Likewise.
31923 * soft-fp/fixtfti.c: Likewise.
31924 * soft-fp/fixunsdfti.c: Likewise.
31925 * soft-fp/fixunssfti.c: Likewise.
31926 * soft-fp/fixunstfti.c: Likewise.
31927 * soft-fp/floattidf.c: Likewise.
31928 * soft-fp/floattisf.c: Likewise.
31929 * soft-fp/floattitf.c: Likewise.
31930 * soft-fp/floatuntidf.c: Likewise.
31931 * soft-fp/floatuntisf.c: Likewise.
31932 * soft-fp/floatuntitf.c: Likewise.
31933 * soft-fp/trunctfxf2.c: Likewise.
31934
31935 2013-10-10 David S. Miller <davem@davemloft.net>
31936
31937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31938
31939 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31940
31941 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31942 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31943 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31944 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31945 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31946 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31947 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31948
31949 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31950 for NaNs before doing comparisons on argument.
31951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31952 Likewise.
31953
31954 2013-10-10 Will Newton <will.newton@linaro.org>
31955
31956 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31957 passed to _int_memalign does not overflow.
31958
31959 2013-10-10 Torvald Riegel <triegel@redhat.com>
31960
31961 * scripts/bench.pl: Add include-sources directive.
31962 * benchtests/README: Update documentation.
31963
31964 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31965
31966 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31967 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31968 instead of FP_INIT_ROUNDMODE.
31969 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31970 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31971
31972 [BZ #16034]
31973 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31974 copy class of input value.
31975 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31976 not handle exceptions.
31977 * soft-fp/negsf2.c (__negsf2): Likewise.
31978 * soft-fp/negtf2.c (__negtf2): Likewise.
31979 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31980
31981 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31982
31983 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31984 semicolon. From Linux kernel.
31985
31986 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31987
31988 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31989
31990 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31991
31992 [BZ #156]
31993 * manual/socket.texi: Added statement about buffer
31994 for gethostbyname2_r.
31995
31996 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31997
31998 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31999 Use .p2align directive instead, throughout.
32000 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32001 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32002 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32005 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32006 * sysdeps/x86_64/strchr.S: Likewise.
32007 * sysdeps/x86_64/strrchr.S: Likewise.
32008
32009 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32010
32011 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32012
32013 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32014
32015 * sysdeps/generic/math_private.h (__mpsin1): Remove
32016 declaration.
32017 (__mpcos1): Likewise.
32018 (__mpsin): New argument __range_reduce.
32019 (__mpcos): Likewise.
32020 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32021 (slow): Use __mpsin and __mpcos.
32022 (slow1): Likewise.
32023 (slow2): Likewise.
32024 (sloww): Likewise.
32025 (sloww1): Likewise.
32026 (sloww2): Likewise.
32027 (bsloww): Likewise.
32028 (bsloww1): Likewise.
32029 (bsloww2): Likewise.
32030 (cslow2): Likewise.
32031 (csloww): Likewise.
32032 (csloww1): Likewise.
32033 (csloww2): Likewise.
32034 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32035 range_reduce. Merge in __mpsin1.
32036 (__mpcos): Likewise.
32037 (__mpsin1): Remove.
32038 (__mpcos1): Likewise.
32039
32040 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32041
32042 * locale/loadlocale.c (_nl_intern_locale_data): Use
32043 LOCFILE_ALIGNED_P.
32044 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32045 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32046 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32047 obstack data is appropriately aligned.
32048 (obstack_int32_grow_fast): Likewise.
32049 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32050 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32051 (add_locale_uint32_array): Likewise.
32052
32053 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32054
32055 * benchtests/Makefile: Remove ARGLIST and RET variables.
32056 ($(objpfx)bench-%.c): Pass only function name to the script.
32057 * benchtests/README: Update documentation.
32058 * benchtests/acos-inputs: Add new directives.
32059 * benchtests/acosh-inputs: Likewise.
32060 * benchtests/asin-inputs: Likewise.
32061 * benchtests/asinh-inputs: Likewise.
32062 * benchtests/atan-inputs: Likewise.
32063 * benchtests/atanh-inputs: Likewise.
32064 * benchtests/cos-inputs: Likewise.
32065 * benchtests/cosh-inputs: Likewise.
32066 * benchtests/exp-inputs: Likewise.
32067 * benchtests/log-inputs: Likewise.
32068 * benchtests/pow-inputs: Likewise.
32069 * benchtests/rint-inputs: Likewise.
32070 * benchtests/sin-inputs: Likewise.
32071 * benchtests/sinh-inputs: Likewise.
32072 * benchtests/tan-inputs: Likewise.
32073 * benchtests/tanh-inputs: Likewise.
32074 * scripts/bench.pl: Add support for new directives.
32075
32076 2013-10-07 Alan Modra <amodra@gmail.com>
32077
32078 * README: Fix careless merge.
32079
32080 2013-10-05 Alan Modra <amodra@gmail.com>
32081
32082 * NEWS: Mention powerpc64le support and bugs fixed.
32083 * README: Both big-endian and little-endian powerpc64 supported.
32084
32085 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32086
32087 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32088 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32089 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32090 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32091
32092 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32093
32094 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32095 match prototype.
32096
32097 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32098
32099 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32100 Move -mhard-float appending from
32101 ports/sysdeps/powerpc/powerpc32/Makefile.
32102 [$(with-fp) = yes] (ASFLAGS): Likewise.
32103 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32104 * sysdeps/powerpc/nofpu: Move directory from
32105 ports/sysdeps/powerpc/nofpu.
32106 * sysdeps/powerpc/soft-fp: Move directory from
32107 ports/sysdeps/powerpc/soft-fp.
32108 * sysdeps/powerpc/powerpc32/405: Move directory from
32109 ports/sysdeps/powerpc/powerpc32/405.
32110 * sysdeps/powerpc/powerpc32/440: Move directory from
32111 ports/sysdeps/powerpc/powerpc32/440.
32112 * sysdeps/powerpc/powerpc32/464: Move directory from
32113 ports/sysdeps/powerpc/powerpc32/464.
32114 * sysdeps/powerpc/powerpc32/476: Move directory from
32115 ports/sysdeps/powerpc/powerpc32/476.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32117 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32119 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32121 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32123 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32125 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32126 * README: Update for powerpc-*-linux-gnu software floating point
32127 support in libc.
32128
32129 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32130 case to powerpc/powerpc32*.
32131 * sysdeps/unix/sysv/linux/configure: Regenerated.
32132
32133 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32134 (_FPU_MASK_OM): Define as 0x04.
32135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32137 0x00c10080.
32138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32139 0x0000003c.
32140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32141
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32143 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32144 getcontext_e500.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32146 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32147 setcontext_e500.
32148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32149 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32150 and setcontext_e500.
32151
32152 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32153
32154 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32155
32156 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32157
32158 * manual/threads.texi (Default Thread Attributes): Fix typo.
32159
32160 2013-10-04 Will Newton <will.newton@linaro.org>
32161
32162 * malloc/Makefile: Add tst-memalign.
32163 * malloc/tst-memalign.c: New file.
32164
32165 * malloc/tst-posix_memalign.c: Add comments.
32166 (do_test): Add comments and call free on all potentially
32167 allocated pointers. Add space after cast.
32168
32169 * malloc/tst-pvalloc.c: Add comments.
32170 (do_test): Add comments and call free on all potentially
32171 allocated pointers. Remove duplicate check for NULL pointer.
32172 Add space after cast.
32173
32174 * malloc/tst-valloc.c: Add comments.
32175 (do_test): Add comments and call free on all potentially
32176 allocated pointers. Remove duplicate check for NULL pointer.
32177 Add space after cast.
32178
32179 2013-10-04 Alan Modra <amodra@gmail.com>
32180
32181 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32182 Use stdint types in rather than __attribute__((mode())).
32183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32184
32185 2013-10-04 Alan Modra <amodra@gmail.com>
32186
32187 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32188 Correct handling of unaligned relocs for little-endian.
32189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32190
32191 2013-10-04 Alan Modra <amodra@gmail.com>
32192
32193 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32194 * configure: Regenerate.
32195 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32196 * shlib-versions: Likewise.
32197
32198 2013-10-04 Alan Modra <amodra@gmail.com>
32199
32200 * string/tester.c (test_memrchr): Increment reported test cycle.
32201
32202 2013-10-04 Alan Modra <amodra@gmail.com>
32203
32204 * string/test-memcpy.c (do_one_test): When reporting errors, print
32205 string address and don't overrun end of string.
32206
32207 2013-10-04 Alan Modra <amodra@gmail.com>
32208
32209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32210 insrdi. Make better use of reg selection to speed exit slightly.
32211 Schedule entry path a little better. Remove useless "are we done"
32212 checks on entry to main loop. Handle wrapping around zero address.
32213 Correct main loop count. Handle single left-over word from main
32214 loop inline rather than by using loop_small. Remove extra word
32215 case in loop_small caused by wrong loop count. Add little-endian
32216 support.
32217 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32218 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32219 cache hint.
32220 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32221 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32222 support. Avoid rlwimi.
32223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32224
32225 2013-10-04 Alan Modra <amodra@gmail.com>
32226
32227 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32228 insrdi. Formatting.
32229 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32230 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32231 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32232 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32233 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32234 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32235
32236 2013-10-04 Alan Modra <amodra@gmail.com>
32237
32238 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32241 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32242 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32243 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32244 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32245 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32246 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32247 use of regs. Use power7 mtocrf. Tidy function tails.
32248
32249 2013-10-04 Alan Modra <amodra@gmail.com>
32250
32251 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32252 Formatting. Consistently use rXXX register defines or rN defines.
32253 Use early exit labels that avoid restoring unused non-volatile regs.
32254 Make cr field use more consistent with rWORDn compares. Rename
32255 regs used as shift registers for unaligned loop, using rN defines
32256 for short lifetime/multiple use regs.
32257 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32259 addi 1,1,64 to pop stack frame. Simplify return value code.
32260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32261
32262 2013-10-04 Alan Modra <amodra@gmail.com>
32263
32264 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32265 support. Correct typos, formatting. Optimize tail. Use insrdi
32266 rather than rlwimi.
32267 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32268 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32269 little-endian support. Correct typos.
32270 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32271 rather than rlwimi.
32272 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32273 in loop and entry code to keep "and." results.
32274 (strchr): Add little-endian support. Comment. Move cntlzd
32275 earlier in tail.
32276 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32277
32278 2013-10-04 Alan Modra <amodra@gmail.com>
32279
32280 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32281 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32282 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32283 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32284
32285 2013-10-04 Alan Modra <amodra@gmail.com>
32286
32287 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32288 (rTMP): Define as r11.
32289 (strcmp): Add little-endian support. Optimise tail.
32290 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32291 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32292 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32293 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32294 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32297
32298 2013-10-04 Alan Modra <amodra@gmail.com>
32299
32300 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32301 little-endian support. Remove unnecessary "are we done" tests.
32302 Handle "s" wrapping around zero and extremely large "size".
32303 Correct main loop count. Handle single left-over word from main
32304 loop inline rather than by using small_loop. Correct comments.
32305 Delete "zero" tail, use "end_max" instead.
32306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32307
32308 2013-10-04 Alan Modra <amodra@gmail.com>
32309
32310 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32311 support. Don't branch over align.
32312 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32313 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32314 support. Rearrange tmp reg use to suit. Comment.
32315 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32316
32317 2013-10-04 Alan Modra <amodra@gmail.com>
32318
32319 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32320
32321 2013-10-04 Alan Modra <amodra@gmail.com>
32322
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32324 conditional form of branch and link when obtaining pc.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32326
32327 2013-10-04 Alan Modra <amodra@gmail.com>
32328
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32330 HIWORD/LOWORD.
32331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32333
32334 2013-10-04 Alan Modra <amodra@gmail.com>
32335
32336 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32337 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32338 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32339 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32340 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32341 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32342 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32343 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32344 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32345 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32346
32347 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32348 Alistair Popple <alistair@ozlabs.au.ibm.com>
32349 Alan Modra <amodra@gmail.com>
32350
32351 [BZ #15723]
32352 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32354 _dl_hwcap access for little-endian.
32355 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32356 destroy vmx regs when saving unaligned.
32357 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32358 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32359 destroy vmx regs when saving unaligned.
32360
32361 2013-10-04 Alan Modra <amodra@gmail.com>
32362
32363 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32364 Don't use a union to pack hi/low value.
32365
32366 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32367
32368 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32369 for little-endian.
32370 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32371 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32372 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32373 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32374 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32375
32376 2013-10-04 Alan Modra <amodra@gmail.com>
32377
32378 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32379 constants to usual value for .cst8 section, and remove redundant
32380 high address load.
32381 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32382 constant for 0x1p52. Load little-endian words of double from
32383 correct stack offsets.
32384
32385 2013-10-04 Alan Modra <amodra@gmail.com>
32386
32387 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32388 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32389 words of double from correct stack offsets.
32390 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32391 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32392 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32394 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32395 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32397 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32398 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32402 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32403 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32404 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32405 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32406 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32407
32408 2013-10-04 Alan Modra <amodra@gmail.com>
32409
32410 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32411 64-bit int/double union.
32412 (_FPU_SETCW): Likewise.
32413 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32414 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32415
32416 2013-10-04 Alan Modra <amodra@gmail.com>
32417
32418 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32419 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32420
32421 2013-10-04 Alan Modra <amodra@gmail.com>
32422
32423 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32424 use vector int constants.
32425 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32426
32427 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32428
32429 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32430 array with long long.
32431 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32432 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32433 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32434 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32435 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32436 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32437 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32438 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32439 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32440 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32441 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32442 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32443 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32444
32445 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32446
32447 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32448 (__signbit): Likewise. Correct for little-endian.
32449 (__signbitl): Call __signbit.
32450 (lrint): Correct for little-endian.
32451 (lrintf): Call lrint.
32452
32453 2013-10-04 Alan Modra <amodra@gmail.com>
32454
32455 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32456 union 32-bit int array member with 64-bit int array.
32457 (t515, tm256): Double rather than long double.
32458 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32459
32460 2013-10-04 Alan Modra <amodra@gmail.com>
32461
32462 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32463 Delete.
32464 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32465 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32466 version of math_ldbl.h.
32467
32468 2013-10-04 Alan Modra <amodra@gmail.com>
32469
32470 [BZ #15734], [BZ #15735]
32471 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32472 all uses of ieee875 long double macros and unions. Simplify test
32473 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32474 ldbl_extract_mantissa value for ix,iy exponents. Properly
32475 normalize after ldbl_extract_mantissa, and don't add hidden bit
32476 already handled. Don't treat low word of ieee854 mantissa like
32477 low word of IBM long double and mask off bit when testing for
32478 zero.
32479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32480 all uses of ieee875 long double macros and unions. Simplify tests
32481 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32482 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32483 two1022, instead use their values. Recognise that tests for large
32484 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32486 Rewrite all uses of ieee875 long double macros and unions. Simplify
32487 test for 0.0L and nan. Correct negation.
32488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32489 ieee875 long double macros and unions. Correct output for large
32490 magnitude x. Correct absolute value calculation.
32491 (__erfcl): Likewise.
32492 * math/libm-test.inc: Add tests for errors discovered in IBM long
32493 double versions of fmodl, remainderl, erfl and erfcl.
32494
32495 2013-10-04 Alan Modra <amodra@gmail.com>
32496
32497 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32498 all uses of ieee854 long double macros and unions. Simplify tests
32499 for long doubles that are fully specified by the high double.
32500 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32501 Likewise.
32502 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32503 Remove dead code too.
32504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32505 (__ieee754_ynl): Likewise.
32506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32507 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32508 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32509 Remove dead code too.
32510 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32511 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32512 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32513 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32514 Simplify.
32515 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32516 Simplify.
32517 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32518 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32520 Comment on variable precision.
32521 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32523 Likewise.
32524 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32527 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32528 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32529
32530 2013-10-04 Alan Modra <amodra@gmail.com>
32531
32532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32534 all uses of ieee854 long double macros and unions.
32535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32537 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32541 Likewise.
32542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32543 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32544 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32545 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32548 Simplify sign and nan test too.
32549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32551 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32553 Likewise.
32554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32556 Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32559 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32563
32564 2013-10-04 Alan Modra <amodra@gmail.com>
32565
32566 * stdio-common/printf_size.c (__printf_size): Don't use
32567 union ieee854_long_double in fpnum union.
32568 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32569 signbit macro to retrieve sign from long double.
32570 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32571 retrieve sign from long double.
32572 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32573 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32574 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32575 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32576 * math/test-misc.c (main): Don't use union ieee854_long_double.
32577
32578 2013-10-04 Alan Modra <amodra@gmail.com>
32579
32580 [BZ #15680]
32581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32582 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32583 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32584 calculation. Remove unnecessary test for denormal exponent.
32585 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32586 Correct handling of denormals. Avoid undefined shift behaviour.
32587 Correct normalisation of low mantissa when low double is denormal.
32588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32589 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32590 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32591 Correct normalisation of low mantissa. Test for overflow of high
32592 mantissa and normalise.
32593 (ldbl_nearbyint): Use more readable constant for two52.
32594 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32595 (__mpn_construct_long_double): Fix test for overflow of high
32596 mantissa and correct normalisation. Avoid undefined shift.
32597
32598 2013-10-04 Alan Modra <amodra@gmail.com>
32599
32600 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32601 (union ibm_extended_long_double): Define as an array of ieee754_double.
32602 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32603 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32604 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32605 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32606 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32609 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32613
32614 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32615
32616 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32617 page size instead of calling getpagesize.
32618
32619 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32620 (LOCFILE_ALIGN_MASK): Likewise.
32621 (LOCFILE_ALIGN_UP): Likewise.
32622 (LOCFILE_ALIGNED_P): Likewise.
32623 * locale/programs/ld-collate.c (collate_output): Use the new
32624 macros instead of __alignof__ (int32_t).
32625 * locale/weight.h (findidx): Likewise.
32626
32627 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32628
32629 [BZ #431]
32630 * manual/string.texi: Fix strncat and wcsncat.
32631
32632 2013-10-03 Brooks Moses <bmoses@google.com>
32633
32634 [BZ #15915]
32635 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32636 * Makerules: ...here, and adjust associated comments.
32637
32638 2013-10-02 Will Newton <will.newton@linaro.org>
32639
32640 * malloc/Makefile: Add tst-pvalloc.
32641 * malloc/tst-pvalloc.c: New file.
32642
32643 2013-10-02 Will Newton <will.newton@linaro.org>
32644
32645 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32646 improve test coverage.
32647
32648 2013-10-02 Will Newton <will.newton@linaro.org>
32649
32650 * malloc/Makefile: Add tst-posix_memalign.
32651 * malloc/tst-posix_memalign.c: New file.
32652
32653 2013-10-01 Eric Blake <eblake@redhat.com>
32654
32655 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32656 Use __THROWNL rather than __THROW on static functions.
32657
32658 2013-09-30 Petr Machata <pmachata@redhat.com>
32659
32660 * elf/elf.h (R_AARCH64_ABS16): New macro.
32661 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32662 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32663 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32664 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32665 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32666 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32667 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32668 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32669 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32670 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32671 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32672 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32673 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32674 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32675 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32676 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32677 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32678 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32679 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32680 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32681 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32682 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32683 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32684 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32685 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32686 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32687 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32688 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32689 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32690 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32691 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32692 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32693 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32694 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32695 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32696 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32697 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32698 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32699 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32700 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32701 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32702 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32703 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32704 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32705 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32706 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32707 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32708 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32709 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32710 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32711 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32712 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32713 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32714 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32715 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32716 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32717 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32718 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32719 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32720 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32721 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32722 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32723 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32724 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32725 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32726 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32727 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32728 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32729 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32730 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32731 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32732 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32733 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32734 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32735 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32736 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32737 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32738 (R_AARCH64_TLSDESC_LDR): Likewise.
32739 (R_AARCH64_TLSDESC_ADD): Likewise.
32740 (R_AARCH64_TLSDESC_CALL): Likewise.
32741
32742 2013-09-30 Andreas Schwab <schwab@suse.de>
32743
32744 [BZ #15048]
32745 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32746 the nss database lookup.
32747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32749
32750 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32751
32752 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32753
32754 2013-09-28 P. J. McDermott <pj@pehjota.net>
32755
32756 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32757 ${Bash-specific parameter/pattern/string} parameter expansion.
32758 * sysdeps/unix/make-syscalls.sh: Likewise.
32759
32760 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32761
32762 * sysdeps/sh/stackguard-macros.h: New file.
32763
32764 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32765
32766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32768 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32769 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32770 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32771 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32772
32773 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32774
32775 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32776 Fix thread ID register.
32777
32778 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32779
32780 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32781 [POSIX || UNIX98]: Require rather than permitting all symbols from
32782 <time.h>.
32783 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32784 element of struct sched_param.
32785 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32786 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32787 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32788 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32789 constant.
32790
32791 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32792
32793 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32794 argument calculation.
32795
32796 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32797
32798 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32799 Expect macro.
32800 [POSIX] (pthread_attr_t): Do not require type.
32801 [POSIX] (pthread_cond_t): Likewise.
32802 [POSIX] (pthread_condattr_t): Likewise.
32803 [POSIX] (pthread_key_t): Likewise.
32804 [POSIX] (pthread_mutex_t): Likewise.
32805 [POSIX] (pthread_mutexattr_t): Likewise.
32806 [POSIX] (pthread_once_t): Likewise.
32807 [POSIX] (pthread_t): Likewise.
32808 [POSIX-based standards] (pthread_atfork): Expect function.
32809
32810 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32811 Richard Sandiford <richard@codesourcery.com>
32812
32813 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32814 (swap_endianness_p): New extern variable.
32815 (set_big_endian): New inline function.
32816 (maybe_swap_uint32): Likewise.
32817 (maybe_swap_uint32_array): Likewise.
32818 (maybe_swap_uint32_obstack): Likewise.
32819 * locale/programs/locfile.c: Include <stdbool.h>.
32820 (swap_endianness_p): New variable.
32821 (add_locale_uint32): Call maybe_swap_uint32.
32822 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32823 (write_locale_data): Call maybe_swap_uint32_array.
32824 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32825 maybe_swap_uint32.
32826 (obstack_int32_grow_fast): Likewise.
32827 (output_weightwc): Call maybe_swap_uint32_obstack.
32828 (collate_output): Likewise.
32829 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32830 (OPT_LITTLE_ENDIAN): Likewise.
32831 (options): Add --little-endian and --big-endian options.
32832 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32833 * locale/programs/locarchive.c: Include "locfile.h".
32834 (GET): New macro.
32835 (SET): Likewise.
32836 (INC): Likewise.
32837 (create_archive): Use the new macros to access fields of
32838 structures directly mapped from or written to locale archives.
32839 (oldlocrecentcmp): Likewise.
32840 (enlarge_archive): Likewise.
32841 (insert_name): Likewise.
32842 (add_alias): Likewise.
32843 (add_locale): Likewise.
32844 (delete_locales_from_archive): Likewise.
32845 (show_archive_content): Likewise.
32846 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32847 locale data.
32848
32849 2013-09-24 Roland McGrath <roland@hack.frob.com>
32850
32851 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32852 http://www.gnu.org/doc/freemanuals.texi.
32853 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32854
32855 2013-09-24 Will Newton <will.newton@linaro.org>
32856
32857 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32858 macro.
32859
32860 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32861
32862 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32863 unsigned char.
32864
32865 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32866
32867 * manual/threads.texi (POSIX Threads): Fix a typo.
32868
32869 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32870
32871 [BZ #14547]
32872 * string/tst-strcoll-overflow.c: New test case.
32873 * string/Makefile (xtests): Add tst-strcoll-overflow.
32874 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32875 cache if string sizes may cause integer overflow.
32876
32877 [BZ #14547]
32878 * string/strcoll_l.c (coll_seq): New members rule, idx,
32879 save_idx and back_us.
32880 (get_next_seq_nocache): New function.
32881 (do_compare_nocache): New function.
32882 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32883 when malloc fails.
32884
32885 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32886
32887 [BZ #15754]
32888 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32889 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32890 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32891
32892 [BZ #15754]
32893 * elf/Makefile (tests): Add tst-ptrguard1.
32894 (tests-static): Add tst-ptrguard1-static.
32895 (tst-ptrguard1-ARGS): Define.
32896 (tst-ptrguard1-static-ARGS): Define.
32897 * elf/tst-ptrguard1.c: New file.
32898 * elf/tst-ptrguard1-static.c: New file.
32899 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32900 * sysdeps/i386/stackguard-macros.h: Likewise.
32901 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32902 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32903 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32904 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32905 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32906 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32907
32908 2013-09-23 Hector Marco <hecmargi@upv.es>
32909 Ismael Ripoll <iripoll@disca.upv.es>
32910 Carlos O'Donell <carlos@redhat.com>
32911
32912 [BZ #15754]
32913 * sysdeps/generic/stackguard-macros.h: Define
32914 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32915 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32916 Define __pointer_chk_guard_local.
32917 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32918 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32919
32920 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32921
32922 [BZ #15859]
32923 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32924
32925 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32926
32927 * include/string.h (__ffs): Declare as hidden.
32928 * string/ffs.c (__ffs): Define as hidden.
32929 * sysdeps/i386/ffs.c (__ffs): Likewise.
32930 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32931 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32932 * sysdeps/s390/ffs.c (__ffs): Likewise.
32933 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32934
32935 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32936
32937 * NEWS: Mention malloc probes.
32938
32939 * malloc/arena.c (new_heap): New memory_heap_new probe.
32940 (grow_heap): New memory_heap_more probe.
32941 (shrink_heap): New memory_heap_less probe.
32942 (heap_trim): New memory_heap_free probe.
32943 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32944 (systrim): New memory_sbrk_less probe.
32945 * manual/probes.texi: Document them.
32946
32947 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32948 * manual/probes.texi: Document it.
32949
32950 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32951 (__libc_realloc): Add memory_realloc_retry probe.
32952 (__libc_memalign): Add memory_memalign_retry probe.
32953 (__libc_valloc): Add memory_valloc_retry probe.
32954 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32955 (__libc_calloc): Add memory_calloc_retry probe.
32956 * manual/probes.texi: Document them.
32957
32958 * malloc/arena.c (get_free_list): Add probe
32959 memory_arena_reuse_free_list.
32960 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32961 and memory_arena_reuse.
32962 (arena_get2) [!PER_THREAD]: Likewise.
32963 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32964 memory_arena_reuse_realloc.
32965 * manual/probes.texi: Document them.
32966
32967 * malloc/malloc.c (__libc_free): Add
32968 memory_mallopt_free_dyn_thresholds probe.
32969 (__libc_mallopt): Add multiple memory_mallopt probes.
32970 * manual/probes.texi: Document them.
32971
32972 * malloc/malloc.c: Include stap-probe.h.
32973 (__libc_mallopt): Add memory_mallopt probe.
32974 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32975 * manual/probes.texi: New.
32976 * manual/Makefile (chapters): Add probes.
32977 * manual/threads.texi: Set next node.
32978
32979 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32980
32981 [BZ #15963, #13985]
32982 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32983 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32984 Add `Chinese' to `nan' entry name.
32985
32986 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32987
32988 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32989 (POLYNOMIAL): Likewise.
32990 (TAYLOR_SINCOS): Likewise.
32991 (TAYLOR_SLOW): Likewise.
32992 (__sin): Use TAYLOR_SINCOS.
32993 (__cos): Likewise.
32994 (slow): Use TAYLOR_SLOW.
32995 (sloww): Likewise.
32996 (bsloww): Likewise.
32997 (csloww): Likewise.
32998
32999 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33000
33001 * stdlib/strtod_l.c: Fix buffer overrun.
33002
33003 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33004
33005 * benchtests/Makefile (bench): Add sincos.
33006 * benchtests/bench-sincos.c: New file.
33007
33008 * math/libm-test.inc (cos_test_data): New test inputs.
33009 (sin_test_data): Likewise.
33010
33011 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33012 macro.
33013 (__sin): Use it.
33014 (__cos): Likewise.
33015 (slow1): Likewise.
33016 (slow2): Likewise.
33017 (sloww1): Likewise.
33018 (sloww2): Likewise.
33019 (bsloww1): Likewise.
33020 (bsloww2): Likewise.
33021 (cslow2): Likewise.
33022 (csloww1): Likewise.
33023 (csloww2): Likewise.
33024
33025 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33026 function.
33027 (__sin): Use it.
33028 (__cos): Likewise.
33029
33030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33031 gotos.
33032 (__cos): Likewise.
33033
33034 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33035
33036 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33037 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33038 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33039 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33040 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33041 * elf/cache.c (print_entry): Handle the new cache flags.
33042
33043 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33044 Aldy Hernandez <aldyh@redhat.com>
33045
33046 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33047 Change condition to [_SOFT_FLOAT].
33048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33060 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33063 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33064 declaration.
33065
33066 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33067
33068 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33069 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33070 (__longjmp): Use LOAD_GP to load saved GPRs.
33071 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33072 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33073 (__sigsetjmp): Use SAVE_GP to save GPRs.
33074
33075 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33076 Do not append -msoft-float.
33077 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33078
33079 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33080
33081 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33082
33083 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33084
33085 [BZ #15966]
33086 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33087 (_FPU_GETCW): Use initial "__" on variable and field names but not
33088 on macro parameter name.
33089 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33090 parentheses around reference to macro parameter.
33091
33092 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33093
33094 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33095 prototype.
33096 (ctype_startup): Use uint32_t in cast and sizeof for
33097 ctype->charnames.
33098
33099 2013-09-11 Jia Liu <proljc@gmail.com>
33100
33101 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33102 __daddr_t_defined.
33103 [__FreeBSD__]: Likewise.
33104
33105 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33106
33107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33108 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33109 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33110 (strchr): Remove __strchr_sse42 ifunc selection.
33111 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33112 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33113
33114 2013-09-11 Will Newton <will.newton@linaro.org>
33115
33116 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33117 parameter to RES. Remove hardcoded 1000 value.
33118 * benchtests/bench-skeleton.c (main): Pass RES parameter
33119 to TIMING_INIT and multiply result by 1000.
33120
33121 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33122
33123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33124
33125 2013-09-11 Andreas Schwab <schwab@suse.de>
33126
33127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33128 if not defined.
33129 (O_TMPFILE) [__USE_GNU]: Define.
33130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33131 Define.
33132
33133 2013-09-11 Will Newton <will.newton@linaro.org>
33134
33135 [BZ #15857]
33136 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33137 does not overflow.
33138
33139 2013-09-11 Will Newton <will.newton@linaro.org>
33140
33141 [BZ #15856]
33142 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33143 does not overflow.
33144
33145 2013-09-11 Will Newton <will.newton@linaro.org>
33146
33147 [BZ #15855]
33148 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33149 does not overflow.
33150
33151 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33152
33153 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33154 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33158
33159 2013-09-10 Allan McRae <allan@archlinux.org>
33160
33161 [BZ #15748]
33162 * manual/arith.texi (Parsing of Floats): Clarify
33163 cross-reference.
33164
33165 [BZ #15849]
33166 * manual/install.texi (Running make install): Mention
33167 --enable-pt-chown.
33168 * INSTALL: Regenerated.
33169
33170 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33171
33172 * csu/init-first.c (_init): Remove the !SHARED condition around
33173 FPU control word initialization.
33174 * elf/dl-support.c (_dl_fpu_control): New variable.
33175 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33176 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33177 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33178 * math/test-fpucw-static.c: New file.
33179 * math/test-fpucw-ieee.c: New file.
33180 * math/test-fpucw-ieee-static.c: New file.
33181 * math/Makefile (tests): Add `test-fpucw-ieee' and
33182 `$(tests-static)'.
33183 (tests-static): New variable.
33184 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33185 dependency to...
33186 [($(build-shared),yes)]
33187 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33188 ... this.
33189 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33190 New dependency.
33191
33192 2013-09-09 Allan McRae <allan@archlinux.org>
33193
33194 [BZ #15939]
33195 * manual/string.texi (Collation Functions): Fix typo in
33196 strcoll example.
33197 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33198
33199 [BZ #15893]
33200 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33201
33202 [BZ #15892]
33203 * libio/memstream.c (open_memstream): Fix memory leak.
33204 * libio/wmemstream.c (open_wmemstream): Likewise.
33205
33206 [BZ #15895]
33207 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33208
33209 2013-09-09 Will Newton <will.newton@linaro.org>
33210
33211 * malloc/Makefile: Add tst-realloc to tests.
33212 * malloc/tst-realloc.c: New file.
33213
33214 2013-09-09 Allan McRae <allan@archlinux.org>
33215
33216 [BZ #15844]
33217 * COPYING: Update from GNU website to fix FSF address.
33218 * COPYING.LIB: Likewise.
33219
33220 2013-09-06 David S. Miller <davem@davemloft.net>
33221
33222 * po/zh_TW.po: Update Chinese (traditional) translation from
33223 translation project.
33224
33225 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33226 Joseph Myers <joseph@codesourcery.com>
33227
33228 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33229 "localeinfo.h".
33230 (obstack_chunk_alloc): New macro.
33231 (obstack_chunk_free): Likewise.
33232 (record_offset): New function.
33233 (init_locale_data): Likewise.
33234 (align_locale_data): Likewise.
33235 (add_locale_empty): Likewise.
33236 (add_locale_raw_data): Likewise.
33237 (add_locale_raw_obstack): Likewise.
33238 (add_locale_string): Likewise.
33239 (add_locale_wstring): Likewise.
33240 (add_locale_uint32): Likewise.
33241 (add_locale_uint32_array): Likewise.
33242 (add_locale_char): Likewise.
33243 (start_locale_structure): Likewise.
33244 (end_locale_structure): Likewise.
33245 (start_locale_prelude): Likewise.
33246 (end_locale_prelude): Likewise.
33247 (write_locale_data): Take locale_file structure rather than an
33248 iovec.
33249 * locale/programs/locfile.h: Include "obstack.h".
33250 (struct locale_file): Change to store locale file contents instead
33251 of header.
33252 (init_locale_data): New prototype.
33253 (align_locale_data): Likewise.
33254 (add_locale_empty): Likewise.
33255 (add_locale_raw_data): Likewise.
33256 (add_locale_raw_obstack): Likewise.
33257 (add_locale_string): Likewise.
33258 (add_locale_wstring): Likewise.
33259 (add_locale_uint32): Likewise.
33260 (add_locale_uint32_array): Likewise.
33261 (add_locale_char): Likewise.
33262 (start_locale_structure): Likewise.
33263 (end_locale_structure): Likewise.
33264 (start_locale_prelude): Likewise.
33265 (end_locale_prelude): Likewise.
33266 (write_locale_data): Update prototype.
33267 * locale/programs/3level.h (struct TABLE): Remove result field.
33268 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33269 Use new locale_file interface.
33270 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33271 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33272 * locale/programs/ld-address.c (address_output): Use new
33273 locale_file interface.
33274 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33275 NO_ADD_LOCALE.
33276 (collate_finish): Don't call collseq_table_finalize.
33277 (collate_output): Use new locale_file interface.
33278 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33279 in file.
33280 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33281 (TABLE): Move defines earlier in file.
33282 (ELEMENT): Likewise.
33283 (DEFAULT): Likewise.
33284 (wctrans_table_add): Move macro and inline function earlier in
33285 file.
33286 (struct wctype_table): Move type earlier in file.
33287 (add_locale_wctype_table): New static prototype.
33288 (struct locale_ctype_t): Use logical types instead of struct iovec
33289 pointers for members.
33290 (ctype_output): Use new locale_file interface.
33291 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33292 new locale_file interface.
33293 (allocate_arrays): Update for use of new locale_file interface.
33294 * locale/programs/ld-identification.c (identification_output): Use
33295 new locale_file interface.
33296 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33297 * locale/programs/ld-messages.c (messages_output): Likewise.
33298 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33299 * locale/programs/ld-name.c (name_output): Likewise.
33300 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33301 * locale/programs/ld-paper.c (paper_output): Likewise.
33302 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33303 * locale/programs/ld-time.c (time_output): Likewise.
33304
33305 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33306
33307 * benchtests/Makefile: Add memrchr benchmark.
33308 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33309 benchmark as memrchr.
33310 * benchtests/bench-memrchr-ifunc.c: New file.
33311 * benchtests/bench-memrchr.c: New file.
33312
33313 2013-09-06 Will Newton <will.newton@linaro.org>
33314
33315 * benchtests/Makefile (string-bench): Add memcpy.
33316
33317 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33318 Cong Wang <amwang@redhat.com>
33319
33320 [BZ #15850]
33321 * sysdeps/unix/sysv/linux/bits/in.h
33322 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33323 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33324 before __USE_KERNEL_IPV6_DEFS uses.
33325 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33326 IPPROTO_BEETPH.
33327 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33328 sockaddr_in6, or ipv6_mreq.
33329
33330 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33331
33332 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33333 memory access for final bytes in some large inputs.
33334 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33335
33336 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33337
33338 * string/test-memrchr.c: New file.
33339 * string/test-memrchr-ifunc.c: New file.
33340 * string/Makefile: Add new memrchr testcase.
33341
33342 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33343
33344 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33345 fanotify_init returns EPERM.
33346
33347 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33348
33349 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33350 errors.
33351 (top level): Treat second token from macro or constant entries for
33352 allowed headers as allowed.
33353 * include/complex.h: Condition internal declarations on
33354 [!_ISOMAC].
33355 * include/fenv.h: Condition include of <stdbool.h> and internal
33356 declarations on [!_ISOMAC].
33357
33358 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33359
33360 [BZ #15923]
33361 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33362
33363 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33364
33365 * configure.in (--enable-versioning): Remove configure option.
33366 (libc_cv_asm_symver_directive): Remove configure test.
33367 (libc_cv_ld_version_script_option): Likewise.
33368 (VERSIONING): Remove variable and AC_SUBST.
33369 (DO_VERSIONING): Remove AC_DEFINE.
33370 * configure: Regenerated.
33371 * config.h.in (DO_VERSIONING): Remove macro.
33372 * Makerules [$(versioning) = yes]: Change conditionals to
33373 [$(build-shared) = yes].
33374 * config.make.in (versioning): Remove variable.
33375 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33376 [$(build-shared) = yes].
33377 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33378 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33379 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33380 [$(build-shared) = yes].
33381 * extra-lib.mk [$(versioning) = yes]: Likewise.
33382 * hurd/Makefile [$(versioning) = yes]: Likewise.
33383 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33384 [SHARED].
33385 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33386 [SHARED].
33387 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33388 [SHARED && !NO_HIDDEN].
33389 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33390 [SHARED].
33391 [SHARED && DO_VERSIONING]: Likewise..
33392 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33393 [$(build-shared) = yes].
33394 * manual/install.texi (--disable-versioning): Remove
33395 documentation.
33396 * INSTALL: Regenerated.
33397 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33398 to [SHARED].
33399 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33400 [$(build-shared) = yes].
33401 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33402 * sysdeps/i386/i686/multiarch/strstr-c.c
33403 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33404 [SHARED && !NO_HIDDEN].
33405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33406 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33407 * sysdeps/powerpc/powerpc32/dl-machine.c
33408 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33409 * sysdeps/powerpc/powerpc32/sysdep.h
33410 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33411 to [SHARED && PIC && !NO_HIDDEN].
33412 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33413 conditional to [SHARED].
33414
33415 2013-09-04 Will Newton <will.newton@linaro.org>
33416
33417 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33418 * benchtests/bench-string.h: Include bench-timing.h instead
33419 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33420 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33421 call to HP_TIMING_DIFF_INIT.
33422 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33423 instead of hp-timing.h macros.
33424 * benchtests/bench-memchr.c: Likewise.
33425 * benchtests/bench-memcmp.c: Likewise.
33426 * benchtests/bench-memcpy.c: Likewise.
33427 * benchtests/bench-memmem.c: Likewise.
33428 * benchtests/bench-memmove.c: Likewise.
33429 * benchtests/bench-memset.c: Likewise.
33430 * benchtests/bench-rawmemchr.c: Likewise.
33431 * benchtests/bench-strcasecmp.c: Likewise.
33432 * benchtests/bench-strcasestr.c: Likewise.
33433 * benchtests/bench-strcat.c: Likewise.
33434 * benchtests/bench-strchr.c: Likewise.
33435 * benchtests/bench-strcmp.c: Likewise.
33436 * benchtests/bench-strcpy.c: Likewise.
33437 * benchtests/bench-strcpy_chk.c: Likewise.
33438 * benchtests/bench-strlen.c: Likewise.
33439 * benchtests/bench-strncasecmp.c: Likewise.
33440 * benchtests/bench-strncat.c: Likewise.
33441 * benchtests/bench-strncmp.c: Likewise.
33442 * benchtests/bench-strncpy.c: Likewise.
33443 * benchtests/bench-strnlen.c: Likewise.
33444 * benchtests/bench-strpbrk.c: Likewise.
33445 * benchtests/bench-strrchr.c: Likewise.
33446 * benchtests/bench-strspn.c: Likewise.
33447 * benchtests/bench-strstr.c: Likewise.
33448
33449 2013-09-04 Will Newton <will.newton@linaro.org>
33450
33451 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33452
33453 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33454
33455 [BZ #15427]
33456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33457 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33458 * math/libm-test.inc (lgamma_test_data): Add more tests.
33459 * sysdeps/i386/fpu/libm-test-ulps: Update.
33460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33461
33462 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33463
33464 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33466 Add ifunc.
33467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33468 Add strcmp-sse2-unaligned
33469 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33470
33471 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33472
33473 * Versions.def (libc): Add GLIBC_2.19.
33474
33475 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33476
33477 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33478 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33479
33480 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33481
33482 [BZ #14155]
33483 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33484 intermediate calculations in recurrence.
33485 (__ieee754_ynf): Likewise.
33486 * math/libm-test.inc (jn_test_data): Do not allow spurious
33487 underflow exception. Add more tests.
33488 (yn_test_data): Add more tests.
33489 * sysdeps/i386/fpu/libm-test-ulps: Update.
33490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33491
33492 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33493
33494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33495
33496 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33497
33498 * csu/init-first.c: Fix then/than typos.
33499 * locale/programs/ld-collate.c: Likewise.
33500 * locale/programs/linereader.h: Likewise.
33501 * manual/charset.texi: Likewise.
33502 * manual/filesys.texi: Likewise.
33503 * manual/stdio.texi: Likewise.
33504 * manual/string.texi: Likewise.
33505 * stdlib/fmtmsg.c: Likewise.
33506 * sysdeps/i386/stpncpy.S: Likewise.
33507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33508 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33510 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33511
33512 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33513
33514 * elf/dl-open.c: Fix typos.
33515 * iconvdata/gbbig5.c: Likewise.
33516 * iconvdata/iso-2022-jp.c: Likewise.
33517 * iconv/gconv_int.h: Likewise.
33518 * iconv/loop.c: Likewise.
33519 * nis/rpcsvc/nis.h: Likewise.
33520 * resolv/ns_name.c: Likewise.
33521 * stdio-common/vfscanf.c: Likewise.
33522 * streams/stropts.h: Likewise.
33523 * sunrpc/rpc_thread.c: Likewise.
33524 * sysdeps/i386/strpbrk.S: Likewise.
33525 * sysdeps/ieee754/k_standard.c: Likewise.
33526 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33528 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33529 * sysdeps/mach/hurd/profil.c: Likewise.
33530 * sysdeps/s390/dl-procinfo.h: Likewise.
33531 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33533 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33534 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33535 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33536
33537 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33538
33539 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33541
33542 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33543
33544 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33545 aix specific files.
33546 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33547 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33548 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33549 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33550 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33551 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33552 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33553 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33554
33555 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33556 Roland McGrath <roland@hack.frob.com>
33557
33558 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33559 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33560
33561 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33562
33563 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33564 __executable_start symbol instead of _start.
33565
33566 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33567
33568 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33569 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33570 Move macros to...
33571 * sysdeps/gnu/ldsodefs.h: ... this new file.
33572
33573 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33574 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33575 instead of ELFOSABI_LINUX.
33576
33577 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33578 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33579 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33580 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33581 Likewise.
33582 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33583 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33584 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33585 Likewise.
33586 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33587 (ibm_extended_long_double): Add ieee_nan member.
33588 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33589 (do_test): New function.
33590
33591 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33592 TEST_TRUNC.
33593 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33594 functions, renamed from truncdfsf_test, trunctfsf_test,
33595 trunctfdf_test.
33596 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33597 functions.
33598 (do_test): Run all these.
33599
33600 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33601
33602 * argp/argp-help.c: Fix typos.
33603 * argp/argp-parse.c: Likewise.
33604 * debug/backtracesyms.c: Likewise.
33605 * elf/elf.h: Likewise.
33606 * malloc/malloc.c: Likewise.
33607 * nis/nis_print.c: Likewise.
33608 * resolv/res_comp.c: Likewise.
33609 * stdlib/stdlib.h: Likewise.
33610 * sunrpc/clnt_tcp.c: Likewise.
33611 * sunrpc/clnt_udp.c: Likewise.
33612 * sunrpc/clnt_unix.c: Likewise.
33613 * sysdeps/unix/bsd/ptsname.c: Likewise.
33614 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33617 Likewise.
33618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33619 Likewise.
33620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33621 Likewise.
33622 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33623
33624 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33625
33626 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33628
33629 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33630
33631 [BZ #15897]
33632 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33633 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33634 ($(objpfx)bug-dl-leaf): New rule.
33635 ($(objpfx)bug-dl-leaf.so): Likewise.
33636 ($(objpfx)bug-dl-leaf.out): Likewise.
33637 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33638 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33639 * dlfcn/bug-dl-leaf.c: New test.
33640 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33641 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33642 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33643 (dlclose): Likewise.
33644 (dlmopen): Likewise.
33645
33646 2013-08-27 Roland McGrath <roland@hack.frob.com>
33647
33648 * include/netdb.h [!_ISOMAC]:
33649 Don't include <tls.h>.
33650 (h_errno, __libc_h_errno): Move declaration and macros out of
33651 [_LIBC_REENTRANT].
33652
33653 * include/resolv.h [_RESOLV_H_]:
33654 Don't include <tls.h>.
33655 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33656 * resolv/res_libc.c: Don't include <tls.h>.
33657 (_res): Use __attribute__ ((nocommon)) in place of
33658 __attribute__ ((section (".bss"))).
33659
33660 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33661 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33662
33663 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33664
33665 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33666 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33667
33668 * resolv/res_mkquery.c: Include <sys/time.h>.
33669
33670 * inet/ifreq.c: Moved to ...
33671 * sysdeps/unix/ifreq.c: ... here.
33672 * inet/ifreq.c: New file, true stub version.
33673
33674 * socket/sa_len.c: New file.
33675 * socket/Makefile (aux): Add it.
33676 * sysdeps/unix/sysv/linux/Makefile
33677 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33678 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33679 and #include <socket/sa_len.c>.
33680 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33681 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33682
33683 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33684 * bits/socket.h: ... here.
33685
33686 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33687 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33688 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33689
33690 2013-08-27 Andreas Schwab <schwab@suse.de>
33691
33692 [BZ #15736]
33693 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33694 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33695 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33696 * string/test-strcasecmp.c (test_main): Run tests in several
33697 locales.
33698 * string/test-strncasecmp.c (test_main): Likewise.
33699
33700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33701 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33702 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33704 (__strncasecmp_ssse3) [PIC]: Likewise.
33705
33706 2013-08-26 Roland McGrath <roland@hack.frob.com>
33707
33708 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33709
33710 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33711 instead of explicitly declaring xdecrypt.
33712 * nis/nss_nis/nis-publickey.c: Likewise.
33713
33714 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33715
33716 [BZ #15890]
33717 * nscd/aicache.c: Include res_hconf.h.
33718 (addhstaiX): Initialize res_hconf.
33719
33720 2013-08-26 Andreas Schwab <schwab@suse.de>
33721
33722 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33723 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33724
33725 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33726
33727 * nscd/aicache.c (addhstaiX): Fix indentation.
33728
33729 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33730
33731 * configure.ac: Quote $build_pt_chown test.
33732 * configure: Regenerated.
33733
33734 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33735
33736 [BZ #15532]
33737 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33738 * math/s_cexpf.c (__cexpf): Likewise.
33739 * math/s_cexpl.c (__cexpl): Likewise.
33740 * math/libm-test.inc (cexp_test_data): Correct expected return
33741 value for NaN + i0. Add another test.
33742
33743 2013-08-22 David S. Miller <davem@davemloft.net>
33744
33745 * po/ca.po: Update Catalan translation from translation project.
33746 * po/uk.po: Add Ukrainian translations from translation project.
33747
33748 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33749
33750 [BZ #15797]
33751 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33752 is infinite, not alongside NaN test.
33753 * math/s_fdimf.c (__fdimf): Likewise.
33754 * math/s_fdiml.c (__fdiml): Likewise.
33755 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33756 errno is unchanged.
33757
33758 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33759
33760 * argp/argp-help.c: Fix typos.
33761 * crypt/speeds.c: Likewise.
33762 * csu/check_fds.c: Likewise.
33763 * elf/dl-load.c: Likewise.
33764 * elf/dl-open.c: Likewise.
33765 * elf/reldep3.c: Likewise.
33766 * elf/reldep.c: Likewise.
33767 * elf/sprof.c: Likewise.
33768 * iconv/iconv_charmap.c: Likewise.
33769 * iconv/skeleton.c: Likewise.
33770 * iconv/strtab.c: Likewise.
33771 * io/lockf64.c: Likewise.
33772 * libio/libioP.h: Likewise.
33773 * resolv/gai_notify.c: Likewise.
33774 * resolv/ns_name.c: Likewise.
33775 * resolv/ns_samedomain.c: Likewise.
33776 * resolv/res_send.c: Likewise.
33777 * stdlib/random.c: Likewise.
33778 * sunrpc/rpc/xdr.h: Likewise.
33779 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33781 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33782 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33783 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33784 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33787 * sysdeps/mach/hurd/check_fds.c: Likewise.
33788 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33789 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33792 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33793 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33794 * sysdeps/pthread/aio_notify.c: Likewise.
33795 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33796 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33797 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33799 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33800
33801 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33802
33803 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33804 version if bit_Slow_SSE4_2 is set.
33805 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33806 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33807
33808 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33809
33810 [BZ #15867]
33811 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33812 trampoline stack frame information.
33813 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33814 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33815 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33816 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33817 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33818 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33819 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33820 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33821 sa_flags value.
33822 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33823 interrupting a syscall and set with option SA_SIGINFO.
33824
33825 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33826
33827 [BZ #15531]
33828 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33829 argument is infinite.
33830 * math/s_cprojf.c (__cprojf): Likewise.
33831 * math/s_cprojl.c (__cprojl): Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33833 * math/libm-test.inc (cproj_test_data): Add more tests.
33834
33835 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33836
33837 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33838 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33839 size. Use __ffs to determine corresponding shift.
33840
33841 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33842 Roland McGrath <roland@hack.frob.com>
33843
33844 * Makefile (INSTALL): Remove trailing blank lines from output of
33845 makeinfo.
33846
33847 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33848
33849 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33850 Align 32 bit compat elf_greg to 8 bytes.
33851
33852 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33853
33854 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33855
33856 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33857
33858 * string/strcoll_l.c (coll_seq): New structure.
33859 (get_next_seq_cached): New function.
33860 (get_next_seq): New function.
33861 (do_compare): New function.
33862 (STRCOLL): Use GNU style definition. Simplify implementation
33863 by using get_next_seq, get_next_seq_cached and do_compare.
33864
33865 2013-08-16 Florian Weimer <fweimer@redhat.com>
33866
33867 [BZ #14699]
33868 CVE-2013-4237
33869 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33870 member.
33871 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33872 member.
33873 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33874 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33875 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33876 conditional.
33877 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33878 GETDENTS_64BIT_ALIGNED.
33879 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33880 * manual/filesys.texi (Reading/Closing Directory): Document
33881 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33882 strongly.
33883 * manual/conf.texi (Limits for Files): Add portability note to
33884 NAME_MAX, PATH_MAX.
33885 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33886
33887 2013-08-13 Andreas Schwab <schwab@suse.de>
33888
33889 [BZ #15749]
33890 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33891 of fabs.
33892 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33893 LDBL_MAX_EXP >= 16384]: Add tests for it.
33894
33895 2013-08-12 David S. Miller <davem@davemloft.net>
33896
33897 * version.h (RELEASE): Set to "development".
33898 (VERSION): Set to "2.18.90".
33899 * NEWS: Add 2.19 section.
33900
33901 2013-08-03 David S. Miller <davem@davemloft.net>
33902
33903 * po/ko.po: Update Korean translation from translation project.
33904
33905 2013-08-01 David S. Miller <davem@davemloft.net>
33906
33907 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33908 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33909 Bilka.
33910
33911 2013-07-30 David S. Miller <davem@davemloft.net>
33912
33913 * po/fr.po: Update French translation from translation project.
33914
33915 2013-07-28 David S. Miller <davem@davemloft.net>
33916
33917 * po/cs.po: Update Czech translation from translation project.
33918
33919 * po/sv.po: Update Swedish translation from translation project.
33920
33921 2013-07-27 David S. Miller <davem@davemloft.net>
33922
33923 * po/eo.po: Update Esperanto translation from translation project.
33924
33925 * po/vi.po: Update Vietnamese translation from translation project.
33926
33927 * po/de.po: Update German translation from translation project.
33928
33929 2013-07-26 David S. Miller <davem@davemloft.net>
33930
33931 * po/bg.po: Update Bulgarian translation from translation project.
33932
33933 * po/nl.po: Update Dutch translation from translation project.
33934 * po/pl.po: Update Polish translation from translation project.
33935 * po/ru.po: Update Russian translation from translation project.
33936
33937 2013-07-24 David S. Miller <davem@davemloft.net>
33938
33939 * po/libc.pot: Update.
33940
33941 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33942
33943 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33944 variable page size.
33945 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33946 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33947 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33948
33949 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33950
33951 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33952
33953 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33954 Andreas Schwab <schwab@suse.de>
33955 Roland McGrath <roland@hack.frob.com>
33956 Joseph Myers <joseph@codesourcery.com>
33957 Carlos O'Donell <carlos@redhat.com>
33958
33959 [BZ #15755]
33960 * config.h.in: Define HAVE_PT_CHOWN.
33961 * config.make.in (build-pt-chown): New variable.
33962 * configure.in (--enable-pt_chown): New configure option.
33963 * configure: Regenerate.
33964 * login/Makefile: Include Makeconfig. Build pt_chown only if
33965 build-pt-chown is enabled.
33966 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33967 pt_chown to fix pty ownership.
33968 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33969 CLOSE_ALL_FDS.
33970 * manual/install.texi (Configuring and compiling): Mention
33971 --enable-pt_chown. Add @findex for grantpt.
33972 * INSTALL: Regenerate.
33973
33974 2013-07-20 David S. Miller <davem@davemloft.net>
33975
33976 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33977 difference between 32-bit and 64-bit.
33978
33979 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33980
33981 [BZ #15711]
33982 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33983 Avoid system header dependency with -ffreestanding.
33984 ($(objpfx)bits/syscall%d): Likewise.
33985
33986 2013-07-13 David S. Miller <davem@davemloft.net>
33987
33988 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33989 underflows from atanl/atan2l due to bug 15319.
33990 (casinh_test_data): Likewise.
33991
33992 2013-07-07 David S. Miller <davem@davemloft.net>
33993
33994 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33995
33996 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33997
33998 * sysdeps/i386/fpu/libm-test-ulps: Update.
33999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34000
34001 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34002
34003 * configure.in (--enable-lock-elision): Fix message text.
34004 * INSTALL: Regenerate.
34005 * configure: Regenerate.
34006
34007 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34008
34009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34010
34011 2013-07-03 Andreas Jaeger <aj@suse.de>
34012
34013 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34014 define.
34015 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34016 (ptrace_peeksiginfo_args): Add.
34017 (__ptrace_peeksiginfo_flags): Add.
34018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34020 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34021
34022 2013-07-03 Allan McRae <allan@archlinux.org>
34023
34024 * sysdeps/i386/fpu/libm-test-ulps: Update.
34025
34026 2013-07-02 David S. Miller <davem@davemloft.net>
34027
34028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34029
34030 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34031
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34033
34034 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34035
34036 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34038
34039 2013-07-02 Andi Kleen <ak@linux.intel.com>
34040
34041 * config.h.in (ENABLE_LOCK_ELISION): Add.
34042 * configure.in (--enable-lock-elision): Add option.
34043 * manual/install.texi: Document --enable lock elision.
34044 * configure: Regenerate
34045 * INSTALL: Regenerate.
34046
34047 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34048
34049 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34050 SSE4.2 strcasecmp for libc.a.
34051 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34052
34053 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34054
34055 [BZ #13304]
34056 * soft-fp/op-common.h (_FP_FMA): New macro.
34057 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34058 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34059 (_FP_MUL_MEAT_1_imm): ... here.
34060 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34061 (_FP_MUL_MEAT_1_wide): ... here.
34062 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34063 (_FP_MUL_MEAT_1_hard): ... here.
34064 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34065 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34066 (_FP_MUL_MEAT_2_wide): ... here.
34067 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34068 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34069 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34070 (_FP_MUL_MEAT_2_gmp): ... here.
34071 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34072 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34073 (_FP_MUL_MEAT_4_wide): ... here.
34074 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34075 (_FP_MUL_MEAT_4_gmp): ... here.
34076 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34077 (_FP_WFRACBITS_DW_S): Likewise.
34078 (_FP_WFRACXBITS_DW_S): Likewise.
34079 (_FP_HIGHBIT_DW_S): Likewise.
34080 (FP_FMA_S): Likewise.
34081 (_FP_FRAC_HIGH_DW_S): Likewise.
34082 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34083 (_FP_WFRACBITS_DW_D): Likewise.
34084 (_FP_WFRACXBITS_DW_D): Likewise.
34085 (_FP_HIGHBIT_DW_D): Likewise.
34086 (FP_FMA_D): Likewise.
34087 (_FP_FRAC_HIGH_DW_D): Likewise.
34088 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34089 (_FP_WFRACBITS_DW_E): Likewise.
34090 (_FP_WFRACXBITS_DW_E): Likewise.
34091 (_FP_HIGHBIT_DW_E): Likewise.
34092 (FP_FMA_E): Likewise.
34093 (_FP_FRAC_HIGH_DW_E): Likewise.
34094 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34095 (_FP_WFRACBITS_DW_Q): Likewise.
34096 (_FP_WFRACXBITS_DW_Q): Likewise.
34097 (_FP_HIGHBIT_DW_Q): Likewise.
34098 (FP_FMA_Q): Likewise.
34099 (_FP_FRAC_HIGH_DW_Q): Likewise.
34100 * soft-fp/fmasf4.c: New file.
34101 * soft-fp/fmadf4.c: Likewise.
34102 * soft-fp/fmatf4.c: Likewise.
34103
34104 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34105
34106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34107 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34108 Silvermont.
34109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34110 macro.
34111 (index_Slow_SSE4_2): Likewise.
34112 (index_Prefer_PMINUB_for_stringop): Likewise.
34113 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34114 bit_Slow_SSE4_2 is set.
34115 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34116 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34117
34118 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34119
34120 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34121 rtld_global._dl_hwcap2.
34122 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34123 POWER8.
34124 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34125 POWER8 feature descriptions defined in _dl_hwcap2.
34126 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34127 string handling for POWER8 feature bits.
34128 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34129 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34130 _dl_powerpc_cap_flags.
34131 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34132 * sysdeps/powerpc/rtld-global-offsets.sym
34133 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34134 _dl_hwcap2 in the rtld_global_ro structure.
34135
34136 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34137
34138 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34139 hardware capabilities in support of AT_HWCAP2.
34140 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34141 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34142 GLRO(dl_hwcap2).
34143 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34144 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34145 explicitly the unknown a_type display mechanism is used.
34146 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34147 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34148 struct member.
34149 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34150 to macro prototype for AT_HWCAP2 support.
34151 * sysdeps/i386/dl-procinfo.h: Likewise.
34152 * sysdeps/s390/dl-procinfo.h: Likewise.
34153 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34154 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34155 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34156 return -1 for unknown a_type display fallback.
34157 * sysdeps/sparc/dl-procinfo.h: Likewise.
34158 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34159 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34160
34161 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34162
34163 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34164 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34165
34166 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34167
34168 [BZ #12492]
34169 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34170 mprotect making __stack_prot writable.
34171
34172 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34173 Joseph Myers <joseph@codesourcery.com>
34174
34175 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34176 as being properly aligned.
34177
34178 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34179
34180 * dlfcn/modstatic5.c: New file.
34181 * dlfcn/tststatic5.c: New file.
34182 * dlfcn/Makefile (tests): Add tststatic5.
34183 (tests-static): Likewise.
34184 (modules-names): Add modstatic5.
34185 (tststatic5-ENV): New variable.
34186 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34187
34188 [BZ #15022]
34189 * elf/dl-support.c (_dl_main_map): New variable.
34190 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34191 (_dl_nns, _dl_load_adds): Set to 1.
34192 (_dl_initial_searchlist): Refer to _dl_main_map.
34193 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34194 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34195 call to _dl_get_origin.
34196 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34197 around call_map.
34198 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34199 * dlfcn/modstatic3.c: New file.
34200 * dlfcn/tststatic3.c: New file.
34201 * dlfcn/tststatic4.c: New file.
34202 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34203 (tests-static): Likewise.
34204 (modules-names): Add modstatic3.
34205 (tststatic3-ENV, tststatic4-ENV): New variables.
34206 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34207 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34208
34209 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34210
34211 * configure.in (CC): Require GCC version 4.4 or later.
34212 * configure: Regenerated.
34213 * manual/install.texi (Tools for Compilation): Update GCC version
34214 requirement.
34215 * INSTALL: Regenerated.
34216
34217 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34218
34219 [BZ #15674]
34220 * string/test-memcmp.c (check2): New.
34221 (main): Call check2.
34222
34223 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34224
34225 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34226
34227 [BZ #15022]
34228 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34229 over to...
34230 (dl_open_worker) [!SHARED]: ... here.
34231
34232 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34233
34234 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34235
34236 2013-06-25 Richard Henderson <rth@redhat.com>
34237
34238 * locale/programs/locarchive.c: Include <libc-internal.h>
34239
34240 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34241
34242 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34243 trailing whitespace removed.
34244
34245 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34246
34247 [BZ #10283]
34248 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34249 * locale/programs/locarchive.c: Include libc-mmap.h.
34250 (prepare_address_space): Take two new outputs (the mmap base and len).
34251 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34252 values.
34253 (create_archive): Declare new mmap base and len values for
34254 prepare_address_space, and store the result in ah.
34255 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34256 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34257 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34258 Declare new mmap base and len values for
34259 prepare_address_space, and store the result in new_ah.
34260 (open_archive): Declare new mmap base and len values for
34261 prepare_address_space, and store the result in ah.
34262 (close_archive): If ah->mmap_base is not NULL, use that and
34263 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34264 * sysdeps/generic/libc-mmap.h: New file.
34265
34266 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34267
34268 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34269 (ALIGN_UP): Likewise.
34270 (PTR_ALIGN_DOWN): Likewise.
34271 (PTR_ALIGN_UP): Likewise.
34272
34273 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34274
34275 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34276 entry mapped to PPC_PLATFORM_POWER8.
34277 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34278 POWER8.
34279 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34280 (_dl_string_platform): Add case for exporting platform position for
34281 POWER8.
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34283 search path to sysdeps/powerpc/powerpc32/power8 directory.
34284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34285 search path to sysdeps/powerpc/powerpc64/power8 directory.
34286 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34287 power7 directories.
34288 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34289 power7 directories.
34290
34291 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34292
34293 * INSTALL: Regenerate.
34294
34295 * nscd/connections.c (nscd_init): Fix comment.
34296
34297 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34298
34299 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34300
34301 [BZ #15667]
34302 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34303 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34304
34305 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34306
34307 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34308 DL_DST_REQ_STATIC.
34309 (DL_DST_REQ_STATIC): Remove macro.
34310
34311 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34312
34313 [BZ #7006]
34314 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34315 with a shift of 0 bits.
34316
34317 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34318
34319 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34320 $(tststatic-ENV).
34321
34322 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34323
34324 [BZ #15655]
34325 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34326
34327 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34328
34329 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34330 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34331 accepts -fno-tree-loop-distribute-patterns.
34332 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34333 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34334 recursive call.
34335 * string/memset.c (memset): Likewise.
34336 * string/test-memmove.c (simple_memmove): Disable loop transformation
34337 to library calls.
34338 * string/test-memset.c (simple_memset): Likewise.
34339 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34340 * benchtests/bench-memset.c (simple_memset): Likewise.
34341 * configure: Regenerated.
34342
34343 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34344
34345 * math/test-misc.c (main): Ignore fesetround failure when failures
34346 of subsequent rounding tests would be ignored.
34347
34348 [BZ #15654]
34349 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34350 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34351 * math/fegetenv.c (__fegetenv): Return 0.
34352 * math/fegetexcept.c (fegetexcept): Return 0.
34353 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34354 FE_TONEAREST.
34355 * math/feholdexcpt.c (feholdexcept): Return 0.
34356 * math/fesetenv.c (__fesetenv): Return 0.
34357 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34358 argument FE_TONEAREST.
34359 * math/feupdateenv.c (__feupdateenv): Return 0.
34360 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34361
34362 2013-06-18 Roland McGrath <roland@hack.frob.com>
34363
34364 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34365 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34366 ($(objpfx)rtld-%.os rules): Use them.
34367
34368 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34369
34370 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34371 fields.
34372
34373 2013-06-17 Roland McGrath <roland@hack.frob.com>
34374
34375 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34376 length of target pattern, then descending length of dependency pattern.
34377 * configure.in (AWK): Require gawk 3.1.2 or newer.
34378 * manual/install.texi (Tools for Compilation): Say that we do.
34379 * configure: Regenerated.
34380
34381 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34382 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34383 * scripts/sysd-rules.awk: ... this new script.
34384 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34385 than a glob-style pattern.
34386
34387 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34388
34389 * math/test-misc.c (main): Do not treat incorrectly rounded
34390 conversions as failure unless ROUNDING_TESTS passes.
34391
34392 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34393
34394 [BZ #15631]
34395 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34396 restore exception state around main square root computation, then
34397 check for inexactness explicitly.
34398
34399 * math/libm-test.inc (fma_test_data): Add another test.
34400
34401 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34402
34403 * manual/threads.texi (Non-POSIX Extensions): New document
34404 node. Document pthread_getattr_default_np and
34405 pthread_setattr_default_np.
34406
34407 * Versions.def (libpthread): Add GLIBC_2.18.
34408 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34410 Likewise.
34411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34412 Likewise.
34413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34414 Likewise.
34415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34416 Likewise.
34417 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34418 Likewise.
34419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34420 Likewise.
34421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34422 Likewise.
34423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34424 Likewise.
34425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34426 Likewise.
34427
34428 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34429
34430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34431 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34432
34433 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34434 H.J. Lu <hjl.tools@gmail.com>
34435
34436 [BZ #15627]
34437 * sysdeps/x86_64/rtld-memset.c: Remove file.
34438 * sysdeps/x86_64/rtld-memset.S: New file.
34439
34440 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34441
34442 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34443 (test_in_one_mode): Take arguments for whether the rounding mode
34444 is supported for each floating-point type.
34445 (do_test): Pass new arguments to test_in_one_mode using
34446 ROUNDING_TESTS.
34447
34448 2013-06-13 Roland McGrath <roland@hack.frob.com>
34449
34450 * posix/tst-waitid.c (do_test): Distinguish different instances of
34451 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34452 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34453 before entering the kernel for waitpid.
34454
34455 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34456
34457 * NEWS: Fix note on clock function precision. Text by Roland
34458 McGrath.
34459
34460 2013-06-13 Roland McGrath <roland@hack.frob.com>
34461
34462 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34463 it into place only when and if the sanity check passes.
34464
34465 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34466
34467 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34468 output for whether conversion result is exact. Take argument
34469 indicating whether type is IBM long double.
34470 (round_for_all): Change need_exact field to ibm_ld.
34471 * stdlib/tst-strtod-round.c (struct exactness): New type.
34472 (struct test): Change bool ld_ok field to struct exactness exact.
34473 (TEST): Update all definitions for change to field.
34474 (tests): Regenerate array contents.
34475 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34476 field value. Check for IBM long double here.
34477 (do_test): Update calls to test_in_one_mode.
34478
34479 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34480
34481 [BZ #12515]
34482 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34483 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34484
34485 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34486
34487 [BZ #15605]
34488 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34489 generated by the compiler on loop optimizations.
34490 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34491 general definitions.
34492
34493 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34494
34495 * math/bug-nextafter.c: Include <math-tests.h>.
34496 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34497 the relevant type.
34498 * math/bug-nexttoward.c: Include <math-tests.h>.
34499 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34500 the relevant type.
34501 * math/test-misc.c: Include <math-tests.h>.
34502 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34503 the relevant type.
34504
34505 2013-06-12 Andreas Jaeger <aj@suse.de>
34506
34507 * po/ia.po: Update Interlingua translation from translation
34508 project.
34509
34510 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34511
34512 * include/fenv.h: Include stdbool.h.
34513 (struct rm_ctx): New structure.
34514 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34515 Define macro.
34516 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34517 (SET_RESTORE_ROUNDF): Likewise.
34518 (SET_RESTORE_ROUNDL): Likewise.
34519 (SET_RESTORE_ROUND_NOEX): Likewise.
34520 (SET_RESTORE_ROUND_NOEXF): Likewise.
34521 (SET_RESTORE_ROUND_NOEXL): Likewise.
34522 (SET_RESTORE_ROUND_53BIT): Likewise.
34523 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34524 (libc_feresetround_noexf_ctx): Likewise.
34525 (libc_feresetround_noexl_ctx): Likewise.
34526 (libc_feholdsetround_53bit_ctx): Likewise.
34527 (libc_feresetround_53bit_ctx): Likewise.
34528 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34529 (libc_feholdexcept_setround_sse_ctx): New function.
34530 (libc_fesetenv_sse_ctx): Likewise.
34531 (libc_feupdateenv_sse_ctx): Likewise.
34532 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34533 (libc_feholdexcept_setround_387_ctx): Likewise.
34534 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34535 (libc_feholdsetround_387_prec_ctx): Likewise.
34536 (libc_feholdsetround_387_ctx): Likewise.
34537 (libc_feholdsetround_387_53bit_ctx): Likewise.
34538 (libc_feholdsetround_sse_ctx): Likewise.
34539 (libc_feresetround_sse_ctx): Likewise.
34540 (libc_feresetround_387_ctx): Likewise.
34541 (libc_feupdateenv_387_ctx): Likewise.
34542 (libc_feholdexcept_setroundf_ctx): Define macro.
34543 (libc_fesetenvf_ctx): Likewise.
34544 (libc_feupdateenvf_ctx): Likewise.
34545 (libc_feholdsetroundf_ctx): Likewise.
34546 (libc_feresetroundf_ctx): Likewise.
34547 (libc_feholdexcept_setround_ctx): Likewise.
34548 (libc_fesetenv_ctx): Likewise.
34549 (libc_feupdateenv_ctx): Likewise.
34550 (libc_feholdsetround_ctx): Likewise.
34551 (libc_feresetround_ctx): Likewise.
34552 (libc_feholdexcept_setroundl_ctx): Likewise.
34553 (libc_feupdateenvl_ctx): Likewise.
34554 (libc_feholdsetroundl_ctx): Likewise.
34555 (libc_feresetroundl_ctx): Likewise.
34556 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34557 (libc_feresetround_53bit_ctx): Likewise.
34558
34559 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34560
34561 * locale/iso-639.def: Convert to UTF-8.
34562
34563 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34564
34565 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34566 (EXCEPTION_TESTS_double): Likewise.
34567 (EXCEPTION_TESTS_long_double): Likewise.
34568 (EXCEPTION_TESTS): Likewise.
34569 * math/libm-test.inc (test_exceptions): Only test exceptions if
34570 EXCEPTION_TESTS (FLOAT).
34571
34572 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34573
34574 * benchtests/Makefile (string-bench): Add strcpy_chk and
34575 stpcpy_chk.
34576 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34577 * benchtests/bench-stpcpy_chk.c: New file.
34578 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34579 * benchtests/bench-strcpy_chk.c: New file.
34580 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34581 code.
34582 (do_test): Likewise.
34583
34584 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34585
34586 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34587 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34588 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34589 with tabs where appropriate.
34590 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34591 dl-procinfo.h.
34592 [PPC_PLATFORM_PPC440]: Likewise.
34593 [PPC_PLATFORM_PPC464]: Likewise.
34594 [PPC_PLATFORM_PPC476]: Likewise.
34595 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34596 ppc464, and ppc476 platform strings merging from ports/
34597 dl-procinfo.h.
34598
34599 2013-06-11 Andreas Schwab <schwab@suse.de>
34600
34601 [BZ #14991]
34602 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34603 (from_ucs4_idx): Regenerate.
34604 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34605 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34606 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34607 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34608 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34609 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34610 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34611 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34612 from FROM_LOOP and TO_LOOP specific macros.
34613 (BODY): Handle combining characters.
34614 * iconvdata/BIG5HKSCS.irreversible: Update.
34615 * iconvdata/BIG5HKSCS.precomposed: New file.
34616 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34617 characters.
34618 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34619
34620 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34621
34622 * include/sys/time.h: Fix indentation and add copyright header.
34623
34624 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34625 (do_test): Likewise.
34626 * string/test-memchr.c (do_one_test): Likewise.
34627 (do_test): Likewise.
34628 * string/test-memcmp.c (do_one_test): Likewise.
34629 (do_test): Likewise.
34630 * string/test-memcpy.c (do_one_test): Likewise.
34631 (do_test): Likewise.
34632 * string/test-memmem.c (do_one_test): Likewise.
34633 (do_test): Likewise.
34634 (do_random_tests): Likewise.
34635 * string/test-memmove.c (do_one_test): Likewise.
34636 (do_test): Likewise.
34637 * string/test-memset.c (do_one_test): Likewise.
34638 (do_test): Likewise.
34639 * string/test-rawmemchr.c (do_one_test): Likewise.
34640 (do_test): Likewise.
34641 * string/test-strcasecmp.c (do_one_test): Likewise.
34642 (do_test): Likewise.
34643 * string/test-strcasestr.c (do_one_test): Likewise.
34644 (do_test): Likewise.
34645 * string/test-strcat.c (do_one_test): Likewise.
34646 (do_test): Likewise.
34647 * string/test-strchr.c (do_one_test): Likewise.
34648 (do_test): Likewise.
34649 * string/test-strcmp.c (do_one_test): Likewise.
34650 (do_test): Likewise.
34651 * string/test-strcpy.c (do_one_test): Likewise.
34652 (do_test): Likewise.
34653 * string/test-string.h: Likewise.
34654 (test_init): Likewise.
34655 * string/test-strlen.c (do_one_test): Likewise.
34656 (do_test): Likewise.
34657 * string/test-strncasecmp.c (do_one_test): Likewise.
34658 (do_test): Likewise.
34659 * string/test-strncat.c (do_one_test): Likewise.
34660 (do_test): Likewise.
34661 * string/test-strncmp.c (do_one_test): Likewise.
34662 (do_test_limit): Likewise.
34663 (do_test): Likewise.
34664 * string/test-strncpy.c (do_one_test): Likewise.
34665 (do_test): Likewise.
34666 * string/test-strnlen.c (do_one_test): Likewise.
34667 (do_test): Likewise.
34668 * string/test-strpbrk.c (do_one_test): Likewise.
34669 (do_test): Likewise.
34670 * string/test-strrchr.c (do_one_test): Likewise.
34671 (do_test): Likewise.
34672 * string/test-strspn.c (do_one_test): Likewise.
34673 (do_test): Likewise.
34674 * string/test-strstr.c (do_one_test): Likewise.
34675 (do_test): Likewise.
34676
34677 * benchtests/Makefile (string-bench): Add string benchmarks.
34678 * benchtests/bench-bcopy-ifunc.c: New file.
34679 * benchtests/bench-bcopy.c: New file.
34680 * benchtests/bench-bzero-ifunc.c: New file.
34681 * benchtests/bench-bzero.c: New file.
34682 * benchtests/bench-memccpy-ifunc.c: New file.
34683 * benchtests/bench-memccpy.c: New file.
34684 * benchtests/bench-memchr-ifunc.c: New file.
34685 * benchtests/bench-memchr.c: New file.
34686 * benchtests/bench-memcmp-ifunc.c: New file.
34687 * benchtests/bench-memcmp.c: New file.
34688 * benchtests/bench-memmem-ifunc.c: New file.
34689 * benchtests/bench-memmem.c: New file.
34690 * benchtests/bench-memmove-ifunc.c: New file.
34691 * benchtests/bench-memmove.c: New file.
34692 * benchtests/bench-mempcpy-ifunc.c: New file.
34693 * benchtests/bench-mempcpy.c: New file.
34694 * benchtests/bench-memset-ifunc.c: New file.
34695 * benchtests/bench-memset.c: New file.
34696 * benchtests/bench-rawmemchr-ifunc.c: New file.
34697 * benchtests/bench-rawmemchr.c: New file.
34698 * benchtests/bench-stpcpy-ifunc.c: New file.
34699 * benchtests/bench-stpcpy.c: New file.
34700 * benchtests/bench-stpncpy-ifunc.c: New file.
34701 * benchtests/bench-stpncpy.c: New file.
34702 * benchtests/bench-strcasecmp-ifunc.c: New file.
34703 * benchtests/bench-strcasecmp.c: New file.
34704 * benchtests/bench-strcasestr-ifunc.c: New file.
34705 * benchtests/bench-strcasestr.c: New file.
34706 * benchtests/bench-strcat-ifunc.c: New file.
34707 * benchtests/bench-strcat.c: New file.
34708 * benchtests/bench-strchr-ifunc.c: New file.
34709 * benchtests/bench-strchr.c: New file.
34710 * benchtests/bench-strchrnul-ifunc.c: New file.
34711 * benchtests/bench-strchrnul.c: New file.
34712 * benchtests/bench-strcmp-ifunc.c: New file.
34713 * benchtests/bench-strcmp.c: New file.
34714 * benchtests/bench-strcpy-ifunc.c: New file.
34715 * benchtests/bench-strcpy.c: New file.
34716 * benchtests/bench-strcspn-ifunc.c: New file.
34717 * benchtests/bench-strcspn.c: New file.
34718 * benchtests/bench-strlen-ifunc.c: New file.
34719 * benchtests/bench-strlen.c: New file.
34720 * benchtests/bench-strncasecmp-ifunc.c: New file.
34721 * benchtests/bench-strncasecmp.c: New file.
34722 * benchtests/bench-strncat-ifunc.c: New file.
34723 * benchtests/bench-strncat.c: New file.
34724 * benchtests/bench-strncmp-ifunc.c: New file.
34725 * benchtests/bench-strncmp.c: New file.
34726 * benchtests/bench-strncpy-ifunc.c: New file.
34727 * benchtests/bench-strncpy.c: New file.
34728 * benchtests/bench-strnlen-ifunc.c: New file.
34729 * benchtests/bench-strnlen.c: New file.
34730 * benchtests/bench-strpbrk-ifunc.c: New file.
34731 * benchtests/bench-strpbrk.c: New file.
34732 * benchtests/bench-strrchr-ifunc.c: New file.
34733 * benchtests/bench-strrchr.c: New file.
34734 * benchtests/bench-strspn-ifunc.c: New file.
34735 * benchtests/bench-strspn.c: New file.
34736 * benchtests/bench-strstr-ifunc.c: New file.
34737 * benchtests/bench-strstr.c: New file.
34738
34739 * benchtests/Makefile: Disable parallel execution of targets.
34740 (string-bench): Add memcpy.
34741 (benchset): New variable to store a list of benchmark sets.
34742 (bench-func): Renamed from bench.
34743 (bench-set): New target.
34744 (bench): Depend on bench-func and bench-set.
34745 * benchtests/README: Add section on benchmark sets.
34746 * benchtests/bench-memcpy-ifunc.c: New file.
34747 * benchtests/bench-memcpy.c: New file.
34748 * benchtests/bench-string.h: New file.
34749
34750 2013-06-11 Andreas Schwab <schwab@suse.de>
34751
34752 [BZ #15577]
34753 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34754 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34755 values in the triple.
34756 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34757 terminator in the group key.
34758
34759 2013-06-11 Andreas Jaeger <aj@suse.de>
34760
34761 * po/zh_TW.po: Update Chinese (traditional) translation from
34762 translation project.
34763
34764 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34765
34766 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34767 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34768 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34769 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34770 (clock_getcpuclockid): Likewise.
34771 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34772 Add weak_alias and libc_hidden_def.
34773 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34774 * rt/clock_gettime.c (clock_gettime): Rename to
34775 __clock_gettime. Add weak_alias and libc_hidden_def.
34776 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34777 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34778 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34779 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34780 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34781 Likewise.
34782 * rt/clock_settime.c (clock_settime): Rename to
34783 __clock_settime. Add weak_alias and libc_hidden_def.
34784 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34785
34786 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34787
34788 * mach/err_boot.sub: Remove trailing whitespace.
34789 * mach/err_ipc.sub: Likewise.
34790 * mach/err_mach.sub: Likewise.
34791
34792 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34793 (ROUNDING_TESTS_double): Likewise.
34794 (ROUNDING_TESTS_long_double): Likewise.
34795 (ROUNDING_TESTS): Likewise.
34796 * math/libm-test.inc: Include <math-tests.h>.
34797 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34798 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34799 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34800 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34801
34802 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34803
34804 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34805 of assigning.
34806
34807 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34808
34809 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34810 otherwise empty TRANS lines.
34811 * sysdeps/gnu/errlist.c: Regenerated.
34812
34813 * catgets/gencat.c (error_print): Use (void) in function
34814 definition.
34815 * crypt/crypt_util.c (__init_des): Likewise.
34816 * crypt/speeds.c (Stop): Likewise.
34817 (main): Likewise.
34818 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34819 * inet/ruserpass.c (token): Likewise.
34820 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34821 * intl/localealias.c (extend_alias_table): Likewise.
34822 * intl/plural-exp.c (init_germanic_plural): Likewise.
34823 * libio/fcloseall.c (__fcloseall): Likewise.
34824 * libio/genops.c (_IO_flush_all): Likewise.
34825 (_IO_flush_all_linebuffered): Likewise.
34826 (_IO_cleanup): Likewise.
34827 (_IO_iter_begin): Likewise.
34828 (_IO_iter_end): Likewise.
34829 (_IO_list_lock): Likewise.
34830 (_IO_list_unlock): Likewise.
34831 (_IO_list_resetlock): Likewise.
34832 * libio/getchar.c (getchar): Likewise.
34833 * libio/getchar_u.c (getchar_unlocked): Likewise.
34834 * libio/getwchar.c (getwchar): Likewise.
34835 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34836 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34837 * login/getpt.c (__getpt): Likewise.
34838 * login/tst-utmp.c (main): Likewise.
34839 * malloc/hooks.c (__malloc_check_init): Likewise.
34840 * malloc/malloc.c (__malloc_stats): Likewise.
34841 * malloc/mtrace.c (tr_break): Likewise.
34842 (mtrace): Likewise.
34843 (muntrace): Likewise.
34844 * misc/fstab.c (endfsent): Likewise.
34845 * misc/getclktck.c (__getclktck): Likewise.
34846 * misc/getdtsz.c (__getdtablesize): Likewise.
34847 * misc/gethostid.c (gethostid): Likewise.
34848 * misc/getpagesize.c (__getpagesize): Likewise.
34849 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34850 (__get_nprocs): Likewise.
34851 (__get_phys_pages): Likewise.
34852 (__get_avphys_pages): Likewise.
34853 * misc/getttyent.c (getttyent): Likewise.
34854 (setttyent): Likewise.
34855 (endttyent): Likewise.
34856 * misc/getusershell.c (getusershell): Likewise.
34857 (endusershell): Likewise.
34858 (setusershell): Likewise.
34859 (initshells): Likewise.
34860 * misc/hsearch.c (__hdestroy): Likewise.
34861 * misc/sync.c (sync): Likewise.
34862 * misc/syslog.c (closelog_internal): Likewise.
34863 (closelog): Likewise.
34864 * misc/ttyslot.c (ttyslot): Likewise.
34865 * misc/vhangup.c (vhangup): Likewise.
34866 * posix/fork.c (__fork): Likewise.
34867 * posix/getegid.c (__getegid): Likewise.
34868 * posix/geteuid.c (__geteuid): Likewise.
34869 * posix/getgid.c (__getgid): Likewise.
34870 * posix/getpid.c (__getpid): Likewise.
34871 * posix/getppid.c (__getppid): Likewise.
34872 * posix/getuid.c (__getuid): Likewise.
34873 * posix/pause.c (pause): Likewise.
34874 * posix/setpgrp.c (setpgrp): Likewise.
34875 * posix/setsid.c (__setsid): Likewise.
34876 * posix/test-vfork.c (noop): Likewise.
34877 * resolv/gethnamaddr.c (_endhtent): Likewise.
34878 (_gethtent): Likewise.
34879 (ht_endhostent): Likewise.
34880 (gethostent): Likewise.
34881 (dns_service): Likewise.
34882 * stdlib/drand48.c (drand48): Likewise.
34883 * stdlib/lrand48.c (lrand48): Likewise.
34884 * stdlib/mrand48.c (mrand48): Likewise.
34885 * stdlib/rand.c (rand): Likewise.
34886 * stdlib/random.c (__random): Likewise.
34887 * stdlib/setenv.c (clearenv): Likewise.
34888 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34889 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34890 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34891 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34892 (__get_nprocs): Likewise.
34893 (__get_phys_pages): Likewise.
34894 (__get_avphys_pages): Likewise.
34895 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34896 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34897 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34898 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34899 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34900 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34901 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34902 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34903 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34904 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34905 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34906 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34907 * sysdeps/posix/clock.c (clock): Likewise.
34908 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34909 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34910 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34911 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34912 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34914 (__get_nprocs_conf): Likewise.
34915 (__get_phys_pages): Likewise.
34916 (__get_avphys_pages): Likewise.
34917 * time/clock.c (clock): Likewise.
34918 * time/tzset.c (__tzname_max): Likewise.
34919
34920 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34921
34922 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34923 (__bswap_32): Do not use "register".
34924 * crypt/crypt.c (_ufc_doit_r): Likewise.
34925 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34926 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34927 * gmon/gmon.c (__monstartup): Likewise.
34928 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34929 * hurd/hurdmalloc.c (more_memory): Likewise.
34930 (malloc): Likewise.
34931 (free): Likewise.
34932 (realloc): Likewise.
34933 (malloc_fork_prepare): Likewise.
34934 (malloc_fork_parent): Likewise.
34935 (malloc_fork_child): Likewise.
34936 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34937 (_svcauth_des): Likewise.
34938 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34939 * inet/inet_net.c (inet_network): Likewise.
34940 * inet/inet_netof.c (inet_netof): Likewise.
34941 * inet/rcmd.c (__validuser2_sa): Likewise.
34942 * io/fts.c (fts_open): Likewise.
34943 (fts_load): Likewise.
34944 (fts_close): Likewise.
34945 (fts_read): Likewise.
34946 (fts_children): Likewise.
34947 (fts_build): Likewise.
34948 (fts_stat): Likewise.
34949 (fts_sort): Likewise.
34950 (fts_alloc): Likewise.
34951 (fts_lfree): Likewise.
34952 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34953 (_IO_file_xsgetn): Likewise.
34954 (_IO_file_xsgetn_mmap): Likewise.
34955 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34956 (_IO_cookie_write): Likewise.
34957 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34958 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34959 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34960 * malloc/obstack.c (_obstack_begin): Likewise.
34961 (_obstack_begin_1): Likewise.
34962 (_obstack_newchunk): Likewise.
34963 (_obstack_allocated_p): Likewise.
34964 (obstack_free): Likewise.
34965 (_obstack_memory_used): Likewise.
34966 * misc/getttyent.c (getttynam): Likewise.
34967 (getttyent): Likewise.
34968 (skip): Likewise.
34969 (value): Likewise.
34970 * misc/getusershell.c (initshells): Likewise.
34971 * misc/syslog.c (__vsyslog_chk): Likewise.
34972 * misc/ttyslot.c (ttyslot): Likewise.
34973 * nis/nis_hash.c (__nis_hash): Likewise.
34974 * posix/fnmatch_loop.c (FCT): Likewise.
34975 * posix/getconf.c (print_all): Likewise.
34976 (main): Likewise.
34977 * posix/getopt.c (exchange): Likewise.
34978 * posix/glob.c (globfree): Likewise.
34979 (prefix_array): Likewise.
34980 (__glob_pattern_type): Likewise.
34981 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34982 (NS_GET32): Likewise.
34983 (NS_PUT16): Likewise.
34984 (NS_PUT32): Likewise.
34985 * resolv/gethnamaddr.c (getanswer): Likewise.
34986 (gethostbyname2): Likewise.
34987 (gethostbyaddr): Likewise.
34988 (_gethtent): Likewise.
34989 (_gethtbyname2): Likewise.
34990 (_gethtbyaddr): Likewise.
34991 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34992 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34993 * resolv/res_init.c (__res_vinit): Likewise.
34994 (net_mask): Likewise.
34995 * resolv/res_mkquery.c (outchar): Likewise.
34996 (PRINT): Likewise.
34997 * stdio-common/printf_fp.c (outchar): Likewise.
34998 (PRINT): Likewise.
34999 * stdio-common/printf_fphex.c (outchar): Likewise.
35000 (PRINT): Likewise.
35001 * stdio-common/printf_size.c (outchar): Likewise.
35002 (PRINT): Likewise.
35003 * stdio-common/test_rdwr.c (main): Likewise.
35004 * stdio-common/tfformat.c (matches): Likewise.
35005 * stdio-common/vfprintf.c (outchar): Likewise.
35006 (printf_unknown): Likewise.
35007 (buffered_vfprintf): Likewise.
35008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35009 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35010 (ReadFile): Likewise.
35011 * stdlib/qsort.c (SWAP): Likewise.
35012 (_quicksort): Likewise.
35013 * stdlib/setenv.c (__add_to_environ): Likewise.
35014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35015 * stdlib/strtol_l.c (__strtol_l): Likewise.
35016 * stdlib/tst-strtod.c (main): Likewise.
35017 * stdlib/tst-strtol.c (main): Likewise.
35018 * stdlib/tst-strtoll.c (main): Likewise.
35019 * string/bits/string2.h (__strcmp_cc): Likewise.
35020 (__strcmp_cg): Likewise.
35021 (__strcspn_c1): Likewise.
35022 (__strcspn_c2): Likewise.
35023 (__strcspn_c3): Likewise.
35024 (__strspn_c1): Likewise.
35025 (__strspn_c2): Likewise.
35026 (__strspn_c3): Likewise.
35027 (__strsep_1c): Likewise.
35028 (__strsep_2c): Likewise.
35029 (__strsep_3c): Likewise.
35030 * string/memccpy.c (__memccpy): Likewise.
35031 * string/stpcpy.c (__stpcpy): Likewise.
35032 * string/strcmp.c (strcmp): Likewise.
35033 * string/strrchr.c (strrchr): Likewise.
35034 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35035 Likewise.
35036 * sysdeps/mach/hurd/getcwd.c
35037 (_hurd_canonicalize_directory_name_internal): Likewise.
35038 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35039 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35040 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35041 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35042 Likewise, in both definitions.
35043 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35044 definitions.
35045 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35046 64] (__bswap_64): Likewise.
35047 * time/test_time.c (main): Likewise.
35048 * time/tzfile.c (__tzfile_read): Likewise.
35049 (__tzfile_compute): Likewise.
35050 * time/tzset.c (__tzset_parse_tz): Likewise.
35051 (tzset_internal): Likewise.
35052 (compute_change): Likewise.
35053 * wcsmbs/wcscat.c (__wcscat): Likewise.
35054 * wcsmbs/wcschr.c (wcschr): Likewise.
35055 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35056 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35057 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35058 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35059 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35060 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35061 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35062 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35063 * wcsmbs/wmemset.c (wmemset): Likewise.
35064
35065 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35066
35067 * scripts/config.guess: Update to version 2013-05-16.
35068 * scripts/config.sub: Update to version 2013-04-24.
35069 * scripts/install-sh: Update to version 2011-11-20.07.
35070 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35071 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35072
35073 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35074
35075 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35076 * elf/sln.c: Likewise.
35077 * hurd/hurd/ioctl.h: Likewise.
35078 * hurd/hurdmalloc.c: Likewise.
35079 * hurd/xattr.c: Likewise.
35080 * include/shlib-compat.h: Likewise.
35081 * inet/ruserpass.c: Likewise.
35082 * libio/iofgets_u.c: Likewise.
35083 * libio/iofgetws_u.c: Likewise.
35084 * locale/programs/ld-identification.c: Likewise.
35085 * locale/programs/ld-time.c: Likewise.
35086 * mach/msg-destroy.c: Likewise.
35087 * nss/nss_files/files-netgrp.c: Likewise.
35088 * resolv/res_data.c: Likewise.
35089 * soft-fp/op-1.h: Likewise.
35090 * soft-fp/op-2.h: Likewise.
35091 * soft-fp/op-4.h: Likewise.
35092 * soft-fp/op-common.h: Likewise.
35093 * stdio-common/printf_fphex.c: Likewise.
35094 * stdlib/strtod_l.c: Likewise.
35095 * sunrpc/rpc/clnt.h: Likewise.
35096 * sysdeps/generic/framestate.c: Likewise.
35097 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35098 * sysdeps/i386/bsd-setjmp.S: Likewise.
35099 * sysdeps/i386/__longjmp.S: Likewise.
35100 * sysdeps/i386/setjmp.S: Likewise.
35101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35102 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35119 * sysdeps/ieee754/support.c: Likewise.
35120 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35121 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35122 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35123 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35124 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35125 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35126 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35127 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35128 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35129 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35130 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35131 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35132 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35133 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35134 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35135 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35136 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35138
35139 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35140
35141 * posix/transbug.c: Remove executable mode.
35142
35143 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35144
35145 * crypt/speeds.c: Remove trailing whitespace.
35146 * dlfcn/default.c: Likewise.
35147 * elf/ifuncdep2.c: Likewise.
35148 * elf/ifuncmain1.c: Likewise.
35149 * elf/ifuncmain1vis.c: Likewise.
35150 * elf/testobj.h: Likewise.
35151 * elf/tst-stackguard1.c: Likewise.
35152 * gmon/sys/gmon.h: Likewise.
35153 * hurd/hurdmsg.c: Likewise.
35154 * hurd/new-fd.c: Likewise.
35155 * hurd/ports-get.c: Likewise.
35156 * iconvdata/ibm1008_420.c: Likewise.
35157 * inet/tst-getni1.c: Likewise.
35158 * inet/tst-getni2.c: Likewise.
35159 * libio/ioungetc.c: Likewise.
35160 * libio/wfiledoalloc.c: Likewise.
35161 * manual/libm-err-tab.pl: Likewise.
35162 * math/w_dremf.c: Likewise.
35163 * misc/ftruncate.c: Likewise.
35164 * posix/bug-glob2.c: Likewise.
35165 * posix/tst-pcre.c: Likewise.
35166 * posix/wait4.c: Likewise.
35167 * resolv/README: Likewise.
35168 * resolv/res_debug.h: Likewise.
35169 * resolv/tst-inet_ntop.c: Likewise.
35170 * setjmp/bug269-setjmp.c: Likewise.
35171 * soft-fp/extended.h: Likewise.
35172 * soft-fp/op-1.h: Likewise.
35173 * soft-fp/op-2.h: Likewise.
35174 * soft-fp/op-4.h: Likewise.
35175 * soft-fp/op-8.h: Likewise.
35176 * soft-fp/testit.c: Likewise.
35177 * stdio-common/bug16.c: Likewise.
35178 * stdlib/random.c: Likewise.
35179 * sunrpc/rpcsvc/rquota.x: Likewise.
35180 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35181 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35182 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35183 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35184 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35185 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35186 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35187 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35188 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35189 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35190 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35209 * sysdeps/ieee754/s_lib_version.c: Likewise.
35210 * sysdeps/mach/hurd/check_fds.c: Likewise.
35211 * sysdeps/mach/hurd/getsockname.c: Likewise.
35212 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35213 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35214 * sysdeps/powerpc/bits/link.h: Likewise.
35215 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35216 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35217 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35218 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35219 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35220 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35221 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35222 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35223 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35224 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35225 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35226 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35227 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35228 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35229 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35230 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35231 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35232 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35234 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35235 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35236 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35237 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35238 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35239 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35240 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35241 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35242 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35243 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35244 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35245 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35246 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35248 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35249 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35250 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35251 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35252 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35253 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35254 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35255 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35256 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35257 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35258 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35259 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35260 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35261 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35262 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35263 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35264 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35267 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35268 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35269 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35270 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35271 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35273 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35274 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35275 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35276 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35277 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35278 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35279 * sysdeps/powerpc/sysdep.h: Likewise.
35280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35281 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35282 * sysdeps/sh/dl-trampoline.S: Likewise.
35283 * sysdeps/sh/memset.S: Likewise.
35284 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35285 * sysdeps/sh/strlen.S: Likewise.
35286 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35287 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35288 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35289 * sysdeps/sparc/sparc32/rem.S: Likewise.
35290 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35291 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35292 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35293 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35294 * sysdeps/sparc/sparc32/urem.S: Likewise.
35295 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35296 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35297 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35298 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35300 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35301 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35302 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35303 * sysdeps/unix/bsd/times.c: Likewise.
35304 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35305 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35309 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35310 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35311 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35312 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35313 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35314 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35315 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35316 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35317 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35318 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35319 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35320 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35321 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35322 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35323 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35324 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35325 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35326 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35327 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35328 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35329 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35330 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35331 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35332 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35333 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35334 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35335 * sysdeps/x86_64/strcspn.S: Likewise.
35336
35337 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35338
35339 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35340 generated file. Regenerate properly from gen-translit.pl.
35341 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35342 locale/C-translit.h.
35343
35344 2013-06-05 Andreas Schwab <schwab@suse.de>
35345
35346 [BZ #15100]
35347 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35348 week as 6 instead of -1.
35349 * time/tst-strptime.c (day_tests): Add test case.
35350
35351 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35352
35353 * sysdeps/generic/math_private.h
35354 (libc_feholdexcept_setround_53bit): Replace with
35355 libc_feholdsetround_53bit.
35356 (libc_feupdateenv_53bit): Replace with
35357 libc_feresetround_53bit.
35358 (SET_RESTORE_ROUND_53BIT): Adjust.
35359
35360 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35361
35362 * string/test-strchrnul.c: Add copyright header.
35363
35364 * posix/tst-getaddrinfo4.c: Increase test timeout.
35365
35366 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35367
35368 [BZ #15536]
35369 * math/libm-test.inc (MAX_EXP): Remove
35370 (MIN_EXP): Define.
35371 (ulp): Use MIN_EXP - MANT_DIG.
35372 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35373
35374 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35375
35376 * po/be.po: Revert last change.
35377 * po/zh_CN.po: Likewise.
35378 * po/header.pot: Likewise.
35379
35380 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35381
35382 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35383 link-libc-deps to empty as target-specific variable.
35384 * Makerules (link-libc-args): New variable.
35385 (libc-for-link): Likewise.
35386 (link-libc-deps): Likewise.
35387 (lib%.so): Depend on $(link-libc-deps). Link with
35388 $(link-libc-args).
35389 (build-module): Link with $(link-libc-args).
35390 (build-module-asneeded): Likewise.
35391 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35392 list of objects.
35393 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35394 target-specific variable.
35395 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35396 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35397 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35398 libc.
35399 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35400 libc and ld.so.
35401 ($(objpfx)libpcprofile.so): Likewise.
35402 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35403 libc_nonshared.a.
35404 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35405 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35406 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35407 $(link-libc-deps).
35408 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35409 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35410 * login/Makefile ($(objpfx)libutil.so): Likewise.
35411 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35412 * math/Makefile ($(objpfx)libm.so): Likewise.
35413 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35414 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35415 variable instead of depending directly on libc.
35416 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35417 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35418 $(link-libc-deps).
35419 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35420 libc.
35421 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35422 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35423 ($(objpfx)libanl.so): Likewise.
35424 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35425 ld.so.
35426 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35427 $(link-libc-deps).
35428 * sysdeps/i386/fpu/Makefile: Remove file.
35429 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35430 ($(objpfx)libm.so): Remove dependency on ld.so.
35431
35432 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35433
35434 [BZ # 15553]
35435 * nis/yp_xdr.c (XDRMAXNAME): Define.
35436 (XDRMAXRECORD): Define.
35437 (xdr_domainname): Use XDRMAXNAME.
35438 (xdr_mapname): Likewise.
35439 (xdr_peername): Likewise.
35440 (xdr_keydat): Use XDRMAXRECORD.
35441 (xdr_valdat): Likewise.
35442
35443 2013-05-30 Jeff Law <law@redhat.com>
35444
35445 [BZ #14256]
35446 * manual/errno.texi (ESTALE): Update to account for more than
35447 just NFS file systems.
35448 * sysdeps/gnu/errlist.c: Regenerated.
35449
35450 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35451
35452 [BZ #15465]
35453 * elf/Makefile (tests): Add tst-null-argv.
35454 (modules-names): Add tst-null-argv-lib.
35455 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35456 (tst-null-argv-ENV): Set environment for tst-null-argv.
35457 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35458 (RTLD_PROGNAME): New macro.
35459 * elf/tst-null-argv.c: New test case.
35460 * elf/tst-null-argv-lib.c: Library for test case.
35461 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35462 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35463 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35464 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35465 * elf/dl-init.c (call_init): Likewise.
35466 (_dl_init): Likewise.
35467 * elf/dl-load.c (print_search_path): Likewise.
35468 (_dl_map_object): Likewise.
35469 * elf/dl-lookup.c (do_lookup_x): Likewise.
35470 (add_dependency): Likewise.
35471 (_dl_lookup_symbol_x): Likewise.
35472 (_dl_debug_bindings): Likewise.
35473 * elf/dl-open.c (_dl_show_scope): Likewise.
35474 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35475 * elf/dl-version.c (match_symbol): Likewise.
35476 (_dl_check_map_versions): Likewise.
35477 * elf/rtld.c (dl_main): Likewise.
35478 (print_unresolved): Use RTLD_PROGNAME.
35479 (print_missing_version): Likewise.
35480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35481 (elf_machine_rela): Likewise.
35482 * sysdeps/powerpc/powerpc32/dl-machine.c
35483 (__process_machine_rela): Likewise.
35484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35485 Likewise.
35486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35487 Likewise.
35488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35489 Likewise.
35490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35492 Likewise.
35493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35494 Likewise.
35495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35496
35497 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35498
35499 * po/be.po: Add descriptive title.
35500 * po/zh_CN.po: Likewise.
35501 * po/header.pot: Likewise.
35502
35503 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35504
35505 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35506 error message.
35507 (enlarge_archive): Likewise.
35508
35509 2013-05-28 Ben North <ben@redfrontdoor.org>
35510
35511 * manual/arith.texi (frexp): It is the magnitude of the return
35512 value which lies in [0.5, 1), not the return value itself.
35513
35514 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35515
35516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35517
35518 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35519
35520 * stdio-common/bug26.c (main): Correct fscanf template.
35521
35522 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35523 declare _dl_skip_args.
35524
35525 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35526 Don't declare.
35527
35528 * manual/platform.texi: Add missing @end deftypefun.
35529
35530 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35531
35532 [BZ #15529]
35533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35534 bit of mantissa of 2^16382.
35535 * math/libm-test.inc (hypot_test_data): Add more tests.
35536
35537 * math/libm-test.inc: Add drem and pow10 to list of tested
35538 functions.
35539 (pow10_test): New function.
35540 (drem_test): Likewise.
35541 (drem_test_tonearest): Likewise.
35542 (drem_test_towardzero): Likewise.
35543 (drem_test_downward): Likewise.
35544 (drem_test_upward): Likewise.
35545 (main): Call the new functions.
35546
35547 * math/libm-test.inc (finite_test_data): Remove.
35548 (finite_test): Run tests from isfinite_test_data.
35549 (gamma_test_data): Remove.
35550 (gamma_test): Run tests from lgamma_test_data.
35551 * sysdeps/i386/fpu/libm-test-ulps: Update.
35552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35553
35554 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35555
35556 * manual/platform.texi: Add PowerPC PPR function set documentation.
35557 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35558 implementation.
35559
35560 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35561
35562 * math/libm-test.inc (MAX_EXP): Define.
35563 (ULPDIFF): Define.
35564 (ulp): New function.
35565 (check_float_internal): Use ULPDIFF.
35566 (cpow_test): Disable failing test.
35567 (check_ulp): Test ulp() implemetnation.
35568 (main): Call check_ulp before starting tests.
35569
35570 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35571
35572 * math/gen-libm-test.pl (generate_testfile): Do not handle
35573 START_DATA and END_DATA.
35574 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35575 END_DATA.
35576 (acos_tonearest_test_data): Likewise.
35577 (acos_towardzero_test_data): Likewise.
35578 (acos_downward_test_data): Likewise.
35579 (acos_upward_test_data): Likewise.
35580 (acosh_test_data): Likewise.
35581 (asin_test_data): Likewise.
35582 (asin_tonearest_test_data): Likewise.
35583 (asin_towardzero_test_data): Likewise.
35584 (asin_downward_test_data): Likewise.
35585 (asin_upward_test_data): Likewise.
35586 (asinh_test_data): Likewise.
35587 (atan_test_data): Likewise.
35588 (atanh_test_data): Likewise.
35589 (atan2_test_data): Likewise.
35590 (cabs_test_data): Likewise.
35591 (cacos_test_data): Likewise.
35592 (cacosh_test_data): Likewise.
35593 (carg_test_data): Likewise.
35594 (casin_test_data): Likewise.
35595 (casinh_test_data): Likewise.
35596 (catan_test_data): Likewise.
35597 (catanh_test_data): Likewise.
35598 (cbrt_test_data): Likewise.
35599 (ccos_test_data): Likewise.
35600 (ccosh_test_data): Likewise.
35601 (ceil_test_data): Likewise.
35602 (cexp_test_data): Likewise.
35603 (cimag_test_data): Likewise.
35604 (clog_test_data): Likewise.
35605 (clog10_test_data): Likewise.
35606 (conj_test_data): Likewise.
35607 (copysign_test_data): Likewise.
35608 (cos_test_data): Likewise.
35609 (cos_tonearest_test_data): Likewise.
35610 (cos_towardzero_test_data): Likewise.
35611 (cos_downward_test_data): Likewise.
35612 (cos_upward_test_data): Likewise.
35613 (cosh_test_data): Likewise.
35614 (cosh_tonearest_test_data): Likewise.
35615 (cosh_towardzero_test_data): Likewise.
35616 (cosh_downward_test_data): Likewise.
35617 (cosh_upward_test_data): Likewise.
35618 (cpow_test_data): Likewise.
35619 (cproj_test_data): Likewise.
35620 (creal_test_data): Likewise.
35621 (csin_test_data): Likewise.
35622 (csinh_test_data): Likewise.
35623 (csqrt_test_data): Likewise.
35624 (ctan_test_data): Likewise.
35625 (ctan_tonearest_test_data): Likewise.
35626 (ctan_towardzero_test_data): Likewise.
35627 (ctan_downward_test_data): Likewise.
35628 (ctan_upward_test_data): Likewise.
35629 (ctanh_test_data): Likewise.
35630 (ctanh_tonearest_test_data): Likewise.
35631 (ctanh_towardzero_test_data): Likewise.
35632 (ctanh_downward_test_data): Likewise.
35633 (ctanh_upward_test_data): Likewise.
35634 (erf_test_data): Likewise.
35635 (erfc_test_data): Likewise.
35636 (exp_test_data): Likewise.
35637 (exp_tonearest_test_data): Likewise.
35638 (exp_towardzero_test_data): Likewise.
35639 (exp_downward_test_data): Likewise.
35640 (exp_upward_test_data): Likewise.
35641 (exp10_test_data): Likewise.
35642 (exp2_test_data): Likewise.
35643 (expm1_test_data): Likewise.
35644 (fabs_test_data): Likewise.
35645 (fdim_test_data): Likewise.
35646 (finite_test_data): Likewise.
35647 (floor_test_data): Likewise.
35648 (fma_test_data): Likewise.
35649 (fma_towardzero_test_data): Likewise.
35650 (fma_downward_test_data): Likewise.
35651 (fma_upward_test_data): Likewise.
35652 (fmax_test_data): Likewise.
35653 (fmin_test_data): Likewise.
35654 (fmod_test_data): Likewise.
35655 (fpclassify_test_data): Likewise.
35656 (frexp_test_data): Likewise.
35657 (gamma_test_data): Likewise.
35658 (hypot_test_data): Likewise.
35659 (ilogb_test_data): Likewise.
35660 (isfinite_test_data): Likewise.
35661 (isgreater_test_data): Likewise.
35662 (isgreaterequal_test_data): Likewise.
35663 (isinf_test_data): Likewise.
35664 (isless_test_data): Likewise.
35665 (islessequal_test_data): Likewise.
35666 (islessgreater_test_data): Likewise.
35667 (isnan_test_data): Likewise.
35668 (isnormal_test_data): Likewise.
35669 (issignaling_test_data): Likewise.
35670 (isunordered_test_data): Likewise.
35671 (j0_test_data): Likewise.
35672 (j1_test_data): Likewise.
35673 (jn_test_data): Likewise.
35674 (ldexp_test_data): Likewise.
35675 (lgamma_test_data): Likewise.
35676 (lrint_test_data): Likewise.
35677 (lrint_tonearest_test_data): Likewise.
35678 (lrint_towardzero_test_data): Likewise.
35679 (lrint_downward_test_data): Likewise.
35680 (lrint_upward_test_data): Likewise.
35681 (llrint_test_data): Likewise.
35682 (llrint_tonearest_test_data): Likewise.
35683 (llrint_towardzero_test_data): Likewise.
35684 (llrint_downward_test_data): Likewise.
35685 (llrint_upward_test_data): Likewise.
35686 (log_test_data): Likewise.
35687 (log10_test_data): Likewise.
35688 (log1p_test_data): Likewise.
35689 (log2_test_data): Likewise.
35690 (logb_test_data): Likewise.
35691 (logb_downward_test_data): Likewise.
35692 (lround_test_data): Likewise.
35693 (llround_test_data): Likewise.
35694 (modf_test_data): Likewise.
35695 (nearbyint_test_data): Likewise.
35696 (nextafter_test_data): Likewise.
35697 (nexttoward_test_data): Likewise.
35698 (pow_test_data): Likewise.
35699 (pow_tonearest_test_data): Likewise.
35700 (pow_towardzero_test_data): Likewise.
35701 (pow_downward_test_data): Likewise.
35702 (pow_upward_test_data): Likewise.
35703 (remainder_test_data): Likewise.
35704 (remainder_tonearest_test_data): Likewise.
35705 (remainder_towardzero_test_data): Likewise.
35706 (remainder_downward_test_data): Likewise.
35707 (remainder_upward_test_data): Likewise.
35708 (remquo_test_data): Likewise.
35709 (rint_test_data): Likewise.
35710 (rint_tonearest_test_data): Likewise.
35711 (rint_towardzero_test_data): Likewise.
35712 (rint_downward_test_data): Likewise.
35713 (rint_upward_test_data): Likewise.
35714 (round_test_data): Likewise.
35715 (scalb_test_data): Likewise.
35716 (scalbn_test_data): Likewise.
35717 (scalbln_test_data): Likewise.
35718 (signbit_test_data): Likewise.
35719 (sin_test_data): Likewise.
35720 (sin_tonearest_test_data): Likewise.
35721 (sin_towardzero_test_data): Likewise.
35722 (sin_downward_test_data): Likewise.
35723 (sin_upward_test_data): Likewise.
35724 (sincos_test_data): Likewise.
35725 (sinh_test_data): Likewise.
35726 (sinh_tonearest_test_data): Likewise.
35727 (sinh_towardzero_test_data): Likewise.
35728 (sinh_downward_test_data): Likewise.
35729 (sinh_upward_test_data): Likewise.
35730 (sqrt_test_data): Likewise.
35731 (tan_test_data): Likewise.
35732 (tan_tonearest_test_data): Likewise.
35733 (tan_towardzero_test_data): Likewise.
35734 (tan_downward_test_data): Likewise.
35735 (tan_upward_test_data): Likewise.
35736 (tanh_test_data): Likewise.
35737 (tgamma_test_data): Likewise.
35738 (trunc_test_data): Likewise.
35739 (y0_test_data): Likewise.
35740 (y1_test_data): Likewise.
35741 (yn_test_data): Likewise.
35742 (significand_test_data): Likewise.
35743
35744 * math/gen-libm-test.pl (@functions): Remove variable.
35745 (generate_testfile): Don't handle START and END lines.
35746 * math/libm-test.inc (START): New macro.
35747 (END): Likewise.
35748 (END_COMPLEX): Likewise.
35749 (acos_test): Use END macro without arguments.
35750 (acos_test_tonearest): Likewise.
35751 (acos_test_towardzero): Likewise.
35752 (acos_test_downward): Likewise.
35753 (acos_test_upward): Likewise.
35754 (acosh_test): Likewise.
35755 (asin_test): Likewise.
35756 (asin_test_tonearest): Likewise.
35757 (asin_test_towardzero): Likewise.
35758 (asin_test_downward): Likewise.
35759 (asin_test_upward): Likewise.
35760 (asinh_test): Likewise.
35761 (atan_test): Likewise.
35762 (atanh_test): Likewise.
35763 (atan2_test): Likewise.
35764 (cabs_test): Likewise.
35765 (cacos_test): Use END_COMPLEX macro without arguments.
35766 (cacosh_test): Likewise.
35767 (carg_test): Use END macro without arguments.
35768 (casin_test): Use END_COMPLEX macro without arguments.
35769 (casinh_test): Likewise.
35770 (catan_test): Likewise.
35771 (catanh_test): Likewise.
35772 (cbrt_test): Use END macro without arguments.
35773 (ccos_test): Use END_COMPLEX macro without arguments.
35774 (ccosh_test): Likewise.
35775 (ceil_test): Use END macro without arguments.
35776 (cexp_test): Use END_COMPLEX macro without arguments.
35777 (cimag_test): Use END macro without arguments.
35778 (clog_test): Use END_COMPLEX macro without arguments.
35779 (clog10_test): Likewise.
35780 (conj_test): Likewise.
35781 (copysign_test): Use END macro without arguments.
35782 (cos_test): Likewise.
35783 (cos_test_tonearest): Likewise.
35784 (cos_test_towardzero): Likewise.
35785 (cos_test_downward): Likewise.
35786 (cos_test_upward): Likewise.
35787 (cosh_test): Likewise.
35788 (cosh_test_tonearest): Likewise.
35789 (cosh_test_towardzero): Likewise.
35790 (cosh_test_downward): Likewise.
35791 (cosh_test_upward): Likewise.
35792 (cpow_test): Use END_COMPLEX macro without arguments.
35793 (cproj_test): Likewise.
35794 (creal_test): Use END macro without arguments.
35795 (csin_test): Use END_COMPLEX macro without arguments.
35796 (csinh_test): Likewise.
35797 (csqrt_test): Likewise.
35798 (ctan_test): Likewise.
35799 (ctan_test_tonearest): Likewise.
35800 (ctan_test_towardzero): Likewise.
35801 (ctan_test_downward): Likewise.
35802 (ctan_test_upward): Likewise.
35803 (ctanh_test): Likewise.
35804 (ctanh_test_tonearest): Likewise.
35805 (ctanh_test_towardzero): Likewise.
35806 (ctanh_test_downward): Likewise.
35807 (ctanh_test_upward): Likewise.
35808 (erf_test): Use END macro without arguments.
35809 (erfc_test): Likewise.
35810 (exp_test): Likewise.
35811 (exp_test_tonearest): Likewise.
35812 (exp_test_towardzero): Likewise.
35813 (exp_test_downward): Likewise.
35814 (exp_test_upward): Likewise.
35815 (exp10_test): Likewise.
35816 (exp2_test): Likewise.
35817 (expm1_test): Likewise.
35818 (fabs_test): Likewise.
35819 (fdim_test): Likewise.
35820 (finite_test): Likewise.
35821 (floor_test): Likewise.
35822 (fma_test): Likewise.
35823 (fma_test_towardzero): Likewise.
35824 (fma_test_downward): Likewise.
35825 (fma_test_upward): Likewise.
35826 (fmax_test): Likewise.
35827 (fmin_test): Likewise.
35828 (fmod_test): Likewise.
35829 (fpclassify_test): Likewise.
35830 (frexp_test): Likewise.
35831 (gamma_test): Likewise.
35832 (hypot_test): Likewise.
35833 (ilogb_test): Likewise.
35834 (isfinite_test): Likewise.
35835 (isgreater_test): Likewise.
35836 (isgreaterequal_test): Likewise.
35837 (isinf_test): Likewise.
35838 (isless_test): Likewise.
35839 (islessequal_test): Likewise.
35840 (islessgreater_test): Likewise.
35841 (isnan_test): Likewise.
35842 (isnormal_test): Likewise.
35843 (issignaling_test): Likewise.
35844 (isunordered_test): Likewise.
35845 (j0_test): Likewise.
35846 (j1_test): Likewise.
35847 (jn_test): Likewise.
35848 (ldexp_test): Likewise.
35849 (lgamma_test): Likewise.
35850 (lrint_test): Likewise.
35851 (lrint_test_tonearest): Likewise.
35852 (lrint_test_towardzero): Likewise.
35853 (lrint_test_downward): Likewise.
35854 (lrint_test_upward): Likewise.
35855 (llrint_test): Likewise.
35856 (llrint_test_tonearest): Likewise.
35857 (llrint_test_towardzero): Likewise.
35858 (llrint_test_downward): Likewise.
35859 (llrint_test_upward): Likewise.
35860 (log_test): Likewise.
35861 (log10_test): Likewise.
35862 (log1p_test): Likewise.
35863 (log2_test): Likewise.
35864 (logb_test): Likewise.
35865 (logb_test_downward): Likewise.
35866 (lround_test): Likewise.
35867 (llround_test): Likewise.
35868 (modf_test): Likewise.
35869 (nearbyint_test): Likewise.
35870 (nextafter_test): Likewise.
35871 (nexttoward_test): Likewise.
35872 (pow_test): Likewise.
35873 (pow_test_tonearest): Likewise.
35874 (pow_test_towardzero): Likewise.
35875 (pow_test_downward): Likewise.
35876 (pow_test_upward): Likewise.
35877 (remainder_test): Likewise.
35878 (remainder_test_tonearest): Likewise.
35879 (remainder_test_towardzero): Likewise.
35880 (remainder_test_downward): Likewise.
35881 (remainder_test_upward): Likewise.
35882 (remquo_test): Likewise.
35883 (rint_test): Likewise.
35884 (rint_test_tonearest): Likewise.
35885 (rint_test_towardzero): Likewise.
35886 (rint_test_downward): Likewise.
35887 (rint_test_upward): Likewise.
35888 (round_test): Likewise.
35889 (scalb_test): Likewise.
35890 (scalbn_test): Likewise.
35891 (scalbln_test): Likewise.
35892 (signbit_test): Likewise.
35893 (sin_test): Likewise.
35894 (sin_test_tonearest): Likewise.
35895 (sin_test_towardzero): Likewise.
35896 (sin_test_downward): Likewise.
35897 (sin_test_upward): Likewise.
35898 (sincos_test): Likewise.
35899 (sinh_test): Likewise.
35900 (sinh_test_tonearest): Likewise.
35901 (sinh_test_towardzero): Likewise.
35902 (sinh_test_downward): Likewise.
35903 (sinh_test_upward): Likewise.
35904 (sqrt_test): Likewise.
35905 (tan_test): Likewise.
35906 (tan_test_tonearest): Likewise.
35907 (tan_test_towardzero): Likewise.
35908 (tan_test_downward): Likewise.
35909 (tan_test_upward): Likewise.
35910 (tanh_test): Likewise.
35911 (tgamma_test): Likewise.
35912 (trunc_test): Likewise.
35913 (y0_test): Likewise.
35914 (y1_test): Likewise.
35915 (yn_test): Likewise.
35916 (significand_test): Likewise.
35917
35918 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35919
35920 [BZ #15381]
35921 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35922
35923 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35924
35925 [BZ #14894]
35926 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35927 __ppc_mdoio and __ppc_mdoom.
35928 * manual/platform.texi: Document new functions __ppc_yield,
35929 __ppc_mdoio and __ppc_mdoom.
35930
35931 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35932
35933 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35934 (main): Mention "tls" pseudo-hwcap is legacy.
35935 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35936
35937 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35938
35939 * math/gen-libm-test.pl (parse_args): Output only string of
35940 arguments as text for test name, not full call or descriptions of
35941 tests for extra outputs.
35942 (generate_testfile): Do not pass function name to parse_args.
35943 Generate this_func variable from START.
35944 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35945 field to arg_str.
35946 (struct test_ff_f_data): Likewise.
35947 (test_ff_f_data_nexttoward): Likewise.
35948 (struct test_fi_f_data): Likewise.
35949 (struct test_fl_f_data): Likewise.
35950 (struct test_if_f_data): Likewise.
35951 (struct test_fff_f_data): Likewise.
35952 (struct test_c_f_data): Likewise.
35953 (struct test_f_f1_data): Likewise. Remove field extra_name.
35954 (struct test_fF_f1_data): Likewise.
35955 (struct test_ffI_f1_data): Likewise.
35956 (struct test_c_c_data): Rename test_name field to arg_str.
35957 (struct test_cc_c_data): Likewise.
35958 (struct test_f_i_data): Likewise.
35959 (struct test_ff_i_data): Likewise.
35960 (struct test_f_l_data): Likewise.
35961 (struct test_f_L_data): Likewise.
35962 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35963 and extra2_name.
35964 (COMMON_TEST_SETUP): New macro.
35965 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35966 (COMMON_TEST_CLEANUP): Likewise.
35967 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35968 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35969 macros.
35970 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35971 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35972 macros.
35973 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35974 (RUN_TEST_fff_f): Take argument string. Call new setup and
35975 cleanup macros.
35976 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35977 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35978 macros.
35979 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35980 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35981 macros.
35982 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35983 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35984 cleanup macros.
35985 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35986 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35987 cleanup macros.
35988 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35989 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35990 cleanup macros.
35991 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35992 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35993 macros.
35994 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35995 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35996 macros.
35997 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35998 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35999 macros.
36000 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36001 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36002 cleanup macros.
36003 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36004 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36005 cleanup macros.
36006 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36007 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36008 macros.
36009 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36010 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36011 cleanup macros.
36012 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36013 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36014 macros.
36015 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36016 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36017 macros.
36018 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36019 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36020 cleanup macros.
36021 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36022
36023 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36024
36025 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36026 to _sifields.sigfault.
36027 (si_addr_lsb): Define new macro.
36028 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36030 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36031
36032 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36033
36034 [BZ #15441]
36035 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36036 returns -1.
36037 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36038 null return -1.
36039 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36040 loading the domain.
36041
36042 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36043
36044 * math/gen-libm-test.pl (parse_args): Do not include expected
36045 result in test name.
36046 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36047 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36048 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36049 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36050 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36052
36053 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36054
36055 * benchtests/Makefile: Sort function entries.
36056
36057 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36058 tanh, asinh, acosh, atanh.
36059 * benchtests/acos-inputs: New file.
36060 * benchtests/acosh-inputs: New file.
36061 * benchtests/asin-inputs: New file.
36062 * benchtests/asinh-inputs: New file.
36063 * benchtests/atanh-inputs: New file.
36064 * benchtests/cosh-inputs: New file.
36065 * benchtests/log-inputs: New file.
36066 * benchtests/sinh-inputs: New file.
36067 * benchtests/tanh-inputs: New file.
36068
36069 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36070
36071 [BZ #15339]
36072 * posix/tst-getaddrinfo4.c: New test.
36073 * posix/Makefile (tests): Add it.
36074
36075 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36076
36077 [BZ #15339]
36078 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36079 when no services were used.
36080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36081 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36082
36083 2013-05-21 Andreas Schwab <schwab@suse.de>
36084
36085 [BZ #15014]
36086 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36087 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36088 successful.
36089 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36090 redundant variable declarations and reallocation of buffer when
36091 parsing as IPv6 address. Always set NSS status when called from
36092 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36093 buffer too small. Correct computation of needed size.
36094 * nss/Makefile (tests): Add test-digits-dots.
36095 * nss/test-digits-dots.c: New test.
36096
36097 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36098
36099 * benchtests/Makefile: Remove instructions for adding
36100 benchmark tests.
36101 * benchtests/README: New file to explain how to execute and
36102 enhance the benchmark tests.
36103
36104 2013-05-21 Andreas Schwab <schwab@suse.de>
36105
36106 [BZ #15493]
36107 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36108 * setjmp/tst-sigsetjmp.c: New test.
36109
36110 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36111
36112 * sysdeps/x86_64/memset.S (memset): New implementation.
36113 (__bzero): Likewise.
36114 (__memset_tail): New function.
36115
36116 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36117
36118 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36119 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36120 __memcpy_sse2_unaligned ifunc selection.
36121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36122 Add memcpy-sse2-unaligned.S.
36123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36124 Add: __memcpy_sse2_unaligned.
36125
36126 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36127
36128 [BZ #15490]
36129 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36130 math_force_eval before restoring floating-point envrionment.
36131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36132 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36133 Likewise.
36134 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36135 <math_private.h>.
36136 (__nearbyintl): Use math_force_eval before restoring
36137 floating-point environment.
36138 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36139
36140 * math/gen-libm-test.pl (special_functions): Remove.
36141 (parse_args): Don't handle TEST_extra. Handle functions with no
36142 return value.
36143 * math/libm-test.inc (struct test_sincos_data): Replace with
36144 struct test_fFF_11_data.
36145 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36146 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36147 (sincos_test_data): Change element type to struct
36148 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36149 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36150 RUN_TEST_LOOP_sincos.
36151 * math/README.libm-test: Don't mention special handling of
36152 individual functions.
36153 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36156 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36157 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36159
36160 * math/gen-libm-test.pl (get_variable): Remove function.
36161 (parse_args): Don't show pointer parameters to call in test
36162 names. Use "extra output N" in test names for extra outputs
36163 rather than naming variables.
36164
36165 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36166
36167 [BZ #15488]
36168 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36169 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36170 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36171 double tests.
36172 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36173 disable.
36174 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36175 check_long_double.
36176
36177 * math/gen-libm-test.pl (@tests): Remove variable.
36178 ($count): Likewise.
36179 (new_test): Remove function.
36180 (show_exceptions): New function.
36181 (special_functions): Use show_exceptions instead of new_test.
36182 (parse_args): Likewise.
36183 (generate_testfile): Pass only function name in generated call to
36184 print_max_error or print_complex_max_error.
36185 (get_ulps): Do not handle complex tests specially.
36186 (output_test): Rename to ...
36187 (get_all_ulps_for_test): ... this. Return a string rather than
36188 printing to a file. Require ulps to be present.
36189 (output_ulps): Generate arrays rather than #defines.
36190 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36191 (struct ulp_data): New type.
36192 (BUILD_COMPLEX_ULP): Remove macro.
36193 (compare_ulp_data): New function.
36194 (find_ulps): Likewise.
36195 (find_test_ulps): Likewise.
36196 (find_function_ulps): Likewise.
36197 (find_complex_function_ulps): Likewise.
36198 (print_max_error): Determine allowed ulps using
36199 find_function_ulps.
36200 (print_complex_max_error): Determine allowed ulps using
36201 find_complex_function_ulps.
36202 (check_float_internal): Determine max ulps using find_test_ulps.
36203 (check_float): Do not take max_ulp parameter. Update call to
36204 check_float_internal.
36205 (check_complex): Likewise.
36206 (check_int): Do not take max_ulp parameter.
36207 (check_long): Likewise.
36208 (check_bool): Likewise.
36209 (check_longlong): Likewise.
36210 (struct test_f_f_data): Remove max_ulp field.
36211 (struct test_ff_f_data): Likewise.
36212 (struct test_ff_f_data_nexttoward): Likewise.
36213 (struct test_fi_f_data): Likewise.
36214 (struct test_fl_f_data): Likewise.
36215 (struct test_if_f_data): Likewise.
36216 (struct test_fff_f_data): Likewise.
36217 (struct test_c_f_data): Likewise.
36218 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36219 (struct test_fF_f1_data): Likewise.
36220 (struct test_ffI_f1_data): Likewise.
36221 (struct test_c_c_data): Remove max_ulp field.
36222 (struct test_cc_c_data): Likewise.
36223 (struct test_f_i_data): Likewise.
36224 (struct test_ff_i_data): Likewise.
36225 (struct test_f_l_data): Likewise.
36226 (struct test_f_L_data): Likewise.
36227 (struct test_sincos_data): Likewise.
36228 (RUN_TEST_f_f): Do not handle ulps.
36229 (RUN_TEST_LOOP_f_f): Likewise.
36230 (RUN_TEST_2_f): Likewise.
36231 (RUN_TEST_LOOP_2_f): Likewise.
36232 (RUN_TEST_fff_f): Likewise.
36233 (RUN_TEST_LOOP_fff_f): Likewise.
36234 (RUN_TEST_c_f): Likewise.
36235 (RUN_TEST_LOOP_c_f): Likewise.
36236 (RUN_TEST_f_f1): Likewise.
36237 (RUN_TEST_LOOP_f_f1): Likewise.
36238 (RUN_TEST_fF_f1): Likewise.
36239 (RUN_TEST_LOOP_fF_f1): Likewise.
36240 (RUN_TEST_fI_f1): Likewise.
36241 (RUN_TEST_LOOP_fI_f1): Likewise.
36242 (RUN_TEST_ffI_f1): Likewise.
36243 (RUN_TEST_LOOP_ffI_f1): Likewise.
36244 (RUN_TEST_c_c): Likewise.
36245 (RUN_TEST_LOOP_c_c): Likewise.
36246 (RUN_TEST_cc_c): Likewise.
36247 (RUN_TEST_LOOP_cc_c): Likewise.
36248 (RUN_TEST_f_i): Likewise.
36249 (RUN_TEST_LOOP_f_i): Likewise.
36250 (RUN_TEST_f_i_tg): Likewise.
36251 (RUN_TEST_LOOP_f_i_tg): Likewise.
36252 (RUN_TEST_ff_i_tg): Likewise.
36253 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36254 (RUN_TEST_f_b): Likewise.
36255 (RUN_TEST_LOOP_f_b): Likewise.
36256 (RUN_TEST_f_b_tg): Likewise.
36257 (RUN_TEST_LOOP_f_b_tg): Likewise.
36258 (RUN_TEST_f_l): Likewise.
36259 (RUN_TEST_LOOP_f_l): Likewise.
36260 (RUN_TEST_f_L): Likewise.
36261 (RUN_TEST_LOOP_f_L): Likewise.
36262 (RUN_TEST_sincos): Likewise.
36263 (RUN_TEST_LOOP_sincos): Likewise.
36264
36265 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36266
36267 [BZ #15480]
36268 [BZ #15485]
36269 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36270 main case of finite arguments, set rounding mode to FE_TONEAREST
36271 and discard exceptions.
36272 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36273 exceptions.
36274 (remainder_tonearest_test_data): New variable.
36275 (remainder_test_tonearest): New function.
36276 (remainder_towardzero_test_data): New variable.
36277 (remainder_test_towardzero): New function.
36278 (remainder_downward_test_data): New variable.
36279 (remainder_test_downward): New function.
36280 (remainder_upward_test_data): New variable.
36281 (remainder_test_upward): New function.
36282 (main): Call the new test functions.
36283
36284 * math/libm-test.inc (struct test_f_f1_data): Remove field
36285 extra_init.
36286 (struct test_fF_f1_data): Likewise.
36287 (struct test_ffI_f1_data): Likewise.
36288 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36289 based on value of EXTRA_EXPECTED.
36290 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36291 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36292 EXTRA_VAR based on value of EXTRA_EXPECTED.
36293 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36294 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36295 EXTRA_VAR based on value of EXTRA_EXPECTED.
36296 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36297 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36298 EXTRA_VAR based on value of EXTRA_EXPECTED.
36299 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36300 * math/gen-libm-test.pl (parse_args): Don't output initializers
36301 for extra output values.
36302
36303 * math/libm-test.inc (check_int): Expect result to be exactly
36304 equal to expected value and do not handle ulps.
36305 (check_long): Likewise.
36306 (check_longlong): Likewise.
36307
36308 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36309 exceptions.
36310 (cimag_test_data): Likewise.
36311 (conj_test_data): Likewise.
36312 (copysign_test_data): Likewise.
36313 (cproj_test_data): Likewise.
36314 (creal_test_data): Likewise.
36315 (fabs_test_data): Likewise.
36316 (fdim_test_data): Likewise.
36317 (finite_test_data): Likewise.
36318 (floor_test_data): Likewise.
36319 (fmax_test_data): Likewise.
36320 (fmin_test_data): Likewise.
36321 (fmod_test_data): Likewise.
36322 (fpclassify_test_data): Likewise.
36323 (frexp_test_data): Likewise.
36324 (ilogb_test_data): Likewise.
36325 (isfinite_test_data): Likewise.
36326 (isgreater_test_data): Likewise.
36327 (isgreaterequal_test_data): Likewise.
36328 (isinf_test_data): Likewise.
36329 (isless_test_data): Likewise.
36330 (islessequal_test_data): Likewise.
36331 (islessgreater_test_data): Likewise.
36332 (isnan_test_data): Likewise.
36333 (isnormal_test_data): Likewise.
36334 (issignaling_test_data): Likewise.
36335 (isunordered_test_data): Likewise.
36336 (ldexp_test_data): Likewise.
36337 (lrint_test_data): Likewise.
36338 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36339 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36340 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36341 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36342 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36343 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36344 test input.
36345 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36346 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36347 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36348 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36349 that test input.
36350 (lrint_downward_test_data): Test for "inexact" exceptions.
36351 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36352 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36353 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36354 test input.
36355 (lrint_upward_test_data): Test for "inexact" exceptions.
36356 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36357 test input.
36358 (llrint_test_data): Test for "inexact" exceptions.
36359 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36360 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36361 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36362 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36363 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36364 (llrint_downward_test_data): Test for "inexact" exceptions.
36365 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36366 (llrint_upward_test_data): Test for "inexact" exceptions.
36367 (logb_test_data): Likewise.
36368 (logb_downward_test_data): Likewise.
36369 (nextafter_test_data): Likewise.
36370 (nexttoward_test_data): Likewise.
36371 (remainder_test_data): Likewise.
36372 (remquo_test_data): Likewise.
36373 (scalbn_test_data): Likewise.
36374 (scalbln_test_data): Likewise.
36375 (signbit_test_data): Likewise.
36376 (sqrt_test_data): Likewise.
36377 (significand_test_data): Likewise.
36378
36379 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36380
36381 [BZ #15424]
36382 * benchtests/bench-modf.c (struct args): Mark arg0 as
36383 volatile.
36384 * scripts/bench.pl: Mark members of struct args as volatile.
36385
36386 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36387
36388 [BZ # 15497]
36389 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36390 negative infinity on POWER6 or lower.
36391 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36392
36393 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36394
36395 [BZ #15442]
36396 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36397 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36398 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36399 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36400 (_FP_SETQNAN): New macro.
36401 (_FP_SETQNAN_SEMIRAW): Likewise.
36402 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36403 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36404 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36405 (FP_EXTEND): Use _FP_FRAC_SNANP.
36406 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36407 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36408 into account.
36409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36410 New macro.
36411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36412 Likewise.
36413
36414 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36415
36416 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36417 with DIVIDE_BY_ZERO_EXCEPTION.
36418 (gamma_test_data): Likewise.
36419 (lgamma_test_data): Likewise.
36420 (log_test_data): Likewise.
36421 (log10_test_data): Likewise.
36422 (log2_test_data): Likewise.
36423 (tgamma_test_data): Likewise.
36424
36425 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36426 (acos_test_tonearest): Likewise.
36427 (acos_test_towardzero): Likewise.
36428 (acos_test_downward): Likewise.
36429 (acos_test_upward): Likewise.
36430 (acosh_test): Likewise.
36431 (asin_test): Likewise.
36432 (asin_test_tonearest): Likewise.
36433 (asin_test_towardzero): Likewise.
36434 (asin_test_downward): Likewise.
36435 (asin_test_upward): Likewise.
36436 (asinh_test): Likewise.
36437 (atan_test): Likewise.
36438 (atanh_test): Likewise.
36439 (atan2_test): Likewise.
36440 (cabs_test): Likewise.
36441 (cacos_test): Likewise.
36442 (cacosh_test): Likewise.
36443 (casin_test): Likewise.
36444 (casinh_test): Likewise.
36445 (catan_test): Likewise.
36446 (catanh_test): Likewise.
36447 (cbrt_test): Likewise.
36448 (ccos_test): Likewise.
36449 (ccosh_test): Likewise.
36450 (cexp_test): Likewise.
36451 (clog_test): Likewise.
36452 (clog10_test): Likewise.
36453 (cos_test): Likewise.
36454 (cos_test_tonearest): Likewise.
36455 (cos_test_towardzero): Likewise.
36456 (cos_test_downward): Likewise.
36457 (cos_test_upward): Likewise.
36458 (cosh_test): Likewise.
36459 (cosh_test_tonearest): Likewise.
36460 (cosh_test_towardzero): Likewise.
36461 (cosh_test_downward): Likewise.
36462 (cosh_test_upward): Likewise.
36463 (cpow_test): Likewise.
36464 (csin_test): Likewise.
36465 (csinh_test): Likewise.
36466 (csqrt_test): Likewise.
36467 (ctan_test): Likewise.
36468 (ctan_test_tonearest): Likewise.
36469 (ctan_test_towardzero): Likewise.
36470 (ctan_test_downward): Likewise.
36471 (ctan_test_upward): Likewise.
36472 (ctanh_test): Likewise.
36473 (ctanh_test_tonearest): Likewise.
36474 (ctanh_test_towardzero): Likewise.
36475 (ctanh_test_downward): Likewise.
36476 (ctanh_test_upward): Likewise.
36477 (erf_test): Likewise.
36478 (erfc_test): Likewise.
36479 (exp_test): Likewise.
36480 (exp_test_tonearest): Likewise.
36481 (exp_test_towardzero): Likewise.
36482 (exp_test_downward): Likewise.
36483 (exp_test_upward): Likewise.
36484 (exp10_test): Likewise.
36485 (exp2_test): Likewise.
36486 (expm1_test): Likewise.
36487 (fmod_test): Likewise.
36488 (gamma_test): Likewise.
36489 (hypot_test): Likewise.
36490 (j0_test): Likewise.
36491 (j1_test): Likewise.
36492 (jn_test): Likewise.
36493 (lgamma_test): Likewise.
36494 (log_test): Likewise.
36495 (log10_test): Likewise.
36496 (log1p_test): Likewise.
36497 (log2_test): Likewise.
36498 (logb_test_downward): Likewise.
36499 (pow_test): Likewise.
36500 (pow_test_tonearest): Likewise.
36501 (pow_test_towardzero): Likewise.
36502 (pow_test_downward): Likewise.
36503 (pow_test_upward): Likewise.
36504 (remainder_test): Likewise.
36505 (remquo_test): Likewise.
36506 (sin_test): Likewise.
36507 (sin_test_tonearest): Likewise.
36508 (sin_test_towardzero): Likewise.
36509 (sin_test_downward): Likewise.
36510 (sin_test_upward): Likewise.
36511 (sincos_test): Likewise.
36512 (sinh_test): Likewise.
36513 (sinh_test_tonearest): Likewise.
36514 (sinh_test_towardzero): Likewise.
36515 (sinh_test_downward): Likewise.
36516 (sinh_test_upward): Likewise.
36517 (sqrt_test): Likewise.
36518 (tan_test): Likewise.
36519 (tan_test_tonearest): Likewise.
36520 (tan_test_towardzero): Likewise.
36521 (tan_test_downward): Likewise.
36522 (tan_test_upward): Likewise.
36523 (tanh_test): Likewise.
36524 (tgamma_test): Likewise.
36525 (y0_test): Likewise.
36526 (y1_test): Likewise.
36527 (yn_test): Likewise.
36528
36529 * math/gen-libm-test.pl (adjust_arg): Remove function.
36530 (special_function): Remove argument $in_func. Only handle
36531 generating output for tables of tests, not inside functions.
36532 (parse_args): Likewise.
36533 (generate_testfile): Remove variable $in_func. Update call to
36534 parse_args.
36535 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36536 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36537 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36538 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36539 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36540 (MAX_VALUE_INIT): Rename macro to max_value.
36541 (MIN_VALUE_INIT): Rename macro to min_value.
36542 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36543 (plus_zero): Remove variable.
36544 (minus_zero): Likewise.
36545 (plus_infty): Likewise.
36546 (minus_infty): Likewise.
36547 (qnan_value): Likewise.
36548 (max_value): Likewise.
36549 (min_value): Likewise.
36550 (min_subnorm_value): Likewise.
36551
36552 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36553
36554 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36555 uint64_t or uint32_t usage.
36556 * crypt/sha256-block.c: Likewise.
36557 * crypt/sha256-crypt.c: Likewise.
36558 * crypt/sha256.c: Likewise.
36559 * crypt/sha512-block.c: Likewise.
36560 * crypt/sha512-crypt.c: Likewise.
36561 * crypt/sha512.c: Likewise.
36562 * debug/backtrace-tst.c: Likewise.
36563 * debug/pcprofiledump.c: Likewise.
36564 * elf/cache.c: Likewise.
36565 * elf/dl-cache.c: Likewise.
36566 * elf/dl-misc.c: Likewise.
36567 * elf/dl-profile.c: Likewise.
36568 * elf/dl-support.c: Likewise.
36569 * elf/ldconfig.c: Likewise.
36570 * elf/sprof.c: Likewise.
36571 * iconv/dummy-repertoire.c: Likewise.
36572 * iconv/iconv_charmap.c: Likewise.
36573 * iconv/skeleton.c: Likewise.
36574 * iconvdata/8bit-generic.c: Likewise.
36575 * iconvdata/cp737.h: Likewise.
36576 * iconvdata/cp775.h: Likewise.
36577 * iconvdata/ibm1008.h: Likewise.
36578 * iconvdata/ibm1025.h: Likewise.
36579 * iconvdata/ibm1046.h: Likewise.
36580 * iconvdata/ibm1097.h: Likewise.
36581 * iconvdata/ibm1112.h: Likewise.
36582 * iconvdata/ibm1122.h: Likewise.
36583 * iconvdata/ibm1123.h: Likewise.
36584 * iconvdata/ibm1124.h: Likewise.
36585 * iconvdata/ibm1129.h: Likewise.
36586 * iconvdata/ibm1130.h: Likewise.
36587 * iconvdata/ibm1132.h: Likewise.
36588 * iconvdata/ibm1133.h: Likewise.
36589 * iconvdata/ibm1137.h: Likewise.
36590 * iconvdata/ibm1140.h: Likewise.
36591 * iconvdata/ibm1141.h: Likewise.
36592 * iconvdata/ibm1142.h: Likewise.
36593 * iconvdata/ibm1143.h: Likewise.
36594 * iconvdata/ibm1144.h: Likewise.
36595 * iconvdata/ibm1145.h: Likewise.
36596 * iconvdata/ibm1146.h: Likewise.
36597 * iconvdata/ibm1147.h: Likewise.
36598 * iconvdata/ibm1148.h: Likewise.
36599 * iconvdata/ibm1149.h: Likewise.
36600 * iconvdata/ibm1153.h: Likewise.
36601 * iconvdata/ibm1154.h: Likewise.
36602 * iconvdata/ibm1155.h: Likewise.
36603 * iconvdata/ibm1156.h: Likewise.
36604 * iconvdata/ibm1157.h: Likewise.
36605 * iconvdata/ibm1158.h: Likewise.
36606 * iconvdata/ibm1160.h: Likewise.
36607 * iconvdata/ibm1161.h: Likewise.
36608 * iconvdata/ibm1162.h: Likewise.
36609 * iconvdata/ibm1163.h: Likewise.
36610 * iconvdata/ibm1164.h: Likewise.
36611 * iconvdata/ibm1166.h: Likewise.
36612 * iconvdata/ibm1167.h: Likewise.
36613 * iconvdata/ibm12712.h: Likewise.
36614 * iconvdata/ibm1390.h: Likewise.
36615 * iconvdata/ibm1399.h: Likewise.
36616 * iconvdata/ibm16804.h: Likewise.
36617 * iconvdata/ibm4517.h: Likewise.
36618 * iconvdata/ibm4899.h: Likewise.
36619 * iconvdata/ibm4909.h: Likewise.
36620 * iconvdata/ibm4971.h: Likewise.
36621 * iconvdata/ibm5347.h: Likewise.
36622 * iconvdata/ibm803.h: Likewise.
36623 * iconvdata/ibm856.h: Likewise.
36624 * iconvdata/ibm901.h: Likewise.
36625 * iconvdata/ibm902.h: Likewise.
36626 * iconvdata/ibm9030.h: Likewise.
36627 * iconvdata/ibm9066.h: Likewise.
36628 * iconvdata/ibm921.h: Likewise.
36629 * iconvdata/ibm922.h: Likewise.
36630 * iconvdata/ibm9448.h: Likewise.
36631 * iconvdata/isiri-3342.h: Likewise.
36632 * iconvdata/jis0201.h: Likewise.
36633 * include/link.h: Likewise.
36634 * include/netdb.h: Likewise.
36635 * inet/check_native.c: Likewise.
36636 * inet/check_pf.c: Likewise.
36637 * inet/getipv4sourcefilter.c: Likewise.
36638 * inet/getnameinfo.c: Likewise.
36639 * inet/getsourcefilter.c: Likewise.
36640 * inet/htonl.c: Likewise.
36641 * inet/setipv4sourcefilter.c: Likewise.
36642 * inet/setsourcefilter.c: Likewise.
36643 * inet/test-inet6_opt.c: Likewise.
36644 * inet/tst-network.c: Likewise.
36645 * locale/C-collate.c: Likewise.
36646 * locale/C-ctype.c: Likewise.
36647 * locale/C-time.c: Likewise.
36648 * locale/C-translit.h: Likewise.
36649 * locale/loadarchive.c: Likewise.
36650 * locale/programs/3level.h: Likewise.
36651 * locale/programs/charmap.c: Likewise.
36652 * locale/programs/charmap.h: Likewise.
36653 * locale/programs/ld-address.c: Likewise.
36654 * locale/programs/ld-collate.c: Likewise.
36655 * locale/programs/ld-ctype.c: Likewise.
36656 * locale/programs/ld-identification.c: Likewise.
36657 * locale/programs/ld-measurement.c: Likewise.
36658 * locale/programs/ld-messages.c: Likewise.
36659 * locale/programs/ld-monetary.c: Likewise.
36660 * locale/programs/ld-name.c: Likewise.
36661 * locale/programs/ld-numeric.c: Likewise.
36662 * locale/programs/ld-paper.c: Likewise.
36663 * locale/programs/ld-telephone.c: Likewise.
36664 * locale/programs/ld-time.c: Likewise.
36665 * locale/programs/linereader.c: Likewise.
36666 * locale/programs/locale.c: Likewise.
36667 * locale/programs/locarchive.c: Likewise.
36668 * locale/programs/locfile.h: Likewise.
36669 * locale/programs/repertoire.c: Likewise.
36670 * locale/programs/simple-hash.c: Likewise.
36671 * locale/programs/simple-hash.h: Likewise.
36672 * malloc/memusage.c: Likewise.
36673 * malloc/memusagestat.c: Likewise.
36674 * nis/nis_defaults.c: Likewise.
36675 * nis/nis_hash.c: Likewise.
36676 * nis/nis_print.c: Likewise.
36677 * nis/nis_xdr.c: Likewise.
36678 * nscd/connections.c: Likewise.
36679 * nscd/hstcache.c: Likewise.
36680 * nscd/nscd_gethst_r.c: Likewise.
36681 * nscd/nscd_getserv_r.c: Likewise.
36682 * nscd/nscd_helper.c: Likewise.
36683 * nscd/servicescache.c: Likewise.
36684 * nss/makedb.c: Likewise.
36685 * nss/nss_db/db-XXX.c: Likewise.
36686 * nss/nss_db/db-initgroups.c: Likewise.
36687 * nss/nss_db/db-netgrp.c: Likewise.
36688 * nss/nss_files/files-network.c: Likewise.
36689 * nss/nss_files/files-parse.c: Likewise.
36690 * posix/bug-regex5.c: Likewise.
36691 * posix/fnmatch_loop.c: Likewise.
36692 * posix/regcomp.c: Likewise.
36693 * posix/regexec.c: Likewise.
36694 * posix/tst-rfc3484-2.c: Likewise.
36695 * posix/tst-rfc3484-3.c: Likewise.
36696 * posix/tst-rfc3484.c: Likewise.
36697 * resolv/nss_dns/dns-canon.c: Likewise.
36698 * resolv/nss_dns/dns-network.c: Likewise.
36699 * resolv/res_init.c: Likewise.
36700 * resolv/res_mkquery.c: Likewise.
36701 * resolv/tst-aton.c: Likewise.
36702 * stdlib/cxa_atexit.c: Likewise.
36703 * stdlib/cxa_finalize.c: Likewise.
36704 * stdlib/gen-fpioconst.c: Likewise.
36705 * stdlib/strtol_l.c: Likewise.
36706 * string/tst-endian.c: Likewise.
36707 * sunrpc/auth_des.c: Likewise.
36708 * sunrpc/clnt_udp.c: Likewise.
36709 * sunrpc/rtime.c: Likewise.
36710 * sunrpc/svcauth_des.c: Likewise.
36711 * sunrpc/xdr.c: Likewise.
36712 * sunrpc/xdr_intXX_t.c: Likewise.
36713 * sunrpc/xdr_rec.c: Likewise.
36714 * sysdeps/generic/ldconfig.h: Likewise.
36715 * sysdeps/generic/ldsodefs.h: Likewise.
36716 * sysdeps/generic/memusage.h: Likewise.
36717 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36719 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36720 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36723 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36725 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36727 * sysdeps/posix/getaddrinfo.c: Likewise.
36728 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36729 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36730 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36731 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36732 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36733 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36734 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36735 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36736 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36737 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36738 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36739 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36740 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36741 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36742 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36743 * sysdeps/x86_64/dl-tls.h: Likewise.
36744 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36745 * time/alt_digit.c: Likewise.
36746 * time/era.c: Likewise.
36747 * wcsmbs/tst-c16c32-1.c: Likewise.
36748
36749 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36750
36751 * math/libm-test.inc (struct test_sincos_data): New type.
36752 (RUN_TEST_LOOP_sincos): New macro.
36753 (sincos_test_data): New variable.
36754 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36755
36756 2013-05-16 Richard Henderson <rth@redhat.com>
36757
36758 * math/atest-exp2.c (LIMB64): New macro.
36759 (CONSTSZ): New macro.
36760 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36761 (hexdig): Move ...
36762 (print_mpn_fp): ... to function scope.
36763 (read_mpn_hex): Remove.
36764 (get_log2): Remove.
36765 (exp2_mpn): Use mp_log2.
36766 (main): Use mp_exp1.
36767
36768 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36769
36770 * math/libm-test.inc: Remove comment about not testing "inexact"
36771 exceptions.
36772 (INEXACT_EXCEPTION): New macro.
36773 (NO_INEXACT_EXCEPTION): Likewise.
36774 (INVALID_EXCEPTION_OK): Update value.
36775 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36776 (OVERFLOW_EXCEPTION_OK): Likewise.
36777 (UNDERFLOW_EXCEPTION_OK): Likewise.
36778 (IGNORE_ZERO_INF_SIGN): Likewise.
36779 (ERRNO_UNCHANGED): Likewise.
36780 (ERRNO_EDOM): Likewise.
36781 (ERRNO_ERANGE): Likewise.
36782 (test_exceptions): Handle testing "inexact" exceptions.
36783 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36784 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36785 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36786 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36787 INEXACT_EXCEPTION.
36788 (rint_towardzero_test_data): Likewise.
36789 (rint_downward_test_data): Likewise.
36790 (rint_upward_test_data): Likewise.
36791
36792 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36793 with OVERFLOW_EXCEPTION.
36794 (exp10_test_data): Likewise.
36795 (exp2_test_data): Likewise.
36796 (expm1_test_data): Likewise.
36797 (lgamma_test_data): Likewise.
36798 (pow_test_data): Likewise.
36799 (tgamma_test_data): Likewise.
36800 (yn_test_data): Remove duplicate test of overflow.
36801
36802 * math/libm-test.inc (struct test_cc_c_data): New type.
36803 (RUN_TEST_LOOP_cc_c): New macro.
36804 (cpow_test_data): New variable.
36805 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36806
36807 * math/libm-test.inc (struct test_f_L_data): New type.
36808 (RUN_TEST_LOOP_f_L): New macro.
36809 (llrint_test_data): New variable.
36810 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36811 (llrint_tonearest_test_data): New variable.
36812 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36813 (llrint_towardzero_test_data): New variable.
36814 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36815 (llrint_downward_test_data): New variable.
36816 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36817 (llrint_upward_test_data): New variable.
36818 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36819 (llround_test_data): New variable.
36820 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36821
36822 2013-05-13 Peter Collingbourne <pcc@google.com>
36823
36824 * math/atest-exp2.c (get_log2): Remove const attribute.
36825
36826 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36827
36828 * math/libm-test.inc (struct test_f_l_data): New type.
36829 (RUN_TEST_LOOP_f_l): New macro.
36830 (lrint_test_data): New variable.
36831 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36832 (lrint_tonearest_test_data): New variable.
36833 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36834 (lrint_towardzero_test_data): New variable.
36835 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36836 (lrint_downward_test_data): New variable.
36837 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36838 (lrint_upward_test_data): New variable.
36839 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36840 (lround_test_data): New variable.
36841 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36842
36843 2013-05-15 Peter Collingbourne <pcc@google.com>
36844
36845 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36846 (EXTRACT_WORDS64) Use where appropriate.
36847 (INSERT_WORDS64) Likewise.
36848
36849 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36850 constraints with x constraints.
36851 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36852
36853 * malloc/obstack.c (_obstack_compat): Add initializer.
36854
36855 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36856
36857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36858 si_trapno and add si_addr_lsb to _sifields.sigfault.
36859 (si_trapno): Remove macro.
36860 (si_addr_lsb): Define new macro.
36861 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36862
36863 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36864
36865 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36866 instead of TEST_f_l.
36867 (llrint_test_tonearest): Likewise.
36868 (llrint_test_towardzero): Likewise.
36869 (llrint_test_downward): Likewise.
36870 (llrint_test_upward): Likewise.
36871 (llround_test): Likewise.
36872
36873 * math/libm-test.inc (struct test_f_i_data): Add comment.
36874 (RUN_TEST_LOOP_f_b): New macro.
36875 (RUN_TEST_LOOP_f_b_tg): Likewise.
36876 (finite_test_data): New variable.
36877 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36878 (isfinite_test_data): New variable.
36879 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36880 (isinf_test_data): New variable.
36881 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36882 (isnan_test_data): New variable.
36883 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36884 (isnormal_test_data): New variable.
36885 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36886 (issignaling_test_data): New variable.
36887 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36888 (signbit_test_data): New variable.
36889 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36890
36891 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36892 with INVALID_EXCEPTION.
36893 (acosh_test_data): Likewise.
36894 (asin_test_data): Likewise.
36895 (atanh_test_data): Likewise.
36896 (fmod_test_data): Likewise.
36897 (log_test_data): Likewise.
36898 (log10_test_data): Likewise.
36899 (log2_test_data): Likewise.
36900 (pow_test_data): Likewise.
36901 (sqrt_test_data): Likewise.
36902 (y0_test_data): Likewise.
36903 (y1_test_data): Likewise.
36904 (yn_test_data): Likewise.
36905
36906 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36907 function contents.
36908
36909 * math/libm-test.inc (struct test_ff_i_data): New type.
36910 (RUN_TEST_LOOP_ff_i_tg): New macro.
36911 (isgreater_test_data): New variable.
36912 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36913 (isgreaterequal_test_data): New variable.
36914 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36915 (isless_test_data): New variable.
36916 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36917 (islessequal_test_data): New variable.
36918 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36919 (islessgreater_test_data): New variable.
36920 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36921 (isunordered_test_data): New variable.
36922 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36923
36924 2013-05-14 David S. Miller <davem@davemloft.net>
36925
36926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36927
36928 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36929
36930 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36931
36932 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36933 extra_test to int.
36934 (struct test_f_i_data): Change type of max_ulp to int.
36935
36936 * math/libm-test.inc (test_ffI_f1_data): New type.
36937 (RUN_TEST_LOOP_ffI_f1): New macro.
36938 (remquo_test_data): New variable.
36939 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36940
36941 * setjmp/tst-setjmp-fp.c: New file.
36942 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36943 (link-libm): New variable.
36944 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36945
36946 * math/libm-test.inc (struct test_f_i_data): New type.
36947 (RUN_TEST_LOOP_f_i): New macro.
36948 (RUN_TEST_LOOP_f_i_tg): Likewise.
36949 (fpclassify_test_data): New variable.
36950 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36951 (ilogb_test_data): New variable.
36952 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36953
36954 * math/libm-test.inc (scalbln_test): Correct function name in END
36955 call.
36956
36957 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36958 (RUN_TEST_LOOP_fI_f1): New macro.
36959 (frexp_test_data): New variable.
36960 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36961
36962 * math/libm-test.inc (struct test_fF_f1_data): New type.
36963 (RUN_TEST_LOOP_fF_f1): New macro.
36964 (modf_test_data): New variable.
36965 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36966
36967 * math/libm-test.inc (struct test_f_f1_data): New type.
36968 (RUN_TEST_LOOP_f_f1): New macro.
36969 (gamma_test_data): New variable.
36970 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36971 (lgamma_test_data): New variable.
36972 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36973
36974 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36975
36976 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36977 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36978 (main): Comment "tls" pseudo-hwcap.
36979
36980 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36981
36982 * math/libm-test.inc (struct test_fl_f_data): New type.
36983 (RUN_TEST_LOOP_fl_f): New variable.
36984 (scalbln_test_data): New variable.
36985 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36986
36987 * math/libm-test.inc (struct test_fi_f_data): New type.
36988 (RUN_TEST_LOOP_fi_f): New macro.
36989 (ldexp_test_data): New variable.
36990 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36991 (scalbn_test_data): New variable.
36992 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36993
36994 * math/libm-test.inc (struct test_c_f_data): New type.
36995 (RUN_TEST_LOOP_c_f): New macro.
36996 (cabs_test_data): New variable.
36997 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36998 (carg_test_data): New variable.
36999 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37000 (cimag_test_data): New variable.
37001 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37002 (creal_test_data): New variable.
37003 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37004
37005 * math/libm-test.inc (struct test_if_f_data): New type.
37006 (RUN_TEST_LOOP_if_f): New macro.
37007 (jn_test_data): New variable.
37008 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37009 (yn_test_data): New variable.
37010 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37011
37012 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37013
37014 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37015
37016 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37017 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37018
37019 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37020
37021 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37022 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37023 (bench-deps): Add bench-timing.h.
37024 * benchtests-bench-skeleton.c: Include bench-timing.h.
37025 (main): Use TIMING_* macros instead of clock_gettime.
37026 * benchtests/bench-timing.h: New file.
37027
37028 [BZ #14582]
37029 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37030 Renamed from _LIB_VERSION.
37031 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37032
37033 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37034
37035 * math/libm-test.inc (struct test_fff_f_data): New type.
37036 (RUN_TEST_LOOP_fff_f): New macro.
37037 (fma_test_data): New variable.
37038 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37039 (fma_towardzero_test_data): New variable.
37040 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37041 (fma_downward_test_data): New variable.
37042 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37043 (fma_upward_test_data): New variable.
37044 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37045
37046 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37047 (struct test_c_c_data): New type.
37048 (RUN_TEST_LOOP_c_c): New macro.
37049 (cacos_test_data): New variable.
37050 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37051 (cacosh_test_data): New variable.
37052 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37053 (casin_test_data): New variable.
37054 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37055 (casinh_test_data): New variable.
37056 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37057 (catan_test_data): New variable.
37058 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37059 (catanh_test_data): New variable.
37060 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37061 (ccos_test_data): New variable.
37062 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37063 (ccosh_test_data): New variable.
37064 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37065 (cexp_test_data): New variable.
37066 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37067 (clog_test_data): New variable.
37068 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37069 (clog10_test_data): New variable.
37070 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37071 (conj_test_data): New variable.
37072 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37073 (cproj_test_data): New variable.
37074 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37075 (csin_test_data): New variable.
37076 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37077 (csinh_test_data): New variable.
37078 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37079 (csqrt_test_data): New variable.
37080 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37081 (ctan_test_data): New variable.
37082 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37083 (ctan_tonearest_test_data): New variable.
37084 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37085 (ctan_towardzero_test_data): New variable.
37086 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37087 (ctan_downward_test_data): New variable.
37088 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37089 (ctan_upward_test_data): New variable.
37090 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37091 (ctanh_test_data): New variable.
37092 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37093 (ctanh_tonearest_test_data): New variable.
37094 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37095 (ctanh_towardzero_test_data): New variable.
37096 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37097 (ctanh_downward_test_data): New variable.
37098 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37099 (ctanh_upward_test_data): New variable.
37100 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37101 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37102 of BUILD_COMPLEX.
37103
37104 * math/libm-test.inc (struct test_ff_f_data): New type.
37105 (struct test_ff_f_data_nexttoward): Likewise.
37106 (RUN_TEST_LOOP_2_f): New macro.
37107 (RUN_TEST_LOOP_ff_f): Likewise.
37108 (atan2_test_data): New variable.
37109 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37110 (copysign_test_data): New variable.
37111 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37112 (fdim_test_data): New variable.
37113 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37114 (fmax_test_data): New variable.
37115 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37116 (fmin_test_data): New variable.
37117 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37118 (fmod_test_data): New variable.
37119 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37120 (hypot_test_data): New variable.
37121 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37122 (nextafter_test_data): New variable.
37123 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37124 (nexttoward_test_data): New variable.
37125 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37126 (pow_test_data): New variable.
37127 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37128 (pow_tonearest_test_data): New variable.
37129 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37130 (pow_towardzero_test_data): New variable.
37131 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37132 (pow_downward_test_data): New variable.
37133 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37134 (pow_upward_test_data): New variable.
37135 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37136 (remainder_test_data): New variable.
37137 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37138 (scalb_test_data): New variable.
37139 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37140 * sysdeps/i386/fpu/libm-test-ulps: Update.
37141
37142 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37143
37144 * math/libm-test.inc (fma_test): Use max_value instead of local
37145 variable fltmax.
37146 (nextafter_test): Likewise.
37147
37148 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37149 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37150 (acos_downward_test_data): New variable.
37151 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37152 (acos_upward_test_data): New variable.
37153 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37154 (acosh_test_data): New variable.
37155 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37156 (asin_test_data): New variable.
37157 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37158 (asin_tonearest_test_data): New variable.
37159 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37160 (asin_towardzero_test_data): New variable.
37161 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37162 (asin_downward_test_data): New variable.
37163 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37164 (asin_upward_test_data): New variable.
37165 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37166 (asinh_test_data): New variable.
37167 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37168 (atan_test_data): New variable.
37169 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37170 (atanh_test_data): New variable.
37171 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37172 (cbrt_test_data): New variable.
37173 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37174 (ceil_test_data): New variable.
37175 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37176 (cos_test_data): New variable.
37177 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37178 (cos_tonearest_test_data): New variable.
37179 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37180 (cos_towardzero_test_data): New variable.
37181 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37182 (cos_downward_test_data): New variable.
37183 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37184 (cos_upward_test_data): New variable.
37185 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37186 (cosh_test_data): New variable.
37187 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37188 (cosh_tonearest_test_data): New variable.
37189 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37190 (cosh_towardzero_test_data): New variable.
37191 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37192 (cosh_downward_test_data): New variable.
37193 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37194 (cosh_upward_test_data): New variable.
37195 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37196 (erf_test_data): New variable.
37197 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37198 (erfc_test_data): New variable.
37199 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37200 (exp_test_data): New variable.
37201 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37202 (exp_tonearest_test_data): New variable.
37203 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37204 (exp_towardzero_test_data): New variable.
37205 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37206 (exp_downward_test_data): New variable.
37207 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37208 (exp_upward_test_data): New variable.
37209 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37210 (exp10_test_data): New variable.
37211 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37212 (exp2_test_data): New variable.
37213 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37214 (expm1_test_data): New variable.
37215 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37216 (fabs_test_data): New variable.
37217 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37218 (floor_test_data): New variable.
37219 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37220 (j0_test_data): New variable.
37221 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37222 (j1_test_data): New variable.
37223 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37224 (log_test_data): New variable.
37225 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37226 (log10_test_data): New variable.
37227 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37228 (log1p_test_data): New variable.
37229 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37230 (log2_test_data): New variable.
37231 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37232 (logb_test_data): New variable.
37233 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37234 (logb_downward_test_data): New variable.
37235 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37236 (nearbyint_test_data): New variable.
37237 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37238 (rint_test_data): New variable.
37239 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37240 (rint_tonearest_test_data): New variable.
37241 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37242 (rint_towardzero_test_data): New variable.
37243 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37244 (rint_downward_test_data): New variable.
37245 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37246 (rint_upward_test_data): New variable.
37247 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37248 (round_test_data): New variable.
37249 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37250 (sin_test_data): New variable.
37251 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37252 (sin_tonearest_test_data): New variable.
37253 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37254 (sin_towardzero_test_data): New variable.
37255 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37256 (sin_downward_test_data): New variable.
37257 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37258 (sin_upward_test_data): New variable.
37259 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37260 (sinh_test_data): New variable.
37261 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37262 (sinh_tonearest_test_data): New variable.
37263 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37264 (sinh_towardzero_test_data): New variable.
37265 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37266 (sinh_downward_test_data): New variable.
37267 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37268 (sinh_upward_test_data): New variable.
37269 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37270 (sqrt_test_data): New variable.
37271 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37272 (tan_test_data): New variable.
37273 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37274 (tan_tonearest_test_data): New variable.
37275 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37276 (tan_towardzero_test_data): New variable.
37277 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37278 (tan_downward_test_data): New variable.
37279 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37280 (tan_upward_test_data): New variable.
37281 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37282 (tanh_test_data): New variable.
37283 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37284 (tgamma_test_data): New variable.
37285 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37286 (trunc_test_data): New variable.
37287 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37288 (y0_test_data): New variable.
37289 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37290 (y1_test_data): New variable.
37291 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37292 (significand_test_data): New variable.
37293 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37294
37295 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37296
37297 [BZ #12387]
37298 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37299
37300 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37301
37302 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37303
37304 2013-05-10 Andreas Jaeger <aj@suse.de>
37305
37306 [BZ #15448]
37307 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37308 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37309
37310 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37311
37312 * math/gen-libm-test.pl (adjust_arg): New function.
37313 (special_functions): Handle generating output in both functions
37314 and arrays.
37315 (parse_args): Likewise.
37316 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37317 $in_func argument to parse_args.
37318 * math/libm-test.inc (struct test_f_f_data): New type.
37319 (IF_ROUND_INIT_): New macro.
37320 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37321 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37322 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37323 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37324 (ROUND_RESTORE_): Likewise.
37325 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37326 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37327 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37328 (ROUND_RESTORE_FE_UPWARD): Likewise.
37329 (RUN_TEST_LOOP_f_f): New macro.
37330 (acos_test_data): New variable.
37331 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37332 (acos_tonearest_test_data): New variable.
37333 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37334
37335 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37336
37337 * benchtests/bench-skeleton.c (startup): Fix coding style.
37338
37339 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37340
37341 [BZ #6809]
37342 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37343 negative infinity argument.
37344 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37345 negative infinity argument.
37346 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37347 negative infinity argument.
37348 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37349 domain errors.
37350
37351 2013-05-10 Florian Weimer <fweimer@redhat.com>
37352
37353 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37354 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37355 * iconv/iconv_prog.c (main): Likewise.
37356 * locale/programs/charmap-dir.c (charmap_readdir)
37357 (fopen_uncompressed): Likewise.
37358 * locale/programs/locfile.c (siblings_uncached)
37359 (write_locale_data): Use lstat64 instead of lstat.
37360 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37361 stat.
37362
37363 2013-05-10 Andreas Jaeger <aj@suse.de>
37364
37365 [BZ #15395]
37366 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37367 localization.
37368 Include <locale.h>.
37369
37370 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37371
37372 * elf/dl-close.c (_dl_close_worker): Add comments.
37373
37374 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37375
37376 [BZ #15359]
37377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37378 high part of pi/2.
37379 (__ieee754_rem_pio2l): Update comments.
37380
37381 [BZ #15429]
37382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37383 high part of pi/2.
37384 (__ieee754_rem_pio2l): Update comments.
37385
37386 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37387 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37388
37389 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37390 M_PI_4l.
37391
37392 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37393 (M_PI_34_LOG10El): Likewise.
37394 (M_PI2_LOG10El): Likewise.
37395 (M_PI4_LOG10El): Likewise.
37396 (M_PI_LOG10El): Likewise.
37397
37398 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37399
37400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37401
37402 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37403
37404 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37405 (MINUS_ZERO_INIT): Likewise.
37406 (PLUS_INFTY_INIT): Likewise.
37407 (MINUS_INFTY_INIT): Likewise.
37408 (QNAN_VALUE_INIT): Likewise.
37409 (MAX_VALUE_INIT): Likewise.
37410 (MIN_VALUE_INIT): Likewise.
37411 (MIN_SUBNORM_VALUE_INIT): Likewise.
37412 (plus_zero): Initialize with PLUS_ZERO_INIT.
37413 (minus_zero): Initialize with MINUS_ZERO_INIT.
37414 (plus_infty): Initialize with PLUS_INFTY_INIT.
37415 (minus_infty): Initialize with MINUS_INFTY_INIT.
37416 (qnan_value): Initialize with QNAN_VALUE_INIT.
37417 (max_value): Initialize with MAX_VALUE_INIT.
37418 (min_value): Initialize with MIN_VALUE_INIT.
37419 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37420
37421 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37422 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37423 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37424 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37425
37426 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37427 (RUN_TEST_2_f): Likewise.
37428 (RUN_TEST_ff_f): Likewise.
37429 (RUN_TEST_fi_f): Likewise.
37430 (RUN_TEST_fl_f): Likewise.
37431 (RUN_TEST_fff_f): Likewise.
37432 (RUN_TEST_c_f): Likewise.
37433 (RUN_TEST_f_f1): Likewise.
37434 (RUN_TEST_fF_f1): Likewise.
37435 (RUN_TEST_fI_f1): Likewise.
37436 (RUN_TEST_ffI_f1): Likewise.
37437 (RUN_TEST_c_c): Likewise.
37438 (RUN_TEST_cc_c): Likewise.
37439 (RUN_TEST_f_i): Likewise.
37440 (RUN_TEST_f_i_tg): Likewise.
37441 (RUN_TEST_ff_i_tg): Likewise.
37442 (RUN_TEST_f_b): Likewise.
37443 (RUN_TEST_f_b_tg): Likewise.
37444 (RUN_TEST_f_l): Likewise.
37445 (RUN_TEST_f_L): Likewise.
37446 (RUN_TEST_sincos): Likewise.
37447 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37448 whether to show exceptions. Do not include ");\n" in return
37449 value.
37450 (special_functions): Output call to RUN_TEST_sincos instead of
37451 check_float calls. Update calls to new_test.
37452 (parse_args): Output call to single RUN_TEST_* macro instead of
37453 check_* calls and other assignments. Update calls to new_test.
37454
37455 [BZ #2546]
37456 [BZ #2560]
37457 [BZ #5159]
37458 [BZ #15426]
37459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37460 input to result for tgamma overflow.
37461 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37462 (gamma_coeff): New variable.
37463 (NCOEFF): New macro.
37464 (gamma_positive): New function.
37465 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37466 underflow here. Use gamma_positive instead of exp (lgamma) for
37467 other arguments.
37468 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37469 (gamma_coeff): New variable.
37470 (NCOEFF): New macro.
37471 (gammaf_positive): New function.
37472 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37473 underflow here. Use gamma_positive instead of exp (lgamma) for
37474 other arguments.
37475 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37476 (gamma_coeff): New variable.
37477 (NCOEFF): New macro.
37478 (gammal_positive): New function.
37479 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37480 underflow here. Use gamma_positive instead of exp (lgamma) for
37481 other arguments.
37482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37483 (gamma_coeff): New variable.
37484 (NCOEFF): New macro.
37485 (gammal_positive): New function.
37486 (__ieee754_gammal_r): Handle positive infinity, overflow and
37487 underflow here. Handle NaN the same as positive infinity. Remove
37488 check x < 0xffffffff for negative integers. Use gamma_positive
37489 instead of exp (lgamma) for other arguments.
37490 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37491 (gamma_coeff): New variable.
37492 (NCOEFF): New macro.
37493 (gammal_positive): New function.
37494 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37495 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37496 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37498 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37499 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37500 * sysdeps/generic/math_private.h (__gamma_productf): New
37501 prototype.
37502 (__gamma_product): Likewise.
37503 (__gamma_productl): Likewise.
37504 * math/Makefile (libm-calls): Add gamma_product.
37505 * math/libm-test.inc (tgamma_test): Add more tests.
37506 * sysdeps/i386/fpu/libm-test-ulps: Update.
37507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37508
37509 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37510
37511 * benchtests/bench-skeleton.c (main): Preheat CPU.
37512
37513 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37514
37515 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37516
37517 2013-05-07 Roland McGrath <roland@hack.frob.com>
37518
37519 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37520 and _dl_skip_args_internal.
37521
37522 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37523
37524 * manual/message.texi (Message Translation): Talk about users.
37525 Message to key mapping impacts design.
37526
37527 2013-05-06 Roland McGrath <roland@hack.frob.com>
37528
37529 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37530
37531 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37532
37533 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37534 * sysdeps/wordsize-64/glob64.c: ... here.
37535
37536 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37537 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37538 New macros.
37539
37540 * debug/getlogin_r_chk.c: Moved to ...
37541 * login/getlogin_r_chk.c: ... here.
37542 * debug/Makefile (routines): Move getlogin_r_chk to ...
37543 * login/Makefile (routines): ... here.
37544 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37545 * login/Versions (libc: GLIBC_2.4): ... here.
37546
37547 * io/poll.c (__poll): Renamed from poll.
37548 Add libc_hidden_def.
37549 (poll): Define as weak alias.
37550
37551 * debug/ptsname_r_chk.c: Moved to ...
37552 * login/ptsname_r_chk.c: ... here.
37553 * debug/Makefile (routines): Move ptsname_r_chk to ...
37554 * login/Makefile (routines): ... here.
37555 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37556 * login/Versions (libc: GLIBC_2.4): ... here.
37557
37558 * posix/getlogin.c: Moved to ...
37559 * login/getlogin.c: ... here.
37560 * posix/getlogin_r.c: Moved to ...
37561 * login/getlogin_r.c: ... here.
37562 * posix/getlogin_r.c: Moved to ...
37563 * login/getlogin_r.c: ... here.
37564 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37565 * login/Makefile (routines): ... here.
37566 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37567 * login/Versions (libc: GLIBC_2.0): ... here.
37568
37569 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37570 (setrlimit): Define as weak alias.
37571
37572 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37573 Call __ names for open, ftruncate, and close.
37574 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37575 (truncate): Define as weak alias.
37576
37577 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37578
37579 * math/gen-libm-test.pl (parse_args): Initialize x before each
37580 test of frexp, modf and remquo.
37581
37582 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37583 test signgam value.
37584
37585 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37586
37587 [BZ #15418]
37588 [BZ #15419]
37589 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37590 internal tests.
37591 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37592
37593 2013-05-06 Roland McGrath <roland@hack.frob.com>
37594
37595 * elf/dl-writev.h: New file.
37596 * elf/dl-misc.c: Include it.
37597 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37598 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37599
37600 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37601
37602 * math/libm-test.inc (noXFails): Remove variable.
37603 (noXPasses): Likewise.
37604 (BUILD_COMPLEX_INT): Remove macro.
37605 (print_screen): Remove xfail argument.
37606 (print_screen_max_error): Likewise.
37607 (update_stats): Likewise.
37608 (print_max_error): Likewise. Update calls to other affected
37609 functions.
37610 (print_complex_max_error): Likewise.
37611 (test_single_exception): Update calls to print_screen.
37612 (test_single_errno): Likewise.
37613 (check_float_internal): Remove xfail argument. Update calls to
37614 other affected functions.
37615 (check_float): Likewise.
37616 (check_complex): Likewise.
37617 (check_int): Likewise.
37618 (check_long): Likewise.
37619 (check_bool): Likewise.
37620 (check_longlong): Likewise.
37621 (main): Don't print noXFails and noXPasses.
37622 * math/gen-libm-test.pl (top level): Don't mention expected
37623 failure handling in comment.
37624 (new_test): Don't handle expected failures.
37625 (parse_args): Don't mention expected failure handling in comment.
37626 (generate_testfile): Don't handle expected failures.
37627 (parse_ulps): Likewise.
37628 (print_ulps_file): Likewise.
37629 (get_failure): Remove function.
37630 (output_test): Don't handle expected failures.
37631 * make/README.libm-test: Don't mention expected failure handling.
37632
37633 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37634 (minus_zero): Likewise.
37635 (plus_infty): Likewise.
37636 (minus_infty): Likewise.
37637 (qnan_value): Likewise.
37638 (max_value): Likewise.
37639 (min_value): Likewise.
37640 (min_subnorm_value): Likewise.
37641 (initialize): Do not initialize those variables dynamically.
37642
37643 2013-05-03 Roland McGrath <roland@hack.frob.com>
37644
37645 * io/open.c (__open_2): Moved to ...
37646 * io/open_2.c: ... this new file.
37647 * io/open64.c (__open64_2): Moved to ...
37648 * io/open64_2.c: ... this new file.
37649 * io/openat.c (__openat_2): Moved to ...
37650 * io/openat_2.c: ... this new file.
37651 * io/openat64.c (__openat64_2): Moved to ...
37652 * io/openat64_2.c: ... this new file.
37653 * io/Makefile (routines): Add them.
37654 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37655 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37656 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37657 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37658 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37659 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37660 (__openat64): Add hidden_ver.
37661 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37662 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37663
37664 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37665 Separately conditionalize setting of GLRO(dl_sysinfo) so
37666 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37667 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37668
37669 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37670
37671 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37673 definition.
37674 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37675 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37676 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37677 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37678 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37679
37680 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37681
37682 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37683 test signgam value.
37684
37685 * math/libm-test.inc (hypot_test): Do not use
37686 IGNORE_ZERO_INF_SIGN.
37687
37688 2013-05-03 Andreas Jaeger <aj@suse.de>
37689
37690 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37691 Linux 3.9.
37692 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37693 (PF_MAX): Adjust for VSOCK change.
37694
37695 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37696
37697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37698
37699 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37700
37701 [BZ #15264]
37702 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37703 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37704 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37705
37706 2013-05-02 David S. Miller <davem@davemloft.net>
37707
37708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37709
37710 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37711
37712 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37713
37714 2013-05-01 Roland McGrath <roland@hack.frob.com>
37715
37716 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37717
37718 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37719
37720 [BZ #14952]
37721 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37722 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37723 Use __attribute__ ((__gnu_inline__)).
37724 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37725 Don't use __attribute__ ((__gnu_inline__)).
37726
37727 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37728
37729 [BZ #15423]
37730 * math/s_catan.c (__catan): Handle small real or imaginary part of
37731 input specially to avoid spurious underflow.
37732 * math/s_catanf.c (__catanf): Likewise.
37733 * math/s_catanh.c (__catanh): Likewise.
37734 * math/s_catanhf.c (__catanhf): Likewise.
37735 * math/s_catanhl.c (__catanhl): Likewise.
37736 * math/s_catanl.c (__catanl): Likewise.
37737 * math/libm-test.inc (catan_test): Add more tests.
37738 (catanh_test): Likewise.
37739 * sysdeps/i386/fpu/libm-test-ulps: Update.
37740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37741
37742 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37743
37744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37745
37746 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37747
37748 [BZ #15416]
37749 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37750 accurately for denominator in atan2.
37751 * math/s_catanf.c (__catanf): Likewise.
37752 * math/s_catanh.c (__catanh): Likewise.
37753 * math/s_catanhf.c (__catanhf): Likewise.
37754 * math/s_catanhl.c (__catanhl): Likewise.
37755 * math/s_catanl.c (__catanl): Likewise.
37756 * math/libm-test.inc (catan_test): Add more tests.
37757 (catanh_test): Likewise.
37758 * sysdeps/i386/fpu/libm-test-ulps: Update.
37759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760
37761 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37762
37763 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37764
37765 * benchtests/Makefile (bench): Remove slow benchmarks.
37766 * benchtests/atan-inputs: Add slow benchmark inputs.
37767 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37768 (BENCH_FUNC): Accept variant offset.
37769 (VARIANT): Define.
37770 * benchtests/bench-skeleton.c (main): Run benchmark for each
37771 variant.
37772 * benchtests/cos-inputs: Add slow benchmark inputs.
37773 * benchtests/exp-inputs: Likewise.
37774 * benchtests/pow-inputs: Likewise.
37775 * benchtests/sin-inputs: Likewise.
37776 * benchtests/slowatan-inputs: Remove.
37777 * benchtests/slowatan.c: Remove.
37778 * benchtests/slowcos-inputs: Remove.
37779 * benchtests/slowcos.c: Remove.
37780 * benchtests/slowexp-inputs: Remove.
37781 * benchtests/slowexp.c: Remove.
37782 * benchtests/slowpow-inputs: Remove.
37783 * benchtests/slowpow.c: Remove.
37784 * benchtests/slowsin-inputs: Remove.
37785 * benchtests/slowsin.c: Remove.
37786 * benchtests/slowtan-inputs: Remove.
37787 * benchtests/slowtan.c: Remove.
37788 * benchtests/tan-inputs: Add slow benchmark inputs.
37789 * scripts/bench.pl: Parse comments and directives.
37790
37791 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37792 in CPPFLAGS.
37793 ($(objpfx)bench-%.c): Remove *-ITER.
37794 * benchtests/bench-modf.c: Remove definition of ITER.
37795 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37796 (main): Loop for DURATION seconds instead of fixed number of
37797 iterations.
37798 * scripts/bench.pl: Don't expect iterations in parameters.
37799
37800 2013-04-29 Roland McGrath <roland@hack.frob.com>
37801
37802 * io/fchdir.c (__fchdir): Renamed from fchdir.
37803 (fchdir): Define as weak alias.
37804
37805 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37806
37807 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37808 (ERRNO_EDOM): Likewise.
37809 (ERRNO_ERANGE): Likewise.
37810 (noErrnoTests): New variable.
37811 (init_max_error): Set errno to 0.
37812 (test_single_errno): New function.
37813 (test_errno): Likewise.
37814 (check_float_internal): Call test_errno. Set errno to 0.
37815 (check_complex): Refer to errno tests in comment.
37816 (check_int): Call test_errno. Set errno to 0.
37817 (check_long): Likewise.
37818 (check_bool): Likewise.
37819 (check_longlong): Likewise.
37820 (cos_test): Use ERRNO_* flags for errno tests instead of
37821 check_int.
37822 (expm1_test): Likewise.
37823 (fmod_test): Likewise.
37824 (ilogb_test): Likewise.
37825 (lgamma_test): Likewise.
37826 (pow_test): Likewise.
37827 (remainder_test): Likewise.
37828 (sin_test): Likewise.
37829 (tan_test): Likewise.
37830 (yn_test): Likewise.
37831 (initialize): Set errno to 0.
37832 (main): Print number of errno tests.
37833 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37834
37835 2013-04-29 Andreas Jaeger <aj@suse.de>
37836
37837 [BZ #15084]
37838 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37839 and RES_USEVC.
37840
37841 [BZ #15085]
37842 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37843 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37844 unimplemented.
37845
37846 [BZ #15380]
37847 * stdlib/random.c (__initstate): Return NULL if
37848 __initstate fails.
37849
37850 [BZ #15086]
37851 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37852 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37853 RES_SNGLKUPREOP.
37854
37855 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37856
37857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37858
37859 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37860
37861 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37862 of individual tests.
37863 (casin_test): Likewise.
37864 (casinh_test): Likewise.
37865
37866 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37867
37868 [BZ #15409]
37869 * math/s_catan.c (__catan): Handle arguments with large real or
37870 imaginary part separately without squaring.
37871 * math/s_catanf.c (__catanf): Likewise.
37872 * math/s_catanh.c (__catanh): Likewise.
37873 * math/s_catanhf.c (__catanhf): Likewise.
37874 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37875 and redefine.
37876 (__catanhl): Handle arguments with large real or imaginary part
37877 separately without squaring.
37878 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37879 and redefine.
37880 (__catanl): Handle arguments with large real or imaginary part
37881 separately without squaring.
37882 * math/libm-test.inc (catan_test): Add more tests.
37883 (catanh_test): Likewise.
37884 * sysdeps/i386/fpu/libm-test-ulps: Update.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37886
37887 2013-04-27 Andreas Jaeger <aj@suse.de>
37888
37889 [BZ #15007]
37890 * stdlib/stdlib.h: Update guards for qecvt.
37891 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37892 <stdlib.h>.
37893
37894 2013-04-27 Allan McRae <allan@archlinux.org>
37895
37896 * sysdeps/i386/fpu/libm-test-ulps: Update.
37897
37898 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37899
37900 [BZ #15406]
37901 * math/s_catan.c: Include <float.h>.
37902 (__catan): Ensure underflow exception occurs for underflowed
37903 result.
37904 * math/s_catanf.c: Include <float.h>.
37905 (__catanf): Ensure underflow exception occurs for underflowed
37906 result.
37907 * math/s_catanh.c: Include <float.h>.
37908 (__catanh): Ensure underflow exception occurs for underflowed
37909 result.
37910 * math/s_catanhf.c: Include <float.h>.
37911 (__catanhf): Ensure underflow exception occurs for underflowed
37912 result.
37913 * math/s_catanhl.c: Include <float.h>.
37914 (__catanhl): Ensure underflow exception occurs for underflowed
37915 result.
37916 * math/s_catanl.c: Include <float.h>.
37917 (__catanl): Ensure underflow exception occurs for underflowed
37918 result.
37919 * math/libm-test.inc (catan_test): Add more tests.
37920 (catanh_test): Likewise.
37921
37922 [BZ #15405]
37923 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37924 underflowed result.
37925 * math/s_ccoshf.c (__ccoshf): Likewise.
37926 * math/s_ccoshl.c (__ccoshl): Likewise.
37927 * math/s_csin.c (__csin): Likewise.
37928 * math/s_csinf.c (__csinf): Likewise.
37929 * math/s_csinh.c (__csinh): Likewise.
37930 * math/s_csinhf.c (__csinhf): Likewise.
37931 * math/s_csinhl.c (__csinhl): Likewise.
37932 * math/s_csinl.c (__csinl): Likewise.
37933 * math/libm-test.inc (ccos_test): Add more tests.
37934 (ccosh_test): Likewise.
37935 (csin_test): Likewise.
37936 (csinh_test): Likewise.
37937
37938 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37939
37940 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37941 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37942 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37943 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37944 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37945 powerpc/power5+/fpu folders.
37946 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37947
37948
37949 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37950
37951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37952
37953 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37954
37955 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37956 additions to variable.
37957 [$(config-machine) = x86_64] (modules-names): Likewise.
37958 ($(objpfx)tst-audit3): Remove dependency.
37959 ($(objpfx)tst-audit3.out): Likewise.
37960 ($(objpfx)tst-audit4): Likewise.
37961 ($(objpfx)tst-audit4.out): Likewise.
37962 ($(objpfx)tst-audit5): Likewise.
37963 ($(objpfx)tst-audit5.out): Likewise.
37964 ($(objpfx)tst-audit6): Likewise.
37965 ($(objpfx)tst-audit6.out): Likewise.
37966 ($(objpfx)tst-audit7): Likewise.
37967 ($(objpfx)tst-audit7.out): Likewise.
37968 (tst-audit3-ENV): Remove variable.
37969 (tst-audit4-ENV): Likewise.
37970 (tst-audit5-ENV): Likewise.
37971 (tst-audit6-ENV): Likewise.
37972 (tst-audit7-ENV): Likewise.
37973 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37974 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37975 addition to variable.
37976 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37977 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37978 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37979 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37980 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37981 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37982 tst-audit3, tst-audit4 and tst-audit5.
37983 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37984 tst-audit6 and tst-audit7.
37985 [$(subdir) = elf] (modules-names): Add audit modules for those
37986 tests.
37987 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37988 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37989 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37990 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37991 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37992 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37993 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37994 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37995 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37996 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37997 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37998 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37999 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38000 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38001 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38002 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38003 Likewise.
38004 [$(subdir) = elf && $(config-cflags-avx) = yes]
38005 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38006 [$(subdir) = elf && $(config-cflags-avx) = yes]
38007 (CFLAGS-tst-auditmod4a.c): Likewise.
38008 [$(subdir) = elf && $(config-cflags-avx) = yes]
38009 (CFLAGS-tst-auditmod4b.c): Likewise.
38010 [$(subdir) = elf && $(config-cflags-avx) = yes]
38011 (CFLAGS-tst-auditmod6b.c): Likewise.
38012 [$(subdir) = elf && $(config-cflags-avx) = yes]
38013 (CFLAGS-tst-auditmod6c.c): Likewise.
38014 [$(subdir) = elf && $(config-cflags-avx) = yes]
38015 (CFLAGS-tst-auditmod7b.c): Likewise.
38016 * elf/tst-audit3.c: Move to ...
38017 * sysdeps/x86_64/tst-audit3.c: ... here.
38018 * elf/tst-audit4.c: Move to ...
38019 * sysdeps/x86_64/tst-audit4.c: ... here.
38020 * elf/tst-audit5.c: Move to ...
38021 * sysdeps/x86_64/tst-audit5.c: ... here.
38022 * elf/tst-audit6.c: Move to ...
38023 * sysdeps/x86_64/tst-audit6.c: ... here.
38024 * elf/tst-audit7.c: Move to ...
38025 * sysdeps/x86_64/tst-audit7.c: ... here.
38026 * elf/tst-auditmod3a.c: Move to ...
38027 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38028 * elf/tst-auditmod3b.c: Move to ...
38029 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38030 * elf/tst-auditmod4a.c: Move to ...
38031 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38032 * elf/tst-auditmod4b.c: Move to ...
38033 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38034 * elf/tst-auditmod5a.c: Move to ...
38035 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38036 * elf/tst-auditmod5b.c: Move to ...
38037 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38038 * elf/tst-auditmod6a.c: Move to ...
38039 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38040 * elf/tst-auditmod6b.c: Move to ...
38041 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38042 * elf/tst-auditmod6c.c: Move to ...
38043 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38044 * elf/tst-auditmod7a.c: Move to ...
38045 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38046 * elf/tst-auditmod7b.c: Move to ...
38047 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38048
38049 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38050
38051 [BZ #15366]
38052 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38053 define unconditionally.
38054 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38055 define unconditionally.
38056 (INT8_C, INT16_C, etc.): Likewise.
38057
38058 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38059
38060 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38061 __ehdr_start with hidden visibility.
38062
38063 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38064
38065 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38066
38067 * math/libm-test.inc (cos_test): Use accurate hex constants.
38068 (sincost_test): Likewise.
38069
38070 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38071
38072 * math/libm-test.inc (catan_test): Add more tests.
38073 (catanh_test): Likewise.
38074
38075 * math/s_catanf.c (__catanf): Use suffixed floating-point
38076 constants.
38077 * math/s_catanhf.c (__catanhf): Likewise.
38078 * math/s_catanhl.c (__catanhl): Likewise.
38079 * math/s_catanl.c (__catanl): Likewise.
38080
38081 [BZ #15394]
38082 * math/s_catan.c (__catan): Calculate imaginary part of result
38083 with log1p not log unless computing log of number close to 0.
38084 * math/s_catanf.c (__catanf): Likewise.
38085 * math/s_catanl.c (__catanl): Likewise.
38086 * math/s_catanh.c (__catanh): Calculate real part of result with
38087 log1p not log unless computing log of number close to 0.
38088 * math/s_catanhf.c (__catanhf): Likewise.
38089 * math/s_catanhl.c (__catanhl): Likewise.
38090 * math/libm-test.inc (catan_test): Add more tests.
38091 (catanh_test): Likewise.
38092 * sysdeps/i386/fpu/libm-test-ulps: Update.
38093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38094
38095 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38096
38097 * benchtests/Makefile: Mention files in which fast and slow
38098 paths of math functions are implemented.
38099
38100 2013-04-23 Roland McGrath <roland@hack.frob.com>
38101
38102 * sysdeps/posix/timespec_get.c: New file.
38103
38104 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38105
38106 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38107 POWER.
38108 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38109 for POWER.
38110 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38111 powerpc/power5/fpu folders.
38112 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38113 * benchtests/Makefile: Add modf testcase.
38114 * benchtests/bench-modf.c: New file: Benchmark test for mo
38115
38116 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38117
38118 [BZ #14888]
38119 * time/Makefile (tests): Add tst-strptime-whitespace.
38120 * time/strptime_l.c (get_number): Use ISSPACE.
38121 (__strptime_internal): Likewise.
38122 * time/tst-strptime-whitespace.c: New test case.
38123
38124 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38125
38126 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38127 member.
38128 (_nss_files_init): Set it here.
38129
38130 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38131
38132 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38133 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38134 unsigned.
38135
38136 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38137
38138 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38139
38140 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38141
38142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38143 size just once.
38144
38145 2013-04-21 David S. Miller <davem@davemloft.net>
38146
38147 * po/ru.po: Update Russion translation from translation project.
38148
38149 2013-04-17 Adam Conrad <adconrad@0c3.net>
38150
38151 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38152 and setfsgid.
38153
38154 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38155
38156 * configure.in: Remove i386 configure warning. Remove i386 case.
38157 * configure: Regenerate.
38158 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38159 Add example to error message.
38160 * sysdeps/i386/configure: Regenerate.
38161
38162 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38163
38164 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38165 slowtan.
38166 * benchtests/cos-inputs: New file.
38167 * benchtests/slowcos-inputs: New file.
38168 * benchtests/slowcos.c: New file.
38169 * benchtests/slowtan-inputs: New file.
38170 * benchtests/slowtan.c: New file.
38171 * benchtests/tan-inputs: New file.
38172
38173 2013-04-16 Roland McGrath <roland@hack.frob.com>
38174
38175 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38176 considered kosher.
38177
38178 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38179
38180 * benchtests/Makefile: Include cppflags-iterator.mk to add
38181 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38182
38183 * Makefile.in (bench-clean): New target.
38184 * benchtests/Makefile (bench-clean): Likewise.
38185
38186 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38187
38188 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38189
38190 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38191
38192 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38193
38194 2013-04-15 Andreas Schwab <schwab@suse.de>
38195
38196 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38197 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38198 * nscd/pwdcache.c (cache_addpw): Likewise.
38199 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38200 more than recsize.
38201
38202 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38203
38204 * benchtests/Makefile (bench): Write all output to
38205 bench-out.tmp together.
38206
38207 2013-04-15 Andreas Schwab <schwab@suse.de>
38208
38209 * nscd/nscd.c (main): Don't fork again after closing files.
38210
38211 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38212
38213 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38214
38215 * benchtests/Rules (bench-deps): Collect dependencies into a
38216 single variable. Add Makefile to dependencies.
38217 ($(objpfx)bench-%.c): Depend on bench-deps.
38218
38219 2013-04-12 Roland McGrath <roland@hack.frob.com>
38220 Xavier Roche <roche+kml2@exalead.com>
38221
38222 [BZ #15361]
38223 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38224 just that it's a file descriptor.
38225 * manual/llio.texi (Synchronizing AIO Operations): Update description
38226 for EBADF error from aio_fsync.
38227
38228 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38229
38230 * Rules (bench): Move target definition...
38231 * benchtests/Makefile: ... here.
38232
38233 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38234
38235 * math/libm-test.inc (cos_test): Fix PI/2 test.
38236 (sincos_test): Likewise.
38237 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38238 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38239
38240 2013-04-11 Andreas Schwab <schwab@suse.de>
38241
38242 [BZ #13988]
38243 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38244 accept exponent character only when digits were seen.
38245 * stdio-common/Makefile (tests): Add bug26.
38246 * stdio-common/bug26.c: New file.
38247
38248 [BZ #14293]
38249 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38250 non-freeable.
38251
38252 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38253
38254 * Makeconfig (rtld-prefix): Define built linker prefix.
38255 * Rules (run-bench): Use it.
38256 * math/Makefile (run-regen-ulps): Likewise.
38257
38258 * Rules (bench): Remove eval.
38259
38260 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38261 Roland McGrath <roland@hack.frob.com>
38262 Ondrej Bilka <neleai@seznam.cz>
38263
38264 [BZ #15346]
38265 * time/getdate.c: Include ctype.h and alloca.h.
38266 (__getdate_r): Trim leading and trailing spaces of input.
38267 * time/tst-getdate.c (tests): Add tests with leading and
38268 trailing spaces.
38269
38270 2013-04-08 Roland McGrath <roland@hack.frob.com>
38271
38272 [BZ #14280]
38273 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38274 when computing value.
38275
38276 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38277
38278 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38279 Use testrun.sh to run libm tests.
38280
38281 [BZ #15309]
38282 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38283
38284 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38285
38286 [BZ #15264]
38287 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38288
38289 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38290
38291 * Makefile.in (regen-ulps): New target.
38292 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38293 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38294 [ifneq (no,$(PERL)] (regen-ulps): New target.
38295 [ifeq (no,$(PERL)] (regen-ulps): New target.
38296 * math/libm-test.inc (ulps_file_name): Define.
38297 (output_dir): New variable.
38298 (options): Add "output-dir" option.
38299 (parse_opt): Handle 'o' case.
38300 (main): If output_dir is non-NULL use it as a prefix
38301 otherwise use "".
38302 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38303
38304 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38305
38306 [BZ #10060, #10062]
38307 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38308 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38309 fail configure if __sync_val_compare_and_swap is not inlined.
38310 * sysdeps/i386/configure: Regenerate.
38311 * configure.in: Build for i686 when configured for i386.
38312 * configure: Regenerate.
38313 * README: Remove i386 reference.
38314
38315 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38316
38317 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38319
38320 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38321
38322 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38323 (lmsnanval): New variables.
38324 (F): Add conversion tests.
38325 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38326 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38327
38328 * stdio-common/tstdiomisc.c (F): Properly collect individual
38329 tests' results.
38330
38331 [BZ #14686, #15336]
38332 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38333 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38334 Instead, use input NaN values or generate a qNaN by arithmetic
38335 operation. Also fix bugs to comply with the standard.
38336 * math/libm-test.inc (remainder_test): Add more tests.
38337
38338 [BZ #15335, #15342]
38339 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38341 input NaN values or generate a qNaN by arithmetic operation.
38342
38343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38344 unreachable code.
38345
38346 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38347 definitions.
38348
38349 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38350
38351 [BZ #14478]
38352 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38353 underflowed result.
38354 * math/s_cexpf.c (__cexpf): Likewise.
38355 * math/s_cexpl.c (__cexpl): Likewise.
38356 * math/libm-test.inc (cexp_test): Add more tests.
38357
38358 2013-04-03 Andreas Schwab <schwab@suse.de>
38359
38360 [BZ #15330]
38361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38362 order arrays from heap if bigger than alloca cutoff.
38363
38364 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38365
38366 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38367 (SNAN_TESTS_double): Refer to GCC PR56831.
38368 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38369 GCC PR56828.
38370
38371 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38372
38373 * Rules (bench): Move bench.out after the run is complete.
38374
38375 * Rules (bench): Echo currently running benchmark.
38376
38377 * benchtests/Makefile (bench): Add atan and slowatan.
38378 * benchtests/atan-inputs: New file.
38379 * benchtests/slowatan-inputs: New file.
38380 * benchtests/slowatan.c: New file.
38381
38382 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38384 its value.
38385
38386 [BZ #15305]
38387 * sysdeps/unix/sysv/linux/kernel-features.h
38388 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38389 __ASSUME_XFS_RESTRICTED_CHOWN.
38390 * sysdeps/unix/sysv/linux/pathconf.c
38391 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38392 Save and restore errno.
38393
38394 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38395
38396 [BZ #15327]
38397 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38398 arguments using __kernel_casinh.
38399 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38400 arguments using __kernel_casinhf.
38401 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38402 arguments using __kernel_casinhl.
38403 * math/libm-test.inc (cacosh_test): Add more tests.
38404 * sysdeps/i386/fpu/libm-test-ulps: Update.
38405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38406
38407 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38408
38409 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38411
38412 * bench/Makefile (bench): Add sin and slowsin.
38413 * benchtests/sin-inputs: New file.
38414 * benchtests/slowsin-inputs: New file.
38415 * benchtests/slowsin.c: New file.
38416
38417 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38418 (bench): Add slowexp and slowpow.
38419 (exp-ITER): Increase iterations.
38420 (pow-ITER): Likewise.
38421 * benchtests/exp-inputs: Change input.
38422 * benchtests/pow-inputs: Likewise.
38423 * benchtests/slowexp-inputs: New file.
38424 * benchtests/slowexp.c: New file.
38425 * benchtests/slowpow-inputs: New file.
38426 * benchtests/slowpow.c: New file.
38427
38428 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38429
38430 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38431 instructions.
38432 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38433 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38434 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38435 * benchtests/Makefile: Add rint benchtest.
38436 * benchtests/rint-inputs: Input for rint benchtest.
38437
38438 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38439
38440 * Versions.def (libm): Add GLIBC_2.18.
38441 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38442 hidden libm prototypes.
38443 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38444 * math/Makefile (libm-calls): Add s_issignaling.
38445 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38446 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38447 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38448 declaration.
38449 * math/math.h [__USE_GNU] (issignaling): New macro.
38450 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38451 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38453 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38456 * manual/arith.texi (issignaling): New section.
38457 * manual/libm-err-tab.pl (@all_functions): Update comment.
38458 * math/gen-libm-test.pl (parse_args): Apply special handling for
38459 issignaling.
38460 * math/libm-test.inc (print_float, issignaling_test): New
38461 functions.
38462 (check_float_internal): Add issignaling checks.
38463 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38464 default definition.
38465 * sysdeps/powerpc/math-tests.h: New file.
38466 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38467 tests.
38468 * math/test-snan.c (TEST_FUNC): Likewise.
38469
38470 2013-03-30 David S. Miller <davem@davemloft.net>
38471
38472 * po/de.po: Update from translation team.
38473
38474 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38475
38476 [BZ #10357]
38477 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38478 imaginary part less than 1.0 and real part less than 0.5
38479 specially.
38480 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38481 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38482 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38483 (cacos_test): Add more tests.
38484 (casin_test): Likewise.
38485 (casinh_test): Likewise.
38486 * sysdeps/i386/fpu/libm-test-ulps: Update.
38487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488
38489 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38490
38491 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38492 ONE with its value.
38493
38494 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38495 (__pow_mp): Replace ONE and MONE with their values.
38496 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38497 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38498 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38499 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38500 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38502
38503 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38504
38505 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38506 (__pow_mp): Replace ZERO and MZERO with their values.
38507 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38509 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38511 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38512 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38513 (__sqr): Likewise.
38514
38515 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38516
38517 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38518
38519 2013-03-28 Roland McGrath <roland@hack.frob.com>
38520
38521 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38522 Declare with __attribute__ ((weak)).
38523 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38524 Call __call_tls_dtors only if it's not NULL.
38525
38526 2013-03-28 Roland McGrath <roland@hack.frob.com>
38527
38528 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38529 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38530 magic __ehdr_start linker symbol if it's defined.
38531 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38532 them up here if it was already done.
38533
38534 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38535 (_dl_aux_init): Use const in cast when setting it.
38536 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38537 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38538 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38539
38540 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38541 Declare them here.
38542 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38543 * csu/libc-tls.c: Nor here.
38544 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38545
38546 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38547 (__libc_message): Never call vsyslog.
38548
38549 2013-03-28 Alan Modra <amodra@gmail.com>
38550
38551 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38552 Define as empty.
38553 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38554 Likewise.
38555
38556 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38557
38558 [BZ #15214]
38559 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38560 underflow.
38561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38562
38563 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38564
38565 [BZ #15304]
38566 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38567 Don't add gid passed as argument.
38568
38569 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38570
38571 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38572
38573 [BZ #15307]
38574 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38575 imaginary part between 1.0 and 1.5 and real part less than 0.5
38576 specially.
38577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38579 * math/libm-test.inc (cacos_test): Add more tests.
38580 (casin_test): Likewise.
38581 (casinh_test): Likewise.
38582 * sysdeps/i386/fpu/libm-test-ulps: Update.
38583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38584
38585 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38586
38587 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38588 constants.
38589 (norm): Likewise.
38590 (denorm): Likewise.
38591 (__dbl_mp): Likewise.
38592 (add_magnitudes): Likewise.
38593 (sub_magnitudes): Likewise.
38594 (__add): Likewise.
38595 (__sub): Likewise.
38596 (__mul): Likewise.
38597 (__sqr): Likewise.
38598 (__inv): Likewise.
38599 (__dvd): Likewise.
38600
38601 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38602 commented code.
38603 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38604 (__dubcos): Likewise.
38605 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38606 (__ieee754_acos): Likewise.
38607 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38608 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38609 (__exp1): Likewise.
38610 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38612 (log1): Likewise.
38613 (my_log2): Likewise.
38614 (checkint): Likewise.
38615 * sysdeps/ieee754/dbl-64/e_remainder.c
38616 (__ieee754_remainder): Likewise.
38617 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38619 (bsloww): Likewise.
38620 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38621
38622 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38624 MANTISSA_STORE_T to store computations on mantissa. Use
38625 macros for rounding and division.
38626 (denorm): Likewise.
38627 (__dbl_mp): Likewise.
38628 (add_magnitudes): Likewise.
38629 (sub_magnitudes): Likewise.
38630 (__mul): Likewise.
38631 (__sqr): Likewise.
38632 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38633 powers of two in terms of TWOPOW macro.
38634 (mp_no): Make type of mantissa as MANTISSA_T.
38635 [!RADIXI]: Define RADIXI.
38636 [!TWO52]: Define TWO52.
38637 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38638
38639 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38640
38641 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38642 llroundl symbol when building for PPC32.
38643
38644 2013-03-24 Mark H Weaver <mhw@netris.org>
38645
38646 * manual/arith.texi (Normalization Functions): Fix prototypes for
38647 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38648
38649 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38650
38651 [BZ #13889]
38652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38653 high value to check if expl overflow.
38654 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38655 to check for underflow and overflow.
38656 * math/libm-test.inc: Add exp test.
38657
38658 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38659
38660 [BZ #11120]
38661 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38662 with NOT_IN_libc.
38663
38664 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38665
38666 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38667 symbol.
38668
38669 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38670
38671 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38672 wrap blocks consisting of several statements.
38673
38674 * sysdeps/generic/math-tests.h: New file.
38675 * sysdeps/i386/fpu/math-tests.h: Likewise.
38676 * math/test-snan.c: Include it.
38677 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38678
38679 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38680
38681 [BZ #15285]
38682 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38683 (__ieee754_j0l): Do not improve calculations using cos of twice
38684 input for inputs above LDBL_MAX / 2.0L.
38685 (__ieee754_y0l): Likewise.
38686 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38687 (__ieee754_j1l): Do not improve calculations using cos of twice
38688 input for inputs above LDBL_MAX / 2.0L.
38689 (__ieee754_y1l): Likewise.
38690 * math/libm-test.inc (j0_test): Add another test.
38691 (j1_test): Likewise.
38692 (y0_test): Likewise.
38693 (y1_test): Likewise.
38694 * sysdeps/i386/fpu/libm-test-ulps: Update.
38695
38696 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38697
38698 * Rules ($(objpfx)bench-%.c): Include code from a C source
38699 file.
38700
38701 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38702
38703 [BZ #15287]
38704 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38705 imaginary part 1.0 and real part less than 0.5 specially.
38706 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38707 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38708 * math/libm-test.inc (cacos_test): Add more tests.
38709 (casin_test): Likewise.
38710 (casinh_test): Likewise.
38711 * sysdeps/i386/fpu/libm-test-ulps: Update.
38712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38713
38714 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38715
38716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38717 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38718
38719 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38720
38721 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38722 * config.make.in (config-cflags-sse4): Remove variable.
38723 (config-cflags-avx): Likewise.
38724 (config-cflags-sse2avx): Likewise.
38725 (config-cflags-novzeroupper): Likewise.
38726 (config-asflags-i686): Likewise.
38727 (have-mfma4): Likewise.
38728 (have-as-vis3): Likewise.
38729 (MIG): Likewise.
38730 * configure.in (MIG): Do not AC_SUBST.
38731 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38732 (libc_cv_cc_sse4): Do not AC_SUBST.
38733 (libc_cv_cc_avx): Likewise.
38734 (libc_cv_cc_sse2avx): Likewise.
38735 (libc_cv_cc_novzeroupper): Likewise.
38736 (libc_cv_cc_fma4): Likewise.
38737 (libc_cv_as_i686): Likewise.
38738 (libc_cv_sparc_as_vis3): Likewise.
38739 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38740 LIBC_CONFIG_VAR.
38741 (config-asflags-i686): Likewise.
38742 (config-cflags-avx): Likewise.
38743 (config-cflags-sse2avx): Likewise.
38744 (have-mfma4): Likewise.
38745 (config-cflags-novzeroupper): Likewise.
38746 * sysdeps/mach/configure.in (MIG): Likewise.
38747 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38748 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38749 LIBC_CONFIG_VAR.
38750 (config-cflags-avx): Likewise.
38751 (config-cflags-sse2avx): Likewise.
38752 (have-mfma4): Likewise.
38753 (config-cflags-novzeroupper): Likewise.
38754 * configure: Regenerated.
38755 * sysdeps/i386/configure: Likewise.
38756 * sysdeps/mach/configure: Likewise.
38757 * sysdeps/sparc/configure: Likewise.
38758 * sysdeps/x86_64/configure: Likewise.
38759
38760 2013-03-20 Roland McGrath <roland@hack.frob.com>
38761
38762 [BZ #14812]
38763 * locale/programs/localedef.c (options): Put N_ translation marker
38764 on argument names, not just descriptions.
38765
38766 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38767
38768 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38769
38770 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38771
38772 [BZ #14176]
38773 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38774
38775 2013-03-19 Roland McGrath <roland@hack.frob.com>
38776
38777 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38778 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38779 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38780 [!BEFORE_ABORT] (before_abort): New function.
38781 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38782 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38783 (writev_for_fatal): New function.
38784 (WRITEV_FOR_FATAL): New macro; call that.
38785 (backtrace_and_maps): New function.
38786 (BEFORE_ABORT): New macro; call that.
38787 (struct str_list): Type removed.
38788 (__libc_message, __libc_fatal): Functions removed.
38789 Include <sysdeps/posix/libc_fatal.c> instead.
38790
38791 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38792
38793 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38794 constants.
38795 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38796 double constants.
38797
38798 2013-03-19 Andreas Schwab <schwab@suse.de>
38799
38800 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38801 * sysdeps/gnu/configure: Regenerate.
38802
38803 * configure.in: Substitute libc_cv_rtlddir.
38804 * configure: Regenerate.
38805 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38806 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38807 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38808 * elf/Makefile (install-others, CFLAGS-interp.c)
38809 (ldso_install, common-ldd-rewrite): Likewise.
38810 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38811 $(inst_slibdir)/$(rtld-installed-name).
38812 * scripts/rellns-sh: Add -p option.
38813 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38814 for source.
38815
38816 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38817
38818 * manual/nptl.texi: Renamed to ...
38819 * manual/threads.texi: ... this.
38820 * manual/Makefile (chapters): Update.
38821
38822 2013-03-18 Roland McGrath <roland@hack.frob.com>
38823
38824 [BZ #14812]
38825 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38826 on argument names, not just descriptions.
38827 * malloc/memusagestat.c (options): Likewise.
38828 * nss/getent.c (options): Likewise.
38829
38830 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38831
38832 [BZ #14812]
38833 * iconv/iconv_prog.c (options): Put N_ translation marker
38834 on argument names, not just descriptions.
38835 * iconv/iconvconfig.c (options): Likewise.
38836
38837 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38838
38839 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38840 implementation which is faster on all x86_64 architectures.
38841 Tested on AMD, Intel Nehalem, SNB, IVB.
38842 * sysdeps/x86_64/strnlen.S: Likewise.
38843
38844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38845 Remove all multiarch strlen and strnlen versions.
38846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38847 Remove strlen and strnlen related parts.
38848
38849 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38850 Inline strlen part.
38851 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38852
38853 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38854 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38855 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38856 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38857 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38858 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38859
38860 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38861
38862 * manual/memory.texi (Malloc Tunable Parameters):
38863 Sort parameters alphabetically. Add comments for missing entries.
38864
38865 2013-03-17 David S. Miller <davem@davemloft.net>
38866
38867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38868
38869 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38870
38871 [BZ #15283]
38872 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38873 for arguments at most half maximum finite value.
38874 * math/libm-test.inc (j0_test): Add more tests.
38875 (j1_test): Likewise.
38876 (y0_test): Likewise.
38877 (y1_test): Likewise.
38878 * sysdeps/i386/fpu/libm-test-ulps: Update.
38879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38880
38881 [BZ #14155]
38882 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38883 1 / x and functions P and Q for arguments above 0x1p256L.
38884 (__ieee754_y0l): Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38886 (__ieee754_y1l): Likewise.
38887 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38888 (j1_test): Likewise.
38889 (y0_test): Likewise.
38890 (y1_test): Likewise.
38891
38892 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38893
38894 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38895 variable.
38896
38897 2013-03-15 Roland McGrath <roland@hack.frob.com>
38898
38899 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38900 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38901 zero since it's initialized to EXEC_PAGESIZE.
38902
38903 * sysdeps/unix/sysv/linux/ldsodefs.h
38904 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38905 * sysdeps/generic/ldsodefs.h: ... here.
38906
38907 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38908
38909 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38910
38911 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38912 math/test-snan.c.
38913 * math/test-snan.c: Renamed from
38914 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38915 * math/Makefile (tests): Add test-snan.
38916 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38917 test-powerpc-snan.
38918
38919 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38920 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38921 functions.
38922 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38923 __builtin_nan family of functions.
38924 * math/libm-test.inc (initialize): Initialize qnan_value with
38925 __builtin_nan family of functions.
38926 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38927 Remove variables.
38928 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38929 Remove functions.
38930 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38931 storage class. Initialize qNaN_var and sNaN_var with
38932 __builtin_nan and __builtin_nans families of functions,
38933 respectively.
38934
38935 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38936 (sqrt_test): Remove duplicate test with qNaN input.
38937 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38938 (round_test, signbit_test, significand_test): Note missing +/-Inf
38939 as well as qNaN tests.
38940
38941 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38942 qNaN_var. Fix a few strings, too.
38943 * math/libm-test.inc (nan_value): Rename to qnan_value.
38944 * math/gen-libm-test.pl (%beautify): Adjust to that.
38945 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38946 * math/test-misc.c (main): Likewise.
38947 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38948 to __qnan_bytes, and __qnan_union, respectively.
38949 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38950 Likewise.
38951 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38952 and lqnanval, respectively.
38953 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38954 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38955 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38956 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38957
38958 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38959 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38960 doubles.
38961
38962 * math/test-misc.c (main): Fix copy'n'pastos.
38963 * misc/tst-efgcvt.c (special): Likewise.
38964
38965 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38966 Remove declarations.
38967
38968 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38969
38970 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38971 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38972 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38973 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38974
38975 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38976
38977 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38978 macro to return vdso values correctly in IFUNC implementations.
38979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38980 Optimization by using IFUNC.
38981
38982 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38983 Richard Henderson <rth@redhat.com>
38984 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38985
38986 * Makefile.in (bench): New target.
38987 * NEWS: Mention the benchmark framework.
38988 * Rules (bench): Likewise.
38989 (binaries-bench): Generate binaries for functions to
38990 benchmark.
38991 * benchtests/Makefile: New makefile for benchmark tests.
38992 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38993 programs.
38994 * benchtests/exp-inputs: New input file for EXP function.
38995 * benchtests/pow-inputs: New input file for POW function.
38996 * scripts/bench.pl: New script to generate source files for
38997 benchmark programs.
38998
38999 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39000
39001 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39002 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39003 computations on mantissa. Use macros for rounding and
39004 division.
39005 (denorm): Likewise.
39006 (__dbl_mp): Likewise.
39007 (add_magnitudes): Likewise.
39008 (sub_magnitudes): Likewise.
39009 (__mul): Likewise.
39010 (__sqr): Likewise.
39011 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39012 powers of two in terms of TWOPOW macro.
39013 (mp_no): Make type of mantissa as MANTISSA_T.
39014 [!RADIXI]: Define RADIXI.
39015 [!TWO52]: Define TWO52.
39016 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39017
39018 * manual/nptl.texi (cindex): Modify threads to pthreads.
39019
39020 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39021
39022 * sysdeps/x86_64/preconfigure: Regenerated.
39023
39024 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39025
39026 [BZ #14155]
39027 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39028 0x1p28 and above.
39029 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39030 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39031 0x1p28 and above.
39032 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39033 * math/libm-test.inc (j0_test): Do not allow one spurious
39034 underflow exception.
39035 (y1_test): Likewise.
39036
39037 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39038
39039 * manual/Makefile (chapters): Add nptl.
39040 * manual/debug.texi (Debugging Support): Add link to Threads
39041 chapter.
39042 * manual/nptl.texi: New file.
39043
39044 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39045
39046 2013-03-14 Petr Baudis <pasky@ucw.cz>
39047
39048 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39049 for non-NULL pointer before the memory validity test. Pointed
39050 out by Holger Brunck <holger.brunck@keymile.com>.
39051
39052 2013-03-13 Andreas Schwab <schwab@suse.de>
39053
39054 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39055 instead of .os.
39056
39057 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39058
39059 * timezone/zic.c: Update from tzcode 2013b.
39060
39061 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39062
39063 * manual/install.texi (Configuring and compiling):
39064 Mention i686 and i586.
39065 * INSTALL: Regenerate.
39066
39067 2013-03-12 Roland McGrath <roland@hack.frob.com>
39068
39069 * sysdeps/init_array/elf-init.c: New file.
39070 * csu/elf-init.c
39071 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39072 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39073
39074 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39075 __gmon_start__ as global, but as static with a .preinit_array pointer.
39076 * sysdeps/init_array/gmon-start.c: New file. Use that.
39077 * sysdeps/init_array/crti.S: New file, empty except for comments.
39078 * sysdeps/init_array/crtn.S: Likewise.
39079
39080 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39081
39082 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39083 definining bcopy.
39084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39085 Remove Prefer_SSE_for_memop.
39086 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39087 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39088 HAS_PREFER_SSE_FOR_MEMOP.
39089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39090 memset-x86-64.
39091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39092 Remove bzero, memset ifunc support.
39093 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39094 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39095 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39096 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39097
39098 2013-03-11 Andreas Schwab <schwab@suse.de>
39099
39100 [BZ #15234]
39101 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39102 by SHLIB_COMPAT.
39103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39104 (GLIBC_2.16): Remove pthread_atfork.
39105
39106 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39107
39108 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39109 (ptestcases.h): Likewise.
39110
39111 2013-03-08 Roland McGrath <roland@hack.frob.com>
39112
39113 * Makeconfig ($(common-objpfx)config.status): Depend on
39114 sysdeps/*/preconfigure{,.in} too.
39115
39116 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39117
39118 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39119 (__free_hook): Use void * instead of __malloc_ptr_t.
39120 (__malloc_hook): Likewise.
39121 (__realloc_hook): Likewise.
39122 (__memalign_hook): Likewise.
39123 (__after_morecore_hook): Likewise.
39124 * malloc/arena.c (save_malloc_hook): Likewise.
39125 (save_free_hook): Likewise.
39126 * malloc/hooks.c (malloc_hook_ini): Likewise.
39127 (realloc_hook_ini): Likewise.
39128 (memalign_hook_ini): Likewise.
39129 * malloc/malloc.c (malloc_hook_ini): Likewise.
39130 (realloc_hook_ini): Likewise.
39131 (memalign_hook_ini): Likewise.
39132 (__free_hook): Likewise.
39133 (__malloc_hook): Likewise.
39134 (__realloc_hook): Likewise.
39135 (__memalign_hook): Likewise.
39136 (__libc_malloc): Likewise.
39137 (__libc_free): Likewise.
39138 (__libc_realloc): Likewise.
39139 (__libc_memalign): Likewise.
39140 (__libc_valloc): Likewise.
39141 (__libc_pvalloc): Likewise.
39142 (__libc_calloc): Likewise.
39143 (__posix_memalign): Likewise.
39144 * malloc/morecore.c (__sbrk): Likewise.
39145 (__default_morecore): Likewise.
39146
39147 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39148
39149 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39150 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39151 __malloc_ptrdiff_t.
39152
39153 * malloc/malloc.h (__malloc_size_t): Remove macro.
39154 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39155 __malloc_size_t.
39156 (old_memalign_hook): Likewise.
39157 (old_realloc_hook): Likewise.
39158 (struct hdr): Likewise.
39159 (flood): Likewise.
39160 (mallochook): Likewise.
39161 (memalignhook): Likewise.
39162 (reallochook): Likewise.
39163 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39164 (tr_old_realloc_hook): Likewise.
39165 (tr_old_memalign_hook): Likewise.
39166 (tr_mallochook): Likewise.
39167 (tr_reallochook): Likewise.
39168 (tr_memalignhook): Likewise.
39169
39170 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39171
39172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39173 default_ldbl_pack and using as default implementation.
39174 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39175 implementation.
39176 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39177 redundant definition.
39178 (ldbl_insert_mantissa): Likewise.
39179 (ldbl_canonicalize): Likewise.
39180 (ldbl_nearbyint): Likewise.
39181 (ldbl_pack): Rename to ldbl_pack_ppc.
39182 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39183 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39184 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39185
39186 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39187
39188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39189 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39190 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39191 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39193 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39194 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39195 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39196
39197 2013-03-07 Andreas Jaeger <aj@suse.de>
39198
39199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39200 bits/mman-linux.h.
39201
39202 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39203
39204 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39205 Include mpa.h and declare __MPEXP.
39206 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39207 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39208 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39209 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39210 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39211 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39212 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39213
39214 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39215 (__slowpow): Use long double EXPL and LOGL functions to
39216 compute POW.
39217 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39218 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39220 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39221 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39223
39224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39225 intermediate variable to calculate exponent.
39226 (__sqr): Likewise.
39227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39228 Likewise.
39229 (__sqr): Likewise.
39230
39231 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39232 [!NO__SQR]: Define __sqr.
39233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39234 and NO__SQR. Remove all code except __mul and __sqr. Include
39235 sysdeps/ieee754/dbl-64/mpa.c.
39236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39237
39238 [BZ #12723]
39239 * posix/Makefile (tests): Add tst-pathconf.
39240 * posix/tst-pathconf.c: New test case.
39241 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39242 _PC_PIPE_BUF.
39243 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39244
39245 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39246
39247 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39248
39249 2013-03-06 Andreas Jaeger <aj@suse.de>
39250
39251 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39252 definition via __MAP_ANONYMOUS.
39253
39254 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39255 it's not part of Linux headers.
39256
39257 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39258 (MAP_HUGE_MASK): Define.
39259
39260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39261 Define.
39262 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39264 Define.
39265 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39266 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39267 Define.
39268 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39270 Define.
39271 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39272
39273 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39274 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39275 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39276 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39277 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39278 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39279
39280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39281 Handle f2fs.
39282
39283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39284 Handle f2fs and efivarfs.
39285
39286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39287 f2fs.
39288
39289 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39290 (EFIVARFS_MAGIC): Add.
39291 (F2FS_LINK_MAX): Add.
39292
39293 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39294
39295 * stdio-common/vfprintf.c: Replace __builtin_expect with
39296 __glibc_unlikely.
39297
39298 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39299
39300 [BZ #13550]
39301 * sysdeps/generic/bp-sym.h: Remove file.
39302 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39303 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39304 <bp-sym.h> and <bp-asm.h>.
39305 (__longjmp): Don't use BP_SYM.
39306 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39307 and <bp-asm.h>.
39308 (memcpy): Don't use BP_SYM.
39309 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39310 <bp-sym.h> and <bp-asm.h>.
39311 (memcpy): Don't use BP_SYM.
39312 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39313 <bp-asm.h>.
39314 (memcpy): Don't use BP_SYM.
39315 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39316 <bp-asm.h>.
39317 (memset): Don't use BP_SYM.
39318 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39319 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39320 (__bzero): Don't use BP_SYM.
39321 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39322 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39323 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39324 <bp-sym.h> and <bp-asm.h>.
39325 (memcmp): Don't use BP_SYM. Remove comment about bounded
39326 pointers.
39327 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39328 <bp-sym.h> and <bp-asm.h>.
39329 (memcpy): Don't use BP_SYM.
39330 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39331 <bp-sym.h> and <bp-asm.h>.
39332 (memset): Don't use BP_SYM.
39333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39335 (__bzero): Don't use BP_SYM.
39336 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39337 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39339 <bp-sym.h> and <bp-asm.h>.
39340 (strncmp): Don't use BP_SYM. Remove comment about bounded
39341 pointers.
39342 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39343 <bp-sym.h> and <bp-asm.h>.
39344 (memcpy): Don't use BP_SYM.
39345 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39346 <bp-sym.h> and <bp-asm.h>.
39347 (memset): Don't use BP_SYM.
39348 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39349 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39350 (__bzero): Don't use BP_SYM.
39351 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39352 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39354 <bp-sym.h> and <bp-asm.h>.
39355 (__memchr): Don't use BP_SYM.
39356 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39357 <bp-sym.h> and <bp-asm.h>.
39358 (memcmp): Don't use BP_SYM. Remove comment about bounded
39359 pointers.
39360 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39361 <bp-sym.h> and <bp-asm.h>.
39362 (memcpy): Don't use BP_SYM.
39363 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39364 <bp-sym.h> and <bp-asm.h>.
39365 (__mempcpy): Don't use BP_SYM.
39366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39367 <bp-sym.h> and <bp-asm.h>.
39368 (__memrchr): Don't use BP_SYM.
39369 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39370 <bp-sym.h> and <bp-asm.h>.
39371 (memset): Don't use BP_SYM.
39372 (__bzero): Likewise.
39373 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39374 <bp-sym.h> and <bp-asm.h>.
39375 (__rawmemchr): Don't use BP_SYM.
39376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39377 <bp-sym.h> and <bp-asm.h>.
39378 (__STRCMP): Don't use BP_SYM.
39379 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39380 <bp-sym.h> and <bp-asm.h>.
39381 (strchr): Don't use BP_SYM.
39382 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39383 <bp-sym.h> and <bp-asm.h>.
39384 (__strchrnul): Don't use BP_SYM.
39385 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39386 <bp-sym.h> and <bp-asm.h>.
39387 (strlen): Don't use BP_SYM.
39388 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39389 <bp-sym.h> and <bp-asm.h>.
39390 (strncmp): Don't use BP_SYM. Remove comment about bounded
39391 pointers.
39392 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39393 <bp-sym.h> and <bp-asm.h>.
39394 (__strnlen): Don't use BP_SYM.
39395 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39396 <bp-sym.h> and <bp-asm.h>.
39397 (__GI__setjmp): Don't use BP_SYM.
39398 (_setjmp): Likewise.
39399 (__sigsetjmp): Likewise.
39400 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39401 (L(start_addresses)): Don't use BP_SYM.
39402 (_start): Likewise.
39403 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39404 <bp-asm.h>.
39405 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39406 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39407 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39408 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39409 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39410 <bp-asm.h>.
39411 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39412 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39413 about bounded pointers.
39414 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39415 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39416 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39417 <bp-asm.h>.
39418 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39419 about bounded pointers. Remove GKM FIXME comments.
39420 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39421 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39422 <bp-asm.h>.
39423 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39424 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39425 Remove GKM FIXME comments.
39426 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39427 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39428 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39429 <bp-asm.h>.
39430 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39431 about bounded pointers. Remove GKM FIXME comment.
39432 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39433 and <bp-asm.h>.
39434 (strncmp): Don't use BP_SYM. Remove comment about bounded
39435 pointers.
39436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39437 <bp-sym.h> and <bp-asm.h>.
39438 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39440 <bp-sym.h> and <bp-asm.h>.
39441 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39442 comment.
39443
39444 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39445
39446 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39447 call free(NULL).
39448
39449 2013-03-05 David S. Miller <davem@davemloft.net>
39450
39451 * po/es.po: Update from translation team.
39452
39453 2013-03-05 Andreas Jaeger <aj@suse.de>
39454
39455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39456 <bits/mman-linux.h>.
39457 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39458 is fine.
39459 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39460 <bits/mman-linux.h> to end of file.
39461 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39462 is fine.
39463 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39464 <bits/mman-linux.h> to end of file.
39465 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39466 is fine.
39467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39468 <bits/mman-linux.h> to end of file.
39469
39470 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39471 (MCL_CURRENT, MCL_FUTURE): Define here.
39472
39473 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39474
39475 [BZ #15232]
39476 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39477 attribute_hidden.
39478 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39479
39480 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39481
39482 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39483 fourth parameter needed for rt_sigprocmask syscall.
39484 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39485 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39486 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39487 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39488 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39489 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39490
39491 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39492
39493 [BZ #13550]
39494 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39495 comment about bounded pointers.
39496 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39497 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39498
39499 2013-03-04 Andreas Jaeger <aj@suse.de>
39500
39501 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39502 common definitions.
39503
39504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39505 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39506 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39507 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39508 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39509 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39510
39511 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39512
39513 [BZ #15055]
39514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39515 __ieee754_sqrl instead of __sqrl.
39516
39517 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39518
39519 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39520 * sysdeps/powerpc/fpu_control.h: ... here.
39521 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39522 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39523 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39524 * sysdeps/powerpc/bits/mathinline.h: ... here.
39525
39526 2013-03-01 Roland McGrath <roland@hack.frob.com>
39527
39528 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39529 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39530 to just [NEED_DL_SYSINFO_DSO].
39531 * elf/dl-support.c: Likewise.
39532 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39533 * elf/rtld.c (dl_main): Likewise.
39534 * elf/setup-vdso.h (setup_vdso): Likewise.
39535 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39536 * sysdeps/unix/sysv/linux/dl-sysdep.c
39537 (_dl_discover_osversion): Likewise.
39538
39539 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39540
39541 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39542 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39543
39544 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39545
39546 * NEWS: Mention libm performance improvements and non-x86 PI
39547 futex support.
39548
39549 * csu/libc-start.c (__pthread_initialize_minimal): Change
39550 function arguments.
39551 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39552
39553 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39554
39555 [BZ #13550]
39556 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39557 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39558 <bp-sym.h> and <bp-asm.h>.
39559 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39560 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39561 and <bp-asm.h>.
39562 (memcpy): Don't use BP_SYM.
39563 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39564 <bp-asm.h>.
39565 (__mpn_add_n): Don't use BP_SYM.
39566 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39567 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39568 and <bp-asm.h>.
39569 (__mpn_addmul_1): Don't use BP_SYM.
39570 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39571 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39572 <bp-sym.h>.
39573 (_setjmp): Don't use BP_SYM.
39574 (__novmx_setjmp): Likewise.
39575 (__GI__setjmp): Likewise.
39576 (__vmx_setjmp): Likewise.
39577 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39578 <bp-sym.h>.
39579 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39580 (__bzero): Don't use BP_SYM.
39581 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39582 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39583 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39584 <bp-sym.h> and <bp-asm.h>.
39585 (memcpy): Don't use BP_SYM.
39586 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39587 <bp-sym.h> and <bp-asm.h>.
39588 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39589 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39590 <bp-sym.h> and <bp-asm.h>.
39591 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39592 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39593 <bp-asm.h>.
39594 (__mpn_lshift): Don't use BP_SYM.
39595 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39596 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39597 <bp-asm.h>.
39598 (memset): Don't use BP_SYM.
39599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39601 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39602 <bp-asm.h>.
39603 (__mpn_mul_1): Don't use BP_SYM.
39604 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39606 <bp-sym.h> and <bp-asm.h>.
39607 (memcmp): Don't use BP_SYM.
39608 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39609 <bp-sym.h> and <bp-asm.h>.
39610 (memcpy): Don't use BP_SYM.
39611 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39612 <bp-sym.h> and <bp-asm.h>.
39613 (memset): Don't use BP_SYM.
39614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39615 <bp-sym.h> and <bp-asm.h>.
39616 (strncmp): Don't use BP_SYM.
39617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39618 <bp-sym.h> and <bp-asm.h>.
39619 (memcpy): Don't use BP_SYM.
39620 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39621 <bp-sym.h> and <bp-asm.h>.
39622 (memset): Don't use BP_SYM.
39623 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39624 <bp-sym.h> and <bp-asm.h>.
39625 (__memchr): Don't use BP_SYM.
39626 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39627 <bp-sym.h> and <bp-asm.h>.
39628 (memcmp): Don't use BP_SYM.
39629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39630 <bp-sym.h> and <bp-asm.h>.
39631 (memcpy): Don't use BP_SYM.
39632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39633 <bp-sym.h> and <bp-asm.h>.
39634 (__mempcpy): Don't use BP_SYM.
39635 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39636 <bp-sym.h> and <bp-asm.h>.
39637 (__memrchr): Don't use BP_SYM.
39638 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39639 <bp-sym.h> and <bp-asm.h>.
39640 (memset): Don't use BP_SYM.
39641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39642 <bp-sym.h> and <bp-asm.h>.
39643 (__rawmemchr): Don't use BP_SYM.
39644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39645 <bp-sym.h> and <bp-asm.h>.
39646 (__STRCMP): Don't use BP_SYM.
39647 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39648 <bp-sym.h> and <bp-asm.h>.
39649 (strchr): Don't use BP_SYM.
39650 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39651 <bp-sym.h> and <bp-asm.h>.
39652 (__strchrnul): Don't use BP_SYM.
39653 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39654 <bp-sym.h> and <bp-asm.h>.
39655 (strlen): Don't use BP_SYM.
39656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39657 <bp-sym.h> and <bp-asm.h>.
39658 (strncmp): Don't use BP_SYM.
39659 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39660 <bp-sym.h> and <bp-asm.h>.
39661 (__strnlen): Don't use BP_SYM.
39662 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39663 <bp-asm.h>.
39664 (__mpn_rshift): Don't use BP_SYM.
39665 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39666 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39667 <bp-sym.h> and <bp-asm.h>.
39668 (__sigsetjmp): Don't use BP_SYM.
39669 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39670 (L(start_addresses)): Don't use BP_SYM.
39671 (_start): Likewise.
39672 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39673 <bp-asm.h>.
39674 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39675 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39676 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39677 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39678 <bp-asm.h>.
39679 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39680 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39681 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39682 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39683 <bp-asm.h>.
39684 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39685 comments.
39686 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39687 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39688 <bp-asm.h>.
39689 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39690 FIXME comments.
39691 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39692 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39693 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39694 <bp-asm.h>.
39695 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39696 comment.
39697 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39698 and <bp-asm.h>.
39699 (strncmp): Don't use BP_SYM,
39700 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39701 <bp-asm.h>.
39702 (__mpn_sub_n): Don't use BP_SYM.
39703 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39704 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39705 and <bp-asm.h>.
39706 (__mpn_submul_1): Don't use BP_SYM.
39707 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39709 <bp-sym.h> and <bp-asm.h>.
39710 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39712 <bp-sym.h> and <bp-asm.h>.
39713 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39714 comment.
39715
39716 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39717
39718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39719 Use ZK to minimize writes to Z.
39720 (sub_magnitudes): Simplify code a bit.
39721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39722 Use ZK to minimize writes to Z.
39723 (sub_magnitudes): Simplify code a bit.
39724
39725 2013-02-27 Roland McGrath <roland@hack.frob.com>
39726
39727 * csu/gmon-start.c: Add special exception to license text.
39728
39729 2013-02-27 Richard Henderson <rth@redhat.com>
39730
39731 * scripts/config.guess: Update from config.git.
39732 * scripts/config.sub: Likewise.
39733
39734 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39735
39736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39737
39738 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39739
39740 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39741
39742 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39743
39744 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39745
39746 2013-02-26 Roland McGrath <roland@hack.frob.com>
39747
39748 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39749 [$(build-shared = yes].
39750
39751 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39752
39753 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39754 (__mul): Reduce iterations for calculating mantissa.
39755
39756 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39757 MPTWO.
39758 (__mpranred): Likewise.
39759
39760 [BZ #15160]
39761 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39762 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39763
39764 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39765
39766 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39767 Define __attribute__.
39768
39769 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39770
39771 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39772 unused.
39773 * posix/regex_internal.h (__attribute): Remove.
39774 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39775 (re_string_context_at): Likewise.
39776 (bitset_not): Use __attribute__ and mark function as possibly
39777 unused.
39778 (bitset_merge): Likewise.
39779 (bitset_mask): Likewise.
39780 (re_string_char_size_at): Likewise.
39781 (re_string_wchar_at): Likewise.
39782 (re_string_elem_size_at): Likewise.
39783
39784 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39785
39786 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39787 code.
39788 (cc32): Likewise.
39789
39790 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39791 (__acr): Likewise.
39792 (__cpy): Likewise.
39793 (norm): Likewise.
39794 (denorm): Likewise.
39795 (__dbl_mp): Likewise.
39796 (add_magnitudes): Likewise.
39797 (sub_magnitudes): Likewise.
39798 (__mul): Likewise.
39799 (__inv): Likewise.
39800
39801 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39802 style.
39803
39804 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39805 style.
39806
39807 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39808 code.
39809
39810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39811 up changes with default code.
39812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39813 Likewise.
39814
39815 2013-02-24 Allan McRae <allan@archlinux.org>
39816
39817 * manual/socket.texi (The Internet Namespace): Order menu items
39818 to match that in the file.
39819
39820 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39821 node listing of the info page menu.
39822
39823 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39824
39825 [BZ #13550]
39826 * sysdeps/i386/bp-asm.h: Remove file.
39827 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39828 (PARMS): Do not use macros from bp-asm.h.
39829 (S1): Likewise.
39830 (S2): Likewise.
39831 (SIZE): Likewise.
39832 (__mpn_add_n): Do not use BP_SYM
39833 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39834 "bp-asm.h".
39835 (PARMS): Do not use macros from bp-asm.h.
39836 (S1): Likewise.
39837 (SIZE): Likewise.
39838 (__mpn_addmul_1): Do not use BP_SYM
39839 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39840 "bp-asm.h".
39841 (PARMS): Do not use macros from bp-asm.h.
39842 (SIGMSK): Likewise.
39843 (_setjmp): Likewise. Do not use BP_SYM.
39844 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39845 "bp-asm.h".
39846 (PARMS): Do not use macros from bp-asm.h.
39847 (SIGMSK): Likewise.
39848 (setjmp): Likewise. Do not use BP_SYM.
39849 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39850 "bp-asm.h".
39851 (PARMS): Do not use macros from bp-asm.h.
39852 (__frexp): Do not use BP_SYM.
39853 (frexp): Likewise.
39854 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39855 "bp-asm.h".
39856 (PARMS): Do not use macros from bp-asm.h.
39857 (__frexpf): Do not use BP_SYM.
39858 (frexpf): Likewise.
39859 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39860 "bp-asm.h".
39861 (PARMS): Do not use macros from bp-asm.h.
39862 (__frexpl): Do not use BP_SYM.
39863 (frexpl): Likewise.
39864 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39865 "bp-asm.h".
39866 (PARMS): Do not use macros from bp-asm.h.
39867 (__remquo): Do not use BP_SYM.
39868 (remquo): Likewise.
39869 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39870 "bp-asm.h".
39871 (PARMS): Do not use macros from bp-asm.h.
39872 (__remquof): Do not use BP_SYM.
39873 (remquof): Likewise.
39874 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39875 "bp-asm.h".
39876 (PARMS): Do not use macros from bp-asm.h.
39877 (__remquol): Do not use BP_SYM.
39878 (remquol): Likewise.
39879 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39880 "bp-asm.h".
39881 (PARMS): Do not use macros from bp-asm.h.
39882 (DEST): Likewise.
39883 (SRC): Likewise.
39884 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39885 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39886 "bp-asm.h".
39887 (PARMS): Do not use macros from bp-asm.h.
39888 (strlen): Do not use BP_SYM.
39889 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39890 "bp-asm.h".
39891 (PARMS): Do not use macros from bp-asm.h.
39892 (S1): Likewise.
39893 (S2): Likewise.
39894 (SIZE): Likewise.
39895 (__mpn_add_n): Do not use BP_SYM.
39896 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39897 "bp-asm.h".
39898 (PARMS): Do not use macros from bp-asm.h.
39899 (S1): Likewise.
39900 (SIZE): Likewise.
39901 (__mpn_addmul_1): Do not use BP_SYM.
39902 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39903 weak_alias.
39904 (bzero): Likewise.
39905 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39906 "bp-asm.h".
39907 (PARMS): Do not use macros from bp-asm.h.
39908 (S): Likewise.
39909 (SIZE): Likewise.
39910 (__mpn_lshift): Do not use BP_SYM.
39911 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39912 "bp-asm.h".
39913 (PARMS): Do not use macros from bp-asm.h.
39914 (DEST): Likewise.
39915 (SRC): Likewise.
39916 (LEN): Likewise.
39917 (memcpy): Likewise. Do not use BP_SYM.
39918 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39919 libc_hidden_def and weak_alias.
39920 (mempcpy): Do not use BP_SYM in weak_alias.
39921 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39922 "bp-asm.h".
39923 (PARMS): Do not use macros from bp-asm.h.
39924 (DEST): Likewise.
39925 (LEN): Likewise.
39926 [!BZERO_P] (CHR): Likewise.
39927 (memset): Likewise. Do not use BP_SYM.
39928 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39929 "bp-asm.h".
39930 (PARMS): Do not use macros from bp-asm.h.
39931 (S1): Likewise.
39932 (SIZE): Likewise.
39933 (__mpn_mul_1): Do not use BP_SYM.
39934 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39935 "bp-asm.h".
39936 (PARMS): Do not use macros from bp-asm.h.
39937 (S): Likewise.
39938 (SIZE): Likewise.
39939 (__mpn_rshift): Do not use BP_SYM.
39940 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39941 "bp-asm.h".
39942 (PARMS): Do not use macros from bp-asm.h.
39943 (STR): Likewise.
39944 (CHR): Likewise.
39945 (strchr): Likewise. Do not use BP_SYM.
39946 (index): Do not use BP_SYM in weak_alias.
39947 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39948 "bp-asm.h".
39949 (PARMS): Do not use macros from bp-asm.h.
39950 (DEST): Likewise.
39951 (SRC): Likewise.
39952 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39953 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39954 "bp-asm.h".
39955 (PARMS): Do not use macros from bp-asm.h.
39956 (strlen): Do not use BP_SYM.
39957 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39958 "bp-asm.h".
39959 (PARMS): Do not use macros from bp-asm.h.
39960 (S1): Likewise.
39961 (S2): Likewise.
39962 (SIZE): Likewise.
39963 (__mpn_sub_n): Do not use BP_SYM.
39964 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39965 "bp-asm.h".
39966 (PARMS): Do not use macros from bp-asm.h.
39967 (S1): Likewise.
39968 (SIZE): Likewise.
39969 (__mpn_submul_1): Do not use BP_SYM.
39970 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39971 "bp-asm.h".
39972 (PARMS): Do not use macros from bp-asm.h.
39973 (S1): Likewise.
39974 (S2): Likewise.
39975 (SIZE): Likewise.
39976 (__mpn_add_n): Do not use BP_SYM.
39977 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39978 weak_alias.
39979 (bzero): Likewise.
39980 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39981 "bp-asm.h".
39982 (PARMS): Do not use macros from bp-asm.h.
39983 (BLK2): Likewise.
39984 (LEN): Likewise.
39985 (memcmp): Do not use BP_SYM.
39986 (bcmp): Do not use BP_SYM in weak_alias.
39987 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39988 "bp-asm.h".
39989 (PARMS): Do not use macros from bp-asm.h.
39990 (DEST): Likewise.
39991 (SRC): Likewise.
39992 (LEN): Likewise.
39993 (memcpy): Likewise. Do not use BP_SYM.
39994 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39995 "bp-asm.h".
39996 (PARMS): Do not use macros from bp-asm.h.
39997 (DEST): Likewise.
39998 (SRC): Likewise.
39999 (LEN): Likewise.
40000 (memmove): Likewise. Do not use BP_SYM.
40001 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40002 "bp-asm.h".
40003 (PARMS): Do not use macros from bp-asm.h.
40004 (DEST): Likewise.
40005 (SRC): Likewise.
40006 (LEN): Likewise.
40007 (__mempcpy): Likewise. Do not use BP_SYM.
40008 (mempcpy): Do not use BP_SYM in weak_alias.
40009 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40010 "bp-asm.h".
40011 (PARMS): Do not use macros from bp-asm.h.
40012 (DEST): Likewise.
40013 (LEN): Likewise.
40014 [!BZERO_P] (CHR): Likewise.
40015 (memset): Likewise. Do not use BP_SYM.
40016 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40017 "bp-asm.h".
40018 (PARMS): Do not use macros from bp-asm.h.
40019 (STR2): Likewise.
40020 (strcmp): Do not use BP_SYM.
40021 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40022 "bp-asm.h".
40023 (PARMS): Do not use macros from bp-asm.h.
40024 (STR): Likewise.
40025 (DELIM): Likewise.
40026 [USE_AS_STRTOK_R] (SAVE): Likewise.
40027 (FUNCTION): Likewise. Do not use BP_SYM.
40028 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40029 aliases.
40030 (strtok_r): Likewise.
40031 (__GI___strtok_r): Likewise.
40032 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40033 (PARMS): Do not use macros from bp-asm.h.
40034 (S): Likewise.
40035 (SIZE): Likewise.
40036 (__mpn_lshift): Do not use BP_SYM.
40037 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40038 (PARMS): Do not use macros from bp-asm.h.
40039 (STR): Likewise.
40040 (CHR): Likewise.
40041 (__memchr): Do not use BP_SYM.
40042 (memchr): Do not use BP_SYM in weak_alias.
40043 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40044 (PARMS): Do not use macros from bp-asm.h.
40045 (BLK2): Likewise.
40046 (LEN): Likewise.
40047 (memcmp): Do not use BP_SYM.
40048 (bcmp): Do not use BP_SYM in weak_alias.
40049 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40050 (PARMS): Do not use macros from bp-asm.h.
40051 (S1): Likewise.
40052 (SIZE): Likewise.
40053 (__mpn_mul_1): Do not use BP_SYM.
40054 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40055 "bp-asm.h".
40056 (PARMS): Do not use macros from bp-asm.h.
40057 (STR): Likewise.
40058 (CHR): Likewise.
40059 (__rawmemchr): Do not use BP_SYM.
40060 (rawmemchr): Do not use BP_SYM in weak_alias.
40061 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40062 (PARMS): Do not use macros from bp-asm.h.
40063 (S): Likewise.
40064 (SIZE): Likewise.
40065 (__mpn_rshift): Do not use BP_SYM.
40066 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40067 (PARMS): Do not use macros from bp-asm.h.
40068 (SIGMSK): Likewise.
40069 (__sigsetjmp): Likewise. Do not use BP_SYM.
40070 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40071 (_start): Do not use BP_SYM.
40072 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40073 (PARMS): Do not use macros from bp-asm.h.
40074 (DEST): Likewise.
40075 (SRC): Likewise.
40076 (__stpcpy): Likewise. Do not use BP_SYM.
40077 (stpcpy): Do not use BP_SYM in weak_alias.
40078 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40079 "bp-asm.h".
40080 (PARMS): Do not use macros from bp-asm.h.
40081 (DEST): Likewise.
40082 (SRC): Likewise.
40083 (LEN): Likewise.
40084 (__stpncpy): Likewise. Do not use BP_SYM.
40085 (stpncpy): Do not use BP_SYM in weak_alias.
40086 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40087 (PARMS): Do not use macros from bp-asm.h.
40088 (STR): Likewise.
40089 (CHR): Likewise.
40090 (strchr): Likewise. Do not use BP_SYM.
40091 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40092 "bp-asm.h".
40093 (PARMS): Do not use macros from bp-asm.h.
40094 (STR): Likewise.
40095 (CHR): Likewise.
40096 (__strchrnul): Likewise. Do not use BP_SYM.
40097 (strchrnul): Do not use BP_SYM in weak_alias.
40098 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40099 "bp-asm.h".
40100 (PARMS): Do not use macros from bp-asm.h.
40101 (STOP): Likewise.
40102 (strcspn): Do not use BP_SYM.
40103 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40104 "bp-asm.h".
40105 (PARMS): Do not use macros from bp-asm.h.
40106 (STR): Likewise.
40107 (STOP): Likewise.
40108 (strpbrk): Likewise. Do not use BP_SYM.
40109 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40110 "bp-asm.h".
40111 (PARMS): Do not use macros from bp-asm.h.
40112 (STR): Likewise.
40113 (CHR): Likewise.
40114 (strrchr): Likewise. Do not use BP_SYM.
40115 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40116 (PARMS): Do not use macros from bp-asm.h.
40117 (SKIP): Likewise.
40118 (strspn): Do not use BP_SYM.
40119 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40120 (PARMS): Do not use macros from bp-asm.h.
40121 (STR): Likewise.
40122 (DELIM): Likewise.
40123 (SAVE): Likewise.
40124 (FUNCTION): Likewise. Do not use BP_SYM.
40125 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40126 aliases.
40127 (strtok_r): Likewise.
40128 (__GI___strtok_r): Likewise.
40129 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40130 (PARMS): Do not use macros from bp-asm.h.
40131 (S1): Likewise.
40132 (S2): Likewise.
40133 (SIZE): Likewise.
40134 (__mpn_sub_n): Do not use BP_SYM.
40135 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40136 "bp-asm.h".
40137 (PARMS): Do not use macros from bp-asm.h.
40138 (S1): Likewise.
40139 (SIZE): Likewise.
40140 (__mpn_submul_1): Do not use BP_SYM.
40141 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40142 <bp-sym.h>.
40143 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40144 and <bp-asm.h>.
40145 (PARMS): Do not use macros from bp-asm.h.
40146 (FLAGS): Likewise.
40147 (PTID): Likewise.
40148 (TLS): Likewise.
40149 (CTID): Likewise.
40150 (__clone): Do not use BP_SYM.
40151 (clone): Do not use BP_SYM in weak_alias.
40152 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40153 and <bp-asm.h>.
40154 (PARMS): Do not use macros from bp-asm.h.
40155 (LEN): Likewise.
40156 (__mmap64): Do not use BP_SYM.
40157 (mmap64): Do not use BP_SYM in weak_alias.
40158 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40159 <bp-sym.h> and <bp-asm.h>.
40160 (PARMS): Do not use macros from bp-asm.h.
40161 (__posix_fadvise64_l64): Do not use BP_SYM.
40162 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40163 (PARMS): Do not use macros from bp-asm.h.
40164 (NSOPS): Likewise.
40165 (semtimedop): Do not use BP_SYM.
40166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40167 and <bp-asm.h>.
40168
40169 2013-02-21 Allan McRae <allan@archlinux.org>
40170
40171 * manual/message.texi (Charset conversion in gettext):
40172 Move @end statement to beginning of line.
40173
40174 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40175
40176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40177 static.
40178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40179 Likewise.
40180
40181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40182 (denorm): Likewise.
40183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40185
40186 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40187
40188 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40189 tail-call to the resolved function if pltexit isn't needed.
40190
40191 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40192
40193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40194 or Y being zero as being unlikely.
40195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40196 Likewise.
40197
40198 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40199
40200 * manual/nss.texi (System Databases and Name Service Switch):
40201 Remove frobnicate @pxref.
40202
40203 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40204
40205 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40206 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40207
40208 2013-02-20 Petr Machata <pmachata@redhat.com>
40209
40210 * elf/elf.h (R_ARM_TARGET1): New macro.
40211 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40212 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40213 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40214 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40215 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40216 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40217 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40218 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40219 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40220 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40221 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40222 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40223 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40224 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40225 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40226 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40227 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40228 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40229 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40230 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40231 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40232 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40233 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40234 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40235 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40236 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40237 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40238 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40239 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40240 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40241 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40242 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40243 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40244 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40245 (R_ARM_THM_GOT_BREL12): Likewise.
40246 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40247 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40248 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40249 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40250 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40251 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40252 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40253 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40254 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40255
40256 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40257
40258 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40259 __attribute_used__ to __attribute__ ((unused)).
40260
40261 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40262
40263 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40264 powerpc mpa.c.
40265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40266 comment formatting.
40267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40268
40269 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40270
40271 [BZ #13550]
40272 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40273 Remove macro.
40274 (ENTER): Remove both macro definitions.
40275 (LEAVE): Likewise.
40276 (CHECK_BOUNDS_LOW): Likewise.
40277 (CHECK_BOUNDS_HIGH): Likewise.
40278 (CHECK_BOUNDS_BOTH): Likewise.
40279 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40280 (RETURN_BOUNDED_POINTER): Likewise.
40281 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40282 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40283 (POP_ERRNO_LOCATION_RETURN): Likewise.
40284 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40285 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40286 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40287 macros.
40288 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40289 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40290 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40291 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40292 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40293 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40294 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40295 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40296 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40297 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40298 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40299 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40301 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40302 removed macros.
40303 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40304 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40305 macros.
40306 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40307 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40308 * sysdeps/i386/i586/memset.S (memset): Likewise.
40309 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40310 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40311 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40312 macros.
40313 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40314 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40315 Change uses of L(2) to L(out).
40316 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40317 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40318 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40319 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40320 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40321 removed macros.
40322 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40323 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40324 macros.
40325 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40326 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40327 (RETURN): Do not use macro LEAVE.
40328 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40329 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40330 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40331 * sysdeps/i386/i686/memset.S (memset): Likewise.
40332 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40333 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40334 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40335 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40336 Likewise.
40337 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40338 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40339 L(1_2) and L(1_3) into L(1).
40340 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40341 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40342 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40343 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40344 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40345 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40346 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40347 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40348 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40349 macros.
40350 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40351 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40352 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40353 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40354 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40355 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40356 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40357 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40358 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40359 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40360 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40361 * sysdeps/i386/strspn.S (strspn): Likewise.
40362 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40363 conditional code.
40364 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40365 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40366 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40367 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40368 L(1_3) into L(1_1).
40369 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40370 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40371 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40372 macros.
40373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40374
40375 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40376
40377 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40378 macro.
40379
40380 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40381
40382 * math/atest-exp.c (exp_mpn): Remove ROUND.
40383 * math/atest-exp2.c (exp_mpn): Likewise.
40384 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40385
40386 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40387 * stdlib/tst-tls-atexit-lib.c: Likewise.
40388 * stdlib/tst-tls-atexit.c: Likewise.
40389
40390 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40391
40392 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40393 and __attribute_alloc_size__.
40394
40395 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40396
40397 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40398 __attribute_alloc_size__.
40399 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40400 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40401
40402 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40403
40404 * include/programs/xmalloc.h: New file.
40405 * catgets/gencat.c: Include it.
40406 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40407 * elf/pldd.c: Likewise.
40408 * iconv/iconv_charmap.c: Likewise.
40409 * iconv/iconvconfig.c: Likewise.
40410 * iconv/strtab.c: Likewise.
40411 * locale/programs/locale.c: Likewise.
40412 * locale/programs/localedef.h: Likewise.
40413 * locale/programs/simple-hash.c: Likewise.
40414 * nscd/nscd.h: Likewise.
40415 * nss/makedb.c: Likewise.
40416 * sysdeps/generic/ldconfig.h: Likewise.
40417
40418 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40419
40420 * Versions.def: Add GLIBC_2.18.
40421 * include/link.h (struct link_map): New member l_tls_dtor_count.
40422 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40423 (__call_tls_dtors): Likewise.
40424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40425 __cxa_thread_atexit_impl.
40426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40427 Likewise.
40428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40429 Likewise.
40430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40431 Likewise.
40432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40433 Likewise.
40434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40436 Likewise.
40437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40438 Likewise.
40439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40441 Likewise.
40442 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40443 (tests): Add test case tst-tls-atexit.
40444 (modules-names): Add shared library for tst-tls-atexit.
40445 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40446 (GLIBC_PRIVATE): Add __call_tls_dtors.
40447 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40448 for libstdc++.
40449 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40450 * stdlib/tst-tls-atexit.c: New test case.
40451 * stdlib/tst-tls-atexit-lib.c: New test case.
40452
40453 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40454
40455 * elf/Versions (ld): Add _dl_find_dso_for_object.
40456 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40457 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40458 (dl_open_worker): Use _dl_find_dso_for_object.
40459 * elf/dl-sym.c (do_sym): Likewise.
40460 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40461
40462 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40463
40464 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40465 Syntactic changes only.
40466 (_dl_runtime_profile): Do a tail-call to the resolved function.
40467
40468 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40469
40470 [BZ #13550]
40471 * sysdeps/x86_64/bp-asm.h: Remove file.
40472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40473 <bp-sym.h> and <bp-asm.h>.
40474 (__clone): Do not use BP_SYM.
40475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40476 <bp-sym.h> and <bp-asm.h>.
40477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40478 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40479 "bp-asm.h".
40480 (_setjmp): Do not use BP_SYM.
40481 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40482 "bp-asm.h".
40483 (setjmp): Do not use BP_SYM.
40484 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40485 libc_hidden_def.
40486 (mempcpy): Do not use BP_SYM in weak_alias.
40487 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40488 "bp-asm.h".
40489 (strchr): Do not use BP_SYM.
40490 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40491 "bp-asm.h".
40492 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40493 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40494 (_start): Do not use BP_SYM.
40495 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40496 "bp-asm.h".
40497 (strcat): Do not use BP_SYM.
40498 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40499 "bp-asm.h".
40500 (STRCMP): Do not use BP_SYM.
40501 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40502 "bp-asm.h".
40503 (STRCPY): Do not use BP_SYM.
40504 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40505 "bp-asm.h".
40506 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40507 "bp-asm.h".
40508 (FUNCTION): Do not use BP_SYM.
40509 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40510 weak_alias.
40511 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40512
40513 2013-02-17 Andreas Jaeger <aj@suse.de>
40514
40515 * time/Versions: Sort entries.
40516 * string/Versions: Likewise.
40517 * resolv/Versions: Likewise.
40518 * posix/Versions: Likewise.
40519 * iconv/Versions: Likewise.
40520 * elf/Versions: Likewise.
40521 * wcsmbs/Versions: Likewise.
40522
40523 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40524
40525 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40526 loop termination condition.
40527
40528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40529 variable to calculate EZ.
40530 (__sqr): Likewise.
40531
40532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40533 the lower precision input.
40534
40535 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40536
40537 [BZ #13550]
40538 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40539 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40540 (run-via-rtld-prefix): Do not handle %-bp tests.
40541 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40542 (all-object-suffixes): Remove .ob.
40543 (bppfx): Remove variable.
40544 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40545 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40546 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40547 [$(build-bounded) = yes] (libtype.ob): Likewise.
40548 * Makerules (elide-routines.ob): Remove variable.
40549 (do-tests-clean): Do not handle *-bp.out.
40550 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40551 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40552 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40553 (tests): Do not include $(tests-bp.out).
40554 (xtests): Do not include $(xtests-bp.out).
40555 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40556 [$(build-bounded) = yes] ($(addprefix
40557 $(objpfx),$(binaries-bounded))): Remove rule.
40558 ($(objpfx)%-bp.out): Remove rule.
40559 * config.make.in (build-bounded): Remove variable.
40560 * crypt/Makefile [$(build-bounded) = yes]
40561 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40562 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40563 append to variable.
40564 [$(build-bounded) = yes] (install-lib): Likewise.
40565 [$(build-bounded) = yes] (generated): Likewise.
40566 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40567 Remove rule.
40568 * intl/Makefile [$(build-bounded) = yes]
40569 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40570 * math/Makefile [$(build-bounded) = yes]
40571 ($(tests:%=$(objpfx)%-bp): Likewise.
40572 * misc/Makefile [$(build-bounded) = yes]
40573 ($(objpfx)tst-tsearch-bp): Likewise.
40574 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40575 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40576 Remove dependency.
40577 * string/Makefile (o-objects.ob): Remove variable.
40578 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40579 (CFLAGS-.ob): Remove variable.
40580 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40581 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40582 both definitions of variable.
40583 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40584 (ASFLAGS-.ob): Remove variable.
40585
40586 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40587
40588 [BZ #13550]
40589 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40590 Remove __BOUNDED_POINTERS__ from condition.
40591 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40592 * string/bits/string2.h [!__NO_STRING_INLINES &&
40593 !__BOUNDED_POINTERS__]: Likewise.
40594 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40595 Likewise.
40596 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40597 Remove conditional code.
40598 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40599 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40600 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40601 condition.
40602
40603 [BZ #13550]
40604 * csu/libc-start.c: Do not include <bp-sym.h>.
40605 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40606 * elf/dl-open.c: Do not include <bp-sym.h>.
40607 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40608 * math/fegetenv.c: Do not include <bp-sym.h>.
40609 (fegetenv): Do not use BP_SYM in versioned symbols.
40610 * nptl/sysdeps/pthread/bits/libc-lockP.h
40611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40612 <bp-sym.h>.
40613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40614 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40616 (__pthread_mutex_destroy): Likewise.
40617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40618 (__pthread_mutex_lock): Likewise.
40619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40620 (__pthread_mutex_trylock): Likewise.
40621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40622 (__pthread_mutex_unlock): Likewise.
40623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40624 (__pthread_mutexattr_init): Likewise.
40625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40626 (__pthread_mutexattr_destroy): Likewise.
40627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40628 (__pthread_mutexattr_settype): Likewise.
40629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40630 (__pthread_rwlock_init): Likewise.
40631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40632 (__pthread_rwlock_destroy): Likewise.
40633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40634 (__pthread_rwlock_rdlock): Likewise.
40635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40636 (__pthread_rwlock_tryrdlock): Likewise.
40637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40638 (__pthread_rwlock_wrlock): Likewise.
40639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40640 (__pthread_rwlock_trywrlock): Likewise.
40641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40642 (__pthread_rwlock_unlock): Likewise.
40643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40644 (__pthread_key_create): Likewise.
40645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40646 (__pthread_setspecific): Likewise.
40647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40648 (__pthread_getspecific): Likewise.
40649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40650 Likewise.
40651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40652 (_pthread_cleanup_push_defer): Likewise.
40653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40654 (_pthread_cleanup_pop_restore): Likewise.
40655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40656 (pthread_setcancelstate): Likewise.
40657 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40658 <bp-sym.h>.
40659 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40660 (memchr): Do not use BP_SYM in weak_alias.
40661 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40662 (fegetenv): Do not use BP_SYM in versioned symbols.
40663 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40664 (fesetenv): Do not use BP_SYM in versioned symbols.
40665 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40666 (feupdateenv): Do not use BP_SYM in versioned symbols.
40667 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40668 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40669 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40670 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40671 (open64): Do not use BP_SYM in weak_alias.
40672 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40673 (fegetenv): Do not use BP_SYM in versioned symbols.
40674 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40675 (fesetenv): Do not use BP_SYM in versioned symbols.
40676 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40677 (feupdateenv): Do not use BP_SYM in versioned symbols.
40678 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40679 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40680 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40681 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40682 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40683 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40684 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40685 <bp-sym.h>.
40686 (__libc_start_main): Do not use BP_SYM.
40687
40688 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40689
40690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40691 redundant return line.
40692 (norm): Likewise.
40693 (denorm): Likewise.
40694 (dbl_mp): Likewise.
40695 (sub_magnitudes): Likewise.
40696 (__add): Likewise.
40697 (__sub): Likewise.
40698 (__mul): Likewise.
40699 (__inv): Likewise.
40700 (__dvd): Likewise.
40701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40702 (norm): Likewise.
40703 (denorm): Likewise.
40704 (dbl_mp): Likewise.
40705 (sub_magnitudes): Likewise.
40706 (__add): Likewise.
40707 (__sub): Likewise.
40708 (__mul): Likewise.
40709 (__inv): Likewise.
40710 (__dvd): Likewise.
40711
40712 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40713 instead of __mul.
40714 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40715 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40716 (cc32): Likewise.
40717
40718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40719 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40721 of __mul for squares.
40722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40723 function
40724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40725 Likewise.
40726 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40727 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40728
40729 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40730
40731 [BZ #13550]
40732 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40733 code.
40734 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40735 prototype or function definition. Rename ubp_* variables and
40736 parameters. Remove argv definitions conditional on
40737 [__BOUNDED_POINTERS__].
40738 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40739 * elf/dl-runtime.c (_dl_fixup): Likewise.
40740 * include/set-hooks.h (RUN_HOOK): Likewise.
40741 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40742 definition.
40743 * string/strcpy.c (strcpy): Do not use __unbounded.
40744 * sysdeps/generic/frame.h (struct layout): Likewise.
40745 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40746 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40747 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40748 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40749 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40750 (__backtrace): Likewise.
40751 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40752 use __ptrvalue.
40753 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40755 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40756 Likewise.
40757 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40758 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40759 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40760 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40761 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40762 Do not use __unbounded.
40763 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40764 Rename __unboundedrlimits parameter to rlimits in prototype.
40765 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40766 Do not use __unbounded.
40767 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40768 not use __ptrvalue.
40769 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40770 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40771 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40772 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40773 __ptrvalue or __unbounded.
40774 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40775 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40776 use __unbounded.
40777 (__new_msgctl): Do not use __ptrvalue.
40778 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40779 __unbounded.
40780 (__libc_msgrcv): Do not use __ptrvalue.
40781 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40782 startup_info): Do not use __unbounded.
40783 (__libc_start_main): Likewise. Rename ubp_* variables and
40784 parameters. Remove argv definitions conditional on
40785 [__BOUNDED_POINTERS__].
40786 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40787 __ptrvalue.
40788 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40789 use __unbounded.
40790 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40791 or __ptrvalue.
40792 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40793 use __unbounded.
40794 (__new_shmctl): Do not use __ptrvalue.
40795 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40796 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40797 Likewise.
40798 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40799 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40800 (__libc_sigaction): Likewise.
40801 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40802 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40803 Likewise.
40804 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40805
40806 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40807
40808 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40809
40810 * string/mempcpy.c: Implement by calling memcpy.
40811
40812 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40813
40814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40815
40816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40817 evaluation.
40818
40819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40820 values in the mantissa.
40821
40822 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40823 minimize writes to Z.
40824 (sub_magnitudes): Simplify code a bit.
40825
40826 2013-02-12 Roland McGrath <roland@hack.frob.com>
40827
40828 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40829 from the message. The linker prefixes all warnings with that already.
40830
40831 2013-02-12 Andreas Schwab <schwab@suse.de>
40832
40833 [BZ #15078]
40834 * posix/regexec.c (extend_buffers): Add parameter min_len.
40835 (check_matching): Pass minimum needed length.
40836 (clean_state_log_if_needed): Likewise.
40837 (get_subexp): Likewise.
40838 * posix/Makefile (tests): Add bug-regex34.
40839 (bug-regex34-ENV): Define.
40840 * posix/bug-regex34.c: New file.
40841
40842 [BZ #11561]
40843 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40844 elements compare against the byte sequence of it, not its name.
40845 * posix/Makefile (tests): Add bug-regex35.
40846 (bug-regex35-ENV): Define.
40847 * posix/bug-regex35.c: New file.
40848
40849 2013-02-11 Tom de Vries <tom@codesourcery.com>
40850
40851 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40852 comment.
40853 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40854 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40855 (CHECK_EOL): Add undef.
40856
40857 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40858
40859 * bits/stdlib-bsearch.h: New file.
40860 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40861 * stdlib/stdlib.h: Likewise.
40862
40863 2013-02-11 Roland McGrath <roland@hack.frob.com>
40864
40865 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40866 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40867 declaration.
40868 * manual/search.texi (Array Search Function): Add missing const in
40869 lfind prototype.
40870 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40871 declaration to use rlim_t.
40872 (Basic Scheduling Functions): Remove erroneous const from
40873 sched_getparam prototype. Remove erroneous * from
40874 sched_get_priority_max and sched_get_priority_min prototypes.
40875 (Resource Usage): Fix summary @comment on vtimes to refer to
40876 sys/vtimes.h rather than vtimes.h.
40877 Add missing *s in vtimes prototype.
40878 (Limits on Resources): Fix ulimit prototype to return long int.
40879 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40880 prototypes to use long int rather than double.
40881 (BSD Random): Fix initstate and setstate to use char *, not void *.
40882 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40883 prototype to make second argument 'struct aiocb64 *const[]'.
40884 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40885 (Status of AIO Operations): Remove erroneous const in aio_return and
40886 aio_return64 prototypes.
40887 (Synchronizing I/O): Fix sync prototype to return void.
40888 * manual/startup.texi (Suboptions): Remove an erroneous const in
40889 getsubopt prototype.
40890 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40891 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40892 use size_t rather than int.
40893 (Scanning All Users): Likewise for getpwent_r.
40894 (Setting Groups): Add missing const to setgroups prototype.
40895 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40896 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40897 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40898 'const void *' rather than 'const char *'.
40899 (Host Address Functions): Likewise for inet_ntop.
40900 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40901 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40902 ssize_t for return value.
40903 (Sending Data): Likewise for send, sendto, sendmsg.
40904 (Socket Option Functions): Add a missing const in setsockopt prototype.
40905 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40906 use wchar_t for the argument.
40907 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40908 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40909 take no arguments.
40910 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40911 double/float/long double for second argument.
40912 Fix return types of significand, significandf, significandl.
40913 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40914 argument in fchmod prototype.
40915 (File Owner): Use uid_t and gid_t in fchown prototype.
40916 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40917 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40918 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40919 use 'const struct dirent **' as argument types to CMP function pointer
40920 argument.
40921 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40922 (File Times): Fix summary magic @comment for struct utimbuf and utime
40923 to refer to utime.h, not time.h.
40924 * manual/string.texi (Argz Functions): Add missing const in
40925 argz_extract and argz_next prototypes.
40926 (Finding Tokens in a String): Likewise for basename.
40927 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40928 (Copying and Concatenation): Fix typo in wmemmove prototype.
40929 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40930 (Signal Stack): Remove erroneous const in sigstack prototype.
40931 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40932 prototype.
40933 (Simple Calendar Time): Likewise for stime.
40934 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40935 prototype.
40936 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40937 say sys/sysctl.h instead.
40938 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40939 and vsyslog prototypes.
40940
40941 2013-02-11 Tom de Vries <tom@codesourcery.com>
40942
40943 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40944 Remove.
40945
40946 2013-02-11 Roland McGrath <roland@hack.frob.com>
40947
40948 * misc/sys/mman.h: Fix typo in mremap comment.
40949
40950 2013-02-08 Roland McGrath <roland@hack.frob.com>
40951
40952 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40953 the '\0' terminator.
40954
40955 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40956
40957 [BZ #13550]
40958 * debug/segfault.c: Don't include <bp-checks.h>.
40959 * sysdeps/generic/bp-checks.h: Remove file.
40960 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40961 (__GETDENTS): Don't use CHECK_N.
40962 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40963 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40964 (__getgroups): Don't use CHECK_N.
40965 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40966 (setgroups): Don't use CHECK_N.
40967 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40968 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40969 (__libc_msgrcv): Don't use CHECK_N.
40970 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40971 (__libc_msgsnd): Don't use CHECK_N.
40972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40973 <bp-checks.h>.
40974 (__libc_pread): Don't use CHECK_N.
40975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40976 include <bp-checks.h>.
40977 (__libc_pread64): Don't use CHECK_N.
40978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40979 include <bp-checks.h>.
40980 (__libc_pwrite): Don't use CHECK_N.
40981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40982 include <bp-checks.h>.
40983 (__libc_pwrite64): Don't use CHECK_N.
40984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40985 <bp-checks.h>.
40986 (__libc_pread): Don't use CHECK_N.
40987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40988 include <bp-checks.h>.
40989 (__libc_pread64): Don't use CHECK_N.
40990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40991 include <bp-checks.h>.
40992 (__libc_pwrite): Don't use CHECK_N.
40993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40994 include <bp-checks.h>.
40995 (__libc_pwrite64): Don't use CHECK_N.
40996 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40997 (do_pread): Don't use CHECK_N.
40998 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40999 (do_pread64): Don't use CHECK_N.
41000 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41001 (do_pwrite): Don't use CHECK_N.
41002 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41003 (do_pwrite64): Don't use CHECK_N.
41004 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41005 (__libc_readv): Don't use CHECK_N.
41006 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41007 (semop): Don't use CHECK_N.
41008 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41009 <bp-checks.h>.
41010 (semtimedop): Don't use CHECK_N.
41011 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41012 (__libc_pread): Don't use CHECK_N.
41013 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41014 <bp-checks.h>.
41015 (__libc_pread64): Don't use CHECK_N.
41016 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41017 <bp-checks.h>.
41018 (__libc_pwrite): Don't use CHECK_N.
41019 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41020 <bp-checks.h>.
41021 (__libc_pwrite64): Don't use CHECK_N.
41022 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41023 <bp-checks.h>.
41024 (__libc_msgrcv): Don't use CHECK_N.
41025 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41026 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41027 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41028 (__libc_writev): Don't use CHECK_N.
41029
41030 2013-02-08 Roland McGrath <roland@hack.frob.com>
41031
41032 * string/strcpy.c: Removed unused variable.
41033
41034 * Makeconfig (+sysdep-includes): Define with := rather than =.
41035 Use an existing include/ subdir of each sysdeps dir before it.
41036
41037 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41038
41039 * nscd/connection.c (register_traced_file): Comment function.
41040 [HAVE_INOTIFY] (union __inev): Define.
41041 [HAVE_INOTIFY] (inotify_check_files): New function.
41042 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41043 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41044 clear_db_cache.
41045 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41046
41047 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41048
41049 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41050 loaded if not already and that a failure is permanent.
41051
41052 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41053
41054 [BZ #15006]
41055 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41056 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41057
41058 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41059
41060 [BZ #13550]
41061 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41062 (CHECK_1_NULL_OK): Likewise.
41063 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41064 (__fxstat): Do not use CHECK_1.
41065 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41066 <bp-checks.h>.
41067 (___fxstat64): Do not use CHECK_1.
41068 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41069 <bp-checks.h>.
41070 (__fxstatat): Do not use CHECK_1.
41071 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41072 <bp-checks.h>.
41073 (__fxstatat64): Do not use CHECK_1.
41074 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41075 <bp-checks.h>.
41076 (__fxstat): Do not use CHECK_1.
41077 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41078 <bp-checks.h>.
41079 (__fxstatat): Do not use CHECK_1.
41080 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41081 <bp-checks.h>.
41082 (__getresgid): Do not use CHECK_1.
41083 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41084 <bp-checks.h>.
41085 (__getresuid): Do not use CHECK_1.
41086 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41087 <bp-checks.h>.
41088 (__lxstat): Do not use CHECK_1.
41089 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41090 <bp-checks.h>.
41091 (__old_msgctl): Do not use CHECK_1.
41092 (__new_msgctl): Likewise.
41093 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41094 <bp-checks.h>.
41095 (__new_setrlimit): Do not use CHECK_1.
41096 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41097 <bp-checks.h>.
41098 (__old_shmctl): Do not use CHECK_1.
41099 (__new_shmctl): Likewise.
41100 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41101 <bp-checks.h>.
41102 (__xstat): Do not use CHECK_1.
41103 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41104 (__lxstat): Do not use CHECK_1.
41105 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41106 <bp-checks.h>.
41107 (___lxstat64): Do not use CHECK_1.
41108 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41109 (__old_msgctl): Do not use CHECK_1.
41110 (__new_msgctl): Likewise.
41111 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41112 <bp-checks.h>.
41113 (__gettimeofday): Do not use CHECK_1.
41114 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41115 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41116 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41117 <bp-checks.h>.
41118 (__gettimeofday): Do not use CHECK_1.
41119 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41120 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41121 (__new_shmctl): Do not use CHECK_1.
41122 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41123 <bp-checks.h>.
41124 (do_sigtimedwait): Do not use CHECK_1.
41125 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41126 <bp-checks.h>.
41127 (do_sigwaitinfo): Do not use CHECK_1.
41128 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41129 <bp-checks.h>.
41130 (msgctl): Do not use CHECK_1.
41131 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41132 <bp-checks.h>.
41133 (shmctl): Do not use CHECK_1.
41134 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41135 (ustat): Do not use CHECK_1.
41136 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41137 <bp-checks.h>.
41138 (__fxstat): Do not use CHECK_1.
41139 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41140 <bp-checks.h>.
41141 (__fxstatat): Do not use CHECK_1.
41142 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41143 <bp-checks.h>.
41144 (__lxstat): Do not use CHECK_1.
41145 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41146 <bp-checks.h>.
41147 (__xstat): Do not use CHECK_1.
41148 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41149 (__xstat): Do not use CHECK_1.
41150 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41151 (___xstat64): Do not use CHECK_1.
41152
41153 [BZ #13550]
41154 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41155 definitions.
41156 (CHECK_BOUNDS_HIGH): Likewise.
41157 * string/strcpy.c: Do not include <bp-checks.h>.
41158 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41159
41160 2013-02-07 Roland McGrath <roland@hack.frob.com>
41161
41162 * nscd/nscd-client.h (__nscd_drop_map_ref):
41163 Add __attribute__ ((unused)).
41164 * nis/nss-nisplus.h (niserr2nss): Likewise.
41165
41166 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41167 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41168
41169 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41170 Remove inline keyword.
41171 * include/rounding-mode.h (round_away): Likewise.
41172 * libio/wfileops.c (adjust_wide_data): Likewise.
41173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41174 (__m128i_strloadu_tolower): Likewise.
41175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41176 (__m128i_strloadu_tolower): Likewise.
41177 * time/mktime.c (ydhms_diff): Likewise.
41178 * locale/elem-hash.h (elem_hash): Likewise.
41179 * locale/setlocale.c (setdata): Likewise.
41180 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41181 (re_string_wchar_at): Likewise.
41182 (bitset_not, bitset_merge, bitset_mask): Likewise.
41183 [!(__GNUC__ > 3)] (inline): Remove macro.
41184 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41185 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41186 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41187 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41188 * string/memcmp.c (memcmp_bytes): Likewise.
41189 * locale/programs/locarchive.c (compute_hashval): Likewise.
41190 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41191 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41192 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41193 * nss/getent.c (print_rpc, print_protocols): Likewise.
41194 (print_passwd, print_group, print_aliases): Likewise.
41195 * nis/nss-nisplus.h (niserr2nss): Likewise.
41196 * nscd/connections.c (restart_p): Likewise.
41197 Change return type to bool.
41198
41199 2013-02-05 Roland McGrath <roland@hack.frob.com>
41200
41201 * Makeconfig (all-Depend-files): Add existing
41202 $(sorted-subdirs:=/Depend) files.
41203 (all-subdirs): Remove nss.
41204 * sysdeps/unix/inet/Subdirs: Add it here instead.
41205 * hesiod/Depend: New file.
41206
41207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41208 instead of calling alloca.
41209
41210 * io/lseek.c (__lseek): Rename to __libc_lseek.
41211 Define __lseek as an alias.
41212
41213 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41214
41215 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41216
41217 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41218 else clause and remove check for non-standard endianness.
41219
41220 2013-02-04 David S. Miller <davem@davemloft.net>
41221
41222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41223
41224 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41225
41226 [BZ #13550]
41227 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41228 (__ubp_memchr): Remove prototype.
41229 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41230 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41231 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41232 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41233 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41234 Remove alias.
41235 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41236 (__ubp_memchr): Likewise.
41237 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41238 (__ubp_memchr): Likewise.
41239 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41240 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41241 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41242 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41243 CHECK_STRING.
41244 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41245 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41246 (__getcwd): Do not use CHECK_STRING.
41247 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41248 <bp-checks.h>.
41249 (__real_chown): Do not use CHECK_STRING.
41250 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41251 <bp-checks.h>.
41252 (fchownat): Do not use CHECK_STRING.
41253 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41254 CHECK_STRING.
41255 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41256 <bp-checks.h>.
41257 (__lchown): Do not use CHECK_STRING.
41258 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41259 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41260 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41261 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41263 include <bp-checks.h>.
41264 (truncate64): Do not use CHECK_STRING.
41265 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41266 <bp-checks.h>.
41267 (__real_chown): Do not use CHECK_STRING.
41268 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41269 <bp-checks.h>.
41270 (__lchown): Do not use CHECK_STRING.
41271 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41272 <bp-checks.h>.
41273 (__chown): Do not use CHECK_STRING.
41274 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41275 <bp-checks.h>.
41276 (truncate64): Do not use CHECK_STRING.
41277 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41278 Likewise.
41279 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41280 (__xmknod): Do not use CHECK_STRING.
41281 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41282 <bp-checks.h>.
41283 (__xmknodat): Do not use CHECK_STRING.
41284 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41285 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41286
41287 2013-02-04 Andreas Schwab <schwab@suse.de>
41288
41289 [BZ #14142]
41290 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41291 * include/netdb.h: Likewise for h_errno.
41292 * elf/tst-stackguard1.c: Include <tls.h>.
41293
41294 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41295
41296 * elf/link.h (struct link_map): Extend the l_addr comment.
41297 * include/link.h (struct link_map): Likewise.
41298
41299 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41300
41301 [BZ #13550]
41302 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41303 (BOUNDED_1): Remove macro.
41304 * debug/backtrace.c: Don't include <bp-checks.h>.
41305 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41306 (__backtrace): Likewise.
41307 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41308 <bp-checks.h>.
41309 (__backtrace): Don't use BOUNDED_1.
41310 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41311 <bp-checks.h>.
41312 (__backtrace): Don't use BOUNDED_1.
41313 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41314 (__backtrace): Don't use BOUNDED_1.
41315 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41316 (shmat): Don't use BOUNDED_N.
41317
41318 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41319
41320 [BZ #13550]
41321 * sysdeps/generic/bp-start.h: Remove file.
41322 * csu/libc-start.c: Don't include <bp-start.h>.
41323 (LIBC_START_MAIN): Set up __environ directly instead of using
41324 INIT_ARGV_and_ENVIRON.
41325 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41326 <bp-start.h>.
41327
41328 [BZ #13550]
41329 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41330 definitions.
41331 (CHECK_FCNTL): Likewise.
41332 (CHECK_N_PAGES): Likewise.
41333
41334 [BZ #13550]
41335 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41336 definitions.
41337 (CHECK_SIGSET_NULL_OK): Likewise.
41338 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41339 <bp-checks.h>.
41340 (sigpending): Don't use CHECK_SIGSET.
41341 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41342 <bp-checks.h>.
41343 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41344 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41345 <bp-checks.h>.
41346 (do_sigsuspend): Don't use CHECK_SIGSET.
41347 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41348 use CHECK_SIGSET.
41349 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41350 (do_sigwait): Don't use CHECK_SIGSET.
41351 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41352 use CHECK_SIGSET.
41353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41354 include <bp-checks.h>.
41355 (sigpending): Don't use CHECK_SIGSET.
41356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41357 include <bp-checks.h>.
41358 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41359 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41360 <bp-checks.h>.
41361 (sigpending): Don't use CHECK_SIGSET.
41362 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41363 <bp-checks.h>.
41364 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41365
41366 [BZ #13550]
41367 * sysdeps/generic/bp-semctl.h: Remove file.
41368 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41369 <bp-checks.h> and <bp-semctl.h>.
41370 (__old_semctl): Don't use CHECK_SEMCTL.
41371 (__new_semctl): Likewise.
41372 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41373 and <bp-semctl.h>.
41374 (__old_semctl): Don't use CHECK_SEMCTL.
41375 (__new_semctl): Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41377 <bp-checks.h> and <bp-semctl.h>.
41378 (__old_semctl): Don't use CHECK_SEMCTL.
41379 (__new_semctl): Likewise.
41380 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41381 <bp-checks.h> and <bp-semctl.h>.
41382 (semctl): Don't use CHECK_SEMCTL.
41383
41384 [BZ #13550]
41385 * Makerules (elide-bp-thunks): Remove variable.
41386 (elide-routines.oS): Don't use $(elide-bp-thunks).
41387 (elide-routines.os): Likewise.
41388 (elide-routines.o): Likewise.
41389 (elide-routines.op): Likewise.
41390 (elide-routines.og): Likewise.
41391 (objects): Don't use $(bp-thunks).
41392 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41393 include.
41394 (common-generated): Do not add s-proto-bp.d.
41395 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41396 (int): Likewise.
41397 (typ): Likewise.
41398 Do not generate makefile rules for bounded-pointer thunks.
41399 * sysdeps/generic/bp-thunks.h: Remove file.
41400 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41401 * sysdeps/unix/s-proto-bp.S: Likewise.
41402
41403 [BZ #15062]
41404 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41405 parts of result separately when argument is not close to line from
41406 -i to i and one part of argument is small.
41407 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41408 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41409 * math/libm-test.inc (cacos_test): Add more tests.
41410 (casin_test): Likewise.
41411 (casinh_test): Likewise.
41412 * sysdeps/i386/fpu/libm-test-ulps: Update.
41413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41414
41415 2013-01-31 David S. Miller <davem@davemloft.net>
41416
41417 * po/de.po: Update from translation team.
41418
41419 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41420
41421 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41422
41423 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41424
41425 * configure.in (_AC_PROG_CC_C89): New definition.
41426 * configure: Regenerate.
41427
41428 * configure.in (AC_PROG_CPP): New definition.
41429 * configure: Regenerate.
41430
41431 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41432
41433 * debug/tst-backtrace.h: New file.
41434 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41435 (ret): Remove variable.
41436 (x): Likewise.
41437 (FAIL): Remove macro.
41438 (NO_INLINE): Likewise.
41439 (fn1): Use match function instead of strstr.
41440 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41441 (ret): Remove variable.
41442 (x): Likewise.
41443 (FAIL): Remove macro.
41444 (NO_INLINE): Likewise.
41445 (fn): Use match function instead of strstr.
41446 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41447 (ret): Remove variable.
41448 (x): Likewise.
41449 (FAIL): Remove macro.
41450 (NO_INLINE): Likewise.
41451 (handle_signal): Use match function instead of strstr.
41452 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41453 (ret): Remove variable.
41454 (x): Likewise.
41455 (FAIL): Remove macro.
41456 (NO_INLINE): Likewise.
41457 (handle_signal): Use match function instead of strstr.
41458
41459 2013-01-23 Roland McGrath <roland@hack.frob.com>
41460
41461 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41462
41463 2013-01-23 David S. Miller <davem@davemloft.net>
41464
41465 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41466 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41467 argument of CAS if possible.
41468 * sysdeps/sparc/sparc64/bits/atomic.h
41469 (__arch_compare_and_exchange_val_32_acq): Likewise.
41470 (__arch_compare_and_exchange_val_64_acq): Likewise.
41471
41472 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41473
41474 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41475 * sysdeps/posix/ulimit.c: ... this.
41476 Include <limits.h>.
41477 * sysdeps/unix/bsd/ulimit.c: Remove file.
41478
41479 2013-01-23 Adam Conrad <adconrad@0c3.net>
41480
41481 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41482 (LDFLAGS-tst-array5): Likewise.
41483
41484 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41485
41486 [BZ #15036]
41487 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41488 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41489 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41490 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41491
41492 2013-01-21 David S. Miller <davem@davemloft.net>
41493
41494 * sysdeps/sparc/backtrace.c: New file.
41495 * sysdeps/sparc/sparc32/backtrace.h: New file.
41496 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41497 * sysdeps/sparc/sparc64/backtrace.h: New file.
41498 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41499 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41500 -funwind-tables.
41501
41502 2013-01-21 Andreas Schwab <schwab@suse.de>
41503
41504 [BZ #15020]
41505 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41506 closed its stdout.
41507
41508 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41509
41510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41511 "mpa2.h".
41512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41513
41514 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41515 Mark Mitchell <mark@codesourcery.com>
41516 Tom de Vries <tom@codesourcery.com>
41517 Paul Pluzhnikov <ppluzhnikov@google.com>
41518
41519 * debug/tst-backtrace2.c: New file.
41520 * debug/tst-backtrace3.c: Likewise.
41521 * debug/tst-backtrace4.c: Likewise.
41522 * debug/tst-backtrace5.c: Likewise.
41523 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41524 (CFLAGS-tst-backtrace3.c): Likewise.
41525 (CFLAGS-tst-backtrace4.c): Likewise.
41526 (CFLAGS-tst-backtrace5.c): Likewise.
41527 (LDFLAGS-tst-backtrace2): Likewise.
41528 (LDFLAGS-tst-backtrace3): Likewise.
41529 (LDFLAGS-tst-backtrace4): Likewise.
41530 (LDFLAGS-tst-backtrace5): Likewise.
41531 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41532 tst-backtrace4 and tst-backtrace5.
41533
41534 2013-01-18 Anton Blanchard <anton@samba.org>
41535 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41536
41537 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41538 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41539 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41540 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41542 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41543 "+r" and remove output regs list as redundant. Add explicit inline
41544 asm to specify register of return val to work around compiler codegen
41545 bug. Remove (int) cast on return value. Add return type parameter to
41546 use in macro so that this macro does not truncate return value for
41547 64-bit values.
41548 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41549 pass to INTERNAL_VSYSCALL_NCS.
41550 (INLINE_VSYSCALL): Add 'long int' as return type to
41551 INTERNAL_VSYSCALL_NCS macro invocation.
41552 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41553 INTERNAL_VSYSCALL_NCS macro invocation.
41554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41555
41556 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41557
41558 [BZ #14496]
41559 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41560 Fix application of SIMD FP exception mask.
41561
41562 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41563 mp_no from a power of two.
41564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41565 __mpexp_twomm1. Use __pow_mp.
41566
41567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41568 multiplication.
41569
41570 2013-01-17 David S. Miller <davem@davemloft.net>
41571
41572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41573
41574 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41575
41576 [BZ #15023]
41577 * include/complex.h: Condition contents on [!_COMPLEX_H].
41578 (__kernel_casinhf): New prototype.
41579 (__kernel_casinh): Likewise.
41580 (__kernel_casinhl): Likewise.
41581 * math/Makefile (libm_calls): Add k_casinh.
41582 * math/k_casinh.c: New file.
41583 * math/k_casinhf.c: Likewise.
41584 * math/k_casinhl.c: Likewise.
41585 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41586 finite nonzero arguments.
41587 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41588 finite nonzero arguments.
41589 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41590 finite nonzero arguments.
41591 * math/s_casinh.c: Do not include <float.h>.
41592 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41593 * math/s_casinhf.c: Do not include <float.h>.
41594 (__casinhf): Move code for finite nonzero arguments to
41595 k_casinhf.c.
41596 * math/s_casinhl.c: Do not include <float.h>.
41597 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41598 redefine.
41599 (__casinhl): Move code for finite nonzero arguments to
41600 k_casinhl.c.
41601 * math/libm-test.inc (cacos_test): Add more tests.
41602 * sysdeps/i386/fpu/libm-test-ulps: Update.
41603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41604
41605 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41606
41607 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41608 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41609 [!HAVE_MREMAP]: Remove [defined linux] case.
41610 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41611
41612 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41613
41614 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41615
41616 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41617
41618 * elf/elf.h (R_386_SIZE32): New relocation.
41619 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41620 R_386_SIZE32.
41621 (elf_machine_rela): Likewise.
41622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41623 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41624
41625 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41626
41627 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41628 (FP_FAST_FMA): Do not define.
41629 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41630 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41631 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41632 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41633 !_SOFT_FLOAT]: Likewise.
41634 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41635 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41636 value.
41637 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41638 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41639 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41640 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41641 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41642 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41643 file.
41644
41645 2013-01-16 Andreas Schwab <schwab@suse.de>
41646
41647 [BZ #14327]
41648 * include/stdlib.h (__mktemp): Add declaration.
41649 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41650 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41651
41652 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41653
41654 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41655 definitions.
41656 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41657 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41658 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41659 definitions here.
41660 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41661 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41662 definitions.
41663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41664 and ONE.
41665 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41666 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41667 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41668 definitions.
41669 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41670 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41671 definitions.
41672 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41673
41674 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41675
41676 2013-01-15 David S. Miller <davem@davemloft.net>
41677
41678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41679 trunc{,f} to libm-sysdep_routes.
41680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41682 file.
41683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41685 file.
41686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41687 file.
41688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41690 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41691 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41692 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41693 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41694 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41695 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41696
41697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41698 nearbyint{,f} to libm-sysdep_routes.
41699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41701 New file.
41702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41703 file.
41704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41705 New file.
41706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41707 file.
41708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41710 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41711 file.
41712 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41714 file.
41715 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41716 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41717 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41718
41719 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41720 libc_feholdexcept and libc_fesetenv.
41721
41722 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41723
41724 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41725
41726 2013-01-14 David S. Miller <davem@davemloft.net>
41727
41728 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41729 (SPARC_ASM_VIS2_IFUNC): Likewise.
41730 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41732 use of 'siam' instruction.
41733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41734 Likewise.
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41736 Likewise.
41737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41738 Likewise.
41739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41744 file.
41745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41746 file.
41747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41748 file.
41749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41750 file.
41751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41756 new VIS2 routines.
41757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41760 Likewise.
41761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41766 routines to libm-sysdep_routines.
41767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41768
41769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41770 fdim/fdimf to libm-sysdep_routines.
41771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41772 file.
41773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41775 file.
41776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41779 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41780 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41781 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41782 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41783
41784 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41785
41786 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41787 to optimize copies.
41788
41789 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41792
41793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41794 local variable MPTWO.
41795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41796 Likewise.
41797
41798 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41799
41800 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41801 GLOB_NOESCAPE.
41802
41803 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41804
41805 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41806
41807 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41808
41809 * manual/pattern.texi (glob_t): Document gl_flags.
41810 (glob64_t): Likewise.
41811
41812 2013-01-11 David S. Miller <davem@davemloft.net>
41813
41814 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41815 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41816 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41817 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41818 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41819 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41820 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41821 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41822 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41823 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41824 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41825 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41826 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41827
41828 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41829 sparc V9 rather than using V8 code.
41830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41832
41833 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41834 Move to...
41835 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41836 Here.
41837
41838 2013-01-11 Roland McGrath <roland@hack.frob.com>
41839
41840 [BZ #14941]
41841 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41842 not in the main loop.
41843 * configure: Regenerated.
41844
41845 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41846
41847 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41848 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41849 to just #else.
41850 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41851 [!__GLIBC_HAVE_LONG_LONG] case.
41852 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41853 condition to just #else.
41854 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41855 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41856 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41857 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41858 unconditional.
41859 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41860 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41861 #elif condition to just #else.
41862 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41863 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41864 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41865 #elif condition to just #else.
41866
41867 2013-01-11 Steve Ellcey <sellcey@mips.com>
41868
41869 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41870 (EF_MIPS_ARCH_64): Fix value.
41871 (EF_MIPS_ARCH_32R2): New.
41872 (EF_MIPS_ARCH_64R2): New.
41873
41874 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41875
41876 * Makeconfig (+link-pie-before-libc): New.
41877 (+link-pie-after-libc): Likewise.
41878 (+link-pie-tests): Likewise.
41879 (+link-pie): Rewritten.
41880 (link-before-libc): Remove $(config-LDFLAGS).
41881 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41882 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41883 (config-LDFLAGS): Renamed to ...
41884 (rtld-LDFLAGS): This.
41885 (rtld-tests-LDFLAGS): New macro.
41886 (link-libc-rpath-link): Likewise.
41887 (link-libc-tests-rpath-link): Likewise.
41888 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41889 (link-libc): Prepand $(link-libc-rpath-link).
41890 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41891 (test-program-prefix): New macro.
41892 (test-via-rtld-prefix): Likewise.
41893 (test-program-cmd): Likewise.
41894 (host-test-program-cmd): Likewise.
41895 * Makefile ($(common-objpfx)testrun.sh): Replace
41896 $(run-program-prefix) with $(test-program-prefix).
41897 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41898 $(rtld-LDFLAGS).
41899 ($(common-objpfx)shlib.lds): Likewise.
41900 (build-module-helper): Likewise.
41901 ($(common-objpfx)format.lds): Likewise.
41902 * Rules (binaries-pie-tests): New.
41903 (binaries-pie-notests): Likewise.
41904 (binaries-pie): Rewritten.
41905 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41906 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41907 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41908 (make-test-out): Replace $(host-built-program-cmd) with
41909 $(host-test-program-cmd).
41910 * config.make.in (build-hardcoded-path-in-tests): New variable.
41911 * configure.in (--enable-hardcoded-path-in-tests): New configure
41912 option.
41913 (hardcoded_path_in_tests): New AC_SUBST.
41914 * configure: Regenerated.
41915 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41916 $(built-program-cmd) with $(test-program-cmd).
41917 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41918 (test_program_cmd): This.
41919 * elf/Makefile ($(objpfx)order.out): Run test with
41920 $(test-program-prefix).
41921 ($(objpfx)order2.out): Likewise.
41922 ($(objpfx)tst-initorder.out): Likewise.
41923 ($(objpfx)tst-initorder2.out): Likewise.
41924 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41925 $(test-program-cmd).
41926 ($(objpfx)tst-array1-static.out): Likewise.
41927 ($(objpfx)tst-array2.out): Likewise.
41928 ($(objpfx)tst-array3.out): Likewise.
41929 ($(objpfx)tst-array4.out): Likewise.
41930 ($(objpfx)tst-array5.out): Likewise.
41931 ($(objpfx)tst-array5-static.out): Likewise.
41932 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41933 $(test-program-cmd).
41934 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41935 $(run-program-prefix) with $(test-program-prefix).
41936 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41937 (test_program_prefix): This.
41938 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41939 $(run-program-prefix) with $(test-program-prefix).
41940 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41941 (test_program_prefix): This.
41942 * iconvdata/tst-tables.sh: Likewise.
41943 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41944 $(run-program-prefix) with $(test-program-prefix).
41945 ($(objpfx)tst-translit.out): Likewise.
41946 ($(objpfx)tst-gettext2.out): Likewise.
41947 ($(objpfx)tst-gettext4.out): Likewise.
41948 ($(objpfx)tst-gettext6.out): Likewise.
41949 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41950 (test_program_prefix): This.
41951 * intl/tst-gettext2.sh: Likewise.
41952 * intl/tst-gettext4.sh Likewise.
41953 * intl/tst-gettext6.sh: Likewise.
41954 * intl/tst-translit.sh: Likewise.
41955 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41956 with $(test-program-cmd).
41957 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41958 $(run-program-prefix) with $(test-program-prefix).
41959 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41960 (test_program_prefix): This.
41961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41962 $(run-program-prefix) with $(test-program-prefix).
41963 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41964 (test_program_prefix): This.
41965 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41966 * posix/Makefile ($(objpfx)globtest.out): Replace
41967 $(run-via-rtld-prefix) and $(test-wrapper) with
41968 $(test-program-prefix) and $(test-via-rtld-prefix).
41969 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41970 $(test-program-prefix).
41971 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41972 $(host-test-program-cmd).
41973 (tst-spawn-ARGS): Likewise.
41974 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41975 $(test-program-prefix).
41976 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41977 (test_via_rtld_prefix): This.
41978 (test_wrapper): Renamed to ...
41979 (test_program_prefix): This.
41980 (run_program_prefix): Replaced by test_program_prefix.
41981 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41982 (test_program_prefix): This.
41983 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41984 with $(host-test-program-cmd).
41985 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41986 $(run-program-prefix) with $(test-program-prefix).
41987 ($(objpfx)tst-printf.out): Likewise.
41988 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41989 $(test-program-cmd).
41990 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41991 (test_program_prefix): This.
41992 * stdio-common/tst-unbputc.sh: Likewise.
41993 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41994 $(run-program-prefix) with $(test-program-prefix).
41995 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41996 (test_program_prefix): This.
41997 * string/Makefile ($(objpfx)tst-svc.out): Replace
41998 $(built-program-cmd) with $(test-program-cmd).
41999
42000 2013-01-11 Andreas Jaeger <aj@suse.de>
42001
42002 [BZ #15003]
42003 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42004 value. Sync with Linux 3.7.
42005
42006 2013-01-10 David S. Miller <davem@davemloft.net>
42007
42008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42009 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42010 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42011
42012 2013-01-10 Roland McGrath <roland@hack.frob.com>
42013
42014 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42015 never set.
42016 * configure: Regenerated.
42017
42018 2013-01-10 David S. Miller <davem@davemloft.net>
42019
42020 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42021 sparc V9 rather than using V8 code.
42022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42024
42025 2013-01-10 Roland McGrath <roland@hack.frob.com>
42026
42027 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42028 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42029 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42030 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42031 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42032 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42033 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42034 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42035 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42036 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42037 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42038 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42039 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42040 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42041 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42042 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42043 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42044 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42045 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42046 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42047 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42048 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42049 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42050 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42051 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42052 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42053 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42054
42055 2013-01-10 David S. Miller <davem@davemloft.net>
42056
42057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42058
42059 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42060
42061 * posix/Makefile (tests-static): New variable.
42062 (tests): Add $(tests-static).
42063 (tst-exec-static-ARGS): New variable.
42064 (tst-spawn-static-ARGS): Likewise.
42065 * posix/tst-exec-static.c: New file.
42066 * posix/tst-spawn-static.c: Likewise.
42067 * posix/tst-exec.c: Support run directly.
42068 * posix/tst-spawn.c: Likewise.
42069
42070 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42071
42072 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42073 long.
42074 * math/bits/mathcalls.h (llrint): Likewise.
42075 (llround): Likewise.
42076 * stdlib/stdlib.h (struct drand48_data): Likewise.
42077 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42078 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42079 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42080 Likewise.
42081 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42082 Likewise.
42083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42084 (elf_greg_t): Likewise.
42085 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42086 (__jmp_buf): Likewise.
42087 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42088 definitions.
42089 (llrint): Likewise, for all definitions.
42090 (llrintl): Likewise.
42091
42092 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42093 Remove [__GNUC__] condition.
42094 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42095 condition to just [__USE_ISOC99].
42096 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42097
42098 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 [BZ #14200]
42101 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42102 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42103 defined.
42104 (_POSIX_V6_ILP32_OFF32): Likewise.
42105 (_XBS5_ILP32_OFF32): Likewise.
42106 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42107 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42108
42109 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42110
42111 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42112
42113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42114 doubles __mpexp_twomm1. Adjust usage.
42115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42116 Remove.
42117
42118 2013-01-10 Andreas Schwab <schwab@suse.de>
42119
42120 [BZ #14964]
42121 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42122 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42123
42124 2013-01-09 David S. Miller <davem@davemloft.net>
42125
42126 [BZ #15003]
42127 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42128 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42129 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42130 (TCP_FASTOPEN): Define.
42131 (tcp_repair_opt): New structure.
42132 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42133 enum values.
42134 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42135 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42136 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42137 (tcp_cookie_transactions): New structure.
42138
42139 2013-01-09 Anton Blanchard <anton@samba.org>
42140
42141 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42142 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42143 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42144 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42145
42146 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42147
42148 * include/features.h (__USE_ANSI): Remove.
42149
42150 2013-01-09 Roland McGrath <roland@hack.frob.com>
42151
42152 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42153
42154 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42155
42156 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42157
42158 * sysdeps/s390/fpu/libm-test-ulps: Update.
42159
42160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42161
42162 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42163 (__acr): Likewise.
42164 (__cpy): Likewise.
42165 (norm): Likewise.
42166 (denorm): Likewise.
42167 (__mp_dbl): Likewise.
42168 (__dbl_mp): Likewise.
42169 (add_magnitudes): Likewise.
42170 (sub_magnitudes): Likewise.
42171 (__add): Likewise.
42172 (__sub): Likewise.
42173 (__mul): Likewise.
42174 (__inv): Likewise.
42175 (__dvd): Likewise.
42176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42177 (__acr): Likewise.
42178 (__cpy): Likewise.
42179 (norm): Likewise.
42180 (denorm): Likewise.
42181 (__mp_dbl): Likewise.
42182 (__dbl_mp): Likewise.
42183 (add_magnitudes): Likewise.
42184 (sub_magnitudes): Likewise.
42185 (__add): Likewise.
42186 (__sub): Likewise.
42187 (__mul): Likewise.
42188 (__inv): Likewise.
42189 (__dvd): Likewise.
42190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42191 (__acr): Likewise.
42192 (__cpy): Likewise.
42193 (norm): Likewise.
42194 (denorm): Likewise.
42195 (__mp_dbl): Likewise.
42196 (__dbl_mp): Likewise.
42197 (add_magnitudes): Likewise.
42198 (sub_magnitudes): Likewise.
42199 (__add): Likewise.
42200 (__sub): Likewise.
42201 (__mul): Likewise.
42202 (__inv): Likewise.
42203 (__dvd): Likewise.
42204
42205 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42206
42207 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42208 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42209 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42210 2 && __USE_EXTERN_INLINES]: Likewise.
42211
42212 2013-01-08 Andreas Jaeger <aj@suse.de>
42213
42214 [BZ# 14985]
42215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42216 Remove.
42217 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42218 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42219
42220 2013-01-07 Anton Blanchard <anton@samba.org>
42221
42222 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42223 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42224 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42225 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42226 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42228 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42229 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42232 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42233 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42236 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42240 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42245 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42246 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42247 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42248 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42249 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42251 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42252 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42255 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42256 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42257 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42258 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42260 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42261 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42262 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42264 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42265
42266 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42267
42268 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42269 (__MALLOC_PMT): Likewise.
42270 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42271 [__GNUC__], only on [_LIBC].
42272 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42273 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42274 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42275 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42276 forward declaration.
42277 (realloc_hook_ini): Likewise.
42278 (memalign_hook_ini): Likewise.
42279 (__libc_memalign): Do not use __MALLOC_PMT in variable
42280 declaration.
42281 (__libc_valloc): Likewise.
42282 (__libc_pvalloc): Likewise.
42283 (__libc_calloc): Likewise.
42284 (__posix_memalign): Likewise.
42285
42286 [BZ #14996]
42287 * math/s_casinh.c: Include <float.h>.
42288 (__casinh): Do not do computation with squaring and square root
42289 for large arguments.
42290 * math/s_casinhf.c: Include <float.h>.
42291 (__casinhf): Do not do computation with squaring and square root
42292 for large arguments.
42293 * math/s_casinhl.c: Include <float.h>.
42294 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42295 (__casinhl): Do not do computation with squaring and square root
42296 for large arguments.
42297 * math/libm-test.inc (casin_test): Add more tests.
42298 (casinh_test): Likewise.
42299 * sysdeps/i386/fpu/libm-test-ulps: Update.
42300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42301
42302 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42303
42304 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42305 (__x86_64_raw_data_cache_size): Likewise.
42306 (__x86_64_data_cache_size_half): Likewise.
42307 (__x86_64_raw_data_cache_size_half): Likewise.
42308 (__x86_64_shared_cache_size): Likewise.
42309 (__x86_64_raw_shared_cache_size): Likewise.
42310 (__x86_64_shared_cache_size_half): Likewise.
42311 (__x86_64_raw_shared_cache_size_half): Likewise.
42312 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42313 to ...
42314 (__x86_data_cache_size): This.
42315 (__x86_64_raw_data_cache_size): Renamed to ...
42316 (__x86_raw_data_cache_size): This.
42317 (__x86_64_data_cache_size_half): Renamed to ...
42318 (__x86_data_cache_size_half): This.
42319 (__x86_64_raw_data_cache_size_half): Renamed to ...
42320 (__x86_raw_data_cache_size_half): This.
42321 (__x86_64_shared_cache_size): Renamed to ...
42322 (__x86_shared_cache_size): This.
42323 (__x86_64_raw_shared_cache_size): Renamed to ...
42324 (__x86_raw_shared_cache_size): This.
42325 (__x86_64_shared_cache_size_half): Renamed to ...
42326 (__x86_shared_cache_size_half): This.
42327 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42328 (__x86_raw_shared_cache_size_half): This.
42329 * sysdeps/x86_64/memcpy.S: Updated.
42330 * sysdeps/x86_64/memset.S: Likewise.
42331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42334
42335 2013-01-04 David S. Miller <davem@davemloft.net>
42336
42337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42338
42339 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42340
42341 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42342 1 to avoid redefinition warning.
42343 (__USE_GNU): Don't define.
42344 (init_signaling_nan): Protoize.
42345
42346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42347
42348 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42349
42350 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42352 (__cpymn): Likewise.
42353 (norm): Remove commented code.
42354 (denorm): Likewise.
42355 (__mp_dbl): Likewise.
42356 (__inv): Likewise.
42357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42358 (__cpymn): Likewise.
42359 (norm): Remove commented code.
42360 (denorm): Likewise.
42361 (__mp_dbl): Likewise.
42362 (__inv): Likewise.
42363
42364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42365 mp_no value for 1.0 and 2.0.
42366 (norm): Use RADIXI instead of radixi.d.
42367 (denorm): Likewise.
42368 (__mul): Use 0.0 instead of zero.d.
42369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42370 mp_no value for 1.0 and 2.0.
42371 (norm): Use RADIXI instead of radixi.d.
42372 (denorm): Likewise.
42373 (__mul): Use 0.0 instead of zero.d.
42374
42375 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42376
42377 [BZ #14994]
42378 * math/s_casinh.c (__casinh): Reduce finite argument to first
42379 quadrant then set signs of results at the end.
42380 * math/s_casinhf.c (__casinhf): Likewise.
42381 * math/s_casinhl.c (__casinhl): Likewise.
42382 * math/libm-test.inc (casin_test): Add more tests.
42383 (casinh_test): Likewise.
42384 * sysdeps/i386/fpu/libm-test-ulps: Update.
42385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42386
42387 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42388
42389 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42390
42391 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42392
42393 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42394 declarations.
42395 (denorm): Likewise.
42396 (__mp_dbl): Likewise.
42397 (__inv): Likewise.
42398
42399 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42400 and adjust the header comment.
42401
42402 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42403 variable name from declaration.
42404
42405 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42406
42407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42408 Initialize COMMON_CPUID_INDEX_7 element.
42409 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42410 (CPUID_RTM): Likewise.
42411 (HAS_RTM): Likewise.
42412 (COMMON_CPUID_INDEX_7): New enum.
42413
42414 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42415
42416 [BZ #14981]
42417 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42418 size is zero, record memory as freed.
42419
42420 2013-01-03 Andreas Jaeger <aj@suse.de>
42421
42422 * po/ia.po: Add new Interlingua translation.
42423
42424 2012-01-03 Allan McRae <allan@archlinux.org>
42425
42426 * locale/programs/localedef.c: Fix description of '--posix' flag.
42427
42428 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42429
42430 * NEWS: Update dates in second copyright notice.
42431 * README: Update copyright dates in example.
42432 * manual/libc.texinfo: Update copyright dates.
42433 * scripts/test-installation.pl: Update copyright date in --version
42434 output.
42435
42436 * hurd/ctty-input.c: Fix copyright notice formatting.
42437 * hurd/ctty-output.c: Likewise.
42438 * hurd/dtable.c: Likewise.
42439 * hurd/hurd-raise.c: Likewise.
42440 * hurd/hurdprio.c: Likewise.
42441 * hurd/msgportdemux.c: Likewise.
42442 * misc/sys/file.h: Likewise.
42443 * misc/sys/ioctl.h: Likewise.
42444 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42445 * sysdeps/mach/hurd/chdir.c: Likewise.
42446 * sysdeps/mach/hurd/fchdir.c: Likewise.
42447 * sysdeps/mach/hurd/rename.c: Likewise.
42448 * sysdeps/mach/hurd/rmdir.c: Likewise.
42449 * sysdeps/mach/hurd/seekdir.c: Likewise.
42450 * sysdeps/mach/hurd/setsid.c: Likewise.
42451 * sysdeps/posix/wait3.c: Likewise.
42452
42453 * All files with FSF copyright notices: Update copyright dates
42454 using scripts/update-copyrights.
42455 * intl/plural.c: Regenerated.
42456 * locale/programs/charmap-kw.h: Likewise.
42457 * locale/programs/locfile-kw.h: Likewise.
42458
42459 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42460
42461 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42462 four values.
42463
42464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42465 calculation loop and add branch prediction.
42466
42467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42468 check access beyond bounds of m1np.
42469
42470 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42471 MPTWO.
42472 (__inv): Remove local variable MPTWO to use the global
42473 constant.
42474 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42476 variable MPTWO.
42477 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42478 MP3HALFS static const.
42479
42480 2013-01-01 David S. Miller <davem@davemloft.net>
42481
42482 * po/ca.po: Update from translation team.
42483
42484 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42485
42486 * scripts/update-copyrights: New file.
42487 * Makeconfig: Reformat copyright notice.
42488 * ctype/ctype.h: Likewise.
42489 * debug/swprintf_chk.c: Likewise.
42490 * elf/dl-cache.c: Likewise.
42491 * elf/dl-debug.c: Likewise.
42492 * elf/dl-object.c: Likewise.
42493 * grp/initgroups.c: Likewise.
42494 * hurd/Makefile: Likewise.
42495 * hurd/hurd/signal.h: Likewise.
42496 * hurd/hurdfault.c: Likewise.
42497 * hurd/hurdioctl.c: Likewise.
42498 * hurd/hurdlookup.c: Likewise.
42499 * hurd/intr-msg.c: Likewise.
42500 * iconv/gconv_open.c: Likewise.
42501 * libio/swprintf.c: Likewise.
42502 * locale/lc-ctype.c: Likewise.
42503 * locale/nl_langinfo.c: Likewise.
42504 * mach/Machrules: Likewise.
42505 * mach/Makefile: Likewise.
42506 * malloc/obstack.h: Likewise.
42507 * manual/Makefile: Likewise.
42508 * manual/tsort.awk: Likewise.
42509 * misc/bits/stab.def: Likewise.
42510 * nis/nis_print_group_entry.c: Likewise.
42511 * nis/nis_table.c: Likewise.
42512 * nis/nss_compat/compat-pwd.c: Likewise.
42513 * nis/nss_compat/compat-spwd.c: Likewise.
42514 * po/Makefile: Likewise.
42515 * posix/fnmatch.c: Likewise.
42516 * posix/regex.h: Likewise.
42517 * resolv/Makefile: Likewise.
42518 * resolv/nss_dns/dns-network.c: Likewise.
42519 * resolv/res_hconf.c: Likewise.
42520 * scripts/gen-sorted.awk: Likewise.
42521 * soft-fp/soft-fp.h: Likewise.
42522 * stdio-common/printf.h: Likewise.
42523 * stdlib/monetary.h: Likewise.
42524 * stdlib/random.c: Likewise.
42525 * stdlib/random_r.c: Likewise.
42526 * sysdeps/generic/Makefile: Likewise.
42527 * sysdeps/gnu/Makefile: Likewise.
42528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42530 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42544 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42551 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42552 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42554 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42556 * sysdeps/mach/hurd/errnos.awk: Likewise.
42557 * sysdeps/mach/hurd/fork.c: Likewise.
42558 * sysdeps/mach/hurd/getcwd.c: Likewise.
42559 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42560 * sysdeps/mach/hurd/mmap.c: Likewise.
42561 * sysdeps/mach/hurd/utimes.c: Likewise.
42562 * sysdeps/mach/hurd/xmknod.c: Likewise.
42563 * sysdeps/posix/profil.c: Likewise.
42564 * sysdeps/posix/readdir_r.c: Likewise.
42565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42566 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42567 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42568 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42572 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42575 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42576 * sysdeps/pthread/lio_listio.c: Likewise.
42577 * sysdeps/sparc/dl-procinfo.h: Likewise.
42578 * sysdeps/unix/i386/sysdep.S: Likewise.
42579 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42580 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42581 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42582 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42584 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42585 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42586 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42587 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42588 * sysdeps/wordsize-32/divdi3.c: Likewise.
42589 * time/sys/time.h: Likewise.
42590 * wcsmbs/Makefile: Likewise.
42591
42592 2013-01-01 David S. Miller <davem@davemloft.net>
42593
42594 * po/fr.po: Update from translation team.
42595
42596 * catgets/gencat.c: Update copyright year.
42597 * csu/version.c: Likewise.
42598 * debug/catchsegv.sh: Likewise.
42599 * debug/pcprofiledump.c: Likewise.
42600 * debug/xtrace.sh: Likewise.
42601 * elf/ldconfig.c: Likewise.
42602 * elf/ldd.bash.in: Likewise.
42603 * elf/pldd.c: Likewise.
42604 * elf/sotruss.ksh: Likewise.
42605 * elf/sprof.c: Likewise.
42606 * iconv/iconv_prog.c: Likewise.
42607 * iconv/iconvconfig.c: Likewise.
42608 * locale/programs/locale.c: Likewise.
42609 * locale/programs/localedef.c: Likewise.
42610 * login/programs/pt_chown.c: Likewise.
42611 * malloc/memusage.sh: Likewise.
42612 * malloc/memusagestat.c: Likewise.
42613 * malloc/mtrace.pl: Likewise.
42614 * nscd/nscd.c: Likewise.
42615 * nss/getent.c: Likewise.
42616 * nss/makedb.c: Likewise.
42617 * posix/getconf.c: Likewise.
42618
42619 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42620
42621 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42622 numbers.
42623
42624 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42625
42626 * math/bits/mathcalls.h (modf): Use __nonnull.
42627
42628 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42629
42630 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42631 (split): Use macro CN instead of the bare value.
42632 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42633 could be used.
42634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42635 instead of the bare value.
42636 (power1): Likewise.
42637
42638 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42639
42640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42641 __ATAN_TWOM.
42642 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42643
42644 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42645 their values.
42646 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42648 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42649 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42650
42651 2012-12-28 Andreas Jaeger <aj@suse.de>
42652
42653 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42654 values are from Linux 3.7.
42655
42656 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42657 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42658
42659 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42660
42661 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42662 TRUE case.
42663
42664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42665 (norm): Likewise.
42666 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42667 variables with preprocessor constants.
42668 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42669 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42670 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42671
42672 2012-12-27 Bruno Haible <bruno@clisp.org>
42673
42674 [BZ #14317]
42675 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42676 only if needed.
42677
42678 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42679
42680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42681 and use variable directly.
42682 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42683
42684 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42685 MPONE.
42686 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42688 variable MPONE.
42689 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42691 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42692 include directive. Remove local variable MPONE.
42693 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42695 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42696
42697 2012-12-25 David S. Miller <davem@davemloft.net>
42698
42699 * version.h (RELEASE): Set to "development".
42700 (VERSION): Set to "2.17.90".
42701 * NEWS: Add 2.18 section.
42702
42703 2012-12-21 David S. Miller <davem@davemloft.net>
42704
42705 * po/hr.po: Update from translation team.
42706
42707 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42708
42709 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42710
42711 2012-12-19 Steve Ellcey <sellcey@mips.com>
42712
42713 * NEWS: Mention new memcpy for MIPS.
42714
42715 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42716
42717 * manual/contrib.texi (Contributors): Spelling correction.
42718
42719 2012-12-15 David S. Miller <davem@davemloft.net>
42720
42721 * po/ru.po: Update from translation team.
42722
42723 2012-12-13 David S. Miller <davem@davemloft.net>
42724
42725 * NEWS: Mention IFUNC testsuite enhancements.
42726
42727 * po/pl.po: Update from translation team.
42728 * po/bg.po: Likewise.
42729
42730 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42731 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42732
42733 2012-12-11 David S. Miller <davem@davemloft.net>
42734
42735 * po/sv.po: Update from translation team.
42736
42737 * po/vi.po: Update from translation team.
42738
42739 * po/cs.po: Update from translation team.
42740
42741 * po/de.po: Update from translation team.
42742 * po/eo.po: Likewise.
42743 * po/nl.po: Likewise.
42744
42745 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42746
42747 [BZ #14246]
42748 * manual/argp.texi (Argp Helper Functions): Move node to follow
42749 Argp Parsing State.
42750
42751 [BZ #14872]
42752 * manual/conf.texi (Limits on File System Capacity): Mention if
42753 terminating null is included in the max size.
42754
42755 2012-12-10 Andreas Jaeger <aj@suse.de>
42756
42757 * po/cs.po: Update from translation team.
42758
42759 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42760
42761 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42762 void pointer and cast to uintptr_t.
42763 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42764 path.
42765 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42766 * sysdeps/s390/s390-64/memset.S: Likewise.
42767
42768 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42769
42770 [BZ #14833]
42771 * menual/message.texi (Message Translation): Fix typos.
42772 (Helper programs for gettext): Likewise.
42773
42774 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42775
42776 [BZ #14898]
42777 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42778 Change to -1.
42779
42780 2012-12-07 David S. Miller <davem@davemloft.net>
42781
42782 * po/libc.pot: Update.
42783
42784 2012-12-07 Richard Henderson <rth@redhat.com>
42785
42786 [BZ #10114]
42787 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42788 normal/normal case to before the switch.
42789 (_FP_DIV): Likewise.
42790
42791 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42792 Mike Frysinger <vapier@gentoo.org>
42793
42794 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42795 check for __NR_fadvise64_64.
42796
42797 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42798
42799 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42800 0, not just to plain "0" as a statement.
42801 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42802 with cw.
42803
42804 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42805
42806 * NEWS: Use sourceware.org in Bugzilla URL.
42807
42808 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42809
42810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42811 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42812
42813 * stdio-common/tst-put-error.c (do_test): Add newline to the
42814 padded test to ensure flush.
42815
42816 2012-12-05 Jeff Law <law@redhat.com>
42817
42818 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42819
42820 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42821
42822 * README: Don't refer to ports add-on as distributed separately.
42823 Mention AArch64 in list of systems supported in the ports add-on.
42824
42825 * LICENSES: Add more non-FSF copyright and license notices.
42826
42827 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42828 ((unused)).
42829
42830 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42831
42832 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42833 10000 as width of padded output.
42834
42835 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42836
42837 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42838
42839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42840 variable LX with __attribute__ ((unused)).
42841 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42842 Likewise.
42843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42846 with __attribute__ ((unused)).
42847
42848 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42849
42850 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42851
42852 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42853
42854 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42855 (CFLAGS-nldbl-acos.c): New variable.
42856 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42857 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42858 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42859 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42860 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42861 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42862 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42863 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42864 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42865 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42866 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42867 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42868 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42869 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42870 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42871 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42872 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42873 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42874 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42875 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42876 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42877 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42878 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42879 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42880 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42881 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42882 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42883 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42884 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42885 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42886 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42887 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42888 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42889 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42890 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42891 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42892 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42893 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42894 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42895 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42896 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42897 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42898 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42899 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42900 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42901 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42902 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42903 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42904 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42905 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42906 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42907 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42908 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42909 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42910 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42911 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42912 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42913 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42914 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42915 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42916 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42917 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42918 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42919 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42920 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42921 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42922 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42923 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42924 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42925 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42926 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42927 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42928 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42929 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42930 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42931 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42932 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42933 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42934 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42935 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42936 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42937 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42938 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42939 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42940 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42941 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42942 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42943 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42944 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42945 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42946 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42947 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42948 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42949 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42950 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42951 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42952 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42953
42954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42955 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42956
42957 [BZ #14914]
42958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42959 whole low double instead of just low 47 bits when splitting values
42960 into two parts.
42961
42962 2012-12-03 Allan McRae <allan@archlinux.org>
42963
42964 * manual/stdio.texi (Predefined Printf Handlers): Remove
42965 @hsep and @vsep usage.
42966
42967 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42968
42969 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42970 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42971
42972 2012-12-03 Jeff Law <law@redhat.com>
42973
42974 * time/sys/time.h (settimeofday): Do not mark TV argument
42975 as __nonnull.
42976
42977 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42978
42979 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42980 when currently writing and seek to current position when not.
42981 * libio/Makefile (tests): Remove bug-fclose1.
42982 * libio/bug-fclose1.c: Delete.
42983
42984 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42985
42986 * manual/arith.texi (feenableexcept): Fix typo.
42987 (fedisableexcept): Likewise.
42988
42989 2012-11-30 Roland McGrath <roland@hack.frob.com>
42990
42991 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42992 second, differently-typed declaration, rather than a cast.
42993
42994 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42995
42996 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42997 * include/rpc/svc.h: ... here.
42998
42999 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43000
43001 [BZ #13013]
43002 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43003 depending n and resplen2 to catch cases where answer
43004 equals answerp2.
43005
43006 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43007
43008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43009 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43010
43011 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43012
43013 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43014
43015 2012-11-29 Roland McGrath <roland@hack.frob.com>
43016
43017 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43018
43019 2012-11-28 Jeff Law <law@redhat.com>
43020
43021 [BZ #13761]
43022 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43023 dataset_temporary. Track alloca usage into alloca_used.
43024 If dataset is large allocate and release it via malloc/free.
43025
43026 2012-06-04 Florian Weimer <fweimer@redhat.com>
43027
43028 [BZ #14197]
43029 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43030
43031 2012-11-28 David S. Miller <davem@davemloft.net>
43032
43033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43034
43035 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43036
43037 [BZ #14803]
43038 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43039 of pi/2 rounded to nearest to 64 bits.
43040 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43041 nearest to 64 bits.
43042 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43043 bits.
43044
43045 2012-11-28 Jeff Law <law@redhat.com>
43046 Martin Osvald <mosvald@redhat.com>
43047
43048 [BZ #14889]
43049 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43050 * sunrpc/svc.c: Include time.h.
43051 (__svc_accept_failed): New function.
43052 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43053 any reason other than EINTR, call __svc_accept_failed.
43054 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43055 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43056
43057 2012-11-28 Andreas Schwab <schwab@suse.de>
43058
43059 * scripts/abilist.awk: Also handle indirect functions in .opd
43060 section.
43061
43062 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43063
43064 [BZ #13881]
43065 * sysdeps/x86/fpu/powl_helper.c: New file.
43066 * sysdeps/x86/fpu/Makefile: Likewise.
43067 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43068 (p3): New object.
43069 (__ieee754_powl): Use __powl_helper for finite arguments except
43070 integer exponents below 8.
43071 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43072 (p3): New object.
43073 (__ieee754_powl): Use __powl_helper for finite arguments except
43074 integer exponents below 8.
43075 * math/libm-test.inc (pow_test): Add more tests and enable some
43076 previously disabled tests.
43077 * sysdeps/i386/fpu/libm-test-ulps: Update.
43078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43079
43080 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43081 Carlos O'Donell <carlos_odonell@mentor.com>
43082
43083 * nss/makedb.c (is_prime): Assert that input is odd and greater
43084 than 4. Note that fact in a comment too.
43085 (next_prime): Add 4 to input.
43086
43087 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43088
43089 [BZ #11741]
43090 * libio/Makefile (tests): Add test case tst-fwrite-error.
43091 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43092 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43093 * libio/tst-fwrite-error.c: New test case.
43094
43095 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43096
43097 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43098 before casting to void *.
43099 * include/libc-internal.h (__pointer_type): New macro.
43100 (__integer_if_pointer_type_sub): Likewise.
43101 (__integer_if_pointer_type): Likewise.
43102 (cast_to_integer): Likewise.
43103 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43104 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43105 before casting to atomic64_t.
43106 (atomic_exchange_acq): Likewise.
43107 (__arch_exchange_and_add_body): Likewise.
43108 (__arch_add_body): Likewise.
43109 (atomic_add_negative): Likewise.
43110 (atomic_add_zero): Likewise.
43111
43112 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43113
43114 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43115 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43116 (add_fdes): Likewise.
43117 (linear_search_fdes): Likewise.
43118 (binary_search_unencoded_fdes): Likewise.
43119
43120 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43121
43122 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43123
43124 2012-11-24 Adam Conrad <adconrad@0c3.net>
43125
43126 * configure.in: Autodetect C++ header directories.
43127 * configure: Regenerated.
43128
43129 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43130
43131 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43132
43133 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43134
43135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43136
43137 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43138
43139 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43140 LDBL_MANT_DIG == 106]: Disable some tests.
43141 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43142 Likewise.
43143 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43144 Likewise.
43145
43146 [BZ #14871]
43147 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43148 input for small inputs. Return +/- pi/2 for large inputs.
43149 * math/libm-test.inc (atan_test): Add more tests.
43150
43151 * sysdeps/generic/unwind-dw2-fde-glibc.c
43152 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43153 __attribute__ ((unused)).
43154
43155 [BZ #14645]
43156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43157 x * y if x and y are nonzero and z is zero.
43158
43159 [BZ #14811]
43160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43161 nonzero exponents with absolute value below 0x1p-117 to +/-
43162 0x1p-117.
43163
43164 [BZ #14869]
43165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43166 up arguments below 2**-450, not just those below 2**-500.
43167 * math/libm-test.inc (hypot_test): Add another test.
43168
43169 [BZ #14868]
43170 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43171 Return a+b for ratio over 2**120, not 2**60.
43172 * math/libm-test.inc (hypot_test): Add another test.
43173
43174 * math/libm-test.inc (clog_test): Use
43175 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43176 (clog10_test): Likewise.
43177
43178 [BZ #6778]
43179 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43180
43181 2012-11-22 Andreas Schwab <schwab@suse.de>
43182
43183 * sysdeps/i386/fpu/libm-test-ulps: Update.
43184
43185 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43186
43187 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43188 printf output with newline.
43189
43190 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43191
43192 [BZ #14865]
43193 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43194 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43195 -z nodlopen, -z initfirst and -z execstack support.
43196 * configure: Regenerated.
43197
43198 * elf/elf.h (DF_1_NODIRECT): New macro.
43199 (DF_1_IGNMULDEF): Likewise.
43200 (DF_1_NOKSYMS): Likewise.
43201 (DF_1_NOHDR): Likewise.
43202 (DF_1_EDITED): Likewise.
43203 (DF_1_NORELOC): Likewise.
43204 (DF_1_SYMINTPOSE): Likewise.
43205 (DF_1_GLOBAUDIT): Likewise.
43206 (DF_1_SINGLETON): Likewise.
43207 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43208 DT_1_SUPPORTED_MASK bits.
43209 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43210
43211 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43212
43213 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43214
43215 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43216
43217 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43218 macro.
43219
43220 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43221 (sendmmsg): Move declarations...
43222 * socket/sys/socket.h: ... here.
43223 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43224 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43225 include it from...
43226 * socket/recvmmsg.c: ... this new file.
43227 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43228 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43229 definition of __sendmmsg hidden.
43230 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43231 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43232 Move ENOSYS stub into and include it from...
43233 * socket/sendmmsg.c: ... this new file.
43234 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43235 (sysdep_routines): Move recvmmsg and sendmmsg...
43236 * socket/Makefile (routines): ... here.
43237 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43238 (GLIBC_PRIVATE): Add __sendmmsg.
43239 * include/sys/socket.h (__sendmmsg): Add declarations.
43240 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43241 sendmmsg.
43242
43243 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43244
43245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43246 variable I1 with __attribute__ ((unused)).
43247 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43248
43249 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43250
43251 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43252 DUMMY variables with __attribute__ ((unused)).
43253
43254 * bits/byteswap.h: Include <bits/types.h>.
43255 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43256
43257 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43258
43259 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43260 string_t. Do not manually set errno.
43261 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43262 length with __strnlen. Make sure to both set errno and return it on
43263 failure.
43264
43265 2012-11-19 David S. Miller <davem@davemloft.net>
43266
43267 With help from Joseph Myers.
43268 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43269 very large arguments properly.
43270 * math/libm-test.inc (atan_test): New tests.
43271 (atan2_test): New tests.
43272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43274
43275 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43276
43277 [BZ #14856]
43278 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43279 Define to 3.
43280
43281 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43282 [POSIX] (EADDRNOTAVAIL): Likewise.
43283 [POSIX] (EAFNOSUPPORT): Likewise.
43284 [POSIX] (EALREADY): Likewise.
43285 [POSIX] (ECONNABORTED): Likewise.
43286 [POSIX] (ECONNREFUSED): Likewise.
43287 [POSIX] (ECONNRESET): Likewise.
43288 [POSIX] (EDESTADDRREQ): Likewise.
43289 [POSIX] (EDQUOT): Likewise.
43290 [POSIX] (EHOSTUNREACH): Likewise.
43291 [POSIX] (EIDRM): Likewise.
43292 [POSIX] (EISCONN): Likewise.
43293 [POSIX] (ELOOP): Likewise.
43294 [POSIX] (EMULTIHOP): Likewise.
43295 [POSIX] (ENETDOWN): Likewise.
43296 [POSIX] (ENETUNREACH): Likewise.
43297 [POSIX] (ENOBUFS): Likewise.
43298 [POSIX] (ENODATA): Likewise.
43299 [POSIX] (ENOLINK): Likewise.
43300 [POSIX] (ENOMSG): Likewise.
43301 [POSIX] (ENOPROTOOPT): Likewise.
43302 [POSIX] (ENOSR): Likewise.
43303 [POSIX] (ENOSTR): Likewise.
43304 [POSIX] (ENOTCONN): Likewise.
43305 [POSIX] (ENOTSOCK): Likewise.
43306 [POSIX] (EOPNOTSUPP): Likewise.
43307 [POSIX] (EOVERFLOW): Likewise.
43308 [POSIX] (EPROTO): Likewise.
43309 [POSIX] (EPROTONOSUPPORT): Likewise.
43310 [POSIX] (EPROTOTYPE): Likewise.
43311 [POSIX] (ESTALE): Likewise.
43312 [POSIX] (ETIME): Likewise.
43313 [POSIX] (ETXTBSY): Likewise.
43314 [POSIX] (EWOULDBLOCK): Likewise.
43315 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43316 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43317 [POSIX] (SEEK_CUR): Likewise.
43318 [POSIX] (SEEK_END): Likewise.
43319 [POSIX || UNIX98] (mode_t): Do not require.
43320 [POSIX] (off_t): Likewise.
43321 [POSIX] (pid_t): Likewise.
43322 [POSIX] (sys/stat.h): Do not allow header.
43323 [POSIX] (unistd.h): Likewise.
43324 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43325 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43326 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43327 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43328 require.
43329 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43330 sigevent): Specify elements.
43331 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43332 entry.
43333 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43334 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43335
43336 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43337 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43338 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43339 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43340 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43341 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43342 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43343 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43344 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43345 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43346 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43347 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43348 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43349 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43350 Likewise.
43351 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43352 Likewise.
43353 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43354 Likewise.
43355 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43356 Likewise.
43357 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43358 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43359 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43360 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43361 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43362 Specify lower bound on value.
43363 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43364 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43365 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43366 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43367 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43368 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43369 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43370 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43371 value.
43372 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43373 as optional.
43374 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43375 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43376 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43377 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43378 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43379 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43380 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43381 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43382 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43383 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43384 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43385 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43386 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43387 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43388 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43389 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43390 entry.
43391 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43392 optional.
43393 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43394 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43395 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43396 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43397 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43398 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43399 Likewise.
43400 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43401 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43402 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43403 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43404 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43405 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43406 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43407 as optional.
43408 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43409 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43410 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43411 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43412 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43413 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43414 specify as optional.
43415 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43416 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43417 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43418 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43419 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43420 [XPG3] (NL_LANGMAX): Likewise.
43421 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43422 [POSIX || XPG3] (NL_NMAX): Likewise.
43423 [POSIX || XPG3] (NL_SETMAX): Likewise.
43424 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43425 [XPG3] (NZERO): Likewise.
43426 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43427 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43428 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43429 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43430 (REG_ERANGE): Expect.
43431 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43432 optional-constant.
43433 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43434 Use (void) in prototype.
43435 [POSIX] (*_t): Allow.
43436 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43437 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43438 (WRDE_BADVAL): Expect.
43439
43440 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43441 expect.
43442 [XPG3 || XPG4] (O_RSYNC): Likewise.
43443 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43444 Likewise.
43445 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43446 [XPG3 || XPG4] (sigqueue): Likewise.
43447 [XPG3 || XPG4] (sigtimedwait): Likewise.
43448 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43449 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43450 [XPG3 || XPG4] (vsnprintf): Likewise.
43451 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43452 Likewise.
43453 [XPG3 || XPG4] (blksize_t): Likewise.
43454 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43455 Likewise.
43456 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43457 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43458 [XPG3 || XPG4] (struct itimerspec): Likewise.
43459 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43460 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43461 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43462 [XPG3 || XPG4] (clockid_t): Likewise.
43463 [XPG3 || XPG4] (timer_t): Likewise.
43464 [XPG3 || XPG4] (clock_getres): Likewise.
43465 [XPG3 || XPG4] (clock_gettime): Likewise.
43466 [XPG3 || XPG4] (clock_settime): Likewise.
43467 [XPG3 || XPG4] (nanosleep): Likewise.
43468 [XPG3 || XPG4] (timer_create): Likewise.
43469 [XPG3 || XPG4] (timer_delete): Likewise.
43470 [XPG3 || XPG4] (timer_gettime): Likewise.
43471 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43472 [XPG3 || XPG4] (timer_settime): Likewise.
43473 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43474 [XPG3 || XPG4] (getlogin_r): Likewise.
43475 [XPG3 || XPG4] (pread): Likewise.
43476 [XPG3 || XPG4] (pthread_atfork): Likewise.
43477 [XPG3 || XPG4] (pwrite): Likewise.
43478
43479 [BZ #14835]
43480 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43481 <bits/siginfo.h>.
43482
43483 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43484
43485 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43486 finalizing MALLSTREAM.
43487
43488 * sysdeps/mach/hurd/syncfs.c: New file.
43489
43490 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43491
43492 [BZ #14719]
43493 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43494 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43495 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43496 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43497 (_nss_dns_gethostbyname4_r): Likewise.
43498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43499 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43500
43501 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43502
43503 [BZ #13763]
43504 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43505
43506 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43507
43508 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43509 * elf/cache.c (print_entry): Print ",AArch64" for
43510 FLAG_AARCH64_LIB64
43511
43512 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43513 * elf/cache.c (print_entry): Print ",hard-float" for
43514 FLAG_ARM_LIBHF.
43515
43516 2012-11-18 David S. Miller <davem@davemloft.net>
43517
43518 With help from Joseph Myers.
43519 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43520 cutoff to 2**-13.
43521 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43522 cutoff to 2**-25.
43523 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43524 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43525 small.
43526 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43527 * math/libm-test.inc (y0_test): New tests.
43528 (y1_test): New tests.
43529 * sysdeps/i386/fpu/libm-test-ulps: Update.
43530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43532
43533 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43534
43535 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43536 64-bit targets.
43537 * configure: Regenerated.
43538
43539 2012-11-17 David S. Miller <davem@davemloft.net>
43540
43541 [BZ #14811]
43542 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43543 nonzero exponents with absolute value below 0x1p-128 to +/-
43544 0x1p-128.
43545
43546 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43547
43548 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43549
43550 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43551
43552 * posix/getconf-speclist.c: New file.
43553 * posix/posix-envs.def: Likewise.
43554 * posix/confstr.c (START_ENV_GROUP): New macro.
43555 (END_ENV_GROUP): Likewise.
43556 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43557 (KNOWN_PRESENT_ENV_STRING): Likewise.
43558 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43559 (UNKNOWN_ENVIRONMENT): Likewise.
43560 (confstr): Include posix-envs.def instead of handling
43561 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43562 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43563 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43564 (END_ENV_GROUP): Likewise.
43565 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43566 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43567 (UNKNOWN_ENVIRONMENT): Likewise.
43568 (__sysconf): Include posix-envs.def instead of handling associated
43569 cases directly here.
43570 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43571 preprocessing getconf-speclist.c rather than running getconf or
43572 generating empty file.
43573
43574 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43575
43576 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43577
43578 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43579
43580 [BZ #14672]
43581 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43582
43583 2012-11-16 David S. Miller <davem@davemloft.net>
43584
43585 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43586 smaller than LDBL_EPSILON/2.0L, just return xm1.
43587
43588 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43589
43590 * elf/tst-array1.c (init): Set constructor priority to 1000.
43591 (fini): Set destructor priority to 1000.
43592 * elf/tst-array2dep.c: Likewise.
43593
43594 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43595
43596 [BZ #11741]
43597 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43598 (_IO_new_file_xsputn): Also return EOF if none of the input
43599 data was written when overflow failed.
43600 * libio/iopadn.c (_IO_padn): Likewise.
43601 * libio/iowpadn.c (_IO_wpadn): Likewise.
43602 * stdio-common/tst-put-error.c: Add copyright notice.
43603 (do_test): Add case for printing padded string.
43604 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43605 _IO_padn returned error.
43606 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43607 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43608 return EOF.
43609
43610 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43611
43612 * libio/libioP.h: Add comment note that the references to C++
43613 bits are now obsolete.
43614
43615 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43616
43617 * math/libm-test.inc (check_complex): Use asprintf.
43618
43619 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43620
43621 * debug/pcprofiledump.c (print_version): Update copyright year.
43622 * malloc/memusagestat.c (print_version): Likewise.
43623
43624 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43625
43626 [BZ #14831]
43627 * elf/Makefile (tests): Add tst-audit8.
43628 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43629 ($(objpfx)tst-audit8.out): New target.
43630 (tst-audit8-ENV): New variable.
43631 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43632 audit if l_reloc_result is NULL.
43633 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43634 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43635 * elf/tst-audit8.c: New file.
43636
43637 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43638
43639 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43640 * misc/Makefile (CFLAGS-select.c): Define.
43641 * posix/Makefile (CFLAGS-pause.c): Define.
43642
43643 2012-11-13 David S. Miller <davem@davemloft.net>
43644
43645 * crypt/Makefile: Move test targets after toplevel Rules
43646 inclusion. Grab any necessary sysdep routines when linking.
43647 * crypt/md5.c (md5_process_block): Remove define, we will always
43648 name it __md5_process_block.
43649 (md5_finish_ctx): Update md5_process_block call.
43650 (md5_stream): Likewise.
43651 (md5_process_bytes): Likewise.
43652 (md5_process_block): Rename to __md5_process_block and move to ...
43653 * crypt/md5-block.c: ... here.
43654 * crypt/sha256.c (sha256_process_block): Move to ...
43655 * crypt/sha256-block.c: ... here.
43656 * crypt/sha512.c (sha512_process_block): Move to ...
43657 * crypt/sha512-block.c: ... here.
43658 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43659 path.
43660 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43661 * sysdeps/sparc/sparc64/multiarch/Makefile
43662 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43663 crypt subdir.
43664 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43666 multiarch changes.
43667 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43668 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43669 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43670 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43671 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43672 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43673 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43674 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43675 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43676 file.
43677 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43678 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43679 file.
43680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43681
43682 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43683
43684 * timezone/tzselect.ksh: Update from tzcode git revision
43685 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43686 * timezone/zdump.c: Likewise.
43687 * timezone/zic.c: Likewise.
43688 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43689 in TZVERSION setting, not $(PKGVERSION).
43690 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43691 REPORT_BUGS_TO settings.
43692
43693 [BZ #14838]
43694 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43695 macro.
43696
43697 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43698
43699 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43700 detection to immediately after _FP_ROUND().
43701 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43702 bits are 0.
43703
43704 2012-11-11 David S. Miller <davem@davemloft.net>
43705
43706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43707 inttypes.h
43708 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43709 __close rather than their public counterparts.
43710
43711 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43712
43713 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43714 file.
43715 [UNIX98] (sem_timedwait): Do not expect.
43716 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43717 [XPG4 || UNIX98] (sockatmark): Do not expect.
43718 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43719 (clock_getcpuclockid): Do not expect.
43720 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43721 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43722 Do not expect.
43723 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43724 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43725 [UNIX98] (vwscanf): Likewise.
43726 [UNIX98] (vswscanf): Likewise.
43727
43728 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43729
43730 * timezone/version.h: Remove file.
43731 * timezone/README: Do not refer to version.h.
43732 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43733 $(objpfx)version.h.
43734 ($(objpfx)zdump.o): Likewise.
43735 ($(objpfx)version.h): New target.
43736
43737 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43738 2012i.
43739 * timezone/README: Don't mention modification to tzselect.ksh.
43740 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43741 work on unmodified tzselect.ksh. Substitute version numbers in
43742 tzselect.ksh.
43743
43744 * Makefile (format-me): Remove.
43745 (INSTALL): Adjust indentation. Use commands directly instead of
43746 using $(format-me).
43747
43748 * aclocal.m4 (ACX_PKGVERSION): New macro.
43749 (ACX_BUGURL): Likewise.
43750 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43751 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43752 (REPORT_BUGS_TO): Likewise.
43753 * configure: Regenerated.
43754 * config.h.in (PKGVERSION): New macro.
43755 (REPORT_BUGS_TO): Likewise.
43756 * config.make.in (PKGVERSION): New variable.
43757 (PKGVERSION_TEXI): Likewise.
43758 (REPORT_BUGS_TO): Likewise.
43759 (REPORT_BUGS_TEXI): Likewise.
43760 * Makefile (format-me): Use -I$(common-objpfx)manual.
43761 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43762 ($(common-objpfx)manual/%): New target.
43763 (manual/%): Remove target.
43764 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43765 (print_version): Use PKGVERSION.
43766 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43767 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43768 and REPORT_BUGS_TO.
43769 ($(objpfx)xtrace): Likewise.
43770 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43771 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43772 (print_version): Use PKGVERSION.
43773 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43774 (do_version): Use PKGVERSION.
43775 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43776 REPORT_BUGS_TO.
43777 (common-ldd-rewrite): Likewise.
43778 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43779 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43780 (print_version): Use PKGVERSION.
43781 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43782 * elf/pldd.c (argp_program_bug_address): Remove variable.
43783 (more_help): New function.
43784 (argp): Use more_help.
43785 (print_version): Use PKGVERSION.
43786 * elf/sln.c (main): Use PKGVERSION.
43787 (usage): Use REPORT_BUGS_TO.
43788 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43789 (top level): Use PKGVERSION.
43790 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43791 (print_version): Use PKGVERSION.
43792 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43793 (print_version): Use PKGVERSION.
43794 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43795 (print_version): Use PKGVERSION.
43796 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43797 (print_version): Use PKGVERSION.
43798 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43799 (print_version): Use PKGVERSION.
43800 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43801 (print_version): Use PKGVERSION.
43802 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43803 and BUGURL.
43804 ($(objpfx)memusage): Likewise.
43805 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43806 (do_version): Use PKGVERSION.
43807 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43808 (print_version): Use PKGVERSION.
43809 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43810 ($PKGVERSION): New variable.
43811 ($REPORT_BUGS_TO): Likewise.
43812 (usage): Use $REPORT_BUGS_TO.
43813 (top level): Use $PKGVERSION.
43814 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43815 ($(objpfx)pkgvers.texi): New rule.
43816 ($(objpfx)stamp-pkgvers): Likewise.
43817 * manual/install.texi: Include pkgvers.texi.
43818 (--with-pkgversion): Document new configure option.
43819 (--with-bugurl): Likewise.
43820 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43821 than necessarily for this particular distribution. Use
43822 REPORT_BUGS_TO for where to report bugs.
43823 * INSTALL: Regenerated.
43824 * manual/libc.texinfo: Include pkgvers.texi.
43825 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43826 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43827 (print_version): Use PKGVERSION.
43828 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43829 (print_version): Use PKGVERSION.
43830 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43831 (print_version): Use PKGVERSION.
43832 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43833 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43834 macro.
43835 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43836 (print_version): Use PKGVERSION.
43837 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43838 (print_version): Use PKGVERSION.
43839 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43840 and PKGVERSION.
43841
43842 * timezone/checktab.awk: Update from tzcode 2012i.
43843 * timezone/ialloc.c: Likewise.
43844 * timezone/private.h: Likewise.
43845 * timezone/scheck.c: Likewise.
43846 * timezone/tzfile.h: Likewise.
43847 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43848 (TZVERSION): Hardcode tzcode version number.
43849 * timezone/zdump.c: Update from tzcode 2012i.
43850 * timezone/zic.c: Likewise.
43851 * timezone/version.h: New file.
43852 * timezone/README: Describe version.h. Update upstream location.
43853
43854 [BZ #14824]
43855 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43856 (mktemp): Enable declaration.
43857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43861 Likewise.
43862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43863 Likewise.
43864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43865 Likewise.
43866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43867 Likewise.
43868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43869 Likewise.
43870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43871 Likewise.
43872
43873 [BZ #14821]
43874 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43875 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43876 for copies of such integer values.
43877 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43878 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43879
43880 2012-11-09 Andreas Jaeger <aj@suse.de>
43881
43882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43883 definitions and declarations that are provided by
43884 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43885
43886 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43887
43888 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43889 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43890 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43891 definition.
43892
43893 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43894
43895 * elf/elf.h: Update comment before AArch64 relocations.
43896
43897 2012-11-07 David S. Miller <davem@davemloft.net>
43898
43899 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43901 (__start_context): Declare.
43902 (__makecontext_ret): Delete.
43903 (__makecontext): Hook up __start_context instead of
43904 __makecontext_ret.
43905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43906 (sysdep_routines): Add __start_context when in stdlib.
43907
43908 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43909
43910 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43911 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43912 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43913 hardcoded "nm".
43914 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43915 (READELF): New variable. Use it instead of hardcoded "readelf".
43916
43917 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43918
43919 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43920 * sysdeps/x86/Makefile: Here.
43921 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43922 * sysdeps/x86/tst-xmmymm.sh: This.
43923
43924 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43925
43926 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43927 expectations.
43928 [UNIX98] (pthread_barrier_t): Do not expect.
43929 [UNIX98] (pthread_barrierattr_t): Likewise.
43930 [UNIX98] (pthread_spinlock_t): Likewise.
43931 [UNIX98] (pthread_barrier_destroy): Likewise.
43932 [UNIX98] (pthread_barrier_init): Likewise.
43933 [UNIX98] (pthread_barrier_wait): Likewise.
43934 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43935 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43936 [UNIX98] (pthread_barrierattr_init): Likewise.
43937 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43938 [UNIX98] (pthread_getcpuclockid): Likewise.
43939 [UNIX98] (pthread_mutex_timedlock): Likewise.
43940 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43941 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43942 [UNIX98] (pthread_sigmask): Likewise.
43943 [UNIX98] (pthread_spin_destroy): Likewise.
43944 [UNIX98] (pthread_spin_init): Likewise.
43945 [UNIX98] (pthread_spin_lock): Likewise.
43946 [UNIX98] (pthread_spin_trylock): Likewise.
43947 [UNIX98] (pthread_spin_unlock): Likewise.
43948 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43949 Do not expect.
43950 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43951 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43952 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43953 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43954 [XPG3 || XPG4] (pthread_key_t): Likewise.
43955 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43956 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43957 [XPG3 || XPG4] (pthread_once_t): Likewise.
43958 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43959 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43960 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43961 [XPG3 || XPG4] (pthread_t): Likewise.
43962
43963 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43964 not expect.
43965 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43966
43967 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43968 Change function return type to int.
43969
43970 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43971 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43972 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43973 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43974 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43975 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43976 [!POSIX] (posix_madvise): Likewise.
43977 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43978 && !UNIX98].
43979 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43980 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43981 (mode_t): Likewise.
43982 (posix_mem_offset): Likewise.
43983 (posix_typed_mem_get_info): Likewise.
43984 (posix_typed_mem_open): Likewise.
43985
43986 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43987 Change condition to [XOPEN2K8].
43988
43989 * conform/conformtest.pl: Preprocess allow-header data with -x c
43990 instead of from stdin.
43991 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43992 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43993 [C99-based standards] (cerfc): Likewise.
43994 [C99-based standards] (cexp2): Likewise.
43995 [C99-based standards] (cexpm1): Likewise.
43996 [C99-based standards] (clog10): Likewise.
43997 [C99-based standards] (clog1p): Likewise.
43998 [C99-based standards] (clog2): Likewise.
43999 [C99-based standards] (clgamma): Likewise.
44000 [C99-based standards] (ctgamma): Likewise.
44001 [C99-based standards] (cerff): Likewise.
44002 [C99-based standards] (cerfcf): Likewise.
44003 [C99-based standards] (cexp2f): Likewise.
44004 [C99-based standards] (cexpm1f): Likewise.
44005 [C99-based standards] (clog10f): Likewise.
44006 [C99-based standards] (clog1pf): Likewise.
44007 [C99-based standards] (clog2f): Likewise.
44008 [C99-based standards] (clgammaf): Likewise.
44009 [C99-based standards] (ctgammaf): Likewise.
44010 [C99-based standards] (cerfl): Likewise.
44011 [C99-based standards] (cerfcl): Likewise.
44012 [C99-based standards] (cexp2l): Likewise.
44013 [C99-based standards] (cexpm1l): Likewise.
44014 [C99-based standards] (clog10l): Likewise.
44015 [C99-based standards] (clog1pl): Likewise.
44016 [C99-based standards] (clog2l): Likewise.
44017 [C99-based standards] (clgammal): Likewise.
44018 [C99-based standards] (ctgammal): Likewise.
44019 * conform/data/inttypes.h-data [C99-based standards]: Include
44020 stdint.h-data. Remove all expectations for stdint.h contents.
44021 [C99-based standards] (PRI*): Do not allow.
44022 [C99-based standards] (SCN*): Likewise.
44023 [C99-based standards] (*_t): Likewise.
44024 [C99-based-standards] (PRId8): Expect macro.
44025 [C99-based-standards] (PRIi8): Likewise.
44026 [C99-based-standards] (PRIo8): Likewise.
44027 [C99-based-standards] (PRIu8): Likewise.
44028 [C99-based-standards] (PRIx8): Likewise.
44029 [C99-based-standards] (PRIX8): Likewise.
44030 [C99-based-standards] (SCNd8): Likewise.
44031 [C99-based-standards] (SCNi8): Likewise.
44032 [C99-based-standards] (SCNo8): Likewise.
44033 [C99-based-standards] (SCNu8): Likewise.
44034 [C99-based-standards] (SCNx8): Likewise.
44035 [C99-based-standards] (PRIdLEAST8): Likewise.
44036 [C99-based-standards] (PRIiLEAST8): Likewise.
44037 [C99-based-standards] (PRIoLEAST8): Likewise.
44038 [C99-based-standards] (PRIuLEAST8): Likewise.
44039 [C99-based-standards] (PRIxLEAST8): Likewise.
44040 [C99-based-standards] (PRIXLEAST8): Likewise.
44041 [C99-based-standards] (SCNdLEAST8): Likewise.
44042 [C99-based-standards] (SCNiLEAST8): Likewise.
44043 [C99-based-standards] (SCNoLEAST8): Likewise.
44044 [C99-based-standards] (SCNuLEAST8): Likewise.
44045 [C99-based-standards] (SCNxLEAST8): Likewise.
44046 [C99-based-standards] (PRIdFAST8): Likewise.
44047 [C99-based-standards] (PRIiFAST8): Likewise.
44048 [C99-based-standards] (PRIoFAST8): Likewise.
44049 [C99-based-standards] (PRIuFAST8): Likewise.
44050 [C99-based-standards] (PRIxFAST8): Likewise.
44051 [C99-based-standards] (PRIXFAST8): Likewise.
44052 [C99-based-standards] (SCNdFAST8): Likewise.
44053 [C99-based-standards] (SCNiFAST8): Likewise.
44054 [C99-based-standards] (SCNoFAST8): Likewise.
44055 [C99-based-standards] (SCNuFAST8): Likewise.
44056 [C99-based-standards] (SCNxFAST8): Likewise.
44057 [C99-based-standards] (PRId16): Likewise.
44058 [C99-based-standards] (PRIi16): Likewise.
44059 [C99-based-standards] (PRIo16): Likewise.
44060 [C99-based-standards] (PRIu16): Likewise.
44061 [C99-based-standards] (PRIx16): Likewise.
44062 [C99-based-standards] (PRIX16): Likewise.
44063 [C99-based-standards] (SCNd16): Likewise.
44064 [C99-based-standards] (SCNi16): Likewise.
44065 [C99-based-standards] (SCNo16): Likewise.
44066 [C99-based-standards] (SCNu16): Likewise.
44067 [C99-based-standards] (SCNx16): Likewise.
44068 [C99-based-standards] (PRIdLEAST16): Likewise.
44069 [C99-based-standards] (PRIiLEAST16): Likewise.
44070 [C99-based-standards] (PRIoLEAST16): Likewise.
44071 [C99-based-standards] (PRIuLEAST16): Likewise.
44072 [C99-based-standards] (PRIxLEAST16): Likewise.
44073 [C99-based-standards] (PRIXLEAST16): Likewise.
44074 [C99-based-standards] (SCNdLEAST16): Likewise.
44075 [C99-based-standards] (SCNiLEAST16): Likewise.
44076 [C99-based-standards] (SCNoLEAST16): Likewise.
44077 [C99-based-standards] (SCNuLEAST16): Likewise.
44078 [C99-based-standards] (SCNxLEAST16): Likewise.
44079 [C99-based-standards] (PRIdFAST16): Likewise.
44080 [C99-based-standards] (PRIiFAST16): Likewise.
44081 [C99-based-standards] (PRIoFAST16): Likewise.
44082 [C99-based-standards] (PRIuFAST16): Likewise.
44083 [C99-based-standards] (PRIxFAST16): Likewise.
44084 [C99-based-standards] (PRIXFAST16): Likewise.
44085 [C99-based-standards] (SCNdFAST16): Likewise.
44086 [C99-based-standards] (SCNiFAST16): Likewise.
44087 [C99-based-standards] (SCNoFAST16): Likewise.
44088 [C99-based-standards] (SCNuFAST16): Likewise.
44089 [C99-based-standards] (SCNxFAST16): Likewise.
44090 [C99-based-standards] (PRId32): Likewise.
44091 [C99-based-standards] (PRIi32): Likewise.
44092 [C99-based-standards] (PRIo32): Likewise.
44093 [C99-based-standards] (PRIu32): Likewise.
44094 [C99-based-standards] (PRIx32): Likewise.
44095 [C99-based-standards] (PRIX32): Likewise.
44096 [C99-based-standards] (SCNd32): Likewise.
44097 [C99-based-standards] (SCNi32): Likewise.
44098 [C99-based-standards] (SCNo32): Likewise.
44099 [C99-based-standards] (SCNu32): Likewise.
44100 [C99-based-standards] (SCNx32): Likewise.
44101 [C99-based-standards] (PRIdLEAST32): Likewise.
44102 [C99-based-standards] (PRIiLEAST32): Likewise.
44103 [C99-based-standards] (PRIoLEAST32): Likewise.
44104 [C99-based-standards] (PRIuLEAST32): Likewise.
44105 [C99-based-standards] (PRIxLEAST32): Likewise.
44106 [C99-based-standards] (PRIXLEAST32): Likewise.
44107 [C99-based-standards] (SCNdLEAST32): Likewise.
44108 [C99-based-standards] (SCNiLEAST32): Likewise.
44109 [C99-based-standards] (SCNoLEAST32): Likewise.
44110 [C99-based-standards] (SCNuLEAST32): Likewise.
44111 [C99-based-standards] (SCNxLEAST32): Likewise.
44112 [C99-based-standards] (PRIdFAST32): Likewise.
44113 [C99-based-standards] (PRIiFAST32): Likewise.
44114 [C99-based-standards] (PRIoFAST32): Likewise.
44115 [C99-based-standards] (PRIuFAST32): Likewise.
44116 [C99-based-standards] (PRIxFAST32): Likewise.
44117 [C99-based-standards] (PRIXFAST32): Likewise.
44118 [C99-based-standards] (SCNdFAST32): Likewise.
44119 [C99-based-standards] (SCNiFAST32): Likewise.
44120 [C99-based-standards] (SCNoFAST32): Likewise.
44121 [C99-based-standards] (SCNuFAST32): Likewise.
44122 [C99-based-standards] (SCNxFAST32): Likewise.
44123 [C99-based-standards] (PRId64): Likewise.
44124 [C99-based-standards] (PRIi64): Likewise.
44125 [C99-based-standards] (PRIo64): Likewise.
44126 [C99-based-standards] (PRIu64): Likewise.
44127 [C99-based-standards] (PRIx64): Likewise.
44128 [C99-based-standards] (PRIX64): Likewise.
44129 [C99-based-standards] (SCNd64): Likewise.
44130 [C99-based-standards] (SCNi64): Likewise.
44131 [C99-based-standards] (SCNo64): Likewise.
44132 [C99-based-standards] (SCNu64): Likewise.
44133 [C99-based-standards] (SCNx64): Likewise.
44134 [C99-based-standards] (PRIdLEAST64): Likewise.
44135 [C99-based-standards] (PRIiLEAST64): Likewise.
44136 [C99-based-standards] (PRIoLEAST64): Likewise.
44137 [C99-based-standards] (PRIuLEAST64): Likewise.
44138 [C99-based-standards] (PRIxLEAST64): Likewise.
44139 [C99-based-standards] (PRIXLEAST64): Likewise.
44140 [C99-based-standards] (SCNdLEAST64): Likewise.
44141 [C99-based-standards] (SCNiLEAST64): Likewise.
44142 [C99-based-standards] (SCNoLEAST64): Likewise.
44143 [C99-based-standards] (SCNuLEAST64): Likewise.
44144 [C99-based-standards] (SCNxLEAST64): Likewise.
44145 [C99-based-standards] (PRIdFAST64): Likewise.
44146 [C99-based-standards] (PRIiFAST64): Likewise.
44147 [C99-based-standards] (PRIoFAST64): Likewise.
44148 [C99-based-standards] (PRIuFAST64): Likewise.
44149 [C99-based-standards] (PRIxFAST64): Likewise.
44150 [C99-based-standards] (PRIXFAST64): Likewise.
44151 [C99-based-standards] (SCNdFAST64): Likewise.
44152 [C99-based-standards] (SCNiFAST64): Likewise.
44153 [C99-based-standards] (SCNoFAST64): Likewise.
44154 [C99-based-standards] (SCNuFAST64): Likewise.
44155 [C99-based-standards] (SCNxFAST64): Likewise.
44156 [C99-based-standards] (PRIdMAX): Likewise.
44157 [C99-based-standards] (PRIiMAX): Likewise.
44158 [C99-based-standards] (PRIoMAX): Likewise.
44159 [C99-based-standards] (PRIuMAX): Likewise.
44160 [C99-based-standards] (PRIxMAX): Likewise.
44161 [C99-based-standards] (PRIXMAX): Likewise.
44162 [C99-based-standards] (SCNdMAX): Likewise.
44163 [C99-based-standards] (SCNiMAX): Likewise.
44164 [C99-based-standards] (SCNoMAX): Likewise.
44165 [C99-based-standards] (SCNuMAX): Likewise.
44166 [C99-based-standards] (SCNxMAX): Likewise.
44167 [C99-based-standards] (PRIdPTR): Likewise.
44168 [C99-based-standards] (PRIiPTR): Likewise.
44169 [C99-based-standards] (PRIoPTR): Likewise.
44170 [C99-based-standards] (PRIuPTR): Likewise.
44171 [C99-based-standards] (PRIxPTR): Likewise.
44172 [C99-based-standards] (PRIXPTR): Likewise.
44173 [C99-based-standards] (SCNdPTR): Likewise.
44174 [C99-based-standards] (SCNiPTR): Likewise.
44175 [C99-based-standards] (SCNoPTR): Likewise.
44176 [C99-based-standards] (SCNuPTR): Likewise.
44177 [C99-based-standards] (SCNxPTR): Likewise.
44178 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44179 allow.
44180 * conform/data/stdint.h-data: Update comments to clarify
44181 requirements.
44182 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44183 type.
44184 [C99-based standards] (INT8_MAX): Likewise.
44185 [C99-based standards] (INT16_MIN): Likewise.
44186 [C99-based standards] (INT16_MAX): Likewise.
44187 [C99-based standards] (INT32_MIN): Likewise.
44188 [C99-based standards] (INT32_MAX): Likewise.
44189 [C99-based standards] (INT64_MIN): Likewise.
44190 [C99-based standards] (INT64_MAX): Likewise.
44191 [C99-based standards] (UINT8_MAX): Likewise.
44192 [C99-based standards] (UINT16_MAX): Likewise.
44193 [C99-based standards] (UINT32_MAX): Likewise.
44194 [C99-based standards] (UINT64_MAX): Likewise.
44195 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44196 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44197 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44198 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44199 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44200 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44201 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44202 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44203 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44204 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44205 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44206 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44207 [C99-based standards] (INT_FAST8_MIN): Likewise.
44208 [C99-based standards] (INT_FAST8_MAX): Likewise.
44209 [C99-based standards] (INT_FAST16_MIN): Likewise.
44210 [C99-based standards] (INT_FAST16_MAX): Likewise.
44211 [C99-based standards] (INT_FAST32_MIN): Likewise.
44212 [C99-based standards] (INT_FAST32_MAX): Likewise.
44213 [C99-based standards] (INT_FAST64_MIN): Likewise.
44214 [C99-based standards] (INT_FAST64_MAX): Likewise.
44215 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44216 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44217 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44218 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44219 [C99-based standards] (INTPTR_MIN): Likewise.
44220 [C99-based standards] (INTPTR_MAX): Likewise.
44221 [C99-based standards] (UINTPTR_MAX): Likewise.
44222 [C99-based standards] (INTMAX_MIN): Likewise.
44223 [C99-based standards] (INTMAX_MAX): Likewise.
44224 [C99-based standards] (UINTMAX_MAX): Likewise.
44225 [C99-based standards] (PTRDIFF_MIN): Likewise.
44226 [C99-based standards] (PTRDIFF_MAX): Likewise.
44227 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44228 [C99-based standards] (SIZE_MAX): Likewise.
44229 [C99-based standards] (WCHAR_MAX): Likewise.
44230 [C99-based standards] (WINT_MAX): Likewise.
44231 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44232 constraint on value.
44233 [C99-based standards] (WCHAR_MIN): Likewise.
44234 [C99-based standards] (WINT_MIN): Likewise.
44235 [C99-based standards] (*_t): Allow.
44236 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44237 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44238 Include math.h-data and complex.h-data. Remove all expectations
44239 of math.h and complex.h contents.
44240 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44241 at end of line.
44242 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44243 (struct tm): Expect tag.
44244 [C99-based-standards] (wcstof): Expect function.
44245 [C99-based-standards] (wcstold): Likewise.
44246 [C99-based-standards] (wcstoll): Likewise.
44247 [C99-based-standards] (wcstoull): Likewise.
44248 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44249 macro-int-constant. Specify type.
44250 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44251 constraint on value.
44252 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44253 Specify type.
44254 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44255 Specify value.
44256 [ISO C standards]: Do not allow headers.
44257 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44258 wcs[abcdefghijklmnopqrstuvwxyz]*.
44259 [ISO C standards] (*_t): Do not allow.
44260 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44261 Expect function.
44262 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44263 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44264 Specify type.
44265 [ISO C standards]: Do not allow headers.
44266 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44267 is[abcdefghijklmnopqrstuvwxyz]*.
44268 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44269 to[abcdefghijklmnopqrstuvwxyz]*.
44270 [ISO C standards] (*_t): Do not allow.
44271 * conform/data/stdalign.h-data: New file.
44272 * conform/data/stdbool.h-data: Likewise.
44273 * conform/data/stdnoreturn.h-data: Likewise.
44274
44275 2012-11-07 Roland McGrath <roland@hack.frob.com>
44276
44277 [BZ #14815]
44278 * manual/filesys.texi (Directory Entries): Typo fix.
44279 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44280
44281 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44282
44283 * elf/elf.h (EM_AARCH64): New macro.
44284 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44285 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44286 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44287 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44288 (R_AARCH64_TLSDESC): Likewise.
44289 (NT_ARM_TLS): Likewise.
44290 (NT_ARM_HW_BREAK): Likewise.
44291 (NT_ARM_HW_WATCH): Likewise.
44292
44293 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44294
44295 [BZ #14811]
44296 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44297 (__ieee754_powl): Saturate nonzero exponents with absolute value
44298 below 0x1p-79 to +/- 0x1p-79.
44299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44300 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44301 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44302 nonzero exponents with absolute value below 0x1p-32 to +/-
44303 0x1p-32.
44304 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44305 (__ieee754_powl): Saturate nonzero exponents with absolute value
44306 below 0x1p-79 to +/- 0x1p-79.
44307 * math/libm-test.inc (pow_test): Add more tests.
44308
44309 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44310
44311 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44312 _dl_s390_cap_flags with kernel. Increase string length.
44313 (_dl_s390_platforms): Add z196 and zEC12.
44314
44315 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44316
44317 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44318 Change XOPEN21K to XOPEN2K.
44319
44320 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44321
44322 * string/memmove.c: Use memcpy when possible.
44323
44324 2012-11-06 Andreas Jaeger <aj@suse.de>
44325
44326 * po/eo.po: Update from translation team.
44327
44328 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44329
44330 [BZ #14793]
44331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44332 exponent and small x and y exponents, scale x or y up. Increase
44333 by 2 the exponent used in scaling up.
44334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44336 * math/libm-test.inc (fma_test): Add more tests.
44337 (fma_test_towardzero): Likewise.
44338 (fma_test_downward): Likewise.
44339 (fma_test_upward): Likewise.
44340
44341 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44342
44343 [BZ #14805]
44344 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44345 fenv_t *.
44346
44347 [BZ #14801]
44348 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44349 namespace for names of struct fields.
44350 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44351 fenv_t fields.
44352 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44353 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44354
44355 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44356
44357 [BZ #3665]
44358 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44359
44360 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44361
44362 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44363 PTR_DEMANGLE.
44364
44365 [BZ #5246]
44366 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44367 PTR_DEMANGLE.
44368
44369 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44370
44371 [BZ #14797]
44372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44373 definitely overflow as x * y not x * y + z.
44374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44376 * math/libm-test.inc (fma_test): Add more tests.
44377 (fma_test_towardzero): Likewise.
44378 (fma_test_downward): Likewise.
44379 (fma_test_upward): Likewise.
44380
44381 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44382
44383 [BZ #157]
44384
44385 * include/stub-tag.h: Remove file.
44386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44387 '#include' of it.
44388 * manual/maint.texi (Porting): Don't reference it.
44389 * Makerules ($(objpfx)stubs): Likewise.
44390 * dirent/closedir.c: Don't include <stub-tag.h>.
44391 * dirent/dirfd.c: Likewise.
44392 * dirent/fdopendir.c: Likewise.
44393 * dirent/getdents.c: Likewise.
44394 * dirent/getdents64.c: Likewise.
44395 * dirent/opendir.c: Likewise.
44396 * dirent/readdir.c: Likewise.
44397 * dirent/readdir64.c: Likewise.
44398 * dirent/readdir64_r.c: Likewise.
44399 * dirent/readdir_r.c: Likewise.
44400 * dirent/rewinddir.c: Likewise.
44401 * dirent/seekdir.c: Likewise.
44402 * dirent/telldir.c: Likewise.
44403 * gmon/profil.c: Likewise.
44404 * grp/setgroups.c: Likewise.
44405 * inet/if_index.c: Likewise.
44406 * io/access.c: Likewise.
44407 * io/chdir.c: Likewise.
44408 * io/chmod.c: Likewise.
44409 * io/chown.c: Likewise.
44410 * io/close.c: Likewise.
44411 * io/dup.c: Likewise.
44412 * io/dup2.c: Likewise.
44413 * io/dup3.c: Likewise.
44414 * io/euidaccess.c: Likewise.
44415 * io/faccessat.c: Likewise.
44416 * io/fchdir.c: Likewise.
44417 * io/fchmod.c: Likewise.
44418 * io/fchmodat.c: Likewise.
44419 * io/fchown.c: Likewise.
44420 * io/fchownat.c: Likewise.
44421 * io/fcntl.c: Likewise.
44422 * io/flock.c: Likewise.
44423 * io/fstatfs.c: Likewise.
44424 * io/fstatfs64.c: Likewise.
44425 * io/fstatvfs.c: Likewise.
44426 * io/fstatvfs64.c: Likewise.
44427 * io/futimens.c: Likewise.
44428 * io/fxstat.c: Likewise.
44429 * io/fxstat64.c: Likewise.
44430 * io/fxstatat.c: Likewise.
44431 * io/fxstatat64.c: Likewise.
44432 * io/getcwd.c: Likewise.
44433 * io/isatty.c: Likewise.
44434 * io/lchmod.c: Likewise.
44435 * io/lchown.c: Likewise.
44436 * io/link.c: Likewise.
44437 * io/linkat.c: Likewise.
44438 * io/lseek.c: Likewise.
44439 * io/lseek64.c: Likewise.
44440 * io/lxstat64.c: Likewise.
44441 * io/mkdir.c: Likewise.
44442 * io/mkdirat.c: Likewise.
44443 * io/mkfifo.c: Likewise.
44444 * io/mkfifoat.c: Likewise.
44445 * io/open.c: Likewise.
44446 * io/open64.c: Likewise.
44447 * io/openat.c: Likewise.
44448 * io/openat64.c: Likewise.
44449 * io/pipe.c: Likewise.
44450 * io/pipe2.c: Likewise.
44451 * io/poll.c: Likewise.
44452 * io/posix_fadvise.c: Likewise.
44453 * io/posix_fadvise64.c: Likewise.
44454 * io/posix_fallocate.c: Likewise.
44455 * io/posix_fallocate64.c: Likewise.
44456 * io/read.c: Likewise.
44457 * io/readlink.c: Likewise.
44458 * io/readlinkat.c: Likewise.
44459 * io/rmdir.c: Likewise.
44460 * io/sendfile.c: Likewise.
44461 * io/sendfile64.c: Likewise.
44462 * io/statfs.c: Likewise.
44463 * io/statfs64.c: Likewise.
44464 * io/statvfs.c: Likewise.
44465 * io/statvfs64.c: Likewise.
44466 * io/symlink.c: Likewise.
44467 * io/symlinkat.c: Likewise.
44468 * io/ttyname.c: Likewise.
44469 * io/ttyname_r.c: Likewise.
44470 * io/umask.c: Likewise.
44471 * io/unlink.c: Likewise.
44472 * io/unlinkat.c: Likewise.
44473 * io/utime.c: Likewise.
44474 * io/utimensat.c: Likewise.
44475 * io/write.c: Likewise.
44476 * io/xmknod.c: Likewise.
44477 * io/xmknodat.c: Likewise.
44478 * io/xstat.c: Likewise.
44479 * io/xstat64.c: Likewise.
44480 * login/getpt.c: Likewise.
44481 * login/grantpt.c: Likewise.
44482 * login/unlockpt.c: Likewise.
44483 * math/e_acoshl.c: Likewise.
44484 * math/e_acosl.c: Likewise.
44485 * math/e_asinl.c: Likewise.
44486 * math/e_atan2l.c: Likewise.
44487 * math/e_atanhl.c: Likewise.
44488 * math/e_coshl.c: Likewise.
44489 * math/e_expl.c: Likewise.
44490 * math/e_fmodl.c: Likewise.
44491 * math/e_gammal_r.c: Likewise.
44492 * math/e_hypotl.c: Likewise.
44493 * math/e_j0l.c: Likewise.
44494 * math/e_j1l.c: Likewise.
44495 * math/e_jnl.c: Likewise.
44496 * math/e_lgammal_r.c: Likewise.
44497 * math/e_log10l.c: Likewise.
44498 * math/e_log2l.c: Likewise.
44499 * math/e_logl.c: Likewise.
44500 * math/e_powl.c: Likewise.
44501 * math/e_rem_pio2l.c: Likewise.
44502 * math/e_sinhl.c: Likewise.
44503 * math/e_sqrtl.c: Likewise.
44504 * math/fclrexcpt.c: Likewise.
44505 * math/fedisblxcpt.c: Likewise.
44506 * math/feenablxcpt.c: Likewise.
44507 * math/fegetenv.c: Likewise.
44508 * math/fegetexcept.c: Likewise.
44509 * math/fegetround.c: Likewise.
44510 * math/feholdexcpt.c: Likewise.
44511 * math/fesetenv.c: Likewise.
44512 * math/fesetround.c: Likewise.
44513 * math/feupdateenv.c: Likewise.
44514 * math/fgetexcptflg.c: Likewise.
44515 * math/fraiseexcpt.c: Likewise.
44516 * math/fsetexcptflg.c: Likewise.
44517 * math/ftestexcept.c: Likewise.
44518 * math/k_cosl.c: Likewise.
44519 * math/k_rem_pio2l.c: Likewise.
44520 * math/k_sinl.c: Likewise.
44521 * math/k_tanl.c: Likewise.
44522 * math/s_asinhl.c: Likewise.
44523 * math/s_atanl.c: Likewise.
44524 * math/s_cbrtl.c: Likewise.
44525 * math/s_erfl.c: Likewise.
44526 * math/s_expm1l.c: Likewise.
44527 * math/s_log1pl.c: Likewise.
44528 * math/s_tanhl.c: Likewise.
44529 * misc/acct.c: Likewise.
44530 * misc/brk.c: Likewise.
44531 * misc/chflags.c: Likewise.
44532 * misc/chroot.c: Likewise.
44533 * misc/fchflags.c: Likewise.
44534 * misc/fgetxattr.c: Likewise.
44535 * misc/flistxattr.c: Likewise.
44536 * misc/fremovexattr.c: Likewise.
44537 * misc/fsetxattr.c: Likewise.
44538 * misc/fsync.c: Likewise.
44539 * misc/ftruncate.c: Likewise.
44540 * misc/futimes.c: Likewise.
44541 * misc/futimesat.c: Likewise.
44542 * misc/getdomain.c: Likewise.
44543 * misc/getdtsz.c: Likewise.
44544 * misc/gethostid.c: Likewise.
44545 * misc/gethostname.c: Likewise.
44546 * misc/getloadavg.c: Likewise.
44547 * misc/getpagesize.c: Likewise.
44548 * misc/getsysstats.c: Likewise.
44549 * misc/getxattr.c: Likewise.
44550 * misc/gtty.c: Likewise.
44551 * misc/ioctl.c: Likewise.
44552 * misc/lgetxattr.c: Likewise.
44553 * misc/listxattr.c: Likewise.
44554 * misc/llistxattr.c: Likewise.
44555 * misc/lremovexattr.c: Likewise.
44556 * misc/lsetxattr.c: Likewise.
44557 * misc/lutimes.c: Likewise.
44558 * misc/madvise.c: Likewise.
44559 * misc/mincore.c: Likewise.
44560 * misc/mlock.c: Likewise.
44561 * misc/mlockall.c: Likewise.
44562 * misc/mmap.c: Likewise.
44563 * misc/mprotect.c: Likewise.
44564 * misc/msync.c: Likewise.
44565 * misc/munlock.c: Likewise.
44566 * misc/munlockall.c: Likewise.
44567 * misc/munmap.c: Likewise.
44568 * misc/preadv.c: Likewise.
44569 * misc/preadv64.c: Likewise.
44570 * misc/ptrace.c: Likewise.
44571 * misc/pwritev.c: Likewise.
44572 * misc/pwritev64.c: Likewise.
44573 * misc/readv.c: Likewise.
44574 * misc/reboot.c: Likewise.
44575 * misc/remap_file_pages.c: Likewise.
44576 * misc/removexattr.c: Likewise.
44577 * misc/revoke.c: Likewise.
44578 * misc/select.c: Likewise.
44579 * misc/setdomain.c: Likewise.
44580 * misc/setegid.c: Likewise.
44581 * misc/seteuid.c: Likewise.
44582 * misc/sethostid.c: Likewise.
44583 * misc/sethostname.c: Likewise.
44584 * misc/setregid.c: Likewise.
44585 * misc/setreuid.c: Likewise.
44586 * misc/setxattr.c: Likewise.
44587 * misc/sstk.c: Likewise.
44588 * misc/stty.c: Likewise.
44589 * misc/swapoff.c: Likewise.
44590 * misc/swapon.c: Likewise.
44591 * misc/sync.c: Likewise.
44592 * misc/syncfs.c: Likewise.
44593 * misc/syscall.c: Likewise.
44594 * misc/truncate.c: Likewise.
44595 * misc/ualarm.c: Likewise.
44596 * misc/usleep.c: Likewise.
44597 * misc/ustat.c: Likewise.
44598 * misc/utimes.c: Likewise.
44599 * misc/vhangup.c: Likewise.
44600 * misc/writev.c: Likewise.
44601 * posix/_exit.c: Likewise.
44602 * posix/alarm.c: Likewise.
44603 * posix/execve.c: Likewise.
44604 * posix/fexecve.c: Likewise.
44605 * posix/fork.c: Likewise.
44606 * posix/fpathconf.c: Likewise.
44607 * posix/getaddrinfo.c: Likewise.
44608 * posix/getegid.c: Likewise.
44609 * posix/geteuid.c: Likewise.
44610 * posix/getgid.c: Likewise.
44611 * posix/getgroups.c: Likewise.
44612 * posix/getlogin.c: Likewise.
44613 * posix/getlogin_r.c: Likewise.
44614 * posix/getpgid.c: Likewise.
44615 * posix/getpid.c: Likewise.
44616 * posix/getppid.c: Likewise.
44617 * posix/getresgid.c: Likewise.
44618 * posix/getresuid.c: Likewise.
44619 * posix/getsid.c: Likewise.
44620 * posix/getuid.c: Likewise.
44621 * posix/glob64.c: Likewise.
44622 * posix/nanosleep.c: Likewise.
44623 * posix/pathconf.c: Likewise.
44624 * posix/pause.c: Likewise.
44625 * posix/posix_madvise.c: Likewise.
44626 * posix/pread.c: Likewise.
44627 * posix/pread64.c: Likewise.
44628 * posix/pwrite.c: Likewise.
44629 * posix/pwrite64.c: Likewise.
44630 * posix/sched_getaffinity.c: Likewise.
44631 * posix/sched_getp.c: Likewise.
44632 * posix/sched_gets.c: Likewise.
44633 * posix/sched_primax.c: Likewise.
44634 * posix/sched_primin.c: Likewise.
44635 * posix/sched_rr_gi.c: Likewise.
44636 * posix/sched_setaffinity.c: Likewise.
44637 * posix/sched_setp.c: Likewise.
44638 * posix/sched_sets.c: Likewise.
44639 * posix/sched_yield.c: Likewise.
44640 * posix/setgid.c: Likewise.
44641 * posix/setlogin.c: Likewise.
44642 * posix/setpgid.c: Likewise.
44643 * posix/setresgid.c: Likewise.
44644 * posix/setresuid.c: Likewise.
44645 * posix/setsid.c: Likewise.
44646 * posix/setuid.c: Likewise.
44647 * posix/sleep.c: Likewise.
44648 * posix/spawni.c: Likewise.
44649 * posix/sysconf.c: Likewise.
44650 * posix/times.c: Likewise.
44651 * posix/wait.c: Likewise.
44652 * posix/wait3.c: Likewise.
44653 * posix/wait4.c: Likewise.
44654 * posix/waitpid.c: Likewise.
44655 * resolv/gai_sigqueue.c: Likewise.
44656 * resource/getpriority.c: Likewise.
44657 * resource/getrlimit.c: Likewise.
44658 * resource/getrusage.c: Likewise.
44659 * resource/nice.c: Likewise.
44660 * resource/setpriority.c: Likewise.
44661 * resource/setrlimit.c: Likewise.
44662 * resource/ulimit.c: Likewise.
44663 * rt/aio_cancel.c: Likewise.
44664 * rt/aio_fsync.c: Likewise.
44665 * rt/aio_read.c: Likewise.
44666 * rt/aio_sigqueue.c: Likewise.
44667 * rt/aio_suspend.c: Likewise.
44668 * rt/aio_write.c: Likewise.
44669 * rt/clock_getres.c: Likewise.
44670 * rt/clock_gettime.c: Likewise.
44671 * rt/clock_nanosleep.c: Likewise.
44672 * rt/clock_settime.c: Likewise.
44673 * rt/lio_listio.c: Likewise.
44674 * rt/mq_close.c: Likewise.
44675 * rt/mq_getattr.c: Likewise.
44676 * rt/mq_notify.c: Likewise.
44677 * rt/mq_open.c: Likewise.
44678 * rt/mq_receive.c: Likewise.
44679 * rt/mq_send.c: Likewise.
44680 * rt/mq_setattr.c: Likewise.
44681 * rt/mq_timedreceive.c: Likewise.
44682 * rt/mq_timedsend.c: Likewise.
44683 * rt/mq_unlink.c: Likewise.
44684 * rt/shm_open.c: Likewise.
44685 * rt/shm_unlink.c: Likewise.
44686 * rt/timer_create.c: Likewise.
44687 * rt/timer_delete.c: Likewise.
44688 * rt/timer_getoverr.c: Likewise.
44689 * rt/timer_gettime.c: Likewise.
44690 * rt/timer_settime.c: Likewise.
44691 * setjmp/__longjmp.c: Likewise.
44692 * setjmp/setjmp.c: Likewise.
44693 * signal/kill.c: Likewise.
44694 * signal/killpg.c: Likewise.
44695 * signal/raise.c: Likewise.
44696 * signal/sigaction.c: Likewise.
44697 * signal/sigaltstack.c: Likewise.
44698 * signal/sigblock.c: Likewise.
44699 * signal/sigignore.c: Likewise.
44700 * signal/sigintr.c: Likewise.
44701 * signal/signal.c: Likewise.
44702 * signal/sigpause.c: Likewise.
44703 * signal/sigpending.c: Likewise.
44704 * signal/sigqueue.c: Likewise.
44705 * signal/sigreturn.c: Likewise.
44706 * signal/sigset.c: Likewise.
44707 * signal/sigsetmask.c: Likewise.
44708 * signal/sigstack.c: Likewise.
44709 * signal/sigsuspend.c: Likewise.
44710 * signal/sigtimedwait.c: Likewise.
44711 * signal/sigvec.c: Likewise.
44712 * signal/sigwait.c: Likewise.
44713 * signal/sigwaitinfo.c: Likewise.
44714 * signal/sysv_signal.c: Likewise.
44715 * socket/accept.c: Likewise.
44716 * socket/accept4.c: Likewise.
44717 * socket/bind.c: Likewise.
44718 * socket/connect.c: Likewise.
44719 * socket/getpeername.c: Likewise.
44720 * socket/getsockname.c: Likewise.
44721 * socket/getsockopt.c: Likewise.
44722 * socket/isfdtype.c: Likewise.
44723 * socket/listen.c: Likewise.
44724 * socket/recv.c: Likewise.
44725 * socket/recvfrom.c: Likewise.
44726 * socket/recvmsg.c: Likewise.
44727 * socket/send.c: Likewise.
44728 * socket/sendmsg.c: Likewise.
44729 * socket/sendto.c: Likewise.
44730 * socket/setsockopt.c: Likewise.
44731 * socket/shutdown.c: Likewise.
44732 * socket/sockatmark.c: Likewise.
44733 * socket/socket.c: Likewise.
44734 * socket/socketpair.c: Likewise.
44735 * stdio-common/ctermid.c: Likewise.
44736 * stdio-common/cuserid.c: Likewise.
44737 * stdio-common/remove.c: Likewise.
44738 * stdio-common/rename.c: Likewise.
44739 * stdio-common/renameat.c: Likewise.
44740 * stdio-common/tempname.c: Likewise.
44741 * stdlib/getcontext.c: Likewise.
44742 * stdlib/makecontext.c: Likewise.
44743 * stdlib/setcontext.c: Likewise.
44744 * stdlib/swapcontext.c: Likewise.
44745 * stdlib/system.c: Likewise.
44746 * streams/fattach.c: Likewise.
44747 * streams/fdetach.c: Likewise.
44748 * streams/getmsg.c: Likewise.
44749 * streams/getpmsg.c: Likewise.
44750 * streams/putmsg.c: Likewise.
44751 * streams/putpmsg.c: Likewise.
44752 * sysdeps/unix/bsd/getpt.c: Likewise.
44753 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44754 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44757 Likewise.
44758 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44759 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44760 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44761 * sysvipc/msgctl.c: Likewise.
44762 * sysvipc/msgget.c: Likewise.
44763 * sysvipc/msgrcv.c: Likewise.
44764 * sysvipc/msgsnd.c: Likewise.
44765 * sysvipc/semctl.c: Likewise.
44766 * sysvipc/semget.c: Likewise.
44767 * sysvipc/semop.c: Likewise.
44768 * sysvipc/semtimedop.c: Likewise.
44769 * sysvipc/shmat.c: Likewise.
44770 * sysvipc/shmctl.c: Likewise.
44771 * sysvipc/shmdt.c: Likewise.
44772 * sysvipc/shmget.c: Likewise.
44773 * termios/tcdrain.c: Likewise.
44774 * termios/tcflow.c: Likewise.
44775 * termios/tcflush.c: Likewise.
44776 * termios/tcgetattr.c: Likewise.
44777 * termios/tcgetpgrp.c: Likewise.
44778 * termios/tcsendbrk.c: Likewise.
44779 * termios/tcsetattr.c: Likewise.
44780 * termios/tcsetpgrp.c: Likewise.
44781 * time/adjtime.c: Likewise.
44782 * time/clock.c: Likewise.
44783 * time/getitimer.c: Likewise.
44784 * time/gettimeofday.c: Likewise.
44785 * time/setitimer.c: Likewise.
44786 * time/settimeofday.c: Likewise.
44787 * time/stime.c: Likewise.
44788 * time/time.c: Likewise.
44789
44790 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44791
44792 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44793 /usr/old/bin.
44794
44795 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44796 instead of spaces.
44797 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44798
44799 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44800
44801 [BZ #14796]
44802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44803 FE_TONEAREST before applying Dekker multiplication and Knuth
44804 addition. Clear inexact exceptions and check for exact zero
44805 results afterwards.
44806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44809 * math/libm-test.inc (fma_test): Add more tests.
44810 (fma_test_towardzero): Likewise.
44811 (fma_test_downward): Likewise.
44812 (fma_test_upward): Likewise.
44813 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44814 function.
44815 (libc_fesetround): New macro.
44816 (libc_fesetroundf): Likewise.
44817 (libc_fesetroundl): Likewise.
44818 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44819 function.
44820 (libc_fesetround_387): Likewise.
44821 (libc_fesetroundf): New macro.
44822 (libc_fesetround): Likewise.
44823 (libc_fesetroundl): Likewise.
44824 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44825 function.
44826 (libc_fesetroundf): New macro.
44827 (libc_fesetround): Likewise.
44828 (libc_fesetroundl): Likewise.
44829 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44830 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44831 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44832 libm_hidden_ver.
44833 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44834 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44835 libm_hidden_def.
44836 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44837 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44838 libm_hidden_ver.
44839 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44840 libm_hidden_def.
44841
44842 [BZ #3439]
44843 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44844 integer constant usable in #if and use that to give value to enum
44845 constant.
44846 (FE_DIVBYZERO): Likewise.
44847 (FE_UNDERFLOW): Likewise.
44848 (FE_OVERFLOW): Likewise.
44849 (FE_INVALID): Likewise.
44850 (FE_INVALID_SNAN): Likewise.
44851 (FE_INVALID_ISI): Likewise.
44852 (FE_INVALID_IDI): Likewise.
44853 (FE_INVALID_ZDZ): Likewise.
44854 (FE_INVALID_IMZ): Likewise.
44855 (FE_INVALID_COMPARE): Likewise.
44856 (FE_INVALID_SOFTWARE): Likewise.
44857 (FE_INVALID_SQRT): Likewise.
44858 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44859 (FE_TONEAREST): Likewise.
44860 (FE_TOWARDZERO): Likewise.
44861 (FE_UPWARD): Likewise.
44862 (FE_DOWNWARD): Likewise.
44863 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44864 (FE_DIVBYZERO): Likewise.
44865 (FE_OVERFLOW): Likewise.
44866 (FE_UNDERFLOW): Likewise.
44867 (FE_INEXACT): Likewise.
44868 (FE_TONEAREST): Likewise.
44869 (FE_DOWNWARD): Likewise.
44870 (FE_UPWARD): Likewise.
44871 (FE_TOWARDZERO): Likewise.
44872 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44873 (FE_UNDERFLOW): Likewise.
44874 (FE_OVERFLOW): Likewise.
44875 (FE_DIVBYZERO): Likewise.
44876 (FE_INVALID): Likewise.
44877 (FE_TONEAREST): Likewise.
44878 (FE_TOWARDZERO): Likewise.
44879 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44880 (FE_OVERFLOW): Likewise.
44881 (FE_UNDERFLOW): Likewise.
44882 (FE_DIVBYZERO): Likewise.
44883 (FE_INEXACT): Likewise.
44884 (FE_TONEAREST): Likewise.
44885 (FE_TOWARDZERO): Likewise.
44886 (FE_UPWARD): Likewise.
44887 (FE_DOWNWARD): Likewise.
44888 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44889 (FE_DIVBYZERO): Likewise.
44890 (FE_OVERFLOW): Likewise.
44891 (FE_UNDERFLOW): Likewise.
44892 (FE_INEXACT): Likewise.
44893 (FE_TONEAREST): Likewise.
44894 (FE_DOWNWARD): Likewise.
44895 (FE_UPWARD): Likewise.
44896 (FE_TOWARDZERO): Likewise.
44897
44898 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44899
44900 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44901
44902 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44903
44904 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44905 commands. Quote $PWD.
44906 (blacklist_exports): Don't use remove_newlines. Replace "declare
44907 -x" by "export".
44908 (remove_newlines): Remove.
44909
44910 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44911
44912 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44913 * stdlib/stdlib.h (atof): Moved to ...
44914 * include/bits/stdlib-float.h: Here. New file.
44915 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44916 * stdlib/bits/stdlib-float.h: New file.
44917 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44918 -mno-sse -mno-mmx.
44919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44920 <xmmintrin.h>.
44921
44922 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44923
44924 * conform/conformtest.pl (@headers): Add fenv.h.
44925 * conform/data/fenv.h-data: New file.
44926 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44927 include of <math/fenv.h>.
44928
44929 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44930 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44931 && !UNIX98]. Enables tests for XOPEN2K8.
44932 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44933 POSIX2008]: Likewise.
44934
44935 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44936 (struct rusage): Do not expect type or its members.
44937
44938 [BZ #3439]
44939 * math/math.h (FP_NAN): Define macro to integer constant usable in
44940 #if and use that to give value to enum constant.
44941 (FP_INFINITE): Likewise.
44942 (FP_ZERO): Likewise.
44943 (FP_SUBNORMAL): Likewise.
44944 (FP_NORMAL): Likewise.
44945
44946 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44947
44948 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44949 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44950 arguments.
44951
44952 2012-11-02 Roland McGrath <roland@hack.frob.com>
44953
44954 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44955 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44956 autoconf-time if not.
44957 * configure.in: Remove AC_PREREQ.
44958
44959 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44960
44961 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44962 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44963 of the internal implementation.
44964
44965 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44966
44967 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44968 except include of <misc/sys/syslog.h>.
44969
44970 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44971
44972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44973 function returns with a NULL context exit with zero.
44974
44975 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44976
44977 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44978
44979 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44980
44981 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44982 (run_program_cmd): This.
44983 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44984 (tst_langinfo): New variable. Use it.
44985
44986 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44987
44988 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44989 floating point opcodes.
44990
44991 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44992
44993 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44994 variable.
44995
44996 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44997
44998 * sysdeps/mach/hurd/powerpc: Remove directory.
44999 * sysdeps/mach/powerpc: Likewise.
45000
45001 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45002
45003 * scripts/check-local-headers.sh: Ignore c++ headers.
45004
45005 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45006
45007 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45008 __libc_cleanup_region_start argument.
45009
45010 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45011
45012 [BZ #14784]
45013 [BZ #14785]
45014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45015 x * y using scaling, not as x * y + z.
45016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45018 * math/libm-test.inc (fma_test): Add more tests.
45019 (fma_test_towardzero): Likewise.
45020 (fma_test_downward): Likewise.
45021 (fma_test_upward): Likewise.
45022
45023 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45024
45025 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45026
45027 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45028
45029 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45030 New variable.
45031
45032 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45033
45034 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45035
45036 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45037
45038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45039 Fix sort order.
45040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45041 Likewise.
45042
45043 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45044
45045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45046 Fix the order of the list for glibc 2.17.
45047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45048 Likewise.
45049
45050 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45051
45052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45053
45054 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45055
45056 [BZ #14610]
45057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45058 for low part of x being zero before using __atanl (y).
45059 * math/libm-test.inc (atan2_test): Add another test.
45060
45061 * manual/install.texi (Configuring and compiling): Document
45062 general use of test-wrapper and test-wrapper-env.
45063 * INSTALL: Regenerated.
45064
45065 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45066 (__fma): Do not extract and scale down low bits on after-rounding
45067 systems when result rounded to normal precision would have normal
45068 exponent.
45069 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45070 (__fmal): Do not extract and scale down low bits on after-rounding
45071 systems when result rounded to normal precision would have normal
45072 exponent.
45073 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45074 (__fmal): Do not extract and scale down low bits on after-rounding
45075 systems when result rounded to normal precision would have normal
45076 exponent.
45077 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45078 macro.
45079 (fma_test): Add more tests.
45080 (fma_test_towardzero): Likewise.
45081 (fma_test_downward): Likewise.
45082 (fma_test_upward): Likewise.
45083
45084 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45085
45086 * sysdeps/i386/tininess.h: Renamed to ...
45087 * sysdeps/x86/tininess.h: This.
45088 * sysdeps/x86_64/tininess.h: Removed.
45089
45090 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45091
45092 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45093 input. Use $(build-program-cmd).
45094 ($(objpfx)tst-array1-static.out): Likewise.
45095 ($(objpfx)tst-array2.out): Likewise.
45096 ($(objpfx)tst-array3.out): Likewise.
45097 ($(objpfx)tst-array4.out): Likewise.
45098 ($(objpfx)tst-array5.out): Likewise.
45099 ($(objpfx)tst-array5-static.out): Likewise.
45100
45101 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45102
45103 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45104 if defined.
45105
45106 * nss/nsswitch.h (nss_interface_function): Provide new
45107 macro for use with NSS functions.
45108 * grp/initgroups.c: Use new macro.
45109 * nss/getXXbyYY.c: Likewise.
45110 * nss/getXXbyYY_r.c: Likewise.
45111 * nss/getXXent.c: Likewise.
45112 * nss/getXXent_r.c: Likewise.
45113 * sysdeps/posix/getaddrinfo.c: Likewise.
45114
45115 2012-10-30 Andreas Jaeger <aj@suse.de>
45116
45117 * po/ru.po: Update Russion translation from translation project.
45118
45119 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45120
45121 [BZ #14152]
45122 [BZ #14783]
45123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45124 result and shift together with sticky bit instead of replicating
45125 round-to-nearest rounding.
45126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45128 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45129 missing underflow exceptions.
45130 (fma_test_towardzero): Add more tests.
45131 (fma_test_downward): Likewise.
45132 (fma_test_upward): Likewise.
45133
45134 [BZ #14047]
45135 * sysdeps/generic/tininess.h: New file.
45136 * sysdeps/i386/tininess.h: Likewise.
45137 * sysdeps/sh/tininess.h: Likewise.
45138 * sysdeps/x86_64/tininess.h: Likewise.
45139 * stdlib/tst-strtod-underflow.c: Likewise.
45140 * stdlib/tst-tininess.c: Likewise.
45141 * stdlib/strtod_l.c: Include <tininess.h>.
45142 (round_and_return): Do not set errno for exact underflow cases.
45143 Force an underflow exception when setting errno for underflow.
45144 Determine underflow based on rounding to normal precision if
45145 TININESS_AFTER_ROUNDING.
45146 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45147 ERANGE for exact underflow cases.
45148 * stdlib/Makefile (tests): Add tst-tininess and
45149 tst-strtod-underflow.
45150 ($(objpfx)tst-tininess): Use $(link-libm).
45151 ($(objpfx)tst-strtod-underflow): Likewise.
45152
45153 2012-10-30 Andreas Jaeger <aj@suse.de>
45154
45155 [BZ#14767]
45156 * elf/Makefile (tests): Remove conditional for have-initfini-array
45157 since this is now always required and the variable does not exist
45158 anymore.
45159 (tests-static): Likewise.
45160 (modules-names): Likewise.
45161
45162 * po/eo.po: Add Esperanto translation from translation project.
45163
45164 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45165 merged with constructor/destructor.
45166 (init_array): Likewise.
45167 * elf/tst-array2dep.c (fini_array): Likewise.
45168 (init_array): Likewise.
45169
45170 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45171
45172 * manual/message.texi: Delete @cartouche tags.
45173
45174 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45175
45176 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45177 EOPNOTSUPP.
45178 * sysdeps/mach/hurd/fsync.c: Likewise.
45179
45180 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45181 [_POSIX_REALTIME_SIGNALS]: Change condition to
45182 [_POSIX_REALTIME_SIGNALS > 0].
45183
45184 2012-10-27 Andreas Jaeger <aj@suse.de>
45185
45186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45187 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45189 [__WORDSIZE != 64]: Likewise.
45190
45191 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45192
45193 * iconvdata/tst-table.sh: Remove ${SHELL}.
45194 * iconvdata/tst-tables.sh: Likewise.
45195
45196 2012-10-25 David S. Miller <davem@davemloft.net>
45197
45198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45199 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45200 of strtoull.
45201
45202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45203 ifunc-impl-list.c
45204 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45205 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45206 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45207 file.
45208
45209 2012-10-25 Roland McGrath <roland@hack.frob.com>
45210
45211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45212 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45213 __getdirentries.
45214
45215 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45216 Jim Blandy <jimb@codesourcery.com>
45217
45218 * scripts/cross-test-ssh.sh: New file.
45219 * manual/install.texi (Configuring and compiling): Document use of
45220 cross-test-ssh.sh.
45221 * INSTALL: Regenerated.
45222
45223 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45224
45225 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45226 EOPNOTSUPP.
45227
45228 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45229
45230 * Makeconfig (run-program-prefix): Fix comment.
45231
45232 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45233 Jim Blandy <jimb@codesourcery.com>
45234
45235 * Makeconfig (test-wrapper): New variable,
45236 (test-wrapper-env): Likewise.
45237 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45238 (run-built-tests): Define to yes.
45239 (run-program-prefix): Use $(test-wrapper).
45240 (built-program-cmd): Likewise.
45241 * Rules (make-test-out): Use $(test-wrapper-env) and
45242 $(host-built-program-cmd).
45243 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45244 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45245 tst-pathopt.sh.
45246 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45247 $(test-wrapper-env) to tst-rtld-load-self.sh.
45248 ($(objpfx)order2.out): Use $(test-wrapper).
45249 ($(objpfx)tst-initorder.out): Likewise.
45250 ($(objpfx)tst-initorder2.out): Likewise.
45251 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45252 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45253 (test_wrapper_env): New variable. Use it to run ld.so.
45254 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45255 Use it to run ld.so.
45256 (test_wrapper_env): Likewise.
45257 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45258 $(test-wrapper) to run-iconv-test.sh.
45259 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45260 (ICONV): Use $test_wrapper.
45261 * posix/Makefile ($(objpfx)globtest.out): Pass
45262 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45263 globtest.sh, not $(run-program-prefix).
45264 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45265 (test_wrapper): Likewise.
45266 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45267 set together with run_via_rtld_prefix.
45268 (run_program_prefix): Define in terms of test_wrapper and
45269 run_via_rtld_prefix.
45270
45271 2012-10-24 Roland McGrath <roland@hack.frob.com>
45272
45273 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45274 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45275 Targets removed.
45276
45277 [BZ #14743]
45278 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45279 Declare __clock_getres, __clock_gettime, __clock_settime,
45280 __clock_nanosleep, and __clock_getcpuclockid.
45281 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45282 Remove librt_hidden_def (clock_gettime).
45283 * sysdeps/unix/clock_gettime.c: Likewise.
45284 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45286 * rt/clock_getres.c: Define __clock_getres as an alias.
45287 * sysdeps/posix/clock_getres.c: Likewise.
45288 * rt/clock_settime.c: Define __clock_settime as an alias.
45289 * sysdeps/unix/clock_settime.c: Likewise.
45290 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45291 * sysdeps/unix/clock_nanosleep.c: Likewise.
45292 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45293 * rt/clock-compat.c: New file.
45294 * rt/Makefile (librt-routines): Add clock-compat and move
45295 $(clock-routines) to ...
45296 (routines): ... here, new variable.
45297 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45298 Don't add get_clockfreq here.
45299 * rt/Versions (libc: GLIBC_2.17): New version set.
45300 Add clock_* symbols here.
45301 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45303 (GLIBC_2.17): Add clock_* symbols.
45304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45308 Likewise.
45309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45310 Likewise.
45311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45315 * NEWS: Mention the move.
45316
45317 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45318 Use __open, __read, __close rather than their public counterparts.
45319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45320 (__get_clockfreq_via_cpuinfo): Likewise.
45321 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45322 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45323
45324 * config.h.in (HAVE_IFUNC): New #undef.
45325 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45326 was successful.
45327 * configure: Regenerated.
45328
45329 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45330
45331 * configure.in: Move READELF check to start of file.
45332 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45333 libc_cv_asm_gnu_indirect_function in the process.
45334 * configure: Regenerated.
45335
45336 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45337
45338 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45339 send the output to /dev/null.
45340 (libc_cv_cc_with_libunwind): Likewise.
45341 (libc_cv_as_noexecstack): Likewise.
45342 * configure: Regenerate.
45343
45344 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45345
45346 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45347
45348 * posix/globtest.sh (TMPDIR): Do not set.
45349 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45350 (testout): Likewise.
45351
45352 2012-10-24 Andreas Jaeger <aj@suse.de>
45353
45354 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45355 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45356 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45357 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45358 posix_fadvise64, posix_fallocate64.
45359
45360 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45361 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45362 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45363 Likewise.
45364 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45365 Likewise.
45366 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45367
45368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45369 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45370 <bits/fcntl-linux.h>.
45371 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45372
45373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45374 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45375 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45376 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45377 [__WORDSIZE != 64]: Likewise.
45378
45379 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45380
45381 * Makeconfig (run-built-tests): New variable.
45382 * Rules [$(cross-compiling) = yes]: Change condition to
45383 [$(run-built-tests) = no].
45384 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45385 to [$(run-built-tests) = yes].
45386 * elf/Makefile [$(cross-compiling) = no]: Likewise
45387 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45388 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45389 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45390 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45391 * io/Makefile [$(cross-compiling) = no]: Likewise.
45392 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45393 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45394 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45395 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45396 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45397 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45398 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45399 * string/Makefile [$(cross-compiling) = no]: Likewise.
45400
45401 * posix/Makefile ($(objpfx)globtest.out): Pass
45402 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45403 $(rtld-installed-name).
45404 * posix/globtest.sh (elf_objpfx): Remove variable.
45405 (rtld_installed_name): Likewise.
45406 (library_path): Likewise.
45407 (run_program_prefix): New variable. Use for running globtest
45408 binary.
45409
45410 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45411 Joseph Myers <joseph@codesourcery.com>
45412
45413 * Makeconfig (host-built-program-cmd): New variable.
45414 * elf/Makefile (tst-stackguard1-ARGS): Use
45415 $(host-built-program-cmd).
45416 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45417 (tst-spawn-ARGS): Likewise.
45418 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45419
45420 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45421 Jim Blandy <jimb@codesourcery.com>
45422
45423 * Makeconfig (run-via-rtld-prefix): New variable.
45424 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45425 (built-program-cmd): Likewise.
45426
45427 2012-10-22 Andreas Jaeger <aj@suse.de>
45428
45429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45430 __O_RSYNC if it exists, otherwise to O_SYNC.
45431
45432 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45433 Joseph Myers <joseph@codesourcery.com>
45434
45435 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45436 /dev/null.
45437 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45438 from /dev/null
45439 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45440 /dev/null.
45441
45442 2012-10-22 Andreas Jaeger <aj@suse.de>
45443
45444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45445 Define always.
45446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45447
45448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45449 bits/fcntl-linux.h.
45450
45451 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45452 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45453
45454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45455 to __O_LARGEFILE.
45456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45457 to __O_LARGEFILE.
45458
45459 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45460 Joseph Myers <joseph@codesourcery.com>
45461
45462 * config.make.in (NM): New variable.
45463
45464 2012-10-21 Andreas Jaeger <aj@suse.de>
45465
45466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45467 definitions and declarations that are provided by
45468 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45469
45470 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45471
45472 [BZ #14683]
45473 * elf/Makefile (tests-static): Add tst-leaks1-static.
45474 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45475 ($(objpfx)tst-leaks1-static): New rule.
45476 ($(objpfx)tst-leaks1-static-mem): Likewise.
45477 (tst-leaks1-static-ENV): New macro.
45478 * elf/dl-open.c (dl_open_worker): Check the main application
45479 only if SHARED is defined.
45480 * elf/tst-leaks1-static.c: New file.
45481
45482 2012-10-20 Andreas Jaeger <aj@suse.de>
45483
45484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45485 generic values for Linux.
45486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45487 and declarations that are provided by <bits/fcntl-linux.h> and
45488 include <bits/fcntl-linux.h>.
45489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45491
45492 2012-10-20 Roland McGrath <roland@hack.frob.com>
45493
45494 * io/fcntl.h: Move include of <bits/types.h> to the top and
45495 include it unconditionally.
45496
45497 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45498
45499 * wcsmbs/Makefile (tests-ifunc): New variable.
45500 (tests): Add $(tests-ifunc).
45501 * wcsmbs/test-wcschr-ifunc.c: New file.
45502 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45503 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45504 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45505 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45506 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45507
45508 * string/Makefile (tests-ifunc): New variable.
45509 (tests): Add $(tests-ifunc).
45510 * string/test-memccpy.c (TEST_NAME): New macro.
45511 * string/test-memchr.c (TEST_NAME): Likewise.
45512 * string/test-memcmp.c (TEST_NAME): Likewise.
45513 * string/test-memcpy.c (TEST_NAME): Likewise.
45514 * string/test-memmem.c (TEST_NAME): Likewise.
45515 * string/test-memmove.c (TEST_NAME): Likewise.
45516 * string/test-memset.c (TEST_NAME): Likewise.
45517 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45518 * string/test-stpcpy.c (TEST_NAME): Likewise.
45519 * string/test-stpncpy.c (TEST_NAME): Likewise.
45520 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45521 * string/test-strcasestr.c (TEST_NAME): Likewise.
45522 * string/test-strcat.c (TEST_NAME): Likewise.
45523 * string/test-strchr.c (TEST_NAME): Likewise.
45524 * string/test-strcmp.c(TEST_NAME): Likewise.
45525 * string/test-strcpy.c (TEST_NAME): Likewise.
45526 * string/test-strcspn.c (TEST_NAME): Likewise.
45527 * string/test-strlen.c (TEST_NAME): Likewise.
45528 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45529 * string/test-strncmp.c (TEST_NAME): Likewise.
45530 * string/test-strncpy.c (TEST_NAME): Likewise.
45531 * string/test-strnlen.c (TEST_NAME): Likewise.
45532 * string/test-strpbrk.c (TEST_NAME): Likewise.
45533 * string/test-strrchr.c (TEST_NAME): Likewise.
45534 * string/test-strspn.c (TEST_NAME): Likewise.
45535 * string/test-strstr.c (TEST_NAME): Likewise.
45536 * string/test-bcopy-ifunc.c: New file.
45537 * string/test-bzero-ifunc.c: Likewise.
45538 * string/test-memccpy-ifunc.c: Likewise.
45539 * string/test-memchr-ifunc.c: Likewise.
45540 * string/test-memcmp-ifunc.c: Likewise.
45541 * string/test-memcpy-ifunc.c: Likewise.
45542 * string/test-memmem-ifunc.c: Likewise.
45543 * string/test-memmove-ifunc.c: Likewise.
45544 * string/test-mempcpy-ifunc.c: Likewise.
45545 * string/test-memset-ifunc.c: Likewise.
45546 * string/test-rawmemchr-ifunc.c: Likewise.
45547 * string/test-stpcpy-ifunc.c: Likewise.
45548 * string/test-stpncpy-ifunc.c: Likewise.
45549 * string/test-strcasecmp-ifunc.c: Likewise.
45550 * string/test-strcasestr-ifunc.c: Likewise.
45551 * string/test-strcat-ifunc.c: Likewise.
45552 * string/test-strchr-ifunc.c: Likewise.
45553 * string/test-strchrnul-ifunc.c: Likewise.
45554 * string/test-strcmp-ifunc.c: Likewise.
45555 * string/test-strcpy-ifunc.c: Likewise.
45556 * string/test-strcspn-ifunc.c: Likewise.
45557 * string/test-strlen-ifunc.c: Likewise.
45558 * string/test-strncasecmp-ifunc.c: Likewise.
45559 * string/test-strncat-ifunc.c: Likewise.
45560 * string/test-strncmp-ifunc.c: Likewise.
45561 * string/test-strncpy-ifunc.c: Likewise.
45562 * string/test-strnlen-ifunc.c: Likewise.
45563 * string/test-strpbrk-ifunc.c: Likewise.
45564 * string/test-strrchr-ifunc.c: Likewise.
45565 * string/test-strspn-ifunc.c: Likewise.
45566 * string/test-strstr-ifunc.c: Likewise.
45567
45568 * debug/Makefile (tests-ifunc): New variable.
45569 (tests): Add $(tests-ifunc).
45570 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45571 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45572 * debug/test-stpcpy_chk-ifunc.c: New file.
45573 * debug/test-strcpy_chk-ifunc.c: Likewise.
45574
45575 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45576
45577 [BZ #13601]
45578 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45579 header is not read in.
45580
45581 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45582
45583 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45584 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45585 directly. Pass built executable to script as
45586 $(built-program-cmd).
45587 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45588 $testprogram without using LD_LIBRARY_PATH and $ldso.
45589
45590 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45591 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45592 $(rtld-installed-name).
45593 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45594 (rtld_installed_name): Likewise.
45595 (library_path): Likewise.
45596 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45597 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45598 $(run-program-prefix) to tst-tables.sh.
45599 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45600 it to run tst-table-from and tst-table-to.
45601 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45602 Pass it to tst-table.sh.
45603 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45604 $(run-program-prefix) to tst-gettext.sh.
45605 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45606 tst-translit.sh.
45607 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45608 tst-gettext2.sh.
45609 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45610 to run tst-gettext.
45611 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45612 to run tst-gettext2.
45613 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45614 to run tst-translit.
45615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45616 $(run-program-prefix) to tst-mtrace.sh.
45617 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45618 to run tst-mtrace.
45619 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45620 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45621 $(rtld-installed-name).
45622 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45623 (rtld_installed_name): Likewise.
45624 (run_program_prefix): New variable. Use it to run wordexp-test.
45625
45626 * Makeconfig (ARCH): Remove all definitions.
45627 (machine): Likewise.
45628 [ARCH]: Remove conditional code.
45629 [!objdir]: Give error.
45630 [!objdir] (objpfx): Remove.
45631 [!objdir] (common-objpfx): Likewise.
45632 [!objdir] (common-objdir): Likewise.
45633 * configure.in (config_makefile): Remove. Hardcode Makefile in
45634 AC_CONFIG_FILES call.
45635 * configure: Regenerated.
45636
45637 [BZ #13888]
45638 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45639 or TMPDIR.
45640 (testout): Likewise.
45641
45642 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45643 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45644 $(rtld-installed-name).
45645 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45646 (rtld_installed_name): Likwise.
45647 (runit): Remove function.
45648 (run_getconf): New variable, Use it for running getconf binary.
45649
45650 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45651
45652 [BZ #14716]
45653 * string/test-memmem.c (check_result): New function.
45654 (do_one_test): Use it.
45655 (check1): New function.
45656 (test_main): Use it.
45657
45658 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45659
45660 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45661
45662 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45663
45664 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45665 (_G_LSEEK64): Likewise.
45666 (_G_MMAP64): Likewise.
45667 (_G_FSTAT64): Likewise.
45668 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45669 (_G_LSEEK64): Likewise.
45670 (_G_MMAP64): Likewise.
45671 (_G_FSTAT64): Likewise.
45672 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45673 unconditional. Call __mmap64 directly.
45674 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45675 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45676 __lseek64 directly.
45677 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45678 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45679 __mmap64 directly.
45680 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45681 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45682 __lseek64 directly.
45683 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45684 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45685 __lseek64 directly.
45686 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45687 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45688 __lseek64 directly.
45689 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45690 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45691 __fxstat64 directly.
45692 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45693 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45694 unconditional.
45695 (freopen64) [!_G_OPEN64]: Remove conditional code.
45696 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45697 unconditional.
45698 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45699 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45700 unconditional.
45701 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45702 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45703 unconditional.
45704 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45705 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45706 unconditional.
45707 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45708 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45709 unconditional.
45710 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45711 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45712 unconditional.
45713 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45714 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45715 unconditional.
45716 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45717
45718 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45719
45720 [BZ #12140]
45721 * manual/memory.texi (Malloc Tunable Parameters): Add note
45722 about free list pointers overwriting some perturb bytes.
45723 Wording suggested by Roland McGrath.
45724
45725 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45726
45727 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45728 (lgamma_test): Likewise.
45729 (tgamma_test): Likewise.
45730
45731 2012-10-16 Florian Weimer <fweimer@redhat.com>
45732
45733 [BZ #14700]
45734 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45735 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45736
45737 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45738
45739 * NEWS: Mention BZ #14716.
45740 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45741 when removing AVAILABLE1_USES_J macro.
45742
45743 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45744
45745 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45746 (__bswap_64): __uint64_t for unsigned 64-bit int.
45747
45748 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45749
45750 * include/string.h (memmem): Declare libc hidden alias.
45751 * string/memmem.c (memmem): Define libc hidden alias.
45752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45753 __read, __close instead of open, read, close.
45754
45755 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45756
45757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45758 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45759 global and hidden.
45760 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45761 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45762 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45763 Likewise.
45764 (__rawmemchr_sse2): Likewise.
45765 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45766 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45767 (__strchr_sse2): Likewise.
45768 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45769 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45770 (__strcasecmp_sse2): Likewise.
45771 (__strncasecmp_sse2): Likewise.
45772 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45773 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45774 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45775 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45776 (__strrchr_sse2): Likewise.
45777 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45778 ifunc-impl-list.c.
45779 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45780 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45781 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45782 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45783 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45784 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45785 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45786 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45787 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45788 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45789 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45790 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45791 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45792 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45793 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45794 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45795 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45796 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45797 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45798 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45799 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45800 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45801 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45802 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45803 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45804 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45805 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45806 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45807 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45808 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45809
45810 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45811 global and hidden.
45812 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45813 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45814 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45815 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45816 Likewise.
45817 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45818 Likewise.
45819 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45820 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45821 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45822 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45823 ifunc-impl-list.c.
45824 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45825 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45826 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45827 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45828 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45829 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45830 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45831 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45832 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45833 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45834 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45835 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45836 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45837 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45838 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45839 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45840 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45841 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45842 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45843 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45844 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45847 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45849 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45850 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45851 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45852 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45853 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45854 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45855 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45856 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45857 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45858 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45859 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45860 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45861 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45862 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45863 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45864 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45865
45866 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45867 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45868 * include/ifunc-impl-list.h: New file.
45869 * misc/ifunc-impl-list.c: Likewise.
45870 * misc/Makefile (routines): Add ifunc-impl-list.
45871 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45872 * string/test-string.h: Include <ifunc-impl-list.h>.
45873 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45874 TEST_NAME]: New variables.
45875 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45876 are defined.
45877 (test_init): Call __libc_ifunc_impl_list to initialize
45878 func_list if TEST_IFUNC and TEST_NAME are defined.
45879
45880 * string/Makefile (strop-tests): Add bcopy and bzero.
45881 * string/test-bcopy.c: New file.
45882 * string/test-bzero.c: Likewise.
45883 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45884 defined.
45885 * string/test-memset.c: Support bzero test if TEST_BZERO is
45886 defined.
45887 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45888 __libc_memmove.
45889 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45890 __libc_memset.
45891 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45892 of memset.
45893
45894 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45895
45896 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45897 * configure: Regenerated.
45898
45899 * Makeconfig (+link-static-before-libc): Don't include
45900 $(link-static-libc).
45901
45902 * libio/libio.h (_IO_pos_t): Remove.
45903
45904 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45905
45906 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45907 McGrath.
45908
45909 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45910
45911 * crypt/crypt-entry.c: Include fips-private.h.
45912 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45913 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45914 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45915 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45916
45917 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45918
45919 * crypt/crypt-private.h: Include stdbool.h.
45920 (_ufc_setup_salt_r): Return bool.
45921 * crypt/crypt-entry.c: Include errno.h.
45922 (__crypt_r): Return NULL with EINVAL for bad salt.
45923 * crypt/crypt_util.c (bad_for_salt): New.
45924 (_ufc_setup_salt_r): Check that salt is long enough and within
45925 the specified alphabet.
45926 * crypt/badsalttest.c: New file.
45927 * crypt/Makefile (tests): Add it.
45928 ($(objpfx)badsalttest): New.
45929
45930 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45931
45932 * NEWS: Add entry for BZ #14602.
45933
45934 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45935
45936 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45937 type-generic.
45938 * math/libm-test.inc: Update comment listing what functions and
45939 macros are tested.
45940 (isgreater_test): New function.
45941 (isgreaterequal_test): Likewise.
45942 (isless_test): Likewise.
45943 (islessequal_test): Likewise.
45944 (islessgreater_test): Likewise.
45945 (isunordered_test): Likewise.
45946 (main): Call the new functions.
45947
45948 2012-10-09 Roland McGrath <roland@hack.frob.com>
45949
45950 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45951 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45952 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45953 * sysdeps/i386/configure: Regenerated.
45954 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45955 * sysdeps/mach/configure: Regenerated.
45956 * sysdeps/mach/hurd/configure: Regenerated.
45957 * sysdeps/powerpc/configure: Regenerated.
45958 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45959 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45960 * sysdeps/s390/s390-32/configure: Regenerated.
45961 * sysdeps/s390/s390-64/configure: Regenerated.
45962 * sysdeps/sh/configure: Regenerated.
45963 * sysdeps/sparc/configure: Regenerated.
45964 * sysdeps/unix/sysv/linux/configure: Regenerated.
45965 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45966 * sysdeps/x86_64/configure: Regenerated.
45967
45968 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45969 defined. Don't check if MAP is NULL.
45970
45971 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45972
45973 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45974 (_G_stat64): Likewise.
45975 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45976 (_G_stat64): Likewise.
45977 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45978 instead of struct _G_stat64.
45979 * libio/fileops.c (mmap_remap_check): Likewise.
45980 (decide_maybe_mmap): Likewise.
45981 (_IO_new_file_seekoff): Likewise.
45982 (_IO_file_stat): Likewise.
45983 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45984 _G_off64_t.
45985 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45986 instead of struct _G_stat64.
45987 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45988
45989 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45990
45991 [BZ #14602]
45992 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45993 Replace with ...
45994 (CHECK_EOL): New macro.
45995 (two_way_short_needle): Check beginning of haystack for EOL. Use
45996 CHECK_EOL.
45997 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45998 Replace with CHECK_EOL.
45999 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46000 Replace with CHECK_EOL.
46001
46002 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46003
46004 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46005 type-generic.
46006 * math/libm-test.inc: Update comment listing what functions and
46007 macros are tested.
46008 (finite_test): New function.
46009 (isinf_test): Likewise.
46010 (isnan_test): Likewise.
46011 (fpclassify_test): Test subnormal input.
46012 (isfinite_test): Likewise.
46013 (isnormal_test): Likewise.
46014 (main): Call the new functions.
46015
46016 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46017
46018 [BZ #14660]
46019 * Makerules (%.dynsym): Force C locale when running
46020 $(OBJDUMP) --dynamic-syms.
46021
46022 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46023
46024 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46025 <stdint.h>.
46026
46027 2012-10-06 David S. Miller <davem@davemloft.net>
46028
46029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46030 upper 32-bits of the length value in %o2 since we use branch-on-register
46031 tests which consider the entire 64-bit register.
46032
46033 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46034
46035 * string/test-strstr.c (check2): Add a test for page boundary.
46036
46037 2012-10-05 David S. Miller <davem@davemloft.net>
46038
46039 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46040 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46041 file.
46042 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46043 sysdep_routines.
46044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46045 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46046 and bzero when HWCAP_SPARC_CRYPTO is present.
46047
46048 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46049
46050 [BZ #14602]
46051 * string/test-strstr.c (check2): New function.
46052 (test_main): Call check2.
46053
46054 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46055 and bug-strchr1.
46056 * string/bug-strcasestr1.c (do_test): Moved to ...
46057 * string/test-strcasestr.c (check1): Here. New function.
46058 (do_one_test): Break out result checking code into ...
46059 (check_result): This. New function.
46060 (do_one_test): Call check_result.
46061 (test_main): Call check1.
46062 * string/bug-strchr1.c (do_test): Moved to ...
46063 * string/test-strchr.c (check1): Here. New function.
46064 (do_one_test): Break out result checking code into ...
46065 (check_result): This. New function.
46066 (do_one_test): Call check_result.
46067 (test_main): Call check1.
46068 * string/bug-strstr1.c (main): Moved to ...
46069 * string/test-strstr.c (check1): Here. New function.
46070 (do_one_test): Break out result checking code into ...
46071 (check_result): This. New function.
46072 (do_one_test): Call check_result.
46073 (test_main): Call check1.
46074 * string/bug-strcasestr1.c: Removed.
46075 * string/bug-strchr1.c: Likewise.
46076 * string/bug-strstr1.c: Likewise.
46077
46078 * elf/Makefile (dl-routines): Add hwcaps.
46079 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46080 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46081 (_dl_important_hwcaps): Moved to ...
46082 * elf/dl-hwcaps.c: Here. New file.
46083 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46084
46085 [BZ #14557]
46086 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46087 if IS_IN_rtld isn't defined.
46088
46089 * elf/dl-support.c (_dl_sysinfo_map): New.
46090 Include "get-dynamic-info.h" and "setup-vdso.h".
46091 (_dl_non_dynamic_init): Call setup_vdso.
46092 * elf/dynamic-link.h: Don't include <assert.h>.
46093 (elf_get_dynamic_info): Moved to ...
46094 * elf/get-dynamic-info.h: Here. New file.
46095 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46096 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46097 * elf/setup-vdso.h: Here. New file.
46098 * elf/rtld.c: Include "setup-vdso.h".
46099 (dl_main): Call setup_vdso.
46100
46101 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46102
46103 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46104 creal in comment listing functions tested. List finite, isinf,
46105 isnan, isless, islessequal, isgreater, isgreaterequal,
46106 islessgreater, isunordered, lgamma_r and pow10 as functions and
46107 macros not tested. Mention which functions not tested are aliases
46108 for other functions. Fix typo. Note that signs of NaNs are not
46109 tested.
46110
46111 * scripts/config.guess: Update from config.git.
46112 * scripts/config.sub: Likewise.
46113
46114 2012-10-04 Roland McGrath <roland@hack.frob.com>
46115
46116 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46117 * misc/madvise.c (madvise): Renamed to __madvise.
46118 Make madvise a weak alias.
46119 * include/sys/mman.h: Declare __madvise.
46120 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46121 * sysdeps/unix/syscalls.list
46122 (madvise): Make __madvise the strong name, and madvise a weak alias.
46123 * sysdeps/unix/sysv/linux/syscalls.list
46124 (madvise, mmap): Remove redundant entries.
46125 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46126 * malloc/malloc.c (mtrim): Likewise.
46127 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46128
46129 2012-10-03 Roland McGrath <roland@hack.frob.com>
46130
46131 * sysdeps/mach/hurd/dl-cache.c: File removed.
46132 * config.h.in (USE_LDCONFIG): New #undef.
46133 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46134 * configure: Regenerated.
46135 * elf/Makefile (dl-routines): Add dl-cache only under
46136 [$(use-ldconfig) = yes].
46137 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46138 cache on [USE_LDCONFIG].
46139 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46140 [USE_LDCONFIG].
46141 * elf/rtld.c (dl_main): Likewise.
46142
46143 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46144
46145 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46146 _SC_LEVEL4_CACHE_LINESIZE.
46147
46148 2012-10-03 Roland McGrath <roland@hack.frob.com>
46149
46150 * sysdeps/unix/bsd/confstr.h: File removed.
46151
46152 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46153
46154 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46155 sys/sdt-config.h.
46156
46157 2012-10-02 Roland McGrath <roland@hack.frob.com>
46158
46159 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46160 Make 'mapoff' field ElfW(Off) rather than off_t.
46161
46162 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46163
46164 * nscd/Makefile: Remove nscd-cflags and all its users.
46165 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46166 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46167
46168 [BZ #10631]
46169 * malloc.c (malloc_printerr): Clarify error message.
46170
46171 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46172
46173 [BZ #14648]
46174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46175 Set bit_FMA_Usable if FMA is supported.
46176 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46177 macro.
46178 (bit_FMA4_Usable): Updated.
46179 (index_FMA_Usable): New macro.
46180 (CPUID_FMA): Likewise
46181 (HAS_FMA): Defined with bit_FMA_Usable.
46182
46183 2012-10-01 Roland McGrath <roland@hack.frob.com>
46184
46185 * bits/types.h (__swblk_t): Type removed.
46186 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46187 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46189 (__SWBLK_T_TYPE): Likewise.
46190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46191 (__SWBLK_T_TYPE): Likewise.
46192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46193 (__SWBLK_T_TYPE): Likewise.
46194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46195 (__SWBLK_T_TYPE): Likewise.
46196
46197 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46198 Honza Horak <hhorak@redhat.com>
46199
46200 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46201 (xdr_mapname): Use YPMAXMAP as maxsize.
46202 (xdr_peername): Use YPMAXPEER as maxsize.
46203 (xdr_keydat): Use YPAXRECORD as maxsize.
46204 (xdr_valdat): Use YPMAXRECORD as maxsize.
46205
46206 2012-10-01 Roland McGrath <roland@hack.frob.com>
46207
46208 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46209
46210 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46211 * csu/init-first.c: ... here.
46212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46213 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46214 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46215 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46216 * sysdeps/i386/init-first.c: File removed.
46217 * sysdeps/sh/init-first.c: File removed.
46218
46219 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46220
46221 [BZ #14645]
46222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46223 if x * y might underflow to zero and z is zero.
46224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46226 * math/libm-test.inc (min_subnorm_value): New variable.
46227 (fma_test): Add more tests.
46228 (fma_test_towardzero): Likewise.
46229 (fma_test_downward): Likewise
46230 (fma_test_upward): Likewise.
46231 (initialize): Set min_subnorm_value.
46232
46233 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46234
46235 [BZ #14638]
46236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46237 0 + 0.
46238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46239 mode for addition resulting in exact zero.
46240 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46242 exact 0 + 0.
46243 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46245 * math/libm-test.inc (fma_test): Add more tests.
46246 (fma_test_towardzero): New function.
46247 (fma_test_downward): Likewise.
46248 (fma_test_upward): Likewise.
46249 (main): Call the new functions.
46250
46251 2012-09-28 David S. Miller <davem@davemloft.net>
46252
46253 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46254
46255 2012-09-28 Roland McGrath <roland@hack.frob.com>
46256
46257 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46258 instead of SIGALRM.
46259
46260 * sysdeps/gnu/_G_config.h: Moved to ...
46261 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46262 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46263 * sysdeps/generic/_G_config.h: ... here.
46264
46265 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46266
46267 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46268
46269 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46270 Conditionalize target on [libnss_test1.so-version].
46271
46272 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46273
46274 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46275 (elfobjdir): Move out of conditionals.
46276
46277 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46278 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46279 (__nss_lookup_function): Conditionalize label remove_from_tree on
46280 [!DO_STATIC_NSS || SHARED], matching its only use.
46281
46282 2012-09-28 David S. Miller <davem@davemloft.net>
46283
46284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46285 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46286 file.
46287 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46288 sysdep_routines.
46289 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46291 when HWCAP_SPARC_CRYPTO is present.
46292
46293 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46294
46295 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46296
46297 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46298
46299 [BZ #6530]
46300 * stdio-common/vfprintf.c (process_string_arg): Revert
46301 2000-07-22 change.
46302
46303 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46304
46305 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46306 for testcase.
46307 * stdio-common/tst-sprintf.c: Include <locale.h>
46308 (main): Test sprintf's handling of incomplete multibyte
46309 characters.
46310
46311 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46312
46313 * elf/dl-runtime.c (VERSYMIDX): Removed.
46314 * elf/dl-version.c (VERSYMIDX): Likewise.
46315 * elf/do-rel.h (VERSYMIDX): Likewise.
46316 (VALIDX): Likewise.
46317 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46318 * elf/rtld.c (VALIDX): Likewise.
46319 (ADDRIDX): Likewise.
46320 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46321 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46322 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46323 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46324 (VALIDX): Likewise.
46325 (ADDRIDX): Likewise.
46326
46327 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46328
46329 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46330
46331 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46332
46333 [BZ #11438]
46334 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46335 to global scope.
46336 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46337 addresses are in the same scope as 192.0.2/24.
46338 * posix/gai.conf: Document new scope table defaults.
46339
46340 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46341
46342 [BZ #5298]
46343 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46344 for ftell. Compute offsets from write pointers instead.
46345 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46346
46347 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46348
46349 [BZ #14543]
46350 * libio/Makefile (tests): New test case tst-fseek.
46351 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46352 combination works in wide mode.
46353 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46354 state when the external buffer state changes.
46355
46356 2012-09-27 David S. Miller <davem@davemloft.net>
46357
46358 [BZ #14376]
46359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46360 pass reloc->r_addend in as the 'high' argument to
46361 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46362
46363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46364
46365 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46366
46367 * rt/tst-aio2.c: Include <pthread.h>.
46368 * rt/tst-aio3.c: Likewise.
46369
46370 2012-09-27 Steve Ellcey <sellcey@mips.com>
46371
46372 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46373
46374 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46375
46376 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46377 contents on [SHARED].
46378
46379 2012-09-26 Marek Polacek <polacek@redhat.com>
46380
46381 [BZ #14530]
46382 [BZ #13741]
46383 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46384 for C++ and GCC <4.3 as well as for non GCC compilers.
46385
46386 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46387
46388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46389
46390 2012-09-25 Roland McGrath <roland@hack.frob.com>
46391
46392 * Makefile.in (all, install): Declare with .PHONY.
46393 Reported by Michael Hope <michael.hope@linaro.org>.
46394
46395 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46396
46397 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46398 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46399 system header.
46400 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46401 Likewise.
46402 (sydep_routines): Add the new and the internal functions.
46403 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46404 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46406 (GLIBC_2.17): Add the new function.
46407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46408 (GLIBC_2.17): Likewise.
46409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46410 (GLIBC_2.17): Likewise.
46411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46412 (GLIBC_2.17): Likewise.
46413 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46414
46415 2012-09-25 Alan Modra <amodra@gmail.com>
46416
46417 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46418 Add release barrier before setting once_control to say
46419 initialisation is done. Add hints on lwarx. Use macro in
46420 place of isync.
46421 (clear_once_control): Add release barrier.
46422
46423 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46424
46425 [BZ #13629]
46426 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46427 specially.
46428 * math/s_clog10.c (__clog10): Likewise.
46429 * math/s_clog10f.c (__clog10f): Likewise.
46430 * math/s_clog10l.c (__clog10l): Likewise.
46431 * math/s_clogf.c (__clogf): Likewise.
46432 * math/s_clogl.c (__clogl): Likewise.
46433 * math/Makefile (libm-calls): Add x2y2m1.
46434 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46435 (__x2y2m1): Likewise.
46436 (__x2y2m1l): Likewise.
46437 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46438 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46439 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46440 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46441 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46442 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46443 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46444 * sysdeps/i386/fpu/libm-test-ulps: Update.
46445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46446
46447 [BZ #14621]
46448 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46449 int as type of variable DEPTH.
46450 (glob): Use size_t instead of int as type of variables NEWCOUNT
46451 and OLD_PATHC.
46452
46453 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46454
46455 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46456 Add s_sincosf-sse2.
46457 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46458 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46459 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46460 macros for using routine as __sincosf_ia32.
46461 Use macro for function declaration and weak_alias.
46462 * sysdeps/i386/fpu/libm-test-ulps: Update.
46463
46464 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46466
46467 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46468 subnormal argument.
46469 * math/s_cexpf.c (__cexpf): Likewise.
46470 * math/s_csinf.c (__csinf): Likewise.
46471 * math/s_csinhf.c (__csinhf): Likewise.
46472 * math/s_ctanf.c (__ctanf): Likewise.
46473 * math/s_ctanhf.c (__ctanhf): Likewise.
46474 * math/s_ccosh.c (__ccoshf): Likewise.
46475 * math/s_cexp.c (__cexpl): Likewise.
46476 * math/s_csin.c (__csin): Likewise.
46477 * math/s_csinh.c (__csinh): Likewise.
46478 * math/s_ctan.c (__ctan): Likewise.
46479 * math/s_ctanh.c (ctanh): Likewise.
46480 * math/s_ccoshl.c (__ccoshl): Likewise.
46481 * math/s_cexpl.c (__cexpl): Likewise.
46482 * math/s_csinl.c (__csinl): Likewise.
46483 * math/s_csinhl.c (__csinhl): Likewise.
46484 * math/s_ctanl.c (__ctanl): Likewise.
46485 * math/s_ctanhl.c (__ctanhl): Likewise.
46486
46487 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46488
46489 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46490 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46491 (_IO_off_t): Define to __off_t, not _G_off_t.
46492 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46493 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46494 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46495 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46496 type of __dummy and __dummy2 fields.
46497 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46498 (_G_ssize_t): Likewise.
46499 (_G_off_t): Likewise.
46500 (_G_pid_t): Likewise.
46501 (_G_uid_t): Likewise.
46502 (_G_wchar_t): Likewise.
46503 (_G_wint_t): Likewise.
46504 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46505 (_G_ssize_t): Likewise.
46506 (_G_off_t): Likewise.
46507 (_G_pid_t): Likewise.
46508 (_G_uid_t): Likewise.
46509 (_G_wchar_t): Likewise.
46510 (_G_wint_t): Likewise.
46511 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46512 (_G_ssize_t): Likewise.
46513 (_G_off_t): Likewise.
46514 (_G_pid_t): Likewise.
46515 (_G_uid_t): Likewise.
46516 (_G_wchar_t): Likewise.
46517 (_G_wint_t): Likewise.
46518
46519 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46520
46521 * malloc/arena.c: Include malloc-sysdep.h.
46522 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46523 is sufficient to shrink the heap or an unmap is needed.
46524 * sysdeps/generic/malloc-sysdep.h: New file. Define
46525 new function check_may_shrink_heap.
46526 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46527 new function check_may_shrink_heap.
46528
46529 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46530
46531 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46532 comments.
46533
46534 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46535
46536 * catgets/test-gencat.sh: Add "set -e".
46537 * elf/tst-pathopt.sh: Likewise.
46538 * grp/tst_fgetgrent.sh: Likewise.
46539 * iconvdata/run-iconv-test.sh: Likewise.
46540 * intl/tst-gettext.sh: Likewise.
46541 * intl/tst-gettext2.sh: Likewise.
46542 * intl/tst-gettext4.sh: Likewise.
46543 * intl/tst-gettext6.sh: Likewise.
46544 * intl/tst-translit.sh: Likewise.
46545 * io/ftwtest-sh: Likewise.
46546 * libio/test-freopen.sh: Likewise.
46547 * malloc/tst-mtrace.sh: Likewise.
46548 * posix/globtest.sh: Likewise.
46549 * posix/tst-getconf.sh: Likewise.
46550 * posix/wordexp-tst.sh: Likewise.
46551 * stdio-common/tst-printf.sh: Likewise.
46552 * stdio-common/tst-unbputc.sh: Likewise.
46553 * stdlib/tst-fmtmsg.sh: Likewise.
46554 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46555 * catgets/Makefile: Do not specify -e option when running
46556 testsuite shell scripts.
46557 * elf/Makefile: Likewise.
46558 * grp/Makefile: Likewise.
46559 * iconvdata/Makefile: Likewise.
46560 * intl/Makefile: Likewise.
46561 * io/Makefile: Likewise.
46562 * libio/Makefile: Likewise.
46563 * malloc/Makefile: Likewise.
46564 * posix/Makefile: Likewise.
46565 * stdio-common/Makefile: Likewise.
46566 * stdlib/Makefile: Likewise.
46567 * sysdeps/x86_64/Makefile: Likewise.
46568
46569 * io/ftwtest-sh: Add copyright header.
46570 * posix/globtest.sh: Likewise.
46571 * posix/tst-getconf.sh: Likewise.
46572 * posix/wordexp-tst.sh: Likewise.
46573 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46574
46575 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46576
46577 [BZ #13679]
46578 * Makeconfig (+link): Defined as $(+link-static) if
46579 $(build-shared) isn't yes.
46580 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46581 isn't yes.
46582 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46583
46584 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46585
46586 [BZ #14562]
46587 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46588 new chunk size with MALLOC_ALIGN_MASK.
46589
46590 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46591
46592 [BZ #5044]
46593 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46594 <rounding-mode.h>.
46595 (__printf_fphex): Determine rounding using get_rounding_mode and
46596 round_away.
46597 * stdio-common/tst-printf-round.c (struct hex_test): New
46598 structure.
46599 (hex_tests): New variable.
46600 (test_hex_in_one_mode): New function.
46601 (do_test): Also run tests for hex float output.
46602
46603 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46604
46605 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46606 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46607 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46608 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46609 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46610 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46611 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46612 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46613
46614 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46615
46616 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46617 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46618 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46619 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46620
46621 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46622
46623 [BZ #14579]
46624 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46625 mode only.
46626 * elf/tst-rtld-load-self.sh: New test.
46627 * elf/Makefile: Run it.
46628
46629 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46630
46631 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46632 (tst-writev-ENV): Remove.
46633 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46634
46635 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46636
46637 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46638
46639 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46640
46641 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46642 unconditional.
46643 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46644 Likewise.
46645 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46646 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46648 Likewise.
46649
46650 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46651
46652 [BZ #14587]
46653 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46654 * config.make.in (have-cpp-asm-debuginfo): Removed.
46655 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46656 * configure: Regenerated.
46657
46658 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46659
46660 [BZ #5044]
46661 * stdio-common/printf_fp.c: Include <stdbool.h> and
46662 <rounding-mode.h>.
46663 (___printf_fp): Determine rounding using get_rounding_mode and
46664 round_away.
46665 * stdio-common/tst-printf-round.c: New file.
46666 * stdio-common/Makefile (tests): Add tst-printf-round.
46667 (link-libm): New variable.
46668 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46669
46670 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46671
46672 [BZ #14576]
46673 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46674 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46675 Likewise.
46676 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46677 Likewise.
46678
46679 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46680
46681 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46682 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46683 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46684 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46685
46686 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46687
46688 [BZ #14518]
46689 * include/rounding-mode.h: New file.
46690 * sysdeps/generic/get-rounding-mode.h: Likewise.
46691 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46692 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46693 (MAX_VALUE): New macro.
46694 (MIN_VALUE): Likewise.
46695 (overflow_value): New function.
46696 (underflow_value): Likewise.
46697 (round_and_return): Use overflow_value and underflow_value to
46698 determine return values in overflow and underflow cases. Use
46699 round_away to determine rounding depending on rounding mode.
46700 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46701 determine return values in overflow and underflow cases.
46702 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46703 (struct test_results): New structure.
46704 (struct test): Use struct test_results to store expected results
46705 for all rounding modes.
46706 (TEST): Include expected results for all rounding modes.
46707 (test_in_one_mode): New function.
46708 (do_test): Use test_in_one_mode to compute and check results.
46709 Check results for all rounding modes.
46710 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46711 $(link-libm).
46712
46713 2012-12-09 Allan McRae <allan@archlinux.org>
46714
46715 * sysdeps/i386/fpu/libm-test-ulps: Update
46716
46717 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46718
46719 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46720 (_G_int32_t): Likewise.
46721 (_G_uint16_t): Likewise.
46722 (_G_uint32_t): Likewise.
46723 (_G_HAVE_BOOL): Likewise.
46724 (_G_HAVE_ATEXIT): Likewise.
46725 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46726 (_G_HAVE_IO_FILE_OPEN): Likewise.
46727 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46728 (_G_int32_t): Likewise.
46729 (_G_uint16_t): Likewise.
46730 (_G_uint32_t): Likewise.
46731 (_G_HAVE_BOOL): Likewise.
46732 (_G_HAVE_ATEXIT): Likewise.
46733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46734 (_G_HAVE_IO_FILE_OPEN): Likewise.
46735 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46736 (_G_int32_t): Likewise.
46737 (_G_uint16_t): Likewise.
46738 (_G_uint32_t): Likewise.
46739 (_G_HAVE_BOOL): Likewise.
46740 (_G_HAVE_ATEXIT): Likewise.
46741 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46742 (_G_HAVE_IO_FILE_OPEN): Likewise.
46743
46744 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46745
46746 * csu/libc-tls.c: Update copyright years.
46747
46748 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46749
46750 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46751 [!_G_USING_THUNKS]: Remove conditional code.
46752 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46753 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46754
46755 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46756 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46757 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46758 (_G_VTABLE_LABEL_PREFIX): Likewise.
46759 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46760 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46761 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46762 (_G_VTABLE_LABEL_PREFIX): Likewise.
46763 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46764 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46765 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46766 (_G_VTABLE_LABEL_PREFIX): Likewise.
46767 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46768
46769 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46770
46771 * libio/Makefile: Include ../Makeconfig before tests.
46772 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46773 only if $(build-shared) is yes.
46774
46775 * iconv/gconv_db.c: Update copyright years.
46776
46777 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46778
46779 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46780 unwind info if defined PIC. Fix special cases description.
46781 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46782
46783 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46784 DP_HI_MASK entry.
46785 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46786
46787 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46788
46789 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46790
46791 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46792 is NULL.
46793
46794 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46795 (LDLIBS-tst-chk4): This.
46796 (LDFLAGS-tst-chk5): Renamed to ...
46797 (LDLIBS-tst-chk5): This.
46798 (LDFLAGS-tst-chk6): Renamed to ...
46799 (LDLIBS-tst-chk6): This.
46800 (LDFLAGS-tst-lfschk4): Renamed to ...
46801 (LDLIBS-tst-lfschk4): This.
46802 (LDFLAGS-tst-lfschk5): Renamed to ...
46803 (LDLIBS-tst-lfschk5): This.
46804 (LDFLAGS-tst-lfschk6): Renamed to ...
46805 (LDLIBS-tst-lfschk6): This.
46806
46807 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46808 on $(common-objpfx)soversions.mk.
46809
46810 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46811
46812 [BZ #10014]
46813 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46814 example host name.
46815
46816 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46817
46818 * malloc/arena.c (arena_get_retry): New function that gets
46819 another arena for the caller to try its request on.
46820 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46821 current arena cannot fulfill the request.
46822 (__libc_memalign): Likewise.
46823 (__libc_memalign): Likewise.
46824 (__libc_pvalloc): Likewise.
46825 (__libc_calloc): Likewise.
46826
46827 2012-09-05 John Tobey <john.tobey@gmail.com>
46828
46829 [BZ #13542]
46830 * manual/arith.texi (Operations on Complex): Fix description
46831 of carg branch cut.
46832
46833 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46834
46835 [BZ #10014]
46836 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46837 host name.
46838
46839 [BZ #10038]
46840 * manual/memory.texi (Memory): Make order of menu items match
46841 order of sections.
46842
46843 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46844
46845 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46846 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46847 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46848
46849 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46850
46851 * csu/libc-tls.c (static_dtv): Renamed to ...
46852 (_dl_static_dtv): This. Make it global.
46853 (_dl_initial_dtv): Removed.
46854 (__libc_setup_tls): Updated.
46855 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46856 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46857 DL_INITIAL_DTV.
46858
46859 2012-09-06 Petr Machata <pmachata@redhat.com>
46860
46861 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46862 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46863 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46864 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46865
46866 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46867
46868 [BZ #14545]
46869 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46870 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46871 freeing dtv[-1].
46872
46873 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46874
46875 [BZ #14544]
46876 * Makeconfig (link-static-before-libc): Replace $(+prector)
46877 with $(+prectorT).
46878 (link-static-after-libc): Replace $(+postctor) with
46879 $(+postctorT).
46880 (link-bounded): Replace $(+prector)/$(+postctor) with
46881 $(+prectorT)/$(+postctorT).
46882 (+prectorT): New macro.
46883 (+postctorT): Likewise.
46884
46885 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46886
46887 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46888 (round_str): Handle values above the maximum for IBM long double
46889 as inexact.
46890 * stdlib/tst-strtod-round.c (tests): Regenerated.
46891
46892 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46893
46894 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46895 assembler flag.
46896 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46897 zarch_nohighgprs around the zarch optimized routines.
46898 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46899 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46901 for zarch.
46902
46903 2012-09-05 David S. Miller <davem@davemloft.net>
46904
46905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46906
46907 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46908 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46909 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46910 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46911 entries.
46912
46913 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46914
46915 * malloc/arena.c: Fold copyright years.
46916 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46917
46918 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46919
46920 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46921
46922 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46923
46924 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46925
46926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46927
46928 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46929 change internal state upon failure.
46930
46931 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46932
46933 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46934 * malloc/memusage.c (mmap): Likewise.
46935 (mmap64, mremap): Likewise. Adjust name in comment.
46936
46937 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46938
46939 * libio/fileops.c: Fix typos in comments.
46940 * libio/oldfileops.c: Likewise.
46941 * libio/wfileops.c: Likewise.
46942
46943 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46944
46945 [BZ #1349]
46946 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46947 (tst-malloc-usable-ENV): Set environment for test case.
46948 * malloc/hooks.c (malloc_check_get_size): New function to get
46949 requested size.
46950 * malloc/malloc.c (musable): Use malloc_check_get_size.
46951 * malloc/tst-malloc-usable.c: New test case.
46952
46953 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46954
46955 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46956
46957 2012-09-05 Allan McRae <allan@archlinux.org>
46958
46959 [BZ #13966]
46960 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46961 determine header location.
46962 * configure: Regenerated.
46963
46964 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46965
46966 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46967 float format.
46968 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46969 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46970 format.
46971 (test): Regenerate.
46972
46973 2012-09-04 David S. Miller <davem@davemloft.net>
46974
46975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46977 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46978
46979 2012-09-04 Florian Weimer <fweimer@redhat.com>
46980
46981 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46982 failures.
46983
46984 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46985
46986 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46987
46988 [BZ #9914]
46989 * libio/iogetdelim.c: Include <limits.h>.
46990 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46991 + len + 1 would overflow.
46992
46993 2012-09-03 Andreas Jaeger <aj@suse.de>
46994
46995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46996 * sysdeps/i386/fpu/libm-test-ulps: Update.
46997
46998 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46999
47000 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47001 Add s_sinf-sse2, s_conf-sse2.
47002
47003 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47004 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47005 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47006 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47007
47008 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47009 for using routine as __sinf_ia32.
47010 Use macro for function declaration and weak_alias.
47011 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47012 for using routine as __cosf_ia32.
47013 Use macro for function declaration and weak_alias.
47014
47015 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47016 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47017
47018 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47019 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47021
47022 * math/libm-test.inc (cos_test): Add more test cases.
47023 (sin_test): Likewise.
47024 (sincos_test): Likewise.
47025
47026 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47027
47028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47029 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47030 hidden.
47031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47032
47033 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47034
47035 [BZ #14538]
47036 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47037 first element of the GOT.
47038 (elf_machine_load_address): Return the difference between
47039 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47040
47041 2012-09-01 Allan McRae <allan@archlinux.org>
47042
47043 [BZ #13412]
47044 * configure.in (AWK): Require gawk version 3.0 or later.
47045 * configure: Regenerated.
47046
47047 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47048
47049 * sysdeps/unix/sysv/linux/kernel-features.h
47050 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47052 [__NR_clock_getres]: Make code unconditional.
47053 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47054 (clock_getcpuclockid): Remove code left unreachable by removal of
47055 conditionals.
47056 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47057 code unconditional.
47058 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47059 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47060 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47061 Make code unconditional.
47062 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47064 * sysdeps/unix/sysv/linux/clock_settime.c
47065 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47066 conditional code.
47067 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47068 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47069
47070 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47071
47072 [BZ #14476]
47073 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47074 scripts/test-installation.pl.
47075
47076 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47077 and $ld_so_version if it is set.
47078
47079 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47080
47081 [BZ #14516]
47082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47083 failure if reading from procfs failed.
47084 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47085
47086 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47087
47088 * sysdeps/unix/sysv/linux/kernel-features.h
47089 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47090 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47091 Remove conditional code.
47092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47093 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47094 Remove conditional code.
47095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47096 * sysdeps/unix/sysv/linux/i386/fxstat.c
47097 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47099 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47100 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47102 * sysdeps/unix/sysv/linux/i386/lxstat.c
47103 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47105 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47106 Remove conditional code.
47107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47108 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47109 Remove conditional code.
47110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47111 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47112 <kernel-features.h>.
47113 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47114 Remove.
47115 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47116 Remove conditional code.
47117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47118 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47119 Remove conditional.
47120
47121 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47122
47123 [BZ #5400]
47124 * NEWS: Add fixed bug number.
47125
47126 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47127
47128 [BZ #14519]
47129 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47130 underflowing exponent in case of negative sign.
47131 * stdlib/tst-strtod-round-data: Add more tests.
47132 * stdlib/tst-strtod-round.c (tests): Regenerated.
47133
47134 [BZ #3479]
47135 * stdlib/strtod_l.c (NDIG): Remove.
47136 (HEXNDIG): Likewise.
47137 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47138 smallest representable value.
47139 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47140 lie within an exact representation of 1/2 ulp of the result.
47141 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47142 unconditionally.
47143 (TENS_P9_IDX): Define unconditionally.
47144 (TENS_P9_SIZE): Likewise.
47145 (TENS_P10_IDX): Likewise.
47146 (TENS_P10_SIZE): Likewise.
47147 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47148 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47149 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47150 entries for 10^2^13 and 10^2^14.
47151 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47152 (TENS_P13_IDX): Define.
47153 (TENS_P13_SIZE): Likewise.
47154 (TENS_P14_IDX): Likewise.
47155 (TENS_P14_SIZE): Likewise.
47156 (_fpioconst_pow10): Change array size to
47157 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47158 unconditional.
47159 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47160 1024]: Add entries for 10^2^13 and 10^2^14.
47161 [LAST_POW10 > _LAST_POW10]: Remove #error.
47162 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47163 (_fpioconst_pow10): Change array size to
47164 FPIOCONST_POW10_ARRAY_SIZE.
47165 * stdlib/gen-fpioconst.c: New file.
47166 * stdlib/gen-tst-strtod-round.c: Likewise.
47167 * stdlib/tst-strtod-round-data: Likewise.
47168 * stdlib/tst-strtod-round.c: Likewise.
47169 * stdlib/Makefile (tests): Add tst-strtod-round.
47170
47171 [BZ #14459]
47172 * stdlib/strtod_l.c: Include <stdint.h>.
47173 (NDEBUG): Do not define.
47174 (round_and_return): Change EXPONENT parameter to type intmax_t.
47175 Rearrange calculations to avoid internal overflow possibilities.
47176 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47177 Rearrange calculations to avoid internal overflow possibilities.
47178 Assert that number fits inside MPNSIZE limbs.
47179 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47180 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47181 calculations and add assertions to avoid internal overflow
47182 possibilities. Add casts to avoid signed/unsigned operations.
47183 * stdlib/tst-strtod-overflow.c: New file.
47184 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47185
47186 2012-08-25 Marek Polacek <polacek@redhat.com>
47187
47188 * time/time.h: Fix some typos in comments.
47189
47190 2012-08-23 Roland McGrath <roland@hack.frob.com>
47191
47192 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47193 * posix/tst-rfc3484-2.c: Likewise.
47194 * posix/tst-rfc3484-3.c: Likewise.
47195
47196 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47197
47198 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47199 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47200
47201 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47202
47203 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47204 #include of fxstatat64.c.
47205
47206 2012-08-22 Roland McGrath <roland@hack.frob.com>
47207
47208 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47209 * shadow/getspent_r.c: Likewise.
47210 * shadow/getspnam.c: Likewise.
47211 * shadow/getspnam_r.c: Likewise.
47212 * gshadow/getsgent.c: Likewise.
47213 * gshadow/getsgent_r.c: Likewise.
47214 * gshadow/getsgnam.c: Likewise.
47215 * gshadow/getsgnam_r.c: Likewise.
47216 * inet/getnetbyad.c: Likewise.
47217 * inet/getnetbyad_r.c: Likewise.
47218 * inet/getnetbynm.c: Likewise.
47219 * inet/getnetbynm_r.c: Likewise.
47220 * inet/getnetent.c: Likewise.
47221 * inet/getnetent_r.c: Likewise.
47222 * inet/getproto.c: Likewise.
47223 * inet/getproto_r.c: Likewise.
47224 * inet/getprtent.c: Likewise.
47225 * inet/getprtent_r.c: Likewise.
47226 * inet/getprtname.c: Likewise.
47227 * inet/getprtname_r.c: Likewise.
47228 * inet/getrpcbyname.c: Likewise.
47229 * inet/getrpcbyname_r.c: Likewise.
47230 * inet/getrpcbynumber.c: Likewise.
47231 * inet/getrpcbynumber_r.c: Likewise.
47232 * inet/getrpcent.c: Likewise.
47233 * inet/getrpcent_r.c: Likewise.
47234 * inet/getaliasent.c: Likewise.
47235 * inet/getaliasent_r.c: Likewise.
47236 * inet/getaliasname.c: Likewise.
47237 * inet/getaliasname_r.c: Likewise.
47238 * nscd/getgrgid_r.c: Likewise.
47239 * nscd/getgrnam_r.c: Likewise.
47240 * nscd/gethstbyad_r.c: Likewise.
47241 * nscd/gethstbynm3_r.c: Likewise.
47242 * nscd/getpwnam_r.c: Likewise.
47243 * nscd/getpwuid_r.c: Likewise.
47244 * nscd/getsrvbynm_r.c: Likewise.
47245 * nscd/getsrvbypt_r.c: Likewise.
47246 * nscd/gai.c: Likewise.
47247
47248 * configure.in (build_nscd): New substituted variable, set
47249 by --disable-build-nscd and defaults to $use_nscd.
47250 * configure: Regenerated.
47251 * config.make.in (build-nscd): New substituted variable.
47252 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47253 Change conditional to require [$(build-nscd) = yes] as well.
47254 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47255
47256 [BZ# 13696]
47257 * configure.in (use_nscd): New substituted variable, set by
47258 --disable-nscd. If enabled, define USE_NSCD.
47259 * configure: Regenerated.
47260 * config.h.in: Add USE_NSCD.
47261 * config.make.in (use-nscd): New substituted variable.
47262 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47263 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47264 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47265 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47266 (CFLAGS-getgrnam_r.c): Likewise.
47267 (CFLAGS-initgroups.c): Likewise.
47268 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47269 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47270 Variables removed.
47271 * inet/getnetgrent_r.c
47272 (nscd_setnetgrent): New function, broken out of ...
47273 (setnetgrent): ... here. Call it.
47274 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47275 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47276 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47277 * nscd/Makefile (routines, aux): Move definitions after include of
47278 Makeconfig. Conditionalize on [$(use-nscd) != no].
47279 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47280 Conditionalize on [USE_NSCD].
47281 (is_nscd, nscd_init_cb): Likewise.
47282 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47283 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47284 * nss/nss_db/db-init.c: Likewise.
47285 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47286 [USE_NSCD].
47287 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47288 (make_request): Use it.
47289 (cache_valid_p): New function.
47290 (__check_pf): Use it.
47291 * NEWS: Add item for --disable-nscd.
47292
47293 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47294
47295 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47296 to support sed >= 4.2.1-20-ga9bf076.
47297 * configure: Regenerated.
47298
47299 2012-08-22 Roland McGrath <roland@hack.frob.com>
47300
47301 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47302 Conditionalize whole body on [IREL].
47303
47304 2012-08-22 Jeff Law <law@redhat.com>
47305
47306 [BZ #14505]
47307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47308 if the family is PF_UNSPEC.
47309
47310 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47311
47312 * Makerules (lib-version): Rename from V.
47313 (install-lib-nosubdir): Change V to lib-version.
47314
47315 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47316
47317 [BZ #14252]
47318 * powerpc32/power6/wcschr.c: New file.
47319 * powerpc32/power6/wcscpy.c: New file.
47320 * powerpc32/power6/wcsrchr.c: New file.
47321 * powerpc64/power6/wcschr.c: New file.
47322 * powerpc64/power6/wcscpy.c: New file.
47323 * powerpc64/power6/wcsrchr.c: New file.
47324
47325 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47326
47327 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47328 (two_way_short_needle): Use it.
47329 * string/strstr.c (AVAILABLE1_USES_J): Define.
47330 * string/strcasestr.c: Likewise.
47331
47332 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47333 array references.
47334 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47335
47336 [BZ #11607]
47337 * NEWS: Add an entry.
47338 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47339 define their defaults.
47340 (two_way_short_needle): Detect end-of-string on-the-fly.
47341 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47342 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47343 * string/bug-strcasestr1.c: New test.
47344 * string/Makefile: Run it.
47345
47346 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47347
47348 [BZ #11607]
47349 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47350 the first character.
47351
47352 2012-08-21 Roland McGrath <roland@hack.frob.com>
47353
47354 * csu/elf-init.c (__libc_csu_irel): Function removed.
47355 * csu/libc-start.c (apply_irel): New function.
47356 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47357
47358 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47359
47360 * sysdeps/unix/sysv/linux/kernel-features.h
47361 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47362 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47363 <kernel-features.h>.
47364 [__NR_fadvise64_64]: Make code unconditional.
47365 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47366 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47367 !__NR_fadvise64_64)]: Likewise.
47368 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47369 !__NR_fadvise64_64))]: Likewise.
47370 [__NR_fadvise64]: Make code unconditional.
47371 [!__NR_fadvise64]: Remove conditional code.
47372 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47373 <kernel-features.h>.
47374 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47375 unconditional.
47376 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47377 conditional code.
47378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47379 not include <kernel-features.h>.
47380 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47381 unconditional.
47382 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47383 conditional code.
47384 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47385 include <kernel-features.h>.
47386 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47387 unconditional.
47388 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47389 conditional code.
47390
47391 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47392
47393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47394 slight instruction rearrangements per scrollpipe analysis.
47395 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47396
47397 2012-08-20 Roland McGrath <roland@hack.frob.com>
47398
47399 * manual/syslog.texi (syslog; vsyslog, closelog):
47400 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47401 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47402
47403 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47404 DSOCAPS to match condition on defining it.
47405
47406 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47407
47408 * sysdeps/unix/sysv/linux/kernel-features.h
47409 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47411 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47412 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47414 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47415 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47417 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47418 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47419
47420 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47421 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47422
47423 * sysdeps/unix/sysv/linux/kernel-features.h
47424 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47425 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47426 unconditional.
47427 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47428 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47429 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47430 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47431 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47432 Make code unconditional.
47433 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47434 (__mmap64) [!__NR_mmap2]: Likewise.
47435 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47436 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47437 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47438 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47439 [__NR_mmap2]: Make code unconditional.
47440 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47441 (__mmap64) [!__NR_mmap2]: Likewise.
47442
47443 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47444
47445 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47446
47447 2012-08-18 Andreas Jaeger <aj@suse.de>
47448
47449 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47450
47451 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47452
47453 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47454 * include/unistd.h (__have_sock_cloexec): Likewise.
47455 (__have_pipe2): Likewise.
47456 (__have_dup3): Likewise.
47457
47458 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47459
47460 [BZ #9685]
47461 * include/unistd.h (__have_pipe2): Change define into an extern int.
47462 (__have_dup3): Likewise.
47463 * socket/have_sock_cloexec.c: Include fcntl.h.
47464 (__have_pipe2): New variable.
47465 (__have_dup3): Likewise.
47466
47467 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47468
47469 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47470
47471 2012-08-17 Marek Polacek <polacek@redhat.com>
47472
47473 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47474 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47475
47476 2012-08-17 Roland McGrath <roland@hack.frob.com>
47477
47478 * configure.in: Add AC_SUBST for sysheaders.
47479 * configure: Regenerated.
47480 * config.make.in (sysheaders): New substituted variable.
47481
47482 * sysdeps/unix/mkfifo.c: Moved ...
47483 * sysdeps/posix/mkfifo.c: ... here.
47484 * sysdeps/unix/mkfifoat.c: Moved ...
47485 * sysdeps/posix/mkfifoat.c: ... here.
47486
47487 * sysdeps/unix/utime.c: Moved ...
47488 * sysdeps/posix/utime.c: ... here.
47489
47490 * sysdeps/unix/time.c: Moved ...
47491 * sysdeps/posix/time.c: ... here.
47492 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47493 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47494
47495 * sysdeps/unix/nice.c: Moved ...
47496 * sysdeps/posix/nice.c: ... here.
47497
47498 * sysdeps/unix/alarm.c: Moved ...
47499 * sysdeps/posix/alarm.c: ... here.
47500
47501 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47502
47503 2012-08-17 Jeff Law <law@redhat.com>
47504
47505 * intl/Makefile (codeset_mo): New variable.
47506 ($(codeset_mo)): New target.
47507 (tst-codeset.out): Depend on that. Remove explicit rule.
47508 (tst-gettext3.out, tst-gettext5.out): Likewise.
47509 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47510 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47511 * intl/tst-codeset.sh: Remove.
47512 * intl/tst-gettext3.sh: Likewise.
47513 * intl/tst-gettext5.sh: Likewise.
47514
47515 2012-08-17 Roland McGrath <roland@hack.frob.com>
47516
47517 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47518 * sysdeps/unix/syscalls.list: ... here.
47519
47520 * sysdeps/posix/getaddrinfo.c
47521 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47522 (gaiconf_init, gaiconf_reload): Use them.
47523 [!_STATBUF_ST_NSEC]
47524 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47525 Define using time_t rather than struct timespec.
47526
47527 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47528 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47529 Macros removed.
47530 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47531 [!NO_THREADS].
47532 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47533 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47534 Likewise.
47535
47536 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47537 __libc_cleanup_push argument.
47538
47539 * bits/param.h: New file.
47540 * misc/sys/param.h: New file.
47541 * include/sys/param.h: New file.
47542 * misc/Makefile (headers): Add bits/param.h.
47543 * sysdeps/generic/sys/param.h: File removed.
47544 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47545 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47546 * sysdeps/mach/hurd/bits/param.h: New file.
47547 * sysdeps/mach/hurd/sys/param.h: File removed.
47548
47549 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47550 last change.
47551
47552 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47553 [_IO_MTSAFE_IO].
47554 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47555 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47556 New macros.
47557
47558 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47559 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47560 rather than -D_IO_MTSAFE_IO conditionally.
47561 * stdio-common/Makefile (CPPFLAGS): Likewise.
47562 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47563 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47564 Use $(libio-mtsafe).
47565 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47566 of -D_IO_MTSAFE_IO.
47567 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47568 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47569 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47570 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47571 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47572 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47573 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47574 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47575 (CFLAGS-fread_u_chk.c): Likewise.
47576 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47577 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47578 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47579 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47580 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47581 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47582 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47583 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47584 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47585
47586 * libio/Makefile: Test [$(libc-reentrant) = yes]
47587 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47588
47589 * Makeconfig
47590 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47591 * sysdeps/pthread/configure: File removed.
47592 * sysdeps/pthread/Makeconfig: New file.
47593 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47594 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47595
47596 2012-08-16 Gary Benson <gbenson@redhat.com>
47597
47598 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47599 unmapping the first object in a namespace.
47600
47601 2012-08-16 Roland McGrath <roland@hack.frob.com>
47602
47603 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47604 (__internal_setnetgrent): ... this. Add internal_function to
47605 definition. Add libc_hidden_def.
47606 (setnetgrent): Update caller.
47607 (internal_endnetgrent): Renamed to ...
47608 (__internal_endnetgrent): ... this. Add internal_function to
47609 definition. Add libc_hidden_def.
47610 (endnetgrent): Update caller.
47611 (internal_getnetgrent_r): Renamed to ...
47612 (__internal_getnetgrent_r): ... this. Add internal_function to
47613 definition. Add libc_hidden_def.
47614 (__getnetgrent_r): Update caller.
47615 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47616
47617 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47618
47619 * stdlib/longlong.h: Update from GCC.
47620
47621 2012-08-16 Roland McGrath <roland@hack.frob.com>
47622
47623 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47624 on _QL, which is set by umul_ppmm but never used.
47625 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47626 variables, which are set by GMP macros but never used.
47627 * stdio-common/_itowa.c (_itowa): Likewise.
47628 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47629 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47630
47631 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47632
47633 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47634 struct La_sh_regs is not constant.
47635 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47636 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47637 and struct La_sparc64_regs are not constant.
47638
47639 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47640
47641 * sysdeps/unix/sysv/linux/kernel-features.h
47642 (__ASSUME_POSIX_TIMERS): Remove.
47643 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47645 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47646 Make code unconditional.
47647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47648 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47649 Make code unconditional.
47650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47651 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47652 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47654 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47655 Make code unconditional.
47656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47657 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47658 (__libc_missing_posix_timers): Remove.
47659
47660 2012-08-15 Roland McGrath <roland@hack.frob.com>
47661
47662 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47663 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47664
47665 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47666
47667 * elf/dl-sym.c: Include <stdlib.h>.
47668
47669 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47670 constants, which avoids warnings in 32-bit builds.
47671
47672 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47673 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47674
47675 * misc/lseek.c: File moved to ...
47676 * io/lseek.c: ... here.
47677
47678 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47679
47680 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47681 shifting LEN more than 31 bits at once.
47682
47683 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47684
47685 [BZ #14195]
47686 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47687 segmentation fault for a case of two empty input strings.
47688 * string/test-strncasecmp.c (check1): Renamed to...
47689 (bz12205): ...this.
47690 (bz14195): Add new testcase for two empty input strings and N > 0.
47691 (test_main): Call new testcase, adapt for renamed function.
47692
47693 2012-08-15 Andreas Jaeger <aj@suse.de>
47694
47695 [BZ #14090]
47696 * crypt/md5test2.c: New test, based on test supplied by Serge
47697 Belyshev <belyshev@depni.sinp.msu.ru>.
47698 * crypt/Makefile (xtests): Add md5test-giant..
47699 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47700
47701 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47702
47703 [BZ #14090]
47704 * crypt/md5.c (md5_process_block): Don't assume the buffer
47705 length is less than 2**32.
47706 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47707 length is less than 2**64.
47708
47709 2012-08-15 Roland McGrath <roland@hack.frob.com>
47710
47711 * string/str-two-way.h: Include <sys/param.h>.
47712 (MAX): Macro removed.
47713
47714 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47715 Move #define and #undef of memmove to just before and after
47716 including <string.h>.
47717
47718 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47719 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47720 and after including <string.h>. Move declarations of
47721 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47722 to before #include "string/memmove.c".
47723
47724 * include/dirent.h: Declare __getdirentries.
47725
47726 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47727 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47728
47729 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47730
47731 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47732 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47733 * sysdeps/i386/configure: Regenerated.
47734 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47735 STABS_CURRENT_FILE, and STABS_FUN.
47736 (END): Remove call to STABS_FUN_END.
47737 (STABS_CURRENT_FILE1): Delete.
47738 (STABS_CURRENT_FILE): Likewise.
47739 (STABS_FUN): Likewise.
47740 (STABS_FUN_END): Likewise.
47741 (STABS_FUN2): Likewise.
47742 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47743 * sysdeps/x86_64/configure: Regenerated.
47744
47745 2012-08-14 Roland McGrath <roland@hack.frob.com>
47746
47747 * elf/dl-open.c: Include <atomic.h>.
47748 * elf/dl-lookup.c: Likewise.
47749
47750 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47751
47752 * sysdeps/unix/sysv/linux/kernel-features.h
47753 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47754 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47755 unconditionally.
47756 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47757 unconditionally.
47758 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47759 condition on __ASSUME_CLONE_THREAD_FLAGS.
47760
47761 2012-08-14 Andreas Jaeger <aj@suse.de>
47762
47763 * sysdeps/i386/fpu/libm-test-ulps: Update.
47764
47765 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47766
47767 * include/atomic.h (atomic_exchange_and_add): Split into ...
47768 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47769 New atomic macros.
47770
47771 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47772
47773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47774
47775 2012-08-13 Jeff Law <law@redhat.com>
47776
47777 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47778 null byte in the output string.
47779
47780 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47781
47782 * sysdeps/unix/sysv/linux/kernel-features.h
47783 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47784 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47785 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47786 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47787 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47788 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47789 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47790
47791 2012-08-09 Jeff Law <law@redhat.com>
47792
47793 [BZ #13939]
47794 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47795 When avoid_arena is set, don't retry in the that arena. Pick the
47796 next one, whatever it might be.
47797 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47798 (arena_lock): Pass in new parameter to arena_get2.
47799 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47800 arena_get2.
47801 (__libc_malloc): Unify retrying after main arena failure with
47802 __libc_memalign version.
47803 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47804
47805 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47806
47807 [BZ #14166]
47808 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47809 to __redirect_strstr.
47810 (__strstr_sse42): Use typeof __redirect_strstr.
47811 (__strstr_ia32): Likewise.
47812 (__libc_strstr): New prototype.
47813 (strstr): Renamed to ...
47814 (__libc_strstr): This.
47815 (strstr): New strong alias of __libc_strstr.
47816 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47817 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47818 __redirect_time.
47819 Include <time.h>.
47820 (__libc_time): New prototype.
47821 (time_ifunc): Replace time with __libc_time.
47822 (time): New strong alias and hidden definition of __libc_time.
47823 (__GI_time): Remove strong alias.
47824 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47825 Include <stddef.h>.
47826 (memmove): Redefined to __redirect_memmove.
47827 (__memmove_sse2): Use typeof __redirect_memmove.
47828 (__memmove_ssse3): Likewise.
47829 (__memmove_ssse3_back): Likewise.
47830 (__libc_memmove): New prototype.
47831 (memmove): Renamed to ...
47832 (__libc_memmove): This.
47833 (memmove): New strong alias of __libc_memmove.
47834
47835 2012-08-08 Mark Salter <msalter@redhat.com>
47836
47837 * elf/elf.h
47838 (R_MN10300_TLS_GD): Define.
47839 (R_MN10300_TLS_LD): Likewise.
47840 (R_MN10300_TLS_LDO): Likewise.
47841 (R_MN10300_TLS_GOTIE): Likewise.
47842 (R_MN10300_TLS_IE): Likewise.
47843 (R_MN10300_TLS_LE): Likewise.
47844 (R_MN10300_TLS_DTPMOD): Likewise.
47845 (R_MN10300_TLS_DTPOFF): Likewise.
47846 (R_MN10300_TLS_TPOFF): Likewise.
47847 (R_MN10300_SYM_DIFF): Likewise.
47848 (R_MN10300_ALIGN): Likewise.
47849 (R_MN10300_NUM): Update.
47850
47851 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47852
47853 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47854 Remove.
47855
47856 2012-08-08 Roland McGrath <roland@hack.frob.com>
47857
47858 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47859
47860 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47861 sysdeps/unix -> sysdeps/posix move.
47862 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47863
47864 2012-08-07 Allan McRae <allan@archlinux.org>
47865
47866 [BZ #14303]
47867 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47868 (SUNOS_CPP): Likewise.
47869 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47870 not found.
47871 (open_input): Call CPP using execvp.
47872
47873 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47874
47875 * sysdeps/unix/sysv/linux/kernel-features.h
47876 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47877 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47878 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47879 (__ASSUME_WAITID_SYSCALL): Likewise.
47880 * sysdeps/unix/sysv/linux/dl-execstack.c
47881 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47882 code unconditional.
47883 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47884 conditional code.
47885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47886 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47887 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47888 code.
47889 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47890 unconditional.
47891 [__ASSUME_WAITID_SYSCALL]: Likewise.
47892 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47893
47894 2012-08-07 Roland McGrath <roland@hack.frob.com>
47895
47896 * sysdeps/unix/closedir.c: Renamed to ...
47897 * sysdeps/posix/closedir.c: ... here.
47898 * sysdeps/unix/dirfd.c: Renamed to ...
47899 * sysdeps/posix/dirfd.c: ... here.
47900 * sysdeps/unix/dirstream.h: Renamed to ...
47901 * sysdeps/posix/dirstream.h: ... here.
47902 * sysdeps/unix/fdopendir.c: Renamed to ...
47903 * sysdeps/posix/fdopendir.c: ... here.
47904 * sysdeps/unix/opendir.c: Renamed to ...
47905 * sysdeps/posix/opendir.c: ... here.
47906 * sysdeps/unix/readdir.c: Renamed to ...
47907 * sysdeps/posix/readdir.c: ... here.
47908 * sysdeps/unix/readdir_r.c: Renamed to ...
47909 * sysdeps/posix/readdir_r.c: ... here.
47910 * sysdeps/unix/rewinddir.c: Renamed to ...
47911 * sysdeps/posix/rewinddir.c: ... here.
47912 * sysdeps/unix/seekdir.c: Renamed to ...
47913 * sysdeps/posix/seekdir.c: ... here.
47914 * sysdeps/unix/telldir.c: Renamed to ...
47915 * sysdeps/posix/telldir.c: ... here.
47916 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47917 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47918 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47919 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47920
47921 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47922 * bits/fcntl.h: ... here.
47923
47924 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47925 not 0.
47926 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47927 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47928 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47929 (struct flock): Move l_start, l_len to the beginning.
47930 Use __pid_t for l_pid.
47931 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47932 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47933 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47934 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47935 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47936 [__USE_LARGEFILE64] (struct flock64): New type.
47937 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47938
47939 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47940 * bits/dirent.h: ... here.
47941
47942 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47943 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47944
47945 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47946
47947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47948 Change from 2.6.0 to 2.6.16.
47949 * sysdeps/unix/sysv/linux/configure: Regenerated.
47950 * sysdeps/unix/sysv/linux/kernel-features.h
47951 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47952 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47953 version.
47954 (__ASSUME_UTIMES): Likewise.
47955 (__ASSUME_CLONE_STOPPED): Remove.
47956 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47957 architectures, not kernel version.
47958 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47959 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47960 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47961 (__ASSUME_WAITID_SYSCALL): Likewise.
47962 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47963 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47964 * README: State 2.6.16 as minimum Linux kernel version. Do not
47965 refer to older versions.
47966
47967 2012-08-06 Roland McGrath <roland@hack.frob.com>
47968
47969 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47970 Define alphasort64 as an alias.
47971 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47972 Define versionsort64 as an alias.
47973 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47974 Define scandir64 as an alias.
47975 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47976 Define scandirat64 as an alias.
47977 * dirent/alphasort64.c (alphasort64):
47978 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47979 * dirent/versionsort64.c: Likewise.
47980 * dirent/scandir64.c: Likewise.
47981 * dirent/scandirat64.c: Likewise.
47982 * sysdeps/wordsize-64/alphasort.c: File removed.
47983 * sysdeps/wordsize-64/alphasort64.c: File removed.
47984 * sysdeps/wordsize-64/scandir.c: File removed.
47985 * sysdeps/wordsize-64/scandir64.c: File removed.
47986 * sysdeps/wordsize-64/scandirat.c: File removed.
47987 * sysdeps/wordsize-64/scandirat64.c: File removed.
47988 * sysdeps/wordsize-64/versionsort.c: File removed.
47989 * sysdeps/wordsize-64/versionsort64.c: File removed.
47990 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47992 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47993 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47994 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47995 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47996 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47998
47999 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48001 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48003 [defined __arch64__ || defined __sparcv9]
48004 (__INO_T_MATCHES_INO64_T): New macro.
48005 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48006 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48007 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48008 * sysdeps/unix/sysv/linux/bits/dirent.h
48009 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48010 (_DIRENT_MATCHES_DIRENT64): New macro.
48011
48012 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48013 Define lockf64 as an alias.
48014 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48015 Define fseeko64 as an alias.
48016 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48017 Define ftello64 as an alias.
48018 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48019 Define _IO_fgetpos64 and fgetpos64 as aliases.
48020 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48021 Define _IO_fsetpos64 and fsetpos64 as aliases.
48022 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48023 Conditionalize body on this.
48024 * libio/fseeko64.c: Likewise.
48025 * libio/ftello64.c: Likewise.
48026 * libio/iofgetpos64.c: Likewise.
48027 * libio/iofsetpos64.c: Likewise.
48028 * sysdeps/wordsize-64/lockf.c: File removed.
48029 * sysdeps/wordsize-64/lockf64.c: File removed.
48030 * sysdeps/wordsize-64/fseeko.c: File removed.
48031 * sysdeps/wordsize-64/fseeko64.c: File removed.
48032 * sysdeps/wordsize-64/ftello.c: File removed.
48033 * sysdeps/wordsize-64/ftello64.c: File removed.
48034 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48035 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48036 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48037 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48038 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48039 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48044 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48045 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48048
48049 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48051 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48053 [defined __arch64__ || defined __sparcv9]
48054 (__OFF_T_MATCHES_OFF64_T): New macro.
48055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48056 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48058 (__OFF_T_MATCHES_OFF64_T): New macro.
48059
48060 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48061
48062 * stdlib/secure-getenv.c (__secure_getenv): Replace
48063 GLIBC_2_16 with GLIBC_2_17.
48064
48065 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48066
48067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48068 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48069
48070 2012-08-03 David S. Miller <davem@davemloft.net>
48071
48072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48073
48074 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48075
48076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48077 Remove.
48078 (__ASSUME_CORRECT_SI_PID): Likewise.
48079 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48080 (__ASSUME_TMPFS_NAME): Likewise.
48081 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48082 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48083 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48084 (HAVE_AUX_SECURE): Make definition unconditional.
48085 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48086 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48087
48088 2012-08-03 Roland McGrath <roland@hack.frob.com>
48089
48090 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48091 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48092 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48093 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48094 __eloop_threshold instead of SYMLOOP_MAX.
48095
48096 * sysdeps/generic/eloop-threshold.h: New file.
48097 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48098 of MAXSYMLINKS.
48099 * elf/chroot_canon.c (chroot_canon): Likewise.
48100
48101 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48102
48103 [BZ #13717]
48104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48105 Change to 2.6.0 everywhere.
48106 * sysdeps/unix/sysv/linux/configure: Regenerated.
48107 * sysdeps/unix/sysv/linux/kernel-features.h
48108 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48109 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48110 kernel versions.
48111 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48112 (__ASSUME_FUTEX_REQUEUE): Remove.
48113 (__ASSUME_STATFS64): Define unconditionally.
48114 (__ASSUME_AT_SECURE): Likewise.
48115 (__ASSUME_CORRECT_SI_PID): Likewise.
48116 (__ASSUME_TGKILL): Define without depending on kernel version for
48117 i386.
48118 (__ASSUME_UTIMES): Likewise.
48119 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48120 kernel version.
48121 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48122 (__ASSUME_TMPFS_NAME): Likewise.
48123 * README: Update reference to Linux kernel versions.
48124
48125 2012-08-02 Marek Polacek <polacek@redhat.com>
48126
48127 [BZ# 14150]
48128 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48129 libc_cv_asm_type_prefix with %.
48130 * configure: Regenerated.
48131 * include/libc-symbols.h: Remove comment about
48132 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48133 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48134 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48135 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48136 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48137 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48138 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48139 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48140 * elf/tst-unique2mod1.c: Likewise.
48141 * elf/tst-unique1mod2.c: Likewise.
48142 * elf/tst-unique1mod1.c: Likewise.
48143 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48144 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48145 Replace ASM_TYPE_DIRECTIVE with .type.
48146 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48147 * sysdeps/i386/sysdep.h: Likewise.
48148 * sysdeps/x86_64/sysdep.h: Likewise.
48149 * sysdeps/sh/sysdep.h: Likewise.
48150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48151 Do not define ASM_TYPE_DIRECTIVE.
48152 * sysdeps/powerpc/sysdep.h: Likewise.
48153 * sysdeps/powerpc/powerpc32/sysdep.h:
48154 Replace ASM_TYPE_DIRECTIVE with .type.
48155 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48156 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48157 * sysdeps/i386/fpu/e_powf.S: Likewise.
48158 * sysdeps/i386/fpu/e_expl.S: Likewise.
48159 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48160 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48161 * sysdeps/i386/fpu/e_pow.S: Likewise.
48162 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48164 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48165 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48166 * sysdeps/i386/fpu/e_log2.S: Likewise.
48167 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48169 * sysdeps/i386/fpu/e_powl.S: Likewise.
48170 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48171 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48172 * sysdeps/i386/fpu/e_logl.S: Likewise.
48173 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48174 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48175 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48176 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48178 * sysdeps/i386/fpu/e_log.S: Likewise.
48179 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48180 * sysdeps/i386/fpu/e_logf.S: Likewise.
48181 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48182 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48183 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48184 * sysdeps/i386/fpu/e_log10.S: Likewise.
48185 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48186 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48187 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48188 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48189 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48190 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48191 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48192 * sysdeps/i386/i686/strtok.S: Likewise.
48193 * sysdeps/i386/i386-mcount.S: Likewise.
48194 * sysdeps/i386/strtok.S: Likewise.
48195 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48199 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48201 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48202 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48203 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48204 * sysdeps/x86_64/_mcount.S: Likewise.
48205 * sysdeps/x86_64/strtok.S: Likewise.
48206 * sysdeps/sh/_mcount.S: Likewise.
48207
48208 2012-08-01 Roland McGrath <roland@hack.frob.com>
48209
48210 * libio/iofopen.c: Include <fcntl.h>.
48211 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48212 (_IO_fopen64, fopen64): Define as aliases.
48213 * libio/iofopen64.c: Include <fcntl.h>.
48214 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48215 Conditionalize body on this.
48216 * sysdeps/wordsize-64/iofopen.c: File removed.
48217 * sysdeps/wordsize-64/iofopen64.c: File removed.
48218
48219 2012-08-01 Marek Polacek <polacek@redhat.com>
48220
48221 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48222 Use dlfcn directly instead of a variable.
48223 (binfmt-subdir): Do not define.
48224 (dlfcn): Likewise.
48225
48226 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48227
48228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48229 Remove all definitions.
48230 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48231 <kernel-features.h>.
48232 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48233 (miss_F_GETOWN_EX): Remove all definitions.
48234 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48235 macro definition.
48236 [!__ASSUME_FCNTL64]: Remove conditional code.
48237 [__ASSUME_FCNTL64]: Make code unconditional.
48238 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48239 <kernel-features.h>.
48240 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48241 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48242 (lockf64) [__NR_fcntl64]: Make code unconditional.
48243 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48244
48245 * sysdeps/unix/sysv/linux/kernel-features.h
48246 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48247 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48248 Make code unconditional.
48249 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48250 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48252 [__NR_vfork]: Make code unconditional.
48253 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48254 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48256 [__NR_vfork]: Make code unconditional.
48257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48259
48260 2012-08-01 Roland McGrath <roland@hack.frob.com>
48261
48262 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48263 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48264
48265 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48266 Define mkstemp64 as an alias.
48267 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48268 Define mkstemps64 as an alias.
48269 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48270 Define mkostemp64 as an alias.
48271 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48272 Define mkostemps64 as an alias.
48273 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48274 Conditionalize body on this.
48275 * misc/mkostemp64.c: Likewise.
48276 * misc/mkostemps64.c: Likewise.
48277 * misc/mkstemps64.c: Likewise.
48278 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48279 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48280 * sysdeps/wordsize-64/mkostemp.c: File removed.
48281 * sysdeps/wordsize-64/mkstemp.c: File removed.
48282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48286
48287 [BZ #14138]
48288 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48289 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48290 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48291 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48292
48293 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48294 compat_symbol macros from <shlib-compat.h> rather than the underlying
48295 default_symbol_version and symbol_version macros, so that DEFAULT
48296 lines in shlib-versions are respected.
48297 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48298
48299 2012-08-01 Florian Weimer <fweimer@redhat.com>
48300
48301 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48302 Declare with warn_unused_result.
48303 (setgid, setregid, setegid, setresgid): Likewise.
48304 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48305 Likewise.
48306 * WUR-REPORT: Remove set*id functions.
48307
48308 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48309
48310 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48311
48312 2012-07-31 Roland McGrath <roland@hack.frob.com>
48313
48314 [BZ #10191]
48315 * include/sys/socket.h (__libc_accept, __libc_accept4):
48316 Add attribute_hidden.
48317 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48318
48319 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48320 use of PTR_MANGLE.
48321 * inet/getnetgrent_r.c (setup): Likewise.
48322
48323 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48324
48325 2012-07-31 David S. Miller <davem@davemloft.net>
48326
48327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48328
48329 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48330
48331 [BZ #13629]
48332 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48333 value between 1.0 and 2.0 and smaller part has absolute value less
48334 than 1.0.
48335 * math/s_clog10.c (__clog10): Likewise.
48336 * math/s_clog10f.c (__clog10f): Likewise.
48337 * math/s_clog10l.c (__clog10l): Likewise.
48338 * math/s_clogf.c (__clogf): Likewise.
48339 * math/s_clogl.c (__clogl): Likewise.
48340 * math/libm-test.inc (clog_test): Add more tests.
48341 (clog10_test): Likewise.
48342 * sysdeps/i386/fpu/libm-test-ulps: Update.
48343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48344
48345 2012-07-31 Florian Weimer <fweimer@redhat.com>
48346
48347 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48348 Exit with zero in case no suitable GID is found, and write a
48349 message to standard error.
48350
48351 2012-07-30 Roland McGrath <roland@hack.frob.com>
48352
48353 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48354 rather than to 1.
48355 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48356 (MAXPATHLEN): Removed.
48357 (NOGROUP, NODEV): New macros.
48358 (setbit, clrbit, isset, isclr): New macros.
48359 (howmany, roundup, powerof2): New macros.
48360 (DEV_BSIZE): New macro.
48361
48362 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48363 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48364
48365 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48366 definition on [!__NO_LONG_DOUBLE_MATH].
48367
48368 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48369 PTR_MANGLE and PTR_DEMANGLE.
48370
48371 * socket/accept4.c (accept4): Rename to __libc_accept4.
48372 Define accept4 as a weak alias.
48373
48374 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48375 on [_DIRENT_HAVE_D_TYPE].
48376 * io/ftw.c (ftw_dir): Likewise.
48377
48378 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48379
48380 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48381
48382 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48383 Use the BSD numbers rather than the arbitrary ones we had.
48384 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48385 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48386 (SIGXCPU, SIGXFSZ): New macros.
48387 (_NSIG): Now 32.
48388
48389 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48390 initializer on [_LIBC_REENTRANT].
48391
48392 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48393 definitions inside [_POSIX_MAPPED_FILES].
48394
48395 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48396
48397 * dirent/opendir.c: Include <fcntl.h>.
48398
48399 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48400 (__libc_getspecific): Likewise.
48401 (__libc_key_create): Likewise.
48402
48403 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48404 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48405 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48406 (tmpfile64): Define as alias.
48407 * sysdeps/wordsize-64/tmpfile.c: File removed.
48408 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48409 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48410 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48411
48412 * stdio-common/vfscanf.c: Include <stdbool.h>.
48413 * nss/makedb.c: Likewise.
48414 * stdio-common/_i18n_number.h: Likewise.
48415 * argp/argp-help.c: Likewise.
48416 * posix/wordexp.c: Likewise.
48417 * sysdeps/posix/spawni.c: Likewise.
48418 * nss/nss_files/files-initgroups.c: Likewise.
48419 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48420 * nss/nss_files/files-initgroups.c: Likewise.
48421 * nss/nss_db/db-netgrp.c: Likewise.
48422 * nss/nss_db/db-initgroups.c: Likewise.
48423 * io/fchmodat.c: Include <sys/stat.h>.
48424
48425 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48426 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48427
48428 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48429 [HAVE_MMAP].
48430
48431 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48432 Add multiple inclusion protection.
48433
48434 2012-07-27 David S. Miller <davem@davemloft.net>
48435
48436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48437
48438 2012-07-27 Gary Benson <gbenson@redhat.com>
48439
48440 [BZ #14298]
48441 * elf/rtld.c: Include <stap-probe.h>.
48442 (dl_main): Added static probes "init_start" and "init_complete".
48443 * elf/dl-load.c: Include <stap-probe.h>.
48444 (lose): Take new parameter "nsid".
48445 Added static probe "map_failed".
48446 (_dl_map_object_from_fd): Pass namespace id to lose.
48447 Added static probe "map_start".
48448 (open_verify): Pass namespace id to lose.
48449 * elf/dl-open.c: Include <stap-probe.h>.
48450 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48451 and "reloc_complete".
48452 * elf/dl-close.c: Include <stap-probe.h>.
48453 (_dl_close_worker): Added static probes "unmap_start" and
48454 "unmap_complete".
48455 * elf/rtld-debugger-interface.txt: New file documenting the above.
48456
48457 2012-07-26 Roland McGrath <roland@hack.frob.com>
48458
48459 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48460 rather than a string variable.
48461 * sunrpc/rpc_main.c (h_output): Likewise.
48462 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48463
48464 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48465
48466 * inet/check_native.c: New file.
48467
48468 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48469
48470 [BZ #13629]
48471 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48472 if larger part has absolute value 1.0.
48473 * math/s_clog10.c (__clog10): Likewise.
48474 * math/s_clog10f.c (__clog10f): Likewise.
48475 * math/s_clog10l.c (__clog10l): Likewise.
48476 * math/s_clogf.c (__clogf): Likewise.
48477 * math/s_clogl.c (__clogl): Likewise.
48478 * math/libm-test.inc (clog_test): Add more tests.
48479 (clog10_test): Likewise.
48480 * sysdeps/i386/fpu/libm-test-ulps: Update.
48481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48482
48483 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48484 (pltexit): Likewise.
48485 (La_regs): Likewise.
48486 (La_retval): Likewise.
48487 (int_retval): Likewise.
48488 Update #error for removed macros to refer only to definitions in
48489 tst-audit.h.
48490 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48491 macro.
48492 (pltexit): Likewise.
48493 (La_regs): Likewise.
48494 (La_retval): Likewise.
48495 (int_retval): Likewise.
48496 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48497 macro.
48498 (pltexit): Likewise.
48499 (La_regs): Likewise.
48500 (La_retval): Likewise.
48501 (int_retval): Likewise.
48502 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48503 macro.
48504 (pltexit): Likewise.
48505 (La_regs): Likewise.
48506 (La_retval): Likewise.
48507 (int_retval): Likewise.
48508 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48509 macro.
48510 (pltexit): Likewise.
48511 (La_regs): Likewise.
48512 (La_retval): Likewise.
48513 (int_retval): Likewise.
48514 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48515 macro.
48516 (pltexit): Likewise.
48517 (La_regs): Likewise.
48518 (La_retval): Likewise.
48519 (int_retval): Likewise.
48520 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48521 macro.
48522 (pltexit): Likewise.
48523 (La_regs): Likewise.
48524 (La_retval): Likewise.
48525 (int_retval): Likewise.
48526 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48527 macro definitions in tst-audit.h.
48528 * sysdeps/i386/tst-audit.h: New file.
48529 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48530 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48531 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48532 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48533 * sysdeps/sh/tst-audit.h: Likewise.
48534 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48535 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48536 * sysdeps/x86_64/tst-audit.h: Likewise.
48537
48538 2012-07-26 Andreas Jaeger <aj@suse.de>
48539
48540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48541 ptrace.
48542
48543 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48544 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48545 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48546 PTRACE_O_MASK.
48547 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48548 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48549 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48550
48551 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48552 value.
48553
48554 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48555 _sigsys.
48556 (si_call_addr, si_syscall, si_arch): Define new macro.
48557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48558 _sigsys.
48559 (si_call_addr, si_syscall, si_arch): Define new marcro.
48560 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48561 _sigsys.
48562 (si_call_addr, si_syscall, si_arch): Define new macro.
48563 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48564 _sigsys.
48565 (si_call_addr, si_syscall, si_arch): Define new macro.
48566
48567 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48568
48569 [BZ #13717]
48570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48571 Change to 2.4.21 where previously 2.4.1.
48572 * sysdeps/unix/sysv/linux/configure: Regenerated.
48573 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48574 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48575 Linux kernel version.
48576 (__ASSUME_STD_AUXV): Remove.
48577 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48578 kernel version.
48579 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48580 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48581 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48582 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48583 (__ASSUME_NETLINK_SUPPORT): Likewise.
48584 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48585 (__no_netlink_support): Remove conditional definition.
48586 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48587 Remove.
48588 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48589 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48591 (if_nameindex_ioctl): Remove.
48592 (if_nameindex_netlink): Do not handle __no_netlink_support.
48593 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48594 code.
48595 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48596 Remove conditional code.
48597 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48598 code.
48599 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48600 unconditional.
48601 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48602 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48603 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48604 Remove.
48605 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48606 [!__ASSUME_STD_AUXV]: Remove conditional code.
48607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48608 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48609 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48612 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48613 code.
48614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48616 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48617 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48618 conditional code.
48619 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48621 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48622 code.
48623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48624 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48625 conditional code.
48626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48627 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48628 code unconditional.
48629 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48630 conditional code.
48631 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48632 unconditional.
48633 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48634 conditional code.
48635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48636 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48637 unconditional.
48638 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48639 conditional code.
48640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48641 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48642 code unconditional.
48643 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48644 conditional code.
48645 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48646 unconditional.
48647 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48648 conditional code.
48649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48650 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48651 code unconditional.
48652 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48653 conditional code.
48654 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48655 unconditional.
48656 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48657 conditional code.
48658
48659 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48660
48661 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48662 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48663 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48664 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48665 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48666 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48667 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48668 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48669 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48670 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48671 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48672 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48673 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48674 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48675 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48677 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48679 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48681 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48682 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48684
48685 2012-07-25 Florian Weimer <fweimer@redhat.com>
48686
48687 * Versions.def: Add GLIBC_2.17.
48688 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48689 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48690 Introduce __libc_secure_getenv.
48691 * stdlib/Versions (2.17): Add secure_getenv
48692 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48693 * stdlib/secure-getenv.c: Rename __secure_getenv to
48694 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48695 symbol __secure_getenv for GLIBC_2.0.
48696 * stdlib/tst-secure-getenv.c: New.
48697 * stdlib/Makefile (tests): Add testcase.
48698 * manual/startup.texi (Environment Access): Document
48699 secure_getenv.
48700 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48701 __libc_secure_getenv.
48702 * inet/ruserpass.c (ruserpass): Likewise.
48703 * malloc/mtrace.c (mtrace): Likewise.
48704 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48705 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48706 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48707 * sysdeps/posix/tempname.c: Likewise. Evaluate
48708 HAVE_SECURE_GETENV.
48709 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48710 __secure_getenv to __libc_secure_getenv.
48711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48713 Likewise.
48714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48715 Likewise.
48716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48723
48724 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48725
48726 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48727 (struct La_i86_retval): Likewise.
48728 (struct La_x86_64_regs): Likewise.
48729 (struct La_x86_64_retval): Likewise.
48730 (struct La_x32_regs): Likewise.
48731 (struct La_x32_retval): Likewise.
48732 (struct La_ppc32_regs): Likewise.
48733 (struct La_ppc32_retval): Likewise.
48734 (struct La_ppc64_regs): Likewise.
48735 (struct La_ppc64_retval): Likewise.
48736 (struct La_sh_regs): Likewise.
48737 (struct La_sh_retval): Likewise.
48738 (struct La_s390_32_regs): Likewise.
48739 (struct La_s390_32_retval): Likewise.
48740 (struct La_s390_64_regs): Likewise.
48741 (struct La_s390_64_retval): Likewise.
48742 (struct La_sparc32_regs): Likewise.
48743 (struct La_sparc32_retval): Likewise.
48744 (struct La_sparc64_regs): Likewise.
48745 (struct La_sparc64_retval): Likewise.
48746 (struct audit_ifaces): Remove architecture-specific pltenter and
48747 pltexit members.
48748 * sysdeps/i386/ldsodefs.h: New file.
48749 * sysdeps/powerpc/ldsodefs.h: Likewise.
48750 * sysdeps/s390/ldsodefs.h: Likewise.
48751 * sysdeps/sh/ldsodefs.h: Likewise.
48752 * sysdeps/sparc/ldsodefs.h: Likewise.
48753 * sysdeps/x86_64/ldsodefs.h: Likewise.
48754
48755 2012-07-25 Marek Polacek <polacek@redhat.com>
48756
48757 [BZ #6808]
48758 * math/libm-test.inc (yn_test): Add another test.
48759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48760 to ERANGE when the result is +-Inf.
48761 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48762 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48763 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48764 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48765
48766 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48767
48768 * conform/data/time.h-data (NULL): Use macro-constant. Require
48769 equal to 0.
48770 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48771 clock_t.
48772 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48773
48774 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48775
48776 * configure.in <sysdeps resolving>: Correct printing
48777 Implies_before.
48778 * configure: Regenerate.
48779
48780 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48781
48782 * math/w_ilogb.c: Include <limits.h>.
48783 * math/w_ilogbl.c: Likewise.
48784
48785 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48786
48787 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48788 va_copy. Document allowing for unavailable va_copy only as
48789 pre-C99 compatibility.
48790 * manual/string.texi (Copying and Concatenation): Use va_copy
48791 instead of __va_copy in concat example.
48792
48793 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48794
48795 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48796 (__sendto): Use create_address_port. Initialize APORT and deallocate
48797 it if not null.
48798
48799 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48800 with O_NOLINK passed to __file_name_lookup.
48801
48802 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48803 with O_NOLINK passed to __file_name_lookup.
48804
48805 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48806 negative N or less than NGIDS.
48807
48808 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48809 type to string_t. Set ERANGE as errno and return it if NAME is not big
48810 enough. Use memcpy instead of strncpy.
48811
48812 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48813
48814 * elf/Makefile (check-data): Remove.
48815 (localplt.data): New vpath directive.
48816 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48817 instead of $(check-data).
48818 * scripts/data/localplt-generic.data: Move to ...
48819 * sysdeps/generic/localplt.data: ... here.
48820 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48821 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48822 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48824 ... here.
48825 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48827 ... here.
48828 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48830 ... here.
48831 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48833 ... here.
48834 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48836 ... here.
48837 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48839 ... here.
48840
48841 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48842
48843 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48844 PPC32 and PPC64 files.
48845 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48846 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48847
48848 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48849
48850 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48851 __makecontext_ret to ...
48852 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48853 ... here and call exit if uc_link is NULL. New file.
48854 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48855 __makecontext_ret.S.
48856 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48857 __makecontext_ret to ...
48858 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48859 ... here and call exit if uc_link is NULL. New file.
48860 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48861 __makecontext_ret.S.
48862
48863 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48864
48865 * elf/elf.h (R_390_IRELATIVE): New definition.
48866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48867 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48868 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48870 (elf_machine_lazy_rel): Likewise.
48871 * sysdeps/s390/dl-irel.h: New file.
48872 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48873 * sysdeps/s390/s390-64/memset.S: New asm code.
48874 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48875 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48877 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48878 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48879 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48881 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48882 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48883 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48884 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48885 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48886 * sysdeps/s390/s390-32/memset.S: New asm code.
48887 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48888
48889 2012-07-17 Marek Polacek <polacek@redhat.com>
48890
48891 [BZ #14349]
48892 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48893 * sysdeps/s390/s390-64/configure.in: Likewise.
48894 * sysdeps/sparc/configure.in: Likewise.
48895 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48896 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48897 * sysdeps/i386/configure.in: Likewise.
48898 * sysdeps/x86_64/configure.in: Likewise.
48899 * sysdeps/sh/configure.in: Likewise.
48900 * sysdeps/s390/s390-32/configure: Regenerated.
48901 * sysdeps/s390/s390-64/configure: Likewise.
48902 * sysdeps/x86_64/configure: Likewise.
48903 * sysdeps/sh/configure: Likewise.
48904 * sysdeps/powerpc/powerpc64/configure: Likewise.
48905 * sysdeps/powerpc/powerpc32/configure: Likewise.
48906 * sysdeps/sparc/configure: Likwise.
48907 * sysdeps/i386/configure: Likewise.
48908
48909 * elf/dl-open.c: Comment fixes.
48910
48911 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48912
48913 * Makefile [CXX] (check-data): Remove.
48914 [CXX] (c++-types.data): New vpath directive.
48915 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48916 vpath. Do not allow for C++ type data being missing.
48917 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48918 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48919 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48920 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48921 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48922 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48923 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48925 ... here.
48926 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48928 ... here.
48929 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48931 ... here.
48932 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48934 ... here.
48935 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48937 ... here.
48938 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48940 ... here.
48941 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48943 ... here.
48944 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48946
48947 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48948 definitions to architecture-specific files.
48949 (TLS_IE): Likewise.
48950 (TLS_LD): Likewise.
48951 (TLS_GD): Likewise.
48952 * sysdeps/i386/tls-macros.h: New file.
48953 * sysdeps/powerpc/tls-macros.h: Likewise.
48954 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48955 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48956 * sysdeps/sh/tls-macros.h: Likewise.
48957 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48958 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48959 * sysdeps/x86_64/tls-macros.h: Likewise.
48960
48961 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48962
48963 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48964 zero value for regular exit case.
48965
48966 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48967 (__start_context): Preserve zero value for regular exit case.
48968
48969 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48970 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48971
48972 * manual/setjmp.texi (setcontext): Clarify normal process
48973 termination when uc_link is the null pointer.
48974 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48975 exit call.
48976
48977 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48978
48979 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48980 preprocessor. Test for each exception mask separately.
48981
48982 2012-07-16 Andreas Jaeger <aj@suse.de>
48983
48984 * po/ru.po: Update from translation team.
48985
48986 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48987
48988 * conform/data/string.h-data (NULL): Use macro-constant. Require
48989 equal to 0.
48990 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48991 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48992 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48993 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48995
48996 2012-07-13 Andreas Jaeger <aj@suse.de>
48997
48998 * po/fr.po: Update from translation team.
48999
49000 2012-07-12 Marek Polacek <polacek@redhat.com>
49001
49002 [BZ #14173]
49003 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49004 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49005 loop condition.
49006
49007 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49008
49009 [BZ #13717]
49010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49011 Change to 2.4.1 where previously 2.4.0.
49012 * sysdeps/unix/sysv/linux/configure: Regenerated.
49013 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49014 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49015 version.
49016 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49017 (__ASSUME_AT_CLKTCK): Remove.
49018 (__ASSUME_AT_PAGESIZE): Likewise.
49019 (__ASSUME_AT_XID): Likewise.
49020 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49021 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49022 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49023 unconditionally.
49024 (HAVE_AUX_PAGESIZE): Likewise.
49025 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49026 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49027 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49028
49029 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49030
49031 [BZ #14307]
49032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49033 the temporary buffer used to invoke __gethostbyname2_r,
49034 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49035 host_data / struct gaih_addrtuple.
49036 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49037 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49038 header file nss/nsswitch.h.
49039 * nss/nsswitch.h (global scope): Add definition of implementation
49040 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49041 resolv/nss_dns/dns-host.c).
49042
49043 2012-07-11 Andreas Jaeger <aj@suse.de>
49044
49045 * po/fr.po: Update from translation team.
49046
49047 * po/sv.po: Update from translation team
49048 * po/fr.po: Another update from translation team.
49049
49050 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49051
49052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49053 for subnormals or multiply small sinh result by itself.
49054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49056
49057 2012-07-11 David S. Miller <davem@davemloft.net>
49058
49059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49060
49061 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49062
49063 [BZ #14347]
49064 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49065 (INTERNAL_MARK): Shift it here.
49066
49067 2012-07-10 Marek Polacek <polacek@redhat.com>
49068
49069 [BZ #14151]
49070 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49071 libc_cv_asm_global_directive with .globl.
49072 * configure: Regenerated.
49073 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49074 with .globl.
49075 * sysdeps/i386/configure: Regenerated.
49076 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49077 with .globl.
49078 * sysdeps/x86_64/configure: Regenerated.
49079 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49080 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49081 * elf/tst-unique2mod2.c: Likewise.
49082 * elf/tst-unique2mod1.c: Likewise.
49083 * elf/tst-unique1mod2.c: Likewise.
49084 * elf/tst-unique1mod1.c: Likewise.
49085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49086 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49088 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49089 * sysdeps/mach/sysdep.h: Likewise.
49090 * sysdeps/i386/sysdep.h: Likewise.
49091 * sysdeps/i386/i386-mcount.S: Likewise.
49092 * sysdeps/x86_64/_mcount.S: Likewise.
49093 * sysdeps/x86_64/sysdep.h: Likewise.
49094 * sysdeps/sh/_mcount.S: Likewise.
49095 * sysdeps/sh/sysdep.h: Likewise.
49096 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49097 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49098 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49100 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49101 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49102 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49103 * locale/localeinfo.h: Likewise.
49104 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49105 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49106
49107 2012-07-09 Roland McGrath <roland@hack.frob.com>
49108
49109 [BZ #14336]
49110 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49111 system".
49112 * manual/message.texi (The Uniforum approach): Likewise.
49113 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49114 (glibc iconv Implementation): Likewise.
49115
49116 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49117
49118 [BZ #14337]
49119 * math/s_clog.c (__clog): Avoid scaling a value down where that
49120 could result in underflow.
49121 * math/s_clog10.c (__clog10): Likewise.
49122 * math/s_clog10f.c (__clog10f): Likewise.
49123 * math/s_clog10l.c (__clog10l): Likewise.
49124 * math/s_clogf.c (__clogf): Likewise.
49125 * math/s_clogl.c (__clogl): Likewise.
49126 * math/libm-test.inc (clog_test): Add more tests.
49127 (clog10_test): Likewise.
49128 * sysdeps/i386/fpu/libm-test-ulps: Update.
49129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49130
49131 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49132
49133 [BZ #14283]
49134 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49135 by 7 not 8 to examine high bit of fractional part.
49136
49137 [BZ #14042]
49138 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49139 for call to __mcount_internal.
49140 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49141 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49142 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49143
49144 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49145
49146 [BZ #14154]
49147 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49148 approximation for values within 0x1p-13f of an odd multiple of
49149 pi/4.
49150 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49151 exception. Add more tests.
49152 * sysdeps/i386/fpu/libm-test-ulps: Update.
49153
49154 [BZ #6778]
49155 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49156 inputs and return -1 for them. Do not check for +Inf in case not
49157 reachable for +Inf.
49158 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49159 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49161 and return -1 for them. Do not check for +Inf in case not
49162 reachable for +Inf.
49163 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49164 define.
49165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49166 and return -1 for them. Do not check for +Inf in case not
49167 reachable for +Inf.
49168 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49169 spurious underflow.
49170 * sysdeps/i386/fpu/libm-test-ulps: Update.
49171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49172
49173 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49174
49175 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49176
49177 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49178
49179 [BZ #14157]
49180 [BZ #14331]
49181 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49182 could result in spurious underflow. Scale down values above
49183 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49184 * math/s_csqrtf.c (__csqrtf): Likewise.
49185 * math/s_csqrtl.c (__csqrtl): Likewise.
49186 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49187 spurious underflow.
49188 * sysdeps/i386/fpu/libm-test-ulps: Update.
49189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49190
49191 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49192
49193 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49194 xopen-msg.sed.
49195 * catgets/xopen-msg.awk: New file.
49196 * catgets/xopen-msg.sed: Removed.
49197
49198 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49199 po2text.sed.
49200 * intl/po2test.awk: New file.
49201 * intl/po2test.sed: Removed.
49202
49203 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49204
49205 [BZ #14328]
49206 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49207 or multiply small sinh result by itself.
49208 * math/s_ctanf.c (__ctanf): Likewise.
49209 * math/s_ctanh.c (__ctanh): Likewise.
49210 * math/s_ctanhf.c (__ctanhf): Likewise.
49211 * math/s_ctanhl.c (__ctanhl): Likewise.
49212 * math/s_ctanl.c (__ctanl): Likewise.
49213 * math/libm-test.inc (ctan_test_tonearest): New function.
49214 (ctan_test_towardzero): Likewise.
49215 (ctan_test_downward): Likewise.
49216 (ctan_test_upward): Likewise.
49217 (ctanh_test_tonearest): Likewise.
49218 (ctanh_test_towardzero): Likewise.
49219 (ctanh_test_downward): Likewise.
49220 (ctanh_test_upward): Likewise.
49221 (main): Call these new functions.
49222 * sysdeps/i386/fpu/libm-test-ulps: Update.
49223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49224
49225 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49226
49227 * .gitignore: Delete /ports entry.
49228
49229 2012-07-03 Andreas Jaeger <aj@suse.de>
49230
49231 * po/bg.po: Update from translation team.
49232 * po/cs.po: Likewise.
49233 * po/de.po: Likewise.
49234 * po/hr.po: Likewise.
49235 * po/nl.pl: Likewise.
49236 * po/pl.po: Likewise.
49237 * po/vi.po: Likewise.
49238
49239 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49240
49241 * Makeconfig [!+link] (+link-before-libc): New variable.
49242 [!+link] (+link-after-libc): Likewise.
49243 [!+link] (+link-tests): Likewise.
49244 [!+link] (+link): Define in terms of $(+link-before-libc) and
49245 $(+link-after-libc).
49246 [!+link-static] (+link-static-before-libc): New variable.
49247 [!+link-static] (+link-static-after-libc): Likewise.
49248 [!+link-static] (+link-static-tests): Likewise.
49249 [!+link-static] (+link-static): Define in terms of
49250 $(+link-static-before-libc) and $(+link-static-after-libc).
49251 [build-shared] (link-libc-before-gnulib): New variable.
49252 [build-shared] (link-libc-tests): Likewise.
49253 [build-shared] (link-libc): Define in terms of
49254 $(link-libc-before-gnulib).
49255 [!build-shared] (link-libc-tests): New variable.
49256 (link-libc-static-tests): New variable.
49257 [!gnulib] (gnulib-arch): New variable.
49258 [!gnulib] (gnulib-tests): Likewise.
49259 [!gnulib] (static-gnulib-arch): Likewise.
49260 [!gnulib] (static-gnulib-tests): Likewise.
49261 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49262 Define with "=" instead of ":=".
49263 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49264 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49265 * Rules (binaries-all-notests): New variable.
49266 (binaries-all-tests): Likewise.
49267 (binaries-static-notests): Likewise.
49268 (binaries-static-tests): Likewise.
49269 (binaries-all): Define using $(binaries-all-notests) and
49270 $(binaries-all-tests).
49271 (binaries-static): Define using $(binaries-static-notests) and
49272 $(binaries-static-tests).
49273 (binaries-shared-tests): New variable.
49274 (binaries-shared-notests): Likewise.
49275 (binaries-shared): Remove variable.
49276 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49277 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49278 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49279 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49280 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49281 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49282 * elf/Makefile (sln-modules): New variable.
49283 (extra-objs): Add $(sln-modules:=.o).
49284 (ldconfig-modules): Add static-stubs.
49285 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49286 * elf/static-stubs.c: New file.
49287
49288 [BZ #14283]
49289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49290 by 7 not 8 to examine high bit of fractional part. Use volatile
49291 variables when splitting into final array of floats if
49292 __FLT_EVAL_METHOD__ != 0.
49293 * math/libm-test.inc (cos_test): Add another test.
49294 (sin_test): Likewise.
49295 * sysdeps/i386/fpu/libm-test-ulps: Update.
49296
49297 [BZ #14273]
49298 * math/libm-test.inc (cosh_test): Add more tests.
49299
49300 * version.h (RELEASE): Set to "development".
49301 (VERSION): Set to "2.16.90".
49302
49303 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49304
49305 * NEWS: Update copyright. Remove last-updated date.
49306 Mention math library bug fixes and timezone data changes.
49307 * README: Mention GNU/Hurd, x32, and HPPA support status.
49308
49309 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49310
49311 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49312
49313 2012-06-27 Andreas Jaeger <aj@suse.de>
49314
49315 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49316
49317 2012-06-25 Andreas Jaeger <aj@suse.de>
49318
49319 * sysdeps/s390/fpu/libm-test-ulps: Update.
49320
49321 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49322 Thomas Schwinge <thomas@codesourcery.com>
49323
49324 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49325 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49327 fanotify_mark.
49328
49329 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49330
49331 * sysdeps/mach/start.c: Remove file.
49332 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49333 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49334 * sysdeps/sh/init-first.c: Likewise.
49335
49336 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49337 registers for frame unwinding purposes, add CFI directives.
49338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49340 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49341 Likewise.
49342
49343 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49344 __fortify_fail returning.
49345 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49346
49347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49348 sysdeps/sh/____longjmp_chk.S.
49349 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49350 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49351 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49352 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49353
49354 * sysdeps/sh/abort-instr.h: New file.
49355 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49356 process in case exit returns.
49357
49358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49359 initialize the GOT register before use.
49360
49361 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49362 calculation of ARGC > 4.
49363
49364 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49365 meaningful names to some local labels.
49366
49367 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49368 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49369
49370 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49371 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49372 (__arch_compare_and_exchange_val_16_acq): Likewise.
49373 (__arch_compare_and_exchange_val_32_acq): Likewise.
49374 (atomic_exchange_and_add): Fix gUSA sequence.
49375 (atomic_add): Likewise.
49376 (atomic_add_negative): Likewise.
49377 (atomic_add_zero): Likewise.
49378 (atomic_bit_test_set): Likewise.
49379
49380 2012-06-22 Andreas Schwab <schwab@redhat.com>
49381
49382 [BZ #13579]
49383 * include/link.h (struct link_map): Add l_free_initfini.
49384 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49385 l_initfini.
49386 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49387 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49388 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49389 set.
49390
49391 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49392
49393 * configure.in: Use AC_LANG_SOURCE.
49394 * configure: Regenerate.
49395
49396 2012-06-22 Roland McGrath <roland@hack.frob.com>
49397
49398 * configure.in (libc_cv_localstatedir): New substituted variable.
49399 * configure: Regenerated.
49400 * config.make.in (localstatedir): New variable, substituted from
49401 libc_cv_localstatedir.
49402 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49403 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49404 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49405 * sysdeps/gnu/configure: Regenerated.
49406
49407 2012-06-21 Jeff Law <law@redhat.com>
49408
49409 [BZ #14277]
49410 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49411 free. Simplify list management for _LIBC case.
49412
49413 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49414
49415 [BZ #14273]
49416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49417 Clear sign bit of 64-bit integer value before comparing against
49418 overflow value.
49419
49420 * sysdeps/mach/configure: Regenerated.
49421
49422 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49423
49424 [BZ #14278]
49425 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49426
49427 2012-06-21 Jeff Law <law@redhat.com>
49428
49429 [BZ #13882]
49430 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49431 uint16_t for elements in the "seen" array to avoid char overflows.
49432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49433 * elf/dl-open.c (dl_open_worker): Likewise.
49434
49435 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49436
49437 * scripts/list-sources.sh: Scan PORTS for translations.
49438 * po/libc.pot: Regenerated.
49439
49440 2012-06-21 Andreas Jaeger <aj@suse.de>
49441
49442 [BZ #12194]
49443 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49444 warning.
49445 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49446 * bits/byteswap-16.h (__bswap_16): Likewise.
49447 * bits/byteswap.h (__bswap_constant_16): Likewise.
49448
49449 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49450
49451 [BZ #14117]
49452 * sysdeps/i386/fpu_control.h: Removed.
49453 * sysdeps/x86_64/fpu_control.h: Moved to ...
49454 * sysdeps/x86/fpu_control.h: Here.
49455
49456 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49457 (_FPU_SETCW): Likewise.
49458
49459 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49460
49461 [BZ #14117]
49462 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49463 * sysdeps/x86/fpu/bits/mathinline.h: This.
49464 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49465
49466 [BZ #14050]
49467 [BZ #14117]
49468 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49469 functions if __x86_64__ is defined.
49470
49471 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49472
49473 * string/endian.h: Add !__ASSEMBLER__ condition for including
49474 conversion interfaces.
49475
49476 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49477
49478 [BZ #14241]
49479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49480 of ABS(x) in calculating zero to negative powers other than odd
49481 integers.
49482 * math/libm-test.inc (pow_test): Add more tests.
49483
49484 2012-06-15 Andreas Jaeger <aj@suse.de>
49485
49486 * manual/contrib.texi (Contributors): Update entry of Liubov
49487 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49488 Machado Filho.
49489
49490 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49491
49492 * string/string.h: Add __wur to GNU version of strerror_r.
49493
49494 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49495
49496 [BZ #14229]
49497 * string/Makefile (tests): Add tst-strtok_r.
49498 * string/tst-strtok_r.c: New file.
49499 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49500 RAX_LP/RDX_LP on SAVE_PTR.
49501
49502 2012-06-14 Roland McGrath <roland@hack.frob.com>
49503
49504 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49505
49506 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49507
49508 * libm_test.inc (csqrt_test): Allow more spurious underflow
49509 exceptions.
49510 (j0_test): Likewise.
49511 (j1_test): Likewise.
49512 (y0_test): Likewise.
49513 (y1_test): Likewise.
49514
49515 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49516
49517 * po/Makefile (libc.pot): Use UTF-8 charset.
49518
49519 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49520
49521 [BZ #14210]
49522 Suppress sign-conversion warning from FD_SET.
49523 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49524 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49525 not unsigned long int.
49526 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49527
49528 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49529
49530 [BZ #14050]
49531 [BZ #14117]
49532 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49533 __extern_always_inline instead of __extern_inline.
49534 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49535 (__signbit): Likewise.
49536 (__signbitl): Support C++ namespace.
49537 (lrintf): New inline function.
49538 (lrint): Likewise.
49539 (llrintf): Likewise.
49540 (llrint): Likewise.
49541 (fmaxf): Likewise.
49542 (fmax): Likewise.
49543 (fminf): Likewise.
49544 (fmin): Likewise.
49545 (rint): Likewise.
49546 (rintf): Likewise.
49547 (ceil): Likewise.
49548 (ceilf): Likewise.
49549 (floor): Likewise.
49550 (floorf): Likewise.
49551 (nearbyint): Likewise.
49552 (nearbyintf): Likewise.
49553
49554 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49555
49556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49557 non-default versions.
49558
49559 2012-06-11 Roland McGrath <roland@hack.frob.com>
49560
49561 [BZ #14218]
49562 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49563
49564 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49565
49566 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49567 (FE_UPWARD, FE_DOWNWARD): Don't define.
49568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49570
49571 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49572 reading it.
49573 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49575
49576 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49577
49578 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49580 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49581 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49582
49583 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49584
49585 [BZ #14117]
49586 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49587 * sysdeps/i386/fpu/Implies: New file.
49588 * sysdeps/x86_64/fpu/Implies: Likewise.
49589 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49590 * sysdeps/x86/fpu/bits/fenv.h: This.
49591
49592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49593 __SSE_MATH__.
49594
49595 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49596
49597 [BZ #14134]
49598 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49599 character 0xffff that matches the last element of the
49600 conversion table.
49601
49602 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49603
49604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49605 fmodl commit.
49606
49607 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49608
49609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49610 values higher than 25.6283.
49611
49612 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49613
49614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49615 subnormal exponent extraction and add some __builtin_expect.
49616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49617 Fix for subnormal mantissa calculation.
49618
49619 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49620
49621 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49622 cpu2 is -1 and errno is not ENOSYS.
49623
49624 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49625
49626 [BZ #14117]
49627 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49628 * sysdeps/x86/bits/string.h: This.
49629 * sysdeps/x86_64/bits/string.h: Removed.
49630
49631 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49632 if not compiling for x86-64, but compiling for >= i486.
49633
49634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49635 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49636
49637 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49638 New macro from Linux kernel 3.4.0.
49639 (FP_XSTATE_MAGIC2): Likewise.
49640 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49641 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49642 (struct _fpx_sw_bytes): New struct.
49643 (struct _xsave_hdr): Likewise.
49644 (struct _ymmh_state): Likewise.
49645 (struct _xstate): Likewise.
49646
49647 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49648 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49650 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49652 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49653
49654 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49656 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49657 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49658 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49659 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49660
49661 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49662
49663 [BZ #13743]
49664 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49665 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49666 (sysdep_headers): Include sys/platform/ppc.h.
49667 * sysdeps/powerpc/test-gettimebase.c: Test for
49668 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49669 * manual/Makefile (appendices): Include platform.texi.
49670 * manual/contrib.texi (Contributors): Update @node pointers.
49671 * manual/maint.texi (Maintenance): Likewise.
49672 (Platform): New node.
49673 * manual/platform.texi: New file. Document the new features.
49674
49675 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49676 Jakub Jelinek <jakub@redhat.com>
49677
49678 [BZ #14188]
49679 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49680 where __builtin_expect is unavailable.
49681
49682 2012-06-03 David S. Miller <davem@davemloft.net>
49683
49684 * stdlib/longlong.h: Updated from GCC.
49685
49686 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49687
49688 [BZ #14042]
49689 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49690 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49691 __mcount_internal.
49692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49693 (GLIBC_2.16): Likewise.
49694
49695 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49696
49697 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49698
49699 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49700
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49702 (default-abi): New variable.
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49704 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49705 variable.
49706 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49707 Likewise.
49708 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49709 Likewise.
49710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49711 Likewise.
49712
49713 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49714 definition. Document in comment.
49715
49716 2012-06-01 David S. Miller <davem@davemloft.net>
49717
49718 * stdlib/longlong.h: Updated from GCC.
49719
49720 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49721
49722 [BZ #14117]
49723 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49724 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49725 sys/debugreg.h sys/io.h here.
49726 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49727 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49728 sys/io.h.
49729 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49730 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49731 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49732 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49733 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49734 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49735
49736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49737 Define only if __x86_64__ is defined.
49738
49739 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49740
49741 [BZ #14048]
49742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49743 Use int64_t for variable i.
49744 * math/libm-test.inc (fmod_test): Add more tests.
49745
49746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49747 z computation is not scheduled after fetestexcept.
49748 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49749 Use math_force_eval instead of asm to ensure calculation scheduled
49750 before exception test.
49751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49752 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49753
49754 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49755
49756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49757 computation is not scheduled after fetestexcept.
49758
49759 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49760
49761 [BZ #14117]
49762 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49763 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49764
49765 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49766
49767 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49768 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49769
49770 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49771
49772 [BZ #14117]
49773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49774 <bits/wordsize.h>.
49775 (__WCHAR_MIN): Support __WORDSIZE == 64.
49776 (__WCHAR_MAX): Likewise.
49777
49778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49780
49781 [BZ #14183]
49782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49783 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49784
49785 [BZ #14117]
49786 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49787 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49788
49789 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49790 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49791
49792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49793 Defined to 1 if __x86_64__ isn't defined.
49794 (_STAT_VER_LINUX_OLD): New.
49795 (st_atime): Remove duplicate.
49796 (st_mtime): Likewise.
49797 (st_ctime): Likewise.
49798
49799 2012-05-31 David S. Miller <davem@davemloft.net>
49800
49801 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49802 entries.
49803
49804 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49805
49806 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49807 gen-libm-test.pl.
49808
49809 [BZ #14132]
49810 * elf/dl-reloc.c: Include <_itoa.h>.
49811 (_dl_reloc_bad_type): Remove use of INTUSE.
49812 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49813 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49814 * stdio-common/psiginfo.c (psiginfo): Likewise.
49815 * stdio-common/psignal.c (psignal): Likewise.
49816 * string/strsignal.c (strsignal): Likewise.
49817 * include/signal.h (_sys_siglist): Declare hidden proto.
49818 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49819 INTVARDEF with libc_hidden_data_def.
49820 * stdio-common/itoa-udigits.c: Likewise.
49821 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49822 (_itoa_lower_digits_internal): Remove declaration.
49823 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49824 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49825 (_sys_sigabbrev_internal): Remove aliases.
49826 (_sys_siglist): Define hidden alias.
49827
49828 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49829
49830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49831 bits/sysctl.h.
49832
49833 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49834
49835 [BZ #14117]
49836 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49837 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49838
49839 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49840 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49841 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49842 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49844 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49845
49846 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49848 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49849
49850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49851 with __addr.
49852 (insw): Likewise.
49853 (insl): Likewise.
49854 (outsb): Likewise.
49855 (outsw): Likewise.
49856 (outsl): Likewise.
49857
49858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49860 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49861
49862 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49863 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49866 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49867 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49868
49869 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49870 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49871
49872 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49873 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49874
49875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49877 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49878
49879 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49880 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49881 to ...
49882 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49883
49884 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49885 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49886 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49887
49888 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49889 for x86-64.
49890 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49891
49892 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49893
49894 * math/math.h (M_El): Use two more decimal places.
49895 (M_LOG2El): Likewise.
49896 (M_LOG10El): Likewise.
49897 (M_LN2l): Likewise.
49898 (M_LN10l): Likewise.
49899 (M_PIl): Likewise.
49900 (M_PI_2l): Likewise.
49901 (M_PI_4l): Likewise.
49902 (M_1_PIl): Likewise.
49903 (M_2_PIl): Likewise.
49904 (M_2_SQRTPIl): Likewise.
49905 (M_SQRT2l): Likewise.
49906 (M_SQRT1_2l): Likewise.
49907
49908 2012-05-31 David S. Miller <davem@davemloft.net>
49909
49910 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49911 values between float registers.
49912 * sysdeps/sparc/sparc64/memset.S: Likewise.
49913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49914
49915 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49916
49917 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49918 -D_FORTIFY_SOURCE=1.
49919 (CPPFLAGS-tst-longjmp_chk.c): Define.
49920 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49921 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49922 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49923 CFLAGS-tst-wchar-h.c.
49924
49925 2012-05-31 Marek Polacek <polacek@redhat.com>
49926
49927 [BZ #14132]
49928 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49929 __endmntent_internal): Remove declaration.
49930 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49931 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49932 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49933
49934 2012-05-30 David S. Miller <davem@davemloft.net>
49935
49936 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49937 (___Q_simulate_exceptions): Use real FP ops rather than writing
49938 into the %fsr.
49939 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49940 Likewise.
49941
49942 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49943
49944 [BZ #14117]
49945 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49946 * sysdeps/x86/bits/xtitypes.h: This.
49947
49948 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49949 * sysdeps/x86/bits/wordsize.h: This.
49950
49951 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49952 * sysdeps/x86/bits/huge_vall.h: This.
49953
49954 * sysdeps/i386/bits/select.h: Removed.
49955 * sysdeps/x86_64/bits/select.h: Renamed to ...
49956 * sysdeps/x86/bits/select.h: This.
49957
49958 * sysdeps/i386/bits/setjmp.h: Removed.
49959 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49960 * sysdeps/x86/bits/setjmp.h: This.
49961
49962 * sysdeps/i386/bits/mathdef.h: Removed.
49963 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49964 * sysdeps/x86/bits/mathdef.h: This.
49965
49966 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49967
49968 [BZ #14132]
49969 * include/sys/socket.h (__connect_internal)
49970 (__libc_sa_len_internal): Remove declaration.
49971 (__connect, __libc_sa_len): Declare hidden_proto.
49972 (SA_LEN): Remove use of INTUSE.
49973 * socket/connect.c: Add libc_hidden_def.
49974 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49975 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49976 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49977 alias.
49978 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49979 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49980 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49981 of adding _internal alias.
49982
49983 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49984
49985 [BZ #14117]
49986 * sysdeps/i386/bits/link.h: Removed.
49987 * sysdeps/i386/bits/linkmap.h: Likewise.
49988 * sysdeps/x86_64/bits/link.h: Renamed to ...
49989 * sysdeps/x86/bits/link.h: This.
49990 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49991 * sysdeps/x86/bits/linkmap.h: This.
49992
49993 * sysdeps/i386/bits/endian.h: Removed.
49994 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49995 * sysdeps/x86/bits/endian.h: This.
49996
49997 * sysdeps/i386/bits/byteswap.h: Removed.
49998 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49999 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50000 * sysdeps/x86/bits/byteswap.h: This.
50001 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50002 * sysdeps/x86/bits/byteswap-16.h: This.
50003 * sysdeps/i386/Implies: Add x86.
50004 * sysdeps/x86_64/Implies: Likewise.
50005
50006 2012-05-30 David S. Miller <davem@davemloft.net>
50007
50008 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50009 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50011 (FP_TRAPPING_EXCEPTIONS): Define.
50012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50013 (FP_TRAPPING_EXCEPTIONS): Define.
50014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50015 subnormals only when inexact has been signalled or underflow
50016 exceptions are enabled.
50017 (_FP_PACK_CANONICAL): Likewise.
50018
50019 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50020
50021 [BZ #14183]
50022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50023 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50024
50025 2012-05-30 Richard Henderson <rth@twiddle.net>
50026
50027 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50028 with #ifndef NOT_IN_libc.
50029
50030 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50031 marked to avoid plt entry.
50032
50033 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50034
50035 [BZ #14112]
50036 * Makeconfig (default-abi): New macro.
50037 (abi-includes): Likewise.
50038 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50039 $(abi-$(default-abi)-lib-soname) for soname if defined.
50040 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50041 abi-variants.
50042 * Makefile (installed-stubs): Likewise.
50043 * include/stubs-biarch.h: Removed.
50044 * scripts/lib-names.awk: Only handle one library at a time.
50045 * scripts/soversions.awk: Remove WORDSIZE support.
50046 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50047 entries.
50048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50049 Removed.
50050 (syscall-list-default-condition): Likewise.
50051 (syscall-list-default-condition): Likewise.
50052 (syscall-list-includes): Likewise.
50053 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50054 syscall-list-* with abi-*. Handle undefined abi-variants.
50055 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50056 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50057 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50058 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50059 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50060 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50061 Removed.
50062 (syscall-list-32-options): Likewise.
50063 (syscall-list-32-condition): Likewise.
50064 (syscall-list-64-options): Likewise.
50065 (syscall-list-64-condition): Likewise.
50066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50067 macro.
50068 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50069 Renamed to ...
50070 (abi-*): This.
50071 (abi-64-ld-soname): New macro.
50072 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50073 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50074 Renamed to ...
50075 (abi-*): This.
50076 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50077 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50078
50079 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50080
50081 * sysdeps/unix/sysv/linux/kernel-features.h
50082 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50083 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50084 include <kernel-features.h>.
50085 [!__NR_ftruncate64]: Remove conditional code.
50086 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50087 [__NR_ftruncate64]: Make code unconditional.
50088 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50089 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50090 include <kernel-features.h>.
50091 [!__NR_ftruncate64]: Remove conditional code.
50092 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50093 [__NR_ftruncate64]: Make code unconditional.
50094 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50096 include <kernel-features.h>.
50097 [!__NR_ftruncate64]: Remove conditional code.
50098 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50099 [__NR_ftruncate64]: Make code unconditional.
50100 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50102 include <kernel-features.h>.
50103 [!__NR_ftruncate64]: Remove conditional code.
50104 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50105 [__NR_ftruncate64]: Make code unconditional.
50106 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50107
50108 * configure.in (libc_cv_fpie): Weaken to a compile test using
50109 LIBC_TRY_CC_OPTION.
50110 * configure: Regenerated.
50111
50112 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50113
50114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50118 Refreshed.
50119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50125 Refreshed.
50126
50127 2012-05-27 David S. Miller <davem@davemloft.net>
50128
50129 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50130 (___Q_zero): New.
50131 (__Q_simulate_exceptions): Return void. Change to simulate
50132 exceptions by writing into the %fsr.
50133 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50134 (__Qp_handle_exceptions): Likewise.
50135 (numbers): Delete.
50136 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50137 __Qp_handle_exceptions.
50138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50139 __Qp_handle_exceptions.
50140 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50141 as unused and give dummy FP_RND_NEAREST initializer.
50142 (FP_INHIBIT_RESULTS): Define.
50143 (___Q_simulate_exceptions): Update declaration.
50144 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50145 formatting.
50146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50147 as unused and give dummy FP_RND_NEAREST initializer.
50148 (__Qp_handle_exceptions): Update declaration.
50149 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50150 formatting.
50151
50152 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50153
50154 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50155 the temporary FPU control word.
50156 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50157 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50159 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50160 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50161 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50162 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50163 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50164 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50165 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50167
50168 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50169
50170 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50171 fields.
50172
50173 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50174
50175 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50176 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50177 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50178 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50179 Likewise.
50180 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50181 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50182 Likewise.
50183
50184 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50185
50186 * po/h.po: Update from translation team.
50187
50188 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50189
50190 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50191
50192 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50193 handling of denormals.
50194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50195 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50196 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50197 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50201 Likewise.
50202
50203 2012-05-26 Marek Polacek <polacek@redhat.com>
50204
50205 [BZ #14152]
50206 * math/libm-test.inc (fma_test): Don't always expect underflow
50207 exception.
50208
50209 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50210
50211 [BZ #12416]
50212 * elf/tst-execstack.c: Include stackinfo.h.
50213 (do_test): Adjust test case to ensure that pthread_getattr_np
50214 behaviour remains the same after marking stack executable.
50215
50216 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50217
50218 * sysdeps/unix/sysv/linux/kernel-features.h
50219 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50220 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50221 kernel-features.h.
50222 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50223 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50224 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50225 kernel-features.h.
50226 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50227 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50228
50229 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50230
50231 * configure.in: Define the default includes to being none.
50232 * configure: Regenerated.
50233
50234 2012-05-25 Roland McGrath <roland@hack.frob.com>
50235
50236 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50237 * sysdeps/x86_64/setjmp.S: Likewise.
50238 * sysdeps/i386/bsd-setjmp.S: Likewise.
50239 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50240 * sysdeps/i386/setjmp.S: Likewise.
50241 * sysdeps/i386/__longjmp.S: Likewise.
50242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50243 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50244
50245 * include/stap-probe.h: New file.
50246 * configure.in: Handle --enable-systemtap.
50247 * configure: Regenerated.
50248 * config.h.in (USE_STAP_PROBE): New #undef.
50249 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50250 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50252
50253 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50254
50255 [BZ #13717]
50256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50257 to 2.4.0 where earlier.
50258 * sysdeps/unix/sysv/linux/configure: Regenerated.
50259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50260 <kernel-features.h>.
50261 [__ASSUME_32BITUIDS]: Make code unconditional.
50262 [!__ASSUME_32BITUIDS]: Remove conditional code.
50263 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50264 <kernel-features.h>.
50265 [__ASSUME_32BITUIDS]: Make code unconditional.
50266 [!__ASSUME_32BITUIDS]: Remove conditional code.
50267 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50268 [__ASSUME_32BITUIDS]: Make code unconditional.
50269 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50270 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50271 <kernel-features.h>.
50272 [__ASSUME_32BITUIDS]: Make code unconditional.
50273 [!__ASSUME_32BITUIDS]: Remove conditional code.
50274 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50275 <kernel-features.h>.
50276 [__ASSUME_32BITUIDS]: Make code unconditional.
50277 [!__ASSUME_32BITUIDS]: Remove conditional code.
50278 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50279 <kernel-features.h>.
50280 [__ASSUME_32BITUIDS]: Make code unconditional.
50281 [!__ASSUME_32BITUIDS]: Remove conditional code.
50282 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50283 <kernel-features.h>.
50284 [__ASSUME_32BITUIDS]: Make code unconditional.
50285 [!__ASSUME_32BITUIDS]: Remove conditional code.
50286 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50287 <kernel-features.h>.
50288 [__ASSUME_32BITUIDS]: Make code unconditional.
50289 [!__ASSUME_32BITUIDS]: Remove conditional code.
50290 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50291 <kernel-features.h>.
50292 [__ASSUME_32BITUIDS]: Make code unconditional.
50293 [!__ASSUME_32BITUIDS]: Remove conditional code.
50294 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50295 <kernel-features.h>.
50296 [__ASSUME_32BITUIDS]: Make code unconditional.
50297 [!__ASSUME_32BITUIDS]: Remove conditional code.
50298 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50299 <kernel-features.h>.
50300 [__ASSUME_32BITUIDS]: Make code unconditional.
50301 [!__ASSUME_32BITUIDS]: Remove conditional code.
50302 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50303 <kernel-features.h>.
50304 [__ASSUME_32BITUIDS]: Make code unconditional.
50305 [!__ASSUME_32BITUIDS]: Remove conditional code.
50306 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50307 <kernel-features.h>.
50308 [__ASSUME_32BITUIDS]: Make code unconditional.
50309 [!__ASSUME_32BITUIDS]: Remove conditional code.
50310 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50311 <kernel-features.h>.
50312 [__NR_setresgid] (__setresgid): Do not declare.
50313 [__ASSUME_32BITUIDS]: Make code unconditional.
50314 [!__ASSUME_32BITUIDS]: Remove conditional code.
50315 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50316 <kernel-features.h>.
50317 [__NR_setresuid] (__setresuid): Do not declare.
50318 [__ASSUME_32BITUIDS]: Make code unconditional.
50319 [!__ASSUME_32BITUIDS]: Remove conditional code.
50320 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50321 <kernel-features.h>.
50322 [__ASSUME_32BITUIDS]: Make code unconditional.
50323 [!__ASSUME_32BITUIDS]: Remove conditional code.
50324 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50325 <kernel-features.h>.
50326 [__ASSUME_32BITUIDS]: Make code unconditional.
50327 [!__ASSUME_32BITUIDS]: Remove conditional code.
50328 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50329 <kernel-features.h>.
50330 [__ASSUME_32BITUIDS]: Make code unconditional.
50331 [!__ASSUME_32BITUIDS]: Remove conditional code.
50332 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50333 <kernel-features.h>.
50334 [__ASSUME_32BITUIDS]: Make code unconditional.
50335 [!__ASSUME_32BITUIDS]: Remove conditional code.
50336 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50337 <kernel-features.h>.
50338 [__ASSUME_32BITUIDS]: Make code unconditional.
50339 [!__ASSUME_32BITUIDS]: Remove conditional code.
50340 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50341 <kernel-features.h>.
50342 [__ASSUME_32BITUIDS]: Make code unconditional.
50343 [!__ASSUME_32BITUIDS]: Remove conditional code.
50344 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50345 <kernel-features.h>.
50346 [__ASSUME_32BITUIDS]: Make code unconditional.
50347 [!__ASSUME_32BITUIDS]: Remove conditional code.
50348 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50349 <kernel-features.h>.
50350 [__ASSUME_32BITUIDS]: Make code unconditional.
50351 [!__ASSUME_32BITUIDS]: Remove conditional code.
50352 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50353 <kernel-features.h>.
50354 [__ASSUME_32BITUIDS]: Make code unconditional.
50355 [!__ASSUME_32BITUIDS]: Remove conditional code.
50356 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50357 <kernel-features.h>.
50358 [__ASSUME_32BITUIDS]: Make code unconditional.
50359 [!__ASSUME_32BITUIDS]: Remove conditional code.
50360 * sysdeps/unix/sysv/linux/kernel-features.h
50361 (__ASSUME_SETRESUID_SYSCALL): Remove.
50362 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50363 (__ASSUME_32BITUIDS): Likewise.
50364 (__ASSUME_LDT_WORKS): Likewise.
50365 (__ASSUME_O_DIRECTORY): Likewise.
50366 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50367 architecture but not kernel version.
50368 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50369 (__ASSUME_MMAP2_SYSCALL): Likewise.
50370 (__ASSUME_STAT64_SYSCALL): Likewise.
50371 (__ASSUME_IPC64): Likewise.
50372 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50373 <kernel-features.h>.
50374 [__ASSUME_32BITUIDS]: Make code unconditional.
50375 [!__ASSUME_32BITUIDS]: Remove conditional code.
50376 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50377 <kernel-features.h>.
50378 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50379 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50380 132096]: Remove conditional code.
50381 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50382 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50383 <kernel-features.h>.
50384 [__ASSUME_32BITUIDS]: Make code unconditional.
50385 [!__ASSUME_32BITUIDS]: Remove conditional code.
50386 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50387 <kernel-features.h>.
50388 [__ASSUME_32BITUIDS]: Make code unconditional.
50389 [!__ASSUME_32BITUIDS]: Remove conditional code.
50390 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50391 <kernel-features.h>.
50392 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50393 unconditional.
50394 (__setresgid): Do not declare.
50395 [__ASSUME_32BITUIDS]: Make code unconditional.
50396 [!__ASSUME_32BITUIDS]: Remove conditional code.
50397 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50398 <kernel-features.h>.
50399 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50400 unconditional.
50401 (__setresuid): Do not declare.
50402 [__ASSUME_32BITUIDS]: Make code unconditional.
50403 [!__ASSUME_32BITUIDS]: Remove conditional code.
50404 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50405 <kernel-features.h>.
50406 [__ASSUME_32BITUIDS]: Make code unconditional.
50407 [!__ASSUME_32BITUIDS]: Remove conditional code.
50408 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50409 <kernel-features.h>.
50410 [__ASSUME_32BITUIDS]: Make code unconditional.
50411 [!__ASSUME_32BITUIDS]: Remove conditional code.
50412
50413 2012-05-25 Richard Henderson <rth@twiddle.net>
50414
50415 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50416 dl_hwcap to ifunc resolver.
50417 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50418 elf_ifunc_invoke.
50419 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50420 dl_hwcap to ifunc resolver.
50421 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50422
50423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50424
50425 [BZ #14153]
50426 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50427 for |x| <= 2**-26, not 2**-57.
50428 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50429 exception.
50430
50431 2012-05-24 Jeff Law <law@redhat.com>
50432
50433 * stdio-common/Makefile (tests): Add bug25.
50434 * stdio-common/bug25.c: New test.
50435
50436 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50437
50438 [BZ #13576]
50439 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50440 multiple of MALLOC_ALIGNMENT in size.
50441 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50442
50443 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50444
50445 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50446 Require >= 256.
50447 (FILENAME_MAX): Use macro-int-constant.
50448 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50449 (_IOFBF): Use macro-int-constant.
50450 (_IOLBF): Likewise.
50451 (_IONBF): Likewise.
50452 (SEEK_CUR): Likewise.
50453 (SEEK_END): Likewise.
50454 (SEEK_SET): Likewise.
50455 (TMP_MAX): Likewise.
50456 (EOF): Use macro-int-constant. Require < 0.
50457 (NULL): Use macro-constant. Require == 0.
50458 (stdin): Require type to be FILE *.
50459 (stdout): Likewise.
50460 (stderr): Likewise.
50461 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50462 macro-int-constant.
50463 (EXIT_SUCCESS): Likewise.
50464 (NULL): Use macro-constant. Require == 0.
50465 (RAND_MAX): Use macro-int-constant.
50466 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50467 [C99-based standards] (strtof): Require function.
50468 [C99-based standards] (strtold): Likewise.
50469 [C99-based standards] (strtoll): Likewise.
50470 [C99-based standards] (strtoull): Likewise.
50471 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50472 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50473 [ISO || ISO99 || ISO11] (math.h): Likewise.
50474 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50475 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50477
50478 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50479
50480 [BZ #14132]
50481 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50482 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50483 * intl/dgettext.c (DCGETTEXT): Likewise.
50484 * intl/gettext.c (DCGETTEXT): Likewise.
50485 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50486 * posix/regex_internal.h (gettext): Likewise.
50487 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50488 Remove declaration.
50489 * include/argz.h (__argz_count_internal)
50490 (__argz_stringify_internal): Remove declaration.
50491 (__argz_count, __argz_stringify): Declare hidden proto.
50492 * intl/dcgettext.c: Remove use of INTDEF.
50493 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50494 * string/argz-stringify.c: Likewise.
50495 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50496 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50497 Declare hidden proto.
50498 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50499 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50500 Declare hidden proto.
50501 * include/stdio.h (__asprintf_internal): Don't declare.
50502 (__asprintf): Don't define as macro. Declare hidden proto.
50503 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50504 (__fsetlocking): Declare hidden proto.
50505 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50506 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50507 hidden proto.
50508 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50509 (_IO_setlinebuf): Remove use of INTUSE.
50510 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50511 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50512 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50513 Remove declaration.
50514 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50515 (_IO_do_flush): Remove use of INTUSE.
50516 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50517 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50518 (_IO_adjust_column, _IO_least_wmarker)
50519 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50520 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50521 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50522 (_IO_default_doallocate, _IO_wdefault_doallocate)
50523 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50524 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50525 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50526 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50527 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50528 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50529 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50530 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50531 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50532 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50533 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50534 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50535 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50536 proto.
50537 (_IO_flush_all_internal, _IO_adjust_column_internal)
50538 (_IO_default_uflow_internal, _IO_default_finish_internal)
50539 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50540 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50541 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50542 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50543 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50544 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50545 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50546 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50547 (_IO_file_close_internal, _IO_file_close_it_internal)
50548 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50549 (_IO_file_init_internal, _IO_file_attach_internal)
50550 (_IO_file_fopen_internal, _IO_file_read_internal)
50551 (_IO_file_sync_internal, _IO_file_seek_internal)
50552 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50553 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50554 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50555 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50556 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50557 (_IO_list_all_internal, _IO_link_in_internal)
50558 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50559 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50560 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50561 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50562 (_IO_do_write_internal, _IO_padn_internal)
50563 (_IO_getline_info_internal, _IO_getline_internal)
50564 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50565 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50566 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50567 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50568 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50569 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50570 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50571 with libc_hidden_ver, remove use of INTUSE.
50572 * libio/genops.c: Likewise.
50573 * libio/freopen.c: Likewise.
50574 * libio/freopen64.c: Likewise.
50575 * libio/iofclose.c: Likewise.
50576 * libio/iofdopen.c: Likewise.
50577 * libio/iofflush.c: Likewise.
50578 * libio/iofflush_u.c: Likewise.
50579 * libio/iofgets.c: Likewise.
50580 * libio/iofgets_u.c: Likewise.
50581 * libio/iofopen.c: Likewise.
50582 * libio/iofopncook.c: Likewise.
50583 * libio/iofread.c: Likewise.
50584 * libio/iofread_u.c: Likewise.
50585 * libio/ioftell.c: Likewise.
50586 * libio/iofwrite.c: Likewise.
50587 * libio/iogetline.c: Likewise.
50588 * libio/iogets.c: Likewise.
50589 * libio/iogetwline.c: Likewise.
50590 * libio/iopadn.c: Likewise.
50591 * libio/iopopen.c: Likewise.
50592 * libio/ioseekoff.c: Likewise.
50593 * libio/ioseekpos.c: Likewise.
50594 * libio/iosetbuffer.c: Likewise.
50595 * libio/iosetvbuf.c: Likewise.
50596 * libio/ioungetc.c: Likewise.
50597 * libio/ioungetwc.c: Likewise.
50598 * libio/iovdprintf.c: Likewise.
50599 * libio/iovsprintf.c: Likewise.
50600 * libio/iovsscanf.c: Likewise.
50601 * libio/memstream.c: Likewise.
50602 * libio/obprintf.c: Likewise.
50603 * libio/oldfileops.c: Likewise.
50604 * libio/oldiofclose.c: Likewise.
50605 * libio/oldiofdopen.c: Likewise.
50606 * libio/oldiofopen.c: Likewise.
50607 * libio/oldiopopen.c: Likewise.
50608 * libio/oldstdfiles.c: Likewise.
50609 * libio/putc.c: Likewise.
50610 * libio/setbuf.c: Likewise.
50611 * libio/setlinebuf.c: Likewise.
50612 * libio/stdfiles.c: Likewise.
50613 * libio/strops.c: Likewise.
50614 * libio/vasprintf.c: Likewise.
50615 * libio/vscanf.c: Likewise.
50616 * libio/vsnprintf.c: Likewise.
50617 * libio/vswprintf.c: Likewise.
50618 * libio/wfiledoalloc.c: Likewise.
50619 * libio/wfileops.c: Likewise.
50620 * libio/wgenops.c: Likewise.
50621 * libio/wmemstream.c: Likewise.
50622 * libio/wstrops.c: Likewise.
50623 * libio/__fpurge.c: Likewise.
50624 * libio/__fsetlocking.c: Likewise.
50625 * assert/assert.c: Likewise.
50626 * debug/fgets_chk.c: Likewise.
50627 * debug/fgets_u_chk.c: Likewise.
50628 * debug/fread_chk.c: Likewise.
50629 * debug/fread_u_chk.c: Likewise.
50630 * debug/gets_chk.c: Likewise.
50631 * debug/obprintf_chk.c: Likewise.
50632 * debug/vasprintf_chk.c: Likewise.
50633 * debug/vdprintf_chk.c: Likewise.
50634 * debug/vsnprintf_chk.c: Likewise.
50635 * debug/vsprintf_chk.c: Likewise.
50636 * malloc/mtrace.c: Likewise.
50637 * misc/error.c: Likewise.
50638 * misc/syslog.c: Likewise.
50639 * stdio-common/asprintf.c: Likewise.
50640 * stdio-common/fxprintf.c: Likewise.
50641 * stdio-common/getw.c: Likewise.
50642 * stdio-common/isoc99_fscanf.c: Likewise.
50643 * stdio-common/isoc99_scanf.c: Likewise.
50644 * stdio-common/isoc99_vfscanf.c: Likewise.
50645 * stdio-common/isoc99_vscanf.c: Likewise.
50646 * stdio-common/isoc99_vsscanf.c: Likewise.
50647 * stdio-common/printf-prs.c: Likewise.
50648 * stdio-common/printf_fp.c: Likewise.
50649 * stdio-common/printf_fphex.c: Likewise.
50650 * stdio-common/printf_size.c: Likewise.
50651 * stdio-common/putw.c: Likewise.
50652 * stdio-common/scanf.c: Likewise.
50653 * stdio-common/sprintf.c: Likewise.
50654 * stdio-common/tmpfile.c: Likewise.
50655 * stdio-common/vfprintf.c: Likewise.
50656 * stdio-common/vfscanf.c: Likewise.
50657 * stdlib/strfmon_l.c: Likewise.
50658 * sunrpc/openchild.c: Likewise.
50659 * sunrpc/xdr_stdio.c: Likewise.
50660 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50661 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50662
50663 2012-05-24 Roland McGrath <roland@hack.frob.com>
50664
50665 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50666
50667 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50668 in the third column, to generate for the shared library an IFUNC
50669 that uses _dl_vdso_vsym.
50670 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50671 * Makeconfig (object-suffixes-noshared): New variable.
50672
50673 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50674 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50675 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50676 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50677
50678 [BZ #14132]
50679 * include/sys/time.h (__gettimeofday): Remove macro.
50680 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50681 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50682 Remove INTDEF.
50683 (__gettimeofday): Add libc_hidden_def.
50684 (gettimeofday): Add libc_hidden_weak.
50685 * sysdeps/mach/gettimeofday.c: Likewise.
50686 * sysdeps/posix/gettimeofday.c: Likewise.
50687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50688 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50690 (__gettimeofday_internal): Remove strong_alias.
50691 (__gettimeofday): Add libc_hidden_def.
50692 (gettimeofday): Add libc_hidden_weak.
50693 * sysdeps/unix/syscalls.list (gettimeofday):
50694 Remove __gettimeofday_internal alias.
50695
50696 2012-05-24 Daniel Jacobowitz <drow@false.org>
50697 H.J. Lu <hongjiu.lu@intel.com>
50698
50699 [BZ #12495]
50700 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50701 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50702 (largebin_index_32_big): New.
50703 (largebin_index): Use it for 16-byte alignment.
50704 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50705 correction with front_misalign.
50706
50707 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50708
50709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50711 Likewise.
50712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50713 Likewise.
50714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50715 Likewise.
50716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50717 Likewise.
50718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50719 Likewise.
50720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50721 Likewise.
50722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50723 Likewise.
50724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50725 Likewise.
50726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50727 Likewise.
50728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50729 Likewise.
50730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50731 Likewise.
50732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50733 Likewise.
50734
50735 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50736 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50737
50738 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50739
50740 [BZ #10846]
50741 [BZ #14036]
50742 * math/libm-test.inc (exp_test): Add test from bug 14036.
50743 (pow_test): Add test from bug 10846.
50744
50745 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50746 and other flags.
50747 (special_function): Do not include flags in test name.
50748 (parse_args): Likewise.
50749 * sysdeps/i386/fpu/libm-test-ulps: Update.
50750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50754
50755 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50756 exceptions.
50757 * math/libm-test.inc ("Philosophy"): Update comment about
50758 exception testing.
50759 (UNDERFLOW_EXCEPTION): New macro.
50760 (UNDERFLOW_EXCEPTION_OK): Likewise.
50761 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50762 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50763 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50764 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50765 (INVALID_EXCEPTION_OK): Update value.
50766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50767 (OVERFLOW_EXCEPTION_OK): Likewise.
50768 (IGNORE_ZERO_INF_SIGN): Likewise.
50769 (test_exceptions): Handle underflow exceptions.
50770 (acos_test): Update for underflow exception expectations.
50771 (cexp_test): Likewise.
50772 (clog_test): Likewise.
50773 (clog10_test): Likewise.
50774 (csqrt_test): Likewise.
50775 (ctan_test): Likewise.
50776 (ctanh_test): Likewise.
50777 (exp_test): Likewise.
50778 (exp10_test): Likewise.
50779 (exp2_test): Likewise.
50780 (expm1_test): Likewise.
50781 (fma_test): Likewise.
50782 (j0_test): Likewise.
50783 (jn_test): Likewise.
50784 (nexttoward_test): Likewise.
50785 (pow_test): Likewise.
50786 (scalbn_test): Likewise.
50787 (scalbln_test): Likewise.
50788 (tan_test): Likewise.
50789 (y1_test): Likewise.
50790 * sysdeps/i386/fpu/libm-test-ulps: Update.
50791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50792
50793 2012-05-23 David S. Miller <davem@davemloft.net>
50794
50795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50796 (__libc_sigaction): Remove unused local variables.
50797
50798 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50799
50800 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50801
50802 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50803
50804 mktime: avoid signed integer overflow
50805 * time/mktime.c (__mktime_internal): Do not mishandle the case
50806 where diff == INT_MIN.
50807
50808 mktime: simplify computation of average
50809 * time/mktime.c (ranged_convert): Use new time_t_avg function
50810 instead of rolling our own (probably-slower) code.
50811
50812 mktime: do not assume signed right shift propagates sign bit
50813 * time/mktime.c (isdst_differ): New static function.
50814 (__mktime_internal): No need to normalize tm_isdst now.
50815 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50816 tm_isdst values.
50817
50818 mktime: merge another wrapv change from gnulib
50819 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50820 from some compilers.
50821
50822 mktime: remove incorrect attempt at unusual arithmetics
50823 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50824 The code didn't really work on such machines anyway.
50825 (TYPE_MINIMUM): Assume two's complement.
50826 (twos_complement_arithmetic): Verify that long_int and time_t
50827 are two's complement (or unsigned, in the latter case).
50828
50829 mktime: check signed shifts on long_int and time_t, too
50830 * time/mktime.c (SHR): Check that shifts work as desired
50831 on the types long_int and time_t too, as SHR is used on
50832 such types.
50833
50834 mktime: do not assume 'long' is wide enough
50835 * time/mktime.c (verify): Move decl up.
50836 (long_int): New type.
50837 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50838 to remove assumption in the code that 'long' is wide enough to
50839 store year values. This assumption is not true on x32 and on
50840 some non-glibc platforms.
50841
50842 mktime: merge wrapv change from gnulib
50843 * time/mktime.c (WRAPV): New macro.
50844 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50845 (guess_time_tm, __mktime_internal): Do not assume that signed
50846 integer overflow wraps around; modern compilers generate code
50847 where this assumption is no longer valid.
50848
50849 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50850
50851 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50852 Replace "jmp L(pseudo_end)" with "ret".
50853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50854 Likewise.
50855
50856 2012-05-23 Andreas Jaeger <aj@suse.de>
50857
50858 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50859 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50860
50861 2012-05-23 Andreas Jaeger <aj@suse.de>
50862 Maximilian Attems <max@stro.at>
50863
50864 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50865 New macros.
50866
50867 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50868
50869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50870 code so that pseudo_end is just ret and the stack pointer is
50871 correct also for static library in error case.
50872
50873 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50874
50875 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50876 move to syscalls.list.
50877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50881
50882 * manual/install.texi (Running make install): Do not mention Linux
50883 kernel version for which pt_chown is not needed.
50884 (Linux): Do not mention problems with nscd with 2.0 kernels.
50885 * INSTALL: Regenerated.
50886
50887 2012-05-23 Andreas Jaeger <aj@suse.de>
50888
50889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50890 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50891 macro.
50892 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50894 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50896 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50899 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50900 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50902 * sysdeps/unix/sysv/linux/bits/in.h
50903 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50904
50905 2012-05-22 Roland McGrath <roland@hack.frob.com>
50906
50907 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50908 (PREPARE_VERSION): Just use assert instead, it will be elided
50909 under [NDEBUG] anyway.
50910
50911 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50912
50913 * sysdeps/unix/sysv/linux/Makefile: Include
50914 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50915 (sysdep_routines): Remove sysctl.
50916 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50917 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50918 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50919 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50920 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50921
50922 2012-05-22 Andreas Jaeger <aj@suse.de>
50923
50924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50925 that pseudo_end is just ret and the stack pointer is correct also
50926 for static library in error case.
50927
50928 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50929
50930 [BZ #14122]
50931 * nss/nsswitch.c (defconfig_entries): New variable.
50932 (__nss_database_lookup): Don't leak defconfig entries.
50933 (nss_parse_service_list): Don't leak on error paths.
50934 (free_database_entries): New function.
50935 (free_defconfig): New function.
50936 (free_mem): Move common code to free_database_entries.
50937
50938 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50941 Add arch_prctl.
50942 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50943
50944 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50945 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50947 New macro.
50948 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50949 (INTERNAL_SYSCALL_TYPES): Likewise.
50950 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50951 (LOAD_REGS_TYPES_[1-6]): Likewise.
50952 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50953 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50954
50955 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50956
50957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50958 copysignl for GLIBC_2_0.
50959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50960 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50962 logbl for GLIBC_2_0.
50963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50964 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50965
50966 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50967
50968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50970
50971 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50972 Use "neg %eax".
50973
50974 * time/mktime.c: Update copyright years.
50975
50976 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50977
50978 mktime: merge comment-quoting-style change from gnulib
50979 * time/mktime.c: Quote 'like this' in comments.
50980 The GNU coding standards suggest that we no longer quote `like this',
50981 as "`" and "'" are typically rendered asymmetrically nowadays.
50982 The typical gnulib style is to quote 'like this' when quoting
50983 code, and "like this" when quoting English.
50984
50985 * time/mktime.c (compile-command): Add "-I.".
50986
50987 mktime: merge mktime-internal.h change from gnulib
50988 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50989
50990 mktime: merge time_r change from gnulib
50991 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50992
50993 mktime: merge DEBUG change from gnulib
50994 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50995 case system <time.h> has a #define.
50996
50997 mktime: merge <sys/types.h> change from gnulib
50998 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50999 since <time.t> is now guaranteed to define time_t.
51000
51001 mktime: merge HAVE_CONFIG_H change from gnulib
51002 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51003
51004 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51005
51006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51007 Use "neg %eax".
51008
51009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51010 __rlim_t cast.
51011 (struct rusage): Use anonymous union to pad each field to
51012 __syscall_slong_t.
51013
51014 2012-05-21 David S. Miller <davem@davemloft.net>
51015
51016 * Makefules (o-iterator): Remove .s cases.
51017 (compile-command.s): Delete.
51018 (COMPILE.s): Delete.
51019 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51020
51021 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51022
51023 * configure.in (libc_cv_predef_stack_protector): Only consider
51024 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51025 * configure: Regenerated.
51026
51027 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51028
51029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51030 New macro. Use R*LP on int and pointer.
51031 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51032 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51033 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51034 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51035
51036 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51037 [__WORDSIZE_TIME64_COMPAT32] instead of
51038 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51039 (struct utmp): Likewise.
51040 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51041 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51042 Renamed to ...
51043 (__WORDSIZE_TIME64_COMPAT32): This.
51044 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51045 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51046 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51047 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51048 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51049 (__WORDSIZE_TIME64_COMPAT32): New macro.
51050
51051 2012-05-21 Andreas Jaeger <aj@suse.de>
51052
51053 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51054 only if [SHARED]. Add prototype for __wcschr_ia32.
51055
51056 2012-05-21 Roland McGrath <roland@hack.frob.com>
51057
51058 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51059 of %rbp unmolested in the jmp_buf while mangling the low bits.
51060 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51061 unmolested high bits of %rbp while demangling the low bits.
51062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51063
51064 2012-05-21 Andreas Jaeger <aj@suse.de>
51065
51066 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51067 * sunrpc/svc_simple.c: Use it for registerrpc.
51068 * sunrpc/xcrypt.c: Use it for passwd2des.
51069
51070 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51071
51072 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51073
51074 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51075 Don't define if [__SYSCALL_WORDSIZE != 32].
51076 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51077 New macro.
51078
51079 2012-05-21 Bruno Haible <bruno@clisp.org>
51080 Andreas Jaeger <aj@suse.de>
51081
51082 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51083 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51084 inptr and inend for must_buffer_ch.
51085 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51086 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51087 * stdio-common/Makefile (tests): Remove bug15.
51088 (bug15-ENV): Remove macro.
51089 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51090 anymore.
51091
51092 2012-05-19 Andreas Jaeger <aj@suse.de>
51093 Roland McGrath <roland@hack.frob.com>
51094
51095 * manual/contrib.texi: Completely rewritten. It contains now an
51096 alphabetical list of contributors and their contributions.
51097
51098 2012-05-21 Richard Henderson <rth@twiddle.net>
51099
51100 * misc/getauxval.c (__getauxval): Use unsigned long int.
51101 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51102 (getauxval): Use unsigned long int.
51103
51104 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51105
51106 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51107
51108 2012-05-21 Roland McGrath <roland@hack.frob.com>
51109
51110 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51111 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51112 __alignof__ (long double).
51113
51114 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51115
51116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51117
51118 2012-05-20 Richard Henderson <rth@twiddle.net>
51119
51120 * misc/getauxval.c: New file.
51121 * misc/sys/auxv.h: New file.
51122 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51123 (routines): Add getauxval.
51124 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51125 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51126 * elf/dl-sysdep.c (_dl_auxv): Remove.
51127 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51128 * elf/dl-support.c (_dl_auxv): New variable.
51129 (_dl_aux_init): Initialize it.
51130 * manual/startup.texi (Auxiliary Vector): New node.
51131 * sysdeps/generic/bits/hwcap.h: New file.
51132 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51133 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51134 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51135 * sysdeps/sparc/sysdep.h: ... here. Include it.
51136 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51139 Update.
51140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51148
51149 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51150
51151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51152
51153 2012-05-19 David S. Miller <davem@davemloft.net>
51154
51155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51156
51157 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51158
51159 [BZ #14123]
51160 * math/s_ccosh.c: Include <float.h>
51161 (__ccosh): Avoid internal overflow calculating sinh and cosh
51162 values before multiplying by sin and cos values.
51163 * math/s_ccoshf.c: Likewise.
51164 * math/s_ccoshl.c: Likewise.
51165 * math/s_csin.c: Likewise.
51166 * math/s_csinf.c: Likewise.
51167 * math/s_csinl.c: Likewise.
51168 * math/s_csinh.c: Likewise.
51169 * math/s_csinhf.c: Likewise.
51170 * math/s_csinhl.c: Likewise.
51171 * math/libm-test.inc (ccos_test): Add more tests.
51172 (ccosh_test): Likewise.
51173 (csin_test): Likewise.
51174 (csinh_test): Likewise.
51175 * sysdeps/i386/fpu/libm-test-ulps: Update.
51176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51177
51178 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51179
51180 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51181 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51182
51183 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51184
51185 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51186
51187 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51188 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51189 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51190 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51191 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51192 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51193 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51194 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51195 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51196 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51197 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51198 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51199 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51200 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51201 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51202 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51203 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51204 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51205 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51206 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51207 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51208 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51209 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51210 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51211 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51212 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51213 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51214 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51215 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51216 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51217 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51218
51219 2012-05-18 Andreas Jaeger <aj@suse.de>
51220
51221 * csu/.gitignore: Delete.
51222
51223 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51224
51225 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51226 (timex): Use __syscall_slong_t.
51227
51228 2012-05-18 Andreas Jaeger <aj@suse.de>
51229 Carlos O'Donell <carlos_odonell@mentor.com>
51230
51231 * manual/install.texi (Configuring and compiling): Update
51232 description about files modified in the source directory.
51233 * INSTALL: Regenerated.
51234
51235 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51236
51237 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51238 value. Use "or" to set return value to -1.
51239 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51240 negate return value.
51241
51242 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51243
51244 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51245 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51246 failure if the compiler has Graphite support disabled.
51247 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51248 Likewise.
51249 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51250 (CFLAGS-memmove.c): Likewise.
51251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51252 Likewise.
51253
51254 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51255
51256 * sysdeps/x86_64/x32/_itoa.h: New file.
51257
51258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51259 getdents system call only if kernel and user dirents have the
51260 same d_ino and d_off.
51261
51262 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51263 LLONG_MAX != LONG_MAX.
51264 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51265 (_fitoa_word): Likewise.
51266
51267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51268 years.
51269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51270 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51272
51273 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51274 include <bits/wordsize.h>. Check __x86_64__ instead of
51275 __WORDSIZE.
51276 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51277 if __x86_64__ is defined. Use anonymous union on fpstate.
51278
51279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51280 anonymous union.
51281
51282 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51283
51284 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51285 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51287 Refer to _rtld_local_ro instead of _rtld_global_ro.
51288 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51289 Likewise.
51290 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51291 Likewise.
51292 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51293 Likewise.
51294 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51295 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51296 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51297
51298 [BZ #10882]
51299 * sysdeps/powerpc/powerpc32/dl-machine.c
51300 (__elf_machine_runtime_setup) [PROF]: Don't reference
51301 _dl_prof_resolve.
51302
51303 2012-05-18 Andreas Jaeger <aj@suse.de>
51304
51305 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51306 function only available for GCCs before 3.4 since GCC 3.4
51307 introduced a builtin.
51308 (lrint): Likewise.
51309 (llrintf): Likewise.
51310 (llrint): Likewise.
51311 (fmaxf): Likewise.
51312 (fmax): Likewise.
51313 (fminf): Likewise.
51314 (fmin): Likewise.
51315 (rint): Likewise.
51316 (rintf): Likewise.
51317 (nearbyint): Likewise.
51318 (nearbyintf): Likewise.
51319 (ceil): Likewise.
51320 (ceilf): Likewise.
51321 (floor): Likewise.
51322 (floorf): Likewise.
51323
51324 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51325
51326 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51327 on both fields and cast pointer to __syscall_ulong_t.
51328
51329 * bits/types.h (__fsword_t): New type.
51330 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51331 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51333 (__FSWORD_T_TYPE): Likewise.
51334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51335 (__FSWORD_T_TYPE): Likewise.
51336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51337 (__FSWORD_T_TYPE): Likewise.
51338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51339 (__FSWORD_T_TYPE): Likewise.
51340 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51341 __SWORD_TYPE with __fsword_t.
51342 (statfs64): Likewise.
51343
51344 2012-05-17 David S. Miller <davem@davemloft.net>
51345
51346 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51347
51348 2012-05-17 Andreas Jaeger <aj@suse.de>
51349
51350 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51351 warning.
51352
51353 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51354
51355 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51356
51357 2012-05-17 Andreas Jaeger <aj@suse.de>
51358
51359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51360 when it is used.
51361
51362 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51363
51364 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51365
51366 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51367
51368 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51369 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51370
51371 2012-05-17 Andreas Jaeger <aj@suse.de>
51372 Carlos O'Donell <carlos_odonell@mentor.com>
51373
51374 [BZ #14059]
51375 * sysdeps/x86_64/multiarch/init-arch.h
51376 (bit_YMM_Usable): Rename to...
51377 (bit_AVX_Usable): ... this.
51378 (bit_FMA4_Usable): New macro.
51379 (bit_XMM_state): New macro.
51380 (bit_YMM_state): New macro.
51381 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51382 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51383 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51384 (CPUID_OSXSAVE): New macro.
51385 (CPUID_AVX): New macro.
51386 (CPUID_FMA4): New macro.
51387 (index_YMM_Usable): Rename to...
51388 (index_AVX_Usable): ... this.
51389 (HAS_AVX): Use HAS_ARCH_FEATURE.
51390 (HAS_FMA4): Likewise.
51391 (HAS_YMM_USABLE): Remove.
51392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51393 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51394 are present.
51395 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51396 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51397 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51398 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51399 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51400
51401 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51402
51403 * math/libm-test.c: Support platforms without multiple rounding modes.
51404 * math/bug-nextafter.c: Support platforms without FP exceptions.
51405 * math/bug-nexttoward.c: Likewise.
51406 * math/test-fenv.c: Likewise.
51407 * math/test-misc.c: Likewise.
51408 * stdlib/bug-getcontext.c: Likewise.
51409
51410 2012-05-17 Andreas Jaeger <aj@suse.de>
51411
51412 * manual/examples/search.c (critter_cmp): Change signature to
51413 avoid warnings.
51414 * manual/string.texi (Collation Functions): Likewise.
51415
51416 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51417
51418 * bits/types.h: Fold copyright years.
51419 * bits/typesizes.h: Likewise.
51420 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51424 * time/time.h: Likewise.
51425
51426 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51427
51428 [BZ #208]
51429 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51430 in instead of returning them. Return void.
51431 (__libc_mallinfo): Accumulate over all arenas.
51432 (__malloc_stats): Adjust for change in int_mallinfo interface.
51433
51434 2012-05-16 Roland McGrath <roland@hack.frob.com>
51435
51436 [BZ #10375]
51437 * configure.in (NM): Add AC_CHECK_TOOL for it.
51438 (libc_extra_cflags): New substituted variable.
51439 Check for -fstack-protector being used implicitly.
51440 * configure: Regenerated.
51441 * config.make.in (config-extra-cflags): New variable,
51442 gets @libc_extra_cflags@.
51443 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51444
51445 [BZ #10375]
51446 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51447 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51448 * configure: Regenerated.
51449 * config.make.in (CPPUNDEFS): New substituted variable.
51450 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51451 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51452 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51453
51454 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51455
51456 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51457 (mq_attr): Use __syscall_slong_t.
51458
51459 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51460
51461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51462 Check __x86_64__ instead of __WORDSIZE.
51463 (_STAT_VER_LINUX): Likewise.
51464 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51465 __syscall_ulong_t and __syscall_slong_t.
51466 (stat64): Likewise.
51467
51468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51469
51470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51471
51472 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51473
51474 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51475
51476 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51477
51478 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51479 __syscall_ulong_t.
51480
51481 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51482 include <bits/wordsize.h>. Check __x86_64__ instead of
51483 __WORDSIZE.
51484 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51485 defined.
51486 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51487
51488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51489 include <bits/wordsize.h>. Check __x86_64__ instead of
51490 __WORDSIZE.
51491 (user_regs_struct): Use "__extension__ unsigned long long"
51492 instead of "unsigned long" if __x86_64__ is defined.
51493 (user): Likewise. Pad after pointer field if __ILP32__ is
51494 defined.
51495
51496 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51497
51498 * configure.in (makeinfo): Require version 4.5 or later. Allow
51499 versions 5 to 9.
51500 * configure: Regenerated.
51501 * manual/install.texi (texinfo): Increase version requirement to
51502 4.5 or later.
51503 * INSTALL: Regenerated.
51504
51505 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51506
51507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51508
51509 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51510
51511 * sysdeps/x86_64/x32/ffs.c: New file.
51512
51513 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51514 __syscall_ulong_t.
51515 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51516 defined. Use __syscall_ulong_t.
51517 (shminfo): Use __syscall_ulong_t.
51518 (shm_info): Likewise.
51519
51520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51521 __syscall_ulong_t.
51522
51523 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51524 <bits/wordsize.h>.
51525 (msgqnum_t): Use __syscall_ulong_t.
51526 (msglen_t): Likewise.
51527 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51528 __syscall_ulong_t.
51529
51530 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51531 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51532
51533 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51534
51535 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51536 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51537
51538 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51539 __syscall_slong_t.
51540
51541 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51542 include <bits/wordsize.h>. Check __x86_64__ instead of
51543 __WORDSIZE.
51544
51545 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51546 "unsigned long long int" if __x86_64__ is defined.
51547 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51548
51549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51550 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51551 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51552
51553 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51554 <stdint.h>.
51555 (GET_PC): Cast to uintptr_t first.
51556 (GET_FRAME): Likewise.
51557 (GET_STACK): Likewise.
51558
51559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51565 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51566 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51567 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51569 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51578 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51584 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51585 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51586 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51587 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51588
51589 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51590
51591 * Makerules (+depfiles): Also collect depfiles from .oS in
51592 $(extra-objs).
51593 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51594 .oS, $(libnldbl-routines)).
51595
51596 * Makerules (native-compile-mkdep-flags): Define.
51597 * sunrpc/Makefile (extra-objs): Add $(addprefix
51598 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51599 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51600 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51601 calling $(make-target-directory).
51602
51603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51604
51605 * bits/types.h (__snseconds_t): Removed.
51606 * time/time.h (struct timespec): Replace __snseconds_t with
51607 __syscall_slong_t.
51608 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51609 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51610 Likewise.
51611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51612 (__SNSECONDS_T_TYPE): Likewise.
51613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51614 (__SNSECONDS_T_TYPE): Likewise.
51615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51616 (__SNSECONDS_T_TYPE): Likewise.
51617
51618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51619
51620 * sysdeps/mach/hurd/bits/typesizes.h
51621 (__SYSCALL_SLONG_TYPE): New macro.
51622 (__SYSCALL_ULONG_TYPE): Likewise.
51623
51624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51625
51626 * bits/types.h (__syscall_slong_t): New type.
51627 (__syscall_ulong_t): Likewise.
51628
51629 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51630 (__SYSCALL_ULONG_TYPE): Likewise.
51631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51632 (__SYSCALL_SLONG_TYPE): Likewise.
51633 (__SYSCALL_ULONG_TYPE): Likewise.
51634 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51635 (__SYSCALL_SLONG_TYPE): Likewise.
51636 (__SYSCALL_ULONG_TYPE): Likewise.
51637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51638 (__SYSCALL_SLONG_TYPE): Likewise.
51639 (__SYSCALL_ULONG_TYPE): Likewise.
51640
51641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51642
51643 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51644 Add sigaltstack-offsets.sym.
51645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51646 <sigaltstack-offsets.h>.
51647 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51648 longjmp_msg pointer.
51649 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51650 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51651 signal stack.
51652 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51653
51654 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51655
51656 * elf/stackguard-macros.h: Remove file.
51657 * sysdeps/generic/stackguard-macros.h: New file.
51658 * sysdeps/i386/stackguard-macros.h: Likewise.
51659 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51660 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51661 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51662 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51663 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51664 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51665 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51666 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51667 <elf/stackguard-macros.h>.
51668
51669 [BZ #14109]
51670 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51671 __aligned__ in attribute.
51672 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51673 (gregset_t): Likewise.
51674
51675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51676
51677 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51678 * sysdeps/x86_64/64/Implies-after: Here. New file.
51679 * sysdeps/x86_64/x32/Implies-after: New file.
51680
51681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51682
51683 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51684 and access return value for _dl_profile_fixup. Use R10_LP to
51685 load frame size.
51686
51687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51688
51689 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51690
51691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51692
51693 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51694 * sysdeps/x86_64/x32/sysdep.h: New file.
51695
51696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51697
51698 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51699 * sysdeps/x86_64/setjmp.S: Likewise.
51700
51701 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51702
51703 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51705 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51707 remove unused global constant.
51708
51709 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51710
51711 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51712 include of <not-cancel.h>.
51713
51714 2012-05-15 Roland McGrath <roland@hack.frob.com>
51715
51716 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51717
51718 2012-05-15 Jeff Law <law@redhat.com>
51719 Andreas Jaeger <aj@suse.de>
51720
51721 [BZ #13594]
51722 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51723 out from...
51724 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51725 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51726 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51727 code changing __hst_map_handle.map.
51728
51729 2012-05-15 Roland McGrath <roland@hack.frob.com>
51730
51731 * configure.in (sysnames): Look for Implies-before and Implies-after
51732 files.
51733 * configure: Regenerated.
51734
51735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51736
51737 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51738 8-byte data alignment with LP_SIZE alignment.
51739
51740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51741
51742 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51743 into R10_LP.
51744
51745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51746
51747 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51748
51749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51750
51751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51752 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51753 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51754 Likewise.
51755 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51756
51757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51758
51759 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51760 (stackinfo_sub_sp): Likewise.
51761
51762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51763
51764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51765 RAX_LP.
51766
51767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51768
51769 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51770 into R*_LP.
51771
51772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51773
51774 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51775 sizes into R*_LP.
51776
51777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51778
51779 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51780
51781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51782
51783 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51784 into R11_LP and load __x86_64_shared_cache_size_half into
51785 R8_LP.
51786
51787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51788
51789 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51790 R8_LP.
51791
51792 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51793
51794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51795 logb for POWER7.
51796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51797 logbf for POWER7.
51798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51799 logbl for POWER7.
51800 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51801 powerpc32/power7/fpu/s_logb.c via #include.
51802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51803 powerpc32/power7/fpu/s_logbf.c via #include.
51804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51805 powerpc32/power7/fpu/s_logbl.c via #include.
51806
51807 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51808
51809 * README.libm: Remove file.
51810
51811 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51812
51813 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51814 count for x32. Use R*_LP and omit operand-size suffix.
51815
51816 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51817
51818 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51819 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51820 * sysdeps/x86_64/x32/shlib-versions: New file.
51821
51822 2012-05-14 Roland McGrath <roland@hack.frob.com>
51823
51824 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51825 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51826 Use _dl_fatal_printf instead.
51827
51828 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51829
51830 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51831 set if not set by the user. Do not allow for being unset.
51832 * sysdeps/unix/sysv/linux/configure: Regenerated.
51833
51834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51835
51836 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51837 the `q' suffix from lea and replace .quad with ASM_ADDR.
51838
51839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51840
51841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51842 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51843 instead of $17.
51844 (PTR_DEMANGLE): Likewise.
51845
51846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51847
51848 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51849 (LP_OP): Likewise.
51850 (ASM_ADDR): Likewise.
51851 (RAX_LP): Likewise.
51852 (RBP_LP): Likewise.
51853 (RBX_LP): Likewise.
51854 (RCX_LP): Likewise.
51855 (RDI_LP): Likewise.
51856 (RSI_LP): Likewise.
51857 (RSP_LP): Likewise.
51858 (R8_LP): Likewise.
51859 (R9_LP): Likewise.
51860 (R10_LP): Likewise.
51861 (R10_LP): Likewise.
51862 (R11_LP): Likewise.
51863 (R12_LP): Likewise.
51864 (R13_LP): Likewise.
51865 (R14_LP): Likewise.
51866 (R15_LP): Likewise.
51867
51868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51869
51870 * sysdeps/x86_64/x32/dl-machine.h: New file.
51871
51872 2012-05-14 Andreas Jaeger <aj@suse.de>
51873
51874 * manual/Makefile (subdir): Remove export of subdir.
51875 (all): Remove target.
51876 (.PHONY): Remove all from list.
51877 (mkinstalldirs): Remove.
51878 (.PHONY): Remove installdirs from list.
51879 ($(inst_infodir)/libc.info): Use make-target-directory.
51880 (installdirs): Remove.
51881 (subdir_%): Remove.
51882 (glibc-targets): Remove.
51883 (lib): Remove.
51884 (stubs): Remove.
51885 ($(objpfx)stubs ../po/manual.pot): Remove.
51886 ($(objpfx)stamp%): Remove.
51887 (make-target-directory): Remove.
51888 (subdir_install): Remove.
51889 (routines): Remove.
51890 (aux): Remove.
51891 (sources): Remove.
51892 (objects): Remove.
51893 (headers): Remove.
51894
51895 [BZ #13750]
51896 * manual/.gitignore: Remove, it's not needed anymore.
51897 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51898 all files in it.
51899 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51900 directory.
51901 (texis): Renamed to $(objpfx)texis.
51902 (texis-path): New, contains path to generated files.
51903 (chapters.%): Use texis-path for complete path, add extra argument
51904 libc-texinfo.sh.
51905 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51906 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51907 (summary,texi, stamp-summary): Use complete path of
51908 files. Generate files in build dir.
51909 (dir-add.texi): Build in build dir.
51910 (libm-err.texi,stamp-libm-err): Likewise.
51911 (version.texi, stamp-version): Likewise.
51912 (.%c.texi): Likewise.
51913 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51914 (mostlyclean): Remove target.
51915 (realclean): Remove target.
51916 (generated): Add new variable with contents from mostlyclean and
51917 realclean, remove entries duplicated in common-mostlyclean, add
51918 stamp-libm-err and stamp-version.
51919 (generated-dirs): Add libc directory.
51920 ($(inst_infodir)/libc.info): Install files from build dir.
51921
51922 * manual/install.texi (Configuring and compiling): Adjust since
51923 the info files are not part of the tar ball anymore.
51924
51925 2012-05-14 Andreas Jaeger <aj@suse.de>
51926
51927 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51928 variable.
51929
51930 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51931
51932 [BZ #13717]
51933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51934 to 2.2.0 where earlier.
51935 * sysdeps/unix/sysv/linux/configure: Regenerated.
51936 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51937 Remove conditional code.
51938 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51939 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51940 Remove conditional code.
51941 [!__NR_lchown]: Likewise.
51942 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51943 [__NR_lchown]: Likewise.
51944 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51945 comment referencing __ASSUME_LCHOWN_SYSCALL.
51946 * sysdeps/unix/sysv/linux/i386/sigaction.c
51947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51949 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51950 Remove conditional code.
51951 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51952 (__protocol_available): Remove #if 0 code.
51953 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51954 conditional code.
51955 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51956 * sysdeps/unix/sysv/linux/kernel-features.h
51957 (__ASSUME_GETCWD_SYSCALL): Don't define.
51958 (__ASSUME_REALTIME_SIGNALS): Likewise.
51959 (__ASSUME_PREAD_SYSCALL): Likewise.
51960 (__ASSUME_PWRITE_SYSCALL): Likewise.
51961 (__ASSUME_POLL_SYSCALL): Likewise.
51962 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51963 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51964 non-SPARC.
51965 (__ASSUME_SIOCGIFNAME): Don't define.
51966 (__ASSUME_MSG_NOSIGNAL): Likewise.
51967 (__ASSUME_SENDFILE): Define unconditionally.
51968 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51969 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51970 conditional code.
51971 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51972 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51973 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51974 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51975 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51976 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51977 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51979 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51985 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52002 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52003 Remove conditional code.
52004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52005 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52006 Remove conditional code.
52007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52008 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52009 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52010 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52011 Remove conditional code.
52012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52013 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52014 Remove conditional code.
52015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52016 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52017 Remove conditional code.
52018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52019 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52020 Remove conditional code.
52021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52022 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52023 Remove conditional code.
52024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52025 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52028 * sysdeps/unix/sysv/linux/sigaction.c
52029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52031 * sysdeps/unix/sysv/linux/sigpending.c
52032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52034 * sysdeps/unix/sysv/linux/sigprocmask.c
52035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52037 * sysdeps/unix/sysv/linux/sigsuspend.c
52038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52040 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52041 (__libc_missing_rt_sigs): Remove.
52042 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52043 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52044 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52045 Remove conditional code.
52046 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52047 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52048 return 1.
52049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52050 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52052 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52053
52054 2012-05-14 Andreas Jaeger <aj@suse.de>
52055
52056 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52057 it's not used in glibc.
52058 (__coshm1): Likewise.
52059 (__acosh1p): Likewise.
52060 (__sgn): Likewise.
52061
52062 * manual/string.texi (Copying and Concatenation): Add missing
52063 variable in concat example.
52064 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52065
52066 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52067
52068 [BZ #14103]
52069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52070 __builtin_clzl with __builtin_clzll.
52071
52072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52073
52074 [BZ #14104]
52075 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52076 libc_freeres_ptr.
52077
52078 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52079
52080 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52081 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52082 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52083 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52084
52085 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52086
52087 * NEWS: Update ia64 info.
52088
52089 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52090
52091 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52092 used as bcopy.
52093
52094 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52095
52096 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52097 * sysdeps/unix/syscalls.list (dup3): Likewise.
52098 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52099 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52100
52101 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52102
52103 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52104 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52105
52106 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52107
52108 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52109 thread pointer.
52110 (TLS_IE): Use mov/add instead of movq/addq to load thread
52111 pointer.
52112 (TLS_GD_PREFIX): New.
52113 (TLS_GD): Use it.
52114
52115 2012-05-11 David S. Miller <davem@davemloft.net>
52116
52117 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52118 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52119 (_FPU_SETCW): Likewise.
52120
52121 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52122
52123 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52124 is 32-byte aligned.
52125
52126 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52127
52128 [BZ #11837]
52129 * iconvdata/gb18030.c: Update tables.
52130 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52131 characters specially.
52132 (BODY for TO_LOOP): Add encoding of missing ranges.
52133
52134 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52135
52136 [BZ #13673]
52137 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52138 * sysdeps/mach/hurd/dup3.c: Likewise.
52139 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52140 * sysdeps/powerpc/memmove.c:: Likewise.
52141
52142 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52143
52144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52145 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52146
52147 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52148
52149 * elf/elf.h (R_X86_64_RELATIVE64): New.
52150 (R_X86_64_NUM): Updated.
52151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52152 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52153 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52154 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52155 tst-quad1pie tst-quad2pie
52156 (modules-names): Add tst-quadmod1 tst-quadmod2.
52157 ($(objpfx)tst-quad1): New dependency.
52158 ($(objpfx)tst-quad2): Likewise.
52159 ($(objpfx)tst-quad1pie): Likewise.
52160 ($(objpfx)tst-quad2pie): Likewise.
52161 * sysdeps/x86_64/tst-quad1.c: New file.
52162 * sysdeps/x86_64/tst-quad1pie.c: New file.
52163 * sysdeps/x86_64/tst-quad2.c: Likewise.
52164 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52165 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52166 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52167 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52168 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52169
52170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52171
52172 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52173 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52174 * streams/stropts.h (t_scalar_t): Define type.
52175
52176 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52177 (_PATH_PRESERVE): Set to "/var/lib".
52178 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52179
52180 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52181 instead of int.
52182
52183 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52184 if __dir_mkfile succeeded.
52185
52186 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52187 checking for _hurd_dtablesize. Unlock it right after having
52188 finished _hurd_dtable allocation.
52189
52190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52191
52192 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52193 * sysdeps/mach/hurd/configure: Regenerated.
52194 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52195 special-casing to...
52196 * sysdeps/gnu/configure.in: ... this new file.
52197 * sysdeps/unix/sysv/linux/configure: Regenerated.
52198 * sysdeps/gnu/configure: New generated file.
52199
52200 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52201 for Linux: use nsec instead of usec, as well as:
52202 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52203 members of type struct timespec.
52204 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52205 New macros.
52206 (struct stat64): Likewise.
52207 (_STATBUF_ST_NSEC): New macro.
52208 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52209
52210 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52211 __strtoul_internal rather than strtoul.
52212
52213 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52214
52215 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52216 and reject them.
52217
52218 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52219
52220 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52221 which preserves existing values.
52222 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52223
52224 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52225
52226 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52227 TIMEOUT values. Return EINVAL for NFDS values either negative or
52228 greater than FD_SETSIZE.
52229
52230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52231
52232 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52233 allocated, call __vm_protect to finish enabling the existing space, and
52234 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52235 allocate the remainder.
52236
52237 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52238
52239 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52240 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52241
52242 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52243
52244 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52245 sysdeps/mach/hurd/readlink.c.
52246
52247 * posix/tst-sysconf.c (posix_options): Only use
52248 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52249 _POSIX_SYNCHRONIZED_IO when they are defined
52250 * sysdeps/mach/hurd/bits/posix_opt.h:
52251 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52252 (_XOPEN_REALTIME): Undefine macro.
52253 (_XOPEN_REALTIME_THREADS): Undefine macro.
52254 (_XOPEN_SHM): Undefine macro.
52255 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52256 macro to -1.
52257 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52258 macro to -1.
52259 (_POSIX_ASYNC_IO): Undefine macro.
52260 (_POSIX_PRIORITIZED_IO): Undefine macro.
52261 (_POSIX_SPIN_LOCKS): Define macro to -1.
52262
52263 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52264 SA_NODEFER, SA_RESETHAND.
52265 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52266 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52267 F_DUPFD_CLOEXEC.
52268
52269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52270
52271 * elf/Makefile (pldd-modules): Define unconditionally.
52272
52273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52274
52275 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52276
52277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52278
52279 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52280 Return ENOENT when name is empty.
52281 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52282
52283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52284
52285 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52286
52287 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52288
52289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52290
52291 Fix mlock in all cases except non-readable pages.
52292 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52293 instead of VM_PROT_ALL as parameter to __vm_wire function.
52294
52295 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52296 (__mkdir): When path is `/', just fail with EEXIST.
52297 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52298
52299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52300
52301 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52302 <sys/uio.h> (for writev).
52303 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52304 and <sys/param.h> (for MIN).
52305
52306 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52307
52308 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52309 REQUESTED_TIME. Properly set the remaining time and return EINTR
52310 if interrupted.
52311
52312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52313
52314 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52315 Depend on against $(link-rpcuserlibs).
52316
52317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52318
52319 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52320 (__libc_stack_end): Do not use attribute_relro.
52321 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52322 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52323 to libthread-provided value.
52324 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52325 attribute_relro.
52326
52327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52328
52329 [BZ #3748]
52330 * bits/libc-lock.h (__libc_once_get): New macro.
52331 * sysdeps/mach/bits/libc-lock.h: Likewise.
52332 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52334 instead of using implementation details.
52335
52336 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52337 * libio/freopen.c: Likewise.
52338 * libio/freopen64.c: Likewise.
52339 * misc/syslog.c: Likewise.
52340 * nscd/connections.c: Likewise.
52341 * nscd/netgroupcache.c: Likewise.
52342 * sysdeps/posix/getcwd.c: Likewise.
52343
52344 2012-05-10 Roland McGrath <roland@hack.frob.com>
52345
52346 * math/w_ilogbf.c: Add #include <limits.h>.
52347
52348 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52349
52350 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52351 path instead of returning without unlocking.
52352
52353 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52354 immediate-write ioctls.
52355 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52356
52357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52358
52359 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52360 __builtin_frame_address instead of making assumptions about the
52361 location of the return address relative to DATA. Force early load of
52362 the return address.
52363 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52364 __builtin_frame_address.
52365
52366 dup3 for GNU Hurd.
52367 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52368 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52369 implement dup3 and do some further code clean-ups.
52370 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52371 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52372
52373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52374
52375 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52376
52377 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52378 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52379 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52380 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52381 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52382 d->port.lock.
52383
52384 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52385 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52386 when handler == SIG_ERR, not when handler != SIG_ERR.
52387
52388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52389
52390 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52391 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52392 definitions.
52393
52394 accept4 for GNU Hurd.
52395 * include/sys/socket.h (__libc_accept4): New prototype.
52396 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52397 to implement __libc_accept4.
52398 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52399 __libc_accept4.
52400 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52401
52402 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52403 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52404 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52405 signal-defines.sym.
52406
52407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52408
52409 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52410
52411 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52412
52413 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52414 assertion on O_CLOEXEC flag.
52415 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52416 * hurd/intern-fd.c: Likewise.
52417 * hurd/port2fd.c: Likewise.
52418
52419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52420
52421 [BZ #3906]
52422 * bits/in.h (IPV6_PKTINFO): Define new macro.
52423 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52424
52425 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52426
52427 [BZ #13954]
52428 [BZ #13955]
52429 [BZ #13956]
52430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52432 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52433 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52436 * math/libm-test.inc (logb_test) : Additional logb tests.
52437
52438 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52439 Andreas Jaeger <aj@suse.de>
52440
52441 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52442 * configure: Regenerated.
52443 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52444 * config.make.in (link-obsolete-rpc): New substituted variable.
52445 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52446 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52447 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52448 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52449 so that libc.a contains the symbols.
52450 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52451 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52452 * sunrpc/auth_none.c: Likewise.
52453 * sunrpc/auth_unix.c: Likewise.
52454 * sunrpc/authdes_prot.c: Likewise.
52455 * sunrpc/authuxprot.c: Likewise.
52456 * sunrpc/clnt_gen.c: Likewise.
52457 * sunrpc/clnt_perr.c: Likewise.
52458 * sunrpc/clnt_raw.c: Likewise.
52459 * sunrpc/clnt_simp.c: Likewise.
52460 * sunrpc/clnt_tcp.c: Likewise.
52461 * sunrpc/clnt_udp.c: Likewise.
52462 * sunrpc/clnt_unix.c: Likewise.
52463 * sunrpc/des_crypt.c: Likewise.
52464 * sunrpc/des_soft.c: Likewise.
52465 * sunrpc/get_myaddr.c: Likewise.
52466 * sunrpc/key_call.c: Likewise.
52467 * sunrpc/key_prot.c: Likewise.
52468 * sunrpc/netname.c: Likewise.
52469 * sunrpc/pm_getmaps.c: Likewise.
52470 * sunrpc/pm_getport.c: Likewise.
52471 * sunrpc/pmap_clnt.c: Likewise.
52472 * sunrpc/pmap_prot.c: Likewise.
52473 * sunrpc/pmap_prot2.c: Likewise.
52474 * sunrpc/pmap_rmt.c: Likewise.
52475 * sunrpc/publickey.c: Likewise.
52476 * sunrpc/rpc_cmsg.c: Likewise.
52477 * sunrpc/rpc_common.c: Likewise.
52478 * sunrpc/rpc_dtable.c: Likewise.
52479 * sunrpc/rpc_prot.c: Likewise.
52480 * sunrpc/rpc_thread.c: Likewise.
52481 * sunrpc/rtime.c: Likewise.
52482 * sunrpc/svc.c: Likewise.
52483 * sunrpc/svc_auth.c: Likewise.
52484 * sunrpc/svc_raw.c: Likewise.
52485 * sunrpc/svc_run.c: Likewise.
52486 * sunrpc/svc_tcp.c: Likewise.
52487 * sunrpc/svc_udp.c: Likewise.
52488 * sunrpc/svc_unix.c: Likewise.
52489 * sunrpc/svcauth_des.c: Likewise.
52490 * sunrpc/xcrypt.c: Likewise.
52491 * sunrpc/xdr.c: Likewise.
52492 * sunrpc/xdr_array.c: Likewise.
52493 * sunrpc/xdr_float.c: Likewise.
52494 * sunrpc/xdr_intXX_t.c: Likewise.
52495 * sunrpc/xdr_mem.c: Likewise.
52496 * sunrpc/xdr_rec.c: Likewise.
52497 * sunrpc/xdr_ref.c: Likewise.
52498 * sunrpc/xdr_sizeof.c: Likewise.
52499 * sunrpc/xdr_stdio.c: Likewise.
52500
52501 2012-05-10 Roland McGrath <roland@hack.frob.com>
52502
52503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52504 change. Update copyright years.
52505
52506 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52507
52508 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52509
52510 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52511 Joseph Myers <joseph@codesourcery.com>
52512 Paul Pluzhnikov <ppluzhnikov@google.com>
52513
52514 [BZ #14012]
52515 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52516 requiring rpcgen.
52517 [cross-compiling] (extra-libs): Likewise.
52518 [cross-compiling] (extra-libs-others): Likewise.
52519 [cross-compiling] (librpcsvc-routines): Likewise.
52520 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52521 [cross-compiling] (omit-deps): Likewise.
52522 (sunrpc-CPPFLAGS): New variable.
52523 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52524 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52525 (cross-rpcgen-objs): New variable.
52526 (extra-objs): Append $(cross-rpcgen-objs).
52527 ($(cross-rpcgen-objs)): New rule.
52528 ($(objpfx)cross-rpcgen): Likewise.
52529 (rpcgen-cmd): Define to use $(built-program-file). Expand
52530 comment.
52531 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52532 ($(objpfx)x%.stmp): Likewise.
52533 * sunrpc/proto.h [IS_IN_build] (_): Define.
52534 [IS_IN_build] (_libc_intl_domainname): Likewise.
52535
52536 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52537
52538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52539 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52540 and R_X86_64_TPOFF64.
52541
52542 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52543
52544 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52545 sysdeps/unix/sysv/syscalls.list.
52546 (stime): Likewise.
52547 (utime): Likewise.
52548 * sysdeps/unix/sysv/syscalls.list: Remove file.
52549
52550 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52551
52552 [BZ #3440]
52553 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52554 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52555 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52556 (__LC_IDENTIFICATION): Make these macros useful in #if
52557 expressions, as required by C99.
52558
52559 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52560
52561 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52562 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52563 after this.
52564
52565 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52566
52567 * stdlib/longlong.h: Updated from GCC.
52568
52569 2012-05-09 Andreas Jaeger <aj@suse.de>
52570
52571 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52572 default is first entry.
52573 (run_mode): Set type.
52574 (main): Remove informal message about syslog.
52575 (options): Fix typo.
52576
52577 [BZ #14053]
52578 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52579 to asm.
52580 (lrint): Likewise.
52581 (llrintf): Likewise.
52582 (llrint): Likewise.
52583 (rint): Likewise.
52584 (rintf): Likewise.
52585 (nearbyint): Likewise.
52586 (nearbyintf): Likewise.
52587
52588 2012-05-09 Andreas Jaeger <aj@suse.de>
52589 Pedro Alves <palves@redhat.com>
52590
52591 * nscd/nscd.c (run_mode): Use enum.
52592 (main): Cleanup coding style issue.
52593
52594 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52595 Andreas Jaeger <aj@suse.de>
52596
52597 * nscd/nscd.c (go_background): Replaced with...
52598 (run_mode): ... this.
52599 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52600 (options): Add -F --foreground.
52601 (main): Implement it.
52602 (parse_opt): Parse it.
52603
52604 2012-05-09 Andreas Jaeger <aj@suse.de>
52605
52606 [BZ #14083]
52607 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52608 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52609 -Wconversion warning.
52610 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52611 Likewise.
52612
52613 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52614
52615 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52616 == 0.
52617 (LC_ALL): Use macro-int-constant.
52618 (LC_COLLATE): Likewise.
52619 (LC_CTYPE): Likewise.
52620 (LC_MESSAGES): Likewise.
52621 (LC_MONETARY): Likewise.
52622 (LC_NUMERIC): Likewise.
52623 (LC_TIME): Likewise.
52624 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52625 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52627 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52628 Specify type.
52629 [C99-based standards] (float_t): Expect type.
52630 [C99-based standards] (double_t): Expect type.
52631 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52632 type.
52633 [C99-based standards] (HUGE_VALL): Likewise.
52634 [C99-based standards] (INFINITY): Likewise.
52635 [C99-based standards] (NAN): Likewise.
52636 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52637 [C99-based standards] (FP_NAN): Likewise.
52638 [C99-based standards] (FP_NORMAL): Likewise.
52639 [C99-based standards] (FP_SUBNORMAL): Likewise.
52640 [C99-based standards] (FP_ZERO): Likewise.
52641 [C99-based standards] (FP_FAST_FMA): Use
52642 optional-macro-int-constant. Specify type. Require == 1.
52643 [C99-based standards] (FP_FAST_FMAF): Likewise.
52644 [C99-based standards] (FP_FAST_FMAL): Likewise.
52645 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52646 [C99-based standards] (FP_ILOGBNAN): Likewise.
52647 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52648 Specify type.
52649 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52650 [C99-based standards] (math_errhandling): Specify type.
52651 [ISO99 || ISO11] (signgam): Do not allow.
52652 [non-C99-based standards] (copysignf): Do not allow.
52653 [non-C99-based standards] (exp2f): Likewise.
52654 [non-C99-based standards] (log2f): Likewise.
52655 [non-C99-based standards] (modff): Allow.
52656 [non-C99-based standards] (erff): Do not allow.
52657 [non-C99-based standards] (erfcf): Likewise.
52658 [non-C99-based standards] (gammaf): Likewise.
52659 [non-C99-based standards] (hypotf): Likewise.
52660 [non-C99-based standards] (j0f): Likewise.
52661 [non-C99-based standards] (j1f): Likewise.
52662 [non-C99-based standards] (jnf): Likewise.
52663 [non-C99-based standards] (lgammaf): Likewise.
52664 [non-C99-based standards] (tgammaf): Likewise.
52665 [non-C99-based standards] (y0f): Likewise.
52666 [non-C99-based standards] (y1f): Likewise.
52667 [non-C99-based standards] (ynf): Likewise.
52668 [non-C99-based standards] (isnanf): Likewise.
52669 [non-C99-based standards] (acoshf): Likewise.
52670 [non-C99-based standards] (asinhf): Likewise.
52671 [non-C99-based standards] (atanhf): Likewise.
52672 [non-C99-based standards] (cbrtf): Likewise.
52673 [non-C99-based standards] (expm1f): Likewise.
52674 [non-C99-based standards] (ilogbf): Likewise.
52675 [non-C99-based standards] (log1pf): Likewise.
52676 [non-C99-based standards] (logbf): Likewise.
52677 [non-C99-based standards] (nextafterf): Likewise.
52678 [non-C99-based standards] (remainderf): Likewise.
52679 [non-C99-based standards] (rintf): Likewise.
52680 [non-C99-based standards] (scalbf): Likewise.
52681 [non-C99-based standards] (copysignl): Likewise.
52682 [non-C99-based standards] (exp2l): Likewise.
52683 [non-C99-based standards] (log2l): Likewise.
52684 [non-C99-based standards] (modfl): Allow.
52685 [non-C99-based standards] (erfl): Do not allow.
52686 [non-C99-based standards] (erfcl): Likewise.
52687 [non-C99-based standards] (gammal): Likewise.
52688 [non-C99-based standards] (hypotl): Likewise.
52689 [non-C99-based standards] (j0l): Likewise.
52690 [non-C99-based standards] (j1l): Likewise.
52691 [non-C99-based standards] (jnl): Likewise.
52692 [non-C99-based standards] (lgammal): Likewise.
52693 [non-C99-based standards] (tgammal): Likewise.
52694 [non-C99-based standards] (y0l): Likewise.
52695 [non-C99-based standards] (y1l): Likewise.
52696 [non-C99-based standards] (ynl): Likewise.
52697 [non-C99-based standards] (isnanl): Likewise.
52698 [non-C99-based standards] (acoshl): Likewise.
52699 [non-C99-based standards] (asinhl): Likewise.
52700 [non-C99-based standards] (atanhl): Likewise.
52701 [non-C99-based standards] (cbrtl): Likewise.
52702 [non-C99-based standards] (expm1l): Likewise.
52703 [non-C99-based standards] (ilogbl): Likewise.
52704 [non-C99-based standards] (log1pl): Likewise.
52705 [non-C99-based standards] (logbl): Likewise.
52706 [non-C99-based standards] (nextafterl): Likewise.
52707 [non-C99-based standards] (remainderl): Likewise.
52708 [non-C99-based standards] (rintl): Likewise.
52709 [non-C99-based standards] (scalbl): Likewise.
52710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52711 [non-C99-based standards] (FP_*): Do not allow.
52712 [C99-based standards] (FP_*): Change to
52713 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52714 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52715 allow.
52716 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52717 (SIG_ERR): Likewise.
52718 [X/Open-based standards] (SIG_HOLD): Likewise.
52719 (SIG_IGN): Likewise.
52720 (SIGABRT): Use macro-int-constant. Specify type. Require
52721 positive value.
52722 (SIGFPE): Likewise.
52723 (SIGILL): Likewise.
52724 (SIGINT): Likewise.
52725 (SIGSEGV): Likewise.
52726 (SIGTER): Likewise.
52727 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52728 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52729 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52730 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52731 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52732 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52733 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52734 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52735 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52736 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52737 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52738 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52739 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52740 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52741 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52742 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52743 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52744 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52745 [X/Open-based standards] (SIGTRAP): Likewise.
52746 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52747 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52748 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52749 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52750 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52751 allow.
52752
52753 2012-05-08 Ian Wienand <ianw@vmware.com>
52754
52755 [BZ #14080]
52756 * time/tzset.c (__tzset_parse_tz): Update default rules for
52757 daylight time changes in the Energy Policy Act of 2005.
52758
52759 2012-05-09 Andreas Jaeger <aj@suse.de>
52760
52761 [BZ #13983]
52762 * elf/ldconfig.c (parse_conf): Change string to make clear that
52763 ldconfig only issued a warning if ld.so.conf does not exist.
52764
52765 2012-05-08 David S. Miller <davem@davemloft.net>
52766
52767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52768 movxtod instead of popping the value on the stack.
52769
52770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52771
52772 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52773
52774 * config.h.in: Add HAVE_ARM_PCS_VFP.
52775
52776 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52777
52778 [BZ #13979]
52779 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52780 checking but the checks are disabled for any reason.
52781
52782 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52783
52784 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52785 and ELF64_R_TYPE with ELFW(R_TYPE).
52786
52787 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52788
52789 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52790 (ulimit): Likewise.
52791
52792 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52793 (settimeofday): Likewise.
52794
52795 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52796
52797 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52798 a struct th_u2 inside the union, and move tu_block/tu_code into
52799 a new th_u3 union of tu_block/tu_code inside of that. Move
52800 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52801 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52802 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52803 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52804 (th_stuff): Change to th_u1.tu_stuff.
52805 (th_data): Define.
52806 (th_msg): Change to th_u1.th_u2.tu_data.
52807
52808 2012-05-07 David S. Miller <davem@davemloft.net>
52809
52810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52811
52812 [BZ #14074]
52813 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52814 (SETUP_PIC_REG): Use it.
52815 (SETUP_PIC_REG_LEAF): Use it.
52816
52817 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52818
52819 [BZ #13885]
52820 [BZ #13923]
52821 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52822 USE_AS_EXPM1L.
52823 (EXPL_FINITE): Likewise.
52824 (FLDLOG): Likewise.
52825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52826 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52827 e_expl.S.
52828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52829 USE_AS_EXPM1L.
52830 (EXPL_FINITE): Likewise.
52831 (FLDLOG): Likewise.
52832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52833 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52834 e_expl.S.
52835 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52836 test of -max_value argument for long double.
52837 * sysdeps/i386/fpu/libm-test-ulps: Update.
52838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52839
52840 2012-05-06 David S. Miller <davem@davemloft.net>
52841
52842 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52843 quad soft-float symbols whose references which are compiler
52844 generated.
52845 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52846
52847 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52848
52849 [BZ #13884]
52850 [BZ #13914]
52851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52852 USE_AS_EXP10L.
52853 (EXPL_FINITE): Likewise.
52854 (FLDLOG): Likewise.
52855 (c0): Likewise.
52856 (c1): Likewise.
52857 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52858 Adjust comments for base varying.
52859 (__expl_finite): Change alias to EXPL_FINITE.
52860 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52861 e_expl.S.
52862 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52863 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52864 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52865 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52867 USE_AS_EXP10L.
52868 (EXPL_FINITE): Likewise.
52869 (FLDLOG): Likewise.
52870 (c0): Likewise.
52871 (c1): Likewise.
52872 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52873 Adjust comments for base varying.
52874 (__expl_finite): Change alias to EXPL_FINITE.
52875 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52876 tests for bugs.
52877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52878
52879 [BZ #14064]
52880 * math/libm-test.inc (check_float_internal): Correct ulp
52881 calculation for subnormal expected results.
52882
52883 2012-05-06 Andreas Jaeger <aj@suse.de>
52884
52885 * Makeconfig (+math-flags): New, set to -frounding-math.
52886 (+cflags): Add +math-flags so that all of glibc gets compiled with
52887 it.
52888
52889 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52890
52891 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52892
52893 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52894 Disable one test.
52895
52896 [BZ #13787]
52897 [BZ #13922]
52898 [BZ #14036]
52899 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52900 (__ieee754_expl): Allow for and saturate large arguments.
52901 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52902 (u_threshold): Likewise.
52903 (__exp): Call __ieee754_exp before checking for overflow and
52904 underflow.
52905 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52906 (u_threshold): Likewise.
52907 (__expf): Call __ieee754_expf before checking for overflow and
52908 underflow.
52909 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52910 (u_threshold): Likewise.
52911 (__expl): Call __ieee754_expl before checking for overflow and
52912 underflow.
52913 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52914 (__ieee754_expl): Allow for and saturate large arguments.
52915 * math/libm-test.inc (exp_test): Add another test. Do not allow
52916 missing overflow exception on overflow.
52917 (expm1_test): Do not allow missing overflow exception on overflow.
52918
52919 * sysdeps/i386/fpu/e_expl.c: Move to ...
52920 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52921 rather than using inline asm.
52922 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52923 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52924 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52925
52926 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52927 (nice): Likewise.
52928 (poll): Likewise.
52929 (signal): Likewise.
52930 (time): Likewise.
52931 (times): Likewise.
52932
52933 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52934
52935 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52936 sysdeps/unix/common/syscalls.list.
52937 (fchmod): Likewise.
52938 (fchown): Likewise.
52939 (ftruncate): Likewise.
52940 (getrusage): Likewise.
52941 (gettimeofday): Likewise.
52942 (setpgid): Likewise.
52943 (setregid): Likewise.
52944 (setreuid): Likewise.
52945 (sigaction): Likewise.
52946 (truncate): Likewise.
52947 (vhangup): Likewise.
52948 * sysdeps/unix/common/syscalls.list: Remove file.
52949 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52950 * sysdeps/unix/sysv/linux/Implies: Likewise.
52951
52952 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52953
52954 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52956 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52957 Moved to ...
52958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52959 Here.
52960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52961 to ...
52962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52964 to ...
52965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52966 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52967 to ...
52968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52969 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52970 to ...
52971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52972 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52973 to ...
52974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52975 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52976 to ...
52977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52978 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52979 to ...
52980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52981 Here.
52982 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52983 to ...
52984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52985 Here.
52986 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52987 to ...
52988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52989 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52990 Moved to ...
52991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52992 Here.
52993 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52994 to ...
52995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52996
52997 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52998
52999 * sysdeps/unix/common/bits/dirent.h: Remove file.
53000 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53001
53002 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53003 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53004 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53005 * sysdeps/unix/bsd/isatty.c: Likewise.
53006 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53007 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53008 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53009
53010 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53011
53012 [BZ #13563]
53013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53014 long double comparison inaccuracies.
53015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53017
53018 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53019
53020 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53022
53023 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53024
53025 [BZ #14049]
53026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53027 nonzero digits before rounding a hex value.
53028 * stdlib/tst-strtod.c (tests): Add another test.
53029
53030 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53031
53032 * sysdeps/s390/fpu/libm-test-ulps: Update.
53033
53034 2012-05-03 Andreas Jaeger <aj@suse.de>
53035
53036 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53037 does not get optimized out.
53038 (malloc_opt_barrier): New.
53039
53040 2012-05-03 Andreas Jaeger <aj@suse.de>
53041 Roland McGrath <roland@hack.frob.com>
53042
53043 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53044 intermediate file deletion.
53045 (generated): Add .symlist files.
53046
53047 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53048
53049 [BZ #13775]
53050 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53051 Redirect under this condition.
53052 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53053 [__USE_GNU] (__dprintf_chk): Not under this condition.
53054 [__USE_GNU] (__vdprintf_chk): Likewise.
53055 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53056 under this condition.
53057 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53058 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53059 [__USE_XOPEN2K8] (vdprintf): Likewise.
53060 [__USE_GNU] (__dprintf_chk): Not under this condition.
53061 [__USE_GNU] (__vdprintf_chk): Likewise.
53062 [__USE_GNU] (dprintf): Likewise.
53063 [__USE_GNU] (vdprintf): Likewise.
53064
53065 2012-05-03 Roland McGrath <roland@hack.frob.com>
53066
53067 * elf/Makefile (common-generated): Set this instead of generated for
53068 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53069 $(all-built-dso)-derived lists.
53070
53071 2012-05-03 Andreas Jaeger <aj@suse.de>
53072
53073 * sysdeps/i386/fpu/libm-test-ulps: Update.
53074
53075 * FAQ: Removed.
53076 * FAQ.in: Likewise.
53077 * scripts/gen-FAQ.pl: Likewise.
53078 * manual/install.texi (Installation): Point to online location of
53079 FAQ.
53080 * Makefile (files-for-dist): Remove FAQ.
53081 (FAQ): Remove.
53082
53083 2012-05-02 Allan McRae <allan@archlinux.org>
53084
53085 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53086 (LDFLAGS-reldepmod5.so): Likewise.
53087 (LDFLAGS-reldep6mod1.so): Likewise.
53088 (LDFLAGS-reldep6mod4.so): Likewise.
53089 (LDFLAGS-reldep8mod3.so): Likewise.
53090 (LDFLAGS-unload4mod1.so): Likewise.
53091 (LDFLAGS-unload4mod2.so): Likewise.
53092 (LDFLAGS-tst-initorder): Likewise.
53093 (LDFLAGS-tst-initordera2.so): Likewise.
53094 (LDFLAGS-tst-initordera3.so): Likewise.
53095 (LDFLAGS-tst-initordera4.so): Likewise.
53096 (LDFLAGS-tst-initorderb2.so): Likewise.
53097 (LDFLAGS-noload): Likewise.
53098 (LDFLAGS-next): Likewise.
53099 (LDFLAGS-order2mod1.so): Likewise.
53100 (LDFLAGS-order2mod2.so): Likewise.
53101 (LDFLAGS-tst-initorder2): Likewise.
53102 (LDFLAGS-tst-initorder2a.so): Likewise.
53103 (LDFLAGS-tst-initorder2b.so): Likewise.
53104 (LDFLAGS-tst-initorder2c.so): Likewise.
53105 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53106
53107 2012-05-02 David S. Miller <davem@davemloft.net>
53108
53109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53110
53111 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53112
53113 [BZ #14055]
53114 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53115
53116 2012-05-02 Andreas Jaeger <aj@suse.de>
53117
53118 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53119 since we manipulate rounding mode.
53120 (CPPFLAGS-test-idouble.c): Likewise.
53121 (CPPFLAGS-test-ifloat.c): Likewise.
53122 (CFLAGS-test-ldouble.c): Likewise.
53123 (CFLAGS-test-double.c): Likewise.
53124 (CFLAGS-test-float.c): Likewise.
53125 (CFLAGS-test-misc.c): Likewise.
53126 (CFLAGS-test-test-fenv.c): Likewise.
53127
53128 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53129
53130 [BZ #2550]
53131 [BZ #2570]
53132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53133 comparisons to determine direction to adjust input.
53134
53135 2012-05-01 Roland McGrath <roland@hack.frob.com>
53136
53137 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53138 output to the target.
53139
53140 * scripts/localplt.awk: New file.
53141 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53142 (check-localplt-CFLAGS): Variable removed.
53143 ($(all-built-dso:=.jmprel)): New static pattern rule.
53144 (generated): Add those targets.
53145 (localplt-built-dso): New variable.
53146 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53147
53148 * elf/check-localplt.c: File removed.
53149
53150 * scripts/check-execstack.awk: New file.
53151 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53152 (check-execstack-CFLAGS): Variable removed.
53153 ($(objpfx)check-execstack.h): Target removed.
53154 ($(objpfx)execstack-default): New target.
53155 (generated): Add that instead of check-execstack.h.
53156 ($(all-built-dso:=.phdr)): New static pattern rule.
53157 (generated): Add those targets.
53158 * elf/check-execstack.c: File removed.
53159
53160 * scripts/check-textrel.awk: New file.
53161 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53162 (check-textrel-CFLAGS): Variable removed.
53163 (all-built-dso): Use := to define.o
53164 ($(all-built-dso:=.dyn)): New static pattern rule.
53165 (generated): Add those targets.
53166 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53167 * config.make.in (READELF): New substituted variable.
53168 * elf/check-textrel.c: File removed.
53169
53170 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53171
53172 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53173 allow.
53174 * conform/data/ctype.h-data [C99-based standards] (isblank):
53175 Expect function.
53176 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53177 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53179 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53180 Specify type. Require positive value.
53181 (EILSEQ): Likewise.
53182 (ERANGE): Likewise.
53183 [ISO || POSIX] (EILSEQ): Do not expect.
53184 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53185 Specify type. Require positive value.
53186 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53187 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53188 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53189 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53190 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53191 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53192 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53193 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53194 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53195 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53196 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53197 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53198 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53199 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53200 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53201 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53202 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53203 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53204 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53205 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53206 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53207 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53208 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53209 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53210 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53211 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53212 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53213 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53214 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53215 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53216 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53217 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53218 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53219 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53220 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53221 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53222 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53223 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53224 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53225 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53226 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53227 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53228 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53229 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53230 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53231 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53232 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53233 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53234 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53235 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53236 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53237 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53238 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53239 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53240 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53241 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53242 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53243 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53244 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53245 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53246 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53247 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53248 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53249 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53250 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53251 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53252 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53253 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53254 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53255 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53256 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53257 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53258 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53259 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53260 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53261 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53262 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53263 Require >= 2.
53264 (FLT_ROUNDS): Expect as macro, not constant.
53265 (FLT_MANT_DIG): Use macro-int-constant.
53266 (DBL_MANT_DIG): Likewise.
53267 (LDBL_MANT_DIG): Likewise.
53268 (FLT_DIG): Likewise.
53269 (DBL_DIG): Likewise.
53270 (LDBL_DIG): Likewise.
53271 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53272 (DBL_MIN_EXP): Likewise.
53273 (LDBL_MIN_EXP): Likewise.
53274 (FLT_MAX_EXP): Use macro-int-constant.
53275 (DBL_MAX_EXP): Likewise.
53276 (LDBL_MAX_EXP): Likewise.
53277 (FLT_MAX_10_EXP): Likewise.
53278 (DBL_MAX_10_EXP): Likewise.
53279 (LDBL_MAX_10_EXP): Likewise.
53280 (FLT_MAX): Use macro-constant.
53281 (DBL_MAX): Likewise.
53282 (LDBL_MAX): Likewise.
53283 (FLT_EPSILON): Use macro-constant. Give upper bound.
53284 (DBL_EPSILON): Likewise.
53285 (LDBL_EPSILON): Likewise.
53286 (FLT_MIN): Likewise.
53287 (DBL_MIN): Likewise.
53288 (LDBL_MIN): Likewise.
53289 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53290 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53291 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53292 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53293 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53294 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53295 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53296 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53297 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53298 [ISO11] (FLT_TRUE_MIN): Likewise.
53299 [ISO11] (LDBL_TRUE_MIN): Likewise.
53300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53301 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53302 (SCHAR_MIN): Use macro-int-constant. Specify type.
53303 (SCHAR_MAX): Likewise.
53304 (UCHAR_MAX): Likewise.
53305 (CHAR_MIN): Likewise.
53306 (CHAR_MAX): Likewise.
53307 (MB_LEN_MAX): Use macro-int-constant.
53308 (SHRT_MIN): Use macro-int-constant. Specify type.
53309 (SHRT_MAX): Likewise.
53310 (USHRT_MAX): Likewise.
53311 (INT_MAX): Likewise.
53312 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53313 bound negative.
53314 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53315 bound with "U".
53316 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53317 bound with "L".
53318 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53319 bound negative. Suffix upper bound with "L".
53320 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53321 bound with "UL".
53322 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53323 Specify type.
53324 [C99-based standards] (LLONG_MAX): Likewise.
53325 [C99-based standards] (ULLONG_MAX): Likewise.
53326 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53327 == 0.
53328 [ISO11] (max_align_t): Require type.
53329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53330
53331 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53332 from $CFLAGS, without defining away __attribute__ calls.
53333 (checknamespace): Use $CFLAGS_namespace.
53334
53335 * conform/conformtest.pl (@keywords): Only include C99 keywords
53336 for standards based on C99 or C11.
53337
53338 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53339 Disable tests.
53340 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53341 UNIX98]: Likewise.
53342
53343 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53344 usability of symbols in #if.
53345
53346 * conform/conformtest.pl: If macro or constant types start
53347 "promoted:", expect the symbol to be of the following type
53348 promoted by the integer promotions.
53349
53350 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53351 in one place. Also handle "macro-constant".
53352
53353 * conform/conformtest.pl: Only accept expected macro values with
53354 "==". Parse all "macro" lines in one place.
53355 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53356
53357 * conform/conformtest.pl: Handle braced types on "constant" lines
53358 instead of handling "typed-constant".
53359 * conform/data/signal.h-data: Use "constant" instead of
53360 "typed-constant".
53361
53362 * conform/conformtest.pl: Handle "optional-" at start of lines in
53363 one place rather than duplicating several cases. Handle each
53364 format of "macro" line with initial "optional-".
53365
53366 * conform/conformtest.pl: Only accept expected constant or
53367 optional-constant values with "==". Parse all "constant" lines in
53368 one place. Parse all "optional-constant" lines in one place.
53369 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53370 * conform/data/fmtmsg.h-data: Likewise.
53371 * conform/data/netinet/in.h-data: Likewise.
53372 * conform/data/tar.h-data: Likewise.
53373 * conform/data/limits.h-data: Use "==" form on "constant" and
53374 "optional-constant" lines.
53375
53376 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53377 Use -std=c99 for XOPEN2K.
53378 (@knownproblems): Remove.
53379 (newtoken): Don't check %isknown.
53380
53381 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53382 Do not expect macro.
53383 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53384 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53385 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53386 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53387 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53388 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53389 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53390 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53391 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53392 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53393 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53394 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53395 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53396 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53397 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53398 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53399 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53400 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53401 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53402 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53403 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53404 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53405 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53406 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53407 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53408 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53409 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53410 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53411 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53412 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53413 [XPG3] (acosh): Likewise.
53414 [XPG3] (asinh): Likewise.
53415 [XPG3] (atanh): Likewise.
53416 [XPG3] (cbrt): Likewise.
53417 [XPG3] (expm1): Likewise.
53418 [XPG3] (ilogb): Likewise.
53419 [XPG3] (log1p): Likewise.
53420 [XPG3] (logb): Likewise.
53421 [XPG3] (nextafter): Likewise.
53422 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53423 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53424 [XPG3] (remainder): Likewise.
53425 [XPG3] (rint): Likewise.
53426 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53427 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53428 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53429 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53430 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53431 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53432 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53433 [UNIX98 || XOPEN2K] (scalb): Expect.
53434 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53435 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53436 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53437 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53438 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53439 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53440 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53441 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53442 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53443 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53444 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53445 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53446 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53447 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53448 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53449 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53450 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53451 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53452 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53453 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53454 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53455 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53456 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53457 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53458 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53459 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53460 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53461 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53462 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53463 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53464 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53465 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53466 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53467 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53468 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53469 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53470 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53471 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53472 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53473 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53474 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53475 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53476 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53477 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53478 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53479 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53480 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53481 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53482 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53483 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53484 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53485 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53486 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53487 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53488 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53489 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53490 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53491 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53492 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53493 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53494 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53495 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53496 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53497 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53498 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53499 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53500 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53501 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53502 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53503 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53504 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53505 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53506 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53507 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53508 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53509 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53510 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53511 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53512 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53513 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53514 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53515 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53516 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53517 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53518 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53519 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53520 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53521 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53522 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53523 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53524 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53525 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53526 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53527 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53528 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53529 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53530 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53531 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53532 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53533 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53534 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53535 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53536 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53537 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53538 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53539 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53540 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53541 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53542 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53543 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53544 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53545 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53546 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53547 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53548 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53549 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53550 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53551 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53552 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53553 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53554 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53555 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53556 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53557 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53558 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53559 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53560 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53561 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53562 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53563 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53564 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53565 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53566 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53567 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53568 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53569 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53570 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53571
53572 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53573 _XOPEN_SOURCE_EXTENDED for XPG4.
53574
53575 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53576
53577 * Makeconfig (localtime): Remove variable.
53578 (inst_localtime-file): Likewise.
53579
53580 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53581
53582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53583 Update.
53584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53585 Update.
53586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53587 Update.
53588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53589 Update.
53590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53591 Update.
53592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53593 Update.
53594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53595 Update.
53596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53597 Update.
53598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53599 Update.
53600
53601 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53602
53603 [BZ #2550]
53604 [BZ #2570]
53605 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53606 comparisons to determine direction to adjust input.
53607 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53608 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53610 Likewise.
53611 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53612 Likewise.
53613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53614 Likewise.
53615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53617 Likewise.
53618 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53619 Likewise.
53620 * math/libm-test.inc (nexttoward_test): Add more tests.
53621
53622 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53623
53624 [BZ #14040]
53625 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53626 in version GLIBC_2.1, not GLIBC_2.0.
53627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53628 Likewise.
53629
53630 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53631
53632 [BZ #13942]
53633 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53634 (1 - x) * (1 + x).
53635 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53636 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53637 * math/libm-test.inc (acos_test): Add more tests.
53638 (asin_test): Likewise.
53639 * sysdeps/i386/fpu/libm-test-ulps: Update.
53640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53641
53642 [BZ #14034]
53643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53644 of square root.
53645 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53646 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53647 * math/libm-test.inc (acos_test_tonearest): New function.
53648 (acos_test_towardzero): Likewise.
53649 (acos_test_downward): Likewise.
53650 (acos_test_upward): Likewise.
53651 (asin_test_tonearest): Likewise.
53652 (asin_test_towardzero): Likewise.
53653 (asin_test_downward): Likewise.
53654 (asin_test_upward): Likewise.
53655 (main): Call the new functions.
53656 * sysdeps/i386/fpu/libm-test-ulps: Update.
53657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53658
53659 [BZ #13884]
53660 [BZ #13924]
53661 * math/e_exp10.c: Include <float.h>.
53662 (__ieee754_exp10): Handle underflow here rather than multiplying
53663 large negative argument by M_LN10.
53664 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53665 of __ieee754_expf.
53666 * math/e_exp10l.c: Include <float.h>.
53667 (__ieee754_exp10l): Handle underflow here rather than multiplying
53668 large negative argument by M_LN10l.
53669 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53670 spurious overflow exception on underflow.
53671
53672 2012-04-29 Marek Polacek <polacek@redhat.com>
53673
53674 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53675 (__fortify_function): New macro.
53676 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53677 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53678 __extern_always_inline.
53679 * libio/bits/stdio2.h: Likewise.
53680 * libio/bits/stdio.h: Likewise.
53681 * string/string.h: Likewise.
53682 * string/bits/string3.h: Likewise.
53683 * include/stdio.h: Likewise.
53684 * stdlib/bits/stdlib.h: Likewise.
53685 * stdlib/stdlib.h: Likewise.
53686 * rt/bits/mqueue2.h: Likewise.
53687 * rt/mqueue.h: Likewise.
53688 * posix/bits/unistd.h: Likewise.
53689 * posix/unistd.h: Likewise.
53690 * io/bits/poll2.h: Likewise.
53691 * io/bits/fcntl2.h: Likewise.
53692 * io/fcntl.h: Likewise.
53693 * io/sys/poll.h: Likewise.
53694 * misc/bits/syslog.h: Likewise.
53695 * misc/bits/syslog-ldbl.h: Likewise.
53696 * misc/sys/syslog.h: Likewise.
53697 * socket/bits/socket2.h: Likewise.
53698 * socket/sys/socket.h: Likewise.
53699 * debug/tst-chk1.c: Likewise.
53700 * wcsmbs/bits/wchar2.h: Likewise.
53701 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53702 * wcsmbs/wchar.h: Likewise.
53703
53704 2012-04-29 Andreas Jaeger <aj@suse.de>
53705
53706 * Makerules (tests): Remove enable-check-abi protection.
53707 (check-abi-warn): Remove.
53708 (check-abi-%): Remove check-abi-warn usage.
53709
53710 * configure.in: Remove check-abi configure option.
53711 * configure: Regenerated.
53712 * config.make.in (enable-check-abi): Remove.
53713
53714 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53715
53716 [BZ #14033]
53717 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53718 double functions to double *_finite functions.
53719
53720 [BZ #13941]
53721 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53722 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53723 LDBL_MIN_EXP.
53724 * stdio-common/Makefile (tests): Add tst-sprintf3.
53725 * stdio-common/tst-sprintf3.c: New file.
53726
53727 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53728 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53729
53730 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53731
53732 * conform/conformtest.pl: Remove duplicate typed-constant
53733 handling.
53734
53735 2012-04-28 David S. Miller <davem@davemloft.net>
53736
53737 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53738 (check-abi-%): Remove AWK script prerequisite and explicit
53739 abilist directory.
53740 (check-abi): Rewrite to just diff the symlist with the abilist.
53741 (config-tls, config-abi-config): Delete, no longer used.
53742 (update-abi-%): Remove AWK script and explicit abilist directory.
53743 (update-abi): Rewrite to simply compare and conditionally copy the
53744 symlist and the sysdep abilist file. Remove update-abi-config
53745 checks.
53746 * abilist/ld.abilist: Remove.
53747 * abilist/libBrokenLocale.abilist: Remove.
53748 * abilist/libanl.abilist: Remove.
53749 * abilist/libcrypt.abilist: Remove.
53750 * abilist/libdl.abilist: Remove.
53751 * abilist/librt.abilist: Remove.
53752 * abilist/libthread_db.abilist: Remove.
53753 * abilist/libutil.abilist: Remove.
53754 * scripts/extract-abilist.awk: Remove.
53755 * scripts/merge-abilist.awk: Remove.
53756 * sysdeps/generic/libcidn.abilist: New file.
53757 * sysdeps/generic/libnss_compat.abilist: New file.
53758 * sysdeps/generic/libnss_db.abilist: New file.
53759 * sysdeps/generic/libnss_dns.abilist: New file.
53760 * sysdeps/generic/libnss_files.abilist: New file.
53761 * sysdeps/generic/libnss_hesiod.abilist: New file.
53762 * sysdeps/generic/libnss_nis.abilist: New file.
53763 * sysdeps/generic/libnss_nisplus.abilist: New file.
53764 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53765 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53766 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53767 file.
53768 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53769 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53770 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53771 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53772 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53773 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53774 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53775 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53776 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53777 file.
53778 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53779 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53780 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53781 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53782 file.
53783 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53784 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53785 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53786 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53787 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53789 file.
53790 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53791 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53792 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53793 file.
53794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53796 New file.
53797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53798 New file.
53799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53800 New file.
53801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53802 New file.
53803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53804 New file.
53805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53806 New file.
53807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53808 New file.
53809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53810 New file.
53811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53812 New file.
53813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53814 New file.
53815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53816 New file.
53817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53818 New file.
53819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53820 New file.
53821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53822 file.
53823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53824 New file.
53825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53826 New file.
53827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53828 file.
53829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53830 New file.
53831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53832 New file.
53833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53834 file.
53835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53836 New file.
53837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53838 New file.
53839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53840 New file.
53841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53842 New file.
53843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53844 New file.
53845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53846 New file.
53847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53849 file.
53850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53851 New file.
53852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53853 file.
53854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53855 file.
53856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53857 file.
53858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53859 file.
53860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53861 file.
53862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53863 New file.
53864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53865 file.
53866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53867 file.
53868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53869 New file.
53870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53871 file.
53872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53874 file.
53875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53876 New file.
53877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53878 file.
53879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53880 file.
53881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53882 file.
53883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53884 file.
53885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53886 file.
53887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53888 New file.
53889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53890 file.
53891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53892 file.
53893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53894 New file.
53895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53896 file.
53897 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53898 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53899 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53900 file.
53901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53902 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53903 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53904 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53905 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53906 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53907 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53908 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53909 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53910 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53913 file.
53914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53915 New file.
53916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53917 file.
53918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53919 file.
53920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53921 file.
53922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53923 file.
53924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53925 file.
53926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53927 New file.
53928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53929 New file.
53930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53931 file.
53932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53933 New file.
53934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53935 file.
53936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53938 file.
53939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53940 New file.
53941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53942 file.
53943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53944 file.
53945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53946 file.
53947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53948 file.
53949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53950 file.
53951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53952 New file.
53953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53954 New file.
53955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53956 file.
53957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53958 New file.
53959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53960 file.
53961
53962 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53963
53964 * conform/conformtest.pl: Fix typo in handling typed-constant from
53965 allow-header.
53966
53967 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53968
53969 * README: Cut down references to pre-2.6 Linux kernels and
53970 Linuxthreads. Update lists of configurations in libc and ports
53971 and sort alphabetically. Say "or newer" with Linux kernel version
53972 requirements.
53973
53974 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53975
53976 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53977
53978 [BZ #887]
53979 * math/libm-test.inc (logb_test_downward): New test to expose
53980 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53981 rounding mode.
53982
53983 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53984
53985 [BZ #14027]
53986 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53987 to be done.
53988 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53989 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53990
53991 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53992
53993 * sysdeps/unix/i386/brk.S: Remove file.
53994 * sysdeps/unix/i386/dl-brk.S: Likewise.
53995 * sysdeps/unix/i386/pipe.S: Likewise.
53996 * sysdeps/unix/i386/sigreturn.S: Likewise.
53997 * sysdeps/unix/i386/syscall.S: Likewise.
53998 * sysdeps/unix/i386/vfork.S: Likewise.
53999 * sysdeps/unix/i386/wait.S: Likewise.
54000
54001 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54002 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54003
54004 * configure.in (arm*-none*): Do not allow without
54005 --enable-hacker-mode.
54006 (netbsd*): Remove case setting base_os.
54007 (386bsd*): Likewise.
54008 (freebsd*): Likewise.
54009 (bsdi*): Likewise.
54010 (osf*): Likewise.
54011 (sunos*): Likewise.
54012 (ultrix*): Likewise.
54013 (newsos*): Likewise.
54014 (dynix*): Likewise.
54015 (*bsd*): Likewise.
54016 (sysv*): Likewise.
54017 (isc*): Likewise.
54018 (esix*): Likewise.
54019 (sco*): Likewise.
54020 (minix*): Likewise.
54021 (irix4*): Likewise.
54022 (irix6*): Likewise.
54023 (solaris[2-9]*): Likewise.
54024 (none): Likewise.
54025 * configure: Regenerated.
54026
54027 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54028
54029 [BZ #11521]
54030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54031 overflow or cancellation in calculating denominator.
54032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54034 down expression to avoid unexpected rounding in newer GCCs.
54035 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54036
54037 2012-04-26 David S. Miller <davem@davemloft.net>
54038
54039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54040 long-double compat symbols.
54041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54054
54055 2012-04-25 David S. Miller <davem@davemloft.net>
54056
54057 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54058 HWCAP_* values only after the memory barriers have been defined.
54059 (atomic_full_barrier): Define.
54060 (atomic_read_barrier): Define.
54061 (atomic_write_barrier): Define.
54062
54063 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54064
54065 * shlib-versions: Add libgcc_s version information.
54066 * sysdeps/generic/libgcc_s.h: Remove.
54067 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54068 libgcc_s.h.
54069 * sysdeps/gnu/unwind-resume.c: Likewise.
54070 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54071
54072 2012-04-25 David S. Miller <davem@davemloft.net>
54073
54074 * sysdeps/unix/sparc/brk.S: Delete.
54075 * sysdeps/unix/sparc/dl-brk.S: Delete.
54076 * sysdeps/unix/sparc/pipe.S: Delete.
54077 * sysdeps/unix/sparc/sysdep.S: Delete.
54078 * sysdeps/unix/sparc/sysdep.h: Delete.
54079 * sysdeps/unix/sparc/vfork.S: Delete.
54080 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54081 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54082 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54083 (ret_ERRVAL, r0, r1, MOVE): Define.
54084 (JUMPTARGET): Remove.
54085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54086 sysdeps/unix/sparc/sysdep.h
54087 (ENTRY, END): Remove.
54088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54089
54090 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54091
54092 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54093 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54094 -DIS_IN_build.
54095
54096 * timezone/README: Update upstream location and email address for
54097 tzcode and tzdata.
54098 * timezone/zdump.c: Update from tzcode 2012b.
54099 * timezone/zic.c: Likewise.
54100
54101 * configure.in (libc_cv_as_needed): Remove test.
54102 * configure: Regenerated.
54103 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54104 conditional definition.
54105 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54106 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54107 * config.make.in (have-as-needed): Remove variable.
54108
54109 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54110 Paul Pluzhnikov <ppluzhnikov@google.com>
54111
54112 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54113 strings correctly.
54114
54115 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54116
54117 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54118 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54119 * sysdeps/sh/strlen.S: Likewise.
54120
54121 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54122
54123 * sysdeps/unix/fork.S: Remove file.
54124 * sysdeps/unix/i386/fork.S: Likewise.
54125 * sysdeps/unix/sparc/fork.S: Likewise.
54126
54127 * sysdeps/unix/system.c: Remove file.
54128 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54129
54130 * sysdeps/unix/getegid.S: Remove file.
54131 * sysdeps/unix/geteuid.S: Likewise.
54132
54133 2012-04-24 Roland McGrath <roland@hack.frob.com>
54134
54135 * scripts/check-localplt.awk: New file.
54136 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54137 of diff.
54138 * scripts/data/localplt-generic.data: Add a comment.
54139
54140 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54141 NODE when __dir_mkfile failed.
54142 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54143 Reported by Ludovic Courtès <ludo@gnu.org>.
54144
54145 2012-04-24 Andreas Jaeger <aj@suse.de>
54146
54147 * Makerules (common-clean): Also remove gen-as-const-headers
54148 files.
54149
54150 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54151
54152 * Makerules (native-compile): Do not change working directory for
54153 build. Use $(OUTPUT_OPTION) in command.
54154 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54155
54156 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54157
54158 [BZ #13886]
54159 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54160 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54161 * math/libm-test.inc (floor_test): Add more tests.
54162 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54163
54164 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54165
54166 * sysdeps/unix/getdents.c: Remove file.
54167 * sysdeps/unix/sysv/getdents.c: Likewise.
54168 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54169
54170 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54171 sysdeps/unix/mman/syscalls.list.
54172 (mmap): Likewise.
54173 (mprotect): Likewise.
54174 (msync): Likewise.
54175 (munmap): Likewise.
54176 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54177 * sysdeps/unix/mman/syscalls.list: Remove.
54178 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54179
54180 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54181 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54182 * configure: Regenerated.
54183 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54184 $(libgcc_s_suffix).
54185 * config.make.in (libgcc_s_suffix): Remove variable.
54186
54187 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54188
54189 * sysdeps/unix/sysv/gethostname.c: Move to ...
54190 * sysdeps/posix/gethostname.c: ... here.
54191
54192 * sysdeps/unix/execve.S: Remove file.
54193
54194 * sysdeps/unix/_exit.S: Remove file.
54195
54196 2012-04-23 Andreas Jaeger <aj@suse.de>
54197
54198 [BZ #13739]
54199 * manual/Makefile: Remove make dist support, there's no
54200 need for a stand-alone documentation tar ball.
54201 (TEXI2DVI): Define always, it's not in Makeconfig.
54202 (dist): Removed.
54203 (tar-it): Removed.
54204 (edition): Removed.
54205 (glibc-doc-$(edition).tar): Removed
54206 (%.Z): Removed.
54207 (%.gz): Removed.
54208 (%.uu): Removed.
54209 (ETAGS): Remove, it's in Makeconfig.
54210 (move-if-change): Remove, it's in Makeconfig.
54211
54212 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54213
54214 [BZ #13970]
54215 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54216 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54217 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54218 (strtod_l, strtof_l, strtold_l): Remove __wur.
54219 It is not necessarily an error to ignore strtol's return value.
54220 One can reliably look at the stored endptr to decide whether
54221 the number had valid syntax.
54222
54223 2012-04-21 Andreas Jaeger <aj@suse.de>
54224
54225 [BZ #13739]
54226 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54227
54228 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54229
54230 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54231 * sysdeps/unix/sysv/Versions: Remove file.
54232
54233 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54234
54235 [BZ #13927]
54236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54237
54238 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54239
54240 [BZ #7064]
54241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54242 version from __vm86.
54243
54244 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54245
54246 * sysdeps/unix/common/lxstat.c: Remove file.
54247 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54248
54249 * sysdeps/unix/sysv/Makefile: Remove file.
54250
54251 * sysdeps/unix/sysv/direct.h: Remove file.
54252
54253 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54254 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54255 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54256 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54257 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54258 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54259 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54260
54261 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54262
54263 * sysdeps/unix/xmknod.c: Remove file.
54264 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54265
54266 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54267
54268 * sysdeps/unix/sysv/i386/time.S: Remove file.
54269
54270 * sysdeps/unix/fxstat.c: Remove file.
54271 * sysdeps/unix/xstat.c: Likewise.
54272 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54273
54274 * sysdeps/unix/sysv/sigaction.c: Remove file.
54275
54276 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54277 (sysdep_headers): Remove variable.
54278 [termio.h not in sysdep_headers] (generated): Likewise.
54279 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54280 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54281 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54282 * sysdeps/unix/sysv/tcflow.c: Likewise.
54283 * sysdeps/unix/sysv/tcflush.c: Likewise.
54284 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54285 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54286 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54287 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54288 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54289
54290 * sysdeps/unix/siglist.c: Remove file.
54291
54292 * sysdeps/unix/getppid.S: Remove file.
54293
54294 * sysdeps/unix/mkdir.c: Remove file.
54295 * sysdeps/unix/rmdir.c: Likewise.
54296
54297 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54298
54299 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54300 ERR_MAX value.
54301 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54302 errlist-compat value.
54303
54304 2012-04-18 David S. Miller <davem@davemloft.net>
54305
54306 * sysdeps/generic/memcopy.h (reg_char): Delete.
54307 * debug/strcat_chk.c: Use char, not reg_char.
54308 * debug/strcpy_chk.c: Likewise.
54309 * debug/strncat_chk.c: Likewise.
54310 * debug/strncpy_chk.c: Likewise.
54311 * string/memchr.c: Likewise.
54312 * string/memrchr.c: Likewise.
54313 * string/rawmemchr.c: Likewise.
54314 * string/strcat.c: Likewise.
54315 * string/strchr.c: Likewise.
54316 * string/strchrnul.c: Likewise.
54317 * string/strcmp.c: Likewise.
54318 * string/strcpy.c: Likewise.
54319 * string/strncat.c: Likewise.
54320 * string/strncmp.c: Likewise.
54321 * string/strncpy.c: Likewise.
54322
54323 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54324
54325 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54326 __builtin_memcopy is called when src and dest ranges are known to not
54327 overlap.
54328
54329 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54330
54331 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54332 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54333 fwd_align_merge macro call.
54334 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54335 bwd_align_merge macro call.
54336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54337
54338 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54339
54340 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54341 bwd_align_merge macros.
54342 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54343 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54345
54346 2012-04-18 David S. Miller <davem@davemloft.net>
54347
54348 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54349
54350 2012-04-18 Andreas Jaeger <aj@suse.de>
54351
54352 [BZ# 6794]
54353 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54354 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54355 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54356
54357 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54358 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54360
54361 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54362 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54363 Adjust for changed ldbl-128 files.
54364
54365 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54366 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54368
54369 2012-04-17 David S. Miller <davem@davemloft.net>
54370
54371 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54372
54373 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54374
54375 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54376 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54377 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54378 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54379 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54380 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54381
54382 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54383
54384 [BZ #6794]
54385 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54386 * math/libm-test.inc: Add ilogb errno and exception tests.
54387 * math/w_ilogb.c: New file: ilogb wrapper.
54388 * math/w_ilogbf.c: New file: ilogbf wrapper.
54389 * math/w_ilogbl.c: New file: ilogbl wrapper.
54390 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54391 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54392 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54393 exception being thrown with 0.0 as argument.
54394 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54395 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54396 exception being thrown with 0.0 as argument.
54397 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54398 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54399 exception being thrown with 0.0 as argument.
54400 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54401 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54402 exception being thrown with 0.0 as argument.
54403 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54404 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54405 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54406 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54408 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54409 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54410 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54411 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54412
54413 2012-04-17 Petr Baudis <pasky@ucw.cz>
54414
54415 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54416 with altivec.
54417
54418 2012-04-16 Marek Polacek <polacek@redhat.com>
54419
54420 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54421
54422 2012-04-16 Marek Polacek <polacek@redhat.com>
54423
54424 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54425 operands of fdivp instruction.
54426
54427 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54428
54429 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54430 * elf/tst-auditmod3b.c: Likewise.
54431 * elf/tst-auditmod4b.c: Likewise.
54432 * elf/tst-auditmod5b.c: Likewise.
54433 * elf/tst-auditmod6b.c: Likewise.
54434 * elf/tst-auditmod6c.c: Likewise.
54435 * elf/tst-auditmod7b.c: Likewise.
54436 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54437 * sysdeps/x86_64/preconfigure.in: Likewise.
54438 * sysdeps/x86_64/preconfigure: Regenerated.
54439
54440 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54441
54442 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54443 __ILP32__.
54444
54445 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54446
54447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54448 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54449
54450 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54451
54452 [BZ #13973]
54453 * locale/iso-639.def: Fix gl language name. Spotted by
54454 Yaron Shahrabani.
54455
54456 2012-04-12 Roland McGrath <roland@hack.frob.com>
54457
54458 [BZ #2074]
54459 * libio/libio.h (__io_write_fn): Update comment.
54460
54461 2012-04-12 Petr Baudis <pasky@ucw.cz>
54462
54463 [BZ #2074]
54464 * stdio.texi (Hook Functions): The user provided writer function
54465 is not allowed to return -1.
54466
54467 2012-04-11 David S. Miller <davem@davemloft.net>
54468
54469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54470
54471 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54472
54473 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54474 Add a leading slash to rtkaio.
54475
54476 2012-04-11 Jim Meyering <meyering@redhat.com>
54477
54478 [BZ #11959]
54479 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54480 It is not necessarily an error to ignore fwrite's return
54481 value. One can reliably use ferror to test for errors after
54482 the fact.
54483
54484 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54485
54486 * bits/types.h (__snseconds_t): New type.
54487 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54488
54489 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54491 (__SNSECONDS_T_TYPE): Likewise.
54492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54493 (__SNSECONDS_T_TYPE): Likewise.
54494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54495 (__SNSECONDS_T_TYPE): Likewise.
54496
54497 2012-04-10 Andreas Jaeger <aj@suse.de>
54498
54499 [BZ #2636]
54500 * manual/time.texi (Processor Time): Return type of times is
54501 elapsed real time since an arbitrary point in the past.
54502 (CPU Time): Move CLK_TCK from here...
54503 (Processor Time): ...to here. Correct description.
54504 * manual/conf.texi (Constants for Sysconf): Correct description of
54505 _SC_CLK_TCK.
54506
54507 2012-04-10 David S. Miller <davem@davemloft.net>
54508
54509 [BZ #13967]
54510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54511 where the is a gap between DT_REL(A) and DT_JMPREL.
54512
54513 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54514
54515 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54516 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54517 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54518
54519 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54520
54521 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54522 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54523 (dl_main): Handle --inhibit-cache.
54524 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54525 _dl_inhibit_cache.
54526 * elf/dl-load.c (_dl_map_object): Use it.
54527 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54528
54529 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54530
54531 [BZ #13872]
54532 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54533 (__ieee754_powl): Saturate large exponents rather than testing for
54534 overflow of y*log2(x).
54535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54536 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54537 exceptions.
54538
54539 [BZ #11521]
54540 * math/s_ctan.c: Include <float.h>.
54541 (__ctan): Avoid internal overflow or cancellation in calculating
54542 denominator.
54543 * math/s_ctanf.c: Likewise.
54544 * math/s_ctanl.c: Likewise.
54545 * math/s_ctanh.c: Likewise.
54546 * math/s_ctanhf.c: Likewise.
54547 * math/s_ctanhl.c: Likewise.
54548 * math/libm-test.inc (ctan_test): Add more tests.
54549 (ctanh_test): Likewise.
54550 * sysdeps/i386/fpu/libm-test-ulps: Update.
54551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54552
54553 2012-04-09 Andreas Jaeger <aj@suse.de>
54554
54555 [BZ #6894]
54556 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54557 is an optional BSD extension.
54558
54559 [BZ #10254]
54560 * manual/stdio.texi (Opening Streams): Document additional fopen
54561 parameters.
54562
54563 2012-04-09 Roland McGrath <roland@hack.frob.com>
54564
54565 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54566 %eax without telling the compiler.
54567
54568 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54569
54570 [BZ # 13963]
54571 * manual/install.texi: Use sourceware.org.
54572
54573 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54574
54575 [BZ #13873]
54576 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54577 (__ieee754_pow): Generate overflow and underflow using huge*huge
54578 and tiny*tiny rather than just returning constant infinity or zero
54579 for large exponents.
54580 * math/libm-test.inc (pow_test): Require overflow exceptions for
54581 applicable cases of large exponents.
54582
54583 [BZ #706]
54584 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54585 (__ieee754_pow): Use iterative multiplication algorithm only for
54586 integer exponents with absolute value below 1024. Check for odd
54587 integer exponents when using algorithm for real exponents.
54588 * math/libm-test.inc (pow_test): Add more tests.
54589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54590
54591 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54592
54593 [BZ #13705]
54594 * math/libm-test.inc (exp_test): Do not allow overflow exception
54595 on underflow test.
54596
54597 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54598
54599 [BZ #13705]
54600 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54601 instead of __kernel_standard_f.
54602
54603 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54604
54605 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54606 * sysdeps/x86_64/memset_chk.S: Likewise.
54607
54608 2012-04-08 Andreas Jaeger <aj@suse.de>
54609
54610 [BZ #10153]
54611 * manual/startup.texi (Environment Access): Describe return value
54612 for putenv and setenv.
54613
54614 [BZ #6895]
54615 * manual/filesys.texi (Directory Entries): Add description for
54616 DT_LNK.
54617
54618 [BZ #6890]
54619 * manual/filesys.texi (Directory Entries): Clarify that it's file
54620 system not operating system in the description of DT_UNKNOWN.
54621
54622 [BZ #6578]
54623 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54624
54625 2012-04-08 Stephen Compall <s11@member.fsf.org>
54626
54627 [BZ #6649]
54628 * manual/llio.texi (Opening and Closing Files): Add cross
54629 reference to explain mode argument.
54630
54631 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54632
54633 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54634 * sysdeps/x86_64/memset_chk.S: Likewise.
54635
54636 2012-04-07 David S. Miller <davem@davemloft.net>
54637
54638 * elf/elf.h (R_SPARC_WDISP10): Define.
54639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54640 R_SPARC_SIZE32.
54641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54642 R_SPARC_SIZE64 and R_SPARC_H34.
54643
54644 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54645
54646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54647 conditions and remove no longer applicable assertion.
54648
54649 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54650
54651 * bits/byteswap.h: Include <features.h>.
54652 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54653 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54654
54655 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54656
54657 * bits/byteswap.h (__bswap_16): Removed.
54658 Include <bits/byteswap-16.h> to get __bswap_16.
54659 * sysdeps/i386/bits/byteswap.h: Likewise.
54660 * sysdeps/s390/bits/byteswap.h: Likewise.
54661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54662 * bits/byteswap-16.h: New file.
54663 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54664 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54665 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54666 * string/Makefile (headers): Add bits/byteswap-16.h.
54667
54668 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54669
54670 [BZ #13895]
54671 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54672 extra indirection.
54673 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54674 * nss/tst-nss-static.c: New.
54675
54676 2012-04-06 Robert Millan <rmh@gnu.org>
54677
54678 [BZ #6486]
54679 * manual/llio.texi (File Position Primitive): lseek
54680 refers to WHENCE when it really means OFFSET.
54681
54682 2012-04-06 Andreas Jaeger <aj@suse.de>
54683
54684 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54685 strncmp declarations.
54686
54687 * abilist/libc.abilist: Add __poll and __ppoll.
54688
54689 2012-04-05 David S. Miller <davem@davemloft.net>
54690
54691 * scripts/check-local-headers.sh: Accept a host triplet in the
54692 path matched by the exclude regexp.
54693
54694 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54695 definition.
54696 * sysdeps/powerpc/powerpc32/dl-machine.h
54697 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54698 * sysdeps/s390/s390-32/dl-machine.h
54699 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54700 * sysdeps/sparc/sparc32/dl-machine.h
54701 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54702 * sysdeps/sparc/sparc64/dl-machine.h
54703 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54704
54705 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54706 lazy binding.
54707 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54708 undefined symbol errors.
54709
54710 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54711 DT_NEEDED entries.
54712
54713 2012-04-05 Michael Matz <matz@suse.de>
54714
54715 [BZ #13592]
54716 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54717
54718 2012-04-05 Andreas Jaeger <aj@suse.de>
54719
54720 [BZ #13908]
54721 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54722 comment.
54723
54724 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54725
54726 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54727 which ROUND is no valid rounding mode.
54728
54729 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54730
54731 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54732 read again.
54733 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54734
54735 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54736
54737 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54738 an exception using FPU order intentionally.
54739
54740 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54741
54742 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54743 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54744 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54745 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54746
54747 2012-04-05 Simon Josefsson <simon@josefsson.org>
54748
54749 [BZ #12340]
54750 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54751 EINVAL when BUFLEN is too smal.
54752
54753 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54754
54755 [BZ #13553]
54756 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54757 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54758
54759 2012-04-03 Andreas Jaeger <aj@suse.de>
54760
54761 [BZ #13938]
54762 * manual/setjmp.texi (System V contexts): Fix sentence.
54763
54764 [BZ #13926]
54765 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54766 New macro for this case.
54767 [!__GNUC__] (__bswap_64): New inline function for this case.
54768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54769 * bits/byteswap.h: Likewise.
54770 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54771 ull, guard with __GLIBC_HAVE_LONG_LONG.
54772
54773 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54774 __GLIBC_HAVE_LONG_LONG.
54775
54776 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54777 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54778
54779 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54780
54781 [BZ #13691]
54782 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54783 inptr and inend, rather than using last_ch.
54784
54785 2012-04-02 David S. Miller <davem@davemloft.net>
54786
54787 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54788 * stdio-common/printf-parse.h (read_int): Change return type to
54789 'int', return -1 on INT_MAX overflow.
54790 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54791 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54792 overflows INT_MAX. Check for overflow of in-format-string precision
54793 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54794 SIZE_MAX not INT_MAX for integer overflow test.
54795 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54796 skip the construct in the format string but do not record anything.
54797 * stdio-common/bug22.c: Adjust to test both width/prevision
54798 INT_MAX overflow as well as total length INT_MAX overflow. Check
54799 explicitly for proper errno values.
54800
54801 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54802
54803 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54804 CHAR_MAX.
54805 * string/test-strcmp.c [! WIDE]: Likewise.
54806 * time/tst-mktime2.c: Likewise for INT_MAX.
54807 * string/test-string.h: #include <sys/param.h> for MIN.
54808
54809 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54810 * sysdeps/i386/init-first.c (init): Likewise.
54811 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54812 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54813 * sysdeps/sh/init-first.c (init): Likewise.
54814
54815 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54816
54817 * po/ru.po: Update from translation team.
54818 * po/vi.po: Likewise.
54819
54820 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54821
54822 * resolv/nss_dns/dns-host.c: Merge copyright years.
54823
54824 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54825
54826 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54827 Optimize memcpy with prefetch if
54828 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54829 src, dst pointers have unequal 16 byte alignments.
54830
54831 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54832
54833 [BZ #13928]
54834 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54835 from a CNAME entry and return the minimum ttl for the query.
54836 (gaih_getanswer_slice): Likewise.
54837
54838 2012-03-30 Jeff Law <law@redhat.com>
54839
54840 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54841 due to long keys.
54842 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54843 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54844
54845 * resolv/nss_dns/dns-host.c: Update copyright year.
54846
54847 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54848
54849 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54850 requests to save a system call. Fix check that all bytes are sent.
54851
54852 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54853 comments for sendmmsg.
54854
54855 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54856
54857 [BZ #13691]
54858 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54859 with only 1 character between 0x0041 and 0x01b0.
54860 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54861 * wcsmbs/tst-mbsnrtowcs.c: New file.
54862
54863 2012-03-29 David S. Miller <davem@davemloft.net>
54864
54865 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54866 small copies by hand.
54867
54868 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54869
54870 [BZ #13761]
54871 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54872 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54873 group memberships.
54874
54875 2012-03-28 David S. Miller <davem@davemloft.net>
54876
54877 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54878 that branches into memcpy.
54879 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54882 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54884 bits.
54885 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54886 implementation too.
54887 * sysdeps/sparc/mempcpy.S: New file.
54888
54889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54890 the IFUNC routine in the libc case.
54891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54892
54893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54894 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54895 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54896 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54897 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54898 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54899 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54900 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54901
54902 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54903 loop to 256 bytes instead of 64 bytes and fix test signedness.
54904
54905 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54906 * sysdeps/sparc/sparc32/Makefile: rather than here...
54907 * sysdeps/sparc/sparc64/Makefile: and here.
54908
54909 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54910
54911 * malloc/mallocbug.c: Avoid warnings about unused variables.
54912
54913 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54914
54915 [BZ #13760]
54916 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54917 in the right place. Discard and retry query if response is
54918 larger than input buffer size.
54919
54920 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54921
54922 [BZ #369]
54923 [BZ #2678]
54924 [BZ #3866]
54925 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54926 x for large integer exponent.
54927 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54928 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54929 sign of result as needed afterwards.
54930 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54931 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54932 result for underflowing pow the same as for overflow.
54933 (__kernel_standard_l): Handle powl overflow and underflow here
54934 rather than calling __kernel_standard.
54935 * math/libm-test.inc (pow_test): Add more tests.
54936
54937 [BZ #3868]
54938 [BZ #13879]
54939 [BZ #13910]
54940 [BZ #13911]
54941 [BZ #13912]
54942 [BZ #13913]
54943 [BZ #13915]
54944 [BZ #13916]
54945 [BZ #13917]
54946 [BZ #13918]
54947 [BZ #13919]
54948 [BZ #13920]
54949 [BZ #13921]
54950 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54951 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54952 (__kernel_standard_l): New function.
54953 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54954 __kernel_standard.
54955 * math/w_acosl.c (__acosl): Likewise.
54956 * math/w_asinl.c (__asinl): Likewise.
54957 * math/w_atan2l.c (__atan2l): Likewise.
54958 * math/w_atanhl.c (__atanhl): Likewise.
54959 * math/w_coshl.c (__coshl): Likewise.
54960 * math/w_exp10l.c (__exp10l): Likewise.
54961 * math/w_exp2l.c (__exp2l): Likewise.
54962 * math/w_fmodl.c (__fmodl): Likewise.
54963 * math/w_hypotl.c (__hypotl): Likewise.
54964 * math/w_j0l.c (__j0l, __y0l): Likewise.
54965 * math/w_j1l.c (__j1l, __y1l): Likewise.
54966 * math/w_jnl.c (__jnl, __ynl): Likewise.
54967 * math/w_lgammal.c (__lgammal): Likewise.
54968 * math/w_log10l.c (__log10l): Likewise.
54969 * math/w_log2l.c (__log2l): Likewise.
54970 * math/w_logl.c (__logl): Likewise.
54971 * math/w_powl.c (__powl): Likewise.
54972 * math/w_remainderl.c (__remainderl): Likewise.
54973 * math/w_scalbl.c (sysv_scalbl): Likewise.
54974 * math/w_sinhl.c (__sinhl): Likewise.
54975 * math/w_sqrtl.c (__sqrtl): Likewise.
54976 * math/w_tgammal.c (__tgammal): Likewise.
54977 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54978 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54979 * math/libm-test.inc (acos_test): Add more tests.
54980 (acosh_test): Likewise.
54981 (asin_test): Likewise.
54982 (atanh_test): Likewise.
54983 (exp_test): Likewise.
54984 (exp10_test): Likewise.
54985 (exp2_test): Likewise.
54986 (expm1_test): Likewise.
54987 (lgamma_test): Likewise.
54988 (log_test): Likewise.
54989 (log10_test): Likewise.
54990 (log1p_test): Likewise.
54991 (log2_test): Likewise.
54992 (pow_test): Do not allow some spurious overflow exceptions.
54993 (sqrt_test): Add more tests.
54994 (tgamma_test): Likewise.
54995 (y0_test): Likewise.
54996 (y1_test): Likewise.
54997 (yn_test): Likewise.
54998
54999 2012-03-27 Anton Blanchard <anton@samba.org>
55000
55001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55002 MAP_HUGETLB.
55003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55006
55007 2012-03-27 David S. Miller <davem@davemloft.net>
55008
55009 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55010
55011 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55012 have-as-vis3 check.
55013
55014 2012-03-27 Andreas Jaeger <aj@suse.de>
55015
55016 * sysdeps/x86_64/elf/configure.in: Moved to ...
55017 * sysdeps/x86_64/configure.in: ... here.
55018 * sysdeps/x86_64/elf/start.S: Moved to ...
55019 * sysdeps/x86_64/start.S: ... here.
55020 * sysdeps/x86_64/elf/configure: Delete.
55021
55022 * sysdeps/x86_64/configure.in: Merge contents from
55023 sysdeps/i386/configure.in (without i686 check).
55024
55025 * sysdeps/i386/elf/Versions: Merge into ...
55026 * sysdeps/i386/Versions: ... this.
55027 * sysdeps/i386/elf/Versions: Delete file.
55028 * sysdeps/i386/elf/start.S: Moved to ...
55029 * sysdeps/i386/start.S: ...here.
55030 * sysdeps/i386/elf/configure.in: Merge into...
55031 * sysdeps/i386/configure.in: ...here.
55032 * sysdeps/i386/elf/configure.in: Delete file.
55033 * sysdeps/i386/elf/configure: Delete file.
55034
55035 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55036 * debug/backtracesyms.c: ... here.
55037 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55038 * debug/backtracesymsfd.c: ... here.
55039 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55040 * sysdeps/generic/ifunc-sel.h: ... here.
55041
55042 * sysdeps/unix/i386/start.c: Delete file.
55043 * sysdeps/unix/sparc/start.c: Delete file.
55044 * sysdeps/unix/start.c: Delete file.
55045
55046 * sysdeps/sh/elf/configure.in: Moved to ...
55047 * sysdeps/sh/configure.in: ... here.
55048 * sysdeps/sh/elf/start.S: Moved to ...
55049 * sysdeps/sh/start.S: ... here.
55050 * sysdeps/sh/elf/configure: Delete file.
55051
55052 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55053 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55054 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55055 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55056 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55057 * sysdeps/powerpc/powerpc64/start.S: here.
55058 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55059 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55060 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55061 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55062 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55063
55064 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55065 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55066 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55067 * sysdeps/powerpc/powerpc32/start.S: ... here.
55068 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55069 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55070 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55071
55072 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55073 * sysdeps/powerpc/ifunc-sel.h: ... here.
55074 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55075 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55076
55077 * sysdeps/sparc/elf/configure.in: Moved to ...
55078 * sysdeps/sparc/configure.in: ... here.
55079 * sysdeps/sparc/elf/configure: Delete file.
55080 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55081 * sysdeps/sparc/sparc32/start.S: ... here.
55082 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55083 * sysdeps/sparc/sparc64/start.S: ... here.
55084 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55085 * sysdeps/sparc/sparc32/Makefile: ... this.
55086 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55087 * sysdeps/sparc/sparc64/Makefile: ... this.
55088
55089 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55090 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55091 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55092 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55093 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55094 * sysdeps/s390/s390-32/setjmp.S: ... here.
55095 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55096 * sysdeps/s390/s390-32/configure.in: ... here.
55097 * sysdeps/s390/s390-32/elf/configure: Delete file.
55098 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55099 * sysdeps/s390/s390-32/start.S: ... here.
55100
55101 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55102 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55103 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55104 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55105 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55106 * sysdeps/s390/s390-64/setjmp.S: ... here.
55107 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55108 * sysdeps/s390/s390-64/configure.in: ... here
55109 * sysdeps/s390/s390-64/elf/configure: Delete file.
55110 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55111 * sysdeps/s390/s390-64/start.S: ... here.
55112 * sysdeps/s390/s390-64/elf/configure: Delete.
55113
55114 * configure.in: Remove support for elf directories in sysdeps.
55115
55116 * configure: Regenerated.
55117 * sysdeps/i386/configure: Regenerated.
55118 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55119 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55120 * sysdeps/s390/s390-32/configure: Regenerated.
55121 * sysdeps/s390/s390-64/configure: Regenerated.
55122 * sysdeps/sh/configure: Regenerated.
55123 * sysdeps/sparc/configure: Regenerated.
55124 * sysdeps/x86_64/configure: Regenerated.
55125
55126 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55127
55128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55129
55130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55131 denormal result into account.
55132
55133 2012-03-25 Roland McGrath <roland@hack.frob.com>
55134
55135 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55136 Reported by Allan McRae <allan@archlinux.org>.
55137
55138 2012-03-23 Jeff Law <law@redhat.com>
55139
55140 * nss/getnssent.c (__nss_getent): Fix typo.
55141
55142 2012-03-23 David S. Miller <davem@davemloft.net>
55143
55144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55145
55146 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55147
55148 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55149 to pad to uint64_t for each field.
55150 (dl_tls_index): Replace unsigned long with uint64_t.
55151
55152 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55153 Paul Pluzhnikov <ppluzhnikov@google.com>
55154
55155 [BZ #6528]
55156 * grp/Makefile (otherlibs): Don't set it.
55157 * inet/Makefile (otherlibs): Likewise.
55158 * login/Makefile (otherlibs): Likewise.
55159 * nscd/Makefile (otherlibs): Likewise.
55160 * posix/Makefile (otherlibs): Likewise.
55161 * pwd/Makefile (otherlibs): Likewise.
55162 * rt/Makefile (otherlibs): Likewise.
55163 * sunrpc/Makefile (otherlibs): Likewise.
55164 * nss/Makefile (otherlibs): Likewise.
55165 Add libnss_files to routines and static-only-routines.
55166 ($(objpfx)getent): Remove rule.
55167 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55168 static-only-routines.
55169
55170 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55171
55172 [BZ #13892]
55173 * math/s_cexp.c: Include <float.h>.
55174 (__cexp): Handle exp result overflowing not necessarily
55175 overflowing both real and imaginary parts of result.
55176 * math/s_cexpf.c: Likewise.
55177 * math/s_cexpl.c: Likewise.
55178 * math/libm-test.inc (cexp_test): Add more tests.
55179 * sysdeps/i386/fpu/libm-test-ulps: Update.
55180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55181
55182 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55183
55184 * include/link.h (ELFW): New macro.
55185 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55186 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55187
55188 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55189
55190 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55191 with uint64_t.
55192
55193 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55194
55195 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55196 declaration.
55197 (struct La_x32_retval): Likewise.
55198
55199 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55200
55201 * sysdeps/x86_64/preconfigure.in: New file.
55202 * sysdeps/x86_64/preconfigure: New generated file.
55203
55204 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55205
55206 [BZ #13824]
55207 * math/e_exp2l.c: Include <float.h>.
55208 (__ieee754_exp2l): Handle overflow and underflow cases
55209 separately. Only pass fractional part of argument to
55210 __ieee754_expl.
55211 * math/libm-test.inc (exp2_test): Add more tests.
55212
55213 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55214 negating x to take absolute value.
55215 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55216 Likewise.
55217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55219 Likewise.
55220 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55221 computing low part if x was negated.
55222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55223
55224 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55225
55226 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55227 la_x32_gnu_pltexit.
55228 (pltexit): Cast int_retval to ptrdiff_t.
55229 * elf/tst-auditmod3b.c: Likewise.
55230 * elf/tst-auditmod4b.c: Likewise.
55231 * elf/tst-auditmod5b.c: Likewise.
55232 * elf/tst-auditmod6b.c: Likewise.
55233 * elf/tst-auditmod6c.c: Likewise.
55234 * elf/tst-auditmod7b.c: Likewise.
55235
55236 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55237 and x32_gnu_pltexit.
55238
55239 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55240 __ELF_NATIVE_CLASS.
55241 (La_x32_regs): New macro.
55242 (La_x32_retval): Likewise.
55243 (la_x32_gnu_pltenter): New function prototype.
55244 (la_x32_gnu_pltexit): Likewise.
55245
55246 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55247
55248 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55249 exponent.
55250
55251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55252
55253 * configure.in (libc_cv_cc_nofma): Check for option to disable
55254 generation of FMA instructions.
55255 * configure: Regenerate.
55256 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55257 * sysdeps/ieee754/dbl-64/Makefile: New file.
55258 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55259 Remove brandred-fma4.
55260 (CFLAGS-brandred-fma4.c): Remove.
55261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55262 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55263 define.
55264 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55265 define.
55266
55267 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55268
55269 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55270 LLONG_MAX != LONG_MAX.
55271 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55272 (_fitoa_word): Likewise.
55273 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55274 LLONG_MAX != LONG_MAX.
55275 * stdio-common/_itowa.h: Include <_itoa.h>.
55276 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55277 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55278 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55279 only if not defined.
55280 (_ITOA_WORD_TYPE): Likewise.
55281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55282 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55283
55284 2012-03-21 David S. Miller <davem@davemloft.net>
55285
55286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55287
55288 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55289
55290 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55291 of x86_64 when setting libc_cv_slibdir, libdir and
55292 libc_cv_localedir.
55293 * sysdeps/unix/sysv/linux/configure: Regenerated.
55294
55295 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55296
55297 * manual/lang.texi (Old Varargs): Remove section.
55298 (How Variadic): Update menu.
55299 (va_start): Do not mention varargs.h.
55300
55301 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55302 Joseph Myers <joseph@codesourcery.com>
55303
55304 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55305 link test.
55306 * configure: Regenerated.
55307
55308 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55309
55310 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55311 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55312 conformtest.pl
55313
55314 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55315
55316 * NOTES: Remove.
55317 * Makefile (files-for-dist): Remove NOTES.
55318 (NOTES): Remove rule.
55319 * README: Don't refer to NOTES.
55320 * manual/creature.texi: Don't include macros.texi.
55321 * manual/intro.texi (creature.texi): Remove comment referring to
55322 NOTES.
55323
55324 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55325 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55326 * configure: Regenerated.
55327 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55328 LIBC_TRY_CC_OPTION.
55329 (libc_cv_as_i686): Likewise.
55330 (libc_cv_cc_avx): Likewise.
55331 (libc_cv_cc_sse2avx): Likewise.
55332 (libc_cv_cc_fma4): Likewise.
55333 (libc_cv_cc_novzeroupper): Likewise.
55334 * sysdeps/i386/configure: Regenerated.
55335
55336 [BZ #13883]
55337 * sysdeps/i386/fpu/s_cexp.S: Remove.
55338 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55339 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55340 * math/libm-test.inc (cexp_test): Add more tests.
55341 * sysdeps/i386/fpu/libm-test-ulps: Update.
55342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55343
55344 2012-03-21 Allan McRae <allan@archlinux.org>
55345
55346 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55347
55348 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55349
55350 [BZ #13871]
55351 * math/w_exp2.c: Do not include <float.h>.
55352 (o_threshold, u_threshold): Remove.
55353 (__exp2): Calculate result before checking finiteness and calling
55354 __kernel_standard.
55355 * math/w_exp2f.c: Likewise.
55356 * math/w_exp2l.c: Likewise.
55357 * math/libm-test.inc (exp2_test): Require overflow exception for
55358 1e6 input.
55359
55360 [BZ #3866]
55361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55362 range of signed 64-bit integers before using fistpll. Remove
55363 checks for whether integers fit in mantissa bits.
55364 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55365 the range of signed 32-bit integers before using fistpl. Remove
55366 checks for whether integers fit in mantissa bits.
55367 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55368 (__ieee754_powl): Test for y outside the range of signed 64-bit
55369 integers before using fistpll. Reduce 64-bit values to 63-bit
55370 ones as needed.
55371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55372 divide-by-zero is raised for zero to large negative powers.
55373 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55374 (__ieee754_powl): Test for y outside the range of signed 64-bit
55375 integers before using fistpll. Reduce 64-bit values to 63-bit
55376 ones as needed.
55377 * math/libm-test.inc (pow_test): Add more tests.
55378
55379 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55380
55381 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55382 <stdio-common/_itoa.h>.
55383 * debug/segfault.c: Likewise.
55384 * elf/dl-cache.c: Likewise.
55385 * elf/dl-minimal.c: Likewise.
55386 * elf/dl-misc.c: Likewise.
55387 * elf/dl-sysdep.c: Likewise.
55388 * elf/dl-version.c: Likewise.
55389 * elf/rtld.c: Likewise.
55390 * hurd/hurdsock.c: Likewise.
55391 * hurd/lookup-retry.c: Likewise.
55392 * malloc/malloc.c: Likewise.
55393 * malloc/mtrace.c: Likewise.
55394 * nscd/nscd_getgr_r.c: Likewise.
55395 * nscd/nscd_getpw_r.c: Likewise.
55396 * nscd/nscd_getserv_r.c: Likewise.
55397 * posix/getopt_init.c: Likewise.
55398 * posix/wordexp.c: Likewise.
55399 * stdio-common/_itoa.c: Likewise.
55400 * stdio-common/printf_fphex.c: Likewise.
55401 * stdio-common/vfprintf.c: Likewise.
55402 * string/_strerror.c: Likewise.
55403 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55404 * sysdeps/i386/i686/hp-timing.h: Likewise.
55405 * sysdeps/mach/_strerror.c: Likewise.
55406 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55407 * sysdeps/mach/hurd/sethostid.c: Likewise.
55408 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55409 * sysdeps/mach/xpg-strerror.c: Likewise.
55410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55412 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55413 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55414 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55415 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55416 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55417 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55418 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55419 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55420 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55421 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55422 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55423 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55424 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55425 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55426 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55427 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55429 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55430 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55431
55432 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55433
55434 * stdio-common/_itoa.h: Moved to ...
55435 * sysdeps/generic/_itoa.h: Here.
55436
55437 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55438
55439 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55440 instead of "_itoa.h" and "_itowa.h".
55441 * stdio-common/vfprintf.: Likewise.
55442
55443 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55444
55445 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55446 <bits/wordsize.h>.
55447 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55448 (__signbit): Likwise.
55449 (llrintf): Likwise.
55450 (llrint): Likwise.
55451
55452 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55453
55454 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55455 __WORDSIZE != 64.
55456
55457 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55458
55459 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55460 OVERFLOW_EXCEPTION_OK.
55461 * math/libm-test.inc ("Philosophy"): Update comment about
55462 exception testing.
55463 (OVERFLOW_EXCEPTION): Define.
55464 (OVERFLOW_EXCEPTION_OK): Likewise.
55465 (INVALID_EXCEPTION_OK): Renumber.
55466 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55467 (IGNORE_ZERO_INF_SIGN): Likewise.
55468 (test_exceptions): Handle FE_OVERFLOW.
55469 (exp10_test): Expect overflow exceptions.
55470 (exp2_test): Likewise.
55471 (expm1_test): Likewise.
55472 (nextafter_test): Likewise.
55473 (pow_test): Likewise.
55474 (scalbn_test): Likewise.
55475 (scalbln_test): Likewise.
55476
55477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55478
55479 * sysdeps/x86_64/bits/atomic.h
55480 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55481 64bit integer.
55482 (atomic_exchange_acq): Likewise.
55483 (__arch_exchange_and_add_body): Likewise.
55484 (__arch_add_body): Likewise.
55485 (atomic_add_negative): Likewise.
55486 (atomic_add_zero): Likewise.
55487
55488 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55489
55490 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55491 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55492
55493 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55494
55495 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55496 Check __x86_64__ instead of __WORDSIZE.
55497
55498 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55499
55500 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55501
55502 2012-03-19 David S. Miller <davem@davemloft.net>
55503
55504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55505
55506 * sysdeps/sparc/fpu/fenv_private.h: New file.
55507 * sysdeps/sparc/fpu/math_private.h: Use it.
55508 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55509 Remove.
55510 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55511 (libc_feholdexcept_setroundl): Remove.
55512 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55513 Remove.
55514 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55515 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55516
55517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55518
55519 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55520 int64_t instead of long int.
55521 (INSERT_WORDS64): Likwise.
55522
55523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55524
55525 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55526 _Unwind_GetCFA return to _Unwind_Ptr first.
55527
55528 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55529
55530 [BZ #13629]
55531 * math/s_clog.c: Include <float.h>.
55532 (__clog): Scale large or subnormal inputs.
55533 * math/s_clogf.c: Likewise.
55534 * math/s_clogl.c: Likewise.
55535 * math/s_clog10.c: Include <float.h>.
55536 (M_LOG10_2): Define.
55537 (__clog10): Scale large or subnormal inputs.
55538 * math/s_clog10f.c: Likewise.
55539 * math/s_clog10l.c: Likewise.
55540 * math/libm-test.inc (clog_test): Add more tests.
55541 (clog10_test): Likewise.
55542 * sysdeps/i386/fpu/libm-test-ulps: Update.
55543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55544
55545 [BZ #11451]
55546 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55547 x and y.
55548 * math/libm-test.inc (atan2_test): Add another test.
55549
55550 * Makerules (common-objdir-compile): Remove.
55551 * sysdeps/unix/Makefile (config-generated): Do not add
55552 $(unix-generated) to variable.
55553 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55554 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55555 Remove rule.
55556 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55557 Likewise.
55558 [generic bits/local_lim.h] (before-compile): Do not append to
55559 variable.
55560 [generic bits/local_lim.h] (common-generated): Likewise.
55561 [generic sys/param.h] (before-compile): Do not append to variable.
55562 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55563 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55564 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55565 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55566 include.
55567 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55568 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55569 [generic sys/param.h] ($(addprefix
55570 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55571 [generic sys/param.h] (common-generated): Do not append to
55572 variable.
55573 [generic sys/param.h] (sysdep_headers): Likewise.
55574 [generic bits/errno.h] (before-compile): Do not append to
55575 variable.
55576 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55577 rule.
55578 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55579 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55580 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55581 [generic bits/errno.h] (common-generated): Do not append to
55582 variable.
55583 [generic bits/ioctls.h] (before-compile): Do not append to
55584 variable.
55585 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55586 rule.
55587 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55588 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55589 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55590 rule.
55591 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55592 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55593 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55594 [generic bits/ioctls.h] (common-generated): Do not append to
55595 variable.
55596 [generic sys/syscall.h] (syscall.h): Remove variable.
55597 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55598 rule.
55599 [generic sys/syscall.h] (before-compile): Do not append to
55600 variable.
55601 [generic sys/syscall.h] (common-generated): Likewise.
55602 * sysdeps/unix/errnos-tmpl.c: Remove file.
55603 * sysdeps/unix/errnos.awk: Likewise.
55604 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55605 * sysdeps/unix/ioctls.awk: Likewise.
55606 * sysdeps/unix/mk-local_lim.c: Likewise.
55607 * sysdeps/unix/snarf-ioctls: Likewise.
55608
55609 2012-03-19 Richard Henderson <rth@twiddle.net>
55610
55611 * sysdeps/i386/fpu/fenv_private.h: New file.
55612 * sysdeps/i386/fpu/math_private.h: Use it.
55613 (math_opt_barrier, math_force_eval): Remove.
55614 (libc_feholdexcept_setround_53bit): Remove.
55615 (libc_feupdateenv_53bit): Remove.
55616 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55617 (math_opt_barrier, math_force_eval): Remove.
55618 (libc_feholdexcept): Remove.
55619 (libc_feholdexcept_setround): Remove.
55620 (libc_fetestexcept, libc_fesetenv): Remove.
55621 (libc_feupdateenv_test): Remove.
55622 (libc_feupdateenv, libc_feholdsetround): Remove.
55623 (libc_feresetround): Remove.
55624
55625 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55626 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55627
55628 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55629 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55630 (libc_feupdateenv_testl): New.
55631 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55632 (libc_feupdateenv_testf): New.
55633 (libc_feupdateenv): Use libc_feupdateenv_test.
55634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55636
55637 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55638 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55639 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55640 (libc_feresetround_noex): New.
55641 (libc_feresetround_noexf): New.
55642 (libc_feresetround_noexl): New.
55643 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55644 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55645 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55646 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55647 SET_RESTORE_ROUND.
55648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55650 (__cos): Likewise.
55651 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55653 SET_RESTORE_ROUND_NOEX.
55654 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55655 SET_RESTORE_ROUND_NOEXF.
55656 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55657 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55658 (libc_feholdsetroundf): New.
55659 (libc_feresetround, libc_feresetroundf): New.
55660
55661 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55662 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55663 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55664
55665 * sysdeps/generic/math_private.h: Include <fenv.h>.
55666 (default_libc_feholdexcept): New.
55667 (default_libc_feholdexcept_setround): New.
55668 (default_libc_fesetenv, default_libc_feupdateenv): New.
55669 (libc_feholdexcept): Only define if undefined.
55670 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55671 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55672 (libc_feholdexcept_setroundl): Likewise.
55673 (libc_feholdexcept_setround_53bit): Likewise.
55674 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55675 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55676 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55677 (libc_feupdateenv_53bit): Likewise.
55678 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55679 (libc_feholdexcept): Convert from macro to inline function.
55680 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55681 (libc_fesetenv, libc_feupdateenv): Likewise.
55682
55683 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55684 not previously defined.
55685 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55686 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55687 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55688 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55689 * sysdeps/ieee754/flt-32/math_private.h: New file.
55690 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55691 math_private.h below SET_FLOAT_WORD.
55692 (__isnan, __isinf_ns, __finite): Remove.
55693 (__isnanf, __isinf_nsf, __finitef): Remove.
55694
55695 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55696
55697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55698
55699 2012-03-17 David S. Miller <davem@davemloft.net>
55700
55701 [BZ #6471]
55702 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55703 for 2.16.
55704
55705 2012-03-16 David S. Miller <davem@davemloft.net>
55706
55707 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55708 warnings.
55709
55710 [BZ #6471]
55711 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55712 properly.
55713 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55714 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55715 sysdep_routines when subdir is sysvipc.
55716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55717 __getshmlba helper.
55718
55719 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55720
55721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55722
55723 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55724 [__LP64__].
55725
55726 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55727
55728 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55729 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55730 (__lround): Renamed to ...
55731 (__llround): This. Replace long int with long long int.
55732 Define lround functions as aliases of llround functions.
55733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55734
55735 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55736
55737 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55738 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55739 adresses to uintptr_t. Replace "long int" and "unsigned long
55740 int" with "greg_t" on va_arg.
55741
55742 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55743
55744 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55745 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55746
55747 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55748 Move e_machine check before EI_CLASS check. Handle x32
55749 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55750 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55751 SKIP_EM_IA_64 and include
55752 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55753
55754 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55755 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55756 (add_system_dir): New macro.
55757
55758 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55759 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55760
55761 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55762
55763 [BZ #2551]
55764 [BZ #2552]
55765 [BZ #2553]
55766 [BZ #2554]
55767 [BZ #2562]
55768 [BZ #2563]
55769 [BZ #2565]
55770 [BZ #2566]
55771 [BZ #2576]
55772 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55773 (y0): Likewise.
55774 * math/w_j0f.c (j0f): Likewise.
55775 (y0f): Likewise.
55776 * math/w_j0l.c (__j0l): Likewise.
55777 (__y0l): Likewise.
55778 * math/w_j1.c (j1): Likewise.
55779 (y1): Likewise.
55780 * math/w_j1f.c (j1f): Likewise.
55781 (y1f): Likewise.
55782 * math/w_j1l.c (__j1l): Likewise.
55783 (__y1l): Likewise.
55784 * math/w_jn.c (jn): Likewise.
55785 (yn): Likewise.
55786 * math/w_jnf.c (jnf): Likewise.
55787 (ynf): Likewise.
55788 * math/w_jnl.c (__jnl): Likewise.
55789 (__ynl): Likewise.
55790 * math/libm-test.inc (j0_test): Add more tests.
55791 (j1_test): Likewise.
55792 (jn_test): Likewise. Add trailing semicolon to existing test.
55793 (y0_test): Likewise.
55794 (y1_test): Likewise.
55795 * sysdeps/i386/fpu/libm-test-ulps: Update.
55796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55797
55798 [BZ #13851]
55799 [BZ #13854]
55800 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55801 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55802 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55804 (__tanl): Set errno for infinite argument.
55805 * sysdeps/i386/fpu/mptan.c: Remove.
55806 * sysdeps/i386/fpu/s_tan.S: Likewise.
55807 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55808 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55809 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55810 * math/libm-test.inc (tan_test): Add more tests and enable more
55811 tests for double and long double.
55812 * sysdeps/i386/fpu/libm-test-ulps: Update.
55813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55814
55815 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55816
55817 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55818 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55819
55820 2012-03-16 Roland McGrath <roland@hack.frob.com>
55821
55822 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55823 * configure.in: Use it for both main tree and add-ons.
55824 * configure: Regenerated.
55825
55826 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55827
55828 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55829
55830 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55831
55832 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55833 in comment.
55834
55835 [BZ #13851]
55836 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55837 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55838 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55839 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55840 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55841 infinite argument.
55842 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55844 != 0 for prec == 2.
55845 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55846 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55847 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55848 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55849 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55850 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55851 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55852 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55853 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55854 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55855 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55856 * math/libm-test.inc (cos_test): Add more tests and enable more
55857 tests for long double.
55858 (sin_test): Likewise.
55859 (sincos_test): Likewise.
55860 * sysdeps/i386/fpu/libm-test-ulps: Update.
55861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55862
55863 2012-03-16 David S. Miller <davem@davemloft.net>
55864
55865 * sysdeps/sparc/fpu/math_private.h: New file.
55866
55867 2012-03-15 David S. Miller <davem@davemloft.net>
55868
55869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55870 file.
55871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55873 file.
55874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55880 sysdep routines.
55881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55882
55883 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55884 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55885
55886 * sysdeps/sparc/sparc-ifunc.h: New file.
55887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55888 sparc-ifunc.h
55889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55891 Likewise.
55892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55893 Likewise.
55894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55898 Likewise.
55899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55904 Likewise.
55905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55906 Likewise.
55907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55931
55932 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55933
55934 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55935 scaling.
55936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55937
55938 2012-03-15 Andreas Jaeger <aj@suse.de>
55939
55940 [BZ #13852]
55941 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55942 ieee754/flt-32 implementation for sin, cos and sincos.
55943 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55944 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55945 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55946 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55947 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55948 ieee754/flt-32 implementation for tan.
55949
55950 * math/libm-test.inc (cos_test): Enable some large input tests for
55951 float as well
55952 (sin_test): Likewise.
55953 (sincos_test): Likewise.
55954 (tan_test): Add tests for large input.
55955
55956 * sysdeps/i386/fpu/libm-test-ulps: Update.
55957
55958 2012-03-15 Andreas Jaeger <aj@suse.de>
55959
55960 [BZ #13658]
55961 * math/libm-test.inc (cos_test): Add more test cases.
55962 (sin_test): Likewise.
55963 (sincos_test): Likewise.
55964
55965 2012-03-15 Andreas Jaeger <aj@suse.de>
55966
55967 [BZ #13837]
55968 * math/libm-test.inc (cos_test): Add a test case for large input
55969 value.
55970 (sin_test): Likewise.
55971 (sincos_test): Likewise.
55972
55973 2012-03-15 Andreas Jaeger <aj@suse.de>
55974 Joseph Myers <joseph@codesourcery.com>
55975
55976 [BZ #13658]
55977 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55978 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55979 * sysdeps/i386/fpu/branred.c: Likewise.
55980 * sysdeps/i386/fpu/dosincos.c: Likewise.
55981 * sysdeps/i386/fpu/mpa.c: Likewise.
55982 * sysdeps/i386/fpu/s_cos.S: Likewise.
55983 * sysdeps/i386/fpu/s_sin.S: Likewise.
55984 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55985 * sysdeps/i386/fpu/sincos32.c: Likewise.
55986
55987 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55988 Define.
55989 (libc_feupdateenv_53bit): Define.
55990 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55991 Define.
55992 (libc_feupdateenv_53bit): Define.
55993
55994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55995 53 bit (without extend i386 double precision).
55996
55997 * math/libm-test.inc (sincos_test): Add tests for large input.
55998 (sin): Likewise.
55999 (cos): Likewise.
56000
56001 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56002
56003 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56004
56005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56006
56007 2012-03-15 David S. Miller <davem@davemloft.net>
56008
56009 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56010 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56011 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56012 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56025 file.
56026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56028 file.
56029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56031 file.
56032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56034 file.
56035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56037 fmin/fmax sysdep routines.
56038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56039
56040 2012-03-14 David S. Miller <davem@davemloft.net>
56041
56042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56071 routines.
56072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56073 file.
56074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56076 file.
56077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56079 file.
56080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56082 file.
56083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56085 file.
56086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56088 file.
56089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56090 file.
56091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56092 file.
56093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56094 file.
56095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56096 New file.
56097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56098 file.
56099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56100 file.
56101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56103 file.
56104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56106 file.
56107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56109 file.
56110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56112 VIS3 routines.
56113
56114 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56115 New file.
56116
56117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56118
56119 * sysdeps/sparc/configure.in: New file.
56120 * sysdeps/sparc/configure: Generate.
56121 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56122 * configure: Regenerate.
56123 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56124 * config.make.in (have-as-vis3): New.
56125 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56126 available use -Av9d instead of -Av9a.
56127 * sysdeps/sparc/sparc64/Makefile: Likewise.
56128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56130 New file.
56131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56132 file.
56133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56134 New file.
56135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56136 file.
56137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56142
56143 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56144 fzeros/fnegs to load 0x80000000 into a float register instead of
56145 using the stack.
56146 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56147
56148 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56149
56150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56151 bits/syscall.h.
56152 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56153 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56154 ($(inst_includedir)/bits/syscall.h): Remove rule.
56155 ($(objpfx)bits/syscall.d): Include instead of
56156 $(objpfx)syscall-list.d.
56157 (generated): Change syscall-list.h and syscall-list.d to
56158 bits/syscall.h and bits/syscall.d.
56159
56160 2012-03-14 Roland McGrath <roland@hack.frob.com>
56161
56162 [BZ #13846]
56163 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56164
56165 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56166
56167 [BZ #13841]
56168 * math/s_csqrt.c: Include <float.h>.
56169 (__csqrt): Scale large or subnormal inputs.
56170 * math/s_csqrtf.c: Likewise.
56171 * math/s_csqrtl.c: Likewise.
56172 * math/libm-test.inc (csqrt_test): Add more tests.
56173 * sysdeps/i386/fpu/libm-test-ulps: Update.
56174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56175
56176 [BZ #13840]
56177 * math/libm-test.inc (hypot_test): Add more tests.
56178
56179 2012-03-13 David S. Miller <davem@davemloft.net>
56180
56181 [BZ #13840]
56182 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56183 double-precision for the calculation instead of scaling.
56184
56185 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56186
56187 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56188 manipulate bits before adding and subtracting TWO52[sx].
56189 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56190 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56191 Likewise.
56192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56193
56194 2012-03-13 David S. Miller <davem@davemloft.net>
56195
56196 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56197 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56199 rtld-global-offsets.h
56200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56201
56202 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56203 large parameters.
56204
56205 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56206
56207 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56208 'err' in the ifdef scope in which it is actually used.
56209
56210 * nss/nss_db/db-init.c: Include string.h
56211
56212 2012-03-12 David S. Miller <davem@davemloft.net>
56213
56214 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56215 masking out of the most significant byte of random value used.
56216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56217 Fix coding style in previous change.
56218
56219 * sysdeps/unix/sysv/linux/kernel-features.h
56220 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56221 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56222 expression.
56223 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56224 later.
56225
56226 2012-03-11 David S. Miller <davem@davemloft.net>
56227
56228 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56229 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56231 for 'resultvar' otherwise things get truncated on 64-bit.
56232
56233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56234 Fix masking out of the most significant byte of random value used.
56235
56236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56237
56238 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56239
56240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56241
56242 2012-03-09 David S. Miller <davem@davemloft.net>
56243
56244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56245 variables with appropriate CPP guards.
56246 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56247 from the frame pointer, not the stack pointer. Correct layout
56248 comments. Fix test on resulting framesize and the management of
56249 the outregs buffer for pltexit. Preserve floating point return
56250 values across _dl_call_pltexit call.
56251 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56252 framesize and the management of the outregs buffer for pltexit.
56253 Preserve floating point return values across _dl_call_pltexit
56254 call.
56255 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56256 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56257 (la_sparc64_gnu_pltexit): New functions.
56258 (print_exit): Fix format string for return register value.
56259
56260 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56261
56262 * sunrpc/Makefile (others): Add rpcgen.
56263 ($(objpfx)rpcgen): Remove special build rule and dependency on
56264 libc.
56265 * sunrpc/rpcgen.c: New file.
56266
56267 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56268
56269 [BZ #13673]
56270 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56271 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56272 * sysdeps/i386/crti.S: Likewise.
56273 * sysdeps/i386/crtn.S: Likewise.
56274 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56275 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56276 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56277 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56278 * sysdeps/sh/crti.S: Likewise.
56279 * sysdeps/sh/crtn.S: Likewise.
56280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56281
56282 [BZ #13673]
56283 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56284 with URL.
56285 * locale/programs/locfile-kw.gperf: Likewise.
56286 * locale/programs/charmap-kw.h: Regenerated.
56287 * locale/programs/locfile-kw.h: Likewise.
56288
56289 [BZ #13673]
56290 * intl/plural.y: Replace FSF snail mail address with URL.
56291 * intl/plural.c: Regenerated.
56292
56293 2012-03-09 Richard Henderson <rth@twiddle.net>
56294
56295 * include/math_private.h: Remove file.
56296 * math/math_private.h: Move file ...
56297 * sysdeps/generic/math_private.h: ... here.
56298
56299 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56300 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56301 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56302
56303 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56304 and <math_private.h>.
56305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56310 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56311 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56313 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56317 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56319 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56320 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56324 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56331 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56335 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56339 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56342 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56343 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56345 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56348 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56351 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56352 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56355 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56356 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56364 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56366 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56368 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56369 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56374 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56377 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56379 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56392 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56393 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56394 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56396 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56398 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56399 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56400 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56401 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56402 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56403 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56405 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56406 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56407 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56408 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56409 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56410 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56411 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56412 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56413 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56415 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56416 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56418 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56419 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56422 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56424 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56425 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56426 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56427 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56428 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56431 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56432 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56433 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56434 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56435 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56436 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56437 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56440 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56441 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56442 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56443 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56444 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56447 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56448 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56449 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56450 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56451 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56452 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56453 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56454 * sysdeps/ieee754/k_standard.c: Likewise.
56455 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56456 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56457 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56458 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56459 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56460 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56461 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56471 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56472 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56473 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56474 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56475 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56476 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56478 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56479 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56480 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56481 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56482 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56483 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56486 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56487 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56488 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56489 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56490 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56493 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56495 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56496 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56497 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56499 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56500 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56501 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56506 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56507 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56508 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56511 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56512 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56513 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56514 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56516 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56517 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56518 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56522 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56524 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56527 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56528 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56529 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56537 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56540 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56541 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56542 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56543 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56545 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56547 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56549 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56552 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56553 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56554 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56558 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56559 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56562 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56563 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56564 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56571 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56573 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56574 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56576 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56578 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56580 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56581 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56582 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56583 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56588 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56591 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56592 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56594 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56595 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56597 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56598 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56599 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56604 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56606 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56609 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56610 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56611 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56612 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56614 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56615 * sysdeps/ieee754/s_lib_version.c: Likewise.
56616 * sysdeps/ieee754/s_matherr.c: Likewise.
56617 * sysdeps/ieee754/s_signgam.c: Likewise.
56618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56620 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56621 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56622 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56623 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56624 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56625 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56626 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56627 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56628 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56629 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56630 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56631 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56632 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56639
56640 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56641
56642 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56643 * sunrpc/rpc_main.c: Likewise.
56644 * sunrpc/rpc_svcout.c: Likewise.
56645
56646 2012-03-09 David S. Miller <davem@davemloft.net>
56647
56648 * include/math_private.h: New file.
56649
56650 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56651
56652 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56653 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56654 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56655 from <bits/socket_type.h>.
56656 (enum __socket_type): Don't define here.
56657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56659 bits/socket_type.h.
56660
56661 [BZ #13566]
56662 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56663 checking __USE_GNU.
56664
56665 * Makerules ($(inst_includedir)/%.h): New rule.
56666 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56667 (install-others): Remove variable setting.
56668 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56669
56670 2012-03-08 Richard Henderson <rth@twiddle.net>
56671
56672 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56673 from macro to inline function; merge with the
56674 !__LIBC_INTERNAL_MATH_INLINES version.
56675 (__ieee754_sqrtf): Likewise.
56676
56677 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56678 to inline function.
56679 (__rintf, __floor, __floorf): Likewise.
56680
56681 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56682 macro to inline function.
56683 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56684
56685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56686 not <math/math_private.h>.
56687
56688 2012-03-08 David S. Miller <davem@davemloft.net>
56689
56690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56691 copyright year.
56692 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56693
56694 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56695
56696 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56697 normalization.
56698 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56699 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56700
56701 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56702
56703 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56704 be defined individually, they must be defined as a block. Define
56705 S for printing a string instead of hidint the different by using a
56706 macro for adding the 'l'.
56707 * stdio-common/tst-fphex-wide.c: Adjust.
56708
56709 2012-03-07 Marek Polacek <polacek@redhat.com>
56710
56711 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56712
56713 2012-03-08 Marek Polacek <polacek@redhat.com>
56714
56715 [BZ #13806]
56716 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56717 * stdio-common/tst-fphex.c: Define a few macros to make the
56718 test reusable. Use them.
56719 * stdio-common/tst-fphex-wide.c: New file.
56720
56721 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56722
56723 [BZ #6911]
56724 * manual/macros.texi (gnusystems): New macro.
56725 (nongnusystems): Likewise.
56726 (gnulinuxhurdsystems): Likewise.
56727 (gnuhurdsystems): Likewise..
56728 (gnulinuxsystems): Likewise.
56729 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56730 variants of the GNU system, not "GNU system".
56731 * manual/conf.texi: Likewise.
56732 * manual/errno.texi: Likewise. Update example of errno macro
56733 expansion.
56734 * manual/filesys.texi: Likewise.
56735 (getumask): Document as specific to GNU/Hurd.
56736 * manual/install.texi: Likewise. Reword some references to
56737 GNU/Linux.
56738 * manual/intro.texi: Likewise.
56739 * manual/io.texi: Likewise.
56740 (File Name Portability): Detail which constraints are inapplicable
56741 to all GNU systems and which are only inapplicable to GNU/Hurd.
56742 * manual/job.texi: Likewise.
56743 * manual/llio.texi: Likewise.
56744 (O_NOCTTY): Document as present on GNU/Linux.
56745 * manual/maint.texi: Likewise.
56746 * manual/memory.texi: Likewise.
56747 * manual/pattern.texi: Likewise.
56748 * manual/pipe.texi: Likewise.
56749 * manual/process.texi: Likewise.
56750 * manual/resource.texi: Likewise.
56751 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56752 child on GNU/Hurd.
56753 * manual/setjmp.texi: Likewise.
56754 * manual/signal.texi: Likewise.
56755 * manual/startup.texi: Likewise.
56756 * manual/stdio.texi: Likewise.
56757 * manual/terminal.texi: Likewise.
56758 (ONLCR): Document as POSIX.
56759 (OXTABS): Document availability on GNU/Linux as XTABS.
56760 (ONOEOT): Document availability separately from other bits.
56761 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56762 * manual/time.texi: Likewise.
56763 * manual/users.texi: Likewise.
56764 * INSTALL: Regenerated.
56765 * sysdeps/gnu/errlist.c: Regenerated.
56766
56767 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56768 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56769 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56770 puts.
56771 * configure: Regenerated.
56772
56773 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56774
56775 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56776 default includes instead of AC_HEADER_CHECK.
56777 * sysdeps/i386/configure: Regenerated.
56778
56779 [BZ #10716]
56780 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56781 * math/s_cacoshf.c (__cacoshf): Likewise.
56782 * math/s_cacoshl.c (__cacoshl): Likewise.
56783 * math/s_casinh.c (__casinh): Set signs of result from argument.
56784 * math/s_casinhf.c (__casinhf): Likewise.
56785 * math/s_casinhl.c (__casinhl): Likewise.
56786 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56787 (casinh_test): Add more tests.
56788 * sysdeps/i386/fpu/libm-test-ulps: Update.
56789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56790
56791 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56792
56793 * po/zh_TW.po: Update from translation team.
56794
56795 * login/Makefile (distribute): Remove variable.
56796 * catgets/Makefile: Likewise.
56797 * mach/Makefile: Likewise.
56798 * malloc/Makefile: Likewise.
56799 * misc/Makefile: Likewise.
56800 * iconv/Makefile: Likewise.
56801 * nscd/Makefile: Likewise.
56802 * hurd/Makefile: Likewise.
56803 * manual/Makefile: Likewise.
56804 * locale/Makefile: Likewise.
56805 * intl/Makefile: Likewise.
56806 * conform/Makefile: Likewise.
56807 * nss/Makefile: Likewise.
56808 * time/Makefile: Likewise.
56809 * soft-fp/Makefile: Likewise.
56810 * dirent/Makefile: Likewise.
56811 * gmon/Makefile: Likewise.
56812 * po/Makefile: Likewise.
56813 * rt/Makefile: Likewise.
56814 * socket/Makefile: Likewise.
56815 * math/Makefile: Likewise.
56816 * signal/Makefile: Likewise.
56817 * debug/Makefile: Likewise.
56818 * elf/Makefile: Likewise.
56819 * timezone/Makefile: Likewise.
56820 * stdlib/Makefile: Likewise.
56821 * iconvdata/Makefile: Likewise.
56822 * sunrpc/Makefile: Likewise.
56823 * io/Makefile: Likewise.
56824 * argp/Makefile: Likewise.
56825 * inet/Makefile: Likewise.
56826 * hesiod/Makefile: Likewise.
56827 * grp/Makefile: Likewise.
56828 * csu/Makefile: Likewise.
56829 * wctype/Makefile: Likewise.
56830 * crypt/Makefile: Likewise.
56831 * libio/Makefile: Likewise.
56832 * string/Makefile: Likewise.
56833 * nis/Makefile: Likewise.
56834 * resolv/Makefile: Likewise.
56835 * stdio-common/Makefile: Likewise.
56836 * wcsmbs/Makefile: Likewise.
56837 * dlfcn/Makefile: Likewise.
56838 * posix/Makefile: Likewise.
56839
56840 [BZ #6959]
56841 * timezone/Makefile: Don't install timezone files, just the programs
56842 and scripts.
56843
56844 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56845
56846 * nss/databases.def: Add missing gshadow entry.
56847
56848 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56849
56850 2012-03-06 Marek Polacek <polacek@redhat.com>
56851
56852 [BZ #13726]
56853 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56854 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56855 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56856 * stdio-common/tst-long-dbl-fphex.c: New file.
56857
56858 2012-03-06 David S. Miller <davem@davemloft.net>
56859
56860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56861 (set_obp_int): New function.
56862 (get_obp_int): New function.
56863 (__get_clockfreq_via_dev_openprom): Likewise.
56864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56865 Avoid unused variable warnings on 'val' and use builtin_expect.
56866 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56867 __builtin_expect.
56868 (INLINE_CLONE_SYSCALL): Likewise.
56869
56870 2012-03-05 David S. Miller <davem@davemloft.net>
56871
56872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56873
56874 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56875
56876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56877
56878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56879 only for |x| >= 40.
56880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56881
56882 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56883
56884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56885 Replace gettimeofday with __vdso_gettimeofday.
56886
56887 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56888 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56889 __vdso_clock_gettime and __vdso_getcpu.
56890
56891 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56892 time with __vdso_time.
56893
56894 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56895
56896 * manual/lang.texi (size_t): Note types to which size_t may be
56897 equivalent with the GNU C Library, but do not describe when
56898 differences between them are significant.
56899
56900 2012-03-05 Andreas Jaeger <aj@suse.de>
56901
56902 * sysdeps/i386/fpu/libm-test-ulps: Update.
56903
56904 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56905
56906 [BZ #3976]
56907 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56908 (__ieee754_pow): Save and restore rounding mode and use
56909 round-to-nearest for main computations.
56910 * math/libm-test.inc (pow_test_tonearest): New function.
56911 (pow_test_towardzero): Likewise.
56912 (pow_test_downward): Likewise.
56913 (pow_test_upward): Likewise.
56914 (main): Call the new functions.
56915 * sysdeps/i386/fpu/libm-test-ulps: Update.
56916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56917
56918 [BZ #3976]
56919 * math/libm-test.inc (cosh_test_tonearest): New function.
56920 (cosh_test_towardzero): Likewise.
56921 (cosh_test_downward): Likewise.
56922 (cosh_test_upward): Likewise.
56923 (sinh_test_tonearest): Likewise.
56924 (sinh_test_towardzero): Likewise.
56925 (sinh_test_downward): Likewise.
56926 (sinh_test_upward): Likewise.
56927 (main): Call the new functions.
56928 * sysdeps/i386/fpu/libm-test-ulps: Update.
56929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56930
56931 2012-03-05 Tom de Vries <tom@codesourcery.com>
56932
56933 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56934 default stack guard is set in last bytes.
56935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56936
56937 2012-03-05 Kees Cook <keescook@chromium.org>
56938
56939 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56940
56941 [BZ #13656]
56942 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56943 possibly allocate from heap instead of stack.
56944 * stdio-common/bug-vfprintf-nargs.c: New file.
56945 * stdio-common/Makefile (tests): Add nargs overflow test.
56946
56947 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56948
56949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56950
56951 2012-03-03 Marek Polacek <polacek@redhat.com>
56952
56953 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56954 * math/math_private.h: Likewise.
56955 * stdlib/tst-strtod.c: Likewise.
56956 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56957 * sysdeps/x86_64/bits/atomic.h: Likewise.
56958
56959 2012-03-02 David S. Miller <davem@davemloft.net>
56960
56961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56965 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56966 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56967 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56968 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56969
56970 2012-03-02 Roland McGrath <roland@hack.frob.com>
56971
56972 [BZ #13792]
56973 * manual/examples/README: New file, says the example source files
56974 can be used under GPL>=2.
56975 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56976 line containing just "*/".
56977 * manual/examples/add.c: Add copyright header (GPL>=2).
56978 * manual/examples/argp-ex1.c: Likewise.
56979 * manual/examples/argp-ex2.c: Likewise.
56980 * manual/examples/argp-ex3.c: Likewise.
56981 * manual/examples/argp-ex4.c: Likewise.
56982 * manual/examples/atexit.c: Likewise.
56983 * manual/examples/db.c: Likewise.
56984 * manual/examples/dir.c: Likewise.
56985 * manual/examples/dir2.c: Likewise.
56986 * manual/examples/execinfo.c: Likewise.
56987 * manual/examples/filecli.c: Likewise.
56988 * manual/examples/filesrv.c: Likewise.
56989 * manual/examples/fmtmsgexpl.c: Likewise.
56990 * manual/examples/genpass.c: Likewise.
56991 * manual/examples/inetcli.c: Likewise.
56992 * manual/examples/inetsrv.c: Likewise.
56993 * manual/examples/isockad.c: Likewise.
56994 * manual/examples/longopt.c: Likewise.
56995 * manual/examples/memopen.c: Likewise.
56996 * manual/examples/memstrm.c: Likewise.
56997 * manual/examples/mkfsock.c: Likewise.
56998 * manual/examples/mkisock.c: Likewise.
56999 * manual/examples/mygetpass.c: Likewise.
57000 * manual/examples/pipe.c: Likewise.
57001 * manual/examples/popen.c: Likewise.
57002 * manual/examples/rprintf.c: Likewise.
57003 * manual/examples/search.c: Likewise.
57004 * manual/examples/select.c: Likewise.
57005 * manual/examples/setjmp.c: Likewise.
57006 * manual/examples/sigh1.c: Likewise.
57007 * manual/examples/sigusr.c: Likewise.
57008 * manual/examples/stpcpy.c: Likewise.
57009 * manual/examples/strdupa.c: Likewise.
57010 * manual/examples/strftim.c: Likewise.
57011 * manual/examples/strncat.c: Likewise.
57012 * manual/examples/subopt.c: Likewise.
57013 * manual/examples/swapcontext.c: Likewise.
57014 * manual/examples/termios.c: Likewise.
57015 * manual/examples/testopt.c: Likewise.
57016 * manual/examples/testpass.c: Likewise.
57017 * manual/examples/timeval_subtract.c: Likewise.
57018
57019 [BZ #13792]
57020 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57021 function to ...
57022 * manual/timeval_subtract.c.texi: ... here, new file.
57023
57024 2012-03-02 David S. Miller <davem@davemloft.net>
57025
57026 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57027
57028 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57029
57030 [BZ #3976]
57031 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57032 (__sin): Save and restore rounding mode and use round-to-nearest
57033 for all computations.
57034 (__cos): Save and restore rounding mode and use round-to-nearest
57035 for all computations.
57036 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57037 <fenv.h>.
57038 (tan): Save and restore rounding mode and use round-to-nearest for
57039 all computations.
57040 * math/libm-test.inc (cos_test_tonearest): New function.
57041 (cos_test_towardzero): Likewise.
57042 (cos_test_downward): Likewise.
57043 (cos_test_upward): Likewise.
57044 (sin_test_tonearest): Likewise.
57045 (sin_test_towardzero): Likewise.
57046 (sin_test_downward): Likewise.
57047 (sin_test_upward): Likewise.
57048 (tan_test_tonearest): Likewise.
57049 (tan_test_towardzero): Likewise.
57050 (tan_test_downward): Likewise.
57051 (tan_test_upward): Likewise.
57052 (main): Call the new functions.
57053 * sysdeps/i386/fpu/libm-test-ulps: Update.
57054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57055
57056 [BZ #10135]
57057 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57058 small n, then large n, before computing and testing k+n.
57059 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57061 Likewise.
57062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57063 Likewise.
57064 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57065 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57068 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57069 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57070 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57071 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57072 * math/libm-test.inc (scalbn_test): Add more tests.
57073 (scalbln_test): Likewise.
57074
57075 * manual/filesys.texi (mode_t): Describe constraints on size and
57076 signedness, not exact equivalence to a particular type.
57077 (ino_t): Likewise.
57078 (ino64_t): Likewise.
57079 (dev_t): Likewise.
57080 (nlink_t): Likewise.
57081 (blkcnt_t): Likewise.
57082 (blkcnt64_t): Likewise.
57083 * manual/llio.texi (off_t): Likewise.
57084
57085 [BZ #3976]
57086 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57087 (__ieee754_exp): Save and restore rounding mode and use
57088 round-to-nearest for all computations.
57089 * math/libm-test.inc (exp_test_tonearest): New function.
57090 (exp_test_towardzero): Likewise.
57091 (exp_test_downward): Likewise.
57092 (exp_test_upward): Likewise.
57093 (main): Call the new functions.
57094 * sysdeps/i386/fpu/libm-test-ulps: Update.
57095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57096
57097 2012-03-01 Chris Demetriou <cgd@google.com>
57098
57099 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57100 have predictable order.
57101
57102 2012-03-01 David S. Miller <davem@davemloft.net>
57103
57104 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57105
57106 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57107 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57108 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57109 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57110
57111 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57112 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57113 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57115 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57116 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57117 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57118 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57119 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57120
57121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57122
57123 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57124 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57125 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57126
57127 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57128 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57129 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57130 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57131 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57132 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57133 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57134 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57135 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57136 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57137 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57141 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57143 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57144 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57145 * sysdeps/sparc/elf/configure: Regenerated.
57146
57147 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57148
57149 * configure.in (AS, LD): Require binutils 2.20 or later.
57150 * configure: Regenerated.
57151 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57152 as required minimum version.
57153 * INSTALL: Regenerated.
57154
57155 [BZ #2541]
57156 [BZ #4108]
57157 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57158 before squaring exponent.
57159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57160 bottom long double and 27 bits of top long double before squaring
57161 exponent.
57162 * math/libm-test.inc (erfc_test): Add more tests.
57163 * sysdeps/i386/fpu/libm-test-ulps: Update.
57164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57166
57167 2012-03-01 Kai Tietz <ktietz@redhat.com>
57168
57169 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57170 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57171 containing bit-fields.
57172 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57173 * soft-fp/single.h (_FP_UNION_S): Likewise.
57174 * soft-fp/double.h (_FP_UNION_D): Likewise.
57175
57176 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57177
57178 [BZ #13786]
57179 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57180 not include ../strcmp.S.
57181 [USE_AS_STRNCASECMP_L]: Likewise.
57182 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57183 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57184 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57185 (__strncasecmp_l_ia32): Define as alias to
57186 __strncasecmp_l_nonascii.
57187
57188 [BZ #5794]
57189 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57190 * sysdeps/i386/fpu/libm-test-ulps: Update.
57191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57192
57193 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57195
57196 2012-02-29 Jeff Law <law@redhat.com>
57197
57198 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57199 out of bounds read.
57200
57201 2012-02-29 Marek Polacek <polacek@redhat.com>
57202
57203 [BZ #13706]
57204 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57205 * elf/Makefile: Add rules to run tst-unused-dep.out.
57206
57207 2012-02-28 David S. Miller <davem@davemloft.net>
57208
57209 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57210 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57212 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57213 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57214 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57215
57216 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57217
57218 * math/libm-test.inc (llround_test): Move one test from
57219 lround_test. Use TEST_f_L in moved test.
57220 (lround_test): Move misplaced test to llround_test. Add testcase
57221 from bug 2561.
57222
57223 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57224
57225 * sysdeps/x86_64/fpu/e_expf.S: New file.
57226 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57227
57228 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57229
57230 [BZ #13637]
57231 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57232 of remain_len that may cause incomplete multi-byte character and
57233 false match.
57234 * posix/bug-regex33.c: New file.
57235 * posix/Makefile (tests): Add bug-regex33.
57236
57237 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57238
57239 * manual/macros.texi: New file.
57240 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57241 * manual/libc.texinfo: Include macros.texi.
57242 * manual/creatute.texi: Likewise.
57243 * manual/install.texi: Likewise.
57244 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57245 @glibcadj{} in references to the GNU C Library.
57246 * manual/charset.texi: Likewise.
57247 * manual/conf.texi: Likewise.
57248 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57249 when not using those macros.
57250 * manual/creature.texi: Likewise.
57251 * manual/crypt.texi: Likewise.
57252 * manual/errno.texi: Likewise.
57253 * manual/filesys.texi: Likewise.
57254 * manual/header.texi: Likewise.
57255 * manual/install.texi: Likewise.
57256 * manual/intro.texi: Likewise.
57257 * manual/io.texi: Likewise.
57258 * manual/job.texi: Likewise.
57259 * manual/lang.texi: Likewise.
57260 * manual/libc.texiinfo: Likewise.
57261 * manual/llio.texi: Likewise.
57262 * manual/locale.texi: Likewise.
57263 * manual/maint.texi: Likewise.
57264 * manual/math.texi: Likewise.
57265 * manual/memory.texi: Likewise.
57266 * manual/message.texi: Likewise.
57267 * manual/nss.texi: Likewise.
57268 * manual/pattern.texi: Likewise.
57269 * manual/process.texi: Likewise.
57270 * manual/resource.texi: Likewise.
57271 * manual/search.texi: Likewise.
57272 * manual/setjmp.texi: Likewise.
57273 * manual/signal.texi: Likewise.
57274 * manual/socket.texi: Likewise.
57275 * manual/startup.texi: Likewise.
57276 * manual/stdio.texi: Likewise.
57277 * manual/string.texi: Likewise.
57278 * manual/sysinfo.texi: Likewise.
57279 * manual/syslog.texi: Likewise.
57280 * manual/terminal.texi: Likewise.
57281 * manual/time.texi: Likewise.
57282 * manual/users.texi: Likewise.
57283 * INSTALL: Regenerated.
57284 * NOTES: Regenerated.
57285 * sysdeps/gnu/errlist.c: Regenerated.
57286
57287 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57288
57289 * include/dirent.h: Include <dirstream.h> before
57290 <dirent/dirent.h>.
57291
57292 2012-02-28 David S. Miller <davem@davemloft.net>
57293
57294 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57295 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57296 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57298
57299 2012-02-27 David S. Miller <davem@davemloft.net>
57300
57301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57303 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57304 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57305
57306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57307 frame pointer instead of stack pointer relative arg slot.
57308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57309 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57310 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57311
57312 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57313
57314 [BZ #3992]
57315 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57316
57317 2012-02-27 David S. Miller <davem@davemloft.net>
57318
57319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57325 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57326 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57327
57328 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57329
57330 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57331 later. Allow versions 5-9.
57332 * configure: Regenerated.
57333 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57334 required minimum version and 4.6 as recommended version. Do not
57335 mention bugs in GCC 2.7 and 2.8.
57336 * INSTALL: Regenerated.
57337
57338 2012-02-27 David S. Miller <davem@davemloft.net>
57339
57340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57344 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57345 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57346 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57347 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57348
57349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57350 manipulate bits before adding and subtracting TWO112[sx].
57351 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57352
57353 2012-02-27 Roland McGrath <roland@hack.frob.com>
57354
57355 [BZ #13775]
57356 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57357 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57358 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57359 being in POSIX, because they are in 1003.1-2008.
57360
57361 * rt/tst-aio.c: Include <fcntl.h>.
57362 * rt/tst-aio7.c: Likewise.
57363 * rt/tst-aio64.c: Likewise.
57364
57365 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57366
57367 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57368
57369 * manual/install.texi (--with-headers): Describe headers as
57370 interface headers, not private headers.
57371 (Specific advice for GNU/Linux systems): Describe use of headers
57372 from "make headers_install", not private headers from older
57373 kernels.
57374 * INSTALL: Regenerated.
57375 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57376 Change to 2.6.19.
57377 * sysdeps/unix/sysv/linux/configure: Regenerated.
57378
57379 * manual/llio.texi (fclean): Remove documentation.
57380
57381 * manual/Makefile (libc-texi-generated): New variable. Include
57382 version.texi.
57383 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57384 $(libc-texi-generated), not duplicated list of files.
57385 (version.texi, stamp-version): New rules.
57386 (realclean): Remove $(libc-texi-generated), not individual files
57387 from that list. Do not remove dir-add.texinfo.
57388 * manual/libc.texinfo: Comment out uses of edition numbers and
57389 references to printed manual. Remove last-updated dates.
57390 (EDITION): Comment out.
57391 (ISBN): Likewise.
57392 (VERSION, UPDATED): Remove.
57393 (version.texi): Include.
57394
57395 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57396
57397 * sysdeps/posix/spawni.c: Include <signal.h>.
57398 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57399 * sysdeps/pthread/aio_fsync.c: Likewise.
57400
57401 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57402
57403 * conform/Makefile (tests): Run only when not cross-compiling and
57404 when fast-check is not defined.
57405
57406 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57407 * conform/data/limits.h-data: Fixes for POSIX2008.
57408 * conform/run-conformtest.sh: Run all tests.
57409 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57410 headers.
57411 * include/bits/dlfcn.h: Likewise.
57412 * include/langinfo.h: Likewise.
57413 * include/monetary.h: Likewise.
57414 * include/sys/poll.h: Likewise.
57415
57416 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57417 for __USE_GNU.
57418 * posix/spawn.h: Define __need_sigset_t.
57419 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57420 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57421 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57422 to get sigevent_t only.
57423 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57424 only for __USE_GNU.
57425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57426 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57427 process_vm_writev only for __USE_GNU.
57428 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57429
57430 * conform/Makefile: For now ignore errors from run-conformtest.
57431 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57432 POSIX to avoid namespace pollution. Don't prepend headers.
57433 * conform/data/aio.h-data: Fixes for POSIX testing.
57434 * conform/data/fcntl.h-data: Likewise.
57435 * conform/data/glob.h-data: Likewise.
57436 * conform/data/grp.h-data: Likewise.
57437 * conform/data/pthread.h-data: Likewise.
57438 * conform/data/pwd.h-data: Likewise.
57439 * conform/data/signal.h-data: Likewise.
57440 * conform/data/spawn.h-data: Likewise.
57441 * conform/data/stdio.h-data: Likewise.
57442 * conform/data/stdlib.h-data: Likewise.
57443 * conform/data/stropts.h-data: Likewise.
57444 * conform/data/sys/mman.h-data: Likewise.
57445 * conform/data/sys/stat.h-data: Likewise.
57446 * conform/data/sys/types.h-data: Likewise.
57447 * conform/data/sys/wait.h-data: Likewise.
57448 * conform/data/time.h-data: Likewise.
57449 * conform/data/unistd.h-data: Likewise.
57450 * conform/data/utime.h-data: Likewise.
57451
57452 * io/sys/stat.h: fchmod was always in POSIX.
57453 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57454 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57455 * rt/aio.h: Define __need_timespec before including <time.h>.
57456 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57457 struct. Add forward declaration of pthread_attr_t and use it in
57458 sigevent.
57459 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57461 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57462 always remove CLK_TCK definition.
57463
57464 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57465
57466 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57467
57468 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57469
57470 * conform/run-conformtest.sh: New file.
57471 * conform/Makefile: Run run-conformtest for tests.
57472 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57473 support.
57474
57475 * conform/data/uchar.h-data: New file.
57476 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57477 * conform/data/arpa/inet.h-data: Likewise.
57478 * conform/data/assert.h-data: Likewise.
57479 * conform/data/complex.h-data: Likewise.
57480 * conform/data/cpio.h-data: Likewise.
57481 * conform/data/ctype.h-data: Likewise.
57482 * conform/data/dirent.h-data: Likewise.
57483 * conform/data/dlfcn.h-data: Likewise.
57484 * conform/data/errno.h-data: Likewise.
57485 * conform/data/fcntl.h-data: Likewise.
57486 * conform/data/float.h-data: Likewise.
57487 * conform/data/fmtmsg.h-data: Likewise.
57488 * conform/data/fnmatch.h-data: Likewise.
57489 * conform/data/ftw.h-data: Likewise.
57490 * conform/data/glob.h-data: Likewise.
57491 * conform/data/grp.h-data: Likewise.
57492 * conform/data/iconv.h-data: Likewise.
57493 * conform/data/inttypes.h-data: Likewise.
57494 * conform/data/langinfo.h-data: Likewise.
57495 * conform/data/libgen.h-data: Likewise.
57496 * conform/data/limits.h-data: Likewise.
57497 * conform/data/locale.h-data: Likewise.
57498 * conform/data/math.h-data: Likewise.
57499 * conform/data/monetary.h-data: Likewise.
57500 * conform/data/mqueue.h-data: Likewise.
57501 * conform/data/ndbm.h-data: Likewise.
57502 * conform/data/net/if.h-data: Likewise.
57503 * conform/data/netdb.h-data: Likewise.
57504 * conform/data/netinet/in.h-data: Likewise.
57505 * conform/data/nl_types.h-data: Likewise.
57506 * conform/data/poll.h-data: Likewise.
57507 * conform/data/pthread.h-data: Likewise.
57508 * conform/data/pwd.h-data: Likewise.
57509 * conform/data/regex.h-data: Likewise.
57510 * conform/data/sched.h-data: Likewise.
57511 * conform/data/search.h-data: Likewise.
57512 * conform/data/semaphore.h-data: Likewise.
57513 * conform/data/setjmp.h-data: Likewise.
57514 * conform/data/signal.h-data: Likewise.
57515 * conform/data/spawn.h-data: Likewise.
57516 * conform/data/stdarg.h-data: Likewise.
57517 * conform/data/stdio.h-data: Likewise.
57518 * conform/data/stdlib.h-data: Likewise.
57519 * conform/data/string.h-data: Likewise.
57520 * conform/data/strings.h-data: Likewise.
57521 * conform/data/stropts.h-data: Likewise.
57522 * conform/data/sys/ipc.h-data: Likewise.
57523 * conform/data/sys/mman.h-data: Likewise.
57524 * conform/data/sys/msg.h-data: Likewise.
57525 * conform/data/sys/resource.h-data: Likewise.
57526 * conform/data/sys/select.h-data: Likewise.
57527 * conform/data/sys/sem.h-data: Likewise.
57528 * conform/data/sys/shm.h-data: Likewise.
57529 * conform/data/sys/socket.h-data: Likewise.
57530 * conform/data/sys/stat.h-data: Likewise.
57531 * conform/data/sys/statvfs.h-data: Likewise.
57532 * conform/data/sys/time.h-data: Likewise.
57533 * conform/data/sys/timeb.h-data: Likewise.
57534 * conform/data/sys/times.h-data: Likewise.
57535 * conform/data/sys/types.h-data: Likewise.
57536 * conform/data/sys/uio.h-data: Likewise.
57537 * conform/data/sys/un.h-data: Likewise.
57538 * conform/data/sys/utsname.h-data: Likewise.
57539 * conform/data/sys/wait.h-data: Likewise.
57540 * conform/data/syslog.h-data: Likewise.
57541 * conform/data/tar.h-data: Likewise.
57542 * conform/data/termios.h-data: Likewise.
57543 * conform/data/utime.h-data: Likewise.
57544 * conform/data/utmpx.h-data: Likewise.
57545 * conform/data/varargs.h-data: Likewise.
57546 * conform/data/wchar.h-data: Likewise.
57547 * conform/data/wctype.h-data: Likewise.
57548 * conform/data/wordexp.h-data: Likewise.
57549
57550 * include/stropts.h: New file.
57551 * include/uchar.h: New file.
57552 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57553 * include/assert.h: Likewise.
57554 * include/ctype.h: Likewise.
57555 * include/dirent.h: Likewise.
57556 * include/dlfcn.h: Likewise.
57557 * include/fcntl.h: Likewise.
57558 * include/fnmatch.h: Likewise.
57559 * include/glob.h: Likewise.
57560 * include/grp.h: Likewise.
57561 * include/libio.h: Likewise.
57562 * include/locale.h: Likewise.
57563 * include/math.h: Likewise.
57564 * include/net/if.h: Likewise.
57565 * include/netdb.h: Likewise.
57566 * include/netinet/in.h: Likewise.
57567 * include/pthread.h: Likewise.
57568 * include/pwd.h: Likewise.
57569 * include/regex.h: Likewise.
57570 * include/sched.h: Likewise.
57571 * include/search.h: Likewise.
57572 * include/setjmp.h: Likewise.
57573 * include/signal.h: Likewise.
57574 * include/stdio.h: Likewise.
57575 * include/stdlib.h: Likewise.
57576 * include/string.h: Likewise.
57577 * include/sys/cdefs.h: Likewise.
57578 * include/sys/mman.h: Likewise.
57579 * include/sys/msg.h: Likewise.
57580 * include/sys/resource.h: Likewise.
57581 * include/sys/select.h: Likewise.
57582 * include/sys/socket.h: Likewise.
57583 * include/sys/stat.h: Likewise.
57584 * include/sys/statvfs.h: Likewise.
57585 * include/sys/time.h: Likewise.
57586 * include/sys/times.h: Likewise.
57587 * include/sys/uio.h: Likewise.
57588 * include/sys/utsname.h: Likewise.
57589 * include/sys/wait.h: Likewise.
57590 * include/termios.h: Likewise.
57591 * include/time.h: Likewise.
57592 * include/ulimit.h: Likewise.
57593 * include/unistd.h: Likewise.
57594 * include/utime.h: Likewise.
57595 * include/wchar.h: Likewise.
57596 * include/wctype.h: Likewise.
57597 * include/wordexp.h: Likewise.
57598
57599 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57600
57601 * time/time.h: TIME_UTC must be a macro.
57602 Make timespec_get available for ISO C11 only as well.
57603
57604 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57605
57606 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57607 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57608
57609 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57610
57611 * configure.in: Use -o not -a in test for unsupported multi-arch.
57612
57613 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57614
57615 * manual/texinfo.tex: Update to version 2012-01-19.16.
57616
57617 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57618
57619 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57620
57621 2012-02-24 Roland McGrath <roland@hack.frob.com>
57622
57623 [BZ #13738]
57624 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57625 * manual/fdl-1.3.texi: New file.
57626 * manual/fdl-1.1.texi: File removed.
57627
57628 [BZ #13738]
57629 * manual/libc.texinfo (FDL_VERSION): New @set.
57630 Use it for mention of FDL in cover text.
57631 (Documentation License): Use it in @include file name.
57632
57633 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57634 Roland McGrath <roland@hack.frob.com>
57635
57636 [BZ #5461]
57637 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57638 (not LONG_LONG_MAX and LONG_LONG_MIN.
57639 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57640 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57641 name.
57642 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57643
57644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57645
57646 [BZ #2547]
57647 [BZ #11365]
57648 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57649 manipulate bits before adding and subtracting TWO23[sx].
57650 * math/libm-test.inc (nearbyint_test): Add more tests.
57651
57652 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57653
57654 [BZ #2548]
57655 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57656 bits before adding and subtracting TWO23[sx].
57657 * math/libm-test.inc (rint_test): Add more tests.
57658 (rint_test_tonearest): Likewise.
57659 (rint_test_towardzero): Likewise.
57660 (rint_test_downward): Likewise.
57661 (rint_test_upward: Likewise.
57662
57663 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57664
57665 [BZ #10110]
57666 * include/stdc-predef.h: New file. Extracted from features.h.
57667 * include/features.h: Include stdc-predef.h.
57668 * Makefile (headers): Add stdc-predef.h.
57669 * CONFORMANCE (Compiler limitations): Update.
57670
57671 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57672
57673 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57674
57675 2012-02-21 David S. Miller <davem@davemloft.net>
57676
57677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57678 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57679
57680 2012-02-20 David S. Miller <davem@davemloft.net>
57681
57682 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57683 using a normal save/restore sequence, rather than allocating a
57684 dummy stack frame just to store a frame pointer and restore.
57685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57686
57687 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57688
57689 * manual/install.texi: Fix stray word in line-wrapped comment.
57690
57691 2012-02-20 David S. Miller <davem@davemloft.net>
57692
57693 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57694 both binutils and gcc support GOTDATA.
57695
57696 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57697 "rd %pc" in the PIC register setup sequences.
57698
57699 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57700 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57701 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57702 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57703 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57708 (SYSCALL_ERROR_HANDLER): Likewise.
57709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57712 (SYSCALL_ERROR_HANDLER): Likewise.
57713
57714 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57715 (HAVE_GCC_GOTDATA): New.
57716 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57717 relocation support in both binutils and gcc.
57718 * sysdeps/sparc/elf/configure: Regenerate.
57719
57720 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57721 * sysdeps/sparc/sparc32/elf/configure: Delete.
57722 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57723 * sysdeps/sparc/sparc64/elf/configure: Delete.
57724 * sysdeps/sparc/elf/configure.in: New file.
57725 * sysdeps/sparc/elf/configure: Generate.
57726
57727 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57728 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57729 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57730 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57731 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57732
57733 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57734
57735 * manual/install.texi: Do not mention specific glibc version
57736 numbers.
57737 * manual/libc.texinfo (VERSION, UPDATED): Update.
57738 (@copying): Use @copyright{} and range of years.
57739
57740 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57741
57742 [BZ #13695]
57743 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57744 [crti.S not in sysdirs] (generated): Do not append.
57745 [crti.S not in sysdirs] (omit-deps): Likewise.
57746 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57747 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57748 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57749 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57750 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57751 Likewise.
57752 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57753 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57754 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57755 * csu/defs.awk: Remove file.
57756 * sysdeps/generic/initfini.c: Likewise.
57757 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57758 variable.
57759 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57760 Likewise.
57761
57762 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57763
57764 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57765 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57766 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57769 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57770 <bits/epoll.h>.
57771 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57772 (__EPOLL_PACKED): Define to empty if not defined by
57773 <bits/epoll.h>.
57774 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57776 bits/epoll.h.
57777
57778 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57779
57780 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57781 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57782 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57783 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57784 <bits/timerfd.h>.
57785 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57787 bits/timerfd.h.
57788
57789 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57790
57791 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57792 in C locale.
57793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57794 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57797
57798 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57799
57800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57802
57803 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57804
57805 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57806 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57807 defined.
57808 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57809 Likewise.
57810 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57811 entry for 2.16.
57812
57813 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57814
57815 * math/w_acos.c: Use non-signaling floating-point comparisons.
57816 * math/w_acosf.c: Likewise.
57817 * math/w_acosh.c: Likewise.
57818 * math/w_acoshf.c: Likewise.
57819 * math/w_acoshl.c: Likewise.
57820 * math/w_acosl.c: Likewise.
57821 * math/w_asin.c: Likewise.
57822 * math/w_asinf.c: Likewise.
57823 * math/w_asinl.c: Likewise.
57824 * math/w_atanh.c: Likewise.
57825 * math/w_atanhf.c: Likewise.
57826 * math/w_atanhl.c: Likewise.
57827 * math/w_exp2.c: Likewise.
57828 * math/w_exp2f.c: Likewise.
57829 * math/w_exp2l.c: Likewise.
57830 * math/w_j0.c: Likewise.
57831 * math/w_j0f.c: Likewise.
57832 * math/w_j0l.c: Likewise.
57833 * math/w_j1.c: Likewise.
57834 * math/w_j1f.c: Likewise.
57835 * math/w_j1l.c: Likewise.
57836 * math/w_jn.c: Likewise.
57837 * math/w_jnf.c: Likewise.
57838 * math/w_log.c: Likewise.
57839 * math/w_log10.c: Likewise.
57840 * math/w_log10f.c: Likewise.
57841 * math/w_log10l.c: Likewise.
57842 * math/w_log2.c: Likewise.
57843 * math/w_log2f.c: Likewise.
57844 * math/w_log2l.c: Likewise.
57845 * math/w_logf.c: Likewise.
57846 * math/w_logl.c: Likewise.
57847 * math/w_sqrt.c: Likewise.
57848 * math/w_sqrtf.c: Likewise.
57849 * math/w_sqrtl.c: Likewise.
57850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57851 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57852 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57853 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57854 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57855
57856 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57857
57858 [BZ #9739]
57859 * manual/string.texi (strnlen): Use correct parameter name in
57860 equivalent expression.
57861
57862 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57863
57864 [BZ #11174]
57865 * manual/users.texi (seteuid): Consistently use neweuid for
57866 argument name.
57867
57868 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57869
57870 [BZ #13704]
57871 * manual/nss.texi (Services in the NSS configuration): Correct
57872 list of services in example configuration file.
57873
57874 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57875
57876 [BZ #11322]
57877 * manual/arith.texi: Remove statements about negative zero
57878 behaving identically to zero.
57879
57880 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57881
57882 [BZ #5993]
57883 * manual/install.texi: Do not document upgrading from libc5.
57884
57885 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57886
57887 [BZ #4596]
57888 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57889
57890 2012-02-18 David S. Miller <davem@davemloft.net>
57891
57892 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57893 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57894 %o7 across the call.
57895 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57896 instead.
57897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57898 SETUP_PIC_REG_LEAF.
57899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57900 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57901 * sysdeps/sparc/crtn.S: Likewise.
57902
57903 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57904
57905 * aout/Makefile: Remove.
57906
57907 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57908
57909 [BZ #13058]
57910 * manual/examples/argp-ex1.c (main): Format definition in GNU
57911 style.
57912 * manual/examples/argp-ex2.c (main): Likewise.
57913 * manual/examples/argp-ex3.c (main): Likewise.
57914 * manual/examples/argp-ex4.c (main): Likewise.
57915 * manual/examples/longopt.c (main): Use new-style prototype
57916 definition.
57917 * manual/examples/strncat.c (main): Specify return type and use
57918 (void) for arguments.
57919 * manual/examples/subopt.c (main): Use char **argv argument.
57920
57921 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57922
57923 [BZ #5077]
57924 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57925 rounding modes.
57926
57927 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57928
57929 [BZ #6907]
57930 * manual/string.texi (strchr): Change when strchrnul is
57931 recommended.
57932
57933 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57934
57935 [BZ #174]
57936 * manual/locale.texi (setlocale): Document LOCPATH.
57937
57938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57939
57940 [BZ #10210]
57941 * manual/process.texi (execle): Move @dots{} before last argument.
57942
57943 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57944
57945 [BZ #12047]
57946 * manual/charset.texi (Generic Charset Conversion): Fix typo
57947 (LC_TYPE -> LC_CTYPE).
57948
57949 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57950
57951 [BZ #5805]
57952 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57953 (scalbnf): Likewise.
57954 (scalbnl): Likewise.
57955 (scalbln): Likewise.
57956 (scalblnf): Likewise.
57957 (scalblnl): Likewise.
57958 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57959 (vwarnx): Likewise.
57960 (verr): Likewise.
57961 (verrx): Likewise.
57962 * manual/filesys.texi (telldir): Use braces around return type.
57963 * manual/llio.texi (mmap): Add space after comma.
57964 (mmap64): Likewise.
57965 * manual/math.texi (jn): Use @var{} on parameter names.
57966 (jnf): Likewise.
57967 (jnl): Likewise.
57968 (yn): Likewise.
57969 (ynf): Likewise.
57970 (ynl): Likewise.
57971 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57972 line.
57973 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57974 "...".
57975 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57976 (sched_get_priority_max): Likewise.
57977 * manual/signal.texi (sigvec): Add space after comma.
57978 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57979 names.
57980 (if_indextoname): Likewise.
57981 (if_freenameindex): Likewise.
57982 (sendto): Use ',' instead of '.' in prototype.
57983 * manual/startup.texi (syscall): Use @dots{} instead of literal
57984 "...".
57985 * manual/stdio.texi (__fpending): Separate initial words of
57986 paragraph from @deftypefun line.
57987 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57988 "...".
57989 (vsyslog): Use @var{} on parameter names.
57990 * manual/terminal.texi (stty): Use @var{} on parameter names.
57991 * manual/users.texi (getutmp): Use @var{} on parameter names.
57992 (getutmpx): Likewise.
57993
57994 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57995
57996 [BZ #6884]
57997 * manual/stdio.texi (fopen): Fix typos in description of
57998 ",ccs=STRING".
57999
58000 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58001
58002 [BZ #4026]
58003 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58004 get clock_id definition.
58005
58006 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58007
58008 [BZ #4822]
58009 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58010 (madvise): Cast every argument to void on its own.
58011
58012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58013
58014 [BZ #9902]
58015 * manual/startup.texi (Exit Status): Fix typo.
58016
58017 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58018
58019 [BZ #10140]
58020 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58021 * manual/examples/argp-ex2.c: Likewise.
58022 * manual/examples/argp-ex3.c: Likewise.
58023
58024 2012-02-16 Richard Henderson <rth@redhat.com>
58025
58026 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58027 * sysdeps/s390/s390-32/initfini.c: Remove.
58028 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58029 * sysdeps/s390/s390-64/initfini.c: Remove.
58030
58031 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58032
58033 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58034 compiler output for sysdeps/generic/initfini.c.
58035 * sysdeps/sh/elf/initfini.c: Remove file.
58036
58037 2012-02-16 David S. Miller <davem@davemloft.net>
58038
58039 [BZ #11494]
58040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58041
58042 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58043 * sysdeps/sparc/crti.S: New file.
58044 * sysdeps/sparc/crtn.S: New file.
58045 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58046 * sysdeps/sparc/sparc64/Makefile: Likewise.
58047
58048 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58049
58050 [BZ #3335]
58051 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58052
58053 2012-02-15 Roland McGrath <roland@hack.frob.com>
58054
58055 [BZ #4822]
58056 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58057
58058 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58059 (write, read, close): Likewise.
58060 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58061
58062 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58063
58064 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58065 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58066 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58067 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58068 <bits/signalfd.h>.
58069 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58071 bits/signalfd.h.
58072
58073 2012-02-14 Marek Polacek <polacek@redhat.com>
58074
58075 * sysdeps/x86_64/crti.S: New file.
58076 * sysdeps/x86_64/crtn.S: New file.
58077 * sysdeps/x86_64/elf/initfini.c: Remove file.
58078
58079 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58080
58081 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58082 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58083 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58084 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58085 <bits/inotify.h>.
58086 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58088 bits/inotify.h.
58089
58090 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58091
58092 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58093 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58094 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58095 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58096 <bits/eventfd.h>.
58097 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58099 bits/eventfd.h.
58100
58101 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58102
58103 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58104 __feraiseexcept instead of feraiseexcept.
58105
58106 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58107 nanosleep invocations.
58108 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58109 strings, and add error checking for a nanosleep invocations.
58110
58111 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58112
58113 Replace FSF snail mail address with URLs, as per GNU coding standards.
58114 Most of the snail mail addresses were wrong anyway, and omitting
58115 them makes the source code easier to maintain. Almost all of the
58116 changes are to license notices and to locale LC_IDENTIFICATION
58117 addresses, except for this one:
58118 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58119 not its snail mail address.
58120
58121 2012-02-09 Richard Henderson <rth@twiddle.net>
58122
58123 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58124 of kernel-features.h.
58125
58126 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58127
58128 2012-02-08 Marek Polacek <polacek@redhat.com>
58129
58130 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58131 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58132 * sysdeps/gnu/_G_config.h: Likewise.
58133 * sysdeps/generic/_G_config.h: Likewise.
58134
58135 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58136
58137 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58138 tests.
58139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58140
58141 * sysdeps/powerpc/powerpc32/crti.S: New file.
58142 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58143 * sysdeps/powerpc/powerpc64/crti.S: New file.
58144 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58145
58146 * Makeconfig (have-initfini): Don't set.
58147 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58148 * configure.in (nopic_initfini): Don't substitute.
58149 * config.h.in (HAVE_INITFINI): Don't #undef.
58150 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58151 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58152
58153 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58154
58155 Support crti.S and crtn.S provided directly by architectures.
58156 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58157 [crti.S in sysdirs] (omit-deps): Likewise.
58158 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58159 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58160 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58161 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58162 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58163 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58164 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58165 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58166 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58167 compiler output for sysdeps/generic/initfini.c.
58168 * sysdeps/i386/elf/Makefile: Remove file.
58169 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58170
58171 2012-02-07 Marek Polacek <polacek@redhat.com>
58172
58173 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58174 * sysdeps/gnu/_G_config.h: Likewise.
58175 * sysdeps/mach/hurd/_G_config.h: Likewise.
58176
58177 2012-02-07 Marek Polacek <polacek@redhat.com>
58178
58179 * math/Makefile (tests): Add tst-CMPLX2.
58180 * math/tst-CMPLX2.c: New file.
58181
58182 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58183
58184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58185
58186 * math/libm-test.inc (jn_test): Add missing L suffix.
58187
58188 2012-02-06 Marek Polacek <polacek@redhat.com>
58189
58190 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58191 * sysdeps/i386/fpu/e_powf.S: Likewise.
58192 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58193 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58194 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58195 * sysdeps/i386/fpu/e_pow.S: Likewise.
58196 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58197 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58198 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58199 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58200 * sysdeps/i386/fpu/e_log2.S: Likewise.
58201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58202 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58203 * sysdeps/i386/fpu/e_powl.S: Likewise.
58204 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58206 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58207 * sysdeps/i386/fpu/e_logl.S: Likewise.
58208 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58209 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58210 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58211 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58212 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58213 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58214 * sysdeps/i386/fpu/e_log.S: Likewise.
58215 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58217 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58218 * sysdeps/i386/fpu/e_logf.S: Likewise.
58219 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58220 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58221 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58222 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58223 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58224 * sysdeps/i386/fpu/e_log10.S: Likewise.
58225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58230 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58231 * sysdeps/i386/asm-syntax.h: Likewise.
58232 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58234 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58235 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58236 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58238 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58239 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58241 * sysdeps/powerpc/sysdep.h: Likewise.
58242 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58243 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58244
58245 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58246
58247 [BZ #411]
58248 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58249
58250 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58251
58252 * sysdeps/i386/sysdep.h: Include <features.h>.
58253 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58254 version.
58255
58256 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58257
58258 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58259 Define.
58260 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58261 LOAD_PIC_REG_STR.
58262
58263 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58264
58265 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58266 (SETUP_PIC_REG): Use GET_PC_THUNK.
58267 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58268 macro.
58269
58270 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58271
58272 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58273 for non-PIC compilation.
58274 (SETUP_PIC_REG): Add .p2align directive.
58275 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58276 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58277 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58278 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58279 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58280 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58281 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58282 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58283 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58284 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58285 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58286 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58287 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58288 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58289 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58290 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58291 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58292 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58293 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58294 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58295 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58297 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58302 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58303 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58304 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58305 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58307 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58308 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58309 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58310 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58311 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58312 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58313 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58314 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58315 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58316
58317 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58318
58319 * math/tst-CMPLX.c: Include <stdio.h>.
58320
58321 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58322
58323 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58324 float.
58325 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58326 * sysdeps/sparc/bits/mathdef.h: Likewise.
58327
58328 2012-01-31 Marek Polacek <polacek@redhat.com>
58329
58330 * libio/libio.h: Don't define _PARAMS.
58331 * locale/programs/config.h: Don't define PARAMS.
58332 * stdlib/strtol_l.c: Likewise.
58333 (__strtol_l): Remove PARAMS from the prototype.
58334
58335 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58336
58337 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58338 names. Just use the correct names. Remove unnecessary wrapper
58339 functions.
58340 * malloc/arena.c: Likewise.
58341 * malloc/hooks.c: Likewise.
58342
58343 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58344 ARENA_TEST says not to. Simplify test for creation of a new arena.
58345 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58346
58347 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58348
58349 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58350 into tail calls.
58351 (update_get_addr): New function.
58352 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58353 GET_ADDR_MODULE parameter.
58354
58355 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58356
58357 * crypt/cert.c: Remove __STDC__ conditionals.
58358 * crypt/crypt-entry.c: Likewise.
58359 * crypt/crypt_util.c: Likewise.
58360 * libio/filedoalloc.c: Likewise.
58361 * libio/fileops.c: Likewise.
58362 * libio/genops.c: Likewise.
58363 * libio/iofclose.c: Likewise.
58364 * libio/iofdopen.c: Likewise.
58365 * libio/iofopen.c: Likewise.
58366 * libio/iofopen64.c: Likewise.
58367 * libio/iogetdelim.c: Likewise.
58368 * libio/iopopen.c: Likewise.
58369 * libio/obprintf.c: Likewise.
58370 * libio/oldfileops.c: Likewise.
58371 * libio/oldiofclose.c: Likewise.
58372 * libio/oldiofdopen.c: Likewise.
58373 * libio/oldiofopen.c: Likewise.
58374 * libio/oldiopopen.c: Likewise.
58375 * libio/wfiledoalloc.c: Likewise.
58376 * libio/wgenops.c: Likewise.
58377 * locale/programs/xmalloc.c: Likewise.
58378 * misc/syslog.c: Likewise.
58379 * stdio-common/xbug.c: Likewise.
58380 * string/memchr.c: Likewise.
58381 * string/memcmp.c: Likewise.
58382 * string/memrchr.c: Likewise.
58383 * string/rawmemchr.c: Likewise.
58384 * sysdeps/posix/getcwd.c: Likewise.
58385 * time/strftime_l.c: Likewise.
58386
58387 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58388
58389 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58390 * config.make.in (config-cflags-sse2avx): Define.
58391 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58392 Fix typo.
58393
58394 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58395
58396 * scripts/config.guess: Update from upstream config git repository.
58397 * scripts/config.sub: Likewise.
58398
58399 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58400
58401 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58402 (EM_NUM): Update.
58403 (R_TILEPRO_*, R_TILEGX_*): New macros.
58404
58405 * scripts/firstversions.awk: Fix bug in version range handling.
58406
58407 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58408
58409 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58410
58411 * include/sys/epoll.h: New file.
58412 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58413 libc_hidden_def.
58414
58415 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58416
58417 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58418 Avoid unnecessary __WORDSIZE == 64 test.
58419 (fmaxf): Use VEX format if possible.
58420 (fmax): Likewise.
58421 (fminf): Likewise.
58422 (fmin): Likewise.
58423
58424 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58425 * math/math_private.h: Remove libc_fegetround* and
58426 libc_fesetround*.
58427 * sysdeps/i386/configure.in: Check for -msse2avx.
58428 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58429 also if SSE2AVX is defined.
58430 Remove libc_fegetround* and libc_fesetround*.
58431 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58432 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58433 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58434 of HAS_YMM_USABLE.
58435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58436 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58440
58441 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58442
58443 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58444
58445 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58446 size is not set.
58447 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58448
58449 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58450
58451 [BZ #13618]
58452 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58453 relocation.
58454 * Makeconfig (libm): Define.
58455 * elf/Makefile: Add rules to build and run tst-relsort1.
58456 * elf/tst-relsort1.c: New file.
58457 * elf/tst-relsort1mod1.c: New file.
58458 * elf/tst-relsort1mod2.c: New file.
58459
58460 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58461
58462 * math/s_ldexp.c: Remove __STDC__ conditionals.
58463 * math/s_ldexpf.c: Likewise.
58464 * math/s_ldexpl.c: Likewise.
58465 * math/s_nextafter.c: Likewise.
58466 * math/s_nexttowardf.c: Likewise.
58467 * math/s_significand.c: Likewise.
58468 * math/s_significandf.c: Likewise.
58469 * math/s_significandl.c: Likewise.
58470 * math/w_jnl.c: Likewise.
58471 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58472 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58473 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58474 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58475 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58477 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58478 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58479 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58480 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58481 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58483 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58484 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58485 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58486 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58488 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58492 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58493 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58494 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58495 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58496 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58497 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58498 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58499 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58500 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58501 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58502 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58504 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58505 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58506 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58507 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58508 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58509 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58510 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58511 * sysdeps/ieee754/k_standard.c: Likewise.
58512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58513 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58514 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58515 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58516 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58517 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58518 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58519 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58520 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58521 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58524 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58525 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58526 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58527 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58528 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58529 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58530 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58531 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58534 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58535 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58536 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58537 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58538 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58541 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58543 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58545 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58546 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58547 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58548 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58549 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58551 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58552 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58554 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58555 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58557 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58559 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58560 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58561 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58562 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58565 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58566 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58567 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58568 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58569 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58570 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58571 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58572 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58573 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58574 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58575 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58576 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58577 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58578 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58579 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58580 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58581 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58582 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58583 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58584 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58585 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58586 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58587 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58588 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58589 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58590 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58591 * sysdeps/ieee754/s_matherr.c: Likewise.
58592 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58593 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58596
58597 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58598
58599 * crypt/md5.h: Remove __STDC__ conditionals.
58600 * libio/libioP.h: Likewise.
58601 * locale/programs/config.h: Likewise.
58602 * sysdeps/generic/sysdep.h: Likewise.
58603 * sysdeps/i386/asm-syntax.h: Likewise.
58604 * sysdeps/s390/asm-syntax.h: Likewise.
58605 * sysdeps/unix/sysdep.h: Likewise.
58606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58608
58609 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58610
58611 * libio/libio.h: Remove __STDC__ conditionals.
58612 * malloc/obstack.h: Likewise.
58613 * math/complex.h: Likewise.
58614 * math/math.h: Likewise.
58615 * sysdeps/generic/_G_config.h: Likewise.
58616 * sysdeps/gnu/_G_config.h: Likewise.
58617 * sysdeps/mach/hurd/_G_config.h: Likewise.
58618 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58619 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58620 * sysdeps/sparc/bits/mathdef.h: Likewise.
58621
58622 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58623
58624 [BZ #13583]
58625 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58626 Clean up HAS_* macros.
58627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58628 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58629 possible.
58630 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58631 HAS_AVX.
58632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58637
58638 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58639
58640 * elf/tst-unique3.cc (gets): Remove declaration.
58641 * elf/tst-unique3lib.cc (gets): Likewise.
58642 * elf/tst-unique3lib2.cc (gets): Likewise.
58643 * elf/tst-unique4.cc (gets): Likewise.
58644
58645 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58646
58647 * include/stdio.h: Add C++ protection. Add gets declarations and
58648 definitions.
58649 * debug/tst-chk1.c: Don't declare gets here.
58650 * stdio-common/tst-gets.c: Likewise.
58651
58652 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58653
58654 * posix/glob: Remove directory.
58655
58656 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58657
58658 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58659
58660 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58661
58662 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58663 of the non-standard EPFNOSUPPORT.
58664
58665 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58666
58667 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58668 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58669 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58670
58671 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58672
58673 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58674
58675 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58676
58677 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58678 transient errors.
58679 * nscd/grpcache.c (cache_addgr): Likewise.
58680 * nscd/hstcache.c (cache_addhst): Likewise.
58681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58682 * nscd/pwdcache.c (cache_addpw): Likewise.
58683 * nscd/servicescache.c (cache_addserv): Likewise.
58684
58685 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58686
58687 * malloc/malloc.c: Various cleanups.
58688 * malloc/hooks.c: Likewise.
58689
58690 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58691 * stdlib/bug-fmtmsg1.c: New file.
58692
58693 * stdlib/fmtmsg.c (init): Add missing unlock.
58694 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58695
58696 2012-01-12 Marek Polacek <polacek@redhat.com>
58697
58698 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58699 and _GNU_SOURCE.
58700
58701 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58702
58703 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58704 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58705 macro to ensure uniqueness of label name.
58706 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58707 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58708
58709 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58710
58711 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58712
58713 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58714 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58717
58718 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58719
58720 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58721
58722 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58723 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58724 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58725
58726 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58727
58728 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58729 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58730 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58732
58733 * math/bits/math-finite.h: Add ldexp support.
58734
58735 2012-01-10 Marek Polacek <polacek@redhat.com>
58736
58737 * locale/programs/localedef.h (show_archive_content): Add noreturn
58738 attribute.
58739
58740 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58741
58742 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58743
58744 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58745
58746 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58747
58748 * io/Makefile (headers): Add bits/poll2.h.
58749
58750 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58751
58752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58753 typo #include statement.
58754
58755 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58756
58757 * include/sys/cdefs.h: Define __attribute_alloc_size.
58758 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58759 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58760 * elf/pldd.c: Likewise.
58761 * iconv/iconv_charmap.c: Likewise.
58762 * iconv/iconvconfig.c: Likewise.
58763 * iconv/strtab.c: Likewise.
58764 * locale/programs/locale.c: Likewise.
58765 * locale/programs/localedef.h: Likewise.
58766 * locale/programs/simple-hash.c: Likewise.
58767 * nscd/nscd.h: Likewise.
58768 * nss/makedb.c: Likewise.
58769 * sysdeps/generic/ldconfig.h: Likewise.
58770 * locale/programs/localedef.c: Remove xmalloc prototype.
58771 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58772
58773 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58774
58775 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58776 appropriate.
58777
58778 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58779
58780 * math/Makefile (tests): Add tst-CMPLX.
58781 * math/tst-CMPLX.c: New file.
58782
58783 * math/complex.h (CMPLXL): Fix typo.
58784
58785 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58786 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58787 GLIBC_2.16.
58788 * debug/tst-chk1.c: Add poll and ppoll tests.
58789 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58790 * include/sys/poll.h: Add hidden proto for ppoll.
58791 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58792 * sysdeps/mach/hurd/ppoll.c: Likewise.
58793 * io/ppoll.c: Likewise.
58794 * debug/poll_chk.c: New file.
58795 * debug/ppoll_chk.c: New file.
58796 * include/bits/poll2.h: New file.
58797 * io/bits/poll2.h: New file.
58798
58799 [BZ #1350]
58800 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58801
58802 * configure.in: static is always set to yes. Remove.
58803 * config.make.in: Don't set build-static.
58804 * Makeconfig: Remove use of build-static.
58805 * dlfcn/Makefile: Likewise.
58806 * elf/Makefile: Likewise.
58807 * math/Makefile: Likewise.
58808 * misc/Makefile: Likewise.
58809 * nptl/Makefile: Likewise.
58810 * sysdeps/mach/hurd/Makefile: Likewise.
58811
58812 * configure.in: PWD_P is not used anymore.
58813 * config.make.in: Remove PWD_P entry.
58814
58815 * configure.in: Remove last remnants of RANLIB.
58816 No need to check for signed size_t anymore.
58817 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58818 and IA-64.
58819 Remove __builtin_expect test because we require at least gcc 3.4.
58820 * aclocal.m4: Likewise.
58821
58822 * wcsmbs/mbrtoc16.c: Implement using towc function.
58823 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58824 * wcsmbs/wcsmbsload.c: Likewise.
58825 * iconv/gconv_simple.c: Likewise.
58826 * iconv/gconv_int.h: Likewise.
58827 * iconv/gconv_builtin.h: Likewise.
58828 * iconv/iconv_prog.c: Remove CHAR16 handling.
58829
58830 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58831
58832 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58833
58834 * configure.in: Remove --with-elf and --enable-bounded options.
58835 Dont set base_machine for ia64. More non-ELF conditions removed.
58836 Remove testing and setting of leading underscore information.
58837 * config.make.in (build-bounded): Set to no.
58838 * config.h.in: Remove NO_UNDERSCORES entry.
58839 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58840 them.
58841 * csu/start.c: Remove !NO_UNDERSCORE code.
58842 * locale/localeinfo.h: Likewise.
58843 * sysdeps/generic/machine-gmon.h: Likewise.
58844 * sysdeps/generic/sysdep.h: Likewise.
58845 * sysdeps/i386/sysdep.h: Likewise.
58846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58847 * sysdeps/mach/sysdep.h: Likewise.
58848 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58849 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58850 * sysdeps/sh/sysdep.h: Likewise.
58851 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58852 * sysdeps/unix/i386/sysdep.S: Likewise.
58853 * sysdeps/unix/sparc/start.c: Likewise.
58854 * sysdeps/unix/sparc/sysdep.S: Likewise.
58855 * sysdeps/unix/sparc/sysdep.h: Likewise.
58856 * sysdeps/unix/start.c: Likewise.
58857 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58858 * sysdeps/x86_64/sysdep.h: Likewise.
58859
58860 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58861
58862 [BZ #13553]
58863 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58864 for non-gcc.
58865 * argp/argp-fmtstream.h: Use const instead __const.
58866 * argp/argp.h: Likewise.
58867 * assert/assert.h: Likewise.
58868 * bits/fenv.h: Likewise.
58869 * bits/sched.h: Likewise.
58870 * bits/sigset.h: Likewise.
58871 * bits/sigthread.h: Likewise.
58872 * catgets/nl_types.h: Likewise.
58873 * conform/data/pthread.h-data: Likewise.
58874 * crypt/crypt-private.h: Likewise.
58875 * crypt/crypt.h: Likewise.
58876 * crypt/crypt_util.c: Likewise.
58877 * ctype/ctype.h: Likewise.
58878 * debug/execinfo.h: Likewise.
58879 * debug/mbsnrtowcs_chk.c: Likewise.
58880 * debug/mbsrtowcs_chk.c: Likewise.
58881 * debug/wcsnrtombs_chk.c: Likewise.
58882 * debug/wcsrtombs_chk.c: Likewise.
58883 * debug/wcstombs_chk.c: Likewise.
58884 * dirent/dirent.h: Likewise.
58885 * dlfcn/dlfcn.h: Likewise.
58886 * elf/neededtest4.c: Likewise.
58887 * grp/grp.h: Likewise.
58888 * gshadow/gshadow.h: Likewise.
58889 * iconv/gconv.h: Likewise.
58890 * iconv/gconv_int.h: Likewise.
58891 * iconv/gconv_simple.c: Likewise.
58892 * iconv/iconv.h: Likewise.
58893 * iconv/loop.c: Likewise.
58894 * iconv/skeleton.c: Likewise.
58895 * include/aio.h: Likewise.
58896 * include/aliases.h: Likewise.
58897 * include/argz.h: Likewise.
58898 * include/arpa/inet.h: Likewise.
58899 * include/assert.h: Likewise.
58900 * include/dirent.h: Likewise.
58901 * include/dlfcn.h: Likewise.
58902 * include/execinfo.h: Likewise.
58903 * include/fcntl.h: Likewise.
58904 * include/fenv.h: Likewise.
58905 * include/glob.h: Likewise.
58906 * include/grp.h: Likewise.
58907 * include/libintl.h: Likewise.
58908 * include/mntent.h: Likewise.
58909 * include/netdb.h: Likewise.
58910 * include/pwd.h: Likewise.
58911 * include/rpc/netdb.h: Likewise.
58912 * include/sched.h: Likewise.
58913 * include/search.h: Likewise.
58914 * include/shadow.h: Likewise.
58915 * include/signal.h: Likewise.
58916 * include/stdio.h: Likewise.
58917 * include/stdlib.h: Likewise.
58918 * include/string.h: Likewise.
58919 * include/sys/socket.h: Likewise.
58920 * include/sys/stat.h: Likewise.
58921 * include/sys/statfs.h: Likewise.
58922 * include/sys/statvfs.h: Likewise.
58923 * include/sys/syslog.h: Likewise.
58924 * include/sys/time.h: Likewise.
58925 * include/sys/uio.h: Likewise.
58926 * include/time.h: Likewise.
58927 * include/unistd.h: Likewise.
58928 * include/utmp.h: Likewise.
58929 * include/wchar.h: Likewise.
58930 * include/wctype.h: Likewise.
58931 * inet/aliases.h: Likewise.
58932 * inet/arpa/inet.h: Likewise.
58933 * inet/netinet/ether.h: Likewise.
58934 * inet/netinet/in.h: Likewise.
58935 * intl/libintl.h: Likewise.
58936 * io/bits/fcntl2.h: Likewise.
58937 * io/fcntl.h: Likewise.
58938 * io/ftw.h: Likewise.
58939 * io/sys/poll.h: Likewise.
58940 * io/sys/stat.h: Likewise.
58941 * io/sys/statfs.h: Likewise.
58942 * io/sys/statvfs.h: Likewise.
58943 * io/utime.h: Likewise.
58944 * libio/bits/stdio.h: Likewise.
58945 * libio/bits/stdio2.h: Likewise.
58946 * libio/libio.h: Likewise.
58947 * libio/libioP.h: Likewise.
58948 * libio/stdio.h: Likewise.
58949 * locale/lc-ctype.c: Likewise.
58950 * locale/locale.h: Likewise.
58951 * login/utmp.h: Likewise.
58952 * malloc/arena.c: Likewise.
58953 * malloc/malloc.c: Likewise.
58954 * malloc/malloc.h: Likewise.
58955 * malloc/mcheck.c: Likewise.
58956 * malloc/mtrace.c: Likewise.
58957 * math/bits/mathcalls.h: Likewise.
58958 * math/fenv.h: Likewise.
58959 * math/math_private.h: Likewise.
58960 * misc/bits/error.h: Likewise.
58961 * misc/bits/syslog.h: Likewise.
58962 * misc/err.h: Likewise.
58963 * misc/error.h: Likewise.
58964 * misc/fstab.h: Likewise.
58965 * misc/mntent.h: Likewise.
58966 * misc/regexp.h: Likewise.
58967 * misc/search.h: Likewise.
58968 * misc/sgtty.h: Likewise.
58969 * misc/sys/mman.h: Likewise.
58970 * misc/sys/syslog.h: Likewise.
58971 * misc/sys/uio.h: Likewise.
58972 * misc/sys/xattr.h: Likewise.
58973 * misc/ttyent.h: Likewise.
58974 * nis/rpcsvc/ypclnt.h: Likewise.
58975 * nss/nss.h: Likewise.
58976 * posix/bits/unistd.h: Likewise.
58977 * posix/fnmatch.h: Likewise.
58978 * posix/glob.h: Likewise.
58979 * posix/sched.h: Likewise.
58980 * posix/spawn.h: Likewise.
58981 * posix/sys/wait.h: Likewise.
58982 * posix/unistd.h: Likewise.
58983 * posix/wordexp.h: Likewise.
58984 * pwd/pwd.h: Likewise.
58985 * resolv/netdb.h: Likewise.
58986 * resource/sys/resource.h: Likewise.
58987 * rt/aio.h: Likewise.
58988 * rt/bits/mqueue2.h: Likewise.
58989 * rt/mqueue.h: Likewise.
58990 * shadow/shadow.h: Likewise.
58991 * signal/signal.h: Likewise.
58992 * socket/send.c: Likewise.
58993 * socket/sendto.c: Likewise.
58994 * socket/sys/socket.h: Likewise.
58995 * stdio-common/printf.h: Likewise.
58996 * stdlib/bits/stdlib.h: Likewise.
58997 * stdlib/fmtmsg.h: Likewise.
58998 * stdlib/monetary.h: Likewise.
58999 * stdlib/stdlib.h: Likewise.
59000 * stdlib/ucontext.h: Likewise.
59001 * streams/stropts.h: Likewise.
59002 * string/argz.h: Likewise.
59003 * string/bits/string2.h: Likewise.
59004 * string/string.h: Likewise.
59005 * string/strings.h: Likewise.
59006 * sunrpc/rpc/auth.h: Likewise.
59007 * sunrpc/rpc/auth_des.h: Likewise.
59008 * sunrpc/rpc/clnt.h: Likewise.
59009 * sunrpc/rpc/netdb.h: Likewise.
59010 * sunrpc/rpc/pmap_clnt.h: Likewise.
59011 * sunrpc/rpc/xdr.h: Likewise.
59012 * sysdeps/generic/inttypes.h: Likewise.
59013 * sysdeps/generic/net/if.h: Likewise.
59014 * sysdeps/generic/sys/swap.h: Likewise.
59015 * sysdeps/gnu/net/if.h: Likewise.
59016 * sysdeps/gnu/utmpx.h: Likewise.
59017 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59018 * sysdeps/i386/i486/bits/string.h: Likewise.
59019 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59020 * sysdeps/s390/bits/string.h: Likewise.
59021 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59022 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59023 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59024 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59025 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59026 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59027 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59028 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59029 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59030 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59031 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59032 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59033 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59034 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59035 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59036 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59037 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59040 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59043 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59044 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59045 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59046 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59047 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59049 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59050 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59051 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59052 * sysvipc/sys/ipc.h: Likewise.
59053 * sysvipc/sys/msg.h: Likewise.
59054 * sysvipc/sys/sem.h: Likewise.
59055 * sysvipc/sys/shm.h: Likewise.
59056 * termios/termios.h: Likewise.
59057 * time/sys/time.h: Likewise.
59058 * time/time.h: Likewise.
59059 * wcsmbs/bits/wchar2.h: Likewise.
59060 * wcsmbs/uchar.h: Likewise.
59061 * wcsmbs/wchar.h: Likewise.
59062 * wctype/wctype.h: Likewise.
59063
59064 [BZ #13551]
59065 * Makeconfig: Remove all but ELF support including AIX support.
59066 * Makerules: Likewise.
59067 * config.h.in: Likewise.
59068 * config.make.in: Likewise.
59069 * configure: Likewise.
59070 * configure.in: Likewise.
59071 * csu/Makefile: Likewise.
59072 * csu/version.c: Likewise.
59073 * debug/Makefile: Likewise.
59074 * dlfcn/Makefile: Likewise.
59075 * elf/Makefile: Likewise.
59076 * extra-lib.mk: Likewise.
59077 * iconv/Makefile: Likewise.
59078 * include/libc-symbols.h: Likewise.
59079 * include/shlib-compat.h: Likewise.
59080 * resolv/Makefile: Likewise.
59081 * resolv/res_libc.c: Likewise.
59082 * rt/Makefile: Likewise.
59083 * sysdeps/i386/asm-syntax.h: Likewise.
59084 * sysdeps/i386/sysdep.h: Likewise.
59085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59086 * sysdeps/mach/sysdep.h: Likewise.
59087 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59088 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59089 * sysdeps/s390/asm-syntax.h: Likewise.
59090 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59092 * sysdeps/sh/sysdep.h: Likewise.
59093 * sysdeps/unix/sparc/sysdep.h: Likewise.
59094 * sysdeps/wordsize-32/divdi3.c: Likewise.
59095 * sysdeps/x86_64/sysdep.h: Likewise.
59096
59097 * argp/Versions: Remove _argp_unlock_xxx.
59098
59099 [BZ #13559]
59100 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59101 * abilist/libBrokenLocale.abilist: Likewise.
59102 * abilist/libanl.abilist: Likewise.
59103 * abilist/libc.abilist: Likewise.
59104 * abilist/libcrypt.abilist: Likewise.
59105 * abilist/libdl.abilist: Likewise.
59106 * abilist/libm.abilist: Likewise.
59107 * abilist/libnsl.abilist: Likewise.
59108 * abilist/libpthread.abilist: Likewise.
59109 * abilist/libresolv.abilist: Likewise.
59110 * abilist/librt.abilist: Likewise.
59111 * abilist/libthread_db.abilist: Likewise.
59112 * abilist/libutil.abilist: Likewise.
59113 * abilist/libnss_db.abilist: New file.
59114
59115 * scripts/abilist.awk: Add support for indirect functions.
59116
59117 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59118
59119 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59120
59121 * shlib-versions: Remove entries for ports architectures.
59122
59123 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59124 files in ports.
59125 * elf/stackguard-macros.h: Remove support for IA-64.
59126 * elf/tst-auditmod1.c: Likewise.
59127 * sysdeps/generic/ldsodefs.h: Likewise.
59128
59129 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59130 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59131 configure files.
59132
59133 [BZ #13552]
59134 * configure.in: Remove --enable-omitfp support.
59135 * FAQ.in: Adjust.
59136 * config.make.in: Likewise.
59137 * Makeconfig: Likewise.
59138 * manual/install.texi: Likewise.
59139
59140 In case anyone cares, the IA-64 architecture could move to ports.
59141 * sysdeps/ia64/*: Removed.
59142 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59143 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59144
59145 [BZ #13555]
59146 * configure.in: Remove entries for unsupported architectures.
59147
59148 [BZ #13533]
59149 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59150 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59151 routines.
59152 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59153 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59154 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59155 fall back to using wcrtomb.
59156 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59157 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59158 renaming.
59159 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59160 * wcsmbs/tst-c16c32-1.c: New file.
59161
59162 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59163 local variable.
59164
59165 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59166
59167 * elf/tst-unique3.cc: Add explicit declaration of gets.
59168 * elf/tst-unique3lib.cc: Likewise.
59169 * elf/tst-unique3lib2.cc: Likewise.
59170 * elf/tst-unique4.cc: Likewise.
59171
59172 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59173
59174 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59175
59176 [BZ #13566]
59177 * assert/assert.h (static_assert): Don't define for C++.
59178 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59179 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59180
59181 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59182
59183 * iconv/loop.c (single loop): Fix assertion in storing of
59184 remaining bytes.
59185
59186 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59187
59188 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59189
59190 * posix/getconf.c: Update copyright year.
59191 * nss/getent.c: Likewise.
59192 * nss/makedb.c: Likewise.
59193 * iconv/iconvconfig.c: Likewise.
59194 * iconv/iconv_prog.c: Likewise.
59195 * elf/ldconfig.c: Likewise.
59196 * elf/pldd.c: Likewise.
59197 * elf/sotruss.ksh: Likewise.
59198 * catgets/gencat.c: Likewise.
59199 * csu/version.c: Likewise.
59200 * elf/ldd.bash.in: Likewise.
59201 * elf/sprof.c (print_version): Likewise.
59202 * locale/programs/locale.c: Likewise.
59203 * locale/programs/localedef.c: Likewise.
59204 * login/programs/pt_chown.c: Likewise.
59205 * nscd/nscd.c (print_version): Likewise.
59206 * debug/xtrace.sh: Likewise.
59207 * malloc/memusage.sh: Likewise.
59208 * malloc/mtrace.pl: Likewise.
59209 * debug/catchsegv.sh: Likewise.
59210
59211 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59212
59213 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59214 pure attribute.
59215
59216 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59217
59218 [BZ #13533]
59219 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59220 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59221 transformations.
59222 * iconv/gconv_int.h: Likewise.
59223 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59224 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59225 from libc for GLIBC_2.16.
59226 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59227 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59228 * wcsmbs/uchar.h: Really define mbstate_t.
59229 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59230 * wcsmbs/c16rtomb.c: New file.
59231 * wcsmbs/mbrtoc16.c: New file.
59232 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59233 for C/POSIX locale.
59234 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59235 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59236
59237 * wcsmbs/wchar.h: Add missing __restrict.
59238
59239 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59240
59241 [BZ #13532]
59242 * time/Makefile (routines): Add timespec_get.
59243 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59244 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59245 timespec for ISO C11.
59246 * time/timespec_get.c: New file.
59247 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59248 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59249
59250 [BZ #13531]
59251 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59252 * stdlib/stdlib.h: Declare aligned_alloc.
59253 * Versions.def: Add GLIBC_2.16 for libc.
59254 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59255
59256 [BZ 13527]
59257 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59258 ISO C11.
59259
59260 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59261 code.
59262
59263 [BZ #13528]
59264 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59265
59266 [BZ #13529]
59267 * assert/assert.h (static_assert): Define.
59268
59269 * version.h: Update for 2.16 development version.
59270
59271 [BZ #13526]
59272 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59273 _ISOC11_SOURCE.
59274
59275 * version.h (RELEASE): Bump for 2.15 release.
59276 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59277
59278 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59279 Patch by Marek Polacek <mpolacek@redhat.com>.
59280
59281 * bits/byteswap.h: Protect long long constants with __extension__.
59282 * sysdeps/i386/bits/byteswap.h: Likewise.
59283 * sysdeps/ia64/bits/byteswap.h: Likewise.
59284 * sysdeps/s390/bits/byteswap.h: Likewise.
59285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59286
59287 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59288
59289 [BZ #13540]
59290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59291 destination buffer.
59292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59293
59294 2011-12-23 Marek Polacek <polacek@redhat.com>
59295
59296 * elf/dl-addr.c (determine_info): Add inline keyword.
59297 * elf/tst-auditmod4b.c (check_avx): Likewise.
59298 * elf/tst-auditmod6b.c (check_avx): Likewise.
59299 * elf/tst-auditmod6c.c (check_avx): Likewise.
59300 * elf/tst-auditmod7b.c (check_avx): Likewise.
59301
59302 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59303
59304 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59305 !__SSE_MATH__.
59306
59307 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59308
59309 [BZ #13540]
59310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59311 processing for last bytes.
59312
59313 2011-08-06 Bruno Haible <bruno@clisp.org>
59314
59315 [BZ #13061]
59316 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59317 U+0385, not to U+1FEE.
59318
59319 [BZ #13062]
59320 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59321 entry for U+00A5 U+0301.
59322
59323 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59324
59325 [BZ #13166]
59326 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59327 buffer for the output is too small.
59328
59329 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59330 optimization.
59331
59332 [BZ #13185]
59333 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59334 SSE flags if possible.
59335
59336 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59337
59338 [BZ #13540]
59339 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59340 processing for last bytes.
59341
59342 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59343
59344 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59345 (syscall-list-default-options, syscall-list-default-condition)
59346 (syscall-list-includes): Define.
59347 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59348 list of ABIs and options and #if conditions for each ABI. Do not
59349 handle common syscalls between ABIs specially.
59350 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59351 Remove.
59352 (syscall-list-variants, syscall-list-32bit-options)
59353 (syscall-list-32bit-condition, syscall-list-64bit-options)
59354 (syscall-list-64bit-condition): Define.
59355 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59356 (syscall-list-variants, syscall-list-32bit-options)
59357 (syscall-list-32bit-condition, syscall-list-64bit-options)
59358 (syscall-list-64bit-condition): Define.
59359 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59360 Remove.
59361 (syscall-list-variants, syscall-list-32bit-options)
59362 (syscall-list-32bit-condition, syscall-list-64bit-options)
59363 (syscall-list-64bit-condition): Define.
59364 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59365 Remove.
59366 (syscall-list-variants, syscall-list-32bit-options)
59367 (syscall-list-32bit-condition, syscall-list-64bit-options)
59368 (syscall-list-64bit-condition): Define.
59369
59370 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59371
59372 * locale/iso-639.def: Add brx entry.
59373
59374 [BZ #13328]
59375 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59376 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59377
59378 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59379 __feraiseexcept_renamed.
59380
59381 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59382
59383 [BZ #13538]
59384 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59385 EPOLLET with unsigned values.
59386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59388
59389 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59390 to large cancellation.
59391 * math/s_cacoshf.c: Likewise.
59392 * math/s_cacoshl.c: Likewise.
59393
59394 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59395
59396 [BZ #13305]
59397 [BZ #12786]
59398 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59399 * math/s_cacoshf.c: Likewise.
59400 * math/s_cacoshl.c: Likewise.
59401
59402 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59403
59404 [BZ #13439]
59405 * iconv/gconv.h: Define __GCONV_SWAP.
59406 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59407 * iconvdata/utf-16.c: Likewise.
59408 * iconvdata/utf-32.c: Likewise.
59409
59410 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59411
59412 [BZ #13524]
59413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59414 numerator after shifting it by one limb.
59415
59416 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59417
59418 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59419 under [__USE_EXTERN_INLINES].
59420
59421 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59422
59423 [BZ #13446]
59424 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59425
59426 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59427
59428 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59429 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59430 optimized code.
59431 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59432 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59433 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59434 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59435 for strncasecmp/strncasecmp_l compilation.
59436 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59437 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59438
59439 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59440
59441 [BZ #13484]
59442 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59443 of __asm__.
59444
59445 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59446
59447 [BZ #13506]
59448 * time/tzfile.c (__tzfile_read): Check values from file header.
59449
59450 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59451
59452 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59453 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59454 * powerpc/powerpc32/dl-start.S: Likewise.
59455 * powerpc/powerpc32/elf/start.S: Likewise.
59456 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59457 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59458 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59459 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59460 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59461 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59462 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59463 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59464 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59465 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59466 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59467 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59468 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59469 * powerpc/powerpc32/memset.S: Likewise.
59470 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59471 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59472 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59473 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59474 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59475 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59476 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59477 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59478 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59479 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59480 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59481 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59482 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59483
59484 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59485
59486 * math/libm-test.inc: Added more nearbyint tests.
59487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59488 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59491
59492 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59493
59494 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59495 FD_CLOEXEC.
59496
59497 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59498
59499 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59500 Add wcscpy-ssse3 wcscpy-c.
59501 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59502 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59503 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59504 * sysdeps/x86_64/wcschr.S: New file.
59505 * sysdeps/x86_64/wcsrchr.S: New file.
59506 * string/test-strcmp.c: Remove checking of wcscmp function for
59507 wrong alignments.
59508 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59509 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59510 wcsrchr-sse2 wcsrchr-c.
59511 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59512 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59513 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59514 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59515 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59516 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59517 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59518 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59519 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59520 * wcsmbc/wcschr.c (WCSCHR): New macro.
59521
59522 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59523
59524 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59525 * wcsmbs/test-wcsrchr.c: New file.
59526 * string/test-strrchr.c: Add wcsrchr support.
59527 (WIDE): New macro.
59528 * wcsmbs/test-wcscpy.c: New file.
59529 * string/test-strcpy.c: Add wcscpy support.
59530 (WIDE): New macro.
59531
59532 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59533
59534 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59535 the inner loop.
59536
59537 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59538
59539 [BZ #13472]
59540 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59541
59542 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59543
59544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59545 Minor optimizations.
59546
59547 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59548 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59549 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59550
59551 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59552
59553 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59554 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59555 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59556 for gcc to avoid warnings.
59557 * inet/Makefile (tests): Add tst-checks.
59558 * inet/tst-checks.c: New file.
59559
59560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59561 warning.
59562
59563 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59564 __wmemcmp_sse2.
59565
59566 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59567 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59568
59569 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59570
59571 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59572
59573 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59574 problem.
59575
59576 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59577
59578 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59579
59580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59581 conditional on GCC version.
59582 (__arch_compare_and_exchange_val_8_acq)
59583 (__arch_compare_and_exchange_val_16_acq)
59584 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59585 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59586 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59587
59588 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59589
59590 * sysdeps/sh/backtrace.c: New file.
59591
59592 2011-12-02 Andreas Schwab <schwab@redhat.com>
59593
59594 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59595 parenthesis.
59596
59597 2011-12-01 Andreas Schwab <schwab@redhat.com>
59598
59599 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59600 falling back to utime.
59601
59602 2011-11-30 Andreas Schwab <schwab@redhat.com>
59603
59604 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59605 expectations for float.
59606
59607 2011-11-29 Andreas Schwab <schwab@redhat.com>
59608
59609 * locale/weight.h (findidx): Add parameter len.
59610 * locale/weightwc.h (findidx): Likewise.
59611 * posix/fnmatch_loop.c (FCT): Adjust caller.
59612 * posix/regcomp.c (build_equiv_class): Likewise.
59613 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59614 * posix/regexec.c (check_node_accept_bytes): Likewise.
59615 * string/strcoll_l.c (STRCOLL): Likewise.
59616 * string/strxfrm_l.c (STRXFRM): Likewise.
59617
59618 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59619
59620 * Makefile.in: Remove CVSOPT handling.
59621 * configure.in: Remove use of AC_REVISION.
59622 * iconvdata/Makefile (distribute): No need to filter out CVS.
59623 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59624 handling.
59625
59626 2011-11-16 Andreas Schwab <schwab@redhat.com>
59627
59628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59629 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59630 [USE_AS_STRNCASECMP_L]: Likewise.
59631 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59632 NO_TLS_DIRECT_SEG_REFS.
59633 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59634 Fix argument offsets for non-PIC.
59635 [USE_AS_STRNCASECMP_L]: Likewise.
59636 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59637 NO_TLS_DIRECT_SEG_REFS.
59638
59639 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59640
59641 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59642 O_CLOEXEC.
59643 * locale/loadlocale.c (_nl_load_locale): Likewise.
59644
59645 2011-11-15 Andreas Schwab <schwab@redhat.com>
59646
59647 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59648 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59649 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59650 (SYSCALL_GETTIME): Set errno on error.
59651
59652 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59653 count references to noai6ai_cached.
59654
59655 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59656
59657 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59658
59659 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59660 FD_CLOEXEC for /proc/self/maps.
59661
59662 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59663 FD_CLOEXEC for /proc/meminfo.
59664
59665 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59666 gai.conf.
59667
59668 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59669 FD_CLOEXEC for given file.
59670
59671 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59672
59673 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59674 FD_CLOEXEC for /etc/hosts.
59675 (_gethtent): Likewise.
59676
59677 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59678
59679 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59680 cancellation and set FD_CLOEXEC for /etc/netgroup.
59681
59682 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59683 reading /etc/publickey.
59684
59685 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59686 allow cancellation when reading /etc/group.
59687
59688 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59689 cancellation.
59690 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59691
59692 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59693 when using data file.
59694
59695 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59696
59697 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59698 (write_nis_obj): Use "c" and "e" in fopen.
59699
59700 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59701
59702 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59703
59704 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59705
59706 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59707
59708 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59709 locale.alias.
59710
59711 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59712
59713 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59714
59715 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59716
59717 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59718 file parsing and set FD_CLOEXEC.
59719
59720 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59721
59722 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59723
59724 2011-11-14 Andreas Schwab <schwab@redhat.com>
59725
59726 * malloc/arena.c (arena_get2): Don't call reused_arena when
59727 _int_new_arena failed.
59728
59729 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59730
59731 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59732 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59734 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59736 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59737 to compile strcasecmp and strncasecmp.
59738 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59739 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59740
59741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59742
59743 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59744
59745 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59746 locale-defines.sym to gen-as-const-headers.
59747 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59748 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59750 to compile strcasecmp and strncasecmp.
59751 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59752 strcasecmp_l and strncasecmp_l.
59753 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59754 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59755 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59756 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59757 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59758 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59759 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59760 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59761 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59762 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59763 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59764
59765 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59766
59767 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59768 result of SYSDEP_GETTIME_CPU to retval.
59769 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59770 parameter list to macro. Remove trailing semicolon. Adjust users.
59771
59772 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59773 variable.
59774
59775 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59776 mantissa words.
59777 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59778
59779 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59780 from unused variable.
59781
59782 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59783 DWARF definitions.
59784 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59785 for assembling.
59786
59787 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59788 over namespaces.
59789
59790 * sunrpc/rpc_prot.c (rejected): Fix case value.
59791
59792 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59793 unsigned long long int to avoid warnings in shift.
59794
59795 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59796 of use of trans.
59797 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59798 variable tmp.
59799
59800 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59801 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59802 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59803
59804 * nis/nis_table.c (nis_list): Use variable of correct type for
59805 result of __follow_path call.
59806
59807 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59808
59809 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59810 of math functions ceil, trunc, floor, round, and sqrt, when
59811 avaliable on the platform.
59812 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59813 name clash.
59814 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59815 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59816 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59817
59818 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59819
59820 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59821 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59822
59823 2011-11-11 Roland McGrath <roland@hack.frob.com>
59824
59825 * include/unistd.h: Fix __readlink return type.
59826 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59827
59828 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59829
59830 * stdlib/ucontext.h: Undo last change for makecontext.
59831
59832 2011-11-11 Andreas Schwab <schwab@redhat.com>
59833
59834 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59835
59836 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59837 * setjmp/setjmp.h: Mark functions as non-leaf.
59838 * setjmp/bits/setjmp2.h: Likewise.
59839 * stdlib/ucontext.h: Likewise.
59840
59841 2011-11-10 Andreas Schwab <schwab@redhat.com>
59842
59843 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59844 (reused_arena): Don't check arena limit.
59845 (arena_get2): Atomically check arena limit.
59846
59847 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59848
59849 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59850 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59851
59852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59853 instructions.
59854
59855 2011-11-07 Andreas Schwab <schwab@redhat.com>
59856
59857 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59858 handler when locking.
59859
59860 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59861 Fix size of allocated buffer.
59862
59863 2011-11-04 Andreas Schwab <schwab@redhat.com>
59864
59865 [BZ #10103]
59866 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59867 declarations for long double functions.
59868 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59869
59870 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59871
59872 2011-11-03 Andreas Schwab <schwab@redhat.com>
59873
59874 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59875 installed.
59876
59877 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59878 is disabled.
59879
59880 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59881
59882 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59883
59884 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59885
59886 * include/alloca.h (stackinfo_alloca_round): Define.
59887 (extend_alloca): Use it.
59888 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59889 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59890 here.
59891
59892 * scripts/check-local-headers.sh: Ignore libaudit.h.
59893
59894 * nscd/Makefile (extra-objs): Make recursively expanded.
59895
59896 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59897
59898 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59900
59901 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59902 * posix/tst-rfc3484-2.c: Likewise.
59903 * posix/tst-rfc3484-3.c: Likewise.
59904
59905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59906 process_vm_writev.
59907 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59908 process_vm_writev.
59909 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59910 process_vm_writev from libc using GLIBC_2.15 version.
59911
59912 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59913
59914 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59915
59916 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59917 stack usage.
59918
59919 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59920
59921 [BZ #13367]
59922 * nss/getent.c (initgroups_keys): Show error message in case no group
59923 names are given.
59924
59925 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59926 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59927 __bump_nl_timestamp.
59928 * nscd/connections (nscd_init): When host database is served open
59929 netlink socket and request notification about configuration changes.
59930 (main_loop_poll): Track netlink file descriptor and bump timestamp
59931 in case data becomes available.
59932 (main_loop_epoll): Likewise.
59933 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59934 (database_pers_head): Add extra_data fileds.
59935 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59936 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59937 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59938 Adjust caller.
59939 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59940 in6ai data, call __free_in6ai.
59941 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59942 Add -DHAVE_NETLINK.
59943 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59944 interface information. Reuse previous data if netlink timestamp
59945 is not changed.
59946 (__bump_nl_timestamp): New function.
59947 (__free_in6ai): New function.
59948
59949 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59950
59951 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59952 close_not_cancel_no_status here.
59953 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59954
59955 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59956
59957 [BZ #13276]
59958 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59959 return value.
59960
59961 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59962 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59963 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59964
59965 2011-07-03 Andreas Jaeger <aj@suse.de>
59966
59967 [BZ #10709]
59968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59969 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59970 * math/libm-test.inc (sin_test): Add test case.
59971
59972 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59973
59974 [BZ #13337]
59975 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59976 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59977
59978 * elf/chroot_canon.c (chroot_canon): Cleanups.
59979
59980 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59981
59982 [BZ #13335]
59983 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59984 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59985
59986 * string/test-strchr.c: Make usable for strchrnul testing.
59987 * string/test-strchrnul.c: New file.
59988 * string/Makefile (strop-tests): Add strchrnul.
59989
59990 * po/it.po: Update from translation team.
59991 * po/es.po: Likewise.
59992
59993 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59994
59995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59996 the three constants needed as parameters. Drop the others.
59997 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59998 __m128i_strloadu_tolower.
59999 Create and initialize variable zero and use it in all the places
60000 where _mm_setzero_si128 was used.
60001
60002 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60003 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60004 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60005 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60006 anymore.
60007 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60008 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60009 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60010 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60011 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60012 __mpranred, __mptan.
60013 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60014 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60015 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60016 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60017 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60018 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60021 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60022
60023 2011-10-28 Andreas Schwab <schwab@redhat.com>
60024
60025 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60026 redefine if SHARED.
60027 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60028
60029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60030 wide char related routines to wcsmbs subdir.
60031
60032 2011-10-27 Andreas Schwab <schwab@redhat.com>
60033
60034 [BZ #13344]
60035 * misc/sys/cdefs.h (__THROWNL): Define.
60036 * posix/unistd.h: Use __THREADNL instead of __THREAD
60037 for memory synchronization functions.
60038
60039 2011-10-26 Roland McGrath <roland@hack.frob.com>
60040
60041 [BZ #13349]
60042 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60043 doesn't exist.
60044 * manual/stdio.texi (Obstack Streams): Node removed.
60045
60046 2011-10-26 Andreas Schwab <schwab@redhat.com>
60047
60048 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60050 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60051
60052 * math/math_private.h (math_force_eval): Allow non-addressable
60053 arguments.
60054 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60055
60056 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60057
60058 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60059 file is not needed.
60060
60061 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60062 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60068 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60069 Add AVX variants.
60070 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60071 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60072 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60073 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60074 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60075 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60076 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60077 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60078 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60079 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60080 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60081 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60083 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60084 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60085 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60086 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60087 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60088 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60089
60090 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60091 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60092
60093 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60094 place. Use VEX encoding when compiling for AVX.
60095
60096 2011-10-25 Andreas Schwab <schwab@redhat.com>
60097
60098 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60099 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60100
60101 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60102
60103 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60104
60105 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60106 useless if() expression.
60107 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60108 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60111 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60116 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60119 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60120 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60121 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60122 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60125 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60126
60127 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60128
60129 2011-10-25 Andreas Schwab <schwab@redhat.com>
60130
60131 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60132 condition.
60133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60134
60135 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60136
60137 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60138 .text section. Avoid duplicate constants.
60139 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60143 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60147 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60148 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60149 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60150 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60151 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60152 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60153 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60154 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60157 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60162 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60163 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60164 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60165 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60166 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60167 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60168 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60169 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60170 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60171 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60172 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60173 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60174 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60175 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60177 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60178 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60181 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60182 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60183 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60184
60185 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60186
60187 * sysdeps/x86_64/dla.h: Move to ...
60188 * sysdeps/x86_64/fpu/dla.h: ...here.
60189 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60190 situations. Use __builtin_fma only for gcc 4.6 and up.
60191
60192 * config.make.in: Add have-mfma4 entry.
60193 * configure.in: Substitute libc_cv_cc_fma4.
60194 * math/Makefile (dbl-only-routines): Add sincostab.
60195 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60196 Use __sincostab not sincos.
60197 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60198 name is a macro.
60199 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60201 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60203 using __copysign.
60204 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60205 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60206 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60207 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60208 and __inv.
60209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60210 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60211 __copysign.
60212 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60213 define aliases when function name is a macro.
60214 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60215 sysdeps/ieee754/dbl-64/sincos.tbl.
60216 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60217 fma4-enabled routines.
60218 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60219 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60220 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60221 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60223 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60225 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60227 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60228 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60229 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60230 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60233 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60234 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60235 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60236 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60238 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60245 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60246 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60247 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60248
60249 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60250 rename.
60251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60259
60260 2011-10-24 Andreas Schwab <schwab@redhat.com>
60261
60262 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60263
60264 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60265
60266 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60267
60268 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60269 prediction.
60270 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60271
60272 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60273 Remove unused variable magic_bits.
60274 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60275
60276 * string/strnlen.c: Define and use STRNLEN macro.
60277 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60278 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60280 * wcsmbs/wcslen.c: Define and use WCSLEN.
60281 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60282 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60283 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60284 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60285 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60286 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60287 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60288
60289 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60290
60291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60292 strnlen-sse2-no-bsf.
60293 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60295 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60296 Add strnlen support.
60297 (USE_AS_STRNLEN): New macro.
60298 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60299 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60300 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60301 * sysdeps/x86_64/wcslen.S: New file.
60302
60303 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60304
60305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60306 XMM-moves are used for copying on small sizes.
60307
60308 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60309
60310 * wcsmbs/Makefile (strop-tests): Add wcschr.
60311 * wcsmbs/test-wcschr.c: New file.
60312 * string/test-strchr.c: Update.
60313 Add wcschr support.
60314 (WIDE): New macro.
60315
60316 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60317
60318 * wcsmbs/Makefile (strop-tests): Add wcslen.
60319 * wcsmbs/test-wcslen.c: New file.
60320 * string/test-strlen.c: Update.
60321 Add wcslen support.
60322 (WIDE): New macro.
60323
60324 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60325
60326 * po/it.po: Update from translation team.
60327
60328 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60329
60330 * sysdeps/x86_64/wcscmp.S: Update.
60331 Fix wrong comparison semantics.
60332 wcscmp shall use signed comparison not unsigned.
60333 Don't use substraction to avoid overflow bug.
60334 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60335 * wcsmbc/wcscmp.c: Likewise.
60336 * string/test-strcmp.c: Likewise.
60337 Add new tests to check cases with negative values.
60338
60339 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60340
60341 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60342 * sysdeps/x86_64/dla.h: ...here. New file.
60343 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60348 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60352
60353 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60354
60355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60356 __ynl_finite aliases.
60357
60358 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60359
60360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60361
60362 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60363 define DLA_FMA.
60364 [DLA_FMA] (EMULV): Use DLA_FMA.
60365 [DLA_FMA] (MUL12): Use EMULV.
60366 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60367 that are not needed.
60368 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60375
60376 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60377
60378 * math/s_nan.c: Undef __nan.
60379 * math/s_nanf.c: Undef __nanf.
60380 * math/s_nanl.c: Undef __nanl.
60381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60382 "math_private.h".
60383
60384 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60385
60386 * math/s_catan.c: Add branch predictions.
60387 * math/s_catanf.c: Likewise.
60388 * math/s_catanh.c: Likewise.
60389 * math/s_catanhf.c: Likewise.
60390 * math/s_catanhl.c: Likewise.
60391 * math/s_catanl.c: Likewise.
60392 * math/s_cexp.c: Likewise.
60393 * math/s_cexpf.c: Likewise.
60394 * math/s_cexpl.c: Likewise.
60395 * math/s_clog.c: Likewise.
60396 * math/s_clog10.c: Likewise.
60397 * math/s_clog10f.c: Likewise.
60398 * math/s_clog10l.c: Likewise.
60399 * math/s_clogf.c: Likewise.
60400 * math/s_clogl.c: Likewise.
60401 * math/s_csqrt.c: Likewise.
60402 * math/s_csqrtf.c: Likewise.
60403 * math/s_csqrtl.c: Likewise.
60404 * math/s_ctanf.c: Likewise.
60405 * math/s_ctanh.c: Likewise.
60406 * math/s_ctanhf.c: Likewise.
60407 * math/s_ctanhl.c: Likewise.
60408 * math/s_ctanl.c: Likewise.
60409
60410 * math/math_private.h: Define __nan, __nanf, __nanl.
60411 * math/s_cacosh.c: Include <math_private.h>.
60412 * math/s_cacoshl.c: Likewise.
60413 * math/s_casinh.c: Likewise.
60414 * math/s_casinhf.c: Likewise.
60415 * math/s_casinhl.c: Likewise.
60416 * math/s_ccos.c: Rely entire on ccosh.
60417 * math/s_ccosf.c: Rely entire on ccoshf.
60418 * math/s_ccosl.c: Rely entirely on ccoshl.
60419 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60420 Remove tests for FE_INVALID.
60421 * math/s_ccoshf.c: Likewise.
60422 * math/s_ccoshl.c: Likewise.
60423 * math/s_csin.c: Likewise.
60424 * math/s_csinf.c: Likewise.
60425 * math/s_csinh.c Likewise.
60426 * math/s_csinhf.c: Likewise.
60427 * math/s_csinhl.c: Likewise.
60428 * math/s_csinl.c: Likewise.
60429 * math/s_ctan.c: Likewise.
60430 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60431 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60433
60434 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60435
60436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60437 compilation problems.
60438
60439 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60440 __builtin_expect.
60441
60442 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60443
60444 * sysdeps/i386/configure.in: Test for -mfma4 option.
60445 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60446 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60447 COMMON_CPUID_INDEX_80000001.
60448 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60449 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60450 use it if FMA3 is not supported.
60451 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60452
60453 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60454 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60455
60456 2011-10-20 Andreas Schwab <schwab@redhat.com>
60457
60458 [BZ #12892]
60459 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60460 it would create a cycle with a link time dependency.
60461
60462 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60463
60464 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60465 instruction.
60466 * string/Makefile (strop-tests): Add rawmemchr.
60467 * string/test-rawmemchr.c: New file.
60468
60469 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60471 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60472 when compiling str{,n}casecmp and when AVX is available. Hook up
60473 new optimized code in initializers.
60474
60475 2011-10-19 Andreas Schwab <schwab@redhat.com>
60476
60477 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60478 __feraiseexcept instead of feraiseexcept.
60479
60480 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60481
60482 * math/math_private.h: Define defaults for libc_fetestexcept and
60483 libc_feupdateenv.
60484 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60485 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60486 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60487 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60488 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60489 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60490 libc_fetestexcept and libc_feupdateenv.
60491
60492 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60493 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60494 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60495 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60496 libc_feholdexcept_setround.
60497
60498 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60499 Add s_nearbyint-c and s_nearbyintf-c.
60500 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60501 nearbyintf inlines.
60502 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60503 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60504 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60505 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60506
60507 * math/math_private.h: Define defaults for libc_fegetround,
60508 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60509 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60510 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60511 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60512 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60513 standard functions.
60514 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60515 Remove comments and hacks for old compiler versions.
60516 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60517 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60518 libc_feholdexceptl.
60519
60520 2011-10-18 Andreas Schwab <schwab@redhat.com>
60521
60522 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60523 (__feraiseexcept_renamed): Add __NTH.
60524 (feraiseexcept): Add __NTH. Rename local variables to fix
60525 namespace violations.
60526
60527 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60528
60529 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60530
60531 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60532
60533 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60534 recently added interfaces.
60535 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60536
60537 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60538 about macro parameter expansion.
60539
60540 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60541 __NO_MATH_INLINES is defined. Cleanups.
60542
60543 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60544 and __floorf is target has SSE4.1.
60545 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60546 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60547 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60548 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60549
60550 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60551 name.
60552 (floorf): Likewise.
60553
60554 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60555
60556 2011-10-17 Andreas Schwab <schwab@redhat.com>
60557
60558 * misc/sys/cdefs.h: Fix last change.
60559
60560 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60561 database lookup.
60562
60563 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60564
60565 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60566
60567 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60568 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60569 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60570 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60573 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60574 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60575 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60576 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60577 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60578 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60579 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60580 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60581 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60582 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60583 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60584 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60585 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60586 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60587 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60588 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60589
60590 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60591 ceil, ceilf, floor, floorf.
60592
60593 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60594 Perform IRELATIVE relocations last.
60595
60596 * elf/do-rel.h: Add another parameter nrelative, replacing the
60597 local variable with the same name. Change name of the function
60598 to end in Rel or Rela (uppercase).
60599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60600 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60601 elf_dynamic_do_##reloc function.
60602
60603 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60604
60605 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60606 is sufficient, at least on modern CPUs.
60607
60608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60609
60610 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60612
60613 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60614 __expl_finite.
60615 * math/bits/math-finite.h: Add entries for exp.
60616 * math/e_expl.c: Add __*_finite alias.
60617 * sysdeps/i386/fpu/e_exp.S: Likewise.
60618 * sysdeps/i386/fpu/e_expf.S: Likewise.
60619 * sysdeps/i386/fpu/e_expl.c: Likewise.
60620 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60621 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60624 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60625 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60626 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60627
60628 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60629 is sufficient, at least on modern CPUs.
60630
60631 * ctype/ctype-info.c (__ctype_init): Define.
60632 * include/ctype.h (__ctype_init): Declare.
60633 (__ctype_b_loc): The variable is always initialized.
60634 (__ctype_toupper_loc): Likewise.
60635 (__ctype_tolower_loc): Likewise.
60636 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60637 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60638
60639 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60640
60641 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60642
60643 * configure.in: Also look in $cxxmachine/include for C++ system
60644 headers.
60645
60646 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60647
60648 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60649 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60650 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60651 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60652 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60653 (USE_AS_WMEMCMP): New macro.
60654 Fixing indents.
60655 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60656 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60657 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60658 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60660 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60661 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60662 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60663 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60664 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60665 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60666 (USE_AS_WMEMCMP): New macro.
60667 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60668 * sysdeps/string/test-memcmp.c: Update.
60669 Fix simple_wmemcmp.
60670 Add new tests.
60671 * wcsmbs/wmemcmp.c: Update.
60672 (WMEMCMP): New macro.
60673 Fix overflow bug.
60674
60675 2011-10-12 Andreas Jaeger <aj@suse.de>
60676
60677 [BZ #13268]
60678 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60679
60680 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60681
60682 * libio/iofwide.c (do_length): Avoid warning.
60683
60684 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60685
60686 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60687
60688 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60689
60690 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60691 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60692 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60693 * sysdeps/i386/i686/fpu/e_log.S: New file.
60694 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60695 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60696
60697 * ctype/ctype.h: Add support for inlined isXXX functions when
60698 compiling C++ code.
60699
60700 2011-10-14 Andreas Schwab <schwab@redhat.com>
60701
60702 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60703
60704 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60705
60706 2011-10-13 Roland McGrath <roland@hack.frob.com>
60707
60708 [BZ #13291]
60709 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60710
60711 2011-10-13 Andreas Schwab <schwab@redhat.com>
60712
60713 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60714 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60715 feraiseexcept.
60716
60717 * sysdeps/x86_64/memrchr.S: Check for zero size.
60718
60719 * string/stratcliff.c: Add memrchr tests.
60720
60721 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60722
60723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60724 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60725 rawmemchr-sse2 rawmemchr-sse2-bsf.
60726 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60727 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60728 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60729 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60730 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60731 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60732 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60733 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60734 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60735 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60736 * string/memrchr.c (MEMRCHR): New macro.
60737
60738 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60739
60740 Add integration with gcc's -ffinite-math-only and optimize wrapper
60741 functions in libm.
60742 * Versions.def: Define GLIBC_2.15 version for libm.
60743 * math/Makefile (headers): Add bits/math-finite.h.
60744 * math/bits/math-finite.h: New file.
60745 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60746 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60747 * math/e_acoshl.c: Add __*_finite alias.
60748 * math/e_acosl.c: Likewise.
60749 * math/e_asinl.c: Likewise.
60750 * math/e_atan2l.c: Likewise.
60751 * math/e_atanhl.c: Likewise.
60752 * math/e_coshl.c: Likewise.
60753 * math/e_exp10.c: Likewise.
60754 * math/e_exp10f.c: Likewise.
60755 * math/e_exp10l.c: Likewise.
60756 * math/e_exp2l.c: Likewise.
60757 * math/e_fmodl.c: Likewise.
60758 * math/e_gammal_r.c: Likewise.
60759 * math/e_hypotl.c: Likewise.
60760 * math/e_j0l.c: Likewise.
60761 * math/e_j1l.c: Likewise.
60762 * math/e_jnl.c: Likewise.
60763 * math/e_lgammal_r.c: Likewise.
60764 * math/e_log10l.c: Likewise.
60765 * math/e_log2l.c: Likewise.
60766 * math/e_logl.c: Likewise.
60767 * math/e_powl.c: Likewise.
60768 * math/e_sinhl.c: Likewise.
60769 * math/e_sqrtl.c: Likewise.
60770 * math/e_scalb.c: Completely rewritten and optimized.
60771 * math/e_scalbf.c: Likewise.
60772 * math/e_scalbl.c: Likewise.
60773 * math/w_acos.c: Likewise.
60774 * math/w_acosf.c: Likewise.
60775 * math/w_acosl.c: Likewise.
60776 * math/w_acosh.c: Likewise.
60777 * math/w_acoshf.c: Likewise.
60778 * math/w_acoshl.c: Likewise.
60779 * math/w_asin.c: Likewise.
60780 * math/w_asinf.c: Likewise.
60781 * math/w_asinl.c: Likewise.
60782 * math/w_atan2.c: Likewise.
60783 * math/w_atan2f.c: Likewise.
60784 * math/w_atan2l.c: Likewise.
60785 * math/w_atanh.c: Likewise.
60786 * math/w_atanhf.c: Likewise.
60787 * math/w_atanhl.c: Likewise.
60788 * math/w_exp10.c: Likewise.
60789 * math/w_exp10f.c: Likewise.
60790 * math/w_exp10l.c: Likewise.
60791 * math/w_fmod.c: Likewise.
60792 * math/w_fmodf.c: Likewise.
60793 * math/w_fmodl.c: Likewise.
60794 * math/w_j0.c: Likewise.
60795 * math/w_j0f.c: Likewise.
60796 * math/w_j0l.c: Likewise.
60797 * math/w_j1.c: Likewise.
60798 * math/w_j1f.c: Likewise.
60799 * math/w_j1l.c: Likewise.
60800 * math/w_jn.c: Likewise.
60801 * math/w_jnf.c: Likewise.
60802 * math/w_log.c: Likewise.
60803 * math/w_logf.c: Likewise.
60804 * math/w_logl.c: Likewise.
60805 * math/w_log10.c: Likewise.
60806 * math/w_log10f.c: Likewise.
60807 * math/w_log10l.c: Likewise.
60808 * math/w_log2.c: Likewise.
60809 * math/w_log2f.c: Likewise.
60810 * math/w_log2l.c: Likewise.
60811 * math/w_pow.c: Likewise.
60812 * math/w_powf.c: Likewise.
60813 * math/w_powl.c: Likewise.
60814 * math/w_remainder.c: Likewise.
60815 * math/w_remainderf.c: Likewise.
60816 * math/w_remainderl.c: Likewise.
60817 * math/w_scalb.c: Likewise.
60818 * math/w_scalbf.c: Likewise.
60819 * math/w_scalbl.c: Likewise.
60820 * math/w_sqrt.c: Likewise.
60821 * math/w_sqrtf.c: Likewise.
60822 * math/w_sqrtl.c: Likewise.
60823 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60824 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60825 used.
60826 * math/math_private.h: Declare __kernel_standard_f.
60827 * math/w_cosh.c: Remove cruft and optimize a bit.
60828 * math/w_coshf.c: Likewise.
60829 * math/w_coshl.c: Likewise.
60830 * math/w_exp2.c: Likewise.
60831 * math/w_exp2f.c: Likewise.
60832 * math/w_exp2l.c: Likewise.
60833 * math/w_hypot.c: Likewise.
60834 * math/w_hypotf.c: Likewise.
60835 * math/w_hypotl.c: Likewise.
60836 * math/w_lgamma.c: Likewise.
60837 * math/w_lgamma_r.c: Likewise.
60838 * math/w_lgammaf.c: Likewise.
60839 * math/w_lgammaf_r.c: Likewise.
60840 * math/w_lgammal.c: Likewise.
60841 * math/w_lgammal_r.c: Likewise.
60842 * math/w_sinh.c: Likewise.
60843 * math/w_sinhf.c: Likewise.
60844 * math/w_sinhl.c: Likewise.
60845 * math/w_tgamma.c: Likewise.
60846 * math/w_tgammaf.c: Likewise.
60847 * math/w_tgammal.c: Likewise.
60848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60850 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60851 Minor optimizations. Pretty printing. Remove cruft.
60852 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60853 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60854 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60855 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60856 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60857 * sysdeps/i386/fpu/e_asin.S: Likewise.
60858 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60859 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60860 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60861 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60864 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60865 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60866 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60867 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60868 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60869 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60870 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60871 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60872 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60873 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60874 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60875 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60876 * sysdeps/i386/fpu/e_log.S: Likewise.
60877 * sysdeps/i386/fpu/e_log10.S: Likewise.
60878 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60880 * sysdeps/i386/fpu/e_log2.S: Likewise.
60881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60883 * sysdeps/i386/fpu/e_logf.S: Likewise.
60884 * sysdeps/i386/fpu/e_logl.S: Likewise.
60885 * sysdeps/i386/fpu/e_pow.S: Likewise.
60886 * sysdeps/i386/fpu/e_powf.S: Likewise.
60887 * sysdeps/i386/fpu/e_powl.S: Likewise.
60888 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60889 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60890 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60891 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60892 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60893 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60894 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60895 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60896 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60897 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60900 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60901 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60902 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60903 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60904 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60905 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60906 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60907 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60908 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60910 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60911 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60913 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60914 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60918 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60921 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60922 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60923 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60924 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60925 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60926 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60928 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60929 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60930 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60931 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60932 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60933 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60934 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60935 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60936 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60937 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60938 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60939 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60940 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60942 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60943 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60944 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60945 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60946 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60947 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60948 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60949 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60950 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60952 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60953 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60954 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60955 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60956 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60957 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60958 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60959 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60960 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60961 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60965 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60966 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60967 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60968 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60969 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60971 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60973 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60974 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60975 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60976 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60977 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60978 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60979 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60980 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60982 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60983 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60984 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60985 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60986 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60987 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60988 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60989 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60990 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60991 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60992 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60993 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60994 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60995 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60996 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60997 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60998 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60999 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61000 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61001 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61002 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61005 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61007 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61008 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61009 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61010 (__isnanf): Likewise.
61011 (__isinf_ns): Likewise.
61012 (__isinf_nsf): Likewise.
61013 (__finite): Likewise.
61014 (__finitef): Likewise.
61015 (__ieee754_sqrt): Define as macro.
61016 (__ieee754_sqrtf): Define as macro.
61017 (__ieee754_sqrtl): Define as macro.
61018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61019 inlined copy.
61020 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61021 __FINITE_MATH_ONLY__ consistent.
61022 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61023
61024 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61025
61026 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61027 of rawmemchr.
61028
61029 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61030
61031 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61032
61033 * po/ja.po: Update from translation team.
61034
61035 2011-10-08 Roland McGrath <roland@hack.frob.com>
61036
61037 * locale/programs/locarchive.c (prepare_address_space): New function.
61038 (create_archive, enlarge_archive, open_archive): Use it.
61039
61040 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61041 inside [SHARED], where it is used.
61042
61043 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61044
61045 * nss/getent.c (netgroup_keys): Remove unused variable.
61046 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61047
61048 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61049
61050 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61054 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61055 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61056 * math/Makefile (libm-calls): Add s_isinf_ns.
61057 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61058 * math/multc3.c: Likewise.
61059 * math/s_casin.c: Likewise.
61060 * math/s_casinf.c: Likewise.
61061 * math/s_casinl.c: Likewise.
61062 * math/s_ccos.c: Likewise.
61063 * math/s_ccosf.c: Likewise.
61064 * math/s_ccosl.c: Likewise.
61065 * math/s_ctan.c: Likewise.
61066 * math/s_ctanf.c: Likewise.
61067 * math/s_ctanh.c: Likewise.
61068 * math/s_ctanhf.c: Likewise.
61069 * math/s_ctanhl.c: Likewise.
61070 * math/s_ctanl.c: Likewise.
61071 * math/w_fmod.c: Likewise.
61072 * math/w_fmodf.c: Likewise.
61073 * math/w_fmodl.c: Likewise.
61074 * math/w_remainder.c: Likewise.
61075 * math/w_remainderf.c: Likewise.
61076 * math/w_remainderl.c: Likewise.
61077 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61078 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61081 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61082 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61083 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61084 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61085
61086 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61087 of the number.
61088 * stdio-common/printf_fphex.c: Likewise.
61089 * stdio-common/printf_size.c: Likewise.
61090
61091 * math/e_exp10.c: Include math_private.h using <...> not "...".
61092 * math/e_exp10f.c: Likewise.
61093 * math/e_exp10l.c: Likewise.
61094 * math/e_exp2l.c: Likewise.
61095 * math/e_j0l.c: Likewise.
61096 * math/e_j1l.c: Likewise.
61097 * math/e_jnl.c: Likewise.
61098 * math/e_lgammal_r.c: Likewise.
61099 * math/e_rem_pio2l.c: Likewise.
61100 * math/e_scalb.c: Likewise.
61101 * math/e_scalbf.c: Likewise.
61102 * math/e_scalbl.c: Likewise.
61103 * math/k_cosl.c: Likewise.
61104 * math/k_sinl.c: Likewise.
61105 * math/k_tanl.c: Likewise.
61106 * math/s_cacoshf.c: Likewise.
61107 * math/s_catan.c: Likewise.
61108 * math/s_catanf.c: Likewise.
61109 * math/s_catanh.c: Likewise.
61110 * math/s_catanhf.c: Likewise.
61111 * math/s_catanhl.c: Likewise.
61112 * math/s_catanl.c: Likewise.
61113 * math/s_ccosh.c: Likewise.
61114 * math/s_ccoshf.c: Likewise.
61115 * math/s_ccoshl.c: Likewise.
61116 * math/s_cexp.c: Likewise.
61117 * math/s_cexpf.c: Likewise.
61118 * math/s_cexpl.c: Likewise.
61119 * math/s_clog.c: Likewise.
61120 * math/s_clog10.c: Likewise.
61121 * math/s_clog10f.c: Likewise.
61122 * math/s_clog10l.c: Likewise.
61123 * math/s_clogf.c: Likewise.
61124 * math/s_clogl.c: Likewise.
61125 * math/s_csin.c: Likewise.
61126 * math/s_csinf.c: Likewise.
61127 * math/s_csinh.c: Likewise.
61128 * math/s_csinhf.c: Likewise.
61129 * math/s_csinhl.c: Likewise.
61130 * math/s_csinl.c: Likewise.
61131 * math/s_csqrt.c: Likewise.
61132 * math/s_csqrtf.c: Likewise.
61133 * math/s_csqrtl.c: Likewise.
61134 * math/s_ctan.c: Likewise.
61135 * math/s_ctanf.c: Likewise.
61136 * math/s_ctanh.c: Likewise.
61137 * math/s_ctanhf.c: Likewise.
61138 * math/s_ctanhl.c: Likewise.
61139 * math/s_ctanl.c: Likewise.
61140 * math/s_ldexp.c: Likewise.
61141 * math/s_ldexpf.c: Likewise.
61142 * math/s_ldexpl.c: Likewise.
61143 * math/s_significand.c: Likewise.
61144 * math/s_significandf.c: Likewise.
61145 * math/s_significandl.c: Likewise.
61146 * math/w_acos.c: Likewise.
61147 * math/w_acosf.c: Likewise.
61148 * math/w_acosh.c: Likewise.
61149 * math/w_acoshf.c: Likewise.
61150 * math/w_acoshl.c: Likewise.
61151 * math/w_acosl.c: Likewise.
61152 * math/w_asin.c: Likewise.
61153 * math/w_asinf.c: Likewise.
61154 * math/w_asinl.c: Likewise.
61155 * math/w_atan2.c: Likewise.
61156 * math/w_atan2f.c: Likewise.
61157 * math/w_atan2l.c: Likewise.
61158 * math/w_atanh.c: Likewise.
61159 * math/w_atanhf.c: Likewise.
61160 * math/w_atanhl.c: Likewise.
61161 * math/w_cosh.c: Likewise.
61162 * math/w_coshf.c: Likewise.
61163 * math/w_coshl.c: Likewise.
61164 * math/w_dremf.c: Likewise.
61165 * math/w_exp10.c: Likewise.
61166 * math/w_exp10f.c: Likewise.
61167 * math/w_exp10l.c: Likewise.
61168 * math/w_exp2.c: Likewise.
61169 * math/w_exp2f.c: Likewise.
61170 * math/w_fmod.c: Likewise.
61171 * math/w_fmodf.c: Likewise.
61172 * math/w_fmodl.c: Likewise.
61173 * math/w_hypot.c: Likewise.
61174 * math/w_hypotf.c: Likewise.
61175 * math/w_hypotl.c: Likewise.
61176 * math/w_j0.c: Likewise.
61177 * math/w_j0f.c: Likewise.
61178 * math/w_j0l.c: Likewise.
61179 * math/w_j1.c: Likewise.
61180 * math/w_j1f.c: Likewise.
61181 * math/w_j1l.c: Likewise.
61182 * math/w_jn.c: Likewise.
61183 * math/w_jnf.c: Likewise.
61184 * math/w_jnl.c: Likewise.
61185 * math/w_lgamma.c: Likewise.
61186 * math/w_lgamma_r.c: Likewise.
61187 * math/w_lgammaf.c: Likewise.
61188 * math/w_lgammaf_r.c: Likewise.
61189 * math/w_lgammal.c: Likewise.
61190 * math/w_lgammal_r.c: Likewise.
61191 * math/w_log.c: Likewise.
61192 * math/w_log10.c: Likewise.
61193 * math/w_log10f.c: Likewise.
61194 * math/w_log10l.c: Likewise.
61195 * math/w_log2.c: Likewise.
61196 * math/w_log2f.c: Likewise.
61197 * math/w_log2l.c: Likewise.
61198 * math/w_logf.c: Likewise.
61199 * math/w_logl.c: Likewise.
61200 * math/w_pow.c: Likewise.
61201 * math/w_powf.c: Likewise.
61202 * math/w_powl.c: Likewise.
61203 * math/w_remainder.c: Likewise.
61204 * math/w_remainderf.c: Likewise.
61205 * math/w_remainderl.c: Likewise.
61206 * math/w_scalb.c: Likewise.
61207 * math/w_scalbf.c: Likewise.
61208 * math/w_scalbl.c: Likewise.
61209 * math/w_sinh.c: Likewise.
61210 * math/w_sinhf.c: Likewise.
61211 * math/w_sinhl.c: Likewise.
61212 * math/w_sqrt.c: Likewise.
61213 * math/w_sqrtf.c: Likewise.
61214 * math/w_sqrtl.c: Likewise.
61215 * math/w_tgamma.c: Likewise.
61216 * math/w_tgammaf.c: Likewise.
61217 * math/w_tgammal.c: Likewise.
61218
61219 * po/ja.po: Update from translation team.
61220
61221 2011-09-29 Andreas Jaeger <aj@suse.de>
61222
61223 [BZ #13179]
61224 * sunrpc/netname.c (netname2host): Fix logic.
61225
61226 [BZ #6779]
61227 [BZ #6783]
61228 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61229 correctly.
61230 * math/w_remainder.c (__remainder): Likewise.
61231 * math/w_remainderf.c (__remainderf): Likewise.
61232 * math/libm-test.inc (remainder_test): Add test cases.
61233
61234 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61235
61236 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61237 sdiv_qrnnd.
61238
61239 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61240
61241 * string/test-memcmp.c: Avoid unncessary #defines.
61242 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61243
61244 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61245
61246 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61247 Use new sse2 version for core i3 - i7 as it's faster
61248 than sse42 version.
61249 (bit_Prefer_PMINUB_for_stringop): New.
61250 * sysdeps/x86_64/rawmemchr.S: Update.
61251 Replace with faster SSE2 version.
61252 * sysdeps/x86_64/memrchr.S: New file.
61253 * sysdeps/x86_64/memchr.S: Update.
61254 Replace with faster SSE2 version.
61255
61256 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61257
61258 * elf/dl-load.c (lose): Add cast to avoid warning.
61259
61260 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61261
61262 * po/ca.po: Update from translation team.
61263
61264 * inet/getnetgrent_r.c: Hook up nscd.
61265 * nscd/Makefile (routines): Add nscd_netgroup.
61266 (nscd-modules): Add netgroupcache.
61267 (CFLAGS-netgroupcache.c): Define.
61268 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61269 (cache_search): Add const to second parameter.
61270 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61271 INNETGR.
61272 (dbs): Add netgrdb entry.
61273 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61274 (verify_persistent_db): Handle netgrdb.
61275 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61276 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61277 GETFDNETGR.
61278 (netgroup_response_header): Define.
61279 (innetgroup_response_header): Define.
61280 (datahead): Add netgroup_response_header and innetgroup_response_header
61281 elements.
61282 * nscd/nscd.conf: Add entries for netgroup cache.
61283 * nscd/nscd.h (dbtype): Add netgrdb.
61284 (_PATH_NSCD_NETGROUP_DB): Define.
61285 (netgroup_iov_disabled): Declare.
61286 (xmalloc, xcalloc, xrealloc): Move declarations here.
61287 (cache_search): Adjust prototype.
61288 Add netgroup-related prototypes.
61289 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61290 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61291 (__nscd_innetgr): Declare.
61292 * nscd/selinux.c (perms): Use access_vector_t as element type and
61293 add netgroup-related initializers.
61294 * nscd/netgroupcache.c: New file.
61295 * nscd/nscd_netgroup.c: New file.
61296 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61297 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61298 For four parameters use innetgr.
61299 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61300 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61301 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61302 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61303
61304 * nscd/connections.c (register_traced_file): Don't register file
61305 for disabled databases.
61306
61307 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61308
61309 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61310
61311 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61312 from tree and freeing node.
61313
61314 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61315
61316 * nss/nsswitch.c (__nss_database_lookup): Handle
61317 nss_parse_service_list out of memory case.
61318
61319 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61320
61321 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61322 out of memory case.
61323
61324 2011-10-04 Andreas Schwab <schwab@redhat.com>
61325
61326 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61327 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61328 pass it down.
61329 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61330 elf_machine_rela, elf_machine_lazy_rel.
61331 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61332 (ELF_DYNAMIC_DO_REL): Likewise.
61333 (ELF_DYNAMIC_DO_RELA): Likewise.
61334 (ELF_DYNAMIC_RELOCATE): Likewise.
61335 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61336 to ELF_DYNAMIC_DO_REL.
61337 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61338 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61339 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61340 elf_machine_rela.
61341 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61342 skip_ifunc, don't call ifunc function if non-zero.
61343 (elf_machine_rela): Likewise.
61344 (elf_machine_lazy_rel): Likewise.
61345 (elf_machine_lazy_rela): Likewise.
61346 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61347 (elf_machine_lazy_rel): Likewise.
61348 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61349 Likewise.
61350 (elf_machine_lazy_rel): Likewise.
61351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61352 Likewise.
61353 (elf_machine_lazy_rel): Likewise.
61354 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61355 (elf_machine_lazy_rel): Likewise.
61356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61357 (elf_machine_lazy_rel): Likewise.
61358 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61359 (elf_machine_lazy_rel): Likewise.
61360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61361 (elf_machine_lazy_rel): Likewise.
61362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61363 (elf_machine_lazy_rel): Likewise.
61364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61365 (elf_machine_lazy_rel): Likewise.
61366
61367 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61368
61369 * nss/nss_files/files-init.c (_nss_files_init): Use static
61370 initialization for all the *_traced_file variables.
61371
61372 2011-09-28 Andreas Schwab <schwab@redhat.com>
61373
61374 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61375
61376 2011-09-27 Roland McGrath <roland@hack.frob.com>
61377
61378 [BZ #13226]
61379 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61380
61381 2011-09-27 Andreas Schwab <schwab@redhat.com>
61382
61383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61384 Reread the line before reparsing it.
61385
61386 2011-09-26 Andreas Schwab <schwab@redhat.com>
61387
61388 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61389
61390 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61391 Maxim Kuvyrkov <maxim@codesourcery.com>
61392 Joseph Myers <joseph@codesourcery.com>
61393
61394 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61395 if needed for __stack_chk_guard.
61396
61397 2011-09-19 Roland McGrath <roland@hack.frob.com>
61398
61399 * sysdeps/posix/spawni.c (script_execute): Always define it.
61400 It will be optimized away if unused.
61401 (maybe_script_execute): New function.
61402 (__spawni): Call it.
61403
61404 * Makerules: Don't include tls.make.
61405 (config-tls): Always set to thread.
61406 * tls.make.c: File removed.
61407
61408 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61409
61410 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61411 * config.make.in (CPPFLAGS-config): New substituted variable.
61412
61413 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61414
61415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61416
61417 [BZ #13192]
61418 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61419 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61420
61421 2011-09-15 Roland McGrath <roland@hack.frob.com>
61422
61423 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61424 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61426 (CALL_FAIL): Likewise.
61427 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61428 (CALL_FAIL): Macro removed.
61429 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61430
61431 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61432
61433 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61434 for __FINITE_MATH_ONLY__ == 1.
61435
61436 2011-09-15 Andreas Schwab <schwab@redhat.com>
61437
61438 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61439 __ieee754_sqrt instead of sqrt.
61440 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61441 __ieee754_sqrtf instead of sqrtf.
61442 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61443 __floorf instead of floorf.
61444 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61445 __floorf, __truncf instead of floorf, truncf.
61446
61447 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61448
61449 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61450
61451 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61452 __extern_always_inline.
61453 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61454 32-bit.
61455
61456 2011-09-14 Andreas Schwab <schwab@redhat.com>
61457
61458 * elf/rtld.c (dl_main): Also relocate in dependency order when
61459 doing symbol dependency testing.
61460
61461 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61462
61463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61464 Always define `refsym'.
61465
61466 2011-09-13 Andreas Schwab <schwab@redhat.com>
61467
61468 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61469 (__FD_ELT): Renamed from __FDELT.
61470 * misc/bits/select2.h (__FD_ELT): Likewise.
61471 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61472 __FD_MASK instead of __FDELT, __FDMASK.
61473 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61474 Likewise.
61475 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61476 Likewise.
61477
61478 * elf/Makefile (gen-ldd): Fix pattern.
61479
61480 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61481 (init_tls): Likewise.
61482
61483 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61484
61485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61486
61487 2011-09-12 Andreas Schwab <schwab@redhat.com>
61488
61489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61490 `struct cmsghdr *' instead of `void *'.
61491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61492 Likewise.
61493
61494 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61495
61496 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61497 if non-absolute.
61498 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61499 ldd_rewrite_script.
61500
61501 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61502
61503 * configure.in: Remove --with-tls option.
61504 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61505 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61506 out in case it is missing.
61507 * sysdeps/ia64/elf/configure.in: Likewise.
61508 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61509 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61510 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61511 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61512 * sysdeps/sh/elf/configure.in: Likewise.
61513 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61514 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61515 * sysdeps/x86_64/elf/configure.in: Likewise.
61516 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61517 * sysdeps/mach/hurd/tls.h: Likewise.
61518
61519 [BZ #13067]
61520 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61521
61522 [BZ #13090]
61523 * configure.in: Fix use of AC_INIT.
61524
61525 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61526
61527 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61528
61529 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61530 __set_errno.
61531 * malloc/hooks.c: Likewise.
61532
61533 [BZ #11929]
61534 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61535 variables statically.
61536 (narenas): Initialize.
61537 (list_lock): Initialize.
61538 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61539 initializtion of main_arena and list_lock. Small cleanups.
61540 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61541 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61542 Add initializers to main_arena and mp_.
61543 (malloc_state): Remove pagesize member. Change all users to use
61544 GLRO(dl_pagesize).
61545
61546 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61547 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61548 is always initialized.
61549
61550 * malloc/malloc.c: Removed unused configurations and dead code.
61551 * malloc/arena.c: Likewise.
61552 * malloc/hooks.c: Likewise.
61553 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61554
61555 * include/tls.h: Removed. USE___THREAD must always be defined.
61556 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61557 * elf/dl-libc.c: Likewise.
61558 * elf/dl-tsd.c: Likewise.
61559 * include/errno.h: Likewise.
61560 * include/netdb.h: Likewise.
61561 * include/resolv.h: Likewise.
61562 * inet/herrno-loc.c: Likewise.
61563 * inet/herrno.c: Likewise.
61564 * malloc/arena.c: Likewise.
61565 * malloc/hooks.c: Likewise.
61566 * malloc/malloc.c: Likewise.
61567 * resolv/res-state.c: Likewise.
61568 * resolv/res_libc.c: Likewise.
61569 * sysdeps/i386/dl-machine.h: Likewise.
61570 * sysdeps/ia64/dl-machine.h: Likewise.
61571 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61572 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61573 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61574 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61575 * sysdeps/sh/dl-machine.h: Likewise.
61576 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61577 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61578 * sysdeps/unix/i386/sysdep.S: Likewise.
61579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61580 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61589 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61590 * sysdeps/x86_64/dl-machine.h: Likewise.
61591 * tls.make.c: Likewise.
61592
61593 * configure.in: Remove --with-__thread option. Make tests for
61594 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61595 tls_model attribute fail if no support is available. Remove
61596 USE_IN_LIBIO.
61597 * Makeconfig: Adjust for dropped configure option. All features are
61598 now mandatory.
61599 * Makerules: Likewise.
61600 * Versions.def: Likewise.
61601 * argp/argp-fmtstream.c: Likewise.
61602 * argp/argp-fmtstream.h: Likewise.
61603 * argp/argp-help.c: Likewise.
61604 * assert/assert.c: Likewise.
61605 * config.h.in: Likewise.
61606 * config.make.in: Likewise.
61607 * configure: Likewise.
61608 * configure.in: Likewise.
61609 * csu/Versions: Likewise.
61610 * csu/init.c: Likewise.
61611 * elf/tst-audit2.c: Likewise.
61612 * elf/tst-tls10.c: Likewise.
61613 * elf/tst-tls10.h: Likewise.
61614 * elf/tst-tls11.c: Likewise.
61615 * elf/tst-tls12.c: Likewise.
61616 * elf/tst-tls14.c: Likewise.
61617 * elf/tst-tlsmod11.c: Likewise.
61618 * elf/tst-tlsmod12.c: Likewise.
61619 * elf/tst-tlsmod13.c: Likewise.
61620 * elf/tst-tlsmod13a.c: Likewise.
61621 * elf/tst-tlsmod14a.c: Likewise.
61622 * elf/tst-tlsmod15b.c: Likewise.
61623 * elf/tst-tlsmod16a.c: Likewise.
61624 * elf/tst-tlsmod16b.c: Likewise.
61625 * elf/tst-tlsmod7.c: Likewise.
61626 * elf/tst-tlsmod8.c: Likewise.
61627 * elf/tst-tlsmod9.c: Likewise.
61628 * gmon/gmon.c: Likewise.
61629 * grp/fgetgrent_r.c: Likewise.
61630 * grp/putgrent.c: Likewise.
61631 * hurd/fopenport.c: Likewise.
61632 * include/libc-symbols.h: Likewise.
61633 * include/tls.h: Likewise.
61634 * intl/gettextP.h: Likewise.
61635 * intl/loadinfo.h: Likewise.
61636 * locale/global-locale.c: Likewise.
61637 * locale/localeinfo.h: Likewise.
61638 * mach/devstream.c: Likewise.
61639 * malloc/arena.c: Likewise.
61640 * malloc/set-freeres.c: Likewise.
61641 * misc/err.c: Likewise.
61642 * misc/getttyent.c: Likewise.
61643 * misc/mntent_r.c: Likewise.
61644 * posix/getopt.c: Likewise.
61645 * posix/wordexp.c: Likewise.
61646 * pwd/fgetpwent_r.c: Likewise.
61647 * resolv/Versions: Likewise.
61648 * resolv/res_hconf.c: Likewise.
61649 * shadow/fgetspent_r.c: Likewise.
61650 * shadow/putspent.c: Likewise.
61651 * stdio-common/printf_fphex.c: Likewise.
61652 * stdio-common/tmpfile.c: Likewise.
61653 * stdlib/abort.c: Likewise.
61654 * stdlib/fmtmsg.c: Likewise.
61655 * sunrpc/auth_unix.c: Likewise.
61656 * sunrpc/clnt_perr.c: Likewise.
61657 * sunrpc/clnt_tcp.c: Likewise.
61658 * sunrpc/clnt_udp.c: Likewise.
61659 * sunrpc/clnt_unix.c: Likewise.
61660 * sunrpc/openchild.c: Likewise.
61661 * sunrpc/svc_simple.c: Likewise.
61662 * sunrpc/svc_tcp.c: Likewise.
61663 * sunrpc/svc_udp.c: Likewise.
61664 * sunrpc/svc_unix.c: Likewise.
61665 * sunrpc/xdr.c: Likewise.
61666 * sunrpc/xdr_array.c: Likewise.
61667 * sunrpc/xdr_rec.c: Likewise.
61668 * sunrpc/xdr_ref.c: Likewise.
61669 * sunrpc/xdr_stdio.c: Likewise.
61670
61671 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61672
61673 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61674
61675 2011-07-03 Andreas Jaeger <aj@suse.de>
61676
61677 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61678 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61679 regenerate with gen-libm-tests.pl.
61680
61681 2010-05-12 Petr Baudis <pasky@suse.cz>
61682
61683 [BZ #11589]
61684 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61685 around j0() zero points by switching to j1().
61686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61687 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61690
61691 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61692
61693 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61694 instead of 0.
61695 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61696 instead of 0.
61697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61698 Patch in part by Pavel Roskin <proski@gnu.org>.
61699
61700 [BZ #13138]
61701 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61702 realloc.
61703 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61704 Free memory block if necessary.
61705
61706 [BZ #12847]
61707 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61708 be NULL. Don't lock in this case.
61709
61710 2011-09-09 Roland McGrath <roland@hack.frob.com>
61711
61712 * elf/elf.h (ELFOSABI_GNU): New macro.
61713 (ELFOSABI_LINUX): Define to that.
61714
61715 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61716
61717 * string/strncat.c (strncat): Undef the symbol in case it has been
61718 defined in bits/string.h.
61719
61720 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61721
61722 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61723
61724 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61725 link map.
61726
61727 2011-08-17 Andreas Jaeger <aj@suse.de>
61728
61729 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61730
61731 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61732 Ian Lance Taylor <iant@google.com>
61733
61734 * math/libm-test.inc (lround_test): New testcase.
61735 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61736
61737 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61738
61739 * Makefile: Remove support for automatic cvs check-ins.
61740 * Makerules: Likewise.
61741 * config.make.in: Likewise.
61742 * configure.in: Likewise.
61743 * intl/Makefile: Likewise.
61744 * locale/Makefile: Likewise.
61745 * po/Makefile: Likewise.
61746 * posix/Makefile: Likewise.
61747 * sysdeps/gnu/Makefile: Likewise.
61748 * sysdeps/mach/hurd/Makefile: Likewise.
61749 * sysdeps/sparc/sparc32/Makefile: Likewise.
61750
61751 [BZ #13118]
61752 * posix/Makefile (bug-regex32-ENV): Define.
61753 Patch by John Stanley <jpsinthemix@verizon.net>.
61754
61755 * misc/Makefile (headers): Add bits/select2.h.
61756 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61757 * misc/bits/select2.h: New file.
61758 * include/bits/select2.h: New file.
61759 * debug/Makefile (routines): Add fdelt_chk.
61760 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61761 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61762 FD_ISSET.
61763 * debug/fdelt_chk.c: New file.
61764
61765 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61766 * wcsmbs/test-wmemcmp.c: Likewise.
61767 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61768 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61769
61770 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61771
61772 * string/Makefile (strop-tests): Add memcmp.
61773 * string/test-wmemcmp.c: New file.
61774 * string/test-memcmp.c: Add wmemcmp support.
61775
61776 2011-09-08 Roland McGrath <roland@hack.frob.com>
61777
61778 [BZ #13153]
61779 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61780 2011-07-19 change.
61781
61782 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61783 garbage value in a __mach_port_mod_refs call in the cases of the
61784 task-self and thread-self ports.
61785
61786 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61787
61788 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61789
61790 2011-09-08 Andreas Schwab <schwab@redhat.com>
61791
61792 * elf/dl-load.c (lose): Check for non-null L.
61793
61794 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61795
61796 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61797
61798 * elf/dl-libc.c (dlerror_run): Pass back error code from
61799 dl_catch_error.
61800
61801 [BZ #13123]
61802 * elf/dl-load.c (lose): Free l_origin if it is valid.
61803
61804 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61805 names.
61806 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61807 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61808 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61810 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61811 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61812
61813 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61814
61815 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61816 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61817 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61818 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61819 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61820 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61821 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61822 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61823 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61824 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61825
61826 2011-08-15 Alan Modra <amodra@gmail.com>
61827
61828 [BZ #13092]
61829 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61830 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61831 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61832 ppc_mcount to static-only-routines.
61833 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61834 __mcount_internal.
61835 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61836 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61837
61838 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61839
61840 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61841 for finite and infinity parameters.
61842
61843 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61844
61845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61846 and add nop instructions for throughput optimization.
61847 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61848
61849 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61850
61851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61852 aligned copy for power7 with vector-scalar instructions.
61853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61854
61855 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61856
61857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61858 AVX check.
61859
61860 2011-09-07 Andreas Schwab <schwab@redhat.com>
61861
61862 [BZ #13144]
61863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61864 last change.
61865
61866 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61867
61868 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61869 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61870 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61871 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61872 clock_gettime.
61873
61874 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61875
61876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61877 Forgot to demangle the pointer.
61878
61879 * sysdeps/i386/sysdep.h: Define atom_text_section.
61880 * sysdeps/x86_64/sysdep.h: Likewise.
61881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61882 section with atom_text_section.
61883 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61884 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61885 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61887 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61888
61889 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61890 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61891 already be defined. Change to take two parameters and don't assign
61892 result to variable. Adjust all users.
61893 Define INTERNAL_GETTIME if not already defined.
61894 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61895 call.
61896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61897 HAVE_CLOCK_GETTIME_VSYSCALL.
61898 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61899
61900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61901 gettimeofday vsyscall, just use time.
61902
61903 2011-09-06 Andreas Schwab <schwab@redhat.com>
61904
61905 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61906 <errno.h>.
61907
61908 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61909
61910 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61911 syscall on x86-64.
61912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61913 syscall.
61914 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61916 syscall if possible.
61917
61918 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61919
61920 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61921 e_ident. Don't pass to find_mapsXX.
61922 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61923
61924 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61925
61926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61927 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61928 * sysdeps/x86_64/multiarch/strchr.S: Update.
61929 Check bit_slow_BSF bit.
61930 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61932 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61933
61934 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61935
61936 [BZ #13134]
61937 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61938 before glibc 2.15.
61939 (tryshell): Define.
61940 (__spawni): Change last parameter to be flag. Test
61941 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61942 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61943 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61944 * posix/spawni.c: Likewise.
61945 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61946 * posix/spawnp.c: Likewise. Change normal version to use
61947 SPAWN_XFLAGS_USE_PATH.
61948 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61949 SPAWN_XFLAGS_TRY_SHELL.
61950
61951 [BZ #13150]
61952 * posix/glob.h: Remove gcc 1.x support.
61953
61954 [BZ #13068]
61955 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61956
61957 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61958
61959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61960 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61961 strrchr-sse2-bsf
61962 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61963 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61964 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61965 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61966 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61968
61969 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61970
61971 * sysdeps/x86_64/wcscmp.S: New file.
61972
61973 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61974 wcscmp-c wcscmp-sse2
61975 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61976 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61977 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61978 * wcsmbs/wcscmp.c: Allow renaming.
61979
61980 2011-09-05 David S. Miller <davem@davemloft.net>
61981
61982 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61983 stack slot, rather than the struct return pointer slot.
61984 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61985 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61987 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61988
61989 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61990
61991 * po/ja.po: Update from translation team.
61992
61993 [BZ #13144]
61994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61995 kernel in 64-bit binaries.
61996
61997 2011-09-01 David S. Miller <davem@davemloft.net>
61998
61999 * elf/elf.h (HWCAP_SPARC_*): Move to..
62000 * sysdeps/sparc/sysdep.h: this new file and add new values.
62001 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62002 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62003 _DL_HWCAP_COUNT to 24.
62004 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62005 entries.
62006 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62007 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62008 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62010 instead of magic constants.
62011 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62012
62013 2011-08-31 David S. Miller <davem@davemloft.net>
62014
62015 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62017 Reimplement to do errno handling inline.
62018 (SYSCALL_ERROR_HANDLER): New macro.
62019 (__SYSCALL_STRING): Do not do errno handling in asm.
62020 (__CLONE_SYSCALL_STRING): Delete.
62021 (__INTERNAL_SYSCALL_STRING): Delete.
62022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62023 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62024 (PSEUDO): Reimplement to do errno handling inline.
62025 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62026 (SYSCALL_ERROR_HANDLER): New macro.
62027 (__SYSCALL_STRING): Do not do errno handling in asm.
62028 (__CLONE_SYSCALL_STRING): Delete.
62029 (__INTERNAL_SYSCALL_STRING): Delete.
62030 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62031 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62032 i386.
62033 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62034 (inline_syscall*): Add 'err' argument.
62035 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62036 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62037 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62038 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62039
62040 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62041 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62042
62043 2011-08-30 Andreas Schwab <schwab@redhat.com>
62044
62045 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62046
62047 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62048
62049 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62050 directive.
62051
62052 2011-08-24 David S. Miller <davem@davemloft.net>
62053
62054 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62055
62056 2011-08-24 Andreas Schwab <schwab@redhat.com>
62057
62058 * elf/Makefile: Add rules to build and run unload8 test.
62059 * elf/unload8.c: New file.
62060 * elf/unload8mod1.c: New file.
62061 * elf/unload8mod1x.c: New file.
62062 * elf/unload8mod2.c: New file.
62063 * elf/unload8mod3.c: New file.
62064
62065 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62066 it wasn't used.
62067
62068 2011-08-23 David S. Miller <davem@davemloft.net>
62069
62070 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62071 subtract stack bias.
62072 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62073 %sp not %fp in calculations.
62074 (_JMPBUF_UNWINDS_ADJ): Likewise.
62075
62076 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62077 (aio_suspend): Call it to force an exception region around the
62078 AIO_MISC_WAIT() invocation.
62079
62080 2011-08-23 Andreas Schwab <schwab@redhat.com>
62081
62082 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62083 backslash.
62084
62085 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62086
62087 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62088 protection macro.
62089 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62090 and <dl-machine.h>.
62091 (Elf64_FuncDesc): Remove.
62092
62093 2011-08-22 David S. Miller <davem@davemloft.net>
62094
62095 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62096 sigaltstack check, add missing cfi directives.
62097 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62098 missing cfi directives, and sigaltstack handling.
62099
62100 2011-08-16 Andreas Schwab <schwab@redhat.com>
62101
62102 [BZ #11724]
62103 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62104 object is seen twice.
62105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62106
62107 * elf/Makefile (distribute): Add tst-initorder2.c.
62108 (tests): Add tst-initorder2.
62109 (modules-names): Add tst-initorder2a tst-initorder2b
62110 tst-initorder2c tst-initorder2d. Add rules to build them.
62111 ($(objpfx)tst-initorder2.out): New rule.
62112 * elf/tst-initorder2.c: New file.
62113 * elf/tst-initorder2.exp: New file.
62114
62115 2011-08-22 Andreas Schwab <schwab@redhat.com>
62116
62117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62118
62119 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62120 dependencies back to end of function.
62121
62122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62123 $(elfobjdir)/ld.so.
62124
62125 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62126
62127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62128 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62130 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62131 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62132 of __vdso_gettimeofday.
62133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62134 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62135 attribute_hidden.
62136 (_libc_vdso_platform_setup): Remove initialization of
62137 __vdso_gettimeofday and __vdso_time.
62138
62139 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62140
62141 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62142 and fgetc_unlocked.
62143 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62144 getc_unlocked.
62145
62146 * elf/dl-open.c (add_to_global): Report additions to the global scope
62147 for LD_DEBUG=scopes.
62148 (dl_open_worker): Also print scope of newly loaded dependencies.
62149 (_dl_show_scope): Indicate if there is no scope.
62150
62151 [BZ #13114]
62152 * stdio-common/Makefile (tests): Add bug24.
62153 * stdio-common/bug24.c: New file.
62154
62155 2011-08-19 Andreas Jaeger <aj@suse.de>
62156
62157 [BZ #13114]
62158 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62159 non-existant file when using close-on-exec mode.
62160
62161 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62162
62163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62164 the very first instruction.
62165
62166 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62167 the CFI state in the end.
62168 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62169 inclusion of dl-trampoline.h.
62170 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62171
62172 2011-08-19 Andreas Schwab <schwab@redhat.com>
62173
62174 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62175 expectations for long double.
62176
62177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62178 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62179
62180 2011-08-14 David S. Miller <davem@davemloft.net>
62181
62182 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62183 artificual limit depends upon the system page size.
62184
62185 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62186
62187 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62188 * resolv/Makefile: Define CFLAGS-libresolv.
62189
62190 2011-08-17 Andreas Schwab <schwab@redhat.com>
62191
62192 * nss/makedb.c (compute_tables): Make variables used in nested
62193 function static.
62194
62195 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62196
62197 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62198 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62199 if buffer was too small.
62200
62201 * elf/pldd.c (main): Attach to all threads in the process.
62202 Rewrite /proc handling to use *at functions.
62203
62204 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62205
62206 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62207 specifies first scope to show.
62208 (dl_open_worker): Update callers. Move printing scope of new
62209 object to before the relocation.
62210 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62211 * sysdeps/generic/ldsodefs.h: Update declaration.
62212
62213 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62214 string for the scope number.
62215
62216 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62217
62218 * nscd/servicescache.c (cache_addserv): Make sure written is always
62219 initialized.
62220
62221 2011-08-14 Roland McGrath <roland@hack.frob.com>
62222
62223 * sysdeps/i386/i486/bits/atomic.h
62224 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62225 statement expression, so as to suppress "set but not used" warning.
62226 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62227
62228 * string/strncat.c (STRNCAT): Use prototype definition.
62229
62230 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62231 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62232 -Iprograms here.
62233 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62234 (localedef-modules): Add localedef.
62235 (locale-modules): Add locale.
62236
62237 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62238 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62239 to avoid a warning.
62240
62241 2011-08-14 David S. Miller <davem@davemloft.net>
62242
62243 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62244 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62245
62246 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62247
62248 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62249 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62250 * elf/rtld.c (dl_main): Set l_name of vDSO.
62251 Call _dl_show_scope when DL_DEBUG_SCOPES.
62252 (process_dl_debug): Recognize scopes flag and also set it for all.
62253 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62254 Declare _dl_show_scope.
62255
62256 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62257 (do_dlopen): Pass caller_dlopen to dl_open.
62258 (__libc_dlopen_mode): Initialize caller_dlopen.
62259
62260 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62261 of libc. Make tolower call locale-independent. Optimize a bit by
62262 using isdigit instead of isalnum.
62263 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62264
62265 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62266
62267 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62268 was a dependency or dynamically loaded.
62269
62270 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62271
62272 * intl/l10nflist.c: Allow architecture-specific pop function.
62273 * sysdeps/x86_64/l10nflist.c: New file.
62274
62275 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62276 classification.
62277
62278 2011-08-10 Andreas Schwab <schwab@redhat.com>
62279
62280 * include/dirent.h: Add libc_hidden_proto for scandirat and
62281 scandirat64. Don't declare __scandirat64.
62282 * dirent/scandirat.c: Add libc_hidden_def.
62283 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62284 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62285
62286 2011-08-10 David S. Miller <davem@davemloft.net>
62287
62288 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62289 enum.
62290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62292 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62293
62294 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62295
62296 * Versions.def [libc]: Add GLIBC_2.15.
62297 * dirent/Makefile (routines): Add scandirat and scandirat64.
62298 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62299 GLIBC_2.15.
62300 * dirent/dirent.h: Declare scandirat and scandirat64.
62301 * dirent/scandirat.c: New file.
62302 * dirent/scandirat64.c: New file.
62303 * sysdeps/wordsize-64/scandirat.c: New file.
62304 * sysdeps/wordsize-64/scandirat64.c: New file.
62305 * dirent/opendir.c: Define opendirat.
62306 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62307 using scandirat.
62308 * dirent/scandir64.c: Adjust for scandir.c change.
62309 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62310 __scandirat64, and __scandir_cancel_handler.
62311 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62312 additional parameter and use openat instead of open (outside of ld.so).
62313 Add new __opendir as wrapper around __opendirat.
62314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62315 here without requiring old scandirat implementation.
62316
62317 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62318
62319 * dirent/scandir.c (cancel_handler): Renamed to
62320 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62321 defined. Adjust users.
62322 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62323 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62324
62325 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62326
62327 * string/test-string.h (IMPL): Use __STRING to expand name and then
62328 stringify it.
62329
62330 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62331 of cleanups.
62332
62333 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62334
62335 * string/Makefile: Update.
62336 (strop-tests): Append strncat.
62337 * string/test-wcscmp.c: New file.
62338 New comprehensive test for wcscmp.
62339 * string/test-strcmp.c: Update.
62340 (WIDE): New define.
62341
62342 2011-07-22 Andreas Schwab <schwab@redhat.com>
62343
62344 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62345 line.
62346
62347 2011-07-26 Andreas Schwab <schwab@redhat.com>
62348
62349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62350 encoding to ACE if AI_IDN.
62351
62352 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62353
62354 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62355 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62356
62357 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62358
62359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62360 Fix overflow bug in strncat.
62361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62362
62363 * string/test-strncat.c: Update.
62364 Add new tests for checking overflow bugs.
62365
62366 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62367
62368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62369 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62370 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62371 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62373 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62374 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62375 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62376 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62377
62378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62379 (USE_AS_STRCAT): Define.
62380 Add strcat and strncat support.
62381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62382
62383 2011-07-25 Andreas Schwab <schwab@redhat.com>
62384
62385 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62386 __n bigger than INT_MAX+1.
62387 (__strncmp_g): Likewise.
62388
62389 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62390
62391 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62392 * libio/stido.h: Likewise.
62393
62394 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62395 (AF_NFC): Define.
62396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62397 (AF_NFC): Define.
62398
62399 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62402 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62404
62405 [BZ #13021]
62406 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62407 installed.
62408
62409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62410 typo.
62411 (_dl_x86_64_save_sse): Likewise.
62412
62413 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62414
62415 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62416 OSXSAVE.
62417 (_dl_x86_64_save_sse): Likewise.
62418
62419 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62420
62421 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62422
62423 2011-07-21 Andreas Schwab <schwab@redhat.com>
62424
62425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62426 change.
62427 (_dl_x86_64_save_sse): Use correct AVX check.
62428
62429 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62430
62431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62432 bug in strncpy/strncat.
62433 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62434
62435 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62436
62437 * string/tester.c (test_strcat): Add tests for different alignments
62438 of source and destination.
62439 (test_strncat): Likewise.
62440
62441 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62442
62443 [BZ #12852]
62444 * posix/glob.c (glob): Check passed in values before using them in
62445 expressions to avoid some overflows.
62446 (glob_in_dir): Likewise.
62447
62448 [BZ #13007]
62449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62450 check for AVX enablement so that we don't crash with old kernels and
62451 new hardware.
62452 * elf/tst-audit4.c: Add same checks here.
62453 * elf/tst-audit6.c: Likewise.
62454
62455 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62456
62457 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62458
62459 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62460
62461 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62462
62463 * po/cs.po: Update from translation team.
62464 * po/bg.po: Likewise.
62465
62466 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62467
62468 * misc/sys/cdefs.h: Add support for const attribute.
62469 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62470 to gnu_dev_{major,minor,makedev} functions.
62471
62472 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62473
62474 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62475
62476 2011-07-20 Andreas Schwab <schwab@redhat.com>
62477
62478 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62479 strlen results.
62480
62481 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62482
62483 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62484 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62485 register in order to avoid conflicts with the soft frame pointer
62486 being held in r11 when necessary.
62487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62488 (INTERNAL_VSYSCALL_NCS): Likewise.
62489
62490 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62491
62492 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62493 * elf/dl-fini.c (_dl_fini): Adjust caller.
62494 * elf/dl-close.c (_dl_close_worker): Likewise.
62495 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62496
62497 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62498
62499 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62500 "aux_cache->nlibs < 0".
62501
62502 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62503 in the reload-count case.
62504
62505 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62506
62507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62508 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62509 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62510 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62511 * sysdeps/x86_64/multiarch/strcat.S: New file.
62512 * sysdeps/x86_64/multiarch/strncat.S: New file.
62513 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62514 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62515 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62516 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62518 (USE_AS_STRCAT): Define.
62519 Add strcat and strncat support.
62520 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62522 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62523 * string/strncat.c: Update.
62524 (USE_AS_STRNCAT): Define.
62525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62526 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62527 and i7.
62528 * sysdeps/x86_64/multiarch/init-arch.h
62529 (bit_Prefer_PMINUB_for_stringop): New.
62530 (index_Prefer_PMINUB_for_stringop): Likewise.
62531 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62532 bit_Prefer_PMINUB_for_stringop.
62533
62534 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62535
62536 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62537 buffer64.
62538 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62539 of casting of buffer.
62540 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62541 buffer32 and buffer64.
62542 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62543 writes instead of casting of buffer.
62544 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62545 buffer32.
62546 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62547 casting of buffer.
62548
62549 2011-07-19 Andreas Schwab <schwab@redhat.com>
62550
62551 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62552
62553 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62554
62555 * nscd/nscd.c (termination_handler): Don't do anything for a database
62556 if it has not yet been initialized.
62557
62558 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62559
62560 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62561
62562 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62563
62564 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62565
62566 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62567
62568 * po/nl.po: Update from translation team.
62569 * po/sv.po: Likewise.
62570
62571 2011-07-16 Roland McGrath <roland@hack.frob.com>
62572
62573 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62574 now disallowed by GCC.
62575
62576 * configure.in (use-default-link): Default to yes if a test -shared
62577 link meets our qualifications.
62578 * configure: Regenerated.
62579
62580 * config.make.in (output-format): New variable.
62581 * configure.in: Check for ld --print-output-format support.
62582 * configure: Regenerated.
62583 * Makerules ($(common-objpfx)format.lds)
62584 [$(output-format) != unknown]: Just use $(output-format),
62585 instead of the linker-script munging.
62586
62587 2011-07-14 Roland McGrath <roland@hack.frob.com>
62588
62589 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62590 of $(common-objpfx)shlib.lds.
62591 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62592
62593 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62594 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62595
62596 * configure.in (-z relro check): Adjust test code to add a large
62597 writable data section after it.
62598 * configure: Regenerated.
62599
62600 2011-07-11 Roland McGrath <roland@hack.frob.com>
62601
62602 * configure.in (-z relro check): Fix test code to make the variable
62603 truly const.
62604 * configure: Regenerated.
62605
62606 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62607
62608 * nscd/nscd.h (struct traced_file): Define.
62609 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62610 elements. Add traced_files.
62611 (inotify_fd): Declare.
62612 (register_traced_file): Declare.
62613 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62614 (inotify_fd): Export.
62615 (resolv_conf_descr): Remove.
62616 (nscd_init): Move inotify descriptor creation to main.
62617 Don't register files for notification here.
62618 (register_traced_file): New function.
62619 (invalidate_cache): Don't use reset_res to determine whether to call
62620 res_init, go through the list of registered files.
62621 (main_loop_poll): The inotify descriptors are now stored in the
62622 structures for the traced files.
62623 (main_loop_epoll): Likewise
62624 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62625 to __nss_disable_nscd.
62626 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62627 for a database anymore. Check the records for all the registered
62628 files instead.
62629 * nss/Makefile (libnss_files-routines): Add files-init.
62630 (libnss_db-routines): Add db-init.
62631 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62632 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62633 * nss/nss_db/db-init.c: New file.
62634 * nss/nss_files/files-init.c: New file.
62635 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62636 __nss_lookup_function.
62637 (__nss_lookup_function): Call nss_load_library.
62638 (nss_load_all_libraries): New function.
62639 (__nss_disable_nscd): Take parameter with callback function for files
62640 to register. Set is_nscd. Load all the DSOs for the NSS modules
62641 used for the cached services.
62642 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62643 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62644 options for features to all the files in nscd.
62645
62646 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62647
62648 2011-07-10 Roland McGrath <roland@hack.frob.com>
62649
62650 * csu/elf-init.c (__libc_csu_init): Comment typo.
62651
62652 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62653
62654 * po/pl.po: Update from translation team.
62655 * po/ja.po: Likewise.
62656 * po/ru.po: Likewise.
62657 * po/ko.po: Likewise.
62658 * po/fr.po: Likewise.
62659
62660 2011-07-09 Roland McGrath <roland@hack.frob.com>
62661
62662 * configure.in (.ctors/.dtors header and trailer check):
62663 Use an empirical test on a built program.
62664 * configure: Regenerated.
62665
62666 * configure.in (-z relro check): Use an empirical test on a built DSO.
62667 Detect, but do not require, on ia64.
62668 * configure: Regenerated.
62669
62670 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62671 Update tests that use readelf to use $READELF instead.
62672 * configure: Regenerated.
62673
62674 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62675
62676 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62677 if the result is not used.
62678
62679 2011-07-05 Andreas Jaeger <aj@suse.de>
62680
62681 [BZ#9696]
62682 * stdlib/tst-strtod.c: Add testcase.
62683
62684 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62685
62686 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62687 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62688 The latter has a higher limit. Take additional parameter to pass to
62689 the new function.
62690 (__pathconf): Pass file to __statfs_link_max.
62691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62692 __statfs_link_max.
62693 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62694 __statfs_link_max.
62695
62696 [BZ #12868]
62697 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62698 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62699 Handle Lustre.
62700 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62701 (__statfs_filesize_max): Likewise.
62702 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62703
62704 2011-07-05 Andreas Jaeger <aj@suse.de>
62705
62706 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62707
62708 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62709
62710 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62711 `status' variable.
62712 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62713 Likewise.
62714
62715 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62716
62717 * Makefile (strop-tests): Add strncat.
62718 * string/test-strncat.c: New file.
62719
62720 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62721
62722 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62723
62724 2011-06-21 Andreas Jaeger <aj@suse.de>
62725
62726 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62727 Copy rule from iconvdata/Makefile.
62728
62729 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62730
62731 [BZ #12922]
62732 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62733 but no long options are defined, just return 'W'.
62734
62735 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62736
62737 [BZ #9696]
62738 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62739
62740 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62741
62742 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62743 netgroups to read.
62744 (innetgr): Likewise.
62745
62746 2011-07-05 Roland McGrath <roland@hack.frob.com>
62747
62748 * config.make.in (install_root): Default to $(DESTDIR).
62749
62750 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62751
62752 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62753
62754 2011-07-02 Roland McGrath <roland@hack.frob.com>
62755
62756 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62757
62758 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62759 containing directory rather than embedding absolute directory names.
62760
62761 * scripts/check-local-headers.sh: Rewritten using awk.
62762 Match by word, not by line. Print error messages for matches.
62763 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62764
62765 * Makerules [shlib-lds-flags empty]:
62766 ($(common-objpfx)libc_pic.opts): New target.
62767 ($(common-objpfx)libc_pic.os.clean): New target.
62768 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62769
62770 * config.make.in (OBJCOPY): New variable.
62771 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62772 * configure: Regenerated.
62773
62774 * config.make.in (use-default-link): New variable.
62775 * configure.in (use_default_link): Grok --with-default-link to set it.
62776 * configure: Regenerated.
62777 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62778 (shlib-lds, shlib-lds-flags): Define to empty.
62779
62780 * Makerules (shlib-lds): New variable.
62781 (shlib-lds-flags): New variable.
62782 (build-shlib, build-moduile, build-module-asneeded): Use it.
62783 ($(common-objpfx)libc.so): Use $(shlib-lds).
62784 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62785 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62786
62787 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62788 DT_FLAGS/DT_FLAGS_1 with zero flags.
62789
62790 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62791 linker script munging.
62792
62793 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62794
62795 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62796 as 128-bit value.
62797 * crypt/sha512.c (sha512_process_block): Perform total addition using
62798 128-bit if possible.
62799 (__sha512_finish_ctx): Likewise.
62800 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62801 as 64-bit value.
62802 * crypt/sha256.c (SWAP64): Define.
62803 (sha256_process_block): Perform total addition using 64-bit if
62804 possible.
62805 (__sha256_finish_ctx): Likewise.
62806
62807 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62808
62809 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62811 * nscd/hstcache.c (cache_addhst): Likewise.
62812 * nscd/grpcache.c (cache_addgr): Likewise.
62813 * nscd/aicache.c (addhstaiX): Likewise
62814 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62815
62816 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62817
62818 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62819 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62820 * nscd/hstcache.c (cache_addhst): Likewise.
62821 * nscd/grpcache.c (cache_addgr): Likewise.
62822 * nscd/aicache.c (addhstaiX): Likewise
62823
62824 2011-07-01 Andreas Schwab <schwab@redhat.com>
62825
62826 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62827 domain only when needed.
62828
62829 2011-06-30 Andreas Schwab <schwab@redhat.com>
62830
62831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62832 is always restored.
62833
62834 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62835
62836 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62837 are re-adding the entry.
62838 * nscd/servicescache.c (cache_addserv): Likewise.
62839
62840 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62841
62842 * sysdeps/generic/dl-irel.h: fix protection against multiple
62843 inclusions.
62844 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62845
62846 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62847
62848 [BZ #12935]
62849 * malloc/memusage.sh: Fix quoting in message.
62850 * debug/xtrace.sh: Likewise.
62851
62852 * configure.in: Remove support for --experimental-malloc option, make
62853 it the default.
62854 * config.make.in: Likewise.
62855 * malloc/Makefile: Likewise.
62856
62857 2011-06-27 Andreas Schwab <schwab@redhat.com>
62858
62859 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62860 two-byte characters.
62861
62862 2011-06-27 Roland McGrath <roland@hack.frob.com>
62863
62864 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62865 AC_CACHE_CHECK invocation.
62866 * configure: Regenerated.
62867
62868 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62869
62870 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62871
62872 [BZ #12350]
62873 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62874 bit from old_res_options.
62875
62876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62877
62878 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62879 value type for setfct.
62880
62881 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62882
62883 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62884 __gettimeofday instead of gettimeofday.
62885
62886 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62887
62888 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62889
62890 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62891
62892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62893
62894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62895 info.
62896
62897 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62898
62899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62900 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62901 strcpy-sse2-unaligned strncpy-sse2-unaligned
62902 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62903 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62904 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62905 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62906 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62907 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62908 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62909 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62910 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62911 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62912 (STRCPY): Support SSE2 and SSSE3 versions.
62913
62914 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62915
62916 [BZ #12874]
62917 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62918 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62919 kernels which artificially limit size of requests.
62920
62921 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62922
62923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62924 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62925 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62926 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62927 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62928 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62929 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62930 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62931 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62933 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62934 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62935 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62936 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62937 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62939 Enable unaligned load optimization for Intel Core i3, i5 and i7
62940 processors.
62941 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62942 Define.
62943 (index_Fast_Unaligned_Load): Define.
62944 (HAS_FAST_UNALIGNED_LOAD): Define.
62945
62946 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62947
62948 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62949
62950 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62951
62952 [BZ #12907]
62953 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62954 until it is clear that the information is realy needed.
62955 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62956
62957 2011-06-22 Andreas Schwab <schwab@redhat.com>
62958
62959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62960
62961 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62962
62963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62964 /sys/devices/system/cpu/online if it is usable.
62965
62966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62967 reading the information from the /proc filesystem to once a second.
62968
62969 2011-06-21 Andreas Jaeger <aj@suse.de>
62970
62971 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62972 NULL after inclusion of kernel headers.
62973
62974 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62975
62976 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62977 calls to internal_setent.
62978
62979 [BZ #12885]
62980 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62981 addresses using gethostbyname4_r ignore IPv4 addresses.
62982
62983 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62984 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62985
62986 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62987
62988 2011-06-20 David S. Miller <davem@davemloft.net>
62989
62990 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62991 inclusions.
62992 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62993
62994 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62995 (elf_irel): Use it.
62996 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62997 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62998 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62999 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63000 * sysdeps/x86_64/dl-irel.h: Likewise.
63001
63002 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63003 * elf/dl-sym.c: Likewise.
63004
63005 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63006
63007 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63008 need to dereference resplen2.
63009
63010 2011-06-14 Andreas Schwab <schwab@redhat.com>
63011
63012 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63013
63014 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63015
63016 * Makeconfig: Define vardbdir and inst_vardbdir.
63017 * nss/Makefile: Add rules to install db-Makefile.
63018
63019 * nss/nss_db/db-XXX.c: Cleanup.
63020
63021 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63022 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63023 GLIBC_PRIVATE.
63024 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63025 * nss/makedb.c: Implement -g option to specify that value strings
63026 are generated and should not be added to table iterated over for
63027 get*ent calls.
63028 * nss/nss_db/db-initgroups.c: New file.
63029
63030 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63031 interface.
63032
63033 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63034 (internal_getgrouplist): Adjust to name change.
63035 Update use_initgroups_entry if this is not the first call.
63036 * nss/databases.def: Add initgroups entry.
63037
63038 * nss/makedb.c (compute_tables): Check result of multiple hash table
63039 sizes to minimize maximum chain length.
63040
63041 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63042
63043 * Versions.def: Add entry for libnss_db.
63044 * shlib-versions: Likewise.
63045 * nss/Makefile: Add rules to build libnss_db.
63046 * nss/Versions: Add libnss_db information. Organize libnss_files
63047 entries better.
63048 * nss/db-Makefile: Add gshadow support. Change rules for the new
63049 makedb progra. Some minor improvements to generate smaller files.
63050 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63051 here from...
63052 * nss/makedb.c: ...here.
63053 Improve database format to be smaller and require less memory at
63054 runtime.
63055 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63056 db anymore.
63057 * nss/nss_db/db-netgrp.c: Likewise.
63058 * nss/nss_db/db-open.c: Likewise.
63059 * nss/nss_files/flies-XXX.x: Adjust comments.
63060 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63061 * nss/nss_files/files-grp.c: Likewise.
63062 * nss/nss_files/files-hosts.c: Likewise.
63063 * nss/nss_files/files-network.c: Likewise.
63064 * nss/nss_files/files-proto.c: Likewise.
63065 * nss/nss_files/files-pwd.c: Likewise.
63066 * nss/nss_files/files-rpc.c: Likewise.
63067 * nss/nss_files/files-service.c: Likewise.
63068 * nss/nss_files/files-sgrp.c: Likewise.
63069 * nss/nss_files/files-spwd.c: Likewise.
63070 * nss/nss_db/db-alias.c: Removed.
63071 * nss/nss_db/dummy-db.h: Removed.
63072
63073 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63074
63075 * nss/makedb.c: Rewritten to not use database library.
63076 * nss/Makefile: Update to build new makedb program.
63077
63078 2011-06-14 Andreas Jaeger <aj@suse.de>
63079
63080 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63081 memset declaration.
63082
63083 2011-06-10 Andreas Schwab <schwab@redhat.com>
63084
63085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63086 tmpbuf.
63087
63088 2011-06-10 Roland McGrath <roland@hack.frob.com>
63089
63090 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63091 * elf/Makefile ($(objpfx)ld.so): Likewise.
63092
63093 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63094 Don't list ld.so twice in dependencies.
63095
63096 * posix/bug-regex31.c: Include <stdlib.h>.
63097
63098 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63099
63100 * nis/nss_compat/compat-spwd.c
63101 (getspent_next_nss_netgr): Remove unused variable.
63102 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63103
63104 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63105 nonmembers" output to use the right array.
63106
63107 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63108
63109 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63110
63111 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63112 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63113 * catgets/gencat.c (read_input_file): Likewise.
63114 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63115
63116 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63117 variable definition inside #if's controlling its use.
63118
63119 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63120
63121 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63122
63123 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63124
63125 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63126 unreachable code.
63127
63128 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63129
63130 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63131 * configure: Regenerated.
63132
63133 * Makerules: Revert last change.
63134 * elf/Makefile: Likewise.
63135
63136 2011-06-09 Roland McGrath <roland@hack.frob.com>
63137
63138 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63139 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63140 (reloc-link): Likewise.
63141
63142 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63143
63144 * elf/Makefile: Add rules to build pldd.
63145 * elf/pldd.c: New file.
63146 * elf/pldd-xx.c: New file.
63147
63148 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63149
63150 * version.h: Update for 2.15 development version.
63151
63152 2011-06-07 David S. Miller <davem@davemloft.net>
63153
63154 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63155 ifuncs.
63156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63157 elf_machine_lazy_rel): Likewise.
63158 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63160 elf_machine_lazy_rel): Likewise.
63161 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63162 dl_hwcap via passed in argument.
63163 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63164 Likewise.
63165
63166 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63167
63168 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63169
63170 2011-06-06 Roland McGrath <roland@hack.frob.com>
63171
63172 [BZ #12849]
63173 * manual/fdl-1.1.texi: New file, verbatim from:
63174 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63175 * manual/lgpl-2.1.texi: New file, verbatim from:
63176 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63177 * manual/Makefile (licenses): New variable, list those new file names.
63178 (texis): Use it.
63179 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63180
63181 * manual/fdl.texi: File removed.
63182 * manual/lesser.texi: File removed.
63183 * manual/libc.texinfo (Copying, Documentation License):
63184 Use new @include file names, put @appendix directive before @include.
63185
63186 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63187
63188 [BZ #12841]
63189 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63190 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63191 (mq_open): Add __NTH.
63192
63193 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63194
63195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63196 Assume Intel Core i3/i5/i7 processor if AVX is available.
63197
63198 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63199
63200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63201 typo.
63202
63203 2011-05-31 Andreas Schwab <schwab@redhat.com>
63204
63205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63206 memory. Use alloca_account. Fix memory leak when retrying.
63207
63208 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63209
63210 * version.h (RELEASE): Bump for 2.14 release.
63211 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63212
63213 * config.make.in (RANLIB): Remove entry.
63214
63215 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63216
63217 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63218 (libc.pot): Work around missing support for .ksh extension in xgettext.
63219
63220 [BZ #12684]
63221 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63222 if both request failed.
63223 (send_dg): In case of server errors clear resplen or *resplen2.
63224
63225 [BZ #12454]
63226 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63227 when there are multiple maps.
63228 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63229 (_dl_fini): Remove test here.
63230
63231 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63232
63233 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63234
63235 [BZ #12350]
63236 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63237 bit from old_res_options.
63238 (gaih_inet): Likewise.
63239
63240 [BZ #11099]
63241 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63242 as signed.
63243
63244 * resolv/res_init.c (res_setoptions): Make the code more compact.
63245
63246 [BZ #11558]
63247 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63248 set RES_USEVC.
63249
63250 [BZ #11634]
63251 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63252
63253 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63254
63255 [BZ #11781]
63256 * malloc/malloc.h: Declare malloc hook variables as volatile.
63257
63258 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63259 in last patch.
63260
63261 [BZ #11799]
63262 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63263 raise in the comment.
63264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63266 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63267
63268 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63269
63270 [BZ #12811]
63271 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63272 grow the buffers more if it already has to be sufficient.
63273 (build_wcs_upper_buffer): Likewise.
63274 * posix/regexec.c (check_matching): Likewise.
63275 (clean_state_log_if_needed): Likewise.
63276 (extend_buffers): Don't enlarge buffers beyond size of the input
63277 buffer.
63278 Patches mostly by Emil Wojak <emil@wojak.eu>.
63279 * posix/bug-regex32.c: New file.
63280 * posix/Makefile (tests): Add bug-regex32.
63281
63282 * locale/findlocale.c (_nl_find_locale): Return right away if
63283 _nl_explode_name failed.
63284 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63285
63286 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63287
63288 * debug/xtrace.sh: Unify messages.
63289 * malloc/memusage.sh: Likewise.
63290
63291 [BZ #12813]
63292 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63293 time symbol from vDSO. Substitute with vsyscall if not available.
63294 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63295 __vdso_time.
63296
63297 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63298 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63299 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63300 Add sendmmsg and internal_sendmmsg.
63301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63302 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63303 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63304
63305 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63306 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63307 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63308
63309 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63310
63311 [BZ #12813]
63312 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63313 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63314 available.
63315 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63316 __vdso_getcpu.
63317
63318 [BZ #12814]
63319 * iconvdata/Makefile (tests): Add bug-iconv9.
63320 * iconvdata/bug-iconv9.c: New file.
63321
63322 2011-05-27 Andreas Schwab <schwab@redhat.com>
63323
63324 [BZ #12814]
63325 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63326
63327 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63328
63329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63330 (struct user_regs_struct): Change intcs field back to cs.
63331
63332 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63333
63334 * po/ja.po: Update from translation team.
63335
63336 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63337
63338 [BZ #12795]
63339 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63340 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63341
63342 2011-05-20 Andreas Schwab <schwab@redhat.com>
63343
63344 * stdlib/longlong.h: Update from GCC.
63345
63346 2011-05-23 Andreas Schwab <schwab@redhat.com>
63347
63348 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63349 parameter name.
63350 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63351 Add parameter name.
63352 (__sysconf): Pass it down.
63353
63354 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63355
63356 [BZ #12671]
63357 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63358 some situations.
63359 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63360 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63361 add in in __libc_use_alloca calls. Adjust callers.
63362 (glob): Use malloc in some situations.
63363
63364 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63365 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63366 pltexit.
63367
63368 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63369
63370 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63371 and CLOCK_BOOTTIME_ALARM.
63372
63373 [BZ #12782]
63374 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63375 is returned.
63376
63377 * string/_strerror.c (__strerror_r): Print negative errors as signed
63378 numbers.
63379
63380 [BZ #12777]
63381 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63382 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63383 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63384
63385 * configure.in: Fix typo in redirection and correct removal of test
63386 files in two cases.
63387
63388 [BZ #12788]
63389 * locale/setlocale.c (new_composite_name): Fix test to check for
63390 identical name of all categories.
63391
63392 [BZ #12792]
63393 * libio/filedoalloc.c (local_isatty): New function.
63394 (_IO_file_doallocate): Use local_isatty.
63395 * stdio-common/perror.c (perror): In case a new stream is used
63396 forward the stream error.
63397 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63398 error flag.
63399
63400 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63401
63402 [BZ #11869]
63403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63404 alloca.
63405 * include/alloca.h (extend_alloca_account): Define.
63406
63407 [BZ #11857]
63408 * posix/regex.h: Fix comments with documentation of user-accessible
63409 fields after compilation and describe correct free'ing of pattern
63410 after re_compile_pattern.
63411 Patch by Reuben Thomas <rrt@sc3d.org>.
63412
63413 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63414
63415 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63416 and -mno-altivec to prevent the compiler from using Altivec and/or
63417 VSX instructions when the corresponding registers are not available.
63418
63419 2011-05-19 Andreas Schwab <schwab@redhat.com>
63420
63421 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63422
63423 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63424
63425 * libio/freopen.c (freopen): Use __dup2, not dup2.
63426 * libio/freopen64.c (freopen64): Likewise.
63427
63428 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63429
63430 [BZ #12775]
63431 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63432 * math/Makefile (tests): Add test-powl.
63433 (CFLAGS-test-powl.c): Define.
63434 * math/test-powl.c: New file.
63435
63436 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63437
63438 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63439
63440 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63441
63442 [BZ #11837]
63443 * iconvdata/gb18030.c: Update to GB18020-2005.
63444
63445 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63446
63447 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63448 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63449 Patch by Aharon Robbins <arnold@skeeve.com>.
63450
63451 [BZ #11892]
63452 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63453 on the stack.
63454
63455 [BZ #11895]
63456 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63457 through underflows.
63458
63459 [BZ #12766]
63460 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63461 point to strings before performing equality test for error_one_per_line
63462 mode.
63463
63464 [BZ #11697]
63465 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63466
63467 [BZ #11820]
63468 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63469 (struct user_fpregs_struct): Avoid __uint*_t types.
63470
63471 [BZ #6420]
63472 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63473 symbol info. Use it instead of calling _dl_addr locally.
63474 (lock_and_info): New function.
63475 (tr_freehook): Call lock_and_info and pass symbol info as additional
63476 parameter to tr_where.
63477 (tr_mallochook): Likewise.
63478 (tr_reallochook): Likewise.
63479 (tr_memalignhook): Likewise.
63480
63481 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63482 used and couldn't be at all thread-safe.
63483
63484 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63485
63486 * libio/freopen.c (freopen): Don't close old file descriptor
63487 before the new one is opened. Instead dup the new file descriptor
63488 to the old one after the new stream is created.
63489 * libio/freopen64.c (freopen64): Likewise.
63490 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63491 * libio/fileops.c (_IO_new_file_close_it): Handle new
63492 _IO_FLAGS2_NOCLOSE flag.
63493 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63494 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63495 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63496 _IO_FLAGS2_NOCLOSE flag.
63497 * include/unistd.h: Add hidden_proto for dup3.
63498 Define __have_dup3.
63499 * io/dup3.c: Define hidden symbol.
63500 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63501
63502 [BZ #7101]
63503 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63504 when an incomplete long option is used.
63505 * posix/tst-getopt_long1.c: New file.
63506 * posix/Makefile (tests): Add tst-getopt_long1.
63507
63508 [BZ #10138]
63509 * scripts/config.guess: Update from autoconf-2.68.
63510 * scripts/config.sub: Likewise.
63511
63512 [BZ #10157]
63513 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63514 tests into ...
63515 (has_cpuclock): ...this. New function.
63516 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63517 macro here based on has_cpuclock code.
63518
63519 [BZ #10149]
63520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63521 First byte (not low byte) is now always NUL.
63522 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63523
63524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63525 Use non-cancelable interfaces.
63526
63527 [BZ #9809]
63528 * locale/iso-639.def: Add entry for Sorani.
63529
63530 [BZ #11901]
63531 * include/stdlib.h: Move include protection to the right place.
63532 Define abort_msg_s. Declare __abort_msg with it.
63533 * stdlib/abort.c (__abort_msg): Adjust type.
63534 * assert/assert.c (__assert_fail_base): New function. Majority
63535 of code from __assert_fail. Allocate memory for __abort_msg with
63536 mmap.
63537 (__assert_fail): Now call __assert_fail_base.
63538 * assert/assert-perr.c: Remove bulk of implementation. Use
63539 __assert_fail_base.
63540 * include/assert.hL Declare __assert_fail_base.
63541 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63542 mmap.
63543 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63544
63545 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63546
63547 [BZ #11952]
63548 [BZ #12453]
63549 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63550 until all modules are registered in the DTV.
63551 * elf/Makefile: Add rules to build and run tst-tls19.
63552 * elf/tst-tls19.c: New file.
63553 * elf/tst-tls19mod1.c: New file.
63554 * elf/tst-tls19mod2.c: New file.
63555 * elf/tst-tls19mod3.c: New file.
63556 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63557
63558 [BZ #12083]
63559 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63560 correctly.
63561
63562 [BZ #12601]
63563 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63564 two-byte sequence errors.
63565 * iconvdata/Makefile (tests): Add bug-iconv8.
63566 * iconvdata/bug-iconv8.c: New file.
63567
63568 [BZ #12626]
63569 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63570 buf2 definition.
63571
63572 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63573
63574 [BZ #12432]
63575 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63576 (dummy_getcfa): New function.
63577 (init): Get _Unwind_GetCFA address, use dummy if not found.
63578 (backtrace_helper): In recursion check, also check whether CFA changes.
63579 (__backtrace): Completely initialize arg.
63580
63581 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63582 storing incomplete byte sequence in state object. Avoid testing for
63583 guaranteed too small input if we know there is enough data available.
63584
63585 2011-05-11 Andreas Schwab <schwab@redhat.com>
63586
63587 * Makeconfig (+link-pie): Indent.
63588 * Rules (binaries-pie): Define if $(have-fpie) and
63589 $(build-shared).
63590 (binaries-shared): Also filter out $(binaries-pie).
63591 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63592 * nscd/Makefile (others-pie): Add nscd.
63593 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63594 ($(objpfx)nscd): Remove command override.
63595 * login/Makefile (others-pie): Add pt_chown.
63596 ($(objpfx)pt_chown): Remove command override.
63597 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63598 remove command overrides.
63599
63600 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63601
63602 * libio/tst_putwc.c: Fix error messages.
63603
63604 [BZ #12724]
63605 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63606 currently writing and seek to current position when not.
63607 * libio/Makefile (tests): Add bug-fclose1.
63608 * libio/bug-fclose1.c: New file.
63609
63610 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63611
63612 [BZ #12511]
63613 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63614 don't set DF_1_NODELETE here.
63615 (do_lookup_x): When entering new entry test for copy relocation
63616 and if necessary set DF_1_NODELETE flag.
63617 * elf/tst-unique4.cc: New file.
63618 * elf/tst-unique4.h: New file.
63619 * elf/tst-unique4lib.cc: New file.
63620 * elf/Makefile: Add rules to build and run tst-unique4.
63621 Patch by Piotr Bury <pbury@goahead.com>.
63622
63623 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63624
63625 [BZ #12052]
63626 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63627
63628 [BZ #12625]
63629 * misc/mntent_r.c (addmntent): Flush the stream after the output
63630
63631 [BZ #12393]
63632 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63633 (is_trusted_path_normalize): Skip initial colon. Append slash
63634 to empty buffer. Duplicate is_trusted_path code but allow
63635 constructed patch to be prefix.
63636 (is_dst): Allow $ORIGIN followed by /.
63637 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63638 Correct testing of result of is_trusted_path_normalize
63639 (decompose_rpath): Fix warning.
63640
63641 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63642
63643 [BZ #11257]
63644 * grp/initgroups.c (internal_getgrouplist): When we found the service
63645 list through the initgroups entry in nsswitch.conf do not always
63646 continue on a successful lookup. Don't always use the
63647 __nss_group_database value if it is set.
63648 * nss/nsswitch.conf (initgroups): Change action for successful db
63649 lookup to continue for compatibility.
63650
63651 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63652
63653 [BZ #11532]
63654 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63655 and CP774 modules.
63656 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63657 and CP774 modules.
63658 * iconvdata/tst-tables.sh: Likewise.
63659 * iconvdata/cp770.c: New file.
63660 * iconvdata/cp771.c: New file.
63661 * iconvdata/cp772.c: New file.
63662 * iconvdata/cp773.c: New file.
63663 * iconvdata/cp774.c: New file.
63664 * iconvdata/testdata/CP770: New file.
63665 * iconvdata/testdata/CP770..UTF8: New file.
63666 * iconvdata/testdata/CP771: New file.
63667 * iconvdata/testdata/CP771..UTF8: New file.
63668 * iconvdata/testdata/CP772: New file.
63669 * iconvdata/testdata/CP772..UTF8: New file.
63670 * iconvdata/testdata/CP773: New file.
63671 * iconvdata/testdata/CP773..UTF8: New file.
63672 * iconvdata/testdata/CP774: New file.
63673 * iconvdata/testdata/CP774..UTF8: New file.
63674
63675 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63676 END CHARMAP line.
63677 * iconvdata/gen-8bit-gap.sh: Likewise.
63678 * iconvdata/gen-8bit.sh: Likewise.
63679
63680 * locale/iso-639.def: Add ary entry.
63681
63682 [BZ #11258]
63683 * locale/C-translit.h.in: Add U20A1 transliteration.
63684
63685 [BZ #12178]
63686 * locale/iso-639.def: Add wae entry.
63687 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63688
63689 [BZ #12545]
63690 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63691 for n.
63692
63693 [BZ #12711]
63694 * locale/C-translit.h.in: Add entry for U20B9.
63695 Patch by pravin.d.s@gmail.com.
63696
63697 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63698
63699 [BZ #12713]
63700 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63701 ENAMETOOLONG use generic getcwd.
63702 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63703 in rtld. Use *stat64.
63704 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63705 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63706 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63707 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63708 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63709 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63710 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63711 __fstatat64 macros.
63712 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63713 * dirent/rewinddir.c: Add libc_hidden_def.
63714 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63715 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63716
63717 * include/dirent.h (__alloc_dir): Add flags parameter.
63718 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63719 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63720 __alloc_dir.
63721 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63722 from fdopendir if O_CLOEXEC is already set.
63723
63724 2011-03-15 Alan Modra <amodra@gmail.com>
63725
63726 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63727 l_tls_firstbyte_offset non-zero. Save padding offset in
63728 l_tls_firstbyte_offset for later use.
63729 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63730 freeing static tls block.
63731
63732 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63733
63734 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63735 where #ifdef was intended. The intent is to prevent ARG_MAX from
63736 being defined by the kernel headers.
63737
63738 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63739
63740 [BZ #12734]
63741 * resolv/resolv.h: Define RES_NOTLDQUERY.
63742 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63743 no-tld-query and set RES_NOTLDQUERY.
63744 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63745 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63746 modern BIND to search name as TLD unless forbidden.
63747
63748 2011-05-07 Petr Baudis <pasky@suse.cz>
63749 Ulrich Drepper <drepper@gmail.com>
63750
63751 [BZ #12393]
63752 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63753 (is_trusted_path): ...to here.
63754 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63755 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63756 using is_trusted_path_normalize() in setuid scripts.
63757
63758 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63759
63760 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63761 __BEGIN/__END_DECLS.
63762
63763 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63764
63765 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63766 NSS_STATUS_NOTFOUND if no record was found.
63767
63768 2011-05-05 Andreas Schwab <schwab@redhat.com>
63769
63770 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63771 (headers-not-in-tirpc): Remove rpc/netdb.h
63772 * resolv/netdb.h: Revert last change.
63773
63774 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63775
63776 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63777 circular dependency between libgcc.a and libc.a.
63778
63779 2011-05-05 Andreas Schwab <schwab@redhat.com>
63780
63781 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63782 * nis/Makefile: Don't install rpcsvc/*.
63783 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63784 instead of <rpc/types.h>.
63785 (MAXHOSTNAMELEN): Define.
63786
63787 2011-05-03 Andreas Schwab <schwab@redhat.com>
63788
63789 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63790
63791 2011-04-28 Maciej Babinski <mbabinski@google.com>
63792
63793 [BZ #12714]
63794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63795 gethostbyname4_r when IPv6 results are possible.
63796
63797 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63798
63799 [BZ #12723]
63800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63801 _PC_PIPE_BUF handling.
63802
63803 2011-04-30 Bruno Haible <bruno@clisp.org>
63804
63805 [BZ #12717]
63806 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63807 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63808 to 'int'.
63809 * inet/getnameinfo.c (getnameinfo): Likewise.
63810
63811 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63812
63813 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63814 to groups setting in database lookup.
63815 * nss/nsswitch.conf: Add initgroups entry.
63816
63817 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63818
63819 [BZ #12685]
63820 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63821 mode string.
63822 Patch by Eric Blake <eblake@redhat.com>.
63823
63824 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63825
63826 * sunrpc/Makefile (need-export-routines): Add svc_run.
63827 (routines): Remove svc_run.
63828 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63829 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63830 * sunrpc/svc_run.c (svc_run): Likewise.
63831 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63832
63833 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63834
63835 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63836 problem in reallocation in last patch.
63837
63838 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63839
63840 * sunrpc/Makefile: Move inclusion of Rules.
63841
63842 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63843
63844 * nss/nss_files/files-initgroups.c: New file.
63845 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63846 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63847 _nss_files_initgroups_dyn.
63848
63849 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63850
63851 * elf/elf.h (R_ARM_IRELATIVE): Define.
63852
63853 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63854
63855 * po/ru.po: Update from translation team.
63856
63857 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63858
63859 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63860 dependencies.
63861
63862 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63863
63864 [BZ #12653]
63865 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63866 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63870
63871 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63872
63873 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63874 differing bytes.
63875 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63878
63879 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63880
63881 [BZ #12420]
63882 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63883 storing it.
63884 * stdlib/bug-getcontext.c: New file.
63885 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63886
63887 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63888
63889 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63890 instructions into .machine "z9-109".
63891 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63892 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63893
63894 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63895
63896 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63897 between environment variables and auxiliary vector.
63898
63899 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63900
63901 * Makefile: Add rules to build linkobj/libc.so.
63902 * include/libc-symbols.h: Define libc_hidden_nolink.
63903 * include/rpc/auth.h: Mark functions which are to be hidden.
63904 * include/rpc/auth_des.h: Likewise.
63905 * include/rpc/auth_unix.h: Likewise.
63906 * include/rpc/clnt.h: Likewise.
63907 * include/rpc/des_crypt.h: Likewise.
63908 * include/rpc/key_prot.h: Likewise.
63909 * include/rpc/pmap_clnt.h: Likewise.
63910 * include/rpc/pmap_prot.h: Likewise.
63911 * include/rpc/pmap_rmt.h: Likewise.
63912 * include/rpc/rpc_msg.h: Likewise.
63913 * include/rpc/svc.h: Likewise.
63914 * include/rpc/svc_auth.h: Likewise.
63915 * include/rpc/xdr.h: Likewise.
63916 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63917 * nss/Makefile: Likewise.
63918 * sunrpc/Makefile: Don't install headers. Build library with normal
63919 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63920 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63921 for the compat linking library. Remove use of INTDEF/INTUSE.
63922 * sunrpc/auth_none.c: Likewise.
63923 * sunrpc/auth_unix.c: Likewise.
63924 * sunrpc/authdes_prot.c: Likewise.
63925 * sunrpc/authuxprot.c: Likewise.
63926 * sunrpc/clnt_gen.c: Likewise.
63927 * sunrpc/clnt_perr.c: Likewise.
63928 * sunrpc/clnt_raw.c: Likewise.
63929 * sunrpc/clnt_simp.c: Likewise.
63930 * sunrpc/clnt_tcp.c: Likewise.
63931 * sunrpc/clnt_udp.c: Likewise.
63932 * sunrpc/clnt_unix.c: Likewise.
63933 * sunrpc/des_crypt.c: Likewise.
63934 * sunrpc/des_soft.c: Likewise.
63935 * sunrpc/get_myaddr.c: Likewise.
63936 * sunrpc/key_call.c: Likewise.
63937 * sunrpc/key_prot.c: Likewise.
63938 * sunrpc/netname.c: Likewise.
63939 * sunrpc/pm_getmaps.c: Likewise.
63940 * sunrpc/pm_getport.c: Likewise.
63941 * sunrpc/pmap_clnt.c: Likewise.
63942 * sunrpc/pmap_prot.c: Likewise.
63943 * sunrpc/pmap_prot2.c: Likewise.
63944 * sunrpc/pmap_rmt.c: Likewise.
63945 * sunrpc/publickey.c: Likewise.
63946 * sunrpc/rpc_cmsg.c: Likewise.
63947 * sunrpc/rpc_common.c: Likewise.
63948 * sunrpc/rpc_dtable.c: Likewise.
63949 * sunrpc/rpc_prot.c: Likewise.
63950 * sunrpc/rpc_thread.c: Likewise.
63951 * sunrpc/rtime.c: Likewise.
63952 * sunrpc/svc.c: Likewise.
63953 * sunrpc/svc_auth.c: Likewise.
63954 * sunrpc/svc_authux.c: Likewise.
63955 * sunrpc/svc_raw.c: Likewise.
63956 * sunrpc/svc_run.c: Likewise.
63957 * sunrpc/svc_simple.c: Likewise.
63958 * sunrpc/svc_tcp.c: Likewise.
63959 * sunrpc/svc_udp.c: Likewise.
63960 * sunrpc/svc_unix.c: Likewise.
63961 * sunrpc/svcauth_des.c: Likewise.
63962 * sunrpc/xcrypt.c: Likewise.
63963 * sunrpc/xdr.c: Likewise.
63964 * sunrpc/xdr_array.c: Likewise.
63965 * sunrpc/xdr_float.c: Likewise.
63966 * sunrpc/xdr_intXX_t.c: Likewise.
63967 * sunrpc/xdr_mem.c: Likewise.
63968 * sunrpc/xdr_rec.c: Likewise.
63969 * sunrpc/xdr_ref.c: Likewise.
63970 * sunrpc/xdr_sizeof.c: Likewise.
63971 * sunrpc/xdr_stdio.c: Likewise.
63972
63973 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63974
63975 [BZ #12650]
63976 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63977 * sysdeps/ia64/dl-tls.h: Likewise.
63978 * sysdeps/powerpc/dl-tls.h: Likewise.
63979 * sysdeps/s390/dl-tls.h: Likewise.
63980 * sysdeps/sh/dl-tls.h: Likewise.
63981 * sysdeps/sparc/dl-tls.h: Likewise.
63982 * sysdeps/x86_64/dl-tls.h: Likewise.
63983 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63984
63985 2011-03-14 Andreas Schwab <schwab@redhat.com>
63986
63987 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63988 rpath element also skip the following colon.
63989 (expand_dynamic_string_token): Add is_path parameter and pass
63990 down to DL_DST_REQUIRED and _dl_dst_substitute.
63991 (decompose_rpath): Call expand_dynamic_string_token with
63992 non-zero is_path. Ignore empty rpaths.
63993 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63994 with zero is_path.
63995
63996 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63997
63998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63999 Make cancelable.
64000
64001 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64002
64003 [BZ #12655]
64004 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64005 Patch by Filipe David Manana <fdmanana@apache.org>.
64006
64007 2011-04-07 Andreas Schwab <schwab@redhat.com>
64008
64009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64010 Maintain aligned stack.
64011 (CHECK_RSP): Remove unused macro.
64012
64013 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64014
64015 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64017
64018 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64019
64020 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64021
64022 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64023
64024 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64025
64026 [BZ #12518]
64027 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64028 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64029 * sysdeps/x86_64/memmove.c: New file.
64030 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64031 (memcpy): Renamed to ...
64032 (__new_memcpy): This.
64033 (memcpy): Provide GLIBC_2_14 memcpy.
64034 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64035 (memcpy): Provide GLIBC_2_2_5 memcpy.
64036
64037 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64038
64039 [BZ #12631]
64040 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64041
64042 2011-03-30 Andreas Schwab <schwab@redhat.com>
64043
64044 * misc/syncfs.c: New file.
64045 * misc/Makefile (routines): Add syncfs.
64046 * posix/unistd.h: Declare syncfs.
64047 * sysdeps/unix/syscalls.list: Add syncfs.
64048
64049 2011-04-01 Andreas Schwab <schwab@redhat.com>
64050
64051 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64052 open_by_handle_at.
64053 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64054 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64058 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64060
64061 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64062
64063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64065 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64070
64071 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64072 sync_file_range.c with -fexceptions.
64073 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64074 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64075 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64076 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64077 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64078 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64080 sync_file_range as cancellation point
64081 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64082 now a wrapper around __call_sync_file_range with cancellation handling.
64083 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64084 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64085 function name to __call_sync_file_range.
64086 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64087 Add call_sync_file_range.
64088
64089 2011-04-01 Andreas Schwab <schwab@redhat.com>
64090
64091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64092 bits/timex.h.
64093
64094 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64095
64096 * iconv/iconv.h: Fix typo in comment.
64097 * io/fcntl.h: Likewise.
64098 * libio/stdio.h: Likewise.
64099 * posix/spawn.h: Likewise.
64100 * posix/unistd.h: Likewise.
64101 * stdlib/stdlib.h: Likewise.
64102 * time/time.h: Likewise.
64103 * wcsmbs/wchar.h: Likewise.
64104
64105 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64106 open_by_handle): Add.
64107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64108 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64109 Augment a few comments.
64110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64115 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64116 open_by_handle.
64117
64118 * io/fcntl.h (AT_EMPTY_PATH): Define.
64119
64120 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64121
64122 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64123 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64124 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64125 to...
64126 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64127 * Versions.def: Add GLIBC_2.14.
64128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64129 Export.
64130
64131 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64132
64133 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64134 round counter.
64135 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64136
64137 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64138
64139 [BZ #12597]
64140 * string/test-strncmp.c (do_page_test): New function.
64141 (check2): Likewise.
64142 (test_main): Call check2.
64143 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64144
64145 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64146
64147 [BZ #12587]
64148 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64149 Handle cache information in CPU leaf 4.
64150 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64151
64152 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64153
64154 [BZ #12583]
64155 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64156 character representation.
64157 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64158
64159 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64160
64161 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64162 END(__isnan) to END(__isnanf) to match function entry point/label
64163 EALIGN(__isnanf,...).
64164
64165 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64166
64167 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64168
64169 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64170
64171 [BZ #12510]
64172 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64173 copy from the symbol referenced in the relocation to initialize the
64174 used variable.
64175 Patch by Piotr Bury <pbury@goahead.com>.
64176 * elf/Makefile: Add rules to build and tst-unique3.
64177 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64178 * elf/tst-unique3.cc: New file.
64179 * elf/tst-unique3.h: New file.
64180 * elf/tst-unique3lib.cc: New file.
64181 * elf/tst-unique3lib2.cc: New file.
64182
64183 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64184
64185 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64186
64187 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64188 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64189 to _start.
64190
64191 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64192
64193 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64194 to-be-loaded object along a path to loader is ld.so.
64195
64196 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64197 Ulrich Drepper <drepper@gmail.com>
64198
64199 * sysdeps/x86_64/memset.S: After aligning destination, code
64200 branches to different locations depending on the value of
64201 misalignment, when multiarch is enabled. Fix this.
64202
64203 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64204
64205 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64206 Set _x86_64_preferred_memory_instruction for AMD processsors.
64207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64208 Set bit_Prefer_SSE_for_memop for AMD processors.
64209
64210 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64211
64212 * libio/fmemopen.c (fmemopen): Optimize a bit.
64213
64214 2011-03-03 Andreas Schwab <schwab@redhat.com>
64215
64216 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64217
64218 2011-03-03 Roland McGrath <roland@redhat.com>
64219
64220 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64221
64222 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64223
64224 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64225 __bzero_ultra1 instead of __memset_ultra1.
64226
64227 2011-02-23 Andreas Schwab <schwab@redhat.com>
64228 Ulrich Drepper <drepper@gmail.com>
64229
64230 [BZ #12509]
64231 * include/link.h (struct link_map): Add l_orig_initfini.
64232 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64233 returning unsuccessfully.
64234 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64235 close of a file loaded at startup, restore the original l_initfini
64236 list.
64237 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64238 list, store the pointer.
64239 * elf/Makefile ($(objpfx)noload-mem): New rule.
64240 (noload-ENV): Define.
64241 (tests): Add $(objpfx)noload-mem.
64242 * elf/noload.c: Include <memcheck.h>.
64243 (main): Call mtrace. Close all opened handles.
64244
64245 2011-02-17 Andreas Schwab <schwab@redhat.com>
64246
64247 [BZ #12454]
64248 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64249 dependencies are missing.
64250
64251 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64252
64253 Fix __if_freereq crash: Unlike the generic version which uses free,
64254 Hurd needs munmap.
64255 * sysdeps/mach/hurd/ifreq.h: New file.
64256
64257 2011-01-27 Petr Baudis <pasky@suse.cz>
64258 Ulrich Drepper <drepper@gmail.com>
64259
64260 [BZ 12445]#
64261 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64262 to extend_alloca().
64263 * stdio-common/bug23.c: New file.
64264 * stdio-common/Makefile (tests): Add bug23.
64265
64266 2010-09-28 Andreas Schwab <schwab@redhat.com>
64267 Ulrich Drepper <drepper@gmail.com>
64268
64269 [BZ #12489]
64270 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64271 before performing relro protection. At old place add assertion
64272 to make sure nothing changed.
64273
64274 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64275 Glauber de Oliveira Costa <glommer@gmail.com>
64276
64277 * elf/elf.h: Add new ARM TLS relocs.
64278
64279 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64280
64281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64282 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64283 cast from r3.
64284 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64285 'tests' variable.
64286 * sysdeps/wordsize-64/tst-writev.c: New file.
64287
64288 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64289
64290 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64291 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64292 insns in _dl_start to prevent a TOC reference before relocs are
64293 resolved.
64294
64295 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64296
64297 [BZ #12469]
64298 * Makeconfig: Remove RANLIB definition.
64299 * Makerules: Don't use RANLIB.
64300 * aclocal.m4: Remove ranlib test.
64301 * configure.in: No need to check for ranlib.
64302 * elf/rtld-Rules: Don't use RANLIB.
64303
64304 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64305
64306 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64307 protection macro.
64308 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64309 inclusion protection macro.
64310
64311 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64312 SIGRTMIN and SIGRTMAX and print information in that case only when
64313 SIGRTMIN is defined.
64314
64315 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64316
64317 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64318 arginfo fn returning -1.
64319
64320 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64321 and thousands string is zero terminated.
64322
64323 2011-02-03 Andreas Schwab <schwab@redhat.com>
64324
64325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64326 sysdeps/unix/sysv/linux/bits/socket.h.
64327
64328 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64329
64330 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64331 (__CPU_COUNT): Remove old macros.
64332 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64333 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64334 (__CPU_ALLOC, __CPU_FREE): Add macros.
64335 (__sched_cpualloc, __sched_cpufree): Add declarations.
64336
64337 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64338
64339 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64340 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64341 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64342 (readdhstai): Return value of addhstaiX call.
64343 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64344 (addgrbyX): Return value returned by cache_addgr.
64345 (readdgrbyname): Return value returned by addgrbyX.
64346 (readdgrbygid): Likewise.
64347 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64348 (addpwbyX): Return value returned by cache_addpw.
64349 (readdpwbyname): Return value returned by addhstbyX.
64350 (readdpwbyuid): Likewise.
64351 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64352 (addservbyX): Return value returned by cache_addserv.
64353 (readdservbyname): Return value returned by addservbyX:
64354 (readdservbyport): Likewise.
64355 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64356 (addhstbyX): Return value returned by cache_addhst.
64357 (readdhstbyname): Return value returned by addhstbyX.
64358 (readdhstbyaddr): Likewise.
64359 (readdhstbynamev6): Likewise.
64360 (readdhstbyaddrv6): Likewise.
64361 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64362 (readdinitgroups): Return value returned by addinitgroupsX.
64363 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64364 (prune_cache): Keep track of timeout value of re-added entries.
64365 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64366 * nscd/nscd.h: Adjust prototypes of readd* functions.
64367
64368 2011-02-04 Roland McGrath <roland@redhat.com>
64369
64370 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64371 (nis_stats): Likewise.
64372 * nis/nis_modify.c (nis_modify): Likewise.
64373 * nis/nis_remove.c (nis_remove): Likewise.
64374 * nis/nis_add.c (nis_add): Likewise.
64375
64376 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64377
64378 * posix/fnmatch_loop.c: Add some consts.
64379
64380 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64381
64382 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64383
64384 [BZ #12460]
64385 * config.make.in (config-cflags-novzeroupper): Define.
64386 * configure.in: Substitute libc_cv_cc_novzeroupper.
64387 * elf/Makefile (AVX-CFLAGS): Define.
64388 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64389 (CFLAGS-tst-auditmod4a.c): Likewise.
64390 (CFLAGS-tst-auditmod4b.c): Likewise.
64391 (CFLAGS-tst-auditmod6b.c): Likewise.
64392 (CFLAGS-tst-auditmod6c.c): Likewise.
64393 (CFLAGS-tst-auditmod7b.c): Likewise.
64394 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64395
64396 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64397
64398 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64399 function to the callback.
64400 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64401
64402 2011-02-02 Andreas Schwab <schwab@redhat.com>
64403
64404 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64405 of errno.
64406
64407 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64408
64409 [BZ #11724]
64410 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64411 of constructors.
64412 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64413 of destructors.
64414 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64415
64416 [BZ #11724]
64417 * elf/Makefile: Add rules to build and run new test.
64418 * elf/tst-initorder.c: New file.
64419 * elf/tst-initorder.exp: New file.
64420 * elf/tst-initordera1.c: New file.
64421 * elf/tst-initordera2.c: New file.
64422 * elf/tst-initordera3.c: New file.
64423 * elf/tst-initordera4.c: New file.
64424 * elf/tst-initorderb1.c: New file.
64425 * elf/tst-initorderb2.c: New file.
64426 * elf/tst-order-a1.c: New file.
64427 * elf/tst-order-a2.c: New file.
64428 * elf/tst-order-a3.c: New file.
64429 * elf/tst-order-a4.c: New file.
64430 * elf/tst-order-b1.c: New file.
64431 * elf/tst-order-b2.c: New file.
64432 * elf/tst-order-main.c: New file.
64433 New test case by George Gensure <werkt0@gmail.com>.
64434
64435 2010-10-01 Andreas Schwab <schwab@redhat.com>
64436
64437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64438 decoding ACE if AI_CANONIDN.
64439
64440 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64441
64442 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64443
64444 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64445
64446 * version.h (RELEASE): Bump for 2.13 release.
64447 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64448
64449 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64450
64451 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64452 MADV_NOHUGEPAGE.
64453 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64455 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64456 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64458 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64459
64460 * posix/getconf.c: Update copyright year.
64461 * catgets/gencat.c: Likewise.
64462 * csu/version.c: Likewise.
64463 * debug/catchsegv.sh: Likewise.
64464 * debug/xtrace.sh: Likewise.
64465 * elf/ldconfig.c: Likewise.
64466 * elf/ldd.bash.in: Likewise.
64467 * elf/sprof.c (print_version): Likewise.
64468 * iconv/iconv_prog.c: Likewise.
64469 * iconv/iconvconfig.c: Likewise.
64470 * locale/programs/locale.c: Likewise.
64471 * locale/programs/localedef.c: Likewise.
64472 * malloc/memusage.sh: Likewise.
64473 * malloc/mtrace.pl: Likewise.
64474 * nscd/nscd.c (print_version): Likewise.
64475 * nss/getent.c: Likewise.
64476
64477 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64478 PF_CAIF, and PF_ALG.
64479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64480
64481 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64482
64483 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64484 (modules-names): Use them.
64485 (ifunc-test-modules, ifunc-pie-tests): Define.
64486 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64487 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64488 (test-extras): Likewise.
64489 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64490 $(compile-command.c).
64491 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64492 (all-built-dso): Define.
64493 (check-textrel.out, check-execstack.out): Depend on it.
64494
64495 * configure.in: Don't override --enable-multi-arch.
64496
64497 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64498
64499 [BZ #6812]
64500 * nscd/hstcache.c (tryagain): Define.
64501 (cache_addhst): Return tryagain not notfound for temporary errors.
64502 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64503 failed.
64504
64505 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64506
64507 [BZ #10563]
64508 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64509 to make the syscall.
64510 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64511
64512 [BZ #12378]
64513 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64514 and fall back to matching as normal character if the string ends before
64515 the matching ']' is found. This is what POSIX requires.
64516 * posix/testfnm.c: Adjust test result.
64517 * posix/globtest.sh: Adjust test result. Add new test.
64518 * posix/tst-fnmatch.input: Likewise.
64519 * posix/tst-fnmatch2.c: Add new test.
64520
64521 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64522
64523 * elf/Makefile (check-execstack): Revert last change. Depend on
64524 check-execstack.h.
64525 (check-execstack.h): New target.
64526 (generated): Add check-execstack.h.
64527 * elf/check-execstack.c: Include "check-execstack.h".
64528 (main): Revert last change.
64529 (handle_file): Return zero if GNU_STACK is absent and
64530 DEFAULT_STACK_PERMS doesn't include PF_X.
64531
64532 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64533
64534 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64535 in child fails because the descriptor is already closed.
64536 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64537 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64538 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64539
64540 [BZ #12397]
64541 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64542 syscall.
64543
64544 [BZ #10484]
64545 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64546 temporary buffer used to handle multi lookups locally.
64547 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64548
64549 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64550
64551 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64552 loader is ld.so.
64553
64554 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64555
64556 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64557 alignment for SSE2.
64558
64559 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64560
64561 [BZ #12394]
64562 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64563 characters. When rounding increased number of integer digits recompute
64564 number of groups.
64565 * stdio-common/tst-grouping.c: New file.
64566 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64567
64568 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64569
64570 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64571 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64572
64573 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64574 void.
64575 * bits/select.h: Likewise.
64576
64577 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64578
64579 * po/ja.po: Update from translation team.
64580
64581 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64582
64583 [BZ #11155]
64584 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64585 implementation just like for lxstat, fxstatat, et al.
64586
64587 2010-12-27 Jim Meyering <meyering@redhat.com>
64588
64589 [BZ #12348]
64590 * posix/regexec.c (build_trtable): Return failure indication upon
64591 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64592
64593 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64594
64595 [BZ #12201]
64596 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64597 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64600
64601 [BZ #12207]
64602 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64603
64604 [BZ #12204]
64605 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64606 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64607
64608 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64609
64610 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64611 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64612 script has SORT_BY_INIT_PRIORITY.
64613 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64614 NO_CTORS_DTORS_SECTIONS is defined.
64615 * elf/soinit.c: Likewise.
64616 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64617 NO_CTORS_DTORS_SECTIONS is defined.
64618 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64619 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64620 * sysdeps/sh/init-first.c: Likewise.
64621 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64622
64623 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64624
64625 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64626 always use the slow path.
64627
64628 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64629
64630 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64631 similar rule which adds the sysdep directories to the header search in
64632 order to pick up the correct platform stackinfo.h.
64633 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64634 perform test if it is, otherwise return successfully without testing.
64635 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64636 DEFAULT_STACK_PERMS define in stackinfo.h.
64637 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64638 defined in stackinfo.h.
64639 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64640 DEFAULT_STACK_PERMS defined in stackinfo.h.
64641 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64642 * sysdeps/ia64/stackinfo.h: Likewise.
64643 * sysdeps/s390/stackinfo.h: Likewise.
64644 * sysdeps/sh/stackinfo.h: Likewise.
64645 * sysdeps/sparc/stackinfo.h: Likewise.
64646 * sysdeps/x86_64/stackinfo.h: Likewise.
64647 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64648 PF_X for powerpc64. Retain PF_X for powerpc32.
64649
64650 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64651
64652 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64653 accurately.
64654 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64655 GETDENTS_64BIT_ALIGNED.
64656
64657 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64658
64659 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64660
64661 2010-12-10 Andreas Schwab <schwab@redhat.com>
64662
64663 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64664 _GNU_SOURCE.
64665
64666 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64667 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64668 Remove __restrict.
64669 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64670 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64671
64672 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64673
64674 [BZ #11655]
64675 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64676 are initialized.
64677
64678 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64679
64680 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64681
64682 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64683
64684 * po/it.po: Update from translation team.
64685
64686 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64687
64688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64689 unused codes.
64690
64691 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64692
64693 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64694
64695 2010-11-24 Andreas Schwab <schwab@redhat.com>
64696
64697 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64698 specially.
64699 (gaih_getanswer_slice): Likewise.
64700
64701 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64702
64703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64704
64705 2010-05-31 Petr Baudis <pasky@suse.cz>
64706
64707 [BZ #11149]
64708 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64709 silently even in the chroot mode.
64710
64711 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64712
64713 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64714 last patch a bit. Pretty printing
64715
64716 2010-05-31 Petr Baudis <pasky@suse.cz>
64717
64718 [BZ #10085]
64719 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64720 initialization of skip_initgroups_dyn.
64721
64722 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64723
64724 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64725 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64726
64727 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64728
64729 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64730
64731 2010-11-11 Andreas Schwab <schwab@redhat.com>
64732
64733 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64734 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64735 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64736 ($(objpfx)tst-fnmatch-mem): New rule.
64737 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64738 * posix/tst-fnmatch.c (main): Call mtrace.
64739
64740 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64741
64742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64743 Support Intel processor model 6 and model 0x2c.
64744
64745 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64746
64747 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64748 signed comparison.
64749
64750 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64751
64752 [BZ #12205]
64753 * string/test-strncasecmp.c (check_result): New function.
64754 (do_one_test): Use it.
64755 (check1): New function.
64756 (test_main): Use it.
64757 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64758 Support strcasecmp and strncasecmp.
64759
64760 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64761
64762 [BZ #12194]
64763 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64765
64766 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64767
64768 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64769 IFUNC support.
64770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64771 memset-x86-64.
64772 * sysdeps/x86_64/multiarch/bzero.S: New file.
64773 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64774 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64775 * sysdeps/x86_64/multiarch/memset.S: New file.
64776 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64778 Set bit_Prefer_SSE_for_memop for Intel processors.
64779 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64780 Define.
64781 (index_Prefer_SSE_for_memop): Define.
64782 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64783
64784 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64785
64786 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64787 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64788
64789 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64790
64791 [BZ #12191]
64792 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64793 (__x86_64_raw_data_cache_size_half): Likewise.
64794 (__x86_64_raw_shared_cache_size): Likewise.
64795 (__x86_64_raw_shared_cache_size_half): Likewise.
64796
64797 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64798 (__x86_64_raw_data_cache_size_half): Likewise.
64799 (__x86_64_raw_shared_cache_size): Likewise.
64800 (__x86_64_raw_shared_cache_size_half): Likewise.
64801 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64802 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64803 and __x86_64_raw_shared_cache_size_half. Round
64804 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64805 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64806 to multiple of 256 bytes.
64807
64808 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64809
64810 [BZ #12167]
64811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64812 of inacessible symlinks. Verify result of symlink before returning it.
64813 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64814 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64815
64816 2010-10-28 Erich Ritz <erichritz@gmail.com>
64817
64818 * math/math.h (isinf): Fix typo in comment.
64819
64820 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64821
64822 * po/da.po: Update from translation team.
64823
64824 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64825
64826 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64827 is added to the list.
64828
64829 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64830 Ulrich Drepper <drepper@gmail.com>
64831
64832 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64833 the global list here. Move code to...
64834 (_dl_add_to_namespace_list): ...here. New function.
64835 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64836 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64837 * elf/dl-load.c (lose): Don't remove the element from the list.
64838 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64839 (_dl_map_object): Likewise.
64840
64841 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64842
64843 [BZ #12159]
64844 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64845 into all bytes of SSE register.
64846 Patch by Richard Li <richardpku@gmail.com>.
64847
64848 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64849
64850 [BZ #12140]
64851 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64852 perturbing.
64853
64854 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64855
64856 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64857 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64858 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64859 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64861 submachine.
64862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64863
64864 2010-10-22 Andreas Schwab <schwab@redhat.com>
64865
64866 * include/dlfcn.h (__RTLD_SECURE): Define.
64867 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64868 mode & __RTLD_SECURE instead.
64869 (open_path): Rename preloaded parameter to secure.
64870 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64871 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64872 * elf/dl-deps.c (openaux): Likewise.
64873 * elf/rtld.c (struct map_args): Remove is_preloaded.
64874 (map_doit): Don't use it.
64875 (dl_main): Likewise.
64876 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64877 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64878
64879 2010-09-09 Andreas Schwab <schwab@redhat.com>
64880
64881 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64882 (sysd-rules-targets): Remove duplicates.
64883 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64884 rtld-%.$o dependency.
64885
64886 2010-10-18 Andreas Schwab <schwab@redhat.com>
64887
64888 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64889 _dl_map_object do it.
64890
64891 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64892
64893 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64894 fast fma builtins, define the macros in the C99 standard.
64895 (FP_FAST_FMAF): Likewise.
64896 (FP_FAST_FMAL): Likewise.
64897 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64898
64899 * bits/mathdef.h: Update copyright year.
64900 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64901
64902 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64903
64904 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64905 builtins, define the macros in the C99 standard.
64906 (FP_FAST_FMAF): Likewise.
64907 (FP_FAST_FMAL): Likewise.
64908 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64909 multiply/add.
64910 (FP_FAST_FMAF): Likewise.
64911
64912 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64913
64914 [BZ #3268]
64915 * math/libm-test.inc (fma_test): Some new testcases.
64916 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64918 y and infinite z. Do multiplication by C already in long double.
64919 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64921 y and infinite z. Do bitwise or of inexact bit into u.d.
64922 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64923 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64924 * sysdeps/i386/fpu/s_fma.S: Removed.
64925 * sysdeps/i386/fpu/s_fmal.S: Removed.
64926
64927 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64928
64929 [BZ #3268]
64930 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64932 computation is not scheduled after fetestexcept. Fix value
64933 of minimum denormal long double.
64934
64935 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64936
64937 [BZ #3268]
64938 * math/libm-test.inc (fma_test): Add some more tests.
64939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64940 correctly.
64941
64942 2010-10-15 Andreas Schwab <schwab@redhat.com>
64943
64944 * scripts/data/localplt-s390-linux-gnu.data: New file.
64945 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64946
64947 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64948
64949 [BZ #3268]
64950 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64951 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64952 instead of dbl-64.
64953 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64954 inlines.
64955 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64957 if one of x and y is very large and the other is subnormal.
64958 * sysdeps/s390/fpu/s_fmaf.c: New file.
64959 * sysdeps/s390/fpu/s_fma.c: New file.
64960 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64961 * sysdeps/powerpc/fpu/s_fma.S: New file.
64962 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64963 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64964 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64965
64966 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64967
64968 [BZ #3268]
64969 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64970 fma tests.
64971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64972 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64973 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64974 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64975 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64976 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64977 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64978
64979 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64980
64981 [BZ #12078]
64982 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64983 * posix/bug-regex31.input: Add test case.
64984
64985 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64986
64987 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64988 * posix/bug-regex31.input: New file.
64989
64990 [BZ #12078]
64991 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64992 (parse_sub_exp): Fix last change, use postorder.
64993
64994 * posix/bug-regex31.c: New file.
64995 * posix/Makefile: Add rules to build and run bug-regex31.
64996
64997 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64998
64999 [BZ #12078]
65000 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65001
65002 [BZ #12108]
65003 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65004 to have entries in sys_siglist.
65005
65006 [BZ #12093]
65007 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65008 be NULL.
65009
65010 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65011
65012 [BZ #3268]
65013 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65014 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65015 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65016 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65017 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65018 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65019 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65020 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65021 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65022 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65023 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65024 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65025 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65026 * math/ftestexcept.c (fetestexcept): Likewise.
65027 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65028 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65029 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65030 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65031 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65032 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65033 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65034
65035 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65036
65037 [BZ #12107]
65038 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65039 newline.
65040
65041 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65042
65043 * string/bug-strstr1.c: New file.
65044 * string/Makefile: Add rules to build and run bug-strstr1.
65045
65046 2010-10-05 Eric Blake <eblake@redhat.com>
65047
65048 [BZ #12092]
65049 * string/str-two-way.h (two_way_long_needle): Always clear memory
65050 when skipping input due to the shift table.
65051
65052 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65053
65054 [BZ #12005]
65055 * malloc/mcheck.c: Handle large requests.
65056
65057 [BZ #12077]
65058 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65059 for strncmp and strncasecmp.
65060 * string/stratcliff.c: Add tests for strcmp and strncmp.
65061 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65062
65063 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65064
65065 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65066 __set_fpscr.
65067
65068 2010-09-30 Andreas Jaeger <aj@suse.de>
65069
65070 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65071 (CGROUP_SUPER_MAGIC): Define.
65072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65073 Handle btrfs and cgroup file systems.
65074 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65075 Likewise.
65076
65077 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65078
65079 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65080 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65081
65082 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65083
65084 [BZ #12067]
65085 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65086 trying to locate the ELF header.
65087
65088 2010-09-27 Andreas Schwab <schwab@redhat.com>
65089
65090 [BZ #11611]
65091 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65092 Mask out sign-bit copies when constructing f_fsid.
65093
65094 2010-09-24 Petr Baudis <pasky@suse.cz>
65095
65096 * debug/stack_chk_fail_local.c: Add missing licence exception.
65097 * debug/warning-nop.c: Likewise.
65098
65099 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65100
65101 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65102 implementing getdents64 using getdents syscall, set d_type if
65103 __ASSUME_GETDENTS32_D_TYPE.
65104
65105 2010-09-16 Andreas Schwab <schwab@redhat.com>
65106
65107 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65108 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65109
65110 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65111
65112 [BZ #12037]
65113 * posix/unistd.h: Undo change of feature selection for ftruncate from
65114 2010-01-11.
65115
65116 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65117
65118 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65119 detection.
65120
65121 2010-09-20 Andreas Schwab <schwab@redhat.com>
65122
65123 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65124 fanotify_mark.
65125 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65126
65127 2010-09-14 Andreas Schwab <schwab@redhat.com>
65128
65129 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65130 variables after CHECK_SP call.
65131 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65132
65133 2010-09-13 Andreas Schwab <schwab@redhat.com>
65134 Ulrich Drepper <drepper@redhat.com>
65135
65136 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65137 re-relocationg ld.so.
65138 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65139 _dl_init_paths call.
65140 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65141 here anymore.
65142
65143 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65144
65145 * resolv/res_init.c (__res_vinit): Count the default server we added.
65146
65147 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65148 Ulrich Drepper <drepper@redhat.com>
65149
65150 [BZ #11968]
65151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65152 (____longjmp_chk): Use %ebx for saving value across system call.
65153 Add unwind info.
65154
65155 2010-09-06 Andreas Schwab <schwab@redhat.com>
65156
65157 * manual/Makefile: Don't mix pattern rules with normal rules.
65158
65159 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65160
65161 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65162 operation.
65163 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65164 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65165 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65166 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65167 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65168 Likewise.
65169
65170 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65171
65172 [BZ #11979]
65173 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65174 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65175
65176 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65177
65178 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65179 * sysdeps/x86_64/addmul_1.S: Likewise.
65180 * sysdeps/x86_64/lshift.S: Likewise.
65181 * sysdeps/x86_64/mul_1.S: Likewise.
65182 * sysdeps/x86_64/rshift.S: Likewise.
65183 * sysdeps/x86_64/sub_n.S: Likewise.
65184 * sysdeps/x86_64/submul_1.S: Likewise.
65185
65186 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65187
65188 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65189 Define __sched_param instead of SCHED_* and sched_param when
65190 <bits/sched.h> is included with __need_schedparam defined.
65191 * bits/sched.h [__need_schedparam]
65192 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65193 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65194 (__defined_schedparam): Define to 1.
65195 (__sched_param): New structure, identical to sched_param.
65196 (__need_schedparam): Undefine.
65197
65198 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65199
65200 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65201 (epoll_create1): Declare.
65202
65203 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65204
65205 2010-08-31 Andreas Schwab <schwab@redhat.com>
65206
65207 [BZ #7066]
65208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65209 shifting retval into place.
65210
65211 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65212
65213 * nis/rpcsvc/nis.h: Update copyright notice.
65214 * nis/rpcsvc/nis.x: Likewise.
65215 * nis/rpcsvc/nis_callback.h: Likewise.
65216 * nis/rpcsvc/nis_callback.x: Likewise.
65217 * nis/rpcsvc/nis_object.x: Likewise.
65218 * nis/rpcsvc/nis_tags.h: Likewise.
65219 * nis/rpcsvc/yp.h: Likewise.
65220 * nis/rpcsvc/yp.x: Likewise.
65221 * nis/rpcsvc/ypupd.h: Likewise.
65222 * nis/yp_xdr.c: Likewise.
65223 * nis/ypupdate_xdr.c: Likewise.
65224
65225 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65226 mainly the body of pmap_getport. Add parameters to specify timeouts.
65227 (pmap_getport): Use __libc_rpc_getport.
65228 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65229 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65230 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65231
65232 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65233
65234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65235 fanotify_mark.
65236
65237 2010-08-27 Roland McGrath <roland@redhat.com>
65238
65239 * sysdeps/i386/i686/multiarch/Makefile
65240 (CFLAGS-varshift.c): New variable.
65241
65242 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65243
65244 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65245 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65246
65247 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65248
65249 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65250
65251 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65252
65253 * sysdeps/x86_64/strlen.S: Unroll the loop.
65254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65255 strlen-sse2 strlen-sse2-bsf.
65256 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65257 __strlen_no_bsf if bit_Slow_BSF is set.
65258 (__strlen_sse42): Removed.
65259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65260 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65261
65262 2010-08-25 Roland McGrath <roland@redhat.com>
65263
65264 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65265 * sysdeps/x86_64/multiarch/varshift.c: New file.
65266 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65267 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65268 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65270
65271 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65272
65273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65274 strlen-sse2 strlen-sse2-bsf.
65275 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65276 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65277 (__strlen_sse2): Removed.
65278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65281 bit_Slow_BSF for Atom.
65282 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65283 (index_Slow_BSF): Define.
65284 (HAS_SLOW_BSF): Define.
65285
65286 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65287
65288 [BZ #10851]
65289 * resolv/res_init.c (__res_vinit): When no server address at all
65290 is given default to loopback.
65291
65292 2010-08-24 Roland McGrath <roland@redhat.com>
65293
65294 * configure.in: Remove config-name.h generation.
65295 * configure: Regenerated.
65296 * config-name.in: File removed.
65297 * scripts/config-uname.sh: New file.
65298 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65299 ($(objdir)config-name.h): New target.
65300
65301 * sunrpc/rpc_parse.h: Avoid nested comment.
65302
65303 2010-08-24 Richard Henderson <rth@redhat.com>
65304 Ulrich Drepper <drepper@redhat.com>
65305 H.J. Lu <hongjiu.lu@intel.com>
65306
65307 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65309 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65310 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65311 _mm_alignr_epi8 with _mm_loadu_si128.
65312 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65313 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65314 (__m128i_shift_right): Removed.
65315 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65316 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65317 * sysdeps/x86_64/multiarch/varshift.h: New file.
65318 * sysdeps/x86_64/multiarch/varshift.S: New file.
65319
65320 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65321
65322 * configure.in: Move assembler checks to before sysdep dir checking.
65323
65324 2010-08-20 Petr Baudis <pasky@suse.cz>
65325
65326 * LICENSES: Sync the sunrpc license.
65327
65328 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65329
65330 * sunrpc/auth_des.c: Update copyright notice once again.
65331 * sunrpc/auth_none.c: Likewise.
65332 * sunrpc/auth_unix.c: Likewise.
65333 * sunrpc/authdes_prot.c: Likewise.
65334 * sunrpc/authuxprot.c: Likewise.
65335 * sunrpc/bindrsvprt.c: Likewise.
65336 * sunrpc/clnt_gen.c: Likewise.
65337 * sunrpc/clnt_perr.c: Likewise.
65338 * sunrpc/clnt_raw.c: Likewise.
65339 * sunrpc/clnt_simp.c: Likewise.
65340 * sunrpc/clnt_tcp.c: Likewise.
65341 * sunrpc/clnt_udp.c: Likewise.
65342 * sunrpc/clnt_unix.c: Likewise.
65343 * sunrpc/des_crypt.c: Likewise.
65344 * sunrpc/des_soft.c: Likewise.
65345 * sunrpc/get_myaddr.c: Likewise.
65346 * sunrpc/getrpcport.c: Likewise.
65347 * sunrpc/key_call.c: Likewise.
65348 * sunrpc/key_prot.c: Likewise.
65349 * sunrpc/openchild.c: Likewise.
65350 * sunrpc/pm_getmaps.c: Likewise.
65351 * sunrpc/pm_getport.c: Likewise.
65352 * sunrpc/pmap_clnt.c: Likewise.
65353 * sunrpc/pmap_prot.c: Likewise.
65354 * sunrpc/pmap_prot2.c: Likewise.
65355 * sunrpc/pmap_rmt.c: Likewise.
65356 * sunrpc/rpc/auth.h: Likewise.
65357 * sunrpc/rpc/auth_unix.h: Likewise.
65358 * sunrpc/rpc/clnt.h: Likewise.
65359 * sunrpc/rpc/des_crypt.h: Likewise.
65360 * sunrpc/rpc/key_prot.h: Likewise.
65361 * sunrpc/rpc/netdb.h: Likewise.
65362 * sunrpc/rpc/pmap_clnt.h: Likewise.
65363 * sunrpc/rpc/pmap_prot.h: Likewise.
65364 * sunrpc/rpc/pmap_rmt.h: Likewise.
65365 * sunrpc/rpc/rpc.h: Likewise.
65366 * sunrpc/rpc/rpc_des.h: Likewise.
65367 * sunrpc/rpc/rpc_msg.h: Likewise.
65368 * sunrpc/rpc/svc.h: Likewise.
65369 * sunrpc/rpc/svc_auth.h: Likewise.
65370 * sunrpc/rpc/types.h: Likewise.
65371 * sunrpc/rpc/xdr.h: Likewise.
65372 * sunrpc/rpc_clntout.c: Likewise.
65373 * sunrpc/rpc_cmsg.c: Likewise.
65374 * sunrpc/rpc_common.c: Likewise.
65375 * sunrpc/rpc_cout.c: Likewise.
65376 * sunrpc/rpc_dtable.c: Likewise.
65377 * sunrpc/rpc_hout.c: Likewise.
65378 * sunrpc/rpc_main.c: Likewise.
65379 * sunrpc/rpc_parse.c: Likewise.
65380 * sunrpc/rpc_parse.h: Likewise.
65381 * sunrpc/rpc_prot.c: Likewise.
65382 * sunrpc/rpc_sample.c: Likewise.
65383 * sunrpc/rpc_scan.c: Likewise.
65384 * sunrpc/rpc_scan.h: Likewise.
65385 * sunrpc/rpc_svcout.c: Likewise.
65386 * sunrpc/rpc_tblout.c: Likewise.
65387 * sunrpc/rpc_util.c: Likewise.
65388 * sunrpc/rpc_util.h: Likewise.
65389 * sunrpc/rpcinfo.c: Likewise.
65390 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65391 * sunrpc/rpcsvc/key_prot.x: Likewise.
65392 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65393 * sunrpc/rpcsvc/mount.x: Likewise.
65394 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65395 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65396 * sunrpc/rpcsvc/rex.x: Likewise.
65397 * sunrpc/rpcsvc/rstat.x: Likewise.
65398 * sunrpc/rpcsvc/rusers.x: Likewise.
65399 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65400 * sunrpc/rpcsvc/spray.x: Likewise.
65401 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65402 * sunrpc/rtime.c: Likewise.
65403 * sunrpc/svc.c: Likewise.
65404 * sunrpc/svc_auth.c: Likewise.
65405 * sunrpc/svc_authux.c: Likewise.
65406 * sunrpc/svc_raw.c: Likewise.
65407 * sunrpc/svc_run.c: Likewise.
65408 * sunrpc/svc_simple.c: Likewise.
65409 * sunrpc/svc_tcp.c: Likewise.
65410 * sunrpc/svc_udp.c: Likewise.
65411 * sunrpc/svc_unix.c: Likewise.
65412 * sunrpc/svcauth_des.c: Likewise.
65413 * sunrpc/xcrypt.c: Likewise.
65414 * sunrpc/xdr.c: Likewise.
65415 * sunrpc/xdr_array.c: Likewise.
65416 * sunrpc/xdr_float.c: Likewise.
65417 * sunrpc/xdr_mem.c: Likewise.
65418 * sunrpc/xdr_rec.c: Likewise.
65419 * sunrpc/xdr_ref.c: Likewise.
65420 * sunrpc/xdr_sizeof.c: Likewise.
65421 * sunrpc/xdr_stdio.c: Likewise.
65422
65423 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65424 handling.
65425
65426 2010-08-19 Andreas Schwab <schwab@redhat.com>
65427
65428 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65429
65430 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65431
65432 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65433 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65434 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65435 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65436 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65437 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65438 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65439 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65440 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65441 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65442 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65443 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65444 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65445 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65446
65447 2010-07-26 Anton Blanchard <anton@samba.org>
65448
65449 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65450 * malloc/arena.c (heap_trim): Likewise.
65451
65452 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65453
65454 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65455 here. Not...
65456 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65457 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65458
65459 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65460
65461 * sysdeps/i386/elf/Makefile: New file.
65462
65463 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65464
65465 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65466 from fanotify_init.
65467 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65469
65470 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65471
65472 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65473 of strncasecmp_l.
65474 * sysdeps/multiarch/strcmp.S: Likewise.
65475
65476 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65477
65478 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65479 strncase_l-nonascii.
65480 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65481 Add strncase_l-ssse3.
65482 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65483 * sysdeps/x86_64/strcmp.S: Likewise.
65484 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65485 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65486 * sysdeps/x86_64/strncase.S: New file.
65487 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65488 * sysdeps/x86_64/strncase_l.S: New file.
65489 * string/Makefile (strop-tests): Add strncasecmp.
65490 * string/test-strncasecmp.c: New file.
65491
65492 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65493 warning.
65494
65495 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65496 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65497
65498 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65499
65500 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65501
65502 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65503
65504 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65506 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65507
65508 2010-05-01 Alan Modra <amodra@gmail.com>
65509
65510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65511 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65512 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65513 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65514 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65515 tidying. Don't tail-call __sigjmp_save for static lib.
65516 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65517 save location.
65518 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65519 (CALL_MCOUNT): Add eh info, and nop after bl.
65520 (TAIL_CALL_SYSCALL_ERROR): New macro.
65521 (PSEUDO_RET): Use it.
65522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65523 Correct save location of integer regs and cr.
65524 (_dl_profile_resolve): Correct cr save location. Delete nops
65525 after bl when SHARED. Reduce cfi size a little by better
65526 placement of cfi directives.
65527 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65528 make a stack frame. Instead use parm save area as a temp.
65529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65530 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65532 Don't make a stack frame for parent, use parm save area.
65533 Increase child stack frame to 112 bytes. Don't save unused reg,
65534 and adjust reg usage. Set up cfi on error recovery and
65535 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65537 (__makecontext): Add dummy nop after jump to exit.
65538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65539 Use correct parm save area and cr save, reduce stack frame.
65540 Correct cfi for possible PSEUDO_RET frame setup.
65541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65542 Branch to local label emitted by PSEUDO_RET rather than
65543 __syscall_error.
65544
65545 2010-08-12 Andreas Schwab <schwab@redhat.com>
65546
65547 [BZ #11904]
65548 * locale/programs/locale.c (print_assignment): New function.
65549 (show_locale_vars): Use it.
65550
65551 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65552
65553 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65554 field.
65555 (struct statfs64): Likewise.
65556 (_STATFS_F_FLAGS): Define.
65557 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65559 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65560 (ST_VALID): Define locally.
65561 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65562 __statvfs_getflags, use the provided value.
65563 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65564 __ASSUME_STATFS_F_FLAGS.
65565
65566 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65567
65568 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65569 Add sys/fanotify.h.
65570 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65571 fanotify_mask for GLIBC_2.13.
65572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65573 fanotify_init and fanotify_mark.
65574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65575 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65576
65577 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65578 Add prlimit.
65579 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65580 prlimit64 for GLIBC_2.13.
65581 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65582 prlimit64.
65583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65584 syscall.
65585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65587 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65590 add prlimit alias.
65591 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65592
65593 [BZ #11903]
65594 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65595 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65596
65597 * nss/Makefile: Add rules to build and run tst-nss-test1.
65598 * shlib-versions: Add entry for libnss_test1.
65599 * nss/nss_test1.c: New file.
65600 * nss/tst-nss-test1.c: New file.
65601
65602 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65603 (__nss_configure_lookup): Set appropriate entry in
65604 __nss_configure_lookup to true.
65605 * nss/nsswitch.h: Define enum with indeces of databases in
65606 databases and __nss_database_custom arrays. Declare
65607 __nss_database_custom.
65608 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65609 to avoid using nscd when custom rules are installed.
65610 * nss/getXXbyYY_r.c: Likewise.
65611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65612
65613 * nss/nss_files/files-parse.c: Whitespace fixes.
65614
65615 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65616
65617 [BZ #11883]
65618 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65619 * posix/fnmatch_loop.c: Likewise.
65620
65621 2010-07-17 Andi Kleen <ak@linux.intel.com>
65622
65623 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65624 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65625 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65626 * Versions.def [GLIBC_2.13]: Add.
65627
65628 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65629
65630 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65631 Also fail if tpwd after pwuid call is NULL.
65632
65633 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65634
65635 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65636 when converting to ms.
65637
65638 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65639
65640 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65641 EOPNOTSUPP errors with ENOTTY.
65642 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65643 EOPNOTSUPP errors with ENOTTY.
65644
65645 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65646
65647 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65648 Add strcasecmp_l-ssse3.
65649 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65650 strcasecmp.
65651 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65652 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65653 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65654
65655 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65656
65657 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65658
65659 * string/Makefile (strop-tests): Add strcasecmp.
65660 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65661 strcasecmp_l-nonascii.
65662 (gen-as-const-headers): Add locale-defines.sym.
65663 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65664 * sysdeps/x86_64/strcasecmp.S: New file.
65665 * sysdeps/x86_64/strcasecmp_l.S: New file.
65666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65667 * sysdeps/x86_64/locale-defines.sym: New file.
65668 * string/test-strcasecmp.c: New file.
65669
65670 * string/test-strcasestr.c: Test both ends of the range of characters.
65671 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65672
65673 2010-07-29 Roland McGrath <roland@redhat.com>
65674
65675 [BZ #11856]
65676 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65677
65678 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65679
65680 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65681 for ld.so.
65682
65683 2010-07-27 Andreas Schwab <schwab@redhat.com>
65684
65685 * manual/memory.texi (Malloc Tunable Parameters): Document
65686 M_PERTURB.
65687
65688 2010-07-26 Roland McGrath <roland@redhat.com>
65689
65690 [BZ #11840]
65691 * configure.in (-fgnu89-inline check): Set and substitute
65692 gnu89_inline, not libc_cv_gnu89_inline.
65693 * configure: Regenerated.
65694 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65695
65696 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65697
65698 * string/test-strnlen.c: New file.
65699 * string/Makefile (strop-tests): Add strnlen.
65700 * string/tester.c (test_strnlen): Add a few more test cases.
65701 * string/tst-strlen.c: Better error reporting.
65702
65703 * sysdeps/x86_64/strnlen.S: New file.
65704
65705 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65706
65707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65708 lower-latency instructions.
65709
65710 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65711
65712 * string/test-strcasestr.c: New file.
65713 * string/test-strstr.c: New file.
65714 * string/Makefile (strop-tests): Add strstr and strcasestr.
65715 * string/str-two-way.h: Don't undefine MAX.
65716 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65717
65718 2010-07-21 Andreas Schwab <schwab@redhat.com>
65719
65720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65721 strcasestr-nonascii.
65722 (CFLAGS-strcasestr-nonascii.c): Define.
65723 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65725 Remove unused attribute.
65726
65727 2010-07-20 Roland McGrath <roland@redhat.com>
65728
65729 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65730 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65731 ld.so.cache was broken. With it, there is no way to disable dsocaps
65732 like LD_HWCAP_MASK can disable hwcaps.
65733
65734 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65735
65736 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65737
65738 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65739
65740 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65741 call in strcasestr.
65742 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65743 __strcasestr_sse42_nonascii.
65744 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65745 strcasestr-nonascii.c.
65746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65747
65748 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65749
65750 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65751 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65752 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65754
65755 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65756
65757 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65758 fcntl.
65759
65760 2010-07-06 Andreas Schwab <schwab@redhat.com>
65761
65762 [BZ #11577]
65763 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65764 dl_signal_cerror.
65765
65766 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65767
65768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65769 _PC_PIPE_BUF using F_GETPIPE_SZ.
65770
65771 2010-07-05 Roland McGrath <roland@redhat.com>
65772
65773 * manual/arith.texi (Rounding Functions): Fix rint description
65774 implicit in round description.
65775
65776 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65777
65778 * elf/Makefile: Fix linking for a few tests to make recent linker
65779 happy.
65780
65781 2010-06-30 Andreas Schwab <schwab@redhat.com>
65782
65783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65784 $(common-objpfx)libc_nonshared.a.
65785
65786 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65787
65788 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65789 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65790 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65791 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65792 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65793 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65794 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65795 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65810 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65811 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65812 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65813 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65814 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65815 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65816 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65817 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65818 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65819 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65820 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65821 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65836
65837 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65838
65839 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65840 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65841 * string/memmove.c (memmove): Renamed to ...
65842 (MEMMOVE): ...this. Default to memmove.
65843 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65844 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65845 (END_CHK): Define.
65846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65847 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65848 mempcpy-ssse3-back memmove-ssse3-back.
65849 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65850 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65851 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65852 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65853 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65854 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65855 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65856 * sysdeps/x86_64/multiarch/memmove.c: New file.
65857 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65858 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65859 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65860 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65861 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65863 Define.
65864 (index_Fast_Copy_Backward): Define.
65865 (HAS_ARCH_FEATURE): Define.
65866 (HAS_FAST_REP_STRING): Define.
65867 (HAS_FAST_COPY_BACKWARD): Define.
65868
65869 2010-06-21 Andreas Schwab <schwab@redhat.com>
65870
65871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65872 Restore proper fallback handling.
65873
65874 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65875
65876 [BZ #11701]
65877 * posix/group_member.c (__group_member): Correct checking loop.
65878
65879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65880 OOM in getpwuid_r correctly. Return error number when the caller
65881 should return, otherwise -1.
65882 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65883 call returning > 0 value.
65884 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65885
65886 2010-06-07 Andreas Schwab <schwab@redhat.com>
65887
65888 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65889 libc_nonshared.a from targets in modules-names.
65890
65891 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65892
65893 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65894 requires it.
65895
65896 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65897
65898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65899 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65900 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65902
65903 2010-06-02 Andreas Schwab <schwab@redhat.com>
65904
65905 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65906
65907 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65908
65909 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65910 and F_GETPIPE_SZ.
65911 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65912 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65915 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65917
65918 2010-06-14 Roland McGrath <roland@redhat.com>
65919
65920 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65921
65922 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65923
65924 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65925 __REDIRECT followed by __THROW.
65926 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65927 * posix/getopt.h (getopt): Likewise.
65928
65929 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65930
65931 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65932 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65933 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65934 in AT_FLAGS.
65935 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65936 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65937
65938 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65939
65940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65941
65942 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65943
65944 [BZ #11640]
65945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65946 Properly check family and model.
65947
65948 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65949
65950 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65951
65952 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65953
65954 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65955
65956 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65957
65958 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65959 symbol reference.
65960
65961 2010-05-19 Andreas Schwab <schwab@redhat.com>
65962
65963 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65964 symbol reference.
65965
65966 2010-05-21 Andreas Schwab <schwab@redhat.com>
65967
65968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65969 and internal_recvmmsg.
65970 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65971 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65972 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65973 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65974
65975 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65976 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65977 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65978
65979 2010-05-20 Andreas Schwab <schwab@redhat.com>
65980
65981 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65982
65983 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65984
65985 POWER7 optimizations.
65986 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65987 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65988
65989 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65990
65991 * version.h: Update for 2.13 development version.
65992
65993 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65994
65995 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65996 exceptions. Return 0.
65997
65998 2010-05-07 Roland McGrath <roland@redhat.com>
65999
66000 * elf/ldconfig.c (main): Add a const.
66001
66002 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66003
66004 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66005 (args_options): Add no-idn option.
66006 (ahosts_keys_int): Add idn_flags to ai_flags.
66007 (parse_option): Handle 'i' option to clear idn_flags.
66008
66009 * malloc/malloc.c (_int_free): Possible race in the most recently
66010 added check. Only act on the data if no current modification
66011 happened.
66012
66013 See ChangeLog.17 for earlier changes.